Fork me on GitHub
#cherry
<
2023-12-01
>
borkdude14:12:00

https://squint-cljs.github.io/cherry/?boilerplate=https%3A%2F%2Fgist.githubusercontent.com%2Fborkdude%2Fcf94b492d948f7f418aa81ba54f428ff%2Fraw%2Fa7da6236e9670681a93761b81fd66ad26c119164%2Faoc_ui.cljs&amp;repl=true&amp;src=OzsgSGVscGVyIGZ1bmN0aW9uczoKOzsgKGZldGNoLWlucHV0IHllYXIgZGF5KSAtIGdldCBBT0MgaW5wdXQKOzsgKGFwcGVuZCBzdHIpIC0gYXBwZW5kIHN0ciB0byBET00KOzsgKHNweSB4KSAtIGxvZyB4IHRvIGNvbnNvbGUgYW5kIHJldHVybiB4CgooZGVmIGlucHV0ICgtPj4gKGpzLWF3YWl0IChmZXRjaC1pbnB1dCAyMDIzIDEpKQogICAgICAgICAgICAgc3RyL3RyaW0KICAgICAgICAgICAgIHN0ci9zcGxpdC1saW5lcykpCgooZGVmbiBkaWdpdHMgW3NdCiAgKHZlYyAoa2VlcCBwYXJzZS1sb25nIHMpKSkKCihkZWZuIGZpcnN0LWFuZC1sYXN0LWRpZ2l0cyBbZGlnaXRzXQogIChzdHIgKGZpcnN0IGRpZ2l0cykgKGxhc3QgZGlnaXRzKSkpCgooY29tbWVudAogICgtPiAoZGlnaXRzICJhMWIyIikKICAgIChmaXJzdC1hbmQtbGFzdC1kaWdpdHMpCiAgICBwYXJzZS1sb25nKQogICkKCihkZWZuIHBhcnQtMQogIFtpbnB1dF0KICAoLT4%2BIGlucHV0CiAgICAobWFwIGRpZ2l0cykKICAgIChtYXAgKGNvbXAgcGFyc2UtbG9uZyBmaXJzdC1hbmQtbGFzdC1kaWdpdHMpKQogICAgKGFwcGx5ICspKSkKCihjb21tZW50CiAgKHBhcnQtMSBpbnB1dCkpCgooZGVmIHdvcmQtPmRpZ2l0IHsib25lIiAxCiAgICAgICAgICAgICAgICAgICJ0d28iIDIKICAgICAgICAgICAgICAgICAgInRocmVlIiAzCiAgICAgICAgICAgICAgICAg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