From d90da75e9326b369cbdde86fa88022d92f50457b Mon Sep 17 00:00:00 2001 From: Roman Liutikov Date: Sat, 16 Nov 2024 03:55:21 +0200 Subject: [PATCH] wip --- .gitignore | 1 - .../cljs.core.async.impl.buffers.js | 462 + .../cljs.core.async.impl.buffers.js.map | 1 + .../cljs.core.async.impl.channels.js | 682 + .../cljs.core.async.impl.channels.js.map | 1 + .../cljs.core.async.impl.dispatch.js | 54 + .../cljs.core.async.impl.dispatch.js.map | 1 + .../cljs.core.async.impl.ioc_helpers.js | 165 + .../cljs.core.async.impl.ioc_helpers.js.map | 1 + .../cljs.core.async.impl.protocols.js | 342 + .../cljs.core.async.impl.protocols.js.map | 1 + .../cljs.core.async.impl.timers.js | 481 + .../cljs.core.async.impl.timers.js.map | 1 + out/cljs-runtime/cljs.core.async.js | 8780 ++++ out/cljs-runtime/cljs.core.async.js.map | 1 + out/cljs-runtime/cljs.core.js | 38284 ++++++++++++++++ out/cljs-runtime/cljs.core.js.map | 1 + out/cljs-runtime/cljs.pprint.js | 8395 ++++ out/cljs-runtime/cljs.pprint.js.map | 1 + out/cljs-runtime/cljs.repl.js | 684 + out/cljs-runtime/cljs.repl.js.map | 1 + out/cljs-runtime/cljs.spec.alpha.js | 5283 +++ out/cljs-runtime/cljs.spec.alpha.js.map | 1 + out/cljs-runtime/cljs.spec.gen.alpha.js | 1994 + out/cljs-runtime/cljs.spec.gen.alpha.js.map | 1 + out/cljs-runtime/cljs.user.js | 3 + out/cljs-runtime/cljs.user.js.map | 1 + out/cljs-runtime/cljs_bean.core.js | 2233 + out/cljs-runtime/cljs_bean.core.js.map | 1 + out/cljs-runtime/cljs_bean.from.cljs.core.js | 413 + .../cljs_bean.from.cljs.core.js.map | 1 + out/cljs-runtime/cljs_react_devtools.core.js | 2439 + .../cljs_react_devtools.core.js.map | 1 + out/cljs-runtime/clojure.core.protocols.js | 94 + .../clojure.core.protocols.js.map | 1 + out/cljs-runtime/clojure.data.js | 292 + out/cljs-runtime/clojure.data.js.map | 1 + out/cljs-runtime/clojure.datafy.js | 69 + out/cljs-runtime/clojure.datafy.js.map | 1 + out/cljs-runtime/clojure.set.js | 380 + out/cljs-runtime/clojure.set.js.map | 1 + out/cljs-runtime/clojure.string.js | 476 + out/cljs-runtime/clojure.string.js.map | 1 + out/cljs-runtime/clojure.walk.js | 130 + out/cljs-runtime/clojure.walk.js.map | 1 + out/cljs-runtime/cognitect.transit.js | 1273 + out/cljs-runtime/cognitect.transit.js.map | 1 + .../com.cognitect.transit.caching.js | 112 + .../com.cognitect.transit.caching.js.map | 9 + .../com.cognitect.transit.delimiters.js | 11 + .../com.cognitect.transit.delimiters.js.map | 9 + out/cljs-runtime/com.cognitect.transit.eq.js | 168 + .../com.cognitect.transit.eq.js.map | 9 + .../com.cognitect.transit.handlers.js | 330 + .../com.cognitect.transit.handlers.js.map | 9 + .../com.cognitect.transit.impl.decoder.js | 281 + .../com.cognitect.transit.impl.decoder.js.map | 9 + .../com.cognitect.transit.impl.reader.js | 27 + .../com.cognitect.transit.impl.reader.js.map | 9 + .../com.cognitect.transit.impl.writer.js | 440 + .../com.cognitect.transit.impl.writer.js.map | 9 + out/cljs-runtime/com.cognitect.transit.js | 183 + out/cljs-runtime/com.cognitect.transit.js.map | 9 + .../com.cognitect.transit.types.js | 1022 + .../com.cognitect.transit.types.js.map | 9 + .../com.cognitect.transit.util.js | 102 + .../com.cognitect.transit.util.js.map | 9 + out/cljs-runtime/example.core.js | 896 + out/cljs-runtime/example.core.js.map | 1 + out/cljs-runtime/goog.array.array.js | 657 + out/cljs-runtime/goog.array.array.js.map | 9 + out/cljs-runtime/goog.asserts.asserts.js | 130 + out/cljs-runtime/goog.asserts.asserts.js.map | 9 + out/cljs-runtime/goog.asserts.dom.js | 86 + out/cljs-runtime/goog.asserts.dom.js.map | 9 + out/cljs-runtime/goog.async.nexttick.js | 86 + out/cljs-runtime/goog.async.nexttick.js.map | 9 + out/cljs-runtime/goog.base.js | 1259 + out/cljs-runtime/goog.base.js.map | 9 + out/cljs-runtime/goog.collections.iters.js | 88 + .../goog.collections.iters.js.map | 9 + out/cljs-runtime/goog.collections.maps.js | 80 + out/cljs-runtime/goog.collections.maps.js.map | 9 + out/cljs-runtime/goog.debug.debug.js | 367 + out/cljs-runtime/goog.debug.debug.js.map | 9 + .../goog.debug.entrypointregistry.js | 42 + .../goog.debug.entrypointregistry.js.map | 9 + out/cljs-runtime/goog.debug.error.js | 28 + out/cljs-runtime/goog.debug.error.js.map | 9 + out/cljs-runtime/goog.debug.errorcontext.js | 13 + .../goog.debug.errorcontext.js.map | 9 + .../goog.disposable.disposable.js | 82 + .../goog.disposable.disposable.js.map | 9 + out/cljs-runtime/goog.disposable.dispose.js | 14 + .../goog.disposable.dispose.js.map | 9 + .../goog.disposable.disposeall.js | 20 + .../goog.disposable.disposeall.js.map | 9 + .../goog.disposable.idisposable.js | 7 + .../goog.disposable.idisposable.js.map | 9 + out/cljs-runtime/goog.dom.asserts.js | 38 + out/cljs-runtime/goog.dom.asserts.js.map | 9 + out/cljs-runtime/goog.dom.browserfeature.js | 19 + .../goog.dom.browserfeature.js.map | 9 + out/cljs-runtime/goog.dom.classlist.js | 109 + out/cljs-runtime/goog.dom.classlist.js.map | 9 + out/cljs-runtime/goog.dom.dom.js | 1071 + out/cljs-runtime/goog.dom.dom.js.map | 9 + out/cljs-runtime/goog.dom.element.js | 66 + out/cljs-runtime/goog.dom.element.js.map | 9 + out/cljs-runtime/goog.dom.forms.js | 260 + out/cljs-runtime/goog.dom.forms.js.map | 9 + out/cljs-runtime/goog.dom.htmlelement.js | 5 + out/cljs-runtime/goog.dom.htmlelement.js.map | 9 + out/cljs-runtime/goog.dom.inputtype.js | 4 + out/cljs-runtime/goog.dom.inputtype.js.map | 9 + out/cljs-runtime/goog.dom.nodetype.js | 4 + out/cljs-runtime/goog.dom.nodetype.js.map | 9 + out/cljs-runtime/goog.dom.safe.js | 264 + out/cljs-runtime/goog.dom.safe.js.map | 9 + out/cljs-runtime/goog.dom.tagname.js | 145 + out/cljs-runtime/goog.dom.tagname.js.map | 9 + out/cljs-runtime/goog.dom.tags.js | 8 + out/cljs-runtime/goog.dom.tags.js.map | 9 + out/cljs-runtime/goog.dom.vendor.js | 41 + out/cljs-runtime/goog.dom.vendor.js.map | 9 + out/cljs-runtime/goog.events.browserevent.js | 130 + .../goog.events.browserevent.js.map | 9 + .../goog.events.browserfeature.js | 28 + .../goog.events.browserfeature.js.map | 9 + out/cljs-runtime/goog.events.event.js | 27 + out/cljs-runtime/goog.events.event.js.map | 9 + out/cljs-runtime/goog.events.eventid.js | 9 + out/cljs-runtime/goog.events.eventid.js.map | 9 + out/cljs-runtime/goog.events.events.js | 339 + out/cljs-runtime/goog.events.events.js.map | 9 + out/cljs-runtime/goog.events.eventtype.js | 14 + out/cljs-runtime/goog.events.eventtype.js.map | 9 + .../goog.events.eventtypehelpers.js | 17 + .../goog.events.eventtypehelpers.js.map | 9 + out/cljs-runtime/goog.events.listenable.js | 37 + .../goog.events.listenable.js.map | 9 + out/cljs-runtime/goog.events.listenablekey.js | 16 + .../goog.events.listenablekey.js.map | 9 + out/cljs-runtime/goog.events.listener.js | 28 + out/cljs-runtime/goog.events.listener.js.map | 9 + out/cljs-runtime/goog.events.listenermap.js | 144 + .../goog.events.listenermap.js.map | 9 + out/cljs-runtime/goog.flags.flags.js | 10 + out/cljs-runtime/goog.flags.flags.js.map | 9 + out/cljs-runtime/goog.fs.blob.js | 36 + out/cljs-runtime/goog.fs.blob.js.map | 9 + out/cljs-runtime/goog.fs.url.js | 35 + out/cljs-runtime/goog.fs.url.js.map | 9 + out/cljs-runtime/goog.functions.functions.js | 209 + .../goog.functions.functions.js.map | 9 + out/cljs-runtime/goog.html.safehtml.js | 305 + out/cljs-runtime/goog.html.safehtml.js.map | 9 + out/cljs-runtime/goog.html.safescript.js | 60 + out/cljs-runtime/goog.html.safescript.js.map | 9 + out/cljs-runtime/goog.html.safestyle.js | 169 + out/cljs-runtime/goog.html.safestyle.js.map | 9 + out/cljs-runtime/goog.html.safestylesheet.js | 92 + .../goog.html.safestylesheet.js.map | 9 + out/cljs-runtime/goog.html.safeurl.js | 224 + out/cljs-runtime/goog.html.safeurl.js.map | 9 + .../goog.html.trustedresourceurl.js | 115 + .../goog.html.trustedresourceurl.js.map | 9 + out/cljs-runtime/goog.html.trustedtypes.js | 14 + .../goog.html.trustedtypes.js.map | 9 + .../goog.html.uncheckedconversions.js | 42 + .../goog.html.uncheckedconversions.js.map | 9 + out/cljs-runtime/goog.iter.es6.js | 83 + out/cljs-runtime/goog.iter.es6.js.map | 9 + out/cljs-runtime/goog.iter.iter.js | 586 + out/cljs-runtime/goog.iter.iter.js.map | 9 + .../goog.labs.useragent.browser.js | 345 + .../goog.labs.useragent.browser.js.map | 9 + .../goog.labs.useragent.engine.js | 69 + .../goog.labs.useragent.engine.js.map | 9 + ...s.useragent.highentropy.highentropydata.js | 12 + ...eragent.highentropy.highentropydata.js.map | 9 + ....useragent.highentropy.highentropyvalue.js | 71 + ...ragent.highentropy.highentropyvalue.js.map | 9 + .../goog.labs.useragent.platform.js | 141 + .../goog.labs.useragent.platform.js.map | 9 + .../goog.labs.useragent.useragent.js | 19 + .../goog.labs.useragent.useragent.js.map | 9 + out/cljs-runtime/goog.labs.useragent.util.js | 78 + .../goog.labs.useragent.util.js.map | 9 + out/cljs-runtime/goog.math.box.js | 153 + out/cljs-runtime/goog.math.box.js.map | 9 + out/cljs-runtime/goog.math.coordinate.js | 95 + out/cljs-runtime/goog.math.coordinate.js.map | 9 + out/cljs-runtime/goog.math.integer.js | 443 + out/cljs-runtime/goog.math.integer.js.map | 9 + out/cljs-runtime/goog.math.irect.js | 9 + out/cljs-runtime/goog.math.irect.js.map | 9 + out/cljs-runtime/goog.math.long.js | 434 + out/cljs-runtime/goog.math.long.js.map | 9 + out/cljs-runtime/goog.math.math.js | 156 + out/cljs-runtime/goog.math.math.js.map | 9 + out/cljs-runtime/goog.math.rect.js | 192 + out/cljs-runtime/goog.math.rect.js.map | 9 + out/cljs-runtime/goog.math.size.js | 74 + out/cljs-runtime/goog.math.size.js.map | 9 + out/cljs-runtime/goog.object.object.js | 282 + out/cljs-runtime/goog.object.object.js.map | 9 + out/cljs-runtime/goog.reflect.reflect.js | 30 + out/cljs-runtime/goog.reflect.reflect.js.map | 9 + out/cljs-runtime/goog.string.const.js | 32 + out/cljs-runtime/goog.string.const.js.map | 9 + out/cljs-runtime/goog.string.internal.js | 117 + out/cljs-runtime/goog.string.internal.js.map | 9 + out/cljs-runtime/goog.string.string.js | 457 + out/cljs-runtime/goog.string.string.js.map | 9 + out/cljs-runtime/goog.string.stringbuffer.js | 30 + .../goog.string.stringbuffer.js.map | 9 + out/cljs-runtime/goog.string.stringformat.js | 73 + .../goog.string.stringformat.js.map | 9 + out/cljs-runtime/goog.string.typedstring.js | 7 + .../goog.string.typedstring.js.map | 9 + out/cljs-runtime/goog.structs.map.js | 233 + out/cljs-runtime/goog.structs.map.js.map | 9 + out/cljs-runtime/goog.structs.structs.js | 196 + out/cljs-runtime/goog.structs.structs.js.map | 9 + out/cljs-runtime/goog.style.style.js | 735 + out/cljs-runtime/goog.style.style.js.map | 9 + out/cljs-runtime/goog.uri.uri.js | 621 + out/cljs-runtime/goog.uri.uri.js.map | 9 + out/cljs-runtime/goog.uri.utils.js | 323 + out/cljs-runtime/goog.uri.utils.js.map | 9 + out/cljs-runtime/goog.useragent.product.js | 28 + .../goog.useragent.product.js.map | 9 + out/cljs-runtime/goog.useragent.useragent.js | 132 + .../goog.useragent.useragent.js.map | 9 + out/cljs-runtime/goog.window.window.js | 131 + out/cljs-runtime/goog.window.window.js.map | 9 + ...ode_modules$react$cjs$react_development.js | 920 + ...modules$react$cjs$react_development.js.map | 9 + .../module$node_modules$react$index.js | 5 + .../module$node_modules$react$index.js.map | 9 + ...les$react_dom$cjs$react_dom_development.js | 10428 +++++ ...react_dom$cjs$react_dom_development.js.map | 9 + .../module$node_modules$react_dom$client.js | 21 + ...odule$node_modules$react_dom$client.js.map | 9 + .../module$node_modules$react_dom$index.js | 5 + ...module$node_modules$react_dom$index.js.map | 9 + ...h$cjs$react_refresh_runtime_development.js | 254 + ...s$react_refresh_runtime_development.js.map | 9 + ...dule$node_modules$react_refresh$runtime.js | 5 + ...$node_modules$react_refresh$runtime.js.map | 9 + ...les$scheduler$cjs$scheduler_development.js | 261 + ...scheduler$cjs$scheduler_development.js.map | 9 + .../module$node_modules$scheduler$index.js | 5 + ...module$node_modules$scheduler$index.js.map | 9 + out/cljs-runtime/re_frame.cofx.js | 58 + out/cljs-runtime/re_frame.cofx.js.map | 1 + out/cljs-runtime/re_frame.core.js | 1736 + out/cljs-runtime/re_frame.core.js.map | 1 + out/cljs-runtime/re_frame.db.js | 4 + out/cljs-runtime/re_frame.db.js.map | 1 + out/cljs-runtime/re_frame.events.js | 130 + out/cljs-runtime/re_frame.events.js.map | 1 + out/cljs-runtime/re_frame.fx.js | 530 + out/cljs-runtime/re_frame.fx.js.map | 1 + out/cljs-runtime/re_frame.interceptor.js | 448 + out/cljs-runtime/re_frame.interceptor.js.map | 1 + out/cljs-runtime/re_frame.interop.js | 100 + out/cljs-runtime/re_frame.interop.js.map | 1 + out/cljs-runtime/re_frame.loggers.js | 67 + out/cljs-runtime/re_frame.loggers.js.map | 1 + out/cljs-runtime/re_frame.registrar.js | 123 + out/cljs-runtime/re_frame.registrar.js.map | 1 + out/cljs-runtime/re_frame.router.js | 717 + out/cljs-runtime/re_frame.router.js.map | 1 + out/cljs-runtime/re_frame.settings.js | 78 + out/cljs-runtime/re_frame.settings.js.map | 1 + out/cljs-runtime/re_frame.std_interceptors.js | 334 + .../re_frame.std_interceptors.js.map | 1 + out/cljs-runtime/re_frame.subs.js | 827 + out/cljs-runtime/re_frame.subs.js.map | 1 + out/cljs-runtime/re_frame.trace.js | 142 + out/cljs-runtime/re_frame.trace.js.map | 1 + out/cljs-runtime/re_frame.utils.js | 261 + out/cljs-runtime/re_frame.utils.js.map | 1 + out/cljs-runtime/reagent.core.js | 984 + out/cljs-runtime/reagent.core.js.map | 1 + out/cljs-runtime/reagent.debug.js | 73 + out/cljs-runtime/reagent.debug.js.map | 1 + out/cljs-runtime/reagent.impl.batching.js | 266 + out/cljs-runtime/reagent.impl.batching.js.map | 1 + out/cljs-runtime/reagent.impl.component.js | 750 + .../reagent.impl.component.js.map | 1 + out/cljs-runtime/reagent.impl.input.js | 170 + out/cljs-runtime/reagent.impl.input.js.map | 1 + out/cljs-runtime/reagent.impl.protocols.js | 97 + .../reagent.impl.protocols.js.map | 1 + out/cljs-runtime/reagent.impl.template.js | 650 + out/cljs-runtime/reagent.impl.template.js.map | 1 + out/cljs-runtime/reagent.impl.util.js | 742 + out/cljs-runtime/reagent.impl.util.js.map | 1 + out/cljs-runtime/reagent.ratom.js | 1661 + out/cljs-runtime/reagent.ratom.js.map | 1 + out/cljs-runtime/shadow.animate.js | 1685 + out/cljs-runtime/shadow.animate.js.map | 1 + .../shadow.cljs.devtools.client.browser.js | 1220 + ...shadow.cljs.devtools.client.browser.js.map | 1 + .../shadow.cljs.devtools.client.console.js | 562 + ...shadow.cljs.devtools.client.console.js.map | 1 + .../shadow.cljs.devtools.client.env.js | 674 + .../shadow.cljs.devtools.client.env.js.map | 1 + .../shadow.cljs.devtools.client.hud.js | 513 + .../shadow.cljs.devtools.client.hud.js.map | 1 + .../shadow.cljs.devtools.client.shared.js | 1039 + .../shadow.cljs.devtools.client.shared.js.map | 1 + .../shadow.cljs.devtools.client.websocket.js | 62 + ...adow.cljs.devtools.client.websocket.js.map | 1 + out/cljs-runtime/shadow.dom.js | 2622 ++ out/cljs-runtime/shadow.dom.js.map | 1 + out/cljs-runtime/shadow.js.js | 83 + out/cljs-runtime/shadow.js.js.map | 9 + out/cljs-runtime/shadow.json.js | 69 + out/cljs-runtime/shadow.json.js.map | 1 + out/cljs-runtime/shadow.module.main.append.js | 2 + out/cljs-runtime/shadow.object.js | 2208 + out/cljs-runtime/shadow.object.js.map | 1 + out/cljs-runtime/shadow.remote.runtime.api.js | 192 + .../shadow.remote.runtime.api.js.map | 1 + .../shadow.remote.runtime.cljs.js_builtins.js | 44 + ...dow.remote.runtime.cljs.js_builtins.js.map | 1 + .../shadow.remote.runtime.eval_support.js | 109 + .../shadow.remote.runtime.eval_support.js.map | 1 + .../shadow.remote.runtime.obj_support.js | 863 + .../shadow.remote.runtime.obj_support.js.map | 1 + .../shadow.remote.runtime.shared.js | 466 + .../shadow.remote.runtime.shared.js.map | 1 + .../shadow.remote.runtime.tap_support.js | 148 + .../shadow.remote.runtime.tap_support.js.map | 1 + .../shadow.remote.runtime.writer.js | 83 + .../shadow.remote.runtime.writer.js.map | 1 + out/cljs-runtime/shadow.util.js | 181 + out/cljs-runtime/shadow.util.js.map | 1 + out/cljs-runtime/uix.compiler.alpha.js | 123 + out/cljs-runtime/uix.compiler.alpha.js.map | 1 + out/cljs-runtime/uix.compiler.aot.js | 62 + out/cljs-runtime/uix.compiler.aot.js.map | 1 + out/cljs-runtime/uix.compiler.attributes.js | 382 + .../uix.compiler.attributes.js.map | 1 + out/cljs-runtime/uix.compiler.input.js | 151 + out/cljs-runtime/uix.compiler.input.js.map | 1 + out/cljs-runtime/uix.core.js | 601 + out/cljs-runtime/uix.core.js.map | 1 + out/cljs-runtime/uix.dev.js | 22 + out/cljs-runtime/uix.dev.js.map | 1 + out/cljs-runtime/uix.dom.js | 162 + out/cljs-runtime/uix.dom.js.map | 1 + out/cljs-runtime/uix.hooks.alpha.js | 292 + out/cljs-runtime/uix.hooks.alpha.js.map | 1 + out/cljs-runtime/uix.lib.js | 13 + out/cljs-runtime/uix.lib.js.map | 1 + out/main.js | 20 +- shadow-cljs.edn | 3 +- src/cljs_react_devtools/core.cljs | 4 +- 363 files changed, 128970 insertions(+), 14 deletions(-) create mode 100644 out/cljs-runtime/cljs.core.async.impl.buffers.js create mode 100644 out/cljs-runtime/cljs.core.async.impl.buffers.js.map create mode 100644 out/cljs-runtime/cljs.core.async.impl.channels.js create mode 100644 out/cljs-runtime/cljs.core.async.impl.channels.js.map create mode 100644 out/cljs-runtime/cljs.core.async.impl.dispatch.js create mode 100644 out/cljs-runtime/cljs.core.async.impl.dispatch.js.map create mode 100644 out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js create mode 100644 out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js.map create mode 100644 out/cljs-runtime/cljs.core.async.impl.protocols.js create mode 100644 out/cljs-runtime/cljs.core.async.impl.protocols.js.map create mode 100644 out/cljs-runtime/cljs.core.async.impl.timers.js create mode 100644 out/cljs-runtime/cljs.core.async.impl.timers.js.map create mode 100644 out/cljs-runtime/cljs.core.async.js create mode 100644 out/cljs-runtime/cljs.core.async.js.map create mode 100644 out/cljs-runtime/cljs.core.js create mode 100644 out/cljs-runtime/cljs.core.js.map create mode 100644 out/cljs-runtime/cljs.pprint.js create mode 100644 out/cljs-runtime/cljs.pprint.js.map create mode 100644 out/cljs-runtime/cljs.repl.js create mode 100644 out/cljs-runtime/cljs.repl.js.map create mode 100644 out/cljs-runtime/cljs.spec.alpha.js create mode 100644 out/cljs-runtime/cljs.spec.alpha.js.map create mode 100644 out/cljs-runtime/cljs.spec.gen.alpha.js create mode 100644 out/cljs-runtime/cljs.spec.gen.alpha.js.map create mode 100644 out/cljs-runtime/cljs.user.js create mode 100644 out/cljs-runtime/cljs.user.js.map create mode 100644 out/cljs-runtime/cljs_bean.core.js create mode 100644 out/cljs-runtime/cljs_bean.core.js.map create mode 100644 out/cljs-runtime/cljs_bean.from.cljs.core.js create mode 100644 out/cljs-runtime/cljs_bean.from.cljs.core.js.map create mode 100644 out/cljs-runtime/cljs_react_devtools.core.js create mode 100644 out/cljs-runtime/cljs_react_devtools.core.js.map create mode 100644 out/cljs-runtime/clojure.core.protocols.js create mode 100644 out/cljs-runtime/clojure.core.protocols.js.map create mode 100644 out/cljs-runtime/clojure.data.js create mode 100644 out/cljs-runtime/clojure.data.js.map create mode 100644 out/cljs-runtime/clojure.datafy.js create mode 100644 out/cljs-runtime/clojure.datafy.js.map create mode 100644 out/cljs-runtime/clojure.set.js create mode 100644 out/cljs-runtime/clojure.set.js.map create mode 100644 out/cljs-runtime/clojure.string.js create mode 100644 out/cljs-runtime/clojure.string.js.map create mode 100644 out/cljs-runtime/clojure.walk.js create mode 100644 out/cljs-runtime/clojure.walk.js.map create mode 100644 out/cljs-runtime/cognitect.transit.js create mode 100644 out/cljs-runtime/cognitect.transit.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.caching.js create mode 100644 out/cljs-runtime/com.cognitect.transit.caching.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.delimiters.js create mode 100644 out/cljs-runtime/com.cognitect.transit.delimiters.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.eq.js create mode 100644 out/cljs-runtime/com.cognitect.transit.eq.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.handlers.js create mode 100644 out/cljs-runtime/com.cognitect.transit.handlers.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.impl.decoder.js create mode 100644 out/cljs-runtime/com.cognitect.transit.impl.decoder.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.impl.reader.js create mode 100644 out/cljs-runtime/com.cognitect.transit.impl.reader.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.impl.writer.js create mode 100644 out/cljs-runtime/com.cognitect.transit.impl.writer.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.js create mode 100644 out/cljs-runtime/com.cognitect.transit.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.types.js create mode 100644 out/cljs-runtime/com.cognitect.transit.types.js.map create mode 100644 out/cljs-runtime/com.cognitect.transit.util.js create mode 100644 out/cljs-runtime/com.cognitect.transit.util.js.map create mode 100644 out/cljs-runtime/example.core.js create mode 100644 out/cljs-runtime/example.core.js.map create mode 100644 out/cljs-runtime/goog.array.array.js create mode 100644 out/cljs-runtime/goog.array.array.js.map create mode 100644 out/cljs-runtime/goog.asserts.asserts.js create mode 100644 out/cljs-runtime/goog.asserts.asserts.js.map create mode 100644 out/cljs-runtime/goog.asserts.dom.js create mode 100644 out/cljs-runtime/goog.asserts.dom.js.map create mode 100644 out/cljs-runtime/goog.async.nexttick.js create mode 100644 out/cljs-runtime/goog.async.nexttick.js.map create mode 100644 out/cljs-runtime/goog.base.js create mode 100644 out/cljs-runtime/goog.base.js.map create mode 100644 out/cljs-runtime/goog.collections.iters.js create mode 100644 out/cljs-runtime/goog.collections.iters.js.map create mode 100644 out/cljs-runtime/goog.collections.maps.js create mode 100644 out/cljs-runtime/goog.collections.maps.js.map create mode 100644 out/cljs-runtime/goog.debug.debug.js create mode 100644 out/cljs-runtime/goog.debug.debug.js.map create mode 100644 out/cljs-runtime/goog.debug.entrypointregistry.js create mode 100644 out/cljs-runtime/goog.debug.entrypointregistry.js.map create mode 100644 out/cljs-runtime/goog.debug.error.js create mode 100644 out/cljs-runtime/goog.debug.error.js.map create mode 100644 out/cljs-runtime/goog.debug.errorcontext.js create mode 100644 out/cljs-runtime/goog.debug.errorcontext.js.map create mode 100644 out/cljs-runtime/goog.disposable.disposable.js create mode 100644 out/cljs-runtime/goog.disposable.disposable.js.map create mode 100644 out/cljs-runtime/goog.disposable.dispose.js create mode 100644 out/cljs-runtime/goog.disposable.dispose.js.map create mode 100644 out/cljs-runtime/goog.disposable.disposeall.js create mode 100644 out/cljs-runtime/goog.disposable.disposeall.js.map create mode 100644 out/cljs-runtime/goog.disposable.idisposable.js create mode 100644 out/cljs-runtime/goog.disposable.idisposable.js.map create mode 100644 out/cljs-runtime/goog.dom.asserts.js create mode 100644 out/cljs-runtime/goog.dom.asserts.js.map create mode 100644 out/cljs-runtime/goog.dom.browserfeature.js create mode 100644 out/cljs-runtime/goog.dom.browserfeature.js.map create mode 100644 out/cljs-runtime/goog.dom.classlist.js create mode 100644 out/cljs-runtime/goog.dom.classlist.js.map create mode 100644 out/cljs-runtime/goog.dom.dom.js create mode 100644 out/cljs-runtime/goog.dom.dom.js.map create mode 100644 out/cljs-runtime/goog.dom.element.js create mode 100644 out/cljs-runtime/goog.dom.element.js.map create mode 100644 out/cljs-runtime/goog.dom.forms.js create mode 100644 out/cljs-runtime/goog.dom.forms.js.map create mode 100644 out/cljs-runtime/goog.dom.htmlelement.js create mode 100644 out/cljs-runtime/goog.dom.htmlelement.js.map create mode 100644 out/cljs-runtime/goog.dom.inputtype.js create mode 100644 out/cljs-runtime/goog.dom.inputtype.js.map create mode 100644 out/cljs-runtime/goog.dom.nodetype.js create mode 100644 out/cljs-runtime/goog.dom.nodetype.js.map create mode 100644 out/cljs-runtime/goog.dom.safe.js create mode 100644 out/cljs-runtime/goog.dom.safe.js.map create mode 100644 out/cljs-runtime/goog.dom.tagname.js create mode 100644 out/cljs-runtime/goog.dom.tagname.js.map create mode 100644 out/cljs-runtime/goog.dom.tags.js create mode 100644 out/cljs-runtime/goog.dom.tags.js.map create mode 100644 out/cljs-runtime/goog.dom.vendor.js create mode 100644 out/cljs-runtime/goog.dom.vendor.js.map create mode 100644 out/cljs-runtime/goog.events.browserevent.js create mode 100644 out/cljs-runtime/goog.events.browserevent.js.map create mode 100644 out/cljs-runtime/goog.events.browserfeature.js create mode 100644 out/cljs-runtime/goog.events.browserfeature.js.map create mode 100644 out/cljs-runtime/goog.events.event.js create mode 100644 out/cljs-runtime/goog.events.event.js.map create mode 100644 out/cljs-runtime/goog.events.eventid.js create mode 100644 out/cljs-runtime/goog.events.eventid.js.map create mode 100644 out/cljs-runtime/goog.events.events.js create mode 100644 out/cljs-runtime/goog.events.events.js.map create mode 100644 out/cljs-runtime/goog.events.eventtype.js create mode 100644 out/cljs-runtime/goog.events.eventtype.js.map create mode 100644 out/cljs-runtime/goog.events.eventtypehelpers.js create mode 100644 out/cljs-runtime/goog.events.eventtypehelpers.js.map create mode 100644 out/cljs-runtime/goog.events.listenable.js create mode 100644 out/cljs-runtime/goog.events.listenable.js.map create mode 100644 out/cljs-runtime/goog.events.listenablekey.js create mode 100644 out/cljs-runtime/goog.events.listenablekey.js.map create mode 100644 out/cljs-runtime/goog.events.listener.js create mode 100644 out/cljs-runtime/goog.events.listener.js.map create mode 100644 out/cljs-runtime/goog.events.listenermap.js create mode 100644 out/cljs-runtime/goog.events.listenermap.js.map create mode 100644 out/cljs-runtime/goog.flags.flags.js create mode 100644 out/cljs-runtime/goog.flags.flags.js.map create mode 100644 out/cljs-runtime/goog.fs.blob.js create mode 100644 out/cljs-runtime/goog.fs.blob.js.map create mode 100644 out/cljs-runtime/goog.fs.url.js create mode 100644 out/cljs-runtime/goog.fs.url.js.map create mode 100644 out/cljs-runtime/goog.functions.functions.js create mode 100644 out/cljs-runtime/goog.functions.functions.js.map create mode 100644 out/cljs-runtime/goog.html.safehtml.js create mode 100644 out/cljs-runtime/goog.html.safehtml.js.map create mode 100644 out/cljs-runtime/goog.html.safescript.js create mode 100644 out/cljs-runtime/goog.html.safescript.js.map create mode 100644 out/cljs-runtime/goog.html.safestyle.js create mode 100644 out/cljs-runtime/goog.html.safestyle.js.map create mode 100644 out/cljs-runtime/goog.html.safestylesheet.js create mode 100644 out/cljs-runtime/goog.html.safestylesheet.js.map create mode 100644 out/cljs-runtime/goog.html.safeurl.js create mode 100644 out/cljs-runtime/goog.html.safeurl.js.map create mode 100644 out/cljs-runtime/goog.html.trustedresourceurl.js create mode 100644 out/cljs-runtime/goog.html.trustedresourceurl.js.map create mode 100644 out/cljs-runtime/goog.html.trustedtypes.js create mode 100644 out/cljs-runtime/goog.html.trustedtypes.js.map create mode 100644 out/cljs-runtime/goog.html.uncheckedconversions.js create mode 100644 out/cljs-runtime/goog.html.uncheckedconversions.js.map create mode 100644 out/cljs-runtime/goog.iter.es6.js create mode 100644 out/cljs-runtime/goog.iter.es6.js.map create mode 100644 out/cljs-runtime/goog.iter.iter.js create mode 100644 out/cljs-runtime/goog.iter.iter.js.map create mode 100644 out/cljs-runtime/goog.labs.useragent.browser.js create mode 100644 out/cljs-runtime/goog.labs.useragent.browser.js.map create mode 100644 out/cljs-runtime/goog.labs.useragent.engine.js create mode 100644 out/cljs-runtime/goog.labs.useragent.engine.js.map create mode 100644 out/cljs-runtime/goog.labs.useragent.highentropy.highentropydata.js create mode 100644 out/cljs-runtime/goog.labs.useragent.highentropy.highentropydata.js.map create mode 100644 out/cljs-runtime/goog.labs.useragent.highentropy.highentropyvalue.js create mode 100644 out/cljs-runtime/goog.labs.useragent.highentropy.highentropyvalue.js.map create mode 100644 out/cljs-runtime/goog.labs.useragent.platform.js create mode 100644 out/cljs-runtime/goog.labs.useragent.platform.js.map create mode 100644 out/cljs-runtime/goog.labs.useragent.useragent.js create mode 100644 out/cljs-runtime/goog.labs.useragent.useragent.js.map create mode 100644 out/cljs-runtime/goog.labs.useragent.util.js create mode 100644 out/cljs-runtime/goog.labs.useragent.util.js.map create mode 100644 out/cljs-runtime/goog.math.box.js create mode 100644 out/cljs-runtime/goog.math.box.js.map create mode 100644 out/cljs-runtime/goog.math.coordinate.js create mode 100644 out/cljs-runtime/goog.math.coordinate.js.map create mode 100644 out/cljs-runtime/goog.math.integer.js create mode 100644 out/cljs-runtime/goog.math.integer.js.map create mode 100644 out/cljs-runtime/goog.math.irect.js create mode 100644 out/cljs-runtime/goog.math.irect.js.map create mode 100644 out/cljs-runtime/goog.math.long.js create mode 100644 out/cljs-runtime/goog.math.long.js.map create mode 100644 out/cljs-runtime/goog.math.math.js create mode 100644 out/cljs-runtime/goog.math.math.js.map create mode 100644 out/cljs-runtime/goog.math.rect.js create mode 100644 out/cljs-runtime/goog.math.rect.js.map create mode 100644 out/cljs-runtime/goog.math.size.js create mode 100644 out/cljs-runtime/goog.math.size.js.map create mode 100644 out/cljs-runtime/goog.object.object.js create mode 100644 out/cljs-runtime/goog.object.object.js.map create mode 100644 out/cljs-runtime/goog.reflect.reflect.js create mode 100644 out/cljs-runtime/goog.reflect.reflect.js.map create mode 100644 out/cljs-runtime/goog.string.const.js create mode 100644 out/cljs-runtime/goog.string.const.js.map create mode 100644 out/cljs-runtime/goog.string.internal.js create mode 100644 out/cljs-runtime/goog.string.internal.js.map create mode 100644 out/cljs-runtime/goog.string.string.js create mode 100644 out/cljs-runtime/goog.string.string.js.map create mode 100644 out/cljs-runtime/goog.string.stringbuffer.js create mode 100644 out/cljs-runtime/goog.string.stringbuffer.js.map create mode 100644 out/cljs-runtime/goog.string.stringformat.js create mode 100644 out/cljs-runtime/goog.string.stringformat.js.map create mode 100644 out/cljs-runtime/goog.string.typedstring.js create mode 100644 out/cljs-runtime/goog.string.typedstring.js.map create mode 100644 out/cljs-runtime/goog.structs.map.js create mode 100644 out/cljs-runtime/goog.structs.map.js.map create mode 100644 out/cljs-runtime/goog.structs.structs.js create mode 100644 out/cljs-runtime/goog.structs.structs.js.map create mode 100644 out/cljs-runtime/goog.style.style.js create mode 100644 out/cljs-runtime/goog.style.style.js.map create mode 100644 out/cljs-runtime/goog.uri.uri.js create mode 100644 out/cljs-runtime/goog.uri.uri.js.map create mode 100644 out/cljs-runtime/goog.uri.utils.js create mode 100644 out/cljs-runtime/goog.uri.utils.js.map create mode 100644 out/cljs-runtime/goog.useragent.product.js create mode 100644 out/cljs-runtime/goog.useragent.product.js.map create mode 100644 out/cljs-runtime/goog.useragent.useragent.js create mode 100644 out/cljs-runtime/goog.useragent.useragent.js.map create mode 100644 out/cljs-runtime/goog.window.window.js create mode 100644 out/cljs-runtime/goog.window.window.js.map create mode 100644 out/cljs-runtime/module$node_modules$react$cjs$react_development.js create mode 100644 out/cljs-runtime/module$node_modules$react$cjs$react_development.js.map create mode 100644 out/cljs-runtime/module$node_modules$react$index.js create mode 100644 out/cljs-runtime/module$node_modules$react$index.js.map create mode 100644 out/cljs-runtime/module$node_modules$react_dom$cjs$react_dom_development.js create mode 100644 out/cljs-runtime/module$node_modules$react_dom$cjs$react_dom_development.js.map create mode 100644 out/cljs-runtime/module$node_modules$react_dom$client.js create mode 100644 out/cljs-runtime/module$node_modules$react_dom$client.js.map create mode 100644 out/cljs-runtime/module$node_modules$react_dom$index.js create mode 100644 out/cljs-runtime/module$node_modules$react_dom$index.js.map create mode 100644 out/cljs-runtime/module$node_modules$react_refresh$cjs$react_refresh_runtime_development.js create mode 100644 out/cljs-runtime/module$node_modules$react_refresh$cjs$react_refresh_runtime_development.js.map create mode 100644 out/cljs-runtime/module$node_modules$react_refresh$runtime.js create mode 100644 out/cljs-runtime/module$node_modules$react_refresh$runtime.js.map create mode 100644 out/cljs-runtime/module$node_modules$scheduler$cjs$scheduler_development.js create mode 100644 out/cljs-runtime/module$node_modules$scheduler$cjs$scheduler_development.js.map create mode 100644 out/cljs-runtime/module$node_modules$scheduler$index.js create mode 100644 out/cljs-runtime/module$node_modules$scheduler$index.js.map create mode 100644 out/cljs-runtime/re_frame.cofx.js create mode 100644 out/cljs-runtime/re_frame.cofx.js.map create mode 100644 out/cljs-runtime/re_frame.core.js create mode 100644 out/cljs-runtime/re_frame.core.js.map create mode 100644 out/cljs-runtime/re_frame.db.js create mode 100644 out/cljs-runtime/re_frame.db.js.map create mode 100644 out/cljs-runtime/re_frame.events.js create mode 100644 out/cljs-runtime/re_frame.events.js.map create mode 100644 out/cljs-runtime/re_frame.fx.js create mode 100644 out/cljs-runtime/re_frame.fx.js.map create mode 100644 out/cljs-runtime/re_frame.interceptor.js create mode 100644 out/cljs-runtime/re_frame.interceptor.js.map create mode 100644 out/cljs-runtime/re_frame.interop.js create mode 100644 out/cljs-runtime/re_frame.interop.js.map create mode 100644 out/cljs-runtime/re_frame.loggers.js create mode 100644 out/cljs-runtime/re_frame.loggers.js.map create mode 100644 out/cljs-runtime/re_frame.registrar.js create mode 100644 out/cljs-runtime/re_frame.registrar.js.map create mode 100644 out/cljs-runtime/re_frame.router.js create mode 100644 out/cljs-runtime/re_frame.router.js.map create mode 100644 out/cljs-runtime/re_frame.settings.js create mode 100644 out/cljs-runtime/re_frame.settings.js.map create mode 100644 out/cljs-runtime/re_frame.std_interceptors.js create mode 100644 out/cljs-runtime/re_frame.std_interceptors.js.map create mode 100644 out/cljs-runtime/re_frame.subs.js create mode 100644 out/cljs-runtime/re_frame.subs.js.map create mode 100644 out/cljs-runtime/re_frame.trace.js create mode 100644 out/cljs-runtime/re_frame.trace.js.map create mode 100644 out/cljs-runtime/re_frame.utils.js create mode 100644 out/cljs-runtime/re_frame.utils.js.map create mode 100644 out/cljs-runtime/reagent.core.js create mode 100644 out/cljs-runtime/reagent.core.js.map create mode 100644 out/cljs-runtime/reagent.debug.js create mode 100644 out/cljs-runtime/reagent.debug.js.map create mode 100644 out/cljs-runtime/reagent.impl.batching.js create mode 100644 out/cljs-runtime/reagent.impl.batching.js.map create mode 100644 out/cljs-runtime/reagent.impl.component.js create mode 100644 out/cljs-runtime/reagent.impl.component.js.map create mode 100644 out/cljs-runtime/reagent.impl.input.js create mode 100644 out/cljs-runtime/reagent.impl.input.js.map create mode 100644 out/cljs-runtime/reagent.impl.protocols.js create mode 100644 out/cljs-runtime/reagent.impl.protocols.js.map create mode 100644 out/cljs-runtime/reagent.impl.template.js create mode 100644 out/cljs-runtime/reagent.impl.template.js.map create mode 100644 out/cljs-runtime/reagent.impl.util.js create mode 100644 out/cljs-runtime/reagent.impl.util.js.map create mode 100644 out/cljs-runtime/reagent.ratom.js create mode 100644 out/cljs-runtime/reagent.ratom.js.map create mode 100644 out/cljs-runtime/shadow.animate.js create mode 100644 out/cljs-runtime/shadow.animate.js.map create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.browser.js create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.browser.js.map create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.console.js create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.console.js.map create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.env.js create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.env.js.map create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.hud.js create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.hud.js.map create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.shared.js create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.shared.js.map create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.websocket.js create mode 100644 out/cljs-runtime/shadow.cljs.devtools.client.websocket.js.map create mode 100644 out/cljs-runtime/shadow.dom.js create mode 100644 out/cljs-runtime/shadow.dom.js.map create mode 100644 out/cljs-runtime/shadow.js.js create mode 100644 out/cljs-runtime/shadow.js.js.map create mode 100644 out/cljs-runtime/shadow.json.js create mode 100644 out/cljs-runtime/shadow.json.js.map create mode 100644 out/cljs-runtime/shadow.module.main.append.js create mode 100644 out/cljs-runtime/shadow.object.js create mode 100644 out/cljs-runtime/shadow.object.js.map create mode 100644 out/cljs-runtime/shadow.remote.runtime.api.js create mode 100644 out/cljs-runtime/shadow.remote.runtime.api.js.map create mode 100644 out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js create mode 100644 out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js.map create mode 100644 out/cljs-runtime/shadow.remote.runtime.eval_support.js create mode 100644 out/cljs-runtime/shadow.remote.runtime.eval_support.js.map create mode 100644 out/cljs-runtime/shadow.remote.runtime.obj_support.js create mode 100644 out/cljs-runtime/shadow.remote.runtime.obj_support.js.map create mode 100644 out/cljs-runtime/shadow.remote.runtime.shared.js create mode 100644 out/cljs-runtime/shadow.remote.runtime.shared.js.map create mode 100644 out/cljs-runtime/shadow.remote.runtime.tap_support.js create mode 100644 out/cljs-runtime/shadow.remote.runtime.tap_support.js.map create mode 100644 out/cljs-runtime/shadow.remote.runtime.writer.js create mode 100644 out/cljs-runtime/shadow.remote.runtime.writer.js.map create mode 100644 out/cljs-runtime/shadow.util.js create mode 100644 out/cljs-runtime/shadow.util.js.map create mode 100644 out/cljs-runtime/uix.compiler.alpha.js create mode 100644 out/cljs-runtime/uix.compiler.alpha.js.map create mode 100644 out/cljs-runtime/uix.compiler.aot.js create mode 100644 out/cljs-runtime/uix.compiler.aot.js.map create mode 100644 out/cljs-runtime/uix.compiler.attributes.js create mode 100644 out/cljs-runtime/uix.compiler.attributes.js.map create mode 100644 out/cljs-runtime/uix.compiler.input.js create mode 100644 out/cljs-runtime/uix.compiler.input.js.map create mode 100644 out/cljs-runtime/uix.core.js create mode 100644 out/cljs-runtime/uix.core.js.map create mode 100644 out/cljs-runtime/uix.dev.js create mode 100644 out/cljs-runtime/uix.dev.js.map create mode 100644 out/cljs-runtime/uix.dom.js create mode 100644 out/cljs-runtime/uix.dom.js.map create mode 100644 out/cljs-runtime/uix.hooks.alpha.js create mode 100644 out/cljs-runtime/uix.hooks.alpha.js.map create mode 100644 out/cljs-runtime/uix.lib.js create mode 100644 out/cljs-runtime/uix.lib.js.map diff --git a/.gitignore b/.gitignore index d140de1..dcd36e2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,4 @@ node_modules .idea *.iml .shadow-cljs -out target diff --git a/out/cljs-runtime/cljs.core.async.impl.buffers.js b/out/cljs-runtime/cljs.core.async.impl.buffers.js new file mode 100644 index 0000000..1aea440 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.buffers.js @@ -0,0 +1,462 @@ +goog.provide('cljs.core.async.impl.buffers'); +cljs.core.async.impl.buffers.acopy = (function cljs$core$async$impl$buffers$acopy(src,src_start,dest,dest_start,len){ +var cnt = (0); +while(true){ +if((cnt < len)){ +(dest[(dest_start + cnt)] = (src[(src_start + cnt)])); + +var G__28227 = (cnt + (1)); +cnt = G__28227; +continue; +} else { +return null; +} +break; +} +}); + +/** +* @constructor +*/ +cljs.core.async.impl.buffers.RingBuffer = (function (head,tail,length,arr){ +this.head = head; +this.tail = tail; +this.length = length; +this.arr = arr; +}); +(cljs.core.async.impl.buffers.RingBuffer.prototype.pop = (function (){ +var self__ = this; +var _ = this; +if((self__.length === (0))){ +return null; +} else { +var x = (self__.arr[self__.tail]); +(self__.arr[self__.tail] = null); + +(self__.tail = ((self__.tail + (1)) % self__.arr.length)); + +(self__.length = (self__.length - (1))); + +return x; +} +})); + +(cljs.core.async.impl.buffers.RingBuffer.prototype.unshift = (function (x){ +var self__ = this; +var _ = this; +(self__.arr[self__.head] = x); + +(self__.head = ((self__.head + (1)) % self__.arr.length)); + +(self__.length = (self__.length + (1))); + +return null; +})); + +(cljs.core.async.impl.buffers.RingBuffer.prototype.unbounded_unshift = (function (x){ +var self__ = this; +var this$ = this; +if(((self__.length + (1)) === self__.arr.length)){ +this$.resize(); +} else { +} + +return this$.unshift(x); +})); + +(cljs.core.async.impl.buffers.RingBuffer.prototype.resize = (function (){ +var self__ = this; +var _ = this; +var new_arr_size = (self__.arr.length * (2)); +var new_arr = (new Array(new_arr_size)); +if((self__.tail < self__.head)){ +cljs.core.async.impl.buffers.acopy(self__.arr,self__.tail,new_arr,(0),self__.length); + +(self__.tail = (0)); + +(self__.head = self__.length); + +return (self__.arr = new_arr); +} else { +if((self__.tail > self__.head)){ +cljs.core.async.impl.buffers.acopy(self__.arr,self__.tail,new_arr,(0),(self__.arr.length - self__.tail)); + +cljs.core.async.impl.buffers.acopy(self__.arr,(0),new_arr,(self__.arr.length - self__.tail),self__.head); + +(self__.tail = (0)); + +(self__.head = self__.length); + +return (self__.arr = new_arr); +} else { +if((self__.tail === self__.head)){ +(self__.tail = (0)); + +(self__.head = (0)); + +return (self__.arr = new_arr); +} else { +return null; +} +} +} +})); + +(cljs.core.async.impl.buffers.RingBuffer.prototype.cleanup = (function (keep_QMARK_){ +var self__ = this; +var this$ = this; +var n__5636__auto__ = self__.length; +var x = (0); +while(true){ +if((x < n__5636__auto__)){ +var v_28236 = this$.pop(); +if((keep_QMARK_.cljs$core$IFn$_invoke$arity$1 ? keep_QMARK_.cljs$core$IFn$_invoke$arity$1(v_28236) : keep_QMARK_.call(null, v_28236))){ +this$.unshift(v_28236); +} else { +} + +var G__28239 = (x + (1)); +x = G__28239; +continue; +} else { +return null; +} +break; +} +})); + +(cljs.core.async.impl.buffers.RingBuffer.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"head","head",869147608,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"tail","tail",494507963,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"length","length",-2065447907,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.async.impl.buffers.RingBuffer.cljs$lang$type = true); + +(cljs.core.async.impl.buffers.RingBuffer.cljs$lang$ctorStr = "cljs.core.async.impl.buffers/RingBuffer"); + +(cljs.core.async.impl.buffers.RingBuffer.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.buffers/RingBuffer"); +})); + +/** + * Positional factory function for cljs.core.async.impl.buffers/RingBuffer. + */ +cljs.core.async.impl.buffers.__GT_RingBuffer = (function cljs$core$async$impl$buffers$__GT_RingBuffer(head,tail,length,arr){ +return (new cljs.core.async.impl.buffers.RingBuffer(head,tail,length,arr)); +}); + +cljs.core.async.impl.buffers.ring_buffer = (function cljs$core$async$impl$buffers$ring_buffer(n){ +if((n > (0))){ +} else { +throw (new Error(["Assert failed: ","Can't create a ring buffer of size 0","\n","(> n 0)"].join(''))); +} + +return (new cljs.core.async.impl.buffers.RingBuffer((0),(0),(0),(new Array(n)))); +}); + +/** +* @constructor + * @implements {cljs.core.ICounted} + * @implements {cljs.core.async.impl.protocols.Buffer} +*/ +cljs.core.async.impl.buffers.FixedBuffer = (function (buf,n){ +this.buf = buf; +this.n = n; +this.cljs$lang$protocol_mask$partition0$ = 2; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.buffers.FixedBuffer.prototype.cljs$core$async$impl$protocols$Buffer$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.buffers.FixedBuffer.prototype.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return (self__.buf.length >= self__.n); +})); + +(cljs.core.async.impl.buffers.FixedBuffer.prototype.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.buf.pop(); +})); + +(cljs.core.async.impl.buffers.FixedBuffer.prototype.cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$arity$2 = (function (this$,itm){ +var self__ = this; +var this$__$1 = this; +self__.buf.unbounded_unshift(itm); + +return this$__$1; +})); + +(cljs.core.async.impl.buffers.FixedBuffer.prototype.cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return null; +})); + +(cljs.core.async.impl.buffers.FixedBuffer.prototype.cljs$core$ICounted$_count$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.buf.length; +})); + +(cljs.core.async.impl.buffers.FixedBuffer.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"buf","buf",1426618187,null),new cljs.core.Symbol(null,"n","n",-2092305744,null)], null); +})); + +(cljs.core.async.impl.buffers.FixedBuffer.cljs$lang$type = true); + +(cljs.core.async.impl.buffers.FixedBuffer.cljs$lang$ctorStr = "cljs.core.async.impl.buffers/FixedBuffer"); + +(cljs.core.async.impl.buffers.FixedBuffer.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.buffers/FixedBuffer"); +})); + +/** + * Positional factory function for cljs.core.async.impl.buffers/FixedBuffer. + */ +cljs.core.async.impl.buffers.__GT_FixedBuffer = (function cljs$core$async$impl$buffers$__GT_FixedBuffer(buf,n){ +return (new cljs.core.async.impl.buffers.FixedBuffer(buf,n)); +}); + +cljs.core.async.impl.buffers.fixed_buffer = (function cljs$core$async$impl$buffers$fixed_buffer(n){ +return (new cljs.core.async.impl.buffers.FixedBuffer(cljs.core.async.impl.buffers.ring_buffer(n),n)); +}); + +/** +* @constructor + * @implements {cljs.core.ICounted} + * @implements {cljs.core.async.impl.protocols.UnblockingBuffer} + * @implements {cljs.core.async.impl.protocols.Buffer} +*/ +cljs.core.async.impl.buffers.DroppingBuffer = (function (buf,n){ +this.buf = buf; +this.n = n; +this.cljs$lang$protocol_mask$partition0$ = 2; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.buffers.DroppingBuffer.prototype.cljs$core$async$impl$protocols$UnblockingBuffer$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.buffers.DroppingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.buffers.DroppingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return false; +})); + +(cljs.core.async.impl.buffers.DroppingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.buf.pop(); +})); + +(cljs.core.async.impl.buffers.DroppingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$arity$2 = (function (this$,itm){ +var self__ = this; +var this$__$1 = this; +if((self__.buf.length === self__.n)){ +} else { +self__.buf.unshift(itm); +} + +return this$__$1; +})); + +(cljs.core.async.impl.buffers.DroppingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return null; +})); + +(cljs.core.async.impl.buffers.DroppingBuffer.prototype.cljs$core$ICounted$_count$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.buf.length; +})); + +(cljs.core.async.impl.buffers.DroppingBuffer.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"buf","buf",1426618187,null),new cljs.core.Symbol(null,"n","n",-2092305744,null)], null); +})); + +(cljs.core.async.impl.buffers.DroppingBuffer.cljs$lang$type = true); + +(cljs.core.async.impl.buffers.DroppingBuffer.cljs$lang$ctorStr = "cljs.core.async.impl.buffers/DroppingBuffer"); + +(cljs.core.async.impl.buffers.DroppingBuffer.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.buffers/DroppingBuffer"); +})); + +/** + * Positional factory function for cljs.core.async.impl.buffers/DroppingBuffer. + */ +cljs.core.async.impl.buffers.__GT_DroppingBuffer = (function cljs$core$async$impl$buffers$__GT_DroppingBuffer(buf,n){ +return (new cljs.core.async.impl.buffers.DroppingBuffer(buf,n)); +}); + +cljs.core.async.impl.buffers.dropping_buffer = (function cljs$core$async$impl$buffers$dropping_buffer(n){ +return (new cljs.core.async.impl.buffers.DroppingBuffer(cljs.core.async.impl.buffers.ring_buffer(n),n)); +}); + +/** +* @constructor + * @implements {cljs.core.ICounted} + * @implements {cljs.core.async.impl.protocols.UnblockingBuffer} + * @implements {cljs.core.async.impl.protocols.Buffer} +*/ +cljs.core.async.impl.buffers.SlidingBuffer = (function (buf,n){ +this.buf = buf; +this.n = n; +this.cljs$lang$protocol_mask$partition0$ = 2; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.buffers.SlidingBuffer.prototype.cljs$core$async$impl$protocols$UnblockingBuffer$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.buffers.SlidingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.buffers.SlidingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return false; +})); + +(cljs.core.async.impl.buffers.SlidingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.buf.pop(); +})); + +(cljs.core.async.impl.buffers.SlidingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$arity$2 = (function (this$,itm){ +var self__ = this; +var this$__$1 = this; +if((self__.buf.length === self__.n)){ +this$__$1.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1(null, ); +} else { +} + +self__.buf.unshift(itm); + +return this$__$1; +})); + +(cljs.core.async.impl.buffers.SlidingBuffer.prototype.cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return null; +})); + +(cljs.core.async.impl.buffers.SlidingBuffer.prototype.cljs$core$ICounted$_count$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.buf.length; +})); + +(cljs.core.async.impl.buffers.SlidingBuffer.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"buf","buf",1426618187,null),new cljs.core.Symbol(null,"n","n",-2092305744,null)], null); +})); + +(cljs.core.async.impl.buffers.SlidingBuffer.cljs$lang$type = true); + +(cljs.core.async.impl.buffers.SlidingBuffer.cljs$lang$ctorStr = "cljs.core.async.impl.buffers/SlidingBuffer"); + +(cljs.core.async.impl.buffers.SlidingBuffer.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.buffers/SlidingBuffer"); +})); + +/** + * Positional factory function for cljs.core.async.impl.buffers/SlidingBuffer. + */ +cljs.core.async.impl.buffers.__GT_SlidingBuffer = (function cljs$core$async$impl$buffers$__GT_SlidingBuffer(buf,n){ +return (new cljs.core.async.impl.buffers.SlidingBuffer(buf,n)); +}); + +cljs.core.async.impl.buffers.sliding_buffer = (function cljs$core$async$impl$buffers$sliding_buffer(n){ +return (new cljs.core.async.impl.buffers.SlidingBuffer(cljs.core.async.impl.buffers.ring_buffer(n),n)); +}); +if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.async !== 'undefined') && (typeof cljs.core.async.impl !== 'undefined') && (typeof cljs.core.async.impl.buffers !== 'undefined') && (typeof cljs.core.async.impl.buffers.NO_VAL !== 'undefined')){ +} else { +cljs.core.async.impl.buffers.NO_VAL = (new Object()); +} +cljs.core.async.impl.buffers.undelivered_QMARK_ = (function cljs$core$async$impl$buffers$undelivered_QMARK_(val){ +return (cljs.core.async.impl.buffers.NO_VAL === val); +}); + +/** +* @constructor + * @implements {cljs.core.ICounted} + * @implements {cljs.core.async.impl.protocols.UnblockingBuffer} + * @implements {cljs.core.async.impl.protocols.Buffer} +*/ +cljs.core.async.impl.buffers.PromiseBuffer = (function (val){ +this.val = val; +this.cljs$lang$protocol_mask$partition0$ = 2; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.buffers.PromiseBuffer.prototype.cljs$core$async$impl$protocols$UnblockingBuffer$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.buffers.PromiseBuffer.prototype.cljs$core$async$impl$protocols$Buffer$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.buffers.PromiseBuffer.prototype.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return false; +})); + +(cljs.core.async.impl.buffers.PromiseBuffer.prototype.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.val; +})); + +(cljs.core.async.impl.buffers.PromiseBuffer.prototype.cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$arity$2 = (function (this$,itm){ +var self__ = this; +var this$__$1 = this; +if(cljs.core.async.impl.buffers.undelivered_QMARK_(self__.val)){ +(self__.val = itm); +} else { +} + +return this$__$1; +})); + +(cljs.core.async.impl.buffers.PromiseBuffer.prototype.cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(cljs.core.async.impl.buffers.undelivered_QMARK_(self__.val)){ +return (self__.val = null); +} else { +return null; +} +})); + +(cljs.core.async.impl.buffers.PromiseBuffer.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(cljs.core.async.impl.buffers.undelivered_QMARK_(self__.val)){ +return (0); +} else { +return (1); +} +})); + +(cljs.core.async.impl.buffers.PromiseBuffer.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.async.impl.buffers.PromiseBuffer.cljs$lang$type = true); + +(cljs.core.async.impl.buffers.PromiseBuffer.cljs$lang$ctorStr = "cljs.core.async.impl.buffers/PromiseBuffer"); + +(cljs.core.async.impl.buffers.PromiseBuffer.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.buffers/PromiseBuffer"); +})); + +/** + * Positional factory function for cljs.core.async.impl.buffers/PromiseBuffer. + */ +cljs.core.async.impl.buffers.__GT_PromiseBuffer = (function cljs$core$async$impl$buffers$__GT_PromiseBuffer(val){ +return (new cljs.core.async.impl.buffers.PromiseBuffer(val)); +}); + +cljs.core.async.impl.buffers.promise_buffer = (function cljs$core$async$impl$buffers$promise_buffer(){ +return (new cljs.core.async.impl.buffers.PromiseBuffer(cljs.core.async.impl.buffers.NO_VAL)); +}); + +//# sourceMappingURL=cljs.core.async.impl.buffers.js.map diff --git a/out/cljs-runtime/cljs.core.async.impl.buffers.js.map b/out/cljs-runtime/cljs.core.async.impl.buffers.js.map new file mode 100644 index 0000000..8674cd2 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.buffers.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/core/async/impl/buffers.cljs"],"mappings":";AAcA,qCAAA,rCAAMA,kFAAOC,IAAIC,UAAUC,KAAKC,WAAWC;AAA3C,AACE,UAAA,NAAOC;;AAAP,AACE,GAAM,CAAGA,MAAID;AAAb,AACE,CAAMF,KACA,CAAGC,aAAWE,QACd,CAAML,IAAI,CAAGC,YAAUI;;AAC7B,eAAO,OAAA,NAAKA;;;;AAJd;;;;;AAMJ,AAAA;;;;;;;;;;AAAA,AAAA,CAAA,AAAA,wDAAA,xDAASK;;AAAT,AAAA,QAAA,JAEQM;AAFR,AAGI,GAAU,mBAAA,lBAAOF;AAAjB;;AAAA,AACE,IAAMG,IAAE,CAAMF,WAAIF;AAAlB,AACE,2BAAA,1BAAME,WAAIF;;AACV,CAAMA,cAAK,CAAQ,eAAA,dAAKA,qBAAM,AAASE;;AACvC,CAAMD,gBAAO,iBAAA,hBAAKA;;AAClBG;;;;AARR,CAAA,AAAA,4DAAA,5DAASP,uEAUKO;;AAVd,AAAA,QAAA,JAUYD;AAVZ,AAWI,CAAMD,WAAIH,eAAKK;;AACf,CAAML,cAAK,CAAQ,eAAA,dAAKA,qBAAM,AAASG;;AACvC,CAAMD,gBAAO,iBAAA,hBAAKA;;AAbtB;;;AAAA,CAAA,AAAA,sEAAA,tEAASJ,iFAgBkBO;;AAhB3B,AAAA,YAAA,RAgBsBC;AAhBtB,AAiBI,GAAI,CAAI,iBAAA,hBAAKJ,yBAAQ,AAASC;AAC5B,AAASG;;AADX;;AAEA,OAAUA,cAAKD;;;AAnBnB,CAAA,AAAA,2DAAA,3DAASP;;AAAT,AAAA,Q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CAAA,AAAA,qHAAA,rHAASgC,gIAWMlC;;AAXf,AAAA,YAAA,RAWeA;AAXf,AAYI,GAAM,AAACgC,gDAAaC;AAApB,AACE,qBAAA,bAAMA;;AADR;;;;AAZJ,CAAA,AAAA,yFAAA,zFAASC,oGAeElC;;AAfX,AAAA,YAAA,RAeWA;AAfX,AAgBI,GAAI,AAACgC,gDAAaC;AAAlB;;AAAA;;;;AAhBJ,CAAA,sDAAA,tDAASC;AAAT,AAAA,AAAA;;;AAAA,CAAA,4DAAA,5DAASA;;AAAT,CAAA,+DAAA,/DAASA;;AAAT,CAAA,oEAAA,WAAA5C,mBAAAC,qBAAAC,vHAAS0C;AAAT,AAAA,OAAAzC,iBAAAF,qBAAA;;;AAAA;;;kDAAA,lDAAS4C,4GAAyBF;AAAlC,AAAA,YAAAC,2CAAkCD;;;AAAzBC,AAkBT,8CAAA,9CAAME;AAAN,AACE,YAAAF,2CAAgBJ","names":["cljs.core.async.impl.buffers/acopy","src","src-start","dest","dest-start","len","cnt","this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cljs.core/-write","cljs.core.async.impl.buffers/RingBuffer","cljs.core.async.impl.buffers/->RingBuffer","head","tail","length","arr","_","x","this","new-arr-size","new-arr","js/Array","keep?","n__5636__auto__","v","cljs.core.async.impl.buffers/ring-buffer","n","js/Error","cljs.core/PROTOCOL_SENTINEL","cljs.core.async.impl.buffers/FixedBuffer","cljs.core.async.impl.buffers/->FixedBuffer","buf","itm","cljs.core.async.impl.buffers/fixed-buffer","cljs.core.async.impl.buffers/DroppingBuffer","cljs.core.async.impl.buffers/->DroppingBuffer","cljs.core.async.impl.buffers/dropping-buffer","cljs.core.async.impl.buffers/SlidingBuffer","cljs.core.async.impl.buffers/->SlidingBuffer","cljs.core.async.impl.buffers/sliding-buffer","js/cljs","js/cljs.core","js/cljs.core.async","js/cljs.core.async.impl","js/cljs.core.async.impl.buffers","js/cljs.core.async.impl.buffers.NO-VAL","cljs.core.async.impl.buffers/NO-VAL","js/Object","cljs.core.async.impl.buffers/undelivered?","val","cljs.core.async.impl.buffers/PromiseBuffer","cljs.core.async.impl.buffers/->PromiseBuffer","cljs.core.async.impl.buffers/promise-buffer"],"sourcesContent":[";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core.async.impl.buffers\n (:require [cljs.core.async.impl.protocols :as impl]))\n\n;; -----------------------------------------------------------------------------\n;; DO NOT USE, this is internal buffer representation\n\n(defn acopy [src src-start dest dest-start len]\n (loop [cnt 0]\n (when (< cnt len)\n (aset dest\n (+ dest-start cnt)\n (aget src (+ src-start cnt)))\n (recur (inc cnt)))))\n\n(deftype RingBuffer [^:mutable head ^:mutable tail ^:mutable length ^:mutable arr]\n Object\n (pop [_]\n (when-not (zero? length)\n (let [x (aget arr tail)]\n (aset arr tail nil)\n (set! tail (js-mod (inc tail) (alength arr)))\n (set! length (dec length))\n x)))\n\n (unshift [_ x]\n (aset arr head x)\n (set! head (js-mod (inc head) (alength arr)))\n (set! length (inc length))\n nil)\n\n (unbounded-unshift [this x]\n (if (== (inc length) (alength arr))\n (.resize this))\n (.unshift this x))\n\n ;; Doubles the size of the buffer while retaining all the existing values\n (resize\n [_]\n (let [new-arr-size (* (alength arr) 2)\n new-arr (make-array new-arr-size)]\n (cond\n (< tail head)\n (do (acopy arr tail new-arr 0 length)\n (set! tail 0)\n (set! head length)\n (set! arr new-arr))\n\n (> tail head)\n (do (acopy arr tail new-arr 0 (- (alength arr) tail))\n (acopy arr 0 new-arr (- (alength arr) tail) head)\n (set! tail 0)\n (set! head length)\n (set! arr new-arr))\n\n (== tail head)\n (do (set! tail 0)\n (set! head 0)\n (set! arr new-arr)))))\n\n (cleanup [this keep?]\n (dotimes [x length]\n (let [v (.pop this)]\n (when ^boolean (keep? v)\n (.unshift this v))))))\n\n(defn ring-buffer [n]\n (assert (> n 0) \"Can't create a ring buffer of size 0\")\n (RingBuffer. 0 0 0 (make-array n)))\n\n;; -----------------------------------------------------------------------------\n\n(deftype FixedBuffer [buf n]\n impl/Buffer\n (full? [this]\n (>= (.-length buf) n))\n (remove! [this]\n (.pop buf))\n (add!* [this itm]\n (.unbounded-unshift buf itm)\n this)\n (close-buf! [this])\n cljs.core/ICounted\n (-count [this]\n (.-length buf)))\n\n(defn fixed-buffer [n]\n (FixedBuffer. (ring-buffer n) n))\n\n(deftype DroppingBuffer [buf n]\n impl/UnblockingBuffer\n impl/Buffer\n (full? [this]\n false)\n (remove! [this]\n (.pop buf))\n (add!* [this itm]\n (when-not (== (.-length buf) n)\n (.unshift buf itm))\n this)\n (close-buf! [this])\n cljs.core/ICounted\n (-count [this]\n (.-length buf)))\n\n(defn dropping-buffer [n]\n (DroppingBuffer. (ring-buffer n) n))\n\n(deftype SlidingBuffer [buf n]\n impl/UnblockingBuffer\n impl/Buffer\n (full? [this]\n false)\n (remove! [this]\n (.pop buf))\n (add!* [this itm]\n (when (== (.-length buf) n)\n (impl/remove! this))\n (.unshift buf itm)\n this)\n (close-buf! [this])\n cljs.core/ICounted\n (-count [this]\n (.-length buf)))\n\n(defn sliding-buffer [n]\n (SlidingBuffer. (ring-buffer n) n))\n\n(defonce ^:private NO-VAL (js/Object.))\n(defn- undelivered? [val]\n (identical? NO-VAL val))\n\n(deftype PromiseBuffer [^:mutable val]\n impl/UnblockingBuffer\n impl/Buffer\n (full? [_]\n false)\n (remove! [_]\n val)\n (add!* [this itm]\n (when (undelivered? val)\n (set! val itm))\n this)\n (close-buf! [_]\n (when (undelivered? val)\n (set! val nil)))\n cljs.core/ICounted\n (-count [_]\n (if (undelivered? val) 0 1)))\n\n(defn promise-buffer []\n (PromiseBuffer. NO-VAL))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.core.async.impl.channels.js b/out/cljs-runtime/cljs.core.async.impl.channels.js new file mode 100644 index 0000000..6853fd9 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.channels.js @@ -0,0 +1,682 @@ +goog.provide('cljs.core.async.impl.channels'); + +/** +* @constructor + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IDeref} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752 = (function (val,meta30753){ +this.val = val; +this.meta30753 = meta30753; +this.cljs$lang$protocol_mask$partition0$ = 425984; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_30754,meta30753__$1){ +var self__ = this; +var _30754__$1 = this; +return (new cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752(self__.val,meta30753__$1)); +})); + +(cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_30754){ +var self__ = this; +var _30754__$1 = this; +return self__.meta30753; +})); + +(cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.val; +})); + +(cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.Symbol(null,"meta30753","meta30753",774779793,null)], null); +})); + +(cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752.cljs$lang$type = true); + +(cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752.cljs$lang$ctorStr = "cljs.core.async.impl.channels/t_cljs$core$async$impl$channels30752"); + +(cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.channels/t_cljs$core$async$impl$channels30752"); +})); + +/** + * Positional factory function for cljs.core.async.impl.channels/t_cljs$core$async$impl$channels30752. + */ +cljs.core.async.impl.channels.__GT_t_cljs$core$async$impl$channels30752 = (function cljs$core$async$impl$channels$__GT_t_cljs$core$async$impl$channels30752(val,meta30753){ +return (new cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752(val,meta30753)); +}); + + +cljs.core.async.impl.channels.box = (function cljs$core$async$impl$channels$box(val){ +return (new cljs.core.async.impl.channels.t_cljs$core$async$impl$channels30752(val,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor +*/ +cljs.core.async.impl.channels.PutBox = (function (handler,val){ +this.handler = handler; +this.val = val; +}); + +(cljs.core.async.impl.channels.PutBox.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"handler","handler",1444934915,null),new cljs.core.Symbol(null,"val","val",1769233139,null)], null); +})); + +(cljs.core.async.impl.channels.PutBox.cljs$lang$type = true); + +(cljs.core.async.impl.channels.PutBox.cljs$lang$ctorStr = "cljs.core.async.impl.channels/PutBox"); + +(cljs.core.async.impl.channels.PutBox.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.channels/PutBox"); +})); + +/** + * Positional factory function for cljs.core.async.impl.channels/PutBox. + */ +cljs.core.async.impl.channels.__GT_PutBox = (function cljs$core$async$impl$channels$__GT_PutBox(handler,val){ +return (new cljs.core.async.impl.channels.PutBox(handler,val)); +}); + +cljs.core.async.impl.channels.put_active_QMARK_ = (function cljs$core$async$impl$channels$put_active_QMARK_(box){ +return cljs.core.async.impl.protocols.active_QMARK_(box.handler); +}); +cljs.core.async.impl.channels.MAX_DIRTY = (64); + +/** + * @interface + */ +cljs.core.async.impl.channels.MMC = function(){}; + +var cljs$core$async$impl$channels$MMC$abort$dyn_30889 = (function (this$){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core.async.impl.channels.abort[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5394__auto__.call(null, this$)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.channels.abort["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5392__auto__.call(null, this$)); +} else { +throw cljs.core.missing_protocol("MMC.abort",this$); +} +} +}); +cljs.core.async.impl.channels.abort = (function cljs$core$async$impl$channels$abort(this$){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$async$impl$channels$MMC$abort$arity$1 == null)))))){ +return this$.cljs$core$async$impl$channels$MMC$abort$arity$1(this$); +} else { +return cljs$core$async$impl$channels$MMC$abort$dyn_30889(this$); +} +}); + + +/** +* @constructor + * @implements {cljs.core.async.impl.channels.MMC} + * @implements {cljs.core.async.impl.protocols.Channel} + * @implements {cljs.core.async.impl.protocols.WritePort} + * @implements {cljs.core.async.impl.protocols.ReadPort} +*/ +cljs.core.async.impl.channels.ManyToManyChannel = (function (takes,dirty_takes,puts,dirty_puts,buf,closed,add_BANG_){ +this.takes = takes; +this.dirty_takes = dirty_takes; +this.puts = puts; +this.dirty_puts = dirty_puts; +this.buf = buf; +this.closed = closed; +this.add_BANG_ = add_BANG_; +}); +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$channels$MMC$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$channels$MMC$abort$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +while(true){ +var putter_30894 = self__.puts.pop(); +if((putter_30894 == null)){ +} else { +var put_handler_30895 = putter_30894.handler; +var val_30896 = putter_30894.val; +if(put_handler_30895.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, )){ +var put_cb_30897 = put_handler_30895.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +cljs.core.async.impl.dispatch.run(((function (put_cb_30897,put_handler_30895,val_30896,putter_30894,this$__$1){ +return (function (){ +return (put_cb_30897.cljs$core$IFn$_invoke$arity$1 ? put_cb_30897.cljs$core$IFn$_invoke$arity$1(true) : put_cb_30897.call(null, true)); +});})(put_cb_30897,put_handler_30895,val_30896,putter_30894,this$__$1)) +); +} else { +continue; +} +} +break; +} + +self__.puts.cleanup(cljs.core.constantly(false)); + +return this$__$1.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1(null, ); +})); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$protocols$WritePort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3 = (function (this$,val,handler){ +var self__ = this; +var this$__$1 = this; +if((!((val == null)))){ +} else { +throw (new Error(["Assert failed: ","Can't put nil on a channel","\n","(not (nil? val))"].join(''))); +} + +var closed__$1 = self__.closed; +if((!(handler.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, )))){ +return cljs.core.async.impl.channels.box((!(closed__$1))); +} else { +if(closed__$1){ +handler.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); + +return cljs.core.async.impl.channels.box(false); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = self__.buf; +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.not(self__.buf.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1(null, )); +} else { +return and__5043__auto__; +} +})())){ +handler.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); + +var done_QMARK_ = cljs.core.reduced_QMARK_((self__.add_BANG_.cljs$core$IFn$_invoke$arity$2 ? self__.add_BANG_.cljs$core$IFn$_invoke$arity$2(self__.buf,val) : self__.add_BANG_.call(null, self__.buf,val))); +var take_cbs = (function (){var takers = cljs.core.PersistentVector.EMPTY; +while(true){ +if((((self__.takes.length > (0))) && ((cljs.core.count(self__.buf) > (0))))){ +var taker = self__.takes.pop(); +if(taker.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, )){ +var ret = taker.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +var val__$1 = self__.buf.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1(null, ); +var G__30914 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(takers,((function (takers,ret,val__$1,taker,done_QMARK_,closed__$1,this$__$1){ +return (function (){ +return (ret.cljs$core$IFn$_invoke$arity$1 ? ret.cljs$core$IFn$_invoke$arity$1(val__$1) : ret.call(null, val__$1)); +});})(takers,ret,val__$1,taker,done_QMARK_,closed__$1,this$__$1)) +); +takers = G__30914; +continue; +} else { +var G__30916 = takers; +takers = G__30916; +continue; +} +} else { +return takers; +} +break; +} +})(); +if(done_QMARK_){ +this$__$1.cljs$core$async$impl$channels$MMC$abort$arity$1(null, ); +} else { +} + +if(cljs.core.seq(take_cbs)){ +var seq__30823_30919 = cljs.core.seq(take_cbs); +var chunk__30824_30920 = null; +var count__30825_30921 = (0); +var i__30826_30922 = (0); +while(true){ +if((i__30826_30922 < count__30825_30921)){ +var f_30923 = chunk__30824_30920.cljs$core$IIndexed$_nth$arity$2(null, i__30826_30922); +cljs.core.async.impl.dispatch.run(f_30923); + + +var G__30926 = seq__30823_30919; +var G__30927 = chunk__30824_30920; +var G__30928 = count__30825_30921; +var G__30929 = (i__30826_30922 + (1)); +seq__30823_30919 = G__30926; +chunk__30824_30920 = G__30927; +count__30825_30921 = G__30928; +i__30826_30922 = G__30929; +continue; +} else { +var temp__5823__auto___30933 = cljs.core.seq(seq__30823_30919); +if(temp__5823__auto___30933){ +var seq__30823_30935__$1 = temp__5823__auto___30933; +if(cljs.core.chunked_seq_QMARK_(seq__30823_30935__$1)){ +var c__5568__auto___30936 = cljs.core.chunk_first(seq__30823_30935__$1); +var G__30938 = cljs.core.chunk_rest(seq__30823_30935__$1); +var G__30939 = c__5568__auto___30936; +var G__30940 = cljs.core.count(c__5568__auto___30936); +var G__30941 = (0); +seq__30823_30919 = G__30938; +chunk__30824_30920 = G__30939; +count__30825_30921 = G__30940; +i__30826_30922 = G__30941; +continue; +} else { +var f_30942 = cljs.core.first(seq__30823_30935__$1); +cljs.core.async.impl.dispatch.run(f_30942); + + +var G__30944 = cljs.core.next(seq__30823_30935__$1); +var G__30945 = null; +var G__30946 = (0); +var G__30947 = (0); +seq__30823_30919 = G__30944; +chunk__30824_30920 = G__30945; +count__30825_30921 = G__30946; +i__30826_30922 = G__30947; +continue; +} +} else { +} +} +break; +} +} else { +} + +return cljs.core.async.impl.channels.box(true); +} else { +var taker = (function (){while(true){ +var taker = self__.takes.pop(); +if(cljs.core.truth_(taker)){ +if(cljs.core.truth_(taker.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, ))){ +return taker; +} else { +continue; +} +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(taker)){ +var take_cb = taker.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +handler.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); + +cljs.core.async.impl.dispatch.run((function (){ +return (take_cb.cljs$core$IFn$_invoke$arity$1 ? take_cb.cljs$core$IFn$_invoke$arity$1(val) : take_cb.call(null, val)); +})); + +return cljs.core.async.impl.channels.box(true); +} else { +if((self__.dirty_puts > (64))){ +(self__.dirty_puts = (0)); + +self__.puts.cleanup(cljs.core.async.impl.channels.put_active_QMARK_); +} else { +(self__.dirty_puts = (self__.dirty_puts + (1))); +} + +if(cljs.core.truth_(handler.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1(null, ))){ +if((self__.puts.length < (1024))){ +} else { +throw (new Error(["Assert failed: ",["No more than ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((1024))," pending puts are allowed on a single channel."," Consider using a windowed buffer."].join(''),"\n","(< (.-length puts) impl/MAX-QUEUE-SIZE)"].join(''))); +} + +self__.puts.unbounded_unshift((new cljs.core.async.impl.channels.PutBox(handler,val))); +} else { +} + +return null; +} +} +} +} +})); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2 = (function (this$,handler){ +var self__ = this; +var this$__$1 = this; +if((!(handler.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, )))){ +return null; +} else { +if((((!((self__.buf == null)))) && ((cljs.core.count(self__.buf) > (0))))){ +var temp__5821__auto__ = handler.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +if(cljs.core.truth_(temp__5821__auto__)){ +var take_cb = temp__5821__auto__; +var val = self__.buf.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1(null, ); +var vec__30839 = ((((cljs.core.not(self__.buf.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1(null, ))) && ((self__.puts.length > (0)))))?(function (){var cbs = cljs.core.PersistentVector.EMPTY; +while(true){ +var putter = self__.puts.pop(); +var put_handler = putter.handler; +var val__$1 = putter.val; +var cb = (function (){var and__5043__auto__ = put_handler.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, ); +if(and__5043__auto__){ +return put_handler.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +} else { +return and__5043__auto__; +} +})(); +var cbs__$1 = (cljs.core.truth_(cb)?cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cbs,cb):cbs); +var done_QMARK_ = (cljs.core.truth_(cb)?cljs.core.reduced_QMARK_((self__.add_BANG_.cljs$core$IFn$_invoke$arity$2 ? self__.add_BANG_.cljs$core$IFn$_invoke$arity$2(self__.buf,val__$1) : self__.add_BANG_.call(null, self__.buf,val__$1))):null); +if(((cljs.core.not(done_QMARK_)) && (((cljs.core.not(self__.buf.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1(null, ))) && ((self__.puts.length > (0))))))){ +var G__30975 = cbs__$1; +cbs = G__30975; +continue; +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [done_QMARK_,cbs__$1], null); +} +break; +} +})():null); +var done_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30839,(0),null); +var cbs = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30839,(1),null); +if(cljs.core.truth_(done_QMARK_)){ +this$__$1.cljs$core$async$impl$channels$MMC$abort$arity$1(null, ); +} else { +} + +var seq__30842_30978 = cljs.core.seq(cbs); +var chunk__30843_30979 = null; +var count__30844_30980 = (0); +var i__30845_30981 = (0); +while(true){ +if((i__30845_30981 < count__30844_30980)){ +var cb_30985 = chunk__30843_30979.cljs$core$IIndexed$_nth$arity$2(null, i__30845_30981); +cljs.core.async.impl.dispatch.run(((function (seq__30842_30978,chunk__30843_30979,count__30844_30980,i__30845_30981,cb_30985,val,vec__30839,done_QMARK_,cbs,take_cb,temp__5821__auto__,this$__$1){ +return (function (){ +return (cb_30985.cljs$core$IFn$_invoke$arity$1 ? cb_30985.cljs$core$IFn$_invoke$arity$1(true) : cb_30985.call(null, true)); +});})(seq__30842_30978,chunk__30843_30979,count__30844_30980,i__30845_30981,cb_30985,val,vec__30839,done_QMARK_,cbs,take_cb,temp__5821__auto__,this$__$1)) +); + + +var G__30986 = seq__30842_30978; +var G__30987 = chunk__30843_30979; +var G__30988 = count__30844_30980; +var G__30989 = (i__30845_30981 + (1)); +seq__30842_30978 = G__30986; +chunk__30843_30979 = G__30987; +count__30844_30980 = G__30988; +i__30845_30981 = G__30989; +continue; +} else { +var temp__5823__auto___30994 = cljs.core.seq(seq__30842_30978); +if(temp__5823__auto___30994){ +var seq__30842_30996__$1 = temp__5823__auto___30994; +if(cljs.core.chunked_seq_QMARK_(seq__30842_30996__$1)){ +var c__5568__auto___30998 = cljs.core.chunk_first(seq__30842_30996__$1); +var G__31000 = cljs.core.chunk_rest(seq__30842_30996__$1); +var G__31001 = c__5568__auto___30998; +var G__31002 = cljs.core.count(c__5568__auto___30998); +var G__31003 = (0); +seq__30842_30978 = G__31000; +chunk__30843_30979 = G__31001; +count__30844_30980 = G__31002; +i__30845_30981 = G__31003; +continue; +} else { +var cb_31004 = cljs.core.first(seq__30842_30996__$1); +cljs.core.async.impl.dispatch.run(((function (seq__30842_30978,chunk__30843_30979,count__30844_30980,i__30845_30981,cb_31004,seq__30842_30996__$1,temp__5823__auto___30994,val,vec__30839,done_QMARK_,cbs,take_cb,temp__5821__auto__,this$__$1){ +return (function (){ +return (cb_31004.cljs$core$IFn$_invoke$arity$1 ? cb_31004.cljs$core$IFn$_invoke$arity$1(true) : cb_31004.call(null, true)); +});})(seq__30842_30978,chunk__30843_30979,count__30844_30980,i__30845_30981,cb_31004,seq__30842_30996__$1,temp__5823__auto___30994,val,vec__30839,done_QMARK_,cbs,take_cb,temp__5821__auto__,this$__$1)) +); + + +var G__31009 = cljs.core.next(seq__30842_30996__$1); +var G__31010 = null; +var G__31011 = (0); +var G__31012 = (0); +seq__30842_30978 = G__31009; +chunk__30843_30979 = G__31010; +count__30844_30980 = G__31011; +i__30845_30981 = G__31012; +continue; +} +} else { +} +} +break; +} + +return cljs.core.async.impl.channels.box(val); +} else { +return null; +} +} else { +var putter = (function (){while(true){ +var putter = self__.puts.pop(); +if(cljs.core.truth_(putter)){ +if(cljs.core.async.impl.protocols.active_QMARK_(putter.handler)){ +return putter; +} else { +continue; +} +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(putter)){ +var put_cb = cljs.core.async.impl.protocols.commit(putter.handler); +handler.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); + +cljs.core.async.impl.dispatch.run((function (){ +return (put_cb.cljs$core$IFn$_invoke$arity$1 ? put_cb.cljs$core$IFn$_invoke$arity$1(true) : put_cb.call(null, true)); +})); + +return cljs.core.async.impl.channels.box(putter.val); +} else { +if(cljs.core.truth_(self__.closed)){ +if(cljs.core.truth_(self__.buf)){ +(self__.add_BANG_.cljs$core$IFn$_invoke$arity$1 ? self__.add_BANG_.cljs$core$IFn$_invoke$arity$1(self__.buf) : self__.add_BANG_.call(null, self__.buf)); +} else { +} + +if(cljs.core.truth_((function (){var and__5043__auto__ = handler.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, ); +if(cljs.core.truth_(and__5043__auto__)){ +return handler.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +} else { +return and__5043__auto__; +} +})())){ +var has_val = (function (){var and__5043__auto__ = self__.buf; +if(cljs.core.truth_(and__5043__auto__)){ +return (cljs.core.count(self__.buf) > (0)); +} else { +return and__5043__auto__; +} +})(); +var val = (cljs.core.truth_(has_val)?self__.buf.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1(null, ):null); +return cljs.core.async.impl.channels.box(val); +} else { +return null; +} +} else { +if((self__.dirty_takes > (64))){ +(self__.dirty_takes = (0)); + +self__.takes.cleanup(cljs.core.async.impl.protocols.active_QMARK_); +} else { +(self__.dirty_takes = (self__.dirty_takes + (1))); +} + +if(cljs.core.truth_(handler.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1(null, ))){ +if((self__.takes.length < (1024))){ +} else { +throw (new Error(["Assert failed: ",["No more than ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((1024))," pending takes are allowed on a single channel."].join(''),"\n","(< (.-length takes) impl/MAX-QUEUE-SIZE)"].join(''))); +} + +self__.takes.unbounded_unshift(handler); +} else { +} + +return null; +} +} +} +} +})); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$protocols$Channel$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$protocols$Channel$closed_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.closed; +})); + +(cljs.core.async.impl.channels.ManyToManyChannel.prototype.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if(self__.closed){ +return null; +} else { +(self__.closed = true); + +if(cljs.core.truth_((function (){var and__5043__auto__ = self__.buf; +if(cljs.core.truth_(and__5043__auto__)){ +return (self__.puts.length === (0)); +} else { +return and__5043__auto__; +} +})())){ +(self__.add_BANG_.cljs$core$IFn$_invoke$arity$1 ? self__.add_BANG_.cljs$core$IFn$_invoke$arity$1(self__.buf) : self__.add_BANG_.call(null, self__.buf)); +} else { +} + +while(true){ +var taker_31021 = self__.takes.pop(); +if((taker_31021 == null)){ +} else { +if(taker_31021.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, )){ +var take_cb_31023 = taker_31021.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +var val_31024 = (cljs.core.truth_((function (){var and__5043__auto__ = self__.buf; +if(cljs.core.truth_(and__5043__auto__)){ +return (cljs.core.count(self__.buf) > (0)); +} else { +return and__5043__auto__; +} +})())?self__.buf.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1(null, ):null); +cljs.core.async.impl.dispatch.run(((function (take_cb_31023,val_31024,taker_31021,this$__$1){ +return (function (){ +return (take_cb_31023.cljs$core$IFn$_invoke$arity$1 ? take_cb_31023.cljs$core$IFn$_invoke$arity$1(val_31024) : take_cb_31023.call(null, val_31024)); +});})(take_cb_31023,val_31024,taker_31021,this$__$1)) +); +} else { +} + +continue; +} +break; +} + +if(cljs.core.truth_(self__.buf)){ +self__.buf.cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$arity$1(null, ); +} else { +} + +return null; +} +})); + +(cljs.core.async.impl.channels.ManyToManyChannel.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"takes","takes",298247964,null),cljs.core.with_meta(new cljs.core.Symbol(null,"dirty-takes","dirty-takes",575642138,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"puts","puts",-1883877054,null),cljs.core.with_meta(new cljs.core.Symbol(null,"dirty-puts","dirty-puts",57041148,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"buf","buf",1426618187,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"not-native","not-native",-236392494,null)], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"closed","closed",720856168,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"add!","add!",2046056845,null)], null); +})); + +(cljs.core.async.impl.channels.ManyToManyChannel.cljs$lang$type = true); + +(cljs.core.async.impl.channels.ManyToManyChannel.cljs$lang$ctorStr = "cljs.core.async.impl.channels/ManyToManyChannel"); + +(cljs.core.async.impl.channels.ManyToManyChannel.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.channels/ManyToManyChannel"); +})); + +/** + * Positional factory function for cljs.core.async.impl.channels/ManyToManyChannel. + */ +cljs.core.async.impl.channels.__GT_ManyToManyChannel = (function cljs$core$async$impl$channels$__GT_ManyToManyChannel(takes,dirty_takes,puts,dirty_puts,buf,closed,add_BANG_){ +return (new cljs.core.async.impl.channels.ManyToManyChannel(takes,dirty_takes,puts,dirty_puts,buf,closed,add_BANG_)); +}); + +cljs.core.async.impl.channels.ex_handler = (function cljs$core$async$impl$channels$ex_handler(ex){ +console.log(ex); + +return null; +}); +cljs.core.async.impl.channels.handle = (function cljs$core$async$impl$channels$handle(buf,exh,t){ +var else$ = (function (){var fexpr__30866 = (function (){var or__5045__auto__ = exh; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.async.impl.channels.ex_handler; +} +})(); +return (fexpr__30866.cljs$core$IFn$_invoke$arity$1 ? fexpr__30866.cljs$core$IFn$_invoke$arity$1(t) : fexpr__30866.call(null, t)); +})(); +if((else$ == null)){ +return buf; +} else { +return cljs.core.async.impl.protocols.add_BANG_.cljs$core$IFn$_invoke$arity$2(buf,else$); +} +}); +cljs.core.async.impl.channels.chan = (function cljs$core$async$impl$channels$chan(var_args){ +var G__30874 = arguments.length; +switch (G__30874) { +case 1: +return cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$1 = (function (buf){ +return cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$2(buf,null); +})); + +(cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$2 = (function (buf,xform){ +return cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$3(buf,xform,null); +})); + +(cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$3 = (function (buf,xform,exh){ +return (new cljs.core.async.impl.channels.ManyToManyChannel(cljs.core.async.impl.buffers.ring_buffer((32)),(0),cljs.core.async.impl.buffers.ring_buffer((32)),(0),buf,false,(function (){var add_BANG_ = (cljs.core.truth_(xform)?(xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(cljs.core.async.impl.protocols.add_BANG_) : xform.call(null, cljs.core.async.impl.protocols.add_BANG_)):cljs.core.async.impl.protocols.add_BANG_); +return (function() { +var G__31031 = null; +var G__31031__1 = (function (buf__$1){ +try{return (add_BANG_.cljs$core$IFn$_invoke$arity$1 ? add_BANG_.cljs$core$IFn$_invoke$arity$1(buf__$1) : add_BANG_.call(null, buf__$1)); +}catch (e30876){var t = e30876; +return cljs.core.async.impl.channels.handle(buf__$1,exh,t); +}}); +var G__31031__2 = (function (buf__$1,val){ +try{return (add_BANG_.cljs$core$IFn$_invoke$arity$2 ? add_BANG_.cljs$core$IFn$_invoke$arity$2(buf__$1,val) : add_BANG_.call(null, buf__$1,val)); +}catch (e30877){var t = e30877; +return cljs.core.async.impl.channels.handle(buf__$1,exh,t); +}}); +G__31031 = function(buf__$1,val){ +switch(arguments.length){ +case 1: +return G__31031__1.call(this,buf__$1); +case 2: +return G__31031__2.call(this,buf__$1,val); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31031.cljs$core$IFn$_invoke$arity$1 = G__31031__1; +G__31031.cljs$core$IFn$_invoke$arity$2 = G__31031__2; +return G__31031; +})() +})())); +})); + +(cljs.core.async.impl.channels.chan.cljs$lang$maxFixedArity = 3); + + +//# sourceMappingURL=cljs.core.async.impl.channels.js.map diff --git a/out/cljs-runtime/cljs.core.async.impl.channels.js.map b/out/cljs-runtime/cljs.core.async.impl.channels.js.map new file mode 100644 index 0000000..f41c6ae --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.channels.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/core/async/impl/channels.cljs"],"mappings":";;;;;;;;;;;;;;;;;+EAeWC;;;;;;;;;2HAEEE;;IAAAA;AAAGF;;;;;;;;;;;;;;;;;;4JAFLA;+EAAAA;;;;AAAX,oCAAA,pCAAMD,gFAAKC;AAAX,+EAAWA,/EACT,YAAAC,uEAAA;;AAGF,AAAA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AI2D;AAFR,AAEe,kFAAA,3EAACD,iEAAK1D,IAAI2D;;;AAFzB,CAAA,mEAAA,nEAAMF,8EAGFzD,IAAI2D,MAAMV;AAHd,AAIK,YAAAvD,+FAAA,mDAAA,QAAA,1GAAoB,yCAAA,zCAACkE,mDAA0B,yCAAA,zCAACA,mDAC1B5D,UACF,iBAAME,YAAK,kBAAIyD,OAAM,CAACA,sCAAAA,gFAAAA,5CAAME,6DAAAA,2CAAWA;AAAvC,AACE;;6BACI7D;AADJ,AAEG,IAAA,AACE,QAACE,0CAAAA,mDAAAA,XAAKF,gCAAAA;gBADR,QAAA8D,JAEkBZ;AAFlB,AAGI,OAACF,qCAAOhD,QAAIiD,IAAIC;;6BACnBlD,QAAI9B;AANR,AAOG,IAAA,AACE,QAACgC,0CAAAA,uDAAAA,fAAKF,oCAAAA,5BAAI9B,oCAAAA;gBADZ,QAAA6F,JAEkBb;AAFlB,AAGI,OAACF,qCAAOhD,QAAIiD,IAAIC;;oBAJnBlD,QAAI9B;;;6BAAJ8B;;6BAAAA,QAAI9B;;;;;;;;;;;AAbnC,CAAA,6DAAA,7DAAMuF;;AAAN","names":["cljs.core.async.impl.channels/box","val","cljs.core.async.impl.channels/t_cljs$core$async$impl$channels30752","_","this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cljs.core/-write","cljs.core.async.impl.channels/PutBox","cljs.core.async.impl.channels/->PutBox","handler","cljs.core.async.impl.channels/put-active?","box","cljs.core.async.impl.protocols/active?","cljs.core.async.impl.channels/MAX_DIRTY","cljs$core$async$impl$channels$MMC$abort$dyn","x__5393__auto__","m__5394__auto__","cljs.core.async.impl.channels/abort","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","cljs.core.async.impl.channels/MMC","this","cljs.core/PROTOCOL_SENTINEL","cljs.core.async.impl.channels/ManyToManyChannel","cljs.core.async.impl.channels/->ManyToManyChannel","takes","dirty-takes","puts","dirty-puts","buf","closed","add!","putter","put-handler","put-cb","cljs.core.async.impl.dispatch/run","cljs.core/constantly","js/Error","and__5043__auto__","cljs.core/not","done?","cljs.core/reduced?","take-cbs","takers","cljs.core/count","taker","ret","cljs.core.conj","cljs.core/seq","seq__30823","chunk__30824","count__30825","i__30826","temp__5823__auto__","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","cljs.core/first","cljs.core/next","f","take-cb","cljs.core.async.impl.protocols/MAX-QUEUE-SIZE","temp__5821__auto__","vec__30839","cljs.core.nth","cbs","cb","seq__30842","chunk__30843","count__30844","i__30845","cljs.core.async.impl.protocols/commit","has-val","cljs.core.async.impl.channels/ex-handler","ex","js/console","cljs.core.async.impl.channels/handle","exh","t","else","fexpr__30866","or__5045__auto__","cljs.core.async.impl.protocols.add_BANG_","var_args","G__30874","cljs.core.async.impl.channels/chan","cljs.core.async.impl.channels.chan","xform","cljs.core.async.impl.buffers/ring-buffer","cljs.core.async.impl.protocols/add!","e30876","e30877"],"sourcesContent":[";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core.async.impl.channels\n (:require [cljs.core.async.impl.protocols :as impl]\n [cljs.core.async.impl.dispatch :as dispatch]\n [cljs.core.async.impl.buffers :as buffers]))\n\n\n\n(defn box [val]\n (reify cljs.core/IDeref\n (-deref [_] val)))\n\n(deftype PutBox [handler val])\n\n(defn put-active? [box]\n (impl/active? (.-handler box)))\n\n(def ^:const MAX_DIRTY 64)\n\n(defprotocol MMC\n (abort [this]))\n\n(deftype ManyToManyChannel [takes ^:mutable dirty-takes puts ^:mutable dirty-puts ^not-native buf ^:mutable closed add!]\n MMC\n (abort [this]\n (loop []\n (let [putter (.pop puts)]\n (when-not (nil? putter)\n (let [^not-native put-handler (.-handler putter)\n val (.-val putter)]\n (if ^boolean (impl/active? put-handler)\n (let [put-cb (impl/commit put-handler)]\n (dispatch/run #(put-cb true)))\n (recur))))))\n (.cleanup puts (constantly false))\n (impl/close! this))\n impl/WritePort\n (put! [this val ^not-native handler]\n (assert (not (nil? val)) \"Can't put nil on a channel\")\n ;; bug in CLJS compiler boolean inference - David\n (let [^boolean closed closed]\n (if (not ^boolean (impl/active? handler))\n (box (not closed))\n (if closed\n (do\n (impl/commit handler)\n (box false))\n (if (and buf (not (impl/full? buf)))\n (do\n (impl/commit handler)\n (let [done? (reduced? (add! buf val))\n take-cbs (loop [takers []]\n (if (and (pos? (.-length takes)) (pos? (count buf)))\n (let [^not-native taker (.pop takes)]\n (if ^boolean (impl/active? taker)\n (let [ret (impl/commit taker)\n val (impl/remove! buf)]\n (recur (conj takers (fn [] (ret val)))))\n (recur takers)))\n takers))]\n (when done? (abort this))\n (when (seq take-cbs)\n (doseq [f take-cbs]\n (dispatch/run f)))\n (box true)))\n (let [taker (loop []\n (let [^not-native taker (.pop takes)]\n (when taker\n (if (impl/active? taker)\n taker\n (recur)))))]\n (if taker\n (let [take-cb (impl/commit taker)]\n (impl/commit handler)\n (dispatch/run (fn [] (take-cb val)))\n (box true))\n (do\n (if (> dirty-puts MAX_DIRTY)\n (do (set! dirty-puts 0)\n (.cleanup puts put-active?))\n (set! dirty-puts (inc dirty-puts)))\n (when (impl/blockable? handler)\n (assert (< (.-length puts) impl/MAX-QUEUE-SIZE)\n (str \"No more than \" impl/MAX-QUEUE-SIZE\n \" pending puts are allowed on a single channel.\"\n \" Consider using a windowed buffer.\"))\n (.unbounded-unshift puts (PutBox. handler val)))\n nil))))))))\n impl/ReadPort\n (take! [this ^not-native handler]\n (if (not ^boolean (impl/active? handler))\n nil\n (if (and (not (nil? buf)) (pos? (count buf)))\n (do\n (if-let [take-cb (impl/commit handler)]\n (let [val (impl/remove! buf)\n [done? cbs] (when (and (not (impl/full? buf)) (pos? (.-length puts)))\n (loop [cbs []]\n (let [putter (.pop puts)\n ^not-native put-handler (.-handler putter)\n val (.-val putter)\n cb (and ^boolean (impl/active? put-handler) (impl/commit put-handler))\n cbs (if cb (conj cbs cb) cbs)\n done? (when cb (reduced? (add! buf val)))]\n (if (and (not done?) (not (impl/full? buf)) (pos? (.-length puts)))\n (recur cbs)\n [done? cbs]))))]\n (when done?\n (abort this))\n (doseq [cb cbs]\n (dispatch/run #(cb true)))\n (box val))))\n (let [putter (loop []\n (let [putter (.pop puts)]\n (when putter\n (if ^boolean (impl/active? (.-handler putter))\n putter\n (recur)))))]\n (if putter\n (let [put-cb (impl/commit (.-handler putter))]\n (impl/commit handler)\n (dispatch/run #(put-cb true))\n (box (.-val putter)))\n (if closed\n (do\n (when buf (add! buf))\n (if (and (impl/active? handler) (impl/commit handler))\n (let [has-val (and buf (pos? (count buf)))]\n (let [val (when has-val (impl/remove! buf))]\n (box val)))\n nil))\n (do\n (if (> dirty-takes MAX_DIRTY)\n (do (set! dirty-takes 0)\n (.cleanup takes impl/active?))\n (set! dirty-takes (inc dirty-takes)))\n (when (impl/blockable? handler)\n (assert (< (.-length takes) impl/MAX-QUEUE-SIZE)\n (str \"No more than \" impl/MAX-QUEUE-SIZE\n \" pending takes are allowed on a single channel.\"))\n (.unbounded-unshift takes handler))\n nil)))))))\n impl/Channel\n (closed? [_] closed)\n (close! [this]\n (if ^boolean closed\n nil\n (do (set! closed true)\n (when (and buf (zero? (.-length puts)))\n (add! buf))\n (loop []\n (let [^not-native taker (.pop takes)]\n (when-not (nil? taker)\n (when ^boolean (impl/active? taker)\n (let [take-cb (impl/commit taker)\n val (when (and buf (pos? (count buf))) (impl/remove! buf))]\n (dispatch/run (fn [] (take-cb val)))))\n (recur))))\n (when buf (impl/close-buf! buf))\n nil))))\n\n(defn- ex-handler [ex]\n (.log js/console ex)\n nil)\n\n(defn- handle [buf exh t]\n (let [else ((or exh ex-handler) t)]\n (if (nil? else)\n buf\n (impl/add! buf else))))\n\n(defn chan\n ([buf] (chan buf nil))\n ([buf xform] (chan buf xform nil))\n ([buf xform exh]\n (ManyToManyChannel. (buffers/ring-buffer 32) 0 (buffers/ring-buffer 32)\n 0 buf false\n (let [add! (if xform (xform impl/add!) impl/add!)]\n (fn\n ([buf]\n (try\n (add! buf)\n (catch :default t\n (handle buf exh t))))\n ([buf val]\n (try\n (add! buf val)\n (catch :default t\n (handle buf exh t)))))))))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.core.async.impl.dispatch.js b/out/cljs-runtime/cljs.core.async.impl.dispatch.js new file mode 100644 index 0000000..7ed47e9 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.dispatch.js @@ -0,0 +1,54 @@ +goog.provide('cljs.core.async.impl.dispatch'); +cljs.core.async.impl.dispatch.tasks = cljs.core.async.impl.buffers.ring_buffer((32)); +cljs.core.async.impl.dispatch.running_QMARK_ = false; +cljs.core.async.impl.dispatch.queued_QMARK_ = false; +cljs.core.async.impl.dispatch.TASK_BATCH_SIZE = (1024); +cljs.core.async.impl.dispatch.process_messages = (function cljs$core$async$impl$dispatch$process_messages(){ +(cljs.core.async.impl.dispatch.running_QMARK_ = true); + +(cljs.core.async.impl.dispatch.queued_QMARK_ = false); + +var count_28261 = (0); +while(true){ +var m_28262 = cljs.core.async.impl.dispatch.tasks.pop(); +if((m_28262 == null)){ +} else { +(m_28262.cljs$core$IFn$_invoke$arity$0 ? m_28262.cljs$core$IFn$_invoke$arity$0() : m_28262.call(null, )); + +if((count_28261 < cljs.core.async.impl.dispatch.TASK_BATCH_SIZE)){ +var G__28263 = (count_28261 + (1)); +count_28261 = G__28263; +continue; +} else { +} +} +break; +} + +(cljs.core.async.impl.dispatch.running_QMARK_ = false); + +if((cljs.core.async.impl.dispatch.tasks.length > (0))){ +return (cljs.core.async.impl.dispatch.queue_dispatcher.cljs$core$IFn$_invoke$arity$0 ? cljs.core.async.impl.dispatch.queue_dispatcher.cljs$core$IFn$_invoke$arity$0() : cljs.core.async.impl.dispatch.queue_dispatcher.call(null, )); +} else { +return null; +} +}); +cljs.core.async.impl.dispatch.queue_dispatcher = (function cljs$core$async$impl$dispatch$queue_dispatcher(){ +if(((cljs.core.async.impl.dispatch.queued_QMARK_) && (cljs.core.async.impl.dispatch.running_QMARK_))){ +return null; +} else { +(cljs.core.async.impl.dispatch.queued_QMARK_ = true); + +return goog.async.nextTick(cljs.core.async.impl.dispatch.process_messages); +} +}); +cljs.core.async.impl.dispatch.run = (function cljs$core$async$impl$dispatch$run(f){ +cljs.core.async.impl.dispatch.tasks.unbounded_unshift(f); + +return cljs.core.async.impl.dispatch.queue_dispatcher(); +}); +cljs.core.async.impl.dispatch.queue_delay = (function cljs$core$async$impl$dispatch$queue_delay(f,delay){ +return setTimeout(f,delay); +}); + +//# sourceMappingURL=cljs.core.async.impl.dispatch.js.map diff --git a/out/cljs-runtime/cljs.core.async.impl.dispatch.js.map b/out/cljs-runtime/cljs.core.async.impl.dispatch.js.map new file mode 100644 index 0000000..77bd852 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.dispatch.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/core/async/impl/dispatch.cljs"],"mappings":";AAYA,AAAKA,sCAAM,yCAAA,zCAACC;AACZ,+CAAA,/CAAKC;AACL,8CAAA,9CAAKC;AAEL,gDAAA,hDAAKC;AAEL,AAAA,AAEA,iDAAA,jDAAMC;AAAN,AACE,gDAAA,/CAAMH;;AACN,+CAAA,9CAAMC;;AACN,kBAAA,dAAOG;;AAAP,AACE,IAAMC,UAAE,AAAMP;AAAd,AACE,GAAU,YAAA,XAAMO;AAAhB;AAAA,AACE,CAACA,wCAAAA,0CAAAA;;AACD,GAAM,CAAGD,cAAMF;AAAf,AACE,eAAO,eAAA,dAAKE;;;;AADd;;;;;AAEN,gDAAA,/CAAMJ;;AACN,GAAM,8CAAA,7CAAG,AAAUF;AAAnB,AACE,QAACQ,+EAAAA,iFAAAA;;AADH;;;AAGF,iDAAA,jDAAMA;AAAN,AACE,GAAU,EAAKL,iDAAQD;AAAvB;;AAAA,AACE,+CAAA,9CAAMC;;AACN,OAACM,oBAAoBJ;;;AAEzB,oCAAA,pCAAMK,gFAAKC;AAAX,AACE,AAAoBX,sDAAMW;;AAC1B,OAACH;;AAEH,4CAAA,5CAAMI,gGAAaD,EAAEE;AAArB,AACE,OAACC,WAAcH,EAAEE","names":["cljs.core.async.impl.dispatch/tasks","cljs.core.async.impl.buffers/ring-buffer","cljs.core.async.impl.dispatch/running?","cljs.core.async.impl.dispatch/queued?","cljs.core.async.impl.dispatch/TASK_BATCH_SIZE","cljs.core.async.impl.dispatch/process-messages","count","m","cljs.core.async.impl.dispatch/queue-dispatcher","js/goog.async.nextTick","cljs.core.async.impl.dispatch/run","f","cljs.core.async.impl.dispatch/queue-delay","delay","js/setTimeout"],"sourcesContent":[";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core.async.impl.dispatch\n (:require [cljs.core.async.impl.buffers :as buffers]\n [goog.async.nextTick]))\n\n(def tasks (buffers/ring-buffer 32))\n(def running? false)\n(def queued? false)\n\n(def TASK_BATCH_SIZE 1024)\n\n(declare queue-dispatcher)\n\n(defn process-messages []\n (set! running? true)\n (set! queued? false)\n (loop [count 0]\n (let [m (.pop tasks)]\n (when-not (nil? m)\n (m)\n (when (< count TASK_BATCH_SIZE)\n (recur (inc count))))))\n (set! running? false)\n (when (> (.-length tasks) 0)\n (queue-dispatcher)))\n\n(defn queue-dispatcher []\n (when-not (and queued? running?)\n (set! queued? true)\n (goog.async.nextTick process-messages)))\n\n(defn run [f]\n (.unbounded-unshift tasks f)\n (queue-dispatcher))\n\n(defn queue-delay [f delay]\n (js/setTimeout f delay))\n\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js b/out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js new file mode 100644 index 0000000..bc2ed57 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js @@ -0,0 +1,165 @@ +goog.provide('cljs.core.async.impl.ioc_helpers'); +cljs.core.async.impl.ioc_helpers.FN_IDX = (0); +cljs.core.async.impl.ioc_helpers.STATE_IDX = (1); +cljs.core.async.impl.ioc_helpers.VALUE_IDX = (2); +cljs.core.async.impl.ioc_helpers.BINDINGS_IDX = (3); +cljs.core.async.impl.ioc_helpers.EXCEPTION_FRAMES = (4); +cljs.core.async.impl.ioc_helpers.CURRENT_EXCEPTION = (5); +cljs.core.async.impl.ioc_helpers.USER_START_IDX = (6); +cljs.core.async.impl.ioc_helpers.aset_object = (function cljs$core$async$impl$ioc_helpers$aset_object(arr,idx,o){ +return (arr[idx][o]); +}); +cljs.core.async.impl.ioc_helpers.aget_object = (function cljs$core$async$impl$ioc_helpers$aget_object(arr,idx){ +return (arr[idx]); +}); +/** + * Returns true if the machine is in a finished state + */ +cljs.core.async.impl.ioc_helpers.finished_QMARK_ = (function cljs$core$async$impl$ioc_helpers$finished_QMARK_(state_array){ +return cljs.core.keyword_identical_QMARK_((state_array[(1)]),new cljs.core.Keyword(null,"finished","finished",-1018867731)); +}); + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694 = (function (f,meta30695){ +this.f = f; +this.meta30695 = meta30695; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_30696,meta30695__$1){ +var self__ = this; +var _30696__$1 = this; +return (new cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694(self__.f,meta30695__$1)); +})); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_30696){ +var self__ = this; +var _30696__$1 = this; +return self__.meta30695; +})); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.prototype.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return true; +})); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.prototype.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return true; +})); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.f; +})); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.Symbol(null,"meta30695","meta30695",1532074891,null)], null); +})); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.cljs$lang$type = true); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.cljs$lang$ctorStr = "cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers30694"); + +(cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers30694"); +})); + +/** + * Positional factory function for cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers30694. + */ +cljs.core.async.impl.ioc_helpers.__GT_t_cljs$core$async$impl$ioc_helpers30694 = (function cljs$core$async$impl$ioc_helpers$__GT_t_cljs$core$async$impl$ioc_helpers30694(f,meta30695){ +return (new cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694(f,meta30695)); +}); + + +cljs.core.async.impl.ioc_helpers.fn_handler = (function cljs$core$async$impl$ioc_helpers$fn_handler(f){ +return (new cljs.core.async.impl.ioc_helpers.t_cljs$core$async$impl$ioc_helpers30694(f,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.core.async.impl.ioc_helpers.run_state_machine = (function cljs$core$async$impl$ioc_helpers$run_state_machine(state){ +var fexpr__30726 = cljs.core.async.impl.ioc_helpers.aget_object(state,(0)); +return (fexpr__30726.cljs$core$IFn$_invoke$arity$1 ? fexpr__30726.cljs$core$IFn$_invoke$arity$1(state) : fexpr__30726.call(null, state)); +}); +cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped = (function cljs$core$async$impl$ioc_helpers$run_state_machine_wrapped(state){ +try{return cljs.core.async.impl.ioc_helpers.run_state_machine(state); +}catch (e30731){if((e30731 instanceof Object)){ +var ex = e30731; +cljs.core.async.impl.ioc_helpers.aget_object(state,(6)).cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1(null, ); + +throw ex; +} else { +throw e30731; + +} +}}); +cljs.core.async.impl.ioc_helpers.take_BANG_ = (function cljs$core$async$impl$ioc_helpers$take_BANG_(state,blk,c){ +var temp__5821__auto__ = c.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2(null, cljs.core.async.impl.ioc_helpers.fn_handler((function (x){ +var statearr_30747_30786 = state; +(statearr_30747_30786[(2)] = x); + +(statearr_30747_30786[(1)] = blk); + + +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state); +}))); +if(cljs.core.truth_(temp__5821__auto__)){ +var cb = temp__5821__auto__; +var statearr_30751_30788 = state; +(statearr_30751_30788[(2)] = cljs.core.deref(cb)); + +(statearr_30751_30788[(1)] = blk); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +}); +cljs.core.async.impl.ioc_helpers.put_BANG_ = (function cljs$core$async$impl$ioc_helpers$put_BANG_(state,blk,c,val){ +var temp__5821__auto__ = c.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3(null, val,cljs.core.async.impl.ioc_helpers.fn_handler((function (ret_val){ +var statearr_30759_30789 = state; +(statearr_30759_30789[(2)] = ret_val); + +(statearr_30759_30789[(1)] = blk); + + +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state); +}))); +if(cljs.core.truth_(temp__5821__auto__)){ +var cb = temp__5821__auto__; +var statearr_30760_30790 = state; +(statearr_30760_30790[(2)] = cljs.core.deref(cb)); + +(statearr_30760_30790[(1)] = blk); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +}); +cljs.core.async.impl.ioc_helpers.return_chan = (function cljs$core$async$impl$ioc_helpers$return_chan(state,value){ +var c = (state[(6)]); +if((value == null)){ +} else { +c.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3(null, value,cljs.core.async.impl.ioc_helpers.fn_handler((function (_){ +return null; +}))); +} + +c.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1(null, ); + +return c; +}); + +//# sourceMappingURL=cljs.core.async.impl.ioc_helpers.js.map diff --git a/out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js.map b/out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js.map new file mode 100644 index 0000000..1bc7fed --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.ioc_helpers.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/core/async/impl/ioc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AAA,LAASC;AAAT,AAIE,AAAI,IAAAG,uBAAeb;AAAf,AAAA,CAAAa,4BAAA,AAAAC,PAAqBhC,AAAA,uBAAW4B;;AAAhC,CAAAG,qBAAmChC,AAAA,OAAU0B;;AAA7CM;AAAJ;;AAJF;;;AAQF,6CAAA,7CAAME,kGAAMf,MAAMO,IAAgBC,EAAEQ;AAApC,AACE,IAAAP,qBAAY,AAAWD,mEAAEQ,IAAI,AAACrB,4CAAW,WAAKsB;AAAL,AACE,IAAAC,uBAAelB;AAAf,AAAA,CAAAkB,qBAAqBpC,AAAA,OAAUmC;;AAA/B,CAAAC,qBAAuCrC,AAAA,OAAU0B;;AAAjDW;AACA,OAAChB,2DAA0BF;;AAFtE,AAAA,oBAAAS;AAAA,SAAAA,LAASC;AAAT,AAGE,AAAI,IAAAS,uBAAenB;AAAf,AAAA,CAAAmB,4BAAA,AAAAL,PAAqBhC,AAAA,uBAAW4B;;AAAhC,CAAAS,qBAAmCtC,AAAA,OAAU0B;;AAA7CY;AAAJ;;AAHF;;;AAOF,+CAAA,/CAAMC,sGAAapB,MAAMqB;AAAzB,AACE,IAAkBb,IAAE,CAAMR,MAAMd,AAAA;AAAhC,AACS,GAAU,UAAA,TAAMmC;AAAhB;AAAA,AACE,AAAWb,mEAAEa,MAAM,AAAC1B,4CAAW,WAAKG;AAAL,AAAA;;;;AACjC,AAAaU;;AACbA","names":["cljs.core.async.impl.ioc-helpers/FN-IDX","cljs.core.async.impl.ioc-helpers/STATE-IDX","cljs.core.async.impl.ioc-helpers/VALUE-IDX","cljs.core.async.impl.ioc-helpers/BINDINGS-IDX","cljs.core.async.impl.ioc-helpers/EXCEPTION-FRAMES","cljs.core.async.impl.ioc-helpers/CURRENT-EXCEPTION","cljs.core.async.impl.ioc-helpers/USER-START-IDX","cljs.core.async.impl.ioc-helpers/aset-object","arr","idx","o","cljs.core.async.impl.ioc-helpers/aget-object","cljs.core.async.impl.ioc-helpers/finished?","state-array","cljs.core/keyword-identical?","cljs.core.async.impl.ioc-helpers/fn-handler","f","cljs.core.async.impl.ioc-helpers/t_cljs$core$async$impl$ioc_helpers30694","_","cljs.core.async.impl.ioc-helpers/run-state-machine","state","fexpr__30726","cljs.core.async.impl.ioc-helpers/run-state-machine-wrapped","e30731","js/Object","ex","cljs.core.async.impl.ioc-helpers/take!","blk","c","temp__5821__auto__","cb","x","statearr-30747","statearr-30751","cljs.core/deref","cljs.core.async.impl.ioc-helpers/put!","val","ret-val","statearr-30759","statearr-30760","cljs.core.async.impl.ioc-helpers/return-chan","value"],"sourcesContent":[";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core.async.impl.ioc-helpers\n (:require [cljs.core.async.impl.protocols :as impl])\n (:require-macros [cljs.core.async.impl.ioc-macros :as ioc]))\n\n(def ^:const FN-IDX 0)\n(def ^:const STATE-IDX 1)\n(def ^:const VALUE-IDX 2)\n(def ^:const BINDINGS-IDX 3)\n(def ^:const EXCEPTION-FRAMES 4)\n(def ^:const CURRENT-EXCEPTION 5)\n(def ^:const USER-START-IDX 6)\n\n(defn aset-object [arr idx o]\n (aget arr idx o))\n\n(defn aget-object [arr idx]\n (aget arr idx))\n\n\n(defn finished?\n \"Returns true if the machine is in a finished state\"\n [state-array]\n (keyword-identical? (aget state-array STATE-IDX) :finished))\n\n(defn- fn-handler\n [f]\n (reify\n impl/Handler\n (active? [_] true)\n (blockable? [_] true)\n (commit [_] f)))\n\n\n(defn run-state-machine [state]\n ((aget-object state FN-IDX) state))\n\n(defn run-state-machine-wrapped [state]\n (try\n (run-state-machine state)\n (catch js/Object ex\n (impl/close! ^not-native (aget-object state USER-START-IDX))\n (throw ex))))\n\n(defn take! [state blk ^not-native c]\n (if-let [cb (impl/take! c (fn-handler\n (fn [x]\n (ioc/aset-all! state VALUE-IDX x STATE-IDX blk)\n (run-state-machine-wrapped state))))]\n (do (ioc/aset-all! state VALUE-IDX @cb STATE-IDX blk)\n :recur)\n nil))\n\n(defn put! [state blk ^not-native c val]\n (if-let [cb (impl/put! c val (fn-handler (fn [ret-val]\n (ioc/aset-all! state VALUE-IDX ret-val STATE-IDX blk)\n (run-state-machine-wrapped state))))]\n (do (ioc/aset-all! state VALUE-IDX @cb STATE-IDX blk)\n :recur)\n nil))\n\n(defn return-chan [state value]\n (let [^not-native c (aget state USER-START-IDX)]\n (when-not (nil? value)\n (impl/put! c value (fn-handler (fn [_] nil))))\n (impl/close! c)\n c))\n\n\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.core.async.impl.protocols.js b/out/cljs-runtime/cljs.core.async.impl.protocols.js new file mode 100644 index 0000000..db7f203 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.protocols.js @@ -0,0 +1,342 @@ +goog.provide('cljs.core.async.impl.protocols'); +cljs.core.async.impl.protocols.MAX_QUEUE_SIZE = (1024); + +/** + * @interface + */ +cljs.core.async.impl.protocols.ReadPort = function(){}; + +var cljs$core$async$impl$protocols$ReadPort$take_BANG_$dyn_28128 = (function (port,fn1_handler){ +var x__5393__auto__ = (((port == null))?null:port); +var m__5394__auto__ = (cljs.core.async.impl.protocols.take_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(port,fn1_handler) : m__5394__auto__.call(null, port,fn1_handler)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.take_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(port,fn1_handler) : m__5392__auto__.call(null, port,fn1_handler)); +} else { +throw cljs.core.missing_protocol("ReadPort.take!",port); +} +} +}); +/** + * derefable val if taken, nil if take was enqueued + */ +cljs.core.async.impl.protocols.take_BANG_ = (function cljs$core$async$impl$protocols$take_BANG_(port,fn1_handler){ +if((((!((port == null)))) && ((!((port.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2 == null)))))){ +return port.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2(port,fn1_handler); +} else { +return cljs$core$async$impl$protocols$ReadPort$take_BANG_$dyn_28128(port,fn1_handler); +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.WritePort = function(){}; + +var cljs$core$async$impl$protocols$WritePort$put_BANG_$dyn_28140 = (function (port,val,fn1_handler){ +var x__5393__auto__ = (((port == null))?null:port); +var m__5394__auto__ = (cljs.core.async.impl.protocols.put_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(port,val,fn1_handler) : m__5394__auto__.call(null, port,val,fn1_handler)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.put_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(port,val,fn1_handler) : m__5392__auto__.call(null, port,val,fn1_handler)); +} else { +throw cljs.core.missing_protocol("WritePort.put!",port); +} +} +}); +/** + * derefable boolean (false if already closed) if handled, nil if put was enqueued. + * Must throw on nil val. + */ +cljs.core.async.impl.protocols.put_BANG_ = (function cljs$core$async$impl$protocols$put_BANG_(port,val,fn1_handler){ +if((((!((port == null)))) && ((!((port.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3 == null)))))){ +return port.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3(port,val,fn1_handler); +} else { +return cljs$core$async$impl$protocols$WritePort$put_BANG_$dyn_28140(port,val,fn1_handler); +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.Channel = function(){}; + +var cljs$core$async$impl$protocols$Channel$close_BANG_$dyn_28151 = (function (chan){ +var x__5393__auto__ = (((chan == null))?null:chan); +var m__5394__auto__ = (cljs.core.async.impl.protocols.close_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(chan) : m__5394__auto__.call(null, chan)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.close_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(chan) : m__5392__auto__.call(null, chan)); +} else { +throw cljs.core.missing_protocol("Channel.close!",chan); +} +} +}); +cljs.core.async.impl.protocols.close_BANG_ = (function cljs$core$async$impl$protocols$close_BANG_(chan){ +if((((!((chan == null)))) && ((!((chan.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1 == null)))))){ +return chan.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1(chan); +} else { +return cljs$core$async$impl$protocols$Channel$close_BANG_$dyn_28151(chan); +} +}); + +var cljs$core$async$impl$protocols$Channel$closed_QMARK_$dyn_28153 = (function (chan){ +var x__5393__auto__ = (((chan == null))?null:chan); +var m__5394__auto__ = (cljs.core.async.impl.protocols.closed_QMARK_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(chan) : m__5394__auto__.call(null, chan)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.closed_QMARK_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(chan) : m__5392__auto__.call(null, chan)); +} else { +throw cljs.core.missing_protocol("Channel.closed?",chan); +} +} +}); +cljs.core.async.impl.protocols.closed_QMARK_ = (function cljs$core$async$impl$protocols$closed_QMARK_(chan){ +if((((!((chan == null)))) && ((!((chan.cljs$core$async$impl$protocols$Channel$closed_QMARK_$arity$1 == null)))))){ +return chan.cljs$core$async$impl$protocols$Channel$closed_QMARK_$arity$1(chan); +} else { +return cljs$core$async$impl$protocols$Channel$closed_QMARK_$dyn_28153(chan); +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.Handler = function(){}; + +var cljs$core$async$impl$protocols$Handler$active_QMARK_$dyn_28184 = (function (h){ +var x__5393__auto__ = (((h == null))?null:h); +var m__5394__auto__ = (cljs.core.async.impl.protocols.active_QMARK_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(h) : m__5394__auto__.call(null, h)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.active_QMARK_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(h) : m__5392__auto__.call(null, h)); +} else { +throw cljs.core.missing_protocol("Handler.active?",h); +} +} +}); +/** + * returns true if has callback. Must work w/o lock + */ +cljs.core.async.impl.protocols.active_QMARK_ = (function cljs$core$async$impl$protocols$active_QMARK_(h){ +if((((!((h == null)))) && ((!((h.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 == null)))))){ +return h.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(h); +} else { +return cljs$core$async$impl$protocols$Handler$active_QMARK_$dyn_28184(h); +} +}); + +var cljs$core$async$impl$protocols$Handler$blockable_QMARK_$dyn_28185 = (function (h){ +var x__5393__auto__ = (((h == null))?null:h); +var m__5394__auto__ = (cljs.core.async.impl.protocols.blockable_QMARK_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(h) : m__5394__auto__.call(null, h)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.blockable_QMARK_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(h) : m__5392__auto__.call(null, h)); +} else { +throw cljs.core.missing_protocol("Handler.blockable?",h); +} +} +}); +/** + * returns true if this handler may be blocked, otherwise it must not block + */ +cljs.core.async.impl.protocols.blockable_QMARK_ = (function cljs$core$async$impl$protocols$blockable_QMARK_(h){ +if((((!((h == null)))) && ((!((h.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 == null)))))){ +return h.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1(h); +} else { +return cljs$core$async$impl$protocols$Handler$blockable_QMARK_$dyn_28185(h); +} +}); + +var cljs$core$async$impl$protocols$Handler$commit$dyn_28187 = (function (h){ +var x__5393__auto__ = (((h == null))?null:h); +var m__5394__auto__ = (cljs.core.async.impl.protocols.commit[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(h) : m__5394__auto__.call(null, h)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.commit["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(h) : m__5392__auto__.call(null, h)); +} else { +throw cljs.core.missing_protocol("Handler.commit",h); +} +} +}); +/** + * commit to fulfilling its end of the transfer, returns cb. Must be called within lock + */ +cljs.core.async.impl.protocols.commit = (function cljs$core$async$impl$protocols$commit(h){ +if((((!((h == null)))) && ((!((h.cljs$core$async$impl$protocols$Handler$commit$arity$1 == null)))))){ +return h.cljs$core$async$impl$protocols$Handler$commit$arity$1(h); +} else { +return cljs$core$async$impl$protocols$Handler$commit$dyn_28187(h); +} +}); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.Buffer = function(){}; + +var cljs$core$async$impl$protocols$Buffer$full_QMARK_$dyn_28190 = (function (b){ +var x__5393__auto__ = (((b == null))?null:b); +var m__5394__auto__ = (cljs.core.async.impl.protocols.full_QMARK_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(b) : m__5394__auto__.call(null, b)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.full_QMARK_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(b) : m__5392__auto__.call(null, b)); +} else { +throw cljs.core.missing_protocol("Buffer.full?",b); +} +} +}); +/** + * returns true if buffer cannot accept put + */ +cljs.core.async.impl.protocols.full_QMARK_ = (function cljs$core$async$impl$protocols$full_QMARK_(b){ +if((((!((b == null)))) && ((!((b.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1 == null)))))){ +return b.cljs$core$async$impl$protocols$Buffer$full_QMARK_$arity$1(b); +} else { +return cljs$core$async$impl$protocols$Buffer$full_QMARK_$dyn_28190(b); +} +}); + +var cljs$core$async$impl$protocols$Buffer$remove_BANG_$dyn_28194 = (function (b){ +var x__5393__auto__ = (((b == null))?null:b); +var m__5394__auto__ = (cljs.core.async.impl.protocols.remove_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(b) : m__5394__auto__.call(null, b)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.remove_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(b) : m__5392__auto__.call(null, b)); +} else { +throw cljs.core.missing_protocol("Buffer.remove!",b); +} +} +}); +/** + * remove and return next item from buffer, called under chan mutex + */ +cljs.core.async.impl.protocols.remove_BANG_ = (function cljs$core$async$impl$protocols$remove_BANG_(b){ +if((((!((b == null)))) && ((!((b.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1 == null)))))){ +return b.cljs$core$async$impl$protocols$Buffer$remove_BANG_$arity$1(b); +} else { +return cljs$core$async$impl$protocols$Buffer$remove_BANG_$dyn_28194(b); +} +}); + +var cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$dyn_28209 = (function (b,itm){ +var x__5393__auto__ = (((b == null))?null:b); +var m__5394__auto__ = (cljs.core.async.impl.protocols.add_BANG__STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(b,itm) : m__5394__auto__.call(null, b,itm)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.add_BANG__STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(b,itm) : m__5392__auto__.call(null, b,itm)); +} else { +throw cljs.core.missing_protocol("Buffer.add!*",b); +} +} +}); +/** + * if room, add item to the buffer, returns b, called under chan mutex + */ +cljs.core.async.impl.protocols.add_BANG__STAR_ = (function cljs$core$async$impl$protocols$add_BANG__STAR_(b,itm){ +if((((!((b == null)))) && ((!((b.cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$arity$2 == null)))))){ +return b.cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$arity$2(b,itm); +} else { +return cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$dyn_28209(b,itm); +} +}); + +var cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$dyn_28240 = (function (b){ +var x__5393__auto__ = (((b == null))?null:b); +var m__5394__auto__ = (cljs.core.async.impl.protocols.close_buf_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(b) : m__5394__auto__.call(null, b)); +} else { +var m__5392__auto__ = (cljs.core.async.impl.protocols.close_buf_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(b) : m__5392__auto__.call(null, b)); +} else { +throw cljs.core.missing_protocol("Buffer.close-buf!",b); +} +} +}); +/** + * called on chan closed under chan mutex, return ignored + */ +cljs.core.async.impl.protocols.close_buf_BANG_ = (function cljs$core$async$impl$protocols$close_buf_BANG_(b){ +if((((!((b == null)))) && ((!((b.cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$arity$1 == null)))))){ +return b.cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$arity$1(b); +} else { +return cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$dyn_28240(b); +} +}); + +cljs.core.async.impl.protocols.add_BANG_ = (function cljs$core$async$impl$protocols$add_BANG_(var_args){ +var G__28116 = arguments.length; +switch (G__28116) { +case 1: +return cljs.core.async.impl.protocols.add_BANG_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.impl.protocols.add_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.impl.protocols.add_BANG_.cljs$core$IFn$_invoke$arity$1 = (function (b){ +return b; +})); + +(cljs.core.async.impl.protocols.add_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (b,itm){ +if((!((itm == null)))){ +} else { +throw (new Error("Assert failed: (not (nil? itm))")); +} + +return cljs.core.async.impl.protocols.add_BANG__STAR_(b,itm); +})); + +(cljs.core.async.impl.protocols.add_BANG_.cljs$lang$maxFixedArity = 2); + + +/** + * @interface + */ +cljs.core.async.impl.protocols.UnblockingBuffer = function(){}; + + +//# sourceMappingURL=cljs.core.async.impl.protocols.js.map diff --git a/out/cljs-runtime/cljs.core.async.impl.protocols.js.map b/out/cljs-runtime/cljs.core.async.impl.protocols.js.map new file mode 100644 index 0000000..e9e8972 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.protocols.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/core/async/impl/protocols.cljs"],"mappings":";AAUA,gDAAA,hDAAaA;AAEb,AAAA;AAAA;;;0CAAA,1CAAaQ;;AAAb,IAAAP,+DAAA,WACUQ,KAAKC;AADf,AAAA,IAAAR,kBAAA,EAAA,SAAA,OAAA,fACUO,oBAAAA;IADVN,kBAAA,CAAAC,0CAAA,AAAAC,YAAAH;AAAA,AAAA,GAAA,GAAA,CAAAC,mBAAA;AAAA,QAAAA,gDAAAA,kEAAAA,pBACUM,+CAAAA,1CAAKC,+CAAAA;;AADf,IAAAJ,kBAAA,CAAAF,0CAAA;AAAA,AAAA,GAAA,GAAA,CAAAE,mBAAA;AAAA,QAAAA,gDAAAA,kEAAAA,pBACUG,+CAAAA,1CAAKC,+CAAAA;;AADf,MAAA,AAAAH,2BAAA,iBACUE;;;;AADV,AAAA;;;4CAAA,5CACGL,gGAAOK,KAAKC;AADf,AAAA,GAAA,EAAA,GAAA,SAAA,aAAA,GAAA,CAAA,mEAAA,5FACUD,yBAAAA;AADV,OACUA,gEAAAA,KAAKC;;AADf,OAAAT,6DACUQ,KAAKC;;;;AADf,AAGA,AAAA;AAAA;;;2CA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AAK,QAAA,PAAMA;AAAnB;AAAA,AAAA,MAAA,KAAAI,MAAA;;;AACA,OAACT,+CAAMI,EAAEC;;;AAJd,CAAA,mEAAA,nEAAMG;;AAAN,AAOA,AAAA;AAAA;;;kDAAA,lDAAaE;;AAAb","names":["cljs.core.async.impl.protocols/MAX-QUEUE-SIZE","cljs$core$async$impl$protocols$ReadPort$take_BANG_$dyn","x__5393__auto__","m__5394__auto__","cljs.core.async.impl.protocols/take!","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","cljs.core.async.impl.protocols/ReadPort","port","fn1-handler","cljs$core$async$impl$protocols$WritePort$put_BANG_$dyn","cljs.core.async.impl.protocols/put!","cljs.core.async.impl.protocols/WritePort","val","cljs$core$async$impl$protocols$Channel$close_BANG_$dyn","cljs.core.async.impl.protocols/close!","cljs$core$async$impl$protocols$Channel$closed_QMARK_$dyn","cljs.core.async.impl.protocols/closed?","cljs.core.async.impl.protocols/Channel","chan","cljs$core$async$impl$protocols$Handler$active_QMARK_$dyn","cljs.core.async.impl.protocols/active?","cljs$core$async$impl$protocols$Handler$blockable_QMARK_$dyn","cljs.core.async.impl.protocols/blockable?","cljs$core$async$impl$protocols$Handler$commit$dyn","cljs.core.async.impl.protocols/commit","cljs.core.async.impl.protocols/Handler","h","cljs$core$async$impl$protocols$Buffer$full_QMARK_$dyn","cljs.core.async.impl.protocols/full?","cljs$core$async$impl$protocols$Buffer$remove_BANG_$dyn","cljs.core.async.impl.protocols/remove!","cljs$core$async$impl$protocols$Buffer$add_BANG__STAR_$dyn","cljs.core.async.impl.protocols/add!*","cljs$core$async$impl$protocols$Buffer$close_buf_BANG_$dyn","cljs.core.async.impl.protocols/close-buf!","cljs.core.async.impl.protocols/Buffer","b","itm","var_args","G__28116","cljs.core.async.impl.protocols/add!","js/Error","cljs.core.async.impl.protocols/UnblockingBuffer"],"sourcesContent":[";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core.async.impl.protocols)\n\n(def ^:const MAX-QUEUE-SIZE 1024)\n\n(defprotocol ReadPort\n (take! [port fn1-handler] \"derefable val if taken, nil if take was enqueued\"))\n\n(defprotocol WritePort\n (put! [port val fn1-handler] \"derefable boolean (false if already closed) if handled, nil if put was enqueued.\n Must throw on nil val.\"))\n\n(defprotocol Channel\n (close! [chan])\n (closed? [chan]))\n\n(defprotocol Handler\n (active? [h] \"returns true if has callback. Must work w/o lock\")\n (blockable? [h] \"returns true if this handler may be blocked, otherwise it must not block\")\n #_(lock-id [h] \"a unique id for lock acquisition order, 0 if no lock\")\n (commit [h] \"commit to fulfilling its end of the transfer, returns cb. Must be called within lock\"))\n\n(defprotocol Buffer\n (full? [b] \"returns true if buffer cannot accept put\")\n (remove! [b] \"remove and return next item from buffer, called under chan mutex\")\n (add!* [b itm] \"if room, add item to the buffer, returns b, called under chan mutex\")\n (close-buf! [b] \"called on chan closed under chan mutex, return ignored\"))\n\n(defn add!\n ([b] b)\n ([b itm]\n (assert (not (nil? itm)))\n (add!* b itm)))\n\n;; Defines a buffer that will never block (return true to full?)\n(defprotocol UnblockingBuffer)\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.core.async.impl.timers.js b/out/cljs-runtime/cljs.core.async.impl.timers.js new file mode 100644 index 0000000..40913f3 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.impl.timers.js @@ -0,0 +1,481 @@ +goog.provide('cljs.core.async.impl.timers'); +cljs.core.async.impl.timers.MAX_LEVEL = (15); +cljs.core.async.impl.timers.P = ((1) / (2)); +cljs.core.async.impl.timers.random_level = (function cljs$core$async$impl$timers$random_level(var_args){ +var G__30891 = arguments.length; +switch (G__30891) { +case 0: +return cljs.core.async.impl.timers.random_level.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.async.impl.timers.random_level.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.impl.timers.random_level.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.async.impl.timers.random_level.cljs$core$IFn$_invoke$arity$1((0)); +})); + +(cljs.core.async.impl.timers.random_level.cljs$core$IFn$_invoke$arity$1 = (function (level){ +while(true){ +if((((Math.random() < cljs.core.async.impl.timers.P)) && ((level < cljs.core.async.impl.timers.MAX_LEVEL)))){ +var G__31060 = (level + (1)); +level = G__31060; +continue; +} else { +return level; +} +break; +} +})); + +(cljs.core.async.impl.timers.random_level.cljs$lang$maxFixedArity = 1); + + +/** +* @constructor + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IPrintWithWriter} +*/ +cljs.core.async.impl.timers.SkipListNode = (function (key,val,forward){ +this.key = key; +this.val = val; +this.forward = forward; +this.cljs$lang$protocol_mask$partition0$ = 2155872256; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.timers.SkipListNode.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.List(null,self__.key,(new cljs.core.List(null,self__.val,null,(1),null)),(2),null)); +})); + +(cljs.core.async.impl.timers.SkipListNode.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var self__ = this; +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); +})); + +(cljs.core.async.impl.timers.SkipListNode.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),cljs.core.with_meta(new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"forward","forward",1083186224,null)], null); +})); + +(cljs.core.async.impl.timers.SkipListNode.cljs$lang$type = true); + +(cljs.core.async.impl.timers.SkipListNode.cljs$lang$ctorStr = "cljs.core.async.impl.timers/SkipListNode"); + +(cljs.core.async.impl.timers.SkipListNode.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.timers/SkipListNode"); +})); + +/** + * Positional factory function for cljs.core.async.impl.timers/SkipListNode. + */ +cljs.core.async.impl.timers.__GT_SkipListNode = (function cljs$core$async$impl$timers$__GT_SkipListNode(key,val,forward){ +return (new cljs.core.async.impl.timers.SkipListNode(key,val,forward)); +}); + +cljs.core.async.impl.timers.skip_list_node = (function cljs$core$async$impl$timers$skip_list_node(var_args){ +var G__30943 = arguments.length; +switch (G__30943) { +case 1: +return cljs.core.async.impl.timers.skip_list_node.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 3: +return cljs.core.async.impl.timers.skip_list_node.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.impl.timers.skip_list_node.cljs$core$IFn$_invoke$arity$1 = (function (level){ +return cljs.core.async.impl.timers.skip_list_node.cljs$core$IFn$_invoke$arity$3(null,null,level); +})); + +(cljs.core.async.impl.timers.skip_list_node.cljs$core$IFn$_invoke$arity$3 = (function (k,v,level){ +var arr = (new Array((level + (1)))); +var i_31066 = (0); +while(true){ +if((i_31066 < arr.length)){ +(arr[i_31066] = null); + +var G__31067 = (i_31066 + (1)); +i_31066 = G__31067; +continue; +} else { +} +break; +} + +return (new cljs.core.async.impl.timers.SkipListNode(k,v,arr)); +})); + +(cljs.core.async.impl.timers.skip_list_node.cljs$lang$maxFixedArity = 3); + +cljs.core.async.impl.timers.least_greater_node = (function cljs$core$async$impl$timers$least_greater_node(var_args){ +var G__30968 = arguments.length; +switch (G__30968) { +case 3: +return cljs.core.async.impl.timers.least_greater_node.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.async.impl.timers.least_greater_node.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.impl.timers.least_greater_node.cljs$core$IFn$_invoke$arity$3 = (function (x,k,level){ +return cljs.core.async.impl.timers.least_greater_node.cljs$core$IFn$_invoke$arity$4(x,k,level,null); +})); + +(cljs.core.async.impl.timers.least_greater_node.cljs$core$IFn$_invoke$arity$4 = (function (x,k,level,update){ +while(true){ +if((!((level < (0))))){ +var x__$1 = (function (){var x__$1 = x; +while(true){ +var temp__5821__auto__ = (((level < x__$1.forward.length))?(x__$1.forward[level]):null); +if(cljs.core.truth_(temp__5821__auto__)){ +var x_SINGLEQUOTE_ = temp__5821__auto__; +if((x_SINGLEQUOTE_.key < k)){ +var G__31092 = x_SINGLEQUOTE_; +x__$1 = G__31092; +continue; +} else { +return x__$1; +} +} else { +return x__$1; +} +break; +} +})(); +if((update == null)){ +} else { +(update[level] = x__$1); +} + +var G__31113 = x__$1; +var G__31114 = k; +var G__31115 = (level - (1)); +var G__31116 = update; +x = G__31113; +k = G__31114; +level = G__31115; +update = G__31116; +continue; +} else { +return x; +} +break; +} +})); + +(cljs.core.async.impl.timers.least_greater_node.cljs$lang$maxFixedArity = 4); + + +/** +* @constructor + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IPrintWithWriter} +*/ +cljs.core.async.impl.timers.SkipList = (function (header,level){ +this.header = header; +this.level = level; +this.cljs$lang$protocol_mask$partition0$ = 2155872256; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.impl.timers.SkipList.prototype.put = (function (k,v){ +var self__ = this; +var coll = this; +var update = (new Array(cljs.core.async.impl.timers.MAX_LEVEL)); +var x = cljs.core.async.impl.timers.least_greater_node.cljs$core$IFn$_invoke$arity$4(self__.header,k,self__.level,update); +var x__$1 = (x.forward[(0)]); +if((((!((x__$1 == null)))) && ((x__$1.key === k)))){ +return (x__$1.val = v); +} else { +var new_level = cljs.core.async.impl.timers.random_level.cljs$core$IFn$_invoke$arity$0(); +if((new_level > self__.level)){ +var i_31133 = (self__.level + (1)); +while(true){ +if((i_31133 <= (new_level + (1)))){ +(update[i_31133] = self__.header); + +var G__31153 = (i_31133 + (1)); +i_31133 = G__31153; +continue; +} else { +} +break; +} + +(self__.level = new_level); +} else { +} + +var x__$2 = cljs.core.async.impl.timers.skip_list_node.cljs$core$IFn$_invoke$arity$3(k,v,(new Array(new_level))); +var i = (0); +while(true){ +if((i <= self__.level)){ +var links_31170 = (update[i]).forward; +if((i < x__$2.forward.length)){ +(x__$2.forward[i] = (links_31170[i])); +} else { +x__$2.forward.push((((i < links_31170.length))?(links_31170[i]):null)); +} + +if((i < links_31170.length)){ +(links_31170[i] = x__$2); +} else { +links_31170.push(x__$2); +} + +var G__31172 = (i + (1)); +i = G__31172; +continue; +} else { +return null; +} +break; +} +} +})); + +(cljs.core.async.impl.timers.SkipList.prototype.remove = (function (k){ +var self__ = this; +var coll = this; +var update = (new Array(cljs.core.async.impl.timers.MAX_LEVEL)); +var x = cljs.core.async.impl.timers.least_greater_node.cljs$core$IFn$_invoke$arity$4(self__.header,k,self__.level,update); +var x__$1 = (((x.forward.length === (0)))?null:(x.forward[(0)])); +if((((!((x__$1 == null)))) && ((x__$1.key === k)))){ +var i_31185 = (0); +while(true){ +if((i_31185 <= self__.level)){ +var links_31188 = (update[i_31185]).forward; +if((x__$1 === (((i_31185 < links_31188.length))?(links_31188[i_31185]):null))){ +(links_31188[i_31185] = (x__$1.forward[i_31185])); + +var G__31200 = (i_31185 + (1)); +i_31185 = G__31200; +continue; +} else { +var G__31201 = (i_31185 + (1)); +i_31185 = G__31201; +continue; +} +} else { +} +break; +} + +while(true){ +if(((((((0) < self__.level)) && ((self__.level < self__.header.forward.length)))) && (((self__.header.forward[self__.level]) == null)))){ +(self__.level = (self__.level - (1))); + +continue; +} else { +return null; +} +break; +} +} else { +return null; +} +})); + +(cljs.core.async.impl.timers.SkipList.prototype.ceilingEntry = (function (k){ +var self__ = this; +var coll = this; +var x = self__.header; +var level__$1 = self__.level; +while(true){ +if((!((level__$1 < (0))))){ +var nx = (function (){var x__$1 = x; +while(true){ +var x_SINGLEQUOTE_ = (((level__$1 < x__$1.forward.length))?(x__$1.forward[level__$1]):null); +if((!((x_SINGLEQUOTE_ == null)))){ +if((x_SINGLEQUOTE_.key > k)){ +return x__$1; +} else { +var G__31214 = x_SINGLEQUOTE_; +x__$1 = G__31214; +continue; +} +} else { +if((level__$1 === (0))){ +return x__$1; +} else { +return null; +} +} +break; +} +})(); +if(cljs.core.truth_(nx)){ +var G__31217 = nx; +var G__31218 = (level__$1 - (1)); +x = G__31217; +level__$1 = G__31218; +continue; +} else { +var G__31220 = x; +var G__31221 = (level__$1 - (1)); +x = G__31220; +level__$1 = G__31221; +continue; +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x.key,k)){ +return x; +} else { +return (x.forward[(0)]); +} +} +break; +} +})); + +(cljs.core.async.impl.timers.SkipList.prototype.floorEntry = (function (k){ +var self__ = this; +var coll = this; +var x = self__.header; +var level__$1 = self__.level; +while(true){ +if((!((level__$1 < (0))))){ +var nx = (function (){var x__$1 = x; +while(true){ +var x_SINGLEQUOTE_ = (((level__$1 < x__$1.forward.length))?(x__$1.forward[level__$1]):null); +if((!((x_SINGLEQUOTE_ == null)))){ +if((x_SINGLEQUOTE_.key > k)){ +return x__$1; +} else { +var G__31234 = x_SINGLEQUOTE_; +x__$1 = G__31234; +continue; +} +} else { +if((level__$1 === (0))){ +return x__$1; +} else { +return null; +} +} +break; +} +})(); +if(cljs.core.truth_(nx)){ +var G__31235 = nx; +var G__31236 = (level__$1 - (1)); +x = G__31235; +level__$1 = G__31236; +continue; +} else { +var G__31237 = x; +var G__31238 = (level__$1 - (1)); +x = G__31237; +level__$1 = G__31238; +continue; +} +} else { +if((x === self__.header)){ +return null; +} else { +return x; +} +} +break; +} +})); + +(cljs.core.async.impl.timers.SkipList.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var iter = (function cljs$core$async$impl$timers$iter(node){ +return (new cljs.core.LazySeq(null,(function (){ +if((node == null)){ +return null; +} else { +return cljs.core.cons(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [node.key,node.val], null),cljs$core$async$impl$timers$iter((node.forward[(0)]))); +} +}),null,null)); +}); +return iter((self__.header.forward[(0)])); +})); + +(cljs.core.async.impl.timers.SkipList.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var self__ = this; +var coll__$1 = this; +var pr_pair = (function (keyval){ +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,""," ","",opts,keyval); +}); +return cljs.core.pr_sequential_writer(writer,pr_pair,"{",", ","}",opts,coll__$1); +})); + +(cljs.core.async.impl.timers.SkipList.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"header","header",1759972661,null),cljs.core.with_meta(new cljs.core.Symbol(null,"level","level",-1363938217,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.async.impl.timers.SkipList.cljs$lang$type = true); + +(cljs.core.async.impl.timers.SkipList.cljs$lang$ctorStr = "cljs.core.async.impl.timers/SkipList"); + +(cljs.core.async.impl.timers.SkipList.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async.impl.timers/SkipList"); +})); + +/** + * Positional factory function for cljs.core.async.impl.timers/SkipList. + */ +cljs.core.async.impl.timers.__GT_SkipList = (function cljs$core$async$impl$timers$__GT_SkipList(header,level){ +return (new cljs.core.async.impl.timers.SkipList(header,level)); +}); + +cljs.core.async.impl.timers.skip_list = (function cljs$core$async$impl$timers$skip_list(){ +return (new cljs.core.async.impl.timers.SkipList(cljs.core.async.impl.timers.skip_list_node.cljs$core$IFn$_invoke$arity$1((0)),(0))); +}); +cljs.core.async.impl.timers.timeouts_map = cljs.core.async.impl.timers.skip_list(); +cljs.core.async.impl.timers.TIMEOUT_RESOLUTION_MS = (10); +/** + * returns a channel that will close after msecs + */ +cljs.core.async.impl.timers.timeout = (function cljs$core$async$impl$timers$timeout(msecs){ +var timeout = ((new Date()).valueOf() + msecs); +var me = cljs.core.async.impl.timers.timeouts_map.ceilingEntry(timeout); +var or__5045__auto__ = (cljs.core.truth_((function (){var and__5043__auto__ = me; +if(cljs.core.truth_(and__5043__auto__)){ +return (me.key < (timeout + cljs.core.async.impl.timers.TIMEOUT_RESOLUTION_MS)); +} else { +return and__5043__auto__; +} +})())?me.val:null); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var timeout_channel = cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$1(null); +cljs.core.async.impl.timers.timeouts_map.put(timeout,timeout_channel); + +cljs.core.async.impl.dispatch.queue_delay((function (){ +cljs.core.async.impl.timers.timeouts_map.remove(timeout); + +return cljs.core.async.impl.protocols.close_BANG_(timeout_channel); +}),msecs); + +return timeout_channel; +} +}); + +//# sourceMappingURL=cljs.core.async.impl.timers.js.map diff --git a/out/cljs-runtime/cljs.core.async.impl.timers.js.map b/out/cljs-runtime/cljs.core.async.impl.timers.js.map new file mode 100644 index 0000000..c8f7738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ACE,AAAMV,6CAAaI,QAAQK;;AAC3B,AAACE,0CACC;AAAA,AACE,AAASX,gDAAaI;;AACtB,OAACQ,2CAAYH;GACfN;;AACFM","names":["cljs.core.async.impl.timers/MAX_LEVEL","cljs.core.async.impl.timers/P","var_args","G__30891","cljs.core.async.impl.timers/random-level","js/Error","cljs.core.async.impl.timers.random_level","level","js/Math","this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cljs.core/-write","cljs.core.async.impl.timers/SkipListNode","cljs.core.async.impl.timers/->SkipListNode","key","val","forward","coll","cljs.core/List","writer","opts","cljs.core/pr-sequential-writer","cljs.core/pr-writer","G__30943","cljs.core.async.impl.timers/skip-list-node","cljs.core.async.impl.timers.skip_list_node","k","v","arr","js/Array","i","G__30968","cljs.core.async.impl.timers/least-greater-node","x","cljs.core.async.impl.timers.least_greater_node","update","temp__5821__auto__","x'","cljs.core.async.impl.timers/SkipList","cljs.core.async.impl.timers/->SkipList","header","new-level","links","nx","cljs.core._EQ_","node","cljs.core/LazySeq","cljs.core/cons","iter","pr-pair","keyval","cljs.core.async.impl.timers/skip-list","cljs.core.async.impl.timers/timeouts-map","cljs.core.async.impl.timers/TIMEOUT_RESOLUTION_MS","cljs.core.async.impl.timers/timeout","msecs","timeout","js/Date","me","or__5045__auto__","and__5043__auto__","timeout-channel","cljs.core.async.impl.channels.chan","cljs.core.async.impl.dispatch/queue-delay","cljs.core.async.impl.protocols/close!"],"sourcesContent":[";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core.async.impl.timers\n (:require [cljs.core.async.impl.protocols :as impl]\n [cljs.core.async.impl.channels :as channels]\n [cljs.core.async.impl.dispatch :as dispatch]))\n\n(def MAX_LEVEL 15) ;; 16 levels\n(def P (/ 1 2))\n\n(defn random-level\n ([] (random-level 0))\n ([level]\n (if (and (< (.random js/Math) P)\n (< level MAX_LEVEL))\n (recur (inc level))\n level)))\n\n(deftype SkipListNode [key ^:mutable val forward]\n ISeqable\n (-seq [coll]\n (list key val))\n\n IPrintWithWriter\n (-pr-writer [coll writer opts]\n (pr-sequential-writer writer pr-writer \"[\" \" \" \"]\" opts coll)))\n\n(defn skip-list-node\n ([level] (skip-list-node nil nil level))\n ([k v level]\n (let [arr (make-array (inc level))]\n (loop [i 0]\n (when (< i (alength arr))\n (aset arr i nil)\n (recur (inc i))))\n (SkipListNode. k v arr))))\n\n(defn least-greater-node\n ([x k level] (least-greater-node x k level nil))\n ([x k level update]\n (if-not (neg? level)\n (let [x (loop [x x]\n (if-let [x' (when (< level (alength (.-forward x)))\n (aget (.-forward x) level))]\n (if (< (.-key x') k)\n (recur x')\n x)\n x))]\n (when-not (nil? update)\n (aset update level x))\n (recur x k (dec level) update))\n x)))\n\n(deftype SkipList [header ^:mutable level]\n Object\n (put [coll k v]\n (let [update (make-array MAX_LEVEL)\n x (least-greater-node header k level update)\n x (aget (.-forward x) 0)]\n (if (and (not (nil? x)) (== (.-key x) k))\n (set! (.-val x) v)\n (let [new-level (random-level)]\n (when (> new-level level)\n (loop [i (inc level)]\n (when (<= i (inc new-level))\n (aset update i header)\n (recur (inc i))))\n (set! level new-level))\n (let [x (skip-list-node k v (make-array new-level))]\n (loop [i 0]\n (when (<= i level)\n (let [links (.-forward (aget update i))]\n (if (< i (alength (.-forward x)))\n (aset (.-forward x) i (aget links i))\n (.push (.-forward x) (when (< i (alength links))\n (aget links i))))\n (if (< i (alength links))\n (aset links i x)\n (.push links x)))\n (recur (inc i)))))))))\n\n (remove [coll k]\n (let [update (make-array MAX_LEVEL)\n x (least-greater-node header k level update)\n x (when-not (zero? (alength (.-forward x)))\n (aget (.-forward x) 0))]\n (when (and (not (nil? x)) (== (.-key x) k))\n (loop [i 0]\n (when (<= i level)\n (let [links (.-forward (aget update i))]\n (if (identical? x (when (< i (alength links))\n (aget links i)))\n (do\n (aset links i (aget (.-forward x) i))\n (recur (inc i)))\n (recur (inc i))))))\n (while (and (< 0 level (alength (.-forward header)))\n (nil? (aget (.-forward header) level)))\n (set! level (dec level))))))\n\n (ceilingEntry [coll k]\n (loop [x header level level]\n (if-not (neg? level)\n (let [nx (loop [x x]\n (let [x' (when (< level (alength (.-forward x)))\n (aget (.-forward x) level))]\n (if-not (nil? x')\n (if (> (.-key x') k)\n x\n (recur x'))\n (when (zero? level)\n x))))]\n (if nx\n (recur nx (dec level))\n (recur x (dec level))))\n (if (= (.-key x) k)\n x\n (aget (.-forward x) 0)))))\n\n (floorEntry [coll k]\n (loop [x header level level]\n (if-not (neg? level)\n (let [nx (loop [x x]\n (let [x' (when (< level (alength (.-forward x)))\n (aget (.-forward x) level))]\n (if-not (nil? x')\n (if (> (.-key x') k)\n x\n (recur x'))\n (when (zero? level)\n x))))]\n (if nx\n (recur nx (dec level))\n (recur x (dec level))))\n (when-not (identical? x header)\n x))))\n\n ISeqable\n (-seq [coll]\n (letfn [(iter [node]\n (lazy-seq\n (when-not (nil? node)\n (cons [(.-key node) (.-val node)]\n (iter (aget (.-forward node) 0))))))]\n (iter (aget (.-forward header) 0))))\n\n IPrintWithWriter\n (-pr-writer [coll writer opts]\n (let [pr-pair (fn [keyval]\n (pr-sequential-writer writer pr-writer \"\" \" \" \"\" opts keyval))]\n (pr-sequential-writer writer pr-pair \"{\" \", \" \"}\" opts coll))))\n\n(defn skip-list []\n (SkipList. (skip-list-node 0) 0))\n\n(def timeouts-map (skip-list))\n\n(def TIMEOUT_RESOLUTION_MS 10)\n\n(defn timeout\n \"returns a channel that will close after msecs\"\n [msecs]\n (let [timeout (+ (.valueOf (js/Date.)) msecs)\n me (.ceilingEntry timeouts-map timeout)]\n (or (when (and me (< (.-key me) (+ timeout TIMEOUT_RESOLUTION_MS)))\n (.-val me))\n (let [timeout-channel (channels/chan nil)]\n (.put timeouts-map timeout timeout-channel)\n (dispatch/queue-delay\n (fn []\n (.remove timeouts-map timeout)\n (impl/close! timeout-channel))\n msecs)\n timeout-channel))))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.core.async.js b/out/cljs-runtime/cljs.core.async.js new file mode 100644 index 0000000..97b307c --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.js @@ -0,0 +1,8780 @@ +goog.provide('cljs.core.async'); +goog.scope(function(){ + cljs.core.async.goog$module$goog$array = goog.module.get('goog.array'); +}); + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async31548 = (function (f,blockable,meta31549){ +this.f = f; +this.blockable = blockable; +this.meta31549 = meta31549; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async31548.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_31550,meta31549__$1){ +var self__ = this; +var _31550__$1 = this; +return (new cljs.core.async.t_cljs$core$async31548(self__.f,self__.blockable,meta31549__$1)); +})); + +(cljs.core.async.t_cljs$core$async31548.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_31550){ +var self__ = this; +var _31550__$1 = this; +return self__.meta31549; +})); + +(cljs.core.async.t_cljs$core$async31548.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async31548.prototype.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return true; +})); + +(cljs.core.async.t_cljs$core$async31548.prototype.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.blockable; +})); + +(cljs.core.async.t_cljs$core$async31548.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.f; +})); + +(cljs.core.async.t_cljs$core$async31548.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.Symbol(null,"blockable","blockable",-28395259,null),new cljs.core.Symbol(null,"meta31549","meta31549",271232379,null)], null); +})); + +(cljs.core.async.t_cljs$core$async31548.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async31548.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async31548"); + +(cljs.core.async.t_cljs$core$async31548.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async31548"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async31548. + */ +cljs.core.async.__GT_t_cljs$core$async31548 = (function cljs$core$async$__GT_t_cljs$core$async31548(f,blockable,meta31549){ +return (new cljs.core.async.t_cljs$core$async31548(f,blockable,meta31549)); +}); + + +cljs.core.async.fn_handler = (function cljs$core$async$fn_handler(var_args){ +var G__31526 = arguments.length; +switch (G__31526) { +case 1: +return cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$2(f,true); +})); + +(cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$2 = (function (f,blockable){ +return (new cljs.core.async.t_cljs$core$async31548(f,blockable,cljs.core.PersistentArrayMap.EMPTY)); +})); + +(cljs.core.async.fn_handler.cljs$lang$maxFixedArity = 2); + +/** + * Returns a fixed buffer of size n. When full, puts will block/park. + */ +cljs.core.async.buffer = (function cljs$core$async$buffer(n){ +return cljs.core.async.impl.buffers.fixed_buffer(n); +}); +/** + * Returns a buffer of size n. When full, puts will complete but + * val will be dropped (no transfer). + */ +cljs.core.async.dropping_buffer = (function cljs$core$async$dropping_buffer(n){ +return cljs.core.async.impl.buffers.dropping_buffer(n); +}); +/** + * Returns a buffer of size n. When full, puts will complete, and be + * buffered, but oldest elements in buffer will be dropped (not + * transferred). + */ +cljs.core.async.sliding_buffer = (function cljs$core$async$sliding_buffer(n){ +return cljs.core.async.impl.buffers.sliding_buffer(n); +}); +/** + * Returns true if a channel created with buff will never block. That is to say, + * puts into this buffer will never cause the buffer to be full. + */ +cljs.core.async.unblocking_buffer_QMARK_ = (function cljs$core$async$unblocking_buffer_QMARK_(buff){ +if((!((buff == null)))){ +if(((false) || ((cljs.core.PROTOCOL_SENTINEL === buff.cljs$core$async$impl$protocols$UnblockingBuffer$)))){ +return true; +} else { +if((!buff.cljs$lang$protocol_mask$partition$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.async.impl.protocols.UnblockingBuffer,buff); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.async.impl.protocols.UnblockingBuffer,buff); +} +}); +/** + * Creates a channel with an optional buffer, an optional transducer (like (map f), + * (filter p) etc or a composition thereof), and an optional exception handler. + * If buf-or-n is a number, will create and use a fixed buffer of that size. If a + * transducer is supplied a buffer must be specified. ex-handler must be a + * fn of one argument - if an exception occurs during transformation it will be called + * with the thrown value as an argument, and any non-nil return value will be placed + * in the channel. + */ +cljs.core.async.chan = (function cljs$core$async$chan(var_args){ +var G__31610 = arguments.length; +switch (G__31610) { +case 0: +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.chan.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(null); +})); + +(cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1 = (function (buf_or_n){ +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$3(buf_or_n,null,null); +})); + +(cljs.core.async.chan.cljs$core$IFn$_invoke$arity$2 = (function (buf_or_n,xform){ +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$3(buf_or_n,xform,null); +})); + +(cljs.core.async.chan.cljs$core$IFn$_invoke$arity$3 = (function (buf_or_n,xform,ex_handler){ +var buf_or_n__$1 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(buf_or_n,(0)))?null:buf_or_n); +if(cljs.core.truth_(xform)){ +if(cljs.core.truth_(buf_or_n__$1)){ +} else { +throw (new Error(["Assert failed: ","buffer must be supplied when transducer is","\n","buf-or-n"].join(''))); +} +} else { +} + +return cljs.core.async.impl.channels.chan.cljs$core$IFn$_invoke$arity$3(((typeof buf_or_n__$1 === 'number')?cljs.core.async.buffer(buf_or_n__$1):buf_or_n__$1),xform,ex_handler); +})); + +(cljs.core.async.chan.cljs$lang$maxFixedArity = 3); + +/** + * Creates a promise channel with an optional transducer, and an optional + * exception-handler. A promise channel can take exactly one value that consumers + * will receive. Once full, puts complete but val is dropped (no transfer). + * Consumers will block until either a value is placed in the channel or the + * channel is closed. See chan for the semantics of xform and ex-handler. + */ +cljs.core.async.promise_chan = (function cljs$core$async$promise_chan(var_args){ +var G__31629 = arguments.length; +switch (G__31629) { +case 0: +return cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$1(null); +})); + +(cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$1 = (function (xform){ +return cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$2(xform,null); +})); + +(cljs.core.async.promise_chan.cljs$core$IFn$_invoke$arity$2 = (function (xform,ex_handler){ +return cljs.core.async.chan.cljs$core$IFn$_invoke$arity$3(cljs.core.async.impl.buffers.promise_buffer(),xform,ex_handler); +})); + +(cljs.core.async.promise_chan.cljs$lang$maxFixedArity = 2); + +/** + * Returns a channel that will close after msecs + */ +cljs.core.async.timeout = (function cljs$core$async$timeout(msecs){ +return cljs.core.async.impl.timers.timeout(msecs); +}); +/** + * takes a val from port. Must be called inside a (go ...) block. Will + * return nil if closed. Will park if nothing is available. + * Returns true unless port is already closed + */ +cljs.core.async._LT__BANG_ = (function cljs$core$async$_LT__BANG_(port){ +throw (new Error("! used not in (go ...) block")); +}); +/** + * Asynchronously puts a val into port, calling fn1 (if supplied) when + * complete. nil values are not allowed. Will throw if closed. If + * on-caller? (default true) is true, and the put is immediately + * accepted, will call fn1 on calling thread. Returns nil. + */ +cljs.core.async.put_BANG_ = (function cljs$core$async$put_BANG_(var_args){ +var G__31657 = arguments.length; +switch (G__31657) { +case 2: +return cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (port,val){ +var temp__5821__auto__ = cljs.core.async.impl.protocols.put_BANG_(port,val,cljs.core.async.fhnop); +if(cljs.core.truth_(temp__5821__auto__)){ +var ret = temp__5821__auto__; +return cljs.core.deref(ret); +} else { +return true; +} +})); + +(cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (port,val,fn1){ +return cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$4(port,val,fn1,true); +})); + +(cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (port,val,fn1,on_caller_QMARK_){ +var temp__5821__auto__ = cljs.core.async.impl.protocols.put_BANG_(port,val,cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$1(fn1)); +if(cljs.core.truth_(temp__5821__auto__)){ +var retb = temp__5821__auto__; +var ret = cljs.core.deref(retb); +if(cljs.core.truth_(on_caller_QMARK_)){ +(fn1.cljs$core$IFn$_invoke$arity$1 ? fn1.cljs$core$IFn$_invoke$arity$1(ret) : fn1.call(null, ret)); +} else { +cljs.core.async.impl.dispatch.run((function (){ +return (fn1.cljs$core$IFn$_invoke$arity$1 ? fn1.cljs$core$IFn$_invoke$arity$1(ret) : fn1.call(null, ret)); +})); +} + +return ret; +} else { +return true; +} +})); + +(cljs.core.async.put_BANG_.cljs$lang$maxFixedArity = 4); + +cljs.core.async.close_BANG_ = (function cljs$core$async$close_BANG_(port){ +return cljs.core.async.impl.protocols.close_BANG_(port); +}); +cljs.core.async.random_array = (function cljs$core$async$random_array(n){ +var a = (new Array(n)); +var n__5636__auto___35273 = n; +var x_35274 = (0); +while(true){ +if((x_35274 < n__5636__auto___35273)){ +(a[x_35274] = x_35274); + +var G__35275 = (x_35274 + (1)); +x_35274 = G__35275; +continue; +} else { +} +break; +} + +cljs.core.async.goog$module$goog$array.shuffle(a); + +return a; +}); + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async31674 = (function (flag,meta31675){ +this.flag = flag; +this.meta31675 = meta31675; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async31674.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_31676,meta31675__$1){ +var self__ = this; +var _31676__$1 = this; +return (new cljs.core.async.t_cljs$core$async31674(self__.flag,meta31675__$1)); +})); + +(cljs.core.async.t_cljs$core$async31674.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_31676){ +var self__ = this; +var _31676__$1 = this; +return self__.meta31675; +})); + +(cljs.core.async.t_cljs$core$async31674.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async31674.prototype.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.deref(self__.flag); +})); + +(cljs.core.async.t_cljs$core$async31674.prototype.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return true; +})); + +(cljs.core.async.t_cljs$core$async31674.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.reset_BANG_(self__.flag,null); + +return true; +})); + +(cljs.core.async.t_cljs$core$async31674.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"flag","flag",-1565787888,null),new cljs.core.Symbol(null,"meta31675","meta31675",1512463763,null)], null); +})); + +(cljs.core.async.t_cljs$core$async31674.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async31674.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async31674"); + +(cljs.core.async.t_cljs$core$async31674.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async31674"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async31674. + */ +cljs.core.async.__GT_t_cljs$core$async31674 = (function cljs$core$async$__GT_t_cljs$core$async31674(flag,meta31675){ +return (new cljs.core.async.t_cljs$core$async31674(flag,meta31675)); +}); + + +cljs.core.async.alt_flag = (function cljs$core$async$alt_flag(){ +var flag = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(true); +return (new cljs.core.async.t_cljs$core$async31674(flag,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async31687 = (function (flag,cb,meta31688){ +this.flag = flag; +this.cb = cb; +this.meta31688 = meta31688; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async31687.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_31689,meta31688__$1){ +var self__ = this; +var _31689__$1 = this; +return (new cljs.core.async.t_cljs$core$async31687(self__.flag,self__.cb,meta31688__$1)); +})); + +(cljs.core.async.t_cljs$core$async31687.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_31689){ +var self__ = this; +var _31689__$1 = this; +return self__.meta31688; +})); + +(cljs.core.async.t_cljs$core$async31687.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async31687.prototype.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.active_QMARK_(self__.flag); +})); + +(cljs.core.async.t_cljs$core$async31687.prototype.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return true; +})); + +(cljs.core.async.t_cljs$core$async31687.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.async.impl.protocols.commit(self__.flag); + +return self__.cb; +})); + +(cljs.core.async.t_cljs$core$async31687.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"flag","flag",-1565787888,null),new cljs.core.Symbol(null,"cb","cb",-2064487928,null),new cljs.core.Symbol(null,"meta31688","meta31688",-494267054,null)], null); +})); + +(cljs.core.async.t_cljs$core$async31687.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async31687.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async31687"); + +(cljs.core.async.t_cljs$core$async31687.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async31687"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async31687. + */ +cljs.core.async.__GT_t_cljs$core$async31687 = (function cljs$core$async$__GT_t_cljs$core$async31687(flag,cb,meta31688){ +return (new cljs.core.async.t_cljs$core$async31687(flag,cb,meta31688)); +}); + + +cljs.core.async.alt_handler = (function cljs$core$async$alt_handler(flag,cb){ +return (new cljs.core.async.t_cljs$core$async31687(flag,cb,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * returns derefable [val port] if immediate, nil if enqueued + */ +cljs.core.async.do_alts = (function cljs$core$async$do_alts(fret,ports,opts){ +if((cljs.core.count(ports) > (0))){ +} else { +throw (new Error(["Assert failed: ","alts must have at least one channel operation","\n","(pos? (count ports))"].join(''))); +} + +var flag = cljs.core.async.alt_flag(); +var n = cljs.core.count(ports); +var idxs = cljs.core.async.random_array(n); +var priority = new cljs.core.Keyword(null,"priority","priority",1431093715).cljs$core$IFn$_invoke$arity$1(opts); +var ret = (function (){var i = (0); +while(true){ +if((i < n)){ +var idx = (cljs.core.truth_(priority)?i:(idxs[i])); +var port = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(ports,idx); +var wport = ((cljs.core.vector_QMARK_(port))?(port.cljs$core$IFn$_invoke$arity$1 ? port.cljs$core$IFn$_invoke$arity$1((0)) : port.call(null, (0))):null); +var vbox = (cljs.core.truth_(wport)?(function (){var val = (port.cljs$core$IFn$_invoke$arity$1 ? port.cljs$core$IFn$_invoke$arity$1((1)) : port.call(null, (1))); +return cljs.core.async.impl.protocols.put_BANG_(wport,val,cljs.core.async.alt_handler(flag,((function (i,val,idx,port,wport,flag,n,idxs,priority){ +return (function (p1__31715_SHARP_){ +var G__31728 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [p1__31715_SHARP_,wport], null); +return (fret.cljs$core$IFn$_invoke$arity$1 ? fret.cljs$core$IFn$_invoke$arity$1(G__31728) : fret.call(null, G__31728)); +});})(i,val,idx,port,wport,flag,n,idxs,priority)) +)); +})():cljs.core.async.impl.protocols.take_BANG_(port,cljs.core.async.alt_handler(flag,((function (i,idx,port,wport,flag,n,idxs,priority){ +return (function (p1__31716_SHARP_){ +var G__31730 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [p1__31716_SHARP_,port], null); +return (fret.cljs$core$IFn$_invoke$arity$1 ? fret.cljs$core$IFn$_invoke$arity$1(G__31730) : fret.call(null, G__31730)); +});})(i,idx,port,wport,flag,n,idxs,priority)) +))); +if(cljs.core.truth_(vbox)){ +return cljs.core.async.impl.channels.box(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref(vbox),(function (){var or__5045__auto__ = wport; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return port; +} +})()], null)); +} else { +var G__35300 = (i + (1)); +i = G__35300; +continue; +} +} else { +return null; +} +break; +} +})(); +var or__5045__auto__ = ret; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +if(cljs.core.contains_QMARK_(opts,new cljs.core.Keyword(null,"default","default",-1987822328))){ +var temp__5823__auto__ = (function (){var and__5043__auto__ = flag.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1(null, ); +if(cljs.core.truth_(and__5043__auto__)){ +return flag.cljs$core$async$impl$protocols$Handler$commit$arity$1(null, ); +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.truth_(temp__5823__auto__)){ +var got = temp__5823__auto__; +return cljs.core.async.impl.channels.box(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"default","default",-1987822328).cljs$core$IFn$_invoke$arity$1(opts),new cljs.core.Keyword(null,"default","default",-1987822328)], null)); +} else { +return null; +} +} else { +return null; +} +} +}); +/** + * Completes at most one of several channel operations. Must be called + * inside a (go ...) block. ports is a vector of channel endpoints, + * which can be either a channel to take from or a vector of + * [channel-to-put-to val-to-put], in any combination. Takes will be + * made as if by !. Unless + * the :priority option is true, if more than one port operation is + * ready a non-deterministic choice will be made. If no operation is + * ready and a :default value is supplied, [default-val :default] will + * be returned, otherwise alts! will park until the first operation to + * become ready completes. Returns [val port] of the completed + * operation, where val is the value taken for takes, and a + * boolean (true unless already closed, as per put!) for puts. + * + * opts are passed as :key val ... Supported options: + * + * :default val - the value to use if none of the operations are immediately ready + * :priority true - (default nil) when true, the operations will be tried in order. + * + * Note: there is no guarantee that the port exps or val exprs will be + * used, nor in what order should they be, so they should not be + * depended upon for side effects. + */ +cljs.core.async.alts_BANG_ = (function cljs$core$async$alts_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35302 = arguments.length; +var i__5770__auto___35303 = (0); +while(true){ +if((i__5770__auto___35303 < len__5769__auto___35302)){ +args__5775__auto__.push((arguments[i__5770__auto___35303])); + +var G__35304 = (i__5770__auto___35303 + (1)); +i__5770__auto___35303 = G__35304; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.async.alts_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.async.alts_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (ports,p__31747){ +var map__31748 = p__31747; +var map__31748__$1 = cljs.core.__destructure_map(map__31748); +var opts = map__31748__$1; +throw (new Error("alts! used not in (go ...) block")); +})); + +(cljs.core.async.alts_BANG_.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.async.alts_BANG_.cljs$lang$applyTo = (function (seq31739){ +var G__31740 = cljs.core.first(seq31739); +var seq31739__$1 = cljs.core.next(seq31739); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__31740,seq31739__$1); +})); + +/** + * Puts a val into port if it's possible to do so immediately. + * nil values are not allowed. Never blocks. Returns true if offer succeeds. + */ +cljs.core.async.offer_BANG_ = (function cljs$core$async$offer_BANG_(port,val){ +var ret = cljs.core.async.impl.protocols.put_BANG_(port,val,cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$2(cljs.core.async.nop,false)); +if(cljs.core.truth_(ret)){ +return cljs.core.deref(ret); +} else { +return null; +} +}); +/** + * Takes a val from port if it's possible to do so immediately. + * Never blocks. Returns value if successful, nil otherwise. + */ +cljs.core.async.poll_BANG_ = (function cljs$core$async$poll_BANG_(port){ +var ret = cljs.core.async.impl.protocols.take_BANG_(port,cljs.core.async.fn_handler.cljs$core$IFn$_invoke$arity$2(cljs.core.async.nop,false)); +if(cljs.core.truth_(ret)){ +return cljs.core.deref(ret); +} else { +return null; +} +}); +/** + * Takes elements from the from channel and supplies them to the to + * channel. By default, the to channel will be closed when the from + * channel closes, but can be determined by the close? parameter. Will + * stop consuming the from channel if the to channel closes + */ +cljs.core.async.pipe = (function cljs$core$async$pipe(var_args){ +var G__31761 = arguments.length; +switch (G__31761) { +case 2: +return cljs.core.async.pipe.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.pipe.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.pipe.cljs$core$IFn$_invoke$arity$2 = (function (from,to){ +return cljs.core.async.pipe.cljs$core$IFn$_invoke$arity$3(from,to,true); +})); + +(cljs.core.async.pipe.cljs$core$IFn$_invoke$arity$3 = (function (from,to,close_QMARK_){ +var c__31398__auto___35322 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_31845){ +var state_val_31846 = (state_31845[(1)]); +if((state_val_31846 === (7))){ +var inst_31838 = (state_31845[(2)]); +var state_31845__$1 = state_31845; +var statearr_31859_35323 = state_31845__$1; +(statearr_31859_35323[(2)] = inst_31838); + +(statearr_31859_35323[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (1))){ +var state_31845__$1 = state_31845; +var statearr_31862_35324 = state_31845__$1; +(statearr_31862_35324[(2)] = null); + +(statearr_31862_35324[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (4))){ +var inst_31817 = (state_31845[(7)]); +var inst_31817__$1 = (state_31845[(2)]); +var inst_31821 = (inst_31817__$1 == null); +var state_31845__$1 = (function (){var statearr_31867 = state_31845; +(statearr_31867[(7)] = inst_31817__$1); + +return statearr_31867; +})(); +if(cljs.core.truth_(inst_31821)){ +var statearr_31869_35329 = state_31845__$1; +(statearr_31869_35329[(1)] = (5)); + +} else { +var statearr_31870_35330 = state_31845__$1; +(statearr_31870_35330[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (13))){ +var state_31845__$1 = state_31845; +var statearr_31876_35332 = state_31845__$1; +(statearr_31876_35332[(2)] = null); + +(statearr_31876_35332[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (6))){ +var inst_31817 = (state_31845[(7)]); +var state_31845__$1 = state_31845; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_31845__$1,(11),to,inst_31817); +} else { +if((state_val_31846 === (3))){ +var inst_31840 = (state_31845[(2)]); +var state_31845__$1 = state_31845; +return cljs.core.async.impl.ioc_helpers.return_chan(state_31845__$1,inst_31840); +} else { +if((state_val_31846 === (12))){ +var state_31845__$1 = state_31845; +var statearr_31882_35333 = state_31845__$1; +(statearr_31882_35333[(2)] = null); + +(statearr_31882_35333[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (2))){ +var state_31845__$1 = state_31845; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_31845__$1,(4),from); +} else { +if((state_val_31846 === (11))){ +var inst_31831 = (state_31845[(2)]); +var state_31845__$1 = state_31845; +if(cljs.core.truth_(inst_31831)){ +var statearr_31885_35338 = state_31845__$1; +(statearr_31885_35338[(1)] = (12)); + +} else { +var statearr_31888_35339 = state_31845__$1; +(statearr_31888_35339[(1)] = (13)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (9))){ +var state_31845__$1 = state_31845; +var statearr_31889_35340 = state_31845__$1; +(statearr_31889_35340[(2)] = null); + +(statearr_31889_35340[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (5))){ +var state_31845__$1 = state_31845; +if(cljs.core.truth_(close_QMARK_)){ +var statearr_31890_35341 = state_31845__$1; +(statearr_31890_35341[(1)] = (8)); + +} else { +var statearr_31895_35342 = state_31845__$1; +(statearr_31895_35342[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (14))){ +var inst_31836 = (state_31845[(2)]); +var state_31845__$1 = state_31845; +var statearr_31897_35343 = state_31845__$1; +(statearr_31897_35343[(2)] = inst_31836); + +(statearr_31897_35343[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (10))){ +var inst_31828 = (state_31845[(2)]); +var state_31845__$1 = state_31845; +var statearr_31900_35344 = state_31845__$1; +(statearr_31900_35344[(2)] = inst_31828); + +(statearr_31900_35344[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31846 === (8))){ +var inst_31825 = cljs.core.async.close_BANG_(to); +var state_31845__$1 = state_31845; +var statearr_31905_35349 = state_31845__$1; +(statearr_31905_35349[(2)] = inst_31825); + +(statearr_31905_35349[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_31906 = [null,null,null,null,null,null,null,null]; +(statearr_31906[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_31906[(1)] = (1)); + +return statearr_31906; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_31845){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_31845); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e31908){var ex__30621__auto__ = e31908; +var statearr_31909_35354 = state_31845; +(statearr_31909_35354[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_31845[(4)]))){ +var statearr_31910_35355 = state_31845; +(statearr_31910_35355[(1)] = cljs.core.first((state_31845[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35356 = state_31845; +state_31845 = G__35356; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_31845){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_31845); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_31913 = f__31399__auto__(); +(statearr_31913[(6)] = c__31398__auto___35322); + +return statearr_31913; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return to; +})); + +(cljs.core.async.pipe.cljs$lang$maxFixedArity = 3); + +cljs.core.async.pipeline_STAR_ = (function cljs$core$async$pipeline_STAR_(n,to,xf,from,close_QMARK_,ex_handler,type){ +if((n > (0))){ +} else { +throw (new Error("Assert failed: (pos? n)")); +} + +var jobs = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(n); +var results = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(n); +var process__$1 = (function (p__31919){ +var vec__31920 = p__31919; +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31920,(0),null); +var p = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31920,(1),null); +var job = vec__31920; +if((job == null)){ +cljs.core.async.close_BANG_(results); + +return null; +} else { +var res = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$3((1),xf,ex_handler); +var c__31398__auto___35382 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_31927){ +var state_val_31928 = (state_31927[(1)]); +if((state_val_31928 === (1))){ +var state_31927__$1 = state_31927; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_31927__$1,(2),res,v); +} else { +if((state_val_31928 === (2))){ +var inst_31924 = (state_31927[(2)]); +var inst_31925 = cljs.core.async.close_BANG_(res); +var state_31927__$1 = (function (){var statearr_31935 = state_31927; +(statearr_31935[(7)] = inst_31924); + +return statearr_31935; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan(state_31927__$1,inst_31925); +} else { +return null; +} +} +}); +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0 = (function (){ +var statearr_31939 = [null,null,null,null,null,null,null,null]; +(statearr_31939[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__); + +(statearr_31939[(1)] = (1)); + +return statearr_31939; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1 = (function (state_31927){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_31927); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e31940){var ex__30621__auto__ = e31940; +var statearr_31941_35397 = state_31927; +(statearr_31941_35397[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_31927[(4)]))){ +var statearr_31942_35398 = state_31927; +(statearr_31942_35398[(1)] = cljs.core.first((state_31927[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35399 = state_31927; +state_31927 = G__35399; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = function(state_31927){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1.call(this,state_31927); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_31943 = f__31399__auto__(); +(statearr_31943[(6)] = c__31398__auto___35382); + +return statearr_31943; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2(p,res); + +return true; +} +}); +var async = (function (p__31946){ +var vec__31948 = p__31946; +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31948,(0),null); +var p = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31948,(1),null); +var job = vec__31948; +if((job == null)){ +cljs.core.async.close_BANG_(results); + +return null; +} else { +var res = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +(xf.cljs$core$IFn$_invoke$arity$2 ? xf.cljs$core$IFn$_invoke$arity$2(v,res) : xf.call(null, v,res)); + +cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2(p,res); + +return true; +} +}); +var n__5636__auto___35405 = n; +var __35406 = (0); +while(true){ +if((__35406 < n__5636__auto___35405)){ +var G__31951_35407 = type; +var G__31951_35408__$1 = (((G__31951_35407 instanceof cljs.core.Keyword))?G__31951_35407.fqn:null); +switch (G__31951_35408__$1) { +case "compute": +var c__31398__auto___35410 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run(((function (__35406,c__31398__auto___35410,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async){ +return (function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = ((function (__35406,c__31398__auto___35410,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async){ +return (function (state_31964){ +var state_val_31965 = (state_31964[(1)]); +if((state_val_31965 === (1))){ +var state_31964__$1 = state_31964; +var statearr_31972_35411 = state_31964__$1; +(statearr_31972_35411[(2)] = null); + +(statearr_31972_35411[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31965 === (2))){ +var state_31964__$1 = state_31964; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_31964__$1,(4),jobs); +} else { +if((state_val_31965 === (3))){ +var inst_31962 = (state_31964[(2)]); +var state_31964__$1 = state_31964; +return cljs.core.async.impl.ioc_helpers.return_chan(state_31964__$1,inst_31962); +} else { +if((state_val_31965 === (4))){ +var inst_31954 = (state_31964[(2)]); +var inst_31955 = process__$1(inst_31954); +var state_31964__$1 = state_31964; +if(cljs.core.truth_(inst_31955)){ +var statearr_31975_35412 = state_31964__$1; +(statearr_31975_35412[(1)] = (5)); + +} else { +var statearr_31976_35413 = state_31964__$1; +(statearr_31976_35413[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31965 === (5))){ +var state_31964__$1 = state_31964; +var statearr_31979_35414 = state_31964__$1; +(statearr_31979_35414[(2)] = null); + +(statearr_31979_35414[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31965 === (6))){ +var state_31964__$1 = state_31964; +var statearr_31985_35415 = state_31964__$1; +(statearr_31985_35415[(2)] = null); + +(statearr_31985_35415[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_31965 === (7))){ +var inst_31960 = (state_31964[(2)]); +var state_31964__$1 = state_31964; +var statearr_31986_35416 = state_31964__$1; +(statearr_31986_35416[(2)] = inst_31960); + +(statearr_31986_35416[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +});})(__35406,c__31398__auto___35410,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async)) +; +return ((function (__35406,switch__30617__auto__,c__31398__auto___35410,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async){ +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0 = (function (){ +var statearr_31990 = [null,null,null,null,null,null,null]; +(statearr_31990[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__); + +(statearr_31990[(1)] = (1)); + +return statearr_31990; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1 = (function (state_31964){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_31964); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e31991){var ex__30621__auto__ = e31991; +var statearr_31992_35418 = state_31964; +(statearr_31992_35418[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_31964[(4)]))){ +var statearr_31993_35419 = state_31964; +(statearr_31993_35419[(1)] = cljs.core.first((state_31964[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35420 = state_31964; +state_31964 = G__35420; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = function(state_31964){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1.call(this,state_31964); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__; +})() +;})(__35406,switch__30617__auto__,c__31398__auto___35410,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async)) +})(); +var state__31400__auto__ = (function (){var statearr_31996 = f__31399__auto__(); +(statearr_31996[(6)] = c__31398__auto___35410); + +return statearr_31996; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +});})(__35406,c__31398__auto___35410,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async)) +); + + +break; +case "async": +var c__31398__auto___35421 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run(((function (__35406,c__31398__auto___35421,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async){ +return (function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = ((function (__35406,c__31398__auto___35421,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async){ +return (function (state_32010){ +var state_val_32012 = (state_32010[(1)]); +if((state_val_32012 === (1))){ +var state_32010__$1 = state_32010; +var statearr_32021_35433 = state_32010__$1; +(statearr_32021_35433[(2)] = null); + +(statearr_32021_35433[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32012 === (2))){ +var state_32010__$1 = state_32010; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32010__$1,(4),jobs); +} else { +if((state_val_32012 === (3))){ +var inst_32008 = (state_32010[(2)]); +var state_32010__$1 = state_32010; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32010__$1,inst_32008); +} else { +if((state_val_32012 === (4))){ +var inst_31999 = (state_32010[(2)]); +var inst_32000 = async(inst_31999); +var state_32010__$1 = state_32010; +if(cljs.core.truth_(inst_32000)){ +var statearr_32022_35447 = state_32010__$1; +(statearr_32022_35447[(1)] = (5)); + +} else { +var statearr_32023_35449 = state_32010__$1; +(statearr_32023_35449[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32012 === (5))){ +var state_32010__$1 = state_32010; +var statearr_32024_35450 = state_32010__$1; +(statearr_32024_35450[(2)] = null); + +(statearr_32024_35450[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32012 === (6))){ +var state_32010__$1 = state_32010; +var statearr_32026_35451 = state_32010__$1; +(statearr_32026_35451[(2)] = null); + +(statearr_32026_35451[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32012 === (7))){ +var inst_32006 = (state_32010[(2)]); +var state_32010__$1 = state_32010; +var statearr_32028_35452 = state_32010__$1; +(statearr_32028_35452[(2)] = inst_32006); + +(statearr_32028_35452[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +});})(__35406,c__31398__auto___35421,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async)) +; +return ((function (__35406,switch__30617__auto__,c__31398__auto___35421,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async){ +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0 = (function (){ +var statearr_32029 = [null,null,null,null,null,null,null]; +(statearr_32029[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__); + +(statearr_32029[(1)] = (1)); + +return statearr_32029; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1 = (function (state_32010){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32010); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e32030){var ex__30621__auto__ = e32030; +var statearr_32031_35464 = state_32010; +(statearr_32031_35464[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32010[(4)]))){ +var statearr_32032_35465 = state_32010; +(statearr_32032_35465[(1)] = cljs.core.first((state_32010[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35466 = state_32010; +state_32010 = G__35466; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = function(state_32010){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1.call(this,state_32010); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__; +})() +;})(__35406,switch__30617__auto__,c__31398__auto___35421,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async)) +})(); +var state__31400__auto__ = (function (){var statearr_32033 = f__31399__auto__(); +(statearr_32033[(6)] = c__31398__auto___35421); + +return statearr_32033; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +});})(__35406,c__31398__auto___35421,G__31951_35407,G__31951_35408__$1,n__5636__auto___35405,jobs,results,process__$1,async)) +); + + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__31951_35408__$1)].join(''))); + +} + +var G__35473 = (__35406 + (1)); +__35406 = G__35473; +continue; +} else { +} +break; +} + +var c__31398__auto___35475 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_32065){ +var state_val_32066 = (state_32065[(1)]); +if((state_val_32066 === (7))){ +var inst_32059 = (state_32065[(2)]); +var state_32065__$1 = state_32065; +var statearr_32071_35486 = state_32065__$1; +(statearr_32071_35486[(2)] = inst_32059); + +(statearr_32071_35486[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32066 === (1))){ +var state_32065__$1 = state_32065; +var statearr_32072_35489 = state_32065__$1; +(statearr_32072_35489[(2)] = null); + +(statearr_32072_35489[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32066 === (4))){ +var inst_32041 = (state_32065[(7)]); +var inst_32041__$1 = (state_32065[(2)]); +var inst_32042 = (inst_32041__$1 == null); +var state_32065__$1 = (function (){var statearr_32074 = state_32065; +(statearr_32074[(7)] = inst_32041__$1); + +return statearr_32074; +})(); +if(cljs.core.truth_(inst_32042)){ +var statearr_32075_35494 = state_32065__$1; +(statearr_32075_35494[(1)] = (5)); + +} else { +var statearr_32076_35495 = state_32065__$1; +(statearr_32076_35495[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32066 === (6))){ +var inst_32046 = (state_32065[(8)]); +var inst_32041 = (state_32065[(7)]); +var inst_32046__$1 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +var inst_32048 = cljs.core.PersistentVector.EMPTY_NODE; +var inst_32049 = [inst_32041,inst_32046__$1]; +var inst_32050 = (new cljs.core.PersistentVector(null,2,(5),inst_32048,inst_32049,null)); +var state_32065__$1 = (function (){var statearr_32077 = state_32065; +(statearr_32077[(8)] = inst_32046__$1); + +return statearr_32077; +})(); +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_32065__$1,(8),jobs,inst_32050); +} else { +if((state_val_32066 === (3))){ +var inst_32062 = (state_32065[(2)]); +var state_32065__$1 = state_32065; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32065__$1,inst_32062); +} else { +if((state_val_32066 === (2))){ +var state_32065__$1 = state_32065; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32065__$1,(4),from); +} else { +if((state_val_32066 === (9))){ +var inst_32056 = (state_32065[(2)]); +var state_32065__$1 = (function (){var statearr_32079 = state_32065; +(statearr_32079[(9)] = inst_32056); + +return statearr_32079; +})(); +var statearr_32081_35511 = state_32065__$1; +(statearr_32081_35511[(2)] = null); + +(statearr_32081_35511[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32066 === (5))){ +var inst_32044 = cljs.core.async.close_BANG_(jobs); +var state_32065__$1 = state_32065; +var statearr_32083_35516 = state_32065__$1; +(statearr_32083_35516[(2)] = inst_32044); + +(statearr_32083_35516[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32066 === (8))){ +var inst_32046 = (state_32065[(8)]); +var inst_32052 = (state_32065[(2)]); +var state_32065__$1 = (function (){var statearr_32084 = state_32065; +(statearr_32084[(10)] = inst_32052); + +return statearr_32084; +})(); +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_32065__$1,(9),results,inst_32046); +} else { +return null; +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0 = (function (){ +var statearr_32088 = [null,null,null,null,null,null,null,null,null,null,null]; +(statearr_32088[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__); + +(statearr_32088[(1)] = (1)); + +return statearr_32088; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1 = (function (state_32065){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32065); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e32089){var ex__30621__auto__ = e32089; +var statearr_32090_35526 = state_32065; +(statearr_32090_35526[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32065[(4)]))){ +var statearr_32095_35529 = state_32065; +(statearr_32095_35529[(1)] = cljs.core.first((state_32065[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35531 = state_32065; +state_32065 = G__35531; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = function(state_32065){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1.call(this,state_32065); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_32096 = f__31399__auto__(); +(statearr_32096[(6)] = c__31398__auto___35475); + +return statearr_32096; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +var c__31398__auto__ = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_32137){ +var state_val_32138 = (state_32137[(1)]); +if((state_val_32138 === (7))){ +var inst_32133 = (state_32137[(2)]); +var state_32137__$1 = state_32137; +var statearr_32147_35536 = state_32137__$1; +(statearr_32147_35536[(2)] = inst_32133); + +(statearr_32147_35536[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (20))){ +var state_32137__$1 = state_32137; +var statearr_32148_35537 = state_32137__$1; +(statearr_32148_35537[(2)] = null); + +(statearr_32148_35537[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (1))){ +var state_32137__$1 = state_32137; +var statearr_32149_35538 = state_32137__$1; +(statearr_32149_35538[(2)] = null); + +(statearr_32149_35538[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (4))){ +var inst_32101 = (state_32137[(7)]); +var inst_32101__$1 = (state_32137[(2)]); +var inst_32102 = (inst_32101__$1 == null); +var state_32137__$1 = (function (){var statearr_32150 = state_32137; +(statearr_32150[(7)] = inst_32101__$1); + +return statearr_32150; +})(); +if(cljs.core.truth_(inst_32102)){ +var statearr_32153_35539 = state_32137__$1; +(statearr_32153_35539[(1)] = (5)); + +} else { +var statearr_32154_35540 = state_32137__$1; +(statearr_32154_35540[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (15))){ +var inst_32114 = (state_32137[(8)]); +var state_32137__$1 = state_32137; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_32137__$1,(18),to,inst_32114); +} else { +if((state_val_32138 === (21))){ +var inst_32128 = (state_32137[(2)]); +var state_32137__$1 = state_32137; +var statearr_32157_35541 = state_32137__$1; +(statearr_32157_35541[(2)] = inst_32128); + +(statearr_32157_35541[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (13))){ +var inst_32130 = (state_32137[(2)]); +var state_32137__$1 = (function (){var statearr_32158 = state_32137; +(statearr_32158[(9)] = inst_32130); + +return statearr_32158; +})(); +var statearr_32159_35543 = state_32137__$1; +(statearr_32159_35543[(2)] = null); + +(statearr_32159_35543[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (6))){ +var inst_32101 = (state_32137[(7)]); +var state_32137__$1 = state_32137; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32137__$1,(11),inst_32101); +} else { +if((state_val_32138 === (17))){ +var inst_32122 = (state_32137[(2)]); +var state_32137__$1 = state_32137; +if(cljs.core.truth_(inst_32122)){ +var statearr_32162_35547 = state_32137__$1; +(statearr_32162_35547[(1)] = (19)); + +} else { +var statearr_32163_35548 = state_32137__$1; +(statearr_32163_35548[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (3))){ +var inst_32135 = (state_32137[(2)]); +var state_32137__$1 = state_32137; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32137__$1,inst_32135); +} else { +if((state_val_32138 === (12))){ +var inst_32111 = (state_32137[(10)]); +var state_32137__$1 = state_32137; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32137__$1,(14),inst_32111); +} else { +if((state_val_32138 === (2))){ +var state_32137__$1 = state_32137; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32137__$1,(4),results); +} else { +if((state_val_32138 === (19))){ +var state_32137__$1 = state_32137; +var statearr_32164_35551 = state_32137__$1; +(statearr_32164_35551[(2)] = null); + +(statearr_32164_35551[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (11))){ +var inst_32111 = (state_32137[(2)]); +var state_32137__$1 = (function (){var statearr_32165 = state_32137; +(statearr_32165[(10)] = inst_32111); + +return statearr_32165; +})(); +var statearr_32166_35554 = state_32137__$1; +(statearr_32166_35554[(2)] = null); + +(statearr_32166_35554[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (9))){ +var state_32137__$1 = state_32137; +var statearr_32168_35555 = state_32137__$1; +(statearr_32168_35555[(2)] = null); + +(statearr_32168_35555[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (5))){ +var state_32137__$1 = state_32137; +if(cljs.core.truth_(close_QMARK_)){ +var statearr_32169_35556 = state_32137__$1; +(statearr_32169_35556[(1)] = (8)); + +} else { +var statearr_32170_35561 = state_32137__$1; +(statearr_32170_35561[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (14))){ +var inst_32114 = (state_32137[(8)]); +var inst_32116 = (state_32137[(11)]); +var inst_32114__$1 = (state_32137[(2)]); +var inst_32115 = (inst_32114__$1 == null); +var inst_32116__$1 = cljs.core.not(inst_32115); +var state_32137__$1 = (function (){var statearr_32174 = state_32137; +(statearr_32174[(8)] = inst_32114__$1); + +(statearr_32174[(11)] = inst_32116__$1); + +return statearr_32174; +})(); +if(inst_32116__$1){ +var statearr_32175_35566 = state_32137__$1; +(statearr_32175_35566[(1)] = (15)); + +} else { +var statearr_32176_35567 = state_32137__$1; +(statearr_32176_35567[(1)] = (16)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (16))){ +var inst_32116 = (state_32137[(11)]); +var state_32137__$1 = state_32137; +var statearr_32177_35569 = state_32137__$1; +(statearr_32177_35569[(2)] = inst_32116); + +(statearr_32177_35569[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (10))){ +var inst_32108 = (state_32137[(2)]); +var state_32137__$1 = state_32137; +var statearr_32179_35574 = state_32137__$1; +(statearr_32179_35574[(2)] = inst_32108); + +(statearr_32179_35574[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (18))){ +var inst_32119 = (state_32137[(2)]); +var state_32137__$1 = state_32137; +var statearr_32181_35575 = state_32137__$1; +(statearr_32181_35575[(2)] = inst_32119); + +(statearr_32181_35575[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32138 === (8))){ +var inst_32105 = cljs.core.async.close_BANG_(to); +var state_32137__$1 = state_32137; +var statearr_32183_35576 = state_32137__$1; +(statearr_32183_35576[(2)] = inst_32105); + +(statearr_32183_35576[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = null; +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0 = (function (){ +var statearr_32187 = [null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_32187[(0)] = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__); + +(statearr_32187[(1)] = (1)); + +return statearr_32187; +}); +var cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1 = (function (state_32137){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32137); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e32193){var ex__30621__auto__ = e32193; +var statearr_32194_35577 = state_32137; +(statearr_32194_35577[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32137[(4)]))){ +var statearr_32196_35578 = state_32137; +(statearr_32196_35578[(1)] = cljs.core.first((state_32137[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35579 = state_32137; +state_32137 = G__35579; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__ = function(state_32137){ +switch(arguments.length){ +case 0: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1.call(this,state_32137); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____0; +cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$pipeline_STAR__$_state_machine__30618__auto____1; +return cljs$core$async$pipeline_STAR__$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_32197 = f__31399__auto__(); +(statearr_32197[(6)] = c__31398__auto__); + +return statearr_32197; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + +return c__31398__auto__; +}); +/** + * Takes elements from the from channel and supplies them to the to + * channel, subject to the async function af, with parallelism n. af + * must be a function of two arguments, the first an input value and + * the second a channel on which to place the result(s). The + * presumption is that af will return immediately, having launched some + * asynchronous operation whose completion/callback will put results on + * the channel, then close! it. Outputs will be returned in order + * relative to the inputs. By default, the to channel will be closed + * when the from channel closes, but can be determined by the close? + * parameter. Will stop consuming the from channel if the to channel + * closes. See also pipeline, pipeline-blocking. + */ +cljs.core.async.pipeline_async = (function cljs$core$async$pipeline_async(var_args){ +var G__32199 = arguments.length; +switch (G__32199) { +case 4: +return cljs.core.async.pipeline_async.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.async.pipeline_async.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.pipeline_async.cljs$core$IFn$_invoke$arity$4 = (function (n,to,af,from){ +return cljs.core.async.pipeline_async.cljs$core$IFn$_invoke$arity$5(n,to,af,from,true); +})); + +(cljs.core.async.pipeline_async.cljs$core$IFn$_invoke$arity$5 = (function (n,to,af,from,close_QMARK_){ +return cljs.core.async.pipeline_STAR_(n,to,af,from,close_QMARK_,null,new cljs.core.Keyword(null,"async","async",1050769601)); +})); + +(cljs.core.async.pipeline_async.cljs$lang$maxFixedArity = 5); + +/** + * Takes elements from the from channel and supplies them to the to + * channel, subject to the transducer xf, with parallelism n. Because + * it is parallel, the transducer will be applied independently to each + * element, not across elements, and may produce zero or more outputs + * per input. Outputs will be returned in order relative to the + * inputs. By default, the to channel will be closed when the from + * channel closes, but can be determined by the close? parameter. Will + * stop consuming the from channel if the to channel closes. + * + * Note this is supplied for API compatibility with the Clojure version. + * Values of N > 1 will not result in actual concurrency in a + * single-threaded runtime. + */ +cljs.core.async.pipeline = (function cljs$core$async$pipeline(var_args){ +var G__32206 = arguments.length; +switch (G__32206) { +case 4: +return cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$4 = (function (n,to,xf,from){ +return cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$5(n,to,xf,from,true); +})); + +(cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$5 = (function (n,to,xf,from,close_QMARK_){ +return cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$6(n,to,xf,from,close_QMARK_,null); +})); + +(cljs.core.async.pipeline.cljs$core$IFn$_invoke$arity$6 = (function (n,to,xf,from,close_QMARK_,ex_handler){ +return cljs.core.async.pipeline_STAR_(n,to,xf,from,close_QMARK_,ex_handler,new cljs.core.Keyword(null,"compute","compute",1555393130)); +})); + +(cljs.core.async.pipeline.cljs$lang$maxFixedArity = 6); + +/** + * Takes a predicate and a source channel and returns a vector of two + * channels, the first of which will contain the values for which the + * predicate returned true, the second those for which it returned + * false. + * + * The out channels will be unbuffered by default, or two buf-or-ns can + * be supplied. The channels will close after the source channel has + * closed. + */ +cljs.core.async.split = (function cljs$core$async$split(var_args){ +var G__32231 = arguments.length; +switch (G__32231) { +case 2: +return cljs.core.async.split.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 4: +return cljs.core.async.split.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.split.cljs$core$IFn$_invoke$arity$2 = (function (p,ch){ +return cljs.core.async.split.cljs$core$IFn$_invoke$arity$4(p,ch,null,null); +})); + +(cljs.core.async.split.cljs$core$IFn$_invoke$arity$4 = (function (p,ch,t_buf_or_n,f_buf_or_n){ +var tc = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(t_buf_or_n); +var fc = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(f_buf_or_n); +var c__31398__auto___35597 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_32265){ +var state_val_32266 = (state_32265[(1)]); +if((state_val_32266 === (7))){ +var inst_32258 = (state_32265[(2)]); +var state_32265__$1 = state_32265; +var statearr_32275_35598 = state_32265__$1; +(statearr_32275_35598[(2)] = inst_32258); + +(statearr_32275_35598[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (1))){ +var state_32265__$1 = state_32265; +var statearr_32277_35599 = state_32265__$1; +(statearr_32277_35599[(2)] = null); + +(statearr_32277_35599[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (4))){ +var inst_32238 = (state_32265[(7)]); +var inst_32238__$1 = (state_32265[(2)]); +var inst_32239 = (inst_32238__$1 == null); +var state_32265__$1 = (function (){var statearr_32283 = state_32265; +(statearr_32283[(7)] = inst_32238__$1); + +return statearr_32283; +})(); +if(cljs.core.truth_(inst_32239)){ +var statearr_32285_35600 = state_32265__$1; +(statearr_32285_35600[(1)] = (5)); + +} else { +var statearr_32286_35601 = state_32265__$1; +(statearr_32286_35601[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (13))){ +var state_32265__$1 = state_32265; +var statearr_32293_35602 = state_32265__$1; +(statearr_32293_35602[(2)] = null); + +(statearr_32293_35602[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (6))){ +var inst_32238 = (state_32265[(7)]); +var inst_32245 = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(inst_32238) : p.call(null, inst_32238)); +var state_32265__$1 = state_32265; +if(cljs.core.truth_(inst_32245)){ +var statearr_32297_35603 = state_32265__$1; +(statearr_32297_35603[(1)] = (9)); + +} else { +var statearr_32299_35604 = state_32265__$1; +(statearr_32299_35604[(1)] = (10)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (3))){ +var inst_32260 = (state_32265[(2)]); +var state_32265__$1 = state_32265; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32265__$1,inst_32260); +} else { +if((state_val_32266 === (12))){ +var state_32265__$1 = state_32265; +var statearr_32301_35609 = state_32265__$1; +(statearr_32301_35609[(2)] = null); + +(statearr_32301_35609[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (2))){ +var state_32265__$1 = state_32265; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32265__$1,(4),ch); +} else { +if((state_val_32266 === (11))){ +var inst_32238 = (state_32265[(7)]); +var inst_32249 = (state_32265[(2)]); +var state_32265__$1 = state_32265; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_32265__$1,(8),inst_32249,inst_32238); +} else { +if((state_val_32266 === (9))){ +var state_32265__$1 = state_32265; +var statearr_32309_35614 = state_32265__$1; +(statearr_32309_35614[(2)] = tc); + +(statearr_32309_35614[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (5))){ +var inst_32241 = cljs.core.async.close_BANG_(tc); +var inst_32242 = cljs.core.async.close_BANG_(fc); +var state_32265__$1 = (function (){var statearr_32311 = state_32265; +(statearr_32311[(8)] = inst_32241); + +return statearr_32311; +})(); +var statearr_32314_35620 = state_32265__$1; +(statearr_32314_35620[(2)] = inst_32242); + +(statearr_32314_35620[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (14))){ +var inst_32256 = (state_32265[(2)]); +var state_32265__$1 = state_32265; +var statearr_32316_35625 = state_32265__$1; +(statearr_32316_35625[(2)] = inst_32256); + +(statearr_32316_35625[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (10))){ +var state_32265__$1 = state_32265; +var statearr_32317_35626 = state_32265__$1; +(statearr_32317_35626[(2)] = fc); + +(statearr_32317_35626[(1)] = (11)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32266 === (8))){ +var inst_32251 = (state_32265[(2)]); +var state_32265__$1 = state_32265; +if(cljs.core.truth_(inst_32251)){ +var statearr_32319_35627 = state_32265__$1; +(statearr_32319_35627[(1)] = (12)); + +} else { +var statearr_32320_35628 = state_32265__$1; +(statearr_32320_35628[(1)] = (13)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_32324 = [null,null,null,null,null,null,null,null,null]; +(statearr_32324[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_32324[(1)] = (1)); + +return statearr_32324; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_32265){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32265); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e32326){var ex__30621__auto__ = e32326; +var statearr_32327_35630 = state_32265; +(statearr_32327_35630[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32265[(4)]))){ +var statearr_32330_35631 = state_32265; +(statearr_32330_35631[(1)] = cljs.core.first((state_32265[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35633 = state_32265; +state_32265 = G__35633; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_32265){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_32265); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_32335 = f__31399__auto__(); +(statearr_32335[(6)] = c__31398__auto___35597); + +return statearr_32335; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [tc,fc], null); +})); + +(cljs.core.async.split.cljs$lang$maxFixedArity = 4); + +/** + * f should be a function of 2 arguments. Returns a channel containing + * the single result of applying f to init and the first item from the + * channel, then applying f to that result and the 2nd item, etc. If + * the channel closes without yielding items, returns init and f is not + * called. ch must close before reduce produces a result. + */ +cljs.core.async.reduce = (function cljs$core$async$reduce(f,init,ch){ +var c__31398__auto__ = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_32368){ +var state_val_32369 = (state_32368[(1)]); +if((state_val_32369 === (7))){ +var inst_32363 = (state_32368[(2)]); +var state_32368__$1 = state_32368; +var statearr_32377_35636 = state_32368__$1; +(statearr_32377_35636[(2)] = inst_32363); + +(statearr_32377_35636[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32369 === (1))){ +var inst_32342 = init; +var inst_32344 = inst_32342; +var state_32368__$1 = (function (){var statearr_32384 = state_32368; +(statearr_32384[(7)] = inst_32344); + +return statearr_32384; +})(); +var statearr_32386_35640 = state_32368__$1; +(statearr_32386_35640[(2)] = null); + +(statearr_32386_35640[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32369 === (4))){ +var inst_32349 = (state_32368[(8)]); +var inst_32349__$1 = (state_32368[(2)]); +var inst_32350 = (inst_32349__$1 == null); +var state_32368__$1 = (function (){var statearr_32388 = state_32368; +(statearr_32388[(8)] = inst_32349__$1); + +return statearr_32388; +})(); +if(cljs.core.truth_(inst_32350)){ +var statearr_32389_35641 = state_32368__$1; +(statearr_32389_35641[(1)] = (5)); + +} else { +var statearr_32390_35642 = state_32368__$1; +(statearr_32390_35642[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32369 === (6))){ +var inst_32344 = (state_32368[(7)]); +var inst_32353 = (state_32368[(9)]); +var inst_32349 = (state_32368[(8)]); +var inst_32353__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(inst_32344,inst_32349) : f.call(null, inst_32344,inst_32349)); +var inst_32354 = cljs.core.reduced_QMARK_(inst_32353__$1); +var state_32368__$1 = (function (){var statearr_32391 = state_32368; +(statearr_32391[(9)] = inst_32353__$1); + +return statearr_32391; +})(); +if(inst_32354){ +var statearr_32392_35647 = state_32368__$1; +(statearr_32392_35647[(1)] = (8)); + +} else { +var statearr_32394_35648 = state_32368__$1; +(statearr_32394_35648[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32369 === (3))){ +var inst_32365 = (state_32368[(2)]); +var state_32368__$1 = state_32368; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32368__$1,inst_32365); +} else { +if((state_val_32369 === (2))){ +var state_32368__$1 = state_32368; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32368__$1,(4),ch); +} else { +if((state_val_32369 === (9))){ +var inst_32353 = (state_32368[(9)]); +var inst_32344 = inst_32353; +var state_32368__$1 = (function (){var statearr_32398 = state_32368; +(statearr_32398[(7)] = inst_32344); + +return statearr_32398; +})(); +var statearr_32399_35652 = state_32368__$1; +(statearr_32399_35652[(2)] = null); + +(statearr_32399_35652[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32369 === (5))){ +var inst_32344 = (state_32368[(7)]); +var state_32368__$1 = state_32368; +var statearr_32400_35653 = state_32368__$1; +(statearr_32400_35653[(2)] = inst_32344); + +(statearr_32400_35653[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32369 === (10))){ +var inst_32361 = (state_32368[(2)]); +var state_32368__$1 = state_32368; +var statearr_32401_35655 = state_32368__$1; +(statearr_32401_35655[(2)] = inst_32361); + +(statearr_32401_35655[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32369 === (8))){ +var inst_32353 = (state_32368[(9)]); +var inst_32357 = cljs.core.deref(inst_32353); +var state_32368__$1 = state_32368; +var statearr_32405_35662 = state_32368__$1; +(statearr_32405_35662[(2)] = inst_32357); + +(statearr_32405_35662[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$reduce_$_state_machine__30618__auto__ = null; +var cljs$core$async$reduce_$_state_machine__30618__auto____0 = (function (){ +var statearr_32408 = [null,null,null,null,null,null,null,null,null,null]; +(statearr_32408[(0)] = cljs$core$async$reduce_$_state_machine__30618__auto__); + +(statearr_32408[(1)] = (1)); + +return statearr_32408; +}); +var cljs$core$async$reduce_$_state_machine__30618__auto____1 = (function (state_32368){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32368); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e32409){var ex__30621__auto__ = e32409; +var statearr_32410_35664 = state_32368; +(statearr_32410_35664[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32368[(4)]))){ +var statearr_32413_35665 = state_32368; +(statearr_32413_35665[(1)] = cljs.core.first((state_32368[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35666 = state_32368; +state_32368 = G__35666; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$reduce_$_state_machine__30618__auto__ = function(state_32368){ +switch(arguments.length){ +case 0: +return cljs$core$async$reduce_$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$reduce_$_state_machine__30618__auto____1.call(this,state_32368); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$reduce_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$reduce_$_state_machine__30618__auto____0; +cljs$core$async$reduce_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$reduce_$_state_machine__30618__auto____1; +return cljs$core$async$reduce_$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_32415 = f__31399__auto__(); +(statearr_32415[(6)] = c__31398__auto__); + +return statearr_32415; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + +return c__31398__auto__; +}); +/** + * async/reduces a channel with a transformation (xform f). + * Returns a channel containing the result. ch must close before + * transduce produces a result. + */ +cljs.core.async.transduce = (function cljs$core$async$transduce(xform,f,init,ch){ +var f__$1 = (xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(f) : xform.call(null, f)); +var c__31398__auto__ = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_32425){ +var state_val_32426 = (state_32425[(1)]); +if((state_val_32426 === (1))){ +var inst_32420 = cljs.core.async.reduce(f__$1,init,ch); +var state_32425__$1 = state_32425; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32425__$1,(2),inst_32420); +} else { +if((state_val_32426 === (2))){ +var inst_32422 = (state_32425[(2)]); +var inst_32423 = (f__$1.cljs$core$IFn$_invoke$arity$1 ? f__$1.cljs$core$IFn$_invoke$arity$1(inst_32422) : f__$1.call(null, inst_32422)); +var state_32425__$1 = state_32425; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32425__$1,inst_32423); +} else { +return null; +} +} +}); +return (function() { +var cljs$core$async$transduce_$_state_machine__30618__auto__ = null; +var cljs$core$async$transduce_$_state_machine__30618__auto____0 = (function (){ +var statearr_32433 = [null,null,null,null,null,null,null]; +(statearr_32433[(0)] = cljs$core$async$transduce_$_state_machine__30618__auto__); + +(statearr_32433[(1)] = (1)); + +return statearr_32433; +}); +var cljs$core$async$transduce_$_state_machine__30618__auto____1 = (function (state_32425){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32425); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e32435){var ex__30621__auto__ = e32435; +var statearr_32436_35668 = state_32425; +(statearr_32436_35668[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32425[(4)]))){ +var statearr_32437_35671 = state_32425; +(statearr_32437_35671[(1)] = cljs.core.first((state_32425[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35672 = state_32425; +state_32425 = G__35672; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$transduce_$_state_machine__30618__auto__ = function(state_32425){ +switch(arguments.length){ +case 0: +return cljs$core$async$transduce_$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$transduce_$_state_machine__30618__auto____1.call(this,state_32425); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$transduce_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$transduce_$_state_machine__30618__auto____0; +cljs$core$async$transduce_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$transduce_$_state_machine__30618__auto____1; +return cljs$core$async$transduce_$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_32445 = f__31399__auto__(); +(statearr_32445[(6)] = c__31398__auto__); + +return statearr_32445; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + +return c__31398__auto__; +}); +/** + * Puts the contents of coll into the supplied channel. + * + * By default the channel will be closed after the items are copied, + * but can be determined by the close? parameter. + * + * Returns a channel which will close after the items are copied. + */ +cljs.core.async.onto_chan_BANG_ = (function cljs$core$async$onto_chan_BANG_(var_args){ +var G__32450 = arguments.length; +switch (G__32450) { +case 2: +return cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (ch,coll){ +return cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$3(ch,coll,true); +})); + +(cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (ch,coll,close_QMARK_){ +var c__31398__auto__ = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_32484){ +var state_val_32485 = (state_32484[(1)]); +if((state_val_32485 === (7))){ +var inst_32465 = (state_32484[(2)]); +var state_32484__$1 = state_32484; +var statearr_32499_35678 = state_32484__$1; +(statearr_32499_35678[(2)] = inst_32465); + +(statearr_32499_35678[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (1))){ +var inst_32455 = cljs.core.seq(coll); +var inst_32456 = inst_32455; +var state_32484__$1 = (function (){var statearr_32512 = state_32484; +(statearr_32512[(7)] = inst_32456); + +return statearr_32512; +})(); +var statearr_32516_35679 = state_32484__$1; +(statearr_32516_35679[(2)] = null); + +(statearr_32516_35679[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (4))){ +var inst_32456 = (state_32484[(7)]); +var inst_32463 = cljs.core.first(inst_32456); +var state_32484__$1 = state_32484; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_32484__$1,(7),ch,inst_32463); +} else { +if((state_val_32485 === (13))){ +var inst_32477 = (state_32484[(2)]); +var state_32484__$1 = state_32484; +var statearr_32530_35680 = state_32484__$1; +(statearr_32530_35680[(2)] = inst_32477); + +(statearr_32530_35680[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (6))){ +var inst_32468 = (state_32484[(2)]); +var state_32484__$1 = state_32484; +if(cljs.core.truth_(inst_32468)){ +var statearr_32534_35681 = state_32484__$1; +(statearr_32534_35681[(1)] = (8)); + +} else { +var statearr_32535_35682 = state_32484__$1; +(statearr_32535_35682[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (3))){ +var inst_32481 = (state_32484[(2)]); +var state_32484__$1 = state_32484; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32484__$1,inst_32481); +} else { +if((state_val_32485 === (12))){ +var state_32484__$1 = state_32484; +var statearr_32539_35683 = state_32484__$1; +(statearr_32539_35683[(2)] = null); + +(statearr_32539_35683[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (2))){ +var inst_32456 = (state_32484[(7)]); +var state_32484__$1 = state_32484; +if(cljs.core.truth_(inst_32456)){ +var statearr_32540_35684 = state_32484__$1; +(statearr_32540_35684[(1)] = (4)); + +} else { +var statearr_32541_35685 = state_32484__$1; +(statearr_32541_35685[(1)] = (5)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (11))){ +var inst_32474 = cljs.core.async.close_BANG_(ch); +var state_32484__$1 = state_32484; +var statearr_32542_35686 = state_32484__$1; +(statearr_32542_35686[(2)] = inst_32474); + +(statearr_32542_35686[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (9))){ +var state_32484__$1 = state_32484; +if(cljs.core.truth_(close_QMARK_)){ +var statearr_32543_35687 = state_32484__$1; +(statearr_32543_35687[(1)] = (11)); + +} else { +var statearr_32544_35688 = state_32484__$1; +(statearr_32544_35688[(1)] = (12)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (5))){ +var inst_32456 = (state_32484[(7)]); +var state_32484__$1 = state_32484; +var statearr_32545_35689 = state_32484__$1; +(statearr_32545_35689[(2)] = inst_32456); + +(statearr_32545_35689[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (10))){ +var inst_32479 = (state_32484[(2)]); +var state_32484__$1 = state_32484; +var statearr_32546_35694 = state_32484__$1; +(statearr_32546_35694[(2)] = inst_32479); + +(statearr_32546_35694[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32485 === (8))){ +var inst_32456 = (state_32484[(7)]); +var inst_32470 = cljs.core.next(inst_32456); +var inst_32456__$1 = inst_32470; +var state_32484__$1 = (function (){var statearr_32547 = state_32484; +(statearr_32547[(7)] = inst_32456__$1); + +return statearr_32547; +})(); +var statearr_32548_35697 = state_32484__$1; +(statearr_32548_35697[(2)] = null); + +(statearr_32548_35697[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_32565 = [null,null,null,null,null,null,null,null]; +(statearr_32565[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_32565[(1)] = (1)); + +return statearr_32565; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_32484){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32484); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e32566){var ex__30621__auto__ = e32566; +var statearr_32568_35699 = state_32484; +(statearr_32568_35699[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32484[(4)]))){ +var statearr_32578_35700 = state_32484; +(statearr_32578_35700[(1)] = cljs.core.first((state_32484[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35702 = state_32484; +state_32484 = G__35702; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_32484){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_32484); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_32591 = f__31399__auto__(); +(statearr_32591[(6)] = c__31398__auto__); + +return statearr_32591; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + +return c__31398__auto__; +})); + +(cljs.core.async.onto_chan_BANG_.cljs$lang$maxFixedArity = 3); + +/** + * Creates and returns a channel which contains the contents of coll, + * closing when exhausted. + */ +cljs.core.async.to_chan_BANG_ = (function cljs$core$async$to_chan_BANG_(coll){ +var ch = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(cljs.core.bounded_count((100),coll)); +cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$2(ch,coll); + +return ch; +}); +/** + * Deprecated - use onto-chan! + */ +cljs.core.async.onto_chan = (function cljs$core$async$onto_chan(var_args){ +var G__32605 = arguments.length; +switch (G__32605) { +case 2: +return cljs.core.async.onto_chan.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.onto_chan.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.onto_chan.cljs$core$IFn$_invoke$arity$2 = (function (ch,coll){ +return cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$3(ch,coll,true); +})); + +(cljs.core.async.onto_chan.cljs$core$IFn$_invoke$arity$3 = (function (ch,coll,close_QMARK_){ +return cljs.core.async.onto_chan_BANG_.cljs$core$IFn$_invoke$arity$3(ch,coll,close_QMARK_); +})); + +(cljs.core.async.onto_chan.cljs$lang$maxFixedArity = 3); + +/** + * Deprecated - use to-chan! + */ +cljs.core.async.to_chan = (function cljs$core$async$to_chan(coll){ +return cljs.core.async.to_chan_BANG_(coll); +}); + +/** + * @interface + */ +cljs.core.async.Mux = function(){}; + +var cljs$core$async$Mux$muxch_STAR_$dyn_35709 = (function (_){ +var x__5393__auto__ = (((_ == null))?null:_); +var m__5394__auto__ = (cljs.core.async.muxch_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(_) : m__5394__auto__.call(null, _)); +} else { +var m__5392__auto__ = (cljs.core.async.muxch_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(_) : m__5392__auto__.call(null, _)); +} else { +throw cljs.core.missing_protocol("Mux.muxch*",_); +} +} +}); +cljs.core.async.muxch_STAR_ = (function cljs$core$async$muxch_STAR_(_){ +if((((!((_ == null)))) && ((!((_.cljs$core$async$Mux$muxch_STAR_$arity$1 == null)))))){ +return _.cljs$core$async$Mux$muxch_STAR_$arity$1(_); +} else { +return cljs$core$async$Mux$muxch_STAR_$dyn_35709(_); +} +}); + + +/** + * @interface + */ +cljs.core.async.Mult = function(){}; + +var cljs$core$async$Mult$tap_STAR_$dyn_35714 = (function (m,ch,close_QMARK_){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.tap_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(m,ch,close_QMARK_) : m__5394__auto__.call(null, m,ch,close_QMARK_)); +} else { +var m__5392__auto__ = (cljs.core.async.tap_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(m,ch,close_QMARK_) : m__5392__auto__.call(null, m,ch,close_QMARK_)); +} else { +throw cljs.core.missing_protocol("Mult.tap*",m); +} +} +}); +cljs.core.async.tap_STAR_ = (function cljs$core$async$tap_STAR_(m,ch,close_QMARK_){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mult$tap_STAR_$arity$3 == null)))))){ +return m.cljs$core$async$Mult$tap_STAR_$arity$3(m,ch,close_QMARK_); +} else { +return cljs$core$async$Mult$tap_STAR_$dyn_35714(m,ch,close_QMARK_); +} +}); + +var cljs$core$async$Mult$untap_STAR_$dyn_35718 = (function (m,ch){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.untap_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(m,ch) : m__5394__auto__.call(null, m,ch)); +} else { +var m__5392__auto__ = (cljs.core.async.untap_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(m,ch) : m__5392__auto__.call(null, m,ch)); +} else { +throw cljs.core.missing_protocol("Mult.untap*",m); +} +} +}); +cljs.core.async.untap_STAR_ = (function cljs$core$async$untap_STAR_(m,ch){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mult$untap_STAR_$arity$2 == null)))))){ +return m.cljs$core$async$Mult$untap_STAR_$arity$2(m,ch); +} else { +return cljs$core$async$Mult$untap_STAR_$dyn_35718(m,ch); +} +}); + +var cljs$core$async$Mult$untap_all_STAR_$dyn_35723 = (function (m){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.untap_all_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(m) : m__5394__auto__.call(null, m)); +} else { +var m__5392__auto__ = (cljs.core.async.untap_all_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(m) : m__5392__auto__.call(null, m)); +} else { +throw cljs.core.missing_protocol("Mult.untap-all*",m); +} +} +}); +cljs.core.async.untap_all_STAR_ = (function cljs$core$async$untap_all_STAR_(m){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mult$untap_all_STAR_$arity$1 == null)))))){ +return m.cljs$core$async$Mult$untap_all_STAR_$arity$1(m); +} else { +return cljs$core$async$Mult$untap_all_STAR_$dyn_35723(m); +} +}); + + +/** +* @constructor + * @implements {cljs.core.async.Mult} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.async.Mux} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async32692 = (function (ch,cs,meta32693){ +this.ch = ch; +this.cs = cs; +this.meta32693 = meta32693; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_32694,meta32693__$1){ +var self__ = this; +var _32694__$1 = this; +return (new cljs.core.async.t_cljs$core$async32692(self__.ch,self__.cs,meta32693__$1)); +})); + +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_32694){ +var self__ = this; +var _32694__$1 = this; +return self__.meta32693; +})); + +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$async$Mux$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$async$Mux$muxch_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.ch; +})); + +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$async$Mult$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$async$Mult$tap_STAR_$arity$3 = (function (_,ch__$1,close_QMARK_){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(self__.cs,cljs.core.assoc,ch__$1,close_QMARK_); + +return null; +})); + +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$async$Mult$untap_STAR_$arity$2 = (function (_,ch__$1){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(self__.cs,cljs.core.dissoc,ch__$1); + +return null; +})); + +(cljs.core.async.t_cljs$core$async32692.prototype.cljs$core$async$Mult$untap_all_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.reset_BANG_(self__.cs,cljs.core.PersistentArrayMap.EMPTY); + +return null; +})); + +(cljs.core.async.t_cljs$core$async32692.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ch","ch",1085813622,null),new cljs.core.Symbol(null,"cs","cs",-117024463,null),new cljs.core.Symbol(null,"meta32693","meta32693",174096489,null)], null); +})); + +(cljs.core.async.t_cljs$core$async32692.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async32692.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async32692"); + +(cljs.core.async.t_cljs$core$async32692.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async32692"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async32692. + */ +cljs.core.async.__GT_t_cljs$core$async32692 = (function cljs$core$async$__GT_t_cljs$core$async32692(ch,cs,meta32693){ +return (new cljs.core.async.t_cljs$core$async32692(ch,cs,meta32693)); +}); + + +/** + * Creates and returns a mult(iple) of the supplied channel. Channels + * containing copies of the channel can be created with 'tap', and + * detached with 'untap'. + * + * Each item is distributed to all taps in parallel and synchronously, + * i.e. each tap must accept before the next item is distributed. Use + * buffering/windowing to prevent slow taps from holding up the mult. + * + * Items received when there are no taps get dropped. + * + * If a tap puts to a closed channel, it will be removed from the mult. + */ +cljs.core.async.mult = (function cljs$core$async$mult(ch){ +var cs = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var m = (new cljs.core.async.t_cljs$core$async32692(ch,cs,cljs.core.PersistentArrayMap.EMPTY)); +var dchan = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +var dctr = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null); +var done = (function (_){ +if((cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(dctr,cljs.core.dec) === (0))){ +return cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2(dchan,true); +} else { +return null; +} +}); +var c__31398__auto___35739 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_32890){ +var state_val_32894 = (state_32890[(1)]); +if((state_val_32894 === (7))){ +var inst_32886 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_32896_35740 = state_32890__$1; +(statearr_32896_35740[(2)] = inst_32886); + +(statearr_32896_35740[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (20))){ +var inst_32764 = (state_32890[(7)]); +var inst_32781 = cljs.core.first(inst_32764); +var inst_32783 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_32781,(0),null); +var inst_32787 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_32781,(1),null); +var state_32890__$1 = (function (){var statearr_32898 = state_32890; +(statearr_32898[(8)] = inst_32783); + +return statearr_32898; +})(); +if(cljs.core.truth_(inst_32787)){ +var statearr_32901_35741 = state_32890__$1; +(statearr_32901_35741[(1)] = (22)); + +} else { +var statearr_32902_35742 = state_32890__$1; +(statearr_32902_35742[(1)] = (23)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (27))){ +var inst_32821 = (state_32890[(9)]); +var inst_32826 = (state_32890[(10)]); +var inst_32728 = (state_32890[(11)]); +var inst_32819 = (state_32890[(12)]); +var inst_32826__$1 = cljs.core._nth(inst_32819,inst_32821); +var inst_32830 = cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$3(inst_32826__$1,inst_32728,done); +var state_32890__$1 = (function (){var statearr_32903 = state_32890; +(statearr_32903[(10)] = inst_32826__$1); + +return statearr_32903; +})(); +if(cljs.core.truth_(inst_32830)){ +var statearr_32904_35746 = state_32890__$1; +(statearr_32904_35746[(1)] = (30)); + +} else { +var statearr_32905_35747 = state_32890__$1; +(statearr_32905_35747[(1)] = (31)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (1))){ +var state_32890__$1 = state_32890; +var statearr_32906_35748 = state_32890__$1; +(statearr_32906_35748[(2)] = null); + +(statearr_32906_35748[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (24))){ +var inst_32764 = (state_32890[(7)]); +var inst_32795 = (state_32890[(2)]); +var inst_32796 = cljs.core.next(inst_32764); +var inst_32740 = inst_32796; +var inst_32741 = null; +var inst_32742 = (0); +var inst_32743 = (0); +var state_32890__$1 = (function (){var statearr_32914 = state_32890; +(statearr_32914[(13)] = inst_32742); + +(statearr_32914[(14)] = inst_32740); + +(statearr_32914[(15)] = inst_32743); + +(statearr_32914[(16)] = inst_32741); + +(statearr_32914[(17)] = inst_32795); + +return statearr_32914; +})(); +var statearr_32915_35749 = state_32890__$1; +(statearr_32915_35749[(2)] = null); + +(statearr_32915_35749[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (39))){ +var state_32890__$1 = state_32890; +var statearr_32923_35750 = state_32890__$1; +(statearr_32923_35750[(2)] = null); + +(statearr_32923_35750[(1)] = (41)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (4))){ +var inst_32728 = (state_32890[(11)]); +var inst_32728__$1 = (state_32890[(2)]); +var inst_32729 = (inst_32728__$1 == null); +var state_32890__$1 = (function (){var statearr_32925 = state_32890; +(statearr_32925[(11)] = inst_32728__$1); + +return statearr_32925; +})(); +if(cljs.core.truth_(inst_32729)){ +var statearr_32926_35751 = state_32890__$1; +(statearr_32926_35751[(1)] = (5)); + +} else { +var statearr_32930_35752 = state_32890__$1; +(statearr_32930_35752[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (15))){ +var inst_32742 = (state_32890[(13)]); +var inst_32740 = (state_32890[(14)]); +var inst_32743 = (state_32890[(15)]); +var inst_32741 = (state_32890[(16)]); +var inst_32760 = (state_32890[(2)]); +var inst_32761 = (inst_32743 + (1)); +var tmp32917 = inst_32742; +var tmp32918 = inst_32740; +var tmp32919 = inst_32741; +var inst_32740__$1 = tmp32918; +var inst_32741__$1 = tmp32919; +var inst_32742__$1 = tmp32917; +var inst_32743__$1 = inst_32761; +var state_32890__$1 = (function (){var statearr_32949 = state_32890; +(statearr_32949[(13)] = inst_32742__$1); + +(statearr_32949[(14)] = inst_32740__$1); + +(statearr_32949[(18)] = inst_32760); + +(statearr_32949[(15)] = inst_32743__$1); + +(statearr_32949[(16)] = inst_32741__$1); + +return statearr_32949; +})(); +var statearr_32953_35754 = state_32890__$1; +(statearr_32953_35754[(2)] = null); + +(statearr_32953_35754[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (21))){ +var inst_32799 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_32959_35756 = state_32890__$1; +(statearr_32959_35756[(2)] = inst_32799); + +(statearr_32959_35756[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (31))){ +var inst_32826 = (state_32890[(10)]); +var inst_32833 = m.cljs$core$async$Mult$untap_STAR_$arity$2(null, inst_32826); +var state_32890__$1 = state_32890; +var statearr_32960_35760 = state_32890__$1; +(statearr_32960_35760[(2)] = inst_32833); + +(statearr_32960_35760[(1)] = (32)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (32))){ +var inst_32821 = (state_32890[(9)]); +var inst_32818 = (state_32890[(19)]); +var inst_32820 = (state_32890[(20)]); +var inst_32819 = (state_32890[(12)]); +var inst_32835 = (state_32890[(2)]); +var inst_32838 = (inst_32821 + (1)); +var tmp32956 = inst_32818; +var tmp32957 = inst_32820; +var tmp32958 = inst_32819; +var inst_32818__$1 = tmp32956; +var inst_32819__$1 = tmp32958; +var inst_32820__$1 = tmp32957; +var inst_32821__$1 = inst_32838; +var state_32890__$1 = (function (){var statearr_32966 = state_32890; +(statearr_32966[(9)] = inst_32821__$1); + +(statearr_32966[(19)] = inst_32818__$1); + +(statearr_32966[(21)] = inst_32835); + +(statearr_32966[(20)] = inst_32820__$1); + +(statearr_32966[(12)] = inst_32819__$1); + +return statearr_32966; +})(); +var statearr_32967_35761 = state_32890__$1; +(statearr_32967_35761[(2)] = null); + +(statearr_32967_35761[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (40))){ +var inst_32853 = (state_32890[(22)]); +var inst_32858 = m.cljs$core$async$Mult$untap_STAR_$arity$2(null, inst_32853); +var state_32890__$1 = state_32890; +var statearr_32972_35762 = state_32890__$1; +(statearr_32972_35762[(2)] = inst_32858); + +(statearr_32972_35762[(1)] = (41)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (33))){ +var inst_32841 = (state_32890[(23)]); +var inst_32843 = cljs.core.chunked_seq_QMARK_(inst_32841); +var state_32890__$1 = state_32890; +if(inst_32843){ +var statearr_32974_35764 = state_32890__$1; +(statearr_32974_35764[(1)] = (36)); + +} else { +var statearr_32975_35765 = state_32890__$1; +(statearr_32975_35765[(1)] = (37)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (13))){ +var inst_32753 = (state_32890[(24)]); +var inst_32756 = cljs.core.async.close_BANG_(inst_32753); +var state_32890__$1 = state_32890; +var statearr_32977_35766 = state_32890__$1; +(statearr_32977_35766[(2)] = inst_32756); + +(statearr_32977_35766[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (22))){ +var inst_32783 = (state_32890[(8)]); +var inst_32789 = cljs.core.async.close_BANG_(inst_32783); +var state_32890__$1 = state_32890; +var statearr_32978_35767 = state_32890__$1; +(statearr_32978_35767[(2)] = inst_32789); + +(statearr_32978_35767[(1)] = (24)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (36))){ +var inst_32841 = (state_32890[(23)]); +var inst_32845 = cljs.core.chunk_first(inst_32841); +var inst_32846 = cljs.core.chunk_rest(inst_32841); +var inst_32847 = cljs.core.count(inst_32845); +var inst_32818 = inst_32846; +var inst_32819 = inst_32845; +var inst_32820 = inst_32847; +var inst_32821 = (0); +var state_32890__$1 = (function (){var statearr_32982 = state_32890; +(statearr_32982[(9)] = inst_32821); + +(statearr_32982[(19)] = inst_32818); + +(statearr_32982[(20)] = inst_32820); + +(statearr_32982[(12)] = inst_32819); + +return statearr_32982; +})(); +var statearr_32983_35768 = state_32890__$1; +(statearr_32983_35768[(2)] = null); + +(statearr_32983_35768[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (41))){ +var inst_32841 = (state_32890[(23)]); +var inst_32862 = (state_32890[(2)]); +var inst_32863 = cljs.core.next(inst_32841); +var inst_32818 = inst_32863; +var inst_32819 = null; +var inst_32820 = (0); +var inst_32821 = (0); +var state_32890__$1 = (function (){var statearr_32984 = state_32890; +(statearr_32984[(9)] = inst_32821); + +(statearr_32984[(19)] = inst_32818); + +(statearr_32984[(20)] = inst_32820); + +(statearr_32984[(25)] = inst_32862); + +(statearr_32984[(12)] = inst_32819); + +return statearr_32984; +})(); +var statearr_32986_35769 = state_32890__$1; +(statearr_32986_35769[(2)] = null); + +(statearr_32986_35769[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (43))){ +var state_32890__$1 = state_32890; +var statearr_32991_35770 = state_32890__$1; +(statearr_32991_35770[(2)] = null); + +(statearr_32991_35770[(1)] = (44)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (29))){ +var inst_32874 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_32997_35771 = state_32890__$1; +(statearr_32997_35771[(2)] = inst_32874); + +(statearr_32997_35771[(1)] = (26)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (44))){ +var inst_32883 = (state_32890[(2)]); +var state_32890__$1 = (function (){var statearr_32999 = state_32890; +(statearr_32999[(26)] = inst_32883); + +return statearr_32999; +})(); +var statearr_33000_35772 = state_32890__$1; +(statearr_33000_35772[(2)] = null); + +(statearr_33000_35772[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (6))){ +var inst_32810 = (state_32890[(27)]); +var inst_32809 = cljs.core.deref(cs); +var inst_32810__$1 = cljs.core.keys(inst_32809); +var inst_32811 = cljs.core.count(inst_32810__$1); +var inst_32812 = cljs.core.reset_BANG_(dctr,inst_32811); +var inst_32817 = cljs.core.seq(inst_32810__$1); +var inst_32818 = inst_32817; +var inst_32819 = null; +var inst_32820 = (0); +var inst_32821 = (0); +var state_32890__$1 = (function (){var statearr_33003 = state_32890; +(statearr_33003[(9)] = inst_32821); + +(statearr_33003[(19)] = inst_32818); + +(statearr_33003[(28)] = inst_32812); + +(statearr_33003[(20)] = inst_32820); + +(statearr_33003[(27)] = inst_32810__$1); + +(statearr_33003[(12)] = inst_32819); + +return statearr_33003; +})(); +var statearr_33011_35773 = state_32890__$1; +(statearr_33011_35773[(2)] = null); + +(statearr_33011_35773[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (28))){ +var inst_32818 = (state_32890[(19)]); +var inst_32841 = (state_32890[(23)]); +var inst_32841__$1 = cljs.core.seq(inst_32818); +var state_32890__$1 = (function (){var statearr_33015 = state_32890; +(statearr_33015[(23)] = inst_32841__$1); + +return statearr_33015; +})(); +if(inst_32841__$1){ +var statearr_33016_35776 = state_32890__$1; +(statearr_33016_35776[(1)] = (33)); + +} else { +var statearr_33017_35778 = state_32890__$1; +(statearr_33017_35778[(1)] = (34)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (25))){ +var inst_32821 = (state_32890[(9)]); +var inst_32820 = (state_32890[(20)]); +var inst_32823 = (inst_32821 < inst_32820); +var inst_32824 = inst_32823; +var state_32890__$1 = state_32890; +if(cljs.core.truth_(inst_32824)){ +var statearr_33024_35784 = state_32890__$1; +(statearr_33024_35784[(1)] = (27)); + +} else { +var statearr_33026_35785 = state_32890__$1; +(statearr_33026_35785[(1)] = (28)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (34))){ +var state_32890__$1 = state_32890; +var statearr_33028_35786 = state_32890__$1; +(statearr_33028_35786[(2)] = null); + +(statearr_33028_35786[(1)] = (35)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (17))){ +var state_32890__$1 = state_32890; +var statearr_33033_35788 = state_32890__$1; +(statearr_33033_35788[(2)] = null); + +(statearr_33033_35788[(1)] = (18)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (3))){ +var inst_32888 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +return cljs.core.async.impl.ioc_helpers.return_chan(state_32890__$1,inst_32888); +} else { +if((state_val_32894 === (12))){ +var inst_32805 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_33034_35790 = state_32890__$1; +(statearr_33034_35790[(2)] = inst_32805); + +(statearr_33034_35790[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (2))){ +var state_32890__$1 = state_32890; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32890__$1,(4),ch); +} else { +if((state_val_32894 === (23))){ +var state_32890__$1 = state_32890; +var statearr_33035_35791 = state_32890__$1; +(statearr_33035_35791[(2)] = null); + +(statearr_33035_35791[(1)] = (24)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (35))){ +var inst_32872 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_33099_35792 = state_32890__$1; +(statearr_33099_35792[(2)] = inst_32872); + +(statearr_33099_35792[(1)] = (29)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (19))){ +var inst_32764 = (state_32890[(7)]); +var inst_32772 = cljs.core.chunk_first(inst_32764); +var inst_32773 = cljs.core.chunk_rest(inst_32764); +var inst_32774 = cljs.core.count(inst_32772); +var inst_32740 = inst_32773; +var inst_32741 = inst_32772; +var inst_32742 = inst_32774; +var inst_32743 = (0); +var state_32890__$1 = (function (){var statearr_33100 = state_32890; +(statearr_33100[(13)] = inst_32742); + +(statearr_33100[(14)] = inst_32740); + +(statearr_33100[(15)] = inst_32743); + +(statearr_33100[(16)] = inst_32741); + +return statearr_33100; +})(); +var statearr_33101_35793 = state_32890__$1; +(statearr_33101_35793[(2)] = null); + +(statearr_33101_35793[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (11))){ +var inst_32740 = (state_32890[(14)]); +var inst_32764 = (state_32890[(7)]); +var inst_32764__$1 = cljs.core.seq(inst_32740); +var state_32890__$1 = (function (){var statearr_33106 = state_32890; +(statearr_33106[(7)] = inst_32764__$1); + +return statearr_33106; +})(); +if(inst_32764__$1){ +var statearr_33111_35794 = state_32890__$1; +(statearr_33111_35794[(1)] = (16)); + +} else { +var statearr_33112_35795 = state_32890__$1; +(statearr_33112_35795[(1)] = (17)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (9))){ +var inst_32807 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_33114_35796 = state_32890__$1; +(statearr_33114_35796[(2)] = inst_32807); + +(statearr_33114_35796[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (5))){ +var inst_32738 = cljs.core.deref(cs); +var inst_32739 = cljs.core.seq(inst_32738); +var inst_32740 = inst_32739; +var inst_32741 = null; +var inst_32742 = (0); +var inst_32743 = (0); +var state_32890__$1 = (function (){var statearr_33118 = state_32890; +(statearr_33118[(13)] = inst_32742); + +(statearr_33118[(14)] = inst_32740); + +(statearr_33118[(15)] = inst_32743); + +(statearr_33118[(16)] = inst_32741); + +return statearr_33118; +})(); +var statearr_33119_35798 = state_32890__$1; +(statearr_33119_35798[(2)] = null); + +(statearr_33119_35798[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (14))){ +var state_32890__$1 = state_32890; +var statearr_33121_35799 = state_32890__$1; +(statearr_33121_35799[(2)] = null); + +(statearr_33121_35799[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (45))){ +var inst_32880 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_33124_35804 = state_32890__$1; +(statearr_33124_35804[(2)] = inst_32880); + +(statearr_33124_35804[(1)] = (44)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (26))){ +var inst_32810 = (state_32890[(27)]); +var inst_32876 = (state_32890[(2)]); +var inst_32877 = cljs.core.seq(inst_32810); +var state_32890__$1 = (function (){var statearr_33127 = state_32890; +(statearr_33127[(29)] = inst_32876); + +return statearr_33127; +})(); +if(inst_32877){ +var statearr_33128_35805 = state_32890__$1; +(statearr_33128_35805[(1)] = (42)); + +} else { +var statearr_33129_35806 = state_32890__$1; +(statearr_33129_35806[(1)] = (43)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (16))){ +var inst_32764 = (state_32890[(7)]); +var inst_32770 = cljs.core.chunked_seq_QMARK_(inst_32764); +var state_32890__$1 = state_32890; +if(inst_32770){ +var statearr_33130_35807 = state_32890__$1; +(statearr_33130_35807[(1)] = (19)); + +} else { +var statearr_33131_35808 = state_32890__$1; +(statearr_33131_35808[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (38))){ +var inst_32866 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_33136_35809 = state_32890__$1; +(statearr_33136_35809[(2)] = inst_32866); + +(statearr_33136_35809[(1)] = (35)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (30))){ +var state_32890__$1 = state_32890; +var statearr_33137_35813 = state_32890__$1; +(statearr_33137_35813[(2)] = null); + +(statearr_33137_35813[(1)] = (32)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (10))){ +var inst_32743 = (state_32890[(15)]); +var inst_32741 = (state_32890[(16)]); +var inst_32752 = cljs.core._nth(inst_32741,inst_32743); +var inst_32753 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_32752,(0),null); +var inst_32754 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_32752,(1),null); +var state_32890__$1 = (function (){var statearr_33138 = state_32890; +(statearr_33138[(24)] = inst_32753); + +return statearr_33138; +})(); +if(cljs.core.truth_(inst_32754)){ +var statearr_33139_35816 = state_32890__$1; +(statearr_33139_35816[(1)] = (13)); + +} else { +var statearr_33140_35818 = state_32890__$1; +(statearr_33140_35818[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (18))){ +var inst_32802 = (state_32890[(2)]); +var state_32890__$1 = state_32890; +var statearr_33141_35819 = state_32890__$1; +(statearr_33141_35819[(2)] = inst_32802); + +(statearr_33141_35819[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (42))){ +var state_32890__$1 = state_32890; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_32890__$1,(45),dchan); +} else { +if((state_val_32894 === (37))){ +var inst_32853 = (state_32890[(22)]); +var inst_32728 = (state_32890[(11)]); +var inst_32841 = (state_32890[(23)]); +var inst_32853__$1 = cljs.core.first(inst_32841); +var inst_32854 = cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$3(inst_32853__$1,inst_32728,done); +var state_32890__$1 = (function (){var statearr_33142 = state_32890; +(statearr_33142[(22)] = inst_32853__$1); + +return statearr_33142; +})(); +if(cljs.core.truth_(inst_32854)){ +var statearr_33144_35823 = state_32890__$1; +(statearr_33144_35823[(1)] = (39)); + +} else { +var statearr_33145_35824 = state_32890__$1; +(statearr_33145_35824[(1)] = (40)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_32894 === (8))){ +var inst_32742 = (state_32890[(13)]); +var inst_32743 = (state_32890[(15)]); +var inst_32746 = (inst_32743 < inst_32742); +var inst_32747 = inst_32746; +var state_32890__$1 = state_32890; +if(cljs.core.truth_(inst_32747)){ +var statearr_33147_35825 = state_32890__$1; +(statearr_33147_35825[(1)] = (10)); + +} else { +var statearr_33148_35826 = state_32890__$1; +(statearr_33148_35826[(1)] = (11)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$mult_$_state_machine__30618__auto__ = null; +var cljs$core$async$mult_$_state_machine__30618__auto____0 = (function (){ +var statearr_33157 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_33157[(0)] = cljs$core$async$mult_$_state_machine__30618__auto__); + +(statearr_33157[(1)] = (1)); + +return statearr_33157; +}); +var cljs$core$async$mult_$_state_machine__30618__auto____1 = (function (state_32890){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_32890); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e33161){var ex__30621__auto__ = e33161; +var statearr_33162_35832 = state_32890; +(statearr_33162_35832[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_32890[(4)]))){ +var statearr_33163_35833 = state_32890; +(statearr_33163_35833[(1)] = cljs.core.first((state_32890[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35835 = state_32890; +state_32890 = G__35835; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$mult_$_state_machine__30618__auto__ = function(state_32890){ +switch(arguments.length){ +case 0: +return cljs$core$async$mult_$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$mult_$_state_machine__30618__auto____1.call(this,state_32890); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$mult_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$mult_$_state_machine__30618__auto____0; +cljs$core$async$mult_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$mult_$_state_machine__30618__auto____1; +return cljs$core$async$mult_$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_33164 = f__31399__auto__(); +(statearr_33164[(6)] = c__31398__auto___35739); + +return statearr_33164; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return m; +}); +/** + * Copies the mult source onto the supplied channel. + * + * By default the channel will be closed when the source closes, + * but can be determined by the close? parameter. + */ +cljs.core.async.tap = (function cljs$core$async$tap(var_args){ +var G__33173 = arguments.length; +switch (G__33173) { +case 2: +return cljs.core.async.tap.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.tap.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.tap.cljs$core$IFn$_invoke$arity$2 = (function (mult,ch){ +return cljs.core.async.tap.cljs$core$IFn$_invoke$arity$3(mult,ch,true); +})); + +(cljs.core.async.tap.cljs$core$IFn$_invoke$arity$3 = (function (mult,ch,close_QMARK_){ +cljs.core.async.tap_STAR_(mult,ch,close_QMARK_); + +return ch; +})); + +(cljs.core.async.tap.cljs$lang$maxFixedArity = 3); + +/** + * Disconnects a target channel from a mult + */ +cljs.core.async.untap = (function cljs$core$async$untap(mult,ch){ +return cljs.core.async.untap_STAR_(mult,ch); +}); +/** + * Disconnects all target channels from a mult + */ +cljs.core.async.untap_all = (function cljs$core$async$untap_all(mult){ +return cljs.core.async.untap_all_STAR_(mult); +}); + +/** + * @interface + */ +cljs.core.async.Mix = function(){}; + +var cljs$core$async$Mix$admix_STAR_$dyn_35843 = (function (m,ch){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.admix_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(m,ch) : m__5394__auto__.call(null, m,ch)); +} else { +var m__5392__auto__ = (cljs.core.async.admix_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(m,ch) : m__5392__auto__.call(null, m,ch)); +} else { +throw cljs.core.missing_protocol("Mix.admix*",m); +} +} +}); +cljs.core.async.admix_STAR_ = (function cljs$core$async$admix_STAR_(m,ch){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mix$admix_STAR_$arity$2 == null)))))){ +return m.cljs$core$async$Mix$admix_STAR_$arity$2(m,ch); +} else { +return cljs$core$async$Mix$admix_STAR_$dyn_35843(m,ch); +} +}); + +var cljs$core$async$Mix$unmix_STAR_$dyn_35844 = (function (m,ch){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.unmix_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(m,ch) : m__5394__auto__.call(null, m,ch)); +} else { +var m__5392__auto__ = (cljs.core.async.unmix_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(m,ch) : m__5392__auto__.call(null, m,ch)); +} else { +throw cljs.core.missing_protocol("Mix.unmix*",m); +} +} +}); +cljs.core.async.unmix_STAR_ = (function cljs$core$async$unmix_STAR_(m,ch){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mix$unmix_STAR_$arity$2 == null)))))){ +return m.cljs$core$async$Mix$unmix_STAR_$arity$2(m,ch); +} else { +return cljs$core$async$Mix$unmix_STAR_$dyn_35844(m,ch); +} +}); + +var cljs$core$async$Mix$unmix_all_STAR_$dyn_35850 = (function (m){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.unmix_all_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(m) : m__5394__auto__.call(null, m)); +} else { +var m__5392__auto__ = (cljs.core.async.unmix_all_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(m) : m__5392__auto__.call(null, m)); +} else { +throw cljs.core.missing_protocol("Mix.unmix-all*",m); +} +} +}); +cljs.core.async.unmix_all_STAR_ = (function cljs$core$async$unmix_all_STAR_(m){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mix$unmix_all_STAR_$arity$1 == null)))))){ +return m.cljs$core$async$Mix$unmix_all_STAR_$arity$1(m); +} else { +return cljs$core$async$Mix$unmix_all_STAR_$dyn_35850(m); +} +}); + +var cljs$core$async$Mix$toggle_STAR_$dyn_35851 = (function (m,state_map){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.toggle_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(m,state_map) : m__5394__auto__.call(null, m,state_map)); +} else { +var m__5392__auto__ = (cljs.core.async.toggle_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(m,state_map) : m__5392__auto__.call(null, m,state_map)); +} else { +throw cljs.core.missing_protocol("Mix.toggle*",m); +} +} +}); +cljs.core.async.toggle_STAR_ = (function cljs$core$async$toggle_STAR_(m,state_map){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mix$toggle_STAR_$arity$2 == null)))))){ +return m.cljs$core$async$Mix$toggle_STAR_$arity$2(m,state_map); +} else { +return cljs$core$async$Mix$toggle_STAR_$dyn_35851(m,state_map); +} +}); + +var cljs$core$async$Mix$solo_mode_STAR_$dyn_35856 = (function (m,mode){ +var x__5393__auto__ = (((m == null))?null:m); +var m__5394__auto__ = (cljs.core.async.solo_mode_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(m,mode) : m__5394__auto__.call(null, m,mode)); +} else { +var m__5392__auto__ = (cljs.core.async.solo_mode_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(m,mode) : m__5392__auto__.call(null, m,mode)); +} else { +throw cljs.core.missing_protocol("Mix.solo-mode*",m); +} +} +}); +cljs.core.async.solo_mode_STAR_ = (function cljs$core$async$solo_mode_STAR_(m,mode){ +if((((!((m == null)))) && ((!((m.cljs$core$async$Mix$solo_mode_STAR_$arity$2 == null)))))){ +return m.cljs$core$async$Mix$solo_mode_STAR_$arity$2(m,mode); +} else { +return cljs$core$async$Mix$solo_mode_STAR_$dyn_35856(m,mode); +} +}); + +cljs.core.async.ioc_alts_BANG_ = (function cljs$core$async$ioc_alts_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35858 = arguments.length; +var i__5770__auto___35859 = (0); +while(true){ +if((i__5770__auto___35859 < len__5769__auto___35858)){ +args__5775__auto__.push((arguments[i__5770__auto___35859])); + +var G__35860 = (i__5770__auto___35859 + (1)); +i__5770__auto___35859 = G__35860; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((3) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((3)),(0),null)):null); +return cljs.core.async.ioc_alts_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5776__auto__); +}); + +(cljs.core.async.ioc_alts_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (state,cont_block,ports,p__33225){ +var map__33226 = p__33225; +var map__33226__$1 = cljs.core.__destructure_map(map__33226); +var opts = map__33226__$1; +var statearr_33227_35861 = state; +(statearr_33227_35861[(1)] = cont_block); + + +var temp__5823__auto__ = cljs.core.async.do_alts((function (val){ +var statearr_33228_35862 = state; +(statearr_33228_35862[(2)] = val); + + +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state); +}),ports,opts); +if(cljs.core.truth_(temp__5823__auto__)){ +var cb = temp__5823__auto__; +var statearr_33231_35863 = state; +(statearr_33231_35863[(2)] = cljs.core.deref(cb)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +})); + +(cljs.core.async.ioc_alts_BANG_.cljs$lang$maxFixedArity = (3)); + +/** @this {Function} */ +(cljs.core.async.ioc_alts_BANG_.cljs$lang$applyTo = (function (seq33217){ +var G__33218 = cljs.core.first(seq33217); +var seq33217__$1 = cljs.core.next(seq33217); +var G__33219 = cljs.core.first(seq33217__$1); +var seq33217__$2 = cljs.core.next(seq33217__$1); +var G__33220 = cljs.core.first(seq33217__$2); +var seq33217__$3 = cljs.core.next(seq33217__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__33218,G__33219,G__33220,seq33217__$3); +})); + + +/** +* @constructor + * @implements {cljs.core.IMeta} + * @implements {cljs.core.async.Mix} + * @implements {cljs.core.async.Mux} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async33242 = (function (change,solo_mode,pick,cs,calc_state,out,changed,solo_modes,attrs,meta33243){ +this.change = change; +this.solo_mode = solo_mode; +this.pick = pick; +this.cs = cs; +this.calc_state = calc_state; +this.out = out; +this.changed = changed; +this.solo_modes = solo_modes; +this.attrs = attrs; +this.meta33243 = meta33243; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33244,meta33243__$1){ +var self__ = this; +var _33244__$1 = this; +return (new cljs.core.async.t_cljs$core$async33242(self__.change,self__.solo_mode,self__.pick,self__.cs,self__.calc_state,self__.out,self__.changed,self__.solo_modes,self__.attrs,meta33243__$1)); +})); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33244){ +var self__ = this; +var _33244__$1 = this; +return self__.meta33243; +})); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mux$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mux$muxch_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.out; +})); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mix$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mix$admix_STAR_$arity$2 = (function (_,ch){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(self__.cs,cljs.core.assoc,ch,cljs.core.PersistentArrayMap.EMPTY); + +return (self__.changed.cljs$core$IFn$_invoke$arity$0 ? self__.changed.cljs$core$IFn$_invoke$arity$0() : self__.changed.call(null, )); +})); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mix$unmix_STAR_$arity$2 = (function (_,ch){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(self__.cs,cljs.core.dissoc,ch); + +return (self__.changed.cljs$core$IFn$_invoke$arity$0 ? self__.changed.cljs$core$IFn$_invoke$arity$0() : self__.changed.call(null, )); +})); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mix$unmix_all_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +cljs.core.reset_BANG_(self__.cs,cljs.core.PersistentArrayMap.EMPTY); + +return (self__.changed.cljs$core$IFn$_invoke$arity$0 ? self__.changed.cljs$core$IFn$_invoke$arity$0() : self__.changed.call(null, )); +})); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mix$toggle_STAR_$arity$2 = (function (_,state_map){ +var self__ = this; +var ___$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(self__.cs,cljs.core.partial.cljs$core$IFn$_invoke$arity$2(cljs.core.merge_with,cljs.core.merge),state_map); + +return (self__.changed.cljs$core$IFn$_invoke$arity$0 ? self__.changed.cljs$core$IFn$_invoke$arity$0() : self__.changed.call(null, )); +})); + +(cljs.core.async.t_cljs$core$async33242.prototype.cljs$core$async$Mix$solo_mode_STAR_$arity$2 = (function (_,mode){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_((self__.solo_modes.cljs$core$IFn$_invoke$arity$1 ? self__.solo_modes.cljs$core$IFn$_invoke$arity$1(mode) : self__.solo_modes.call(null, mode)))){ +} else { +throw (new Error(["Assert failed: ",["mode must be one of: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.solo_modes)].join(''),"\n","(solo-modes mode)"].join(''))); +} + +cljs.core.reset_BANG_(self__.solo_mode,mode); + +return (self__.changed.cljs$core$IFn$_invoke$arity$0 ? self__.changed.cljs$core$IFn$_invoke$arity$0() : self__.changed.call(null, )); +})); + +(cljs.core.async.t_cljs$core$async33242.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"change","change",477485025,null),new cljs.core.Symbol(null,"solo-mode","solo-mode",2031788074,null),new cljs.core.Symbol(null,"pick","pick",1300068175,null),new cljs.core.Symbol(null,"cs","cs",-117024463,null),new cljs.core.Symbol(null,"calc-state","calc-state",-349968968,null),new cljs.core.Symbol(null,"out","out",729986010,null),new cljs.core.Symbol(null,"changed","changed",-2083710852,null),new cljs.core.Symbol(null,"solo-modes","solo-modes",882180540,null),new cljs.core.Symbol(null,"attrs","attrs",-450137186,null),new cljs.core.Symbol(null,"meta33243","meta33243",732534308,null)], null); +})); + +(cljs.core.async.t_cljs$core$async33242.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async33242.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async33242"); + +(cljs.core.async.t_cljs$core$async33242.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async33242"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async33242. + */ +cljs.core.async.__GT_t_cljs$core$async33242 = (function cljs$core$async$__GT_t_cljs$core$async33242(change,solo_mode,pick,cs,calc_state,out,changed,solo_modes,attrs,meta33243){ +return (new cljs.core.async.t_cljs$core$async33242(change,solo_mode,pick,cs,calc_state,out,changed,solo_modes,attrs,meta33243)); +}); + + +/** + * Creates and returns a mix of one or more input channels which will + * be put on the supplied out channel. Input sources can be added to + * the mix with 'admix', and removed with 'unmix'. A mix supports + * soloing, muting and pausing multiple inputs atomically using + * 'toggle', and can solo using either muting or pausing as determined + * by 'solo-mode'. + * + * Each channel can have zero or more boolean modes set via 'toggle': + * + * :solo - when true, only this (ond other soloed) channel(s) will appear + * in the mix output channel. :mute and :pause states of soloed + * channels are ignored. If solo-mode is :mute, non-soloed + * channels are muted, if :pause, non-soloed channels are + * paused. + * + * :mute - muted channels will have their contents consumed but not included in the mix + * :pause - paused channels will not have their contents consumed (and thus also not included in the mix) + */ +cljs.core.async.mix = (function cljs$core$async$mix(out){ +var cs = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var solo_modes = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"pause","pause",-2095325672),null,new cljs.core.Keyword(null,"mute","mute",1151223646),null], null), null); +var attrs = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(solo_modes,new cljs.core.Keyword(null,"solo","solo",-316350075)); +var solo_mode = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"mute","mute",1151223646)); +var change = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(cljs.core.async.sliding_buffer((1))); +var changed = (function (){ +return cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2(change,true); +}); +var pick = (function (attr,chs){ +return cljs.core.reduce_kv((function (ret,c,v){ +if(cljs.core.truth_((attr.cljs$core$IFn$_invoke$arity$1 ? attr.cljs$core$IFn$_invoke$arity$1(v) : attr.call(null, v)))){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,c); +} else { +return ret; +} +}),cljs.core.PersistentHashSet.EMPTY,chs); +}); +var calc_state = (function (){ +var chs = cljs.core.deref(cs); +var mode = cljs.core.deref(solo_mode); +var solos = pick(new cljs.core.Keyword(null,"solo","solo",-316350075),chs); +var pauses = pick(new cljs.core.Keyword(null,"pause","pause",-2095325672),chs); +return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"solos","solos",1441458643),solos,new cljs.core.Keyword(null,"mutes","mutes",1068806309),pick(new cljs.core.Keyword(null,"mute","mute",1151223646),chs),new cljs.core.Keyword(null,"reads","reads",-1215067361),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(((((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(mode,new cljs.core.Keyword(null,"pause","pause",-2095325672))) && ((!(cljs.core.empty_QMARK_(solos))))))?cljs.core.vec(solos):cljs.core.vec(cljs.core.remove.cljs$core$IFn$_invoke$arity$2(pauses,cljs.core.keys(chs)))),change)], null); +}); +var m = (new cljs.core.async.t_cljs$core$async33242(change,solo_mode,pick,cs,calc_state,out,changed,solo_modes,attrs,cljs.core.PersistentArrayMap.EMPTY)); +var c__31398__auto___35869 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_33330){ +var state_val_33331 = (state_33330[(1)]); +if((state_val_33331 === (7))){ +var inst_33286 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +if(cljs.core.truth_(inst_33286)){ +var statearr_33340_35870 = state_33330__$1; +(statearr_33340_35870[(1)] = (8)); + +} else { +var statearr_33341_35871 = state_33330__$1; +(statearr_33341_35871[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (20))){ +var inst_33279 = (state_33330[(7)]); +var state_33330__$1 = state_33330; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_33330__$1,(23),out,inst_33279); +} else { +if((state_val_33331 === (1))){ +var inst_33260 = calc_state(); +var inst_33261 = cljs.core.__destructure_map(inst_33260); +var inst_33262 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(inst_33261,new cljs.core.Keyword(null,"solos","solos",1441458643)); +var inst_33263 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(inst_33261,new cljs.core.Keyword(null,"mutes","mutes",1068806309)); +var inst_33264 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(inst_33261,new cljs.core.Keyword(null,"reads","reads",-1215067361)); +var inst_33265 = inst_33260; +var state_33330__$1 = (function (){var statearr_33342 = state_33330; +(statearr_33342[(8)] = inst_33263); + +(statearr_33342[(9)] = inst_33264); + +(statearr_33342[(10)] = inst_33262); + +(statearr_33342[(11)] = inst_33265); + +return statearr_33342; +})(); +var statearr_33343_35872 = state_33330__$1; +(statearr_33343_35872[(2)] = null); + +(statearr_33343_35872[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (24))){ +var inst_33270 = (state_33330[(12)]); +var inst_33265 = inst_33270; +var state_33330__$1 = (function (){var statearr_33344 = state_33330; +(statearr_33344[(11)] = inst_33265); + +return statearr_33344; +})(); +var statearr_33345_35873 = state_33330__$1; +(statearr_33345_35873[(2)] = null); + +(statearr_33345_35873[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (4))){ +var inst_33281 = (state_33330[(13)]); +var inst_33279 = (state_33330[(7)]); +var inst_33278 = (state_33330[(2)]); +var inst_33279__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_33278,(0),null); +var inst_33280 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_33278,(1),null); +var inst_33281__$1 = (inst_33279__$1 == null); +var state_33330__$1 = (function (){var statearr_33347 = state_33330; +(statearr_33347[(14)] = inst_33280); + +(statearr_33347[(13)] = inst_33281__$1); + +(statearr_33347[(7)] = inst_33279__$1); + +return statearr_33347; +})(); +if(cljs.core.truth_(inst_33281__$1)){ +var statearr_33348_35874 = state_33330__$1; +(statearr_33348_35874[(1)] = (5)); + +} else { +var statearr_33349_35875 = state_33330__$1; +(statearr_33349_35875[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (15))){ +var inst_33271 = (state_33330[(15)]); +var inst_33300 = (state_33330[(16)]); +var inst_33300__$1 = cljs.core.empty_QMARK_(inst_33271); +var state_33330__$1 = (function (){var statearr_33352 = state_33330; +(statearr_33352[(16)] = inst_33300__$1); + +return statearr_33352; +})(); +if(inst_33300__$1){ +var statearr_33354_35876 = state_33330__$1; +(statearr_33354_35876[(1)] = (17)); + +} else { +var statearr_33355_35877 = state_33330__$1; +(statearr_33355_35877[(1)] = (18)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (21))){ +var inst_33270 = (state_33330[(12)]); +var inst_33265 = inst_33270; +var state_33330__$1 = (function (){var statearr_33359 = state_33330; +(statearr_33359[(11)] = inst_33265); + +return statearr_33359; +})(); +var statearr_33360_35878 = state_33330__$1; +(statearr_33360_35878[(2)] = null); + +(statearr_33360_35878[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (13))){ +var inst_33293 = (state_33330[(2)]); +var inst_33294 = calc_state(); +var inst_33265 = inst_33294; +var state_33330__$1 = (function (){var statearr_33361 = state_33330; +(statearr_33361[(11)] = inst_33265); + +(statearr_33361[(17)] = inst_33293); + +return statearr_33361; +})(); +var statearr_33362_35879 = state_33330__$1; +(statearr_33362_35879[(2)] = null); + +(statearr_33362_35879[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (22))){ +var inst_33320 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +var statearr_33365_35880 = state_33330__$1; +(statearr_33365_35880[(2)] = inst_33320); + +(statearr_33365_35880[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (6))){ +var inst_33280 = (state_33330[(14)]); +var inst_33284 = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(inst_33280,change); +var state_33330__$1 = state_33330; +var statearr_33372_35881 = state_33330__$1; +(statearr_33372_35881[(2)] = inst_33284); + +(statearr_33372_35881[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (25))){ +var state_33330__$1 = state_33330; +var statearr_33374_35882 = state_33330__$1; +(statearr_33374_35882[(2)] = null); + +(statearr_33374_35882[(1)] = (26)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (17))){ +var inst_33280 = (state_33330[(14)]); +var inst_33272 = (state_33330[(18)]); +var inst_33302 = (inst_33272.cljs$core$IFn$_invoke$arity$1 ? inst_33272.cljs$core$IFn$_invoke$arity$1(inst_33280) : inst_33272.call(null, inst_33280)); +var inst_33303 = cljs.core.not(inst_33302); +var state_33330__$1 = state_33330; +var statearr_33375_35883 = state_33330__$1; +(statearr_33375_35883[(2)] = inst_33303); + +(statearr_33375_35883[(1)] = (19)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (3))){ +var inst_33324 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +return cljs.core.async.impl.ioc_helpers.return_chan(state_33330__$1,inst_33324); +} else { +if((state_val_33331 === (12))){ +var state_33330__$1 = state_33330; +var statearr_33378_35884 = state_33330__$1; +(statearr_33378_35884[(2)] = null); + +(statearr_33378_35884[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (2))){ +var inst_33270 = (state_33330[(12)]); +var inst_33265 = (state_33330[(11)]); +var inst_33270__$1 = cljs.core.__destructure_map(inst_33265); +var inst_33271 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(inst_33270__$1,new cljs.core.Keyword(null,"solos","solos",1441458643)); +var inst_33272 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(inst_33270__$1,new cljs.core.Keyword(null,"mutes","mutes",1068806309)); +var inst_33273 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(inst_33270__$1,new cljs.core.Keyword(null,"reads","reads",-1215067361)); +var state_33330__$1 = (function (){var statearr_33380 = state_33330; +(statearr_33380[(12)] = inst_33270__$1); + +(statearr_33380[(15)] = inst_33271); + +(statearr_33380[(18)] = inst_33272); + +return statearr_33380; +})(); +return cljs.core.async.ioc_alts_BANG_(state_33330__$1,(4),inst_33273); +} else { +if((state_val_33331 === (23))){ +var inst_33311 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +if(cljs.core.truth_(inst_33311)){ +var statearr_33384_35885 = state_33330__$1; +(statearr_33384_35885[(1)] = (24)); + +} else { +var statearr_33385_35886 = state_33330__$1; +(statearr_33385_35886[(1)] = (25)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (19))){ +var inst_33306 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +var statearr_33386_35887 = state_33330__$1; +(statearr_33386_35887[(2)] = inst_33306); + +(statearr_33386_35887[(1)] = (16)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (11))){ +var inst_33280 = (state_33330[(14)]); +var inst_33290 = cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cs,cljs.core.dissoc,inst_33280); +var state_33330__$1 = state_33330; +var statearr_33388_35888 = state_33330__$1; +(statearr_33388_35888[(2)] = inst_33290); + +(statearr_33388_35888[(1)] = (13)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (9))){ +var inst_33280 = (state_33330[(14)]); +var inst_33271 = (state_33330[(15)]); +var inst_33297 = (state_33330[(19)]); +var inst_33297__$1 = (inst_33271.cljs$core$IFn$_invoke$arity$1 ? inst_33271.cljs$core$IFn$_invoke$arity$1(inst_33280) : inst_33271.call(null, inst_33280)); +var state_33330__$1 = (function (){var statearr_33389 = state_33330; +(statearr_33389[(19)] = inst_33297__$1); + +return statearr_33389; +})(); +if(cljs.core.truth_(inst_33297__$1)){ +var statearr_33390_35889 = state_33330__$1; +(statearr_33390_35889[(1)] = (14)); + +} else { +var statearr_33391_35890 = state_33330__$1; +(statearr_33391_35890[(1)] = (15)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (5))){ +var inst_33281 = (state_33330[(13)]); +var state_33330__$1 = state_33330; +var statearr_33394_35891 = state_33330__$1; +(statearr_33394_35891[(2)] = inst_33281); + +(statearr_33394_35891[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (14))){ +var inst_33297 = (state_33330[(19)]); +var state_33330__$1 = state_33330; +var statearr_33396_35892 = state_33330__$1; +(statearr_33396_35892[(2)] = inst_33297); + +(statearr_33396_35892[(1)] = (16)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (26))){ +var inst_33316 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +var statearr_33398_35893 = state_33330__$1; +(statearr_33398_35893[(2)] = inst_33316); + +(statearr_33398_35893[(1)] = (22)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (16))){ +var inst_33308 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +if(cljs.core.truth_(inst_33308)){ +var statearr_33399_35894 = state_33330__$1; +(statearr_33399_35894[(1)] = (20)); + +} else { +var statearr_33403_35895 = state_33330__$1; +(statearr_33403_35895[(1)] = (21)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (10))){ +var inst_33322 = (state_33330[(2)]); +var state_33330__$1 = state_33330; +var statearr_33404_35896 = state_33330__$1; +(statearr_33404_35896[(2)] = inst_33322); + +(statearr_33404_35896[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (18))){ +var inst_33300 = (state_33330[(16)]); +var state_33330__$1 = state_33330; +var statearr_33405_35897 = state_33330__$1; +(statearr_33405_35897[(2)] = inst_33300); + +(statearr_33405_35897[(1)] = (19)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33331 === (8))){ +var inst_33279 = (state_33330[(7)]); +var inst_33288 = (inst_33279 == null); +var state_33330__$1 = state_33330; +if(cljs.core.truth_(inst_33288)){ +var statearr_33406_35898 = state_33330__$1; +(statearr_33406_35898[(1)] = (11)); + +} else { +var statearr_33407_35899 = state_33330__$1; +(statearr_33407_35899[(1)] = (12)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$mix_$_state_machine__30618__auto__ = null; +var cljs$core$async$mix_$_state_machine__30618__auto____0 = (function (){ +var statearr_33416 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_33416[(0)] = cljs$core$async$mix_$_state_machine__30618__auto__); + +(statearr_33416[(1)] = (1)); + +return statearr_33416; +}); +var cljs$core$async$mix_$_state_machine__30618__auto____1 = (function (state_33330){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_33330); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e33423){var ex__30621__auto__ = e33423; +var statearr_33424_35900 = state_33330; +(statearr_33424_35900[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_33330[(4)]))){ +var statearr_33425_35901 = state_33330; +(statearr_33425_35901[(1)] = cljs.core.first((state_33330[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35902 = state_33330; +state_33330 = G__35902; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$mix_$_state_machine__30618__auto__ = function(state_33330){ +switch(arguments.length){ +case 0: +return cljs$core$async$mix_$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$mix_$_state_machine__30618__auto____1.call(this,state_33330); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$mix_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$mix_$_state_machine__30618__auto____0; +cljs$core$async$mix_$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$mix_$_state_machine__30618__auto____1; +return cljs$core$async$mix_$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_33432 = f__31399__auto__(); +(statearr_33432[(6)] = c__31398__auto___35869); + +return statearr_33432; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return m; +}); +/** + * Adds ch as an input to the mix + */ +cljs.core.async.admix = (function cljs$core$async$admix(mix,ch){ +return cljs.core.async.admix_STAR_(mix,ch); +}); +/** + * Removes ch as an input to the mix + */ +cljs.core.async.unmix = (function cljs$core$async$unmix(mix,ch){ +return cljs.core.async.unmix_STAR_(mix,ch); +}); +/** + * removes all inputs from the mix + */ +cljs.core.async.unmix_all = (function cljs$core$async$unmix_all(mix){ +return cljs.core.async.unmix_all_STAR_(mix); +}); +/** + * Atomically sets the state(s) of one or more channels in a mix. The + * state map is a map of channels -> channel-state-map. A + * channel-state-map is a map of attrs -> boolean, where attr is one or + * more of :mute, :pause or :solo. Any states supplied are merged with + * the current state. + * + * Note that channels can be added to a mix via toggle, which can be + * used to add channels in a particular (e.g. paused) state. + */ +cljs.core.async.toggle = (function cljs$core$async$toggle(mix,state_map){ +return cljs.core.async.toggle_STAR_(mix,state_map); +}); +/** + * Sets the solo mode of the mix. mode must be one of :mute or :pause + */ +cljs.core.async.solo_mode = (function cljs$core$async$solo_mode(mix,mode){ +return cljs.core.async.solo_mode_STAR_(mix,mode); +}); + +/** + * @interface + */ +cljs.core.async.Pub = function(){}; + +var cljs$core$async$Pub$sub_STAR_$dyn_35903 = (function (p,v,ch,close_QMARK_){ +var x__5393__auto__ = (((p == null))?null:p); +var m__5394__auto__ = (cljs.core.async.sub_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$4(p,v,ch,close_QMARK_) : m__5394__auto__.call(null, p,v,ch,close_QMARK_)); +} else { +var m__5392__auto__ = (cljs.core.async.sub_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$4(p,v,ch,close_QMARK_) : m__5392__auto__.call(null, p,v,ch,close_QMARK_)); +} else { +throw cljs.core.missing_protocol("Pub.sub*",p); +} +} +}); +cljs.core.async.sub_STAR_ = (function cljs$core$async$sub_STAR_(p,v,ch,close_QMARK_){ +if((((!((p == null)))) && ((!((p.cljs$core$async$Pub$sub_STAR_$arity$4 == null)))))){ +return p.cljs$core$async$Pub$sub_STAR_$arity$4(p,v,ch,close_QMARK_); +} else { +return cljs$core$async$Pub$sub_STAR_$dyn_35903(p,v,ch,close_QMARK_); +} +}); + +var cljs$core$async$Pub$unsub_STAR_$dyn_35907 = (function (p,v,ch){ +var x__5393__auto__ = (((p == null))?null:p); +var m__5394__auto__ = (cljs.core.async.unsub_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(p,v,ch) : m__5394__auto__.call(null, p,v,ch)); +} else { +var m__5392__auto__ = (cljs.core.async.unsub_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(p,v,ch) : m__5392__auto__.call(null, p,v,ch)); +} else { +throw cljs.core.missing_protocol("Pub.unsub*",p); +} +} +}); +cljs.core.async.unsub_STAR_ = (function cljs$core$async$unsub_STAR_(p,v,ch){ +if((((!((p == null)))) && ((!((p.cljs$core$async$Pub$unsub_STAR_$arity$3 == null)))))){ +return p.cljs$core$async$Pub$unsub_STAR_$arity$3(p,v,ch); +} else { +return cljs$core$async$Pub$unsub_STAR_$dyn_35907(p,v,ch); +} +}); + +var cljs$core$async$Pub$unsub_all_STAR_$dyn_35911 = (function() { +var G__35912 = null; +var G__35912__1 = (function (p){ +var x__5393__auto__ = (((p == null))?null:p); +var m__5394__auto__ = (cljs.core.async.unsub_all_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(p) : m__5394__auto__.call(null, p)); +} else { +var m__5392__auto__ = (cljs.core.async.unsub_all_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(p) : m__5392__auto__.call(null, p)); +} else { +throw cljs.core.missing_protocol("Pub.unsub-all*",p); +} +} +}); +var G__35912__2 = (function (p,v){ +var x__5393__auto__ = (((p == null))?null:p); +var m__5394__auto__ = (cljs.core.async.unsub_all_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(p,v) : m__5394__auto__.call(null, p,v)); +} else { +var m__5392__auto__ = (cljs.core.async.unsub_all_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(p,v) : m__5392__auto__.call(null, p,v)); +} else { +throw cljs.core.missing_protocol("Pub.unsub-all*",p); +} +} +}); +G__35912 = function(p,v){ +switch(arguments.length){ +case 1: +return G__35912__1.call(this,p); +case 2: +return G__35912__2.call(this,p,v); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__35912.cljs$core$IFn$_invoke$arity$1 = G__35912__1; +G__35912.cljs$core$IFn$_invoke$arity$2 = G__35912__2; +return G__35912; +})() +; +cljs.core.async.unsub_all_STAR_ = (function cljs$core$async$unsub_all_STAR_(var_args){ +var G__33486 = arguments.length; +switch (G__33486) { +case 1: +return cljs.core.async.unsub_all_STAR_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.unsub_all_STAR_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.unsub_all_STAR_.cljs$core$IFn$_invoke$arity$1 = (function (p){ +if((((!((p == null)))) && ((!((p.cljs$core$async$Pub$unsub_all_STAR_$arity$1 == null)))))){ +return p.cljs$core$async$Pub$unsub_all_STAR_$arity$1(p); +} else { +return cljs$core$async$Pub$unsub_all_STAR_$dyn_35911(p); +} +})); + +(cljs.core.async.unsub_all_STAR_.cljs$core$IFn$_invoke$arity$2 = (function (p,v){ +if((((!((p == null)))) && ((!((p.cljs$core$async$Pub$unsub_all_STAR_$arity$2 == null)))))){ +return p.cljs$core$async$Pub$unsub_all_STAR_$arity$2(p,v); +} else { +return cljs$core$async$Pub$unsub_all_STAR_$dyn_35911(p,v); +} +})); + +(cljs.core.async.unsub_all_STAR_.cljs$lang$maxFixedArity = 2); + + + +/** +* @constructor + * @implements {cljs.core.async.Pub} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.async.Mux} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async33500 = (function (ch,topic_fn,buf_fn,mults,ensure_mult,meta33501){ +this.ch = ch; +this.topic_fn = topic_fn; +this.buf_fn = buf_fn; +this.mults = mults; +this.ensure_mult = ensure_mult; +this.meta33501 = meta33501; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33502,meta33501__$1){ +var self__ = this; +var _33502__$1 = this; +return (new cljs.core.async.t_cljs$core$async33500(self__.ch,self__.topic_fn,self__.buf_fn,self__.mults,self__.ensure_mult,meta33501__$1)); +})); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33502){ +var self__ = this; +var _33502__$1 = this; +return self__.meta33501; +})); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$async$Mux$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$async$Mux$muxch_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.ch; +})); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$async$Pub$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$async$Pub$sub_STAR_$arity$4 = (function (p,topic,ch__$1,close_QMARK_){ +var self__ = this; +var p__$1 = this; +var m = (self__.ensure_mult.cljs$core$IFn$_invoke$arity$1 ? self__.ensure_mult.cljs$core$IFn$_invoke$arity$1(topic) : self__.ensure_mult.call(null, topic)); +return cljs.core.async.tap.cljs$core$IFn$_invoke$arity$3(m,ch__$1,close_QMARK_); +})); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$async$Pub$unsub_STAR_$arity$3 = (function (p,topic,ch__$1){ +var self__ = this; +var p__$1 = this; +var temp__5823__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(self__.mults),topic); +if(cljs.core.truth_(temp__5823__auto__)){ +var m = temp__5823__auto__; +return cljs.core.async.untap(m,ch__$1); +} else { +return null; +} +})); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$async$Pub$unsub_all_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.reset_BANG_(self__.mults,cljs.core.PersistentArrayMap.EMPTY); +})); + +(cljs.core.async.t_cljs$core$async33500.prototype.cljs$core$async$Pub$unsub_all_STAR_$arity$2 = (function (_,topic){ +var self__ = this; +var ___$1 = this; +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(self__.mults,cljs.core.dissoc,topic); +})); + +(cljs.core.async.t_cljs$core$async33500.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ch","ch",1085813622,null),new cljs.core.Symbol(null,"topic-fn","topic-fn",-862449736,null),new cljs.core.Symbol(null,"buf-fn","buf-fn",-1200281591,null),new cljs.core.Symbol(null,"mults","mults",-461114485,null),new cljs.core.Symbol(null,"ensure-mult","ensure-mult",1796584816,null),new cljs.core.Symbol(null,"meta33501","meta33501",1128355470,null)], null); +})); + +(cljs.core.async.t_cljs$core$async33500.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async33500.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async33500"); + +(cljs.core.async.t_cljs$core$async33500.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async33500"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async33500. + */ +cljs.core.async.__GT_t_cljs$core$async33500 = (function cljs$core$async$__GT_t_cljs$core$async33500(ch,topic_fn,buf_fn,mults,ensure_mult,meta33501){ +return (new cljs.core.async.t_cljs$core$async33500(ch,topic_fn,buf_fn,mults,ensure_mult,meta33501)); +}); + + +/** + * Creates and returns a pub(lication) of the supplied channel, + * partitioned into topics by the topic-fn. topic-fn will be applied to + * each value on the channel and the result will determine the 'topic' + * on which that value will be put. Channels can be subscribed to + * receive copies of topics using 'sub', and unsubscribed using + * 'unsub'. Each topic will be handled by an internal mult on a + * dedicated channel. By default these internal channels are + * unbuffered, but a buf-fn can be supplied which, given a topic, + * creates a buffer with desired properties. + * + * Each item is distributed to all subs in parallel and synchronously, + * i.e. each sub must accept before the next item is distributed. Use + * buffering/windowing to prevent slow subs from holding up the pub. + * + * Items received when there are no matching subs get dropped. + * + * Note that if buf-fns are used then each topic is handled + * asynchronously, i.e. if a channel is subscribed to more than one + * topic it should not expect them to be interleaved identically with + * the source. + */ +cljs.core.async.pub = (function cljs$core$async$pub(var_args){ +var G__33496 = arguments.length; +switch (G__33496) { +case 2: +return cljs.core.async.pub.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.pub.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.pub.cljs$core$IFn$_invoke$arity$2 = (function (ch,topic_fn){ +return cljs.core.async.pub.cljs$core$IFn$_invoke$arity$3(ch,topic_fn,cljs.core.constantly(null)); +})); + +(cljs.core.async.pub.cljs$core$IFn$_invoke$arity$3 = (function (ch,topic_fn,buf_fn){ +var mults = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var ensure_mult = (function (topic){ +var or__5045__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(mults),topic); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(mults,(function (p1__33494_SHARP_){ +if(cljs.core.truth_((p1__33494_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__33494_SHARP_.cljs$core$IFn$_invoke$arity$1(topic) : p1__33494_SHARP_.call(null, topic)))){ +return p1__33494_SHARP_; +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(p1__33494_SHARP_,topic,cljs.core.async.mult(cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((buf_fn.cljs$core$IFn$_invoke$arity$1 ? buf_fn.cljs$core$IFn$_invoke$arity$1(topic) : buf_fn.call(null, topic))))); +} +})),topic); +} +}); +var p = (new cljs.core.async.t_cljs$core$async33500(ch,topic_fn,buf_fn,mults,ensure_mult,cljs.core.PersistentArrayMap.EMPTY)); +var c__31398__auto___35933 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_33630){ +var state_val_33631 = (state_33630[(1)]); +if((state_val_33631 === (7))){ +var inst_33624 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +var statearr_33650_35934 = state_33630__$1; +(statearr_33650_35934[(2)] = inst_33624); + +(statearr_33650_35934[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (20))){ +var state_33630__$1 = state_33630; +var statearr_33654_35935 = state_33630__$1; +(statearr_33654_35935[(2)] = null); + +(statearr_33654_35935[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (1))){ +var state_33630__$1 = state_33630; +var statearr_33657_35940 = state_33630__$1; +(statearr_33657_35940[(2)] = null); + +(statearr_33657_35940[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (24))){ +var inst_33602 = (state_33630[(7)]); +var inst_33614 = cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(mults,cljs.core.dissoc,inst_33602); +var state_33630__$1 = state_33630; +var statearr_33663_35942 = state_33630__$1; +(statearr_33663_35942[(2)] = inst_33614); + +(statearr_33663_35942[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (4))){ +var inst_33539 = (state_33630[(8)]); +var inst_33539__$1 = (state_33630[(2)]); +var inst_33540 = (inst_33539__$1 == null); +var state_33630__$1 = (function (){var statearr_33664 = state_33630; +(statearr_33664[(8)] = inst_33539__$1); + +return statearr_33664; +})(); +if(cljs.core.truth_(inst_33540)){ +var statearr_33666_35944 = state_33630__$1; +(statearr_33666_35944[(1)] = (5)); + +} else { +var statearr_33667_35945 = state_33630__$1; +(statearr_33667_35945[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (15))){ +var inst_33596 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +var statearr_33669_35946 = state_33630__$1; +(statearr_33669_35946[(2)] = inst_33596); + +(statearr_33669_35946[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (21))){ +var inst_33620 = (state_33630[(2)]); +var state_33630__$1 = (function (){var statearr_33670 = state_33630; +(statearr_33670[(9)] = inst_33620); + +return statearr_33670; +})(); +var statearr_33671_35947 = state_33630__$1; +(statearr_33671_35947[(2)] = null); + +(statearr_33671_35947[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (13))){ +var inst_33573 = (state_33630[(10)]); +var inst_33575 = cljs.core.chunked_seq_QMARK_(inst_33573); +var state_33630__$1 = state_33630; +if(inst_33575){ +var statearr_33672_35949 = state_33630__$1; +(statearr_33672_35949[(1)] = (16)); + +} else { +var statearr_33673_35950 = state_33630__$1; +(statearr_33673_35950[(1)] = (17)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (22))){ +var inst_33610 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +if(cljs.core.truth_(inst_33610)){ +var statearr_33674_35951 = state_33630__$1; +(statearr_33674_35951[(1)] = (23)); + +} else { +var statearr_33675_35952 = state_33630__$1; +(statearr_33675_35952[(1)] = (24)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (6))){ +var inst_33539 = (state_33630[(8)]); +var inst_33604 = (state_33630[(11)]); +var inst_33602 = (state_33630[(7)]); +var inst_33602__$1 = (topic_fn.cljs$core$IFn$_invoke$arity$1 ? topic_fn.cljs$core$IFn$_invoke$arity$1(inst_33539) : topic_fn.call(null, inst_33539)); +var inst_33603 = cljs.core.deref(mults); +var inst_33604__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(inst_33603,inst_33602__$1); +var state_33630__$1 = (function (){var statearr_33683 = state_33630; +(statearr_33683[(11)] = inst_33604__$1); + +(statearr_33683[(7)] = inst_33602__$1); + +return statearr_33683; +})(); +if(cljs.core.truth_(inst_33604__$1)){ +var statearr_33692_35955 = state_33630__$1; +(statearr_33692_35955[(1)] = (19)); + +} else { +var statearr_33693_35957 = state_33630__$1; +(statearr_33693_35957[(1)] = (20)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (25))){ +var inst_33616 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +var statearr_33697_35958 = state_33630__$1; +(statearr_33697_35958[(2)] = inst_33616); + +(statearr_33697_35958[(1)] = (21)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (17))){ +var inst_33573 = (state_33630[(10)]); +var inst_33583 = cljs.core.first(inst_33573); +var inst_33585 = cljs.core.async.muxch_STAR_(inst_33583); +var inst_33587 = cljs.core.async.close_BANG_(inst_33585); +var inst_33589 = cljs.core.next(inst_33573); +var inst_33549 = inst_33589; +var inst_33550 = null; +var inst_33551 = (0); +var inst_33552 = (0); +var state_33630__$1 = (function (){var statearr_33701 = state_33630; +(statearr_33701[(12)] = inst_33552); + +(statearr_33701[(13)] = inst_33587); + +(statearr_33701[(14)] = inst_33549); + +(statearr_33701[(15)] = inst_33551); + +(statearr_33701[(16)] = inst_33550); + +return statearr_33701; +})(); +var statearr_33705_35967 = state_33630__$1; +(statearr_33705_35967[(2)] = null); + +(statearr_33705_35967[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (3))){ +var inst_33626 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +return cljs.core.async.impl.ioc_helpers.return_chan(state_33630__$1,inst_33626); +} else { +if((state_val_33631 === (12))){ +var inst_33598 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +var statearr_33713_35969 = state_33630__$1; +(statearr_33713_35969[(2)] = inst_33598); + +(statearr_33713_35969[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (2))){ +var state_33630__$1 = state_33630; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_33630__$1,(4),ch); +} else { +if((state_val_33631 === (23))){ +var state_33630__$1 = state_33630; +var statearr_33720_35970 = state_33630__$1; +(statearr_33720_35970[(2)] = null); + +(statearr_33720_35970[(1)] = (25)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (19))){ +var inst_33539 = (state_33630[(8)]); +var inst_33604 = (state_33630[(11)]); +var inst_33606 = cljs.core.async.muxch_STAR_(inst_33604); +var state_33630__$1 = state_33630; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_33630__$1,(22),inst_33606,inst_33539); +} else { +if((state_val_33631 === (11))){ +var inst_33573 = (state_33630[(10)]); +var inst_33549 = (state_33630[(14)]); +var inst_33573__$1 = cljs.core.seq(inst_33549); +var state_33630__$1 = (function (){var statearr_33728 = state_33630; +(statearr_33728[(10)] = inst_33573__$1); + +return statearr_33728; +})(); +if(inst_33573__$1){ +var statearr_33732_35973 = state_33630__$1; +(statearr_33732_35973[(1)] = (13)); + +} else { +var statearr_33733_35974 = state_33630__$1; +(statearr_33733_35974[(1)] = (14)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (9))){ +var inst_33600 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +var statearr_33737_35975 = state_33630__$1; +(statearr_33737_35975[(2)] = inst_33600); + +(statearr_33737_35975[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (5))){ +var inst_33546 = cljs.core.deref(mults); +var inst_33547 = cljs.core.vals(inst_33546); +var inst_33548 = cljs.core.seq(inst_33547); +var inst_33549 = inst_33548; +var inst_33550 = null; +var inst_33551 = (0); +var inst_33552 = (0); +var state_33630__$1 = (function (){var statearr_33740 = state_33630; +(statearr_33740[(12)] = inst_33552); + +(statearr_33740[(14)] = inst_33549); + +(statearr_33740[(15)] = inst_33551); + +(statearr_33740[(16)] = inst_33550); + +return statearr_33740; +})(); +var statearr_33744_35976 = state_33630__$1; +(statearr_33744_35976[(2)] = null); + +(statearr_33744_35976[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (14))){ +var state_33630__$1 = state_33630; +var statearr_33755_35978 = state_33630__$1; +(statearr_33755_35978[(2)] = null); + +(statearr_33755_35978[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (16))){ +var inst_33573 = (state_33630[(10)]); +var inst_33577 = cljs.core.chunk_first(inst_33573); +var inst_33578 = cljs.core.chunk_rest(inst_33573); +var inst_33579 = cljs.core.count(inst_33577); +var inst_33549 = inst_33578; +var inst_33550 = inst_33577; +var inst_33551 = inst_33579; +var inst_33552 = (0); +var state_33630__$1 = (function (){var statearr_33767 = state_33630; +(statearr_33767[(12)] = inst_33552); + +(statearr_33767[(14)] = inst_33549); + +(statearr_33767[(15)] = inst_33551); + +(statearr_33767[(16)] = inst_33550); + +return statearr_33767; +})(); +var statearr_33772_35985 = state_33630__$1; +(statearr_33772_35985[(2)] = null); + +(statearr_33772_35985[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (10))){ +var inst_33552 = (state_33630[(12)]); +var inst_33549 = (state_33630[(14)]); +var inst_33551 = (state_33630[(15)]); +var inst_33550 = (state_33630[(16)]); +var inst_33560 = cljs.core._nth(inst_33550,inst_33552); +var inst_33565 = cljs.core.async.muxch_STAR_(inst_33560); +var inst_33566 = cljs.core.async.close_BANG_(inst_33565); +var inst_33569 = (inst_33552 + (1)); +var tmp33752 = inst_33549; +var tmp33753 = inst_33551; +var tmp33754 = inst_33550; +var inst_33549__$1 = tmp33752; +var inst_33550__$1 = tmp33754; +var inst_33551__$1 = tmp33753; +var inst_33552__$1 = inst_33569; +var state_33630__$1 = (function (){var statearr_33785 = state_33630; +(statearr_33785[(12)] = inst_33552__$1); + +(statearr_33785[(14)] = inst_33549__$1); + +(statearr_33785[(15)] = inst_33551__$1); + +(statearr_33785[(16)] = inst_33550__$1); + +(statearr_33785[(17)] = inst_33566); + +return statearr_33785; +})(); +var statearr_33786_35986 = state_33630__$1; +(statearr_33786_35986[(2)] = null); + +(statearr_33786_35986[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (18))){ +var inst_33592 = (state_33630[(2)]); +var state_33630__$1 = state_33630; +var statearr_33787_35988 = state_33630__$1; +(statearr_33787_35988[(2)] = inst_33592); + +(statearr_33787_35988[(1)] = (15)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33631 === (8))){ +var inst_33552 = (state_33630[(12)]); +var inst_33551 = (state_33630[(15)]); +var inst_33554 = (inst_33552 < inst_33551); +var inst_33555 = inst_33554; +var state_33630__$1 = state_33630; +if(cljs.core.truth_(inst_33555)){ +var statearr_33788_35989 = state_33630__$1; +(statearr_33788_35989[(1)] = (10)); + +} else { +var statearr_33790_35991 = state_33630__$1; +(statearr_33790_35991[(1)] = (11)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_33791 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_33791[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_33791[(1)] = (1)); + +return statearr_33791; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_33630){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_33630); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e33794){var ex__30621__auto__ = e33794; +var statearr_33797_35993 = state_33630; +(statearr_33797_35993[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_33630[(4)]))){ +var statearr_33809_35994 = state_33630; +(statearr_33809_35994[(1)] = cljs.core.first((state_33630[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__35996 = state_33630; +state_33630 = G__35996; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_33630){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_33630); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_33814 = f__31399__auto__(); +(statearr_33814[(6)] = c__31398__auto___35933); + +return statearr_33814; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return p; +})); + +(cljs.core.async.pub.cljs$lang$maxFixedArity = 3); + +/** + * Subscribes a channel to a topic of a pub. + * + * By default the channel will be closed when the source closes, + * but can be determined by the close? parameter. + */ +cljs.core.async.sub = (function cljs$core$async$sub(var_args){ +var G__33817 = arguments.length; +switch (G__33817) { +case 3: +return cljs.core.async.sub.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.async.sub.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.sub.cljs$core$IFn$_invoke$arity$3 = (function (p,topic,ch){ +return cljs.core.async.sub.cljs$core$IFn$_invoke$arity$4(p,topic,ch,true); +})); + +(cljs.core.async.sub.cljs$core$IFn$_invoke$arity$4 = (function (p,topic,ch,close_QMARK_){ +return cljs.core.async.sub_STAR_(p,topic,ch,close_QMARK_); +})); + +(cljs.core.async.sub.cljs$lang$maxFixedArity = 4); + +/** + * Unsubscribes a channel from a topic of a pub + */ +cljs.core.async.unsub = (function cljs$core$async$unsub(p,topic,ch){ +return cljs.core.async.unsub_STAR_(p,topic,ch); +}); +/** + * Unsubscribes all channels from a pub, or a topic of a pub + */ +cljs.core.async.unsub_all = (function cljs$core$async$unsub_all(var_args){ +var G__33837 = arguments.length; +switch (G__33837) { +case 1: +return cljs.core.async.unsub_all.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.unsub_all.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.unsub_all.cljs$core$IFn$_invoke$arity$1 = (function (p){ +return cljs.core.async.unsub_all_STAR_(p); +})); + +(cljs.core.async.unsub_all.cljs$core$IFn$_invoke$arity$2 = (function (p,topic){ +return cljs.core.async.unsub_all_STAR_(p,topic); +})); + +(cljs.core.async.unsub_all.cljs$lang$maxFixedArity = 2); + +/** + * Takes a function and a collection of source channels, and returns a + * channel which contains the values produced by applying f to the set + * of first items taken from each source channel, followed by applying + * f to the set of second items from each channel, until any one of the + * channels is closed, at which point the output channel will be + * closed. The returned channel will be unbuffered by default, or a + * buf-or-n can be supplied + */ +cljs.core.async.map = (function cljs$core$async$map(var_args){ +var G__33845 = arguments.length; +switch (G__33845) { +case 2: +return cljs.core.async.map.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.map.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.map.cljs$core$IFn$_invoke$arity$2 = (function (f,chs){ +return cljs.core.async.map.cljs$core$IFn$_invoke$arity$3(f,chs,null); +})); + +(cljs.core.async.map.cljs$core$IFn$_invoke$arity$3 = (function (f,chs,buf_or_n){ +var chs__$1 = cljs.core.vec(chs); +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +var cnt = cljs.core.count(chs__$1); +var rets = cljs.core.object_array.cljs$core$IFn$_invoke$arity$1(cnt); +var dchan = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +var dctr = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null); +var done = cljs.core.mapv.cljs$core$IFn$_invoke$arity$2((function (i){ +return (function (ret){ +(rets[i] = ret); + +if((cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(dctr,cljs.core.dec) === (0))){ +return cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2(dchan,rets.slice((0))); +} else { +return null; +} +}); +}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(cnt)); +if((cnt === (0))){ +cljs.core.async.close_BANG_(out); +} else { +var c__31398__auto___36004 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_33940){ +var state_val_33941 = (state_33940[(1)]); +if((state_val_33941 === (7))){ +var state_33940__$1 = state_33940; +var statearr_33944_36006 = state_33940__$1; +(statearr_33944_36006[(2)] = null); + +(statearr_33944_36006[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (1))){ +var state_33940__$1 = state_33940; +var statearr_33948_36007 = state_33940__$1; +(statearr_33948_36007[(2)] = null); + +(statearr_33948_36007[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (4))){ +var inst_33883 = (state_33940[(7)]); +var inst_33881 = (state_33940[(8)]); +var inst_33885 = (inst_33883 < inst_33881); +var state_33940__$1 = state_33940; +if(cljs.core.truth_(inst_33885)){ +var statearr_33954_36008 = state_33940__$1; +(statearr_33954_36008[(1)] = (6)); + +} else { +var statearr_33955_36009 = state_33940__$1; +(statearr_33955_36009[(1)] = (7)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (15))){ +var inst_33920 = (state_33940[(9)]); +var inst_33928 = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,inst_33920); +var state_33940__$1 = state_33940; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_33940__$1,(17),out,inst_33928); +} else { +if((state_val_33941 === (13))){ +var inst_33920 = (state_33940[(9)]); +var inst_33920__$1 = (state_33940[(2)]); +var inst_33921 = cljs.core.some(cljs.core.nil_QMARK_,inst_33920__$1); +var state_33940__$1 = (function (){var statearr_33957 = state_33940; +(statearr_33957[(9)] = inst_33920__$1); + +return statearr_33957; +})(); +if(cljs.core.truth_(inst_33921)){ +var statearr_33959_36012 = state_33940__$1; +(statearr_33959_36012[(1)] = (14)); + +} else { +var statearr_33960_36013 = state_33940__$1; +(statearr_33960_36013[(1)] = (15)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (6))){ +var state_33940__$1 = state_33940; +var statearr_33962_36015 = state_33940__$1; +(statearr_33962_36015[(2)] = null); + +(statearr_33962_36015[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (17))){ +var inst_33930 = (state_33940[(2)]); +var state_33940__$1 = (function (){var statearr_33976 = state_33940; +(statearr_33976[(10)] = inst_33930); + +return statearr_33976; +})(); +var statearr_33981_36017 = state_33940__$1; +(statearr_33981_36017[(2)] = null); + +(statearr_33981_36017[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (3))){ +var inst_33935 = (state_33940[(2)]); +var state_33940__$1 = state_33940; +return cljs.core.async.impl.ioc_helpers.return_chan(state_33940__$1,inst_33935); +} else { +if((state_val_33941 === (12))){ +var _ = (function (){var statearr_33982 = state_33940; +(statearr_33982[(4)] = cljs.core.rest((state_33940[(4)]))); + +return statearr_33982; +})(); +var state_33940__$1 = state_33940; +var ex33974 = (state_33940__$1[(2)]); +var statearr_33983_36018 = state_33940__$1; +(statearr_33983_36018[(5)] = ex33974); + + +if((ex33974 instanceof Object)){ +var statearr_33988_36019 = state_33940__$1; +(statearr_33988_36019[(1)] = (11)); + +(statearr_33988_36019[(5)] = null); + +} else { +throw ex33974; + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (2))){ +var inst_33880 = cljs.core.reset_BANG_(dctr,cnt); +var inst_33881 = cnt; +var inst_33883 = (0); +var state_33940__$1 = (function (){var statearr_33992 = state_33940; +(statearr_33992[(7)] = inst_33883); + +(statearr_33992[(8)] = inst_33881); + +(statearr_33992[(11)] = inst_33880); + +return statearr_33992; +})(); +var statearr_33993_36020 = state_33940__$1; +(statearr_33993_36020[(2)] = null); + +(statearr_33993_36020[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (11))){ +var inst_33895 = (state_33940[(2)]); +var inst_33898 = cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(dctr,cljs.core.dec); +var state_33940__$1 = (function (){var statearr_33994 = state_33940; +(statearr_33994[(12)] = inst_33895); + +return statearr_33994; +})(); +var statearr_33995_36021 = state_33940__$1; +(statearr_33995_36021[(2)] = inst_33898); + +(statearr_33995_36021[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (9))){ +var inst_33883 = (state_33940[(7)]); +var _ = (function (){var statearr_33996 = state_33940; +(statearr_33996[(4)] = cljs.core.cons((12),(state_33940[(4)]))); + +return statearr_33996; +})(); +var inst_33906 = (chs__$1.cljs$core$IFn$_invoke$arity$1 ? chs__$1.cljs$core$IFn$_invoke$arity$1(inst_33883) : chs__$1.call(null, inst_33883)); +var inst_33907 = (done.cljs$core$IFn$_invoke$arity$1 ? done.cljs$core$IFn$_invoke$arity$1(inst_33883) : done.call(null, inst_33883)); +var inst_33908 = cljs.core.async.take_BANG_.cljs$core$IFn$_invoke$arity$2(inst_33906,inst_33907); +var ___$1 = (function (){var statearr_33999 = state_33940; +(statearr_33999[(4)] = cljs.core.rest((state_33940[(4)]))); + +return statearr_33999; +})(); +var state_33940__$1 = state_33940; +var statearr_34001_36027 = state_33940__$1; +(statearr_34001_36027[(2)] = inst_33908); + +(statearr_34001_36027[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (5))){ +var inst_33918 = (state_33940[(2)]); +var state_33940__$1 = (function (){var statearr_34006 = state_33940; +(statearr_34006[(13)] = inst_33918); + +return statearr_34006; +})(); +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_33940__$1,(13),dchan); +} else { +if((state_val_33941 === (14))){ +var inst_33923 = cljs.core.async.close_BANG_(out); +var state_33940__$1 = state_33940; +var statearr_34010_36028 = state_33940__$1; +(statearr_34010_36028[(2)] = inst_33923); + +(statearr_34010_36028[(1)] = (16)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (16))){ +var inst_33933 = (state_33940[(2)]); +var state_33940__$1 = state_33940; +var statearr_34012_36033 = state_33940__$1; +(statearr_34012_36033[(2)] = inst_33933); + +(statearr_34012_36033[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (10))){ +var inst_33883 = (state_33940[(7)]); +var inst_33911 = (state_33940[(2)]); +var inst_33912 = (inst_33883 + (1)); +var inst_33883__$1 = inst_33912; +var state_33940__$1 = (function (){var statearr_34018 = state_33940; +(statearr_34018[(7)] = inst_33883__$1); + +(statearr_34018[(14)] = inst_33911); + +return statearr_34018; +})(); +var statearr_34019_36035 = state_33940__$1; +(statearr_34019_36035[(2)] = null); + +(statearr_34019_36035[(1)] = (4)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_33941 === (8))){ +var inst_33916 = (state_33940[(2)]); +var state_33940__$1 = state_33940; +var statearr_34020_36036 = state_33940__$1; +(statearr_34020_36036[(2)] = inst_33916); + +(statearr_34020_36036[(1)] = (5)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_34021 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_34021[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_34021[(1)] = (1)); + +return statearr_34021; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_33940){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_33940); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e34024){var ex__30621__auto__ = e34024; +var statearr_34025_36038 = state_33940; +(statearr_34025_36038[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_33940[(4)]))){ +var statearr_34026_36039 = state_33940; +(statearr_34026_36039[(1)] = cljs.core.first((state_33940[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36040 = state_33940; +state_33940 = G__36040; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_33940){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_33940); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_34046 = f__31399__auto__(); +(statearr_34046[(6)] = c__31398__auto___36004); + +return statearr_34046; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + +} + +return out; +})); + +(cljs.core.async.map.cljs$lang$maxFixedArity = 3); + +/** + * Takes a collection of source channels and returns a channel which + * contains all values taken from them. The returned channel will be + * unbuffered by default, or a buf-or-n can be supplied. The channel + * will close after all the source channels have closed. + */ +cljs.core.async.merge = (function cljs$core$async$merge(var_args){ +var G__34052 = arguments.length; +switch (G__34052) { +case 1: +return cljs.core.async.merge.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.merge.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.merge.cljs$core$IFn$_invoke$arity$1 = (function (chs){ +return cljs.core.async.merge.cljs$core$IFn$_invoke$arity$2(chs,null); +})); + +(cljs.core.async.merge.cljs$core$IFn$_invoke$arity$2 = (function (chs,buf_or_n){ +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +var c__31398__auto___36044 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_34109){ +var state_val_34110 = (state_34109[(1)]); +if((state_val_34110 === (7))){ +var inst_34086 = (state_34109[(7)]); +var inst_34085 = (state_34109[(8)]); +var inst_34085__$1 = (state_34109[(2)]); +var inst_34086__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_34085__$1,(0),null); +var inst_34087 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(inst_34085__$1,(1),null); +var inst_34088 = (inst_34086__$1 == null); +var state_34109__$1 = (function (){var statearr_34119 = state_34109; +(statearr_34119[(7)] = inst_34086__$1); + +(statearr_34119[(8)] = inst_34085__$1); + +(statearr_34119[(9)] = inst_34087); + +return statearr_34119; +})(); +if(cljs.core.truth_(inst_34088)){ +var statearr_34120_36050 = state_34109__$1; +(statearr_34120_36050[(1)] = (8)); + +} else { +var statearr_34121_36051 = state_34109__$1; +(statearr_34121_36051[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34110 === (1))){ +var inst_34068 = cljs.core.vec(chs); +var inst_34069 = inst_34068; +var state_34109__$1 = (function (){var statearr_34123 = state_34109; +(statearr_34123[(10)] = inst_34069); + +return statearr_34123; +})(); +var statearr_34125_36052 = state_34109__$1; +(statearr_34125_36052[(2)] = null); + +(statearr_34125_36052[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34110 === (4))){ +var inst_34069 = (state_34109[(10)]); +var state_34109__$1 = state_34109; +return cljs.core.async.ioc_alts_BANG_(state_34109__$1,(7),inst_34069); +} else { +if((state_val_34110 === (6))){ +var inst_34105 = (state_34109[(2)]); +var state_34109__$1 = state_34109; +var statearr_34130_36053 = state_34109__$1; +(statearr_34130_36053[(2)] = inst_34105); + +(statearr_34130_36053[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34110 === (3))){ +var inst_34107 = (state_34109[(2)]); +var state_34109__$1 = state_34109; +return cljs.core.async.impl.ioc_helpers.return_chan(state_34109__$1,inst_34107); +} else { +if((state_val_34110 === (2))){ +var inst_34069 = (state_34109[(10)]); +var inst_34071 = cljs.core.count(inst_34069); +var inst_34072 = (inst_34071 > (0)); +var state_34109__$1 = state_34109; +if(cljs.core.truth_(inst_34072)){ +var statearr_34138_36054 = state_34109__$1; +(statearr_34138_36054[(1)] = (4)); + +} else { +var statearr_34139_36055 = state_34109__$1; +(statearr_34139_36055[(1)] = (5)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34110 === (11))){ +var inst_34069 = (state_34109[(10)]); +var inst_34098 = (state_34109[(2)]); +var tmp34132 = inst_34069; +var inst_34069__$1 = tmp34132; +var state_34109__$1 = (function (){var statearr_34140 = state_34109; +(statearr_34140[(11)] = inst_34098); + +(statearr_34140[(10)] = inst_34069__$1); + +return statearr_34140; +})(); +var statearr_34141_36056 = state_34109__$1; +(statearr_34141_36056[(2)] = null); + +(statearr_34141_36056[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34110 === (9))){ +var inst_34086 = (state_34109[(7)]); +var state_34109__$1 = state_34109; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34109__$1,(11),out,inst_34086); +} else { +if((state_val_34110 === (5))){ +var inst_34103 = cljs.core.async.close_BANG_(out); +var state_34109__$1 = state_34109; +var statearr_34154_36057 = state_34109__$1; +(statearr_34154_36057[(2)] = inst_34103); + +(statearr_34154_36057[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34110 === (10))){ +var inst_34101 = (state_34109[(2)]); +var state_34109__$1 = state_34109; +var statearr_34157_36058 = state_34109__$1; +(statearr_34157_36058[(2)] = inst_34101); + +(statearr_34157_36058[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34110 === (8))){ +var inst_34086 = (state_34109[(7)]); +var inst_34069 = (state_34109[(10)]); +var inst_34085 = (state_34109[(8)]); +var inst_34087 = (state_34109[(9)]); +var inst_34092 = (function (){var cs = inst_34069; +var vec__34075 = inst_34085; +var v = inst_34086; +var c = inst_34087; +return (function (p1__34048_SHARP_){ +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(c,p1__34048_SHARP_); +}); +})(); +var inst_34093 = cljs.core.filterv(inst_34092,inst_34069); +var inst_34069__$1 = inst_34093; +var state_34109__$1 = (function (){var statearr_34165 = state_34109; +(statearr_34165[(10)] = inst_34069__$1); + +return statearr_34165; +})(); +var statearr_34167_36059 = state_34109__$1; +(statearr_34167_36059[(2)] = null); + +(statearr_34167_36059[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_34173 = [null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_34173[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_34173[(1)] = (1)); + +return statearr_34173; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_34109){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_34109); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e34175){var ex__30621__auto__ = e34175; +var statearr_34181_36064 = state_34109; +(statearr_34181_36064[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_34109[(4)]))){ +var statearr_34183_36065 = state_34109; +(statearr_34183_36065[(1)] = cljs.core.first((state_34109[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36066 = state_34109; +state_34109 = G__36066; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_34109){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_34109); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_34185 = f__31399__auto__(); +(statearr_34185[(6)] = c__31398__auto___36044); + +return statearr_34185; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return out; +})); + +(cljs.core.async.merge.cljs$lang$maxFixedArity = 2); + +/** + * Returns a channel containing the single (collection) result of the + * items taken from the channel conjoined to the supplied + * collection. ch must close before into produces a result. + */ +cljs.core.async.into = (function cljs$core$async$into(coll,ch){ +return cljs.core.async.reduce(cljs.core.conj,coll,ch); +}); +/** + * Returns a channel that will return, at most, n items from ch. After n items + * have been returned, or ch has been closed, the return chanel will close. + * + * The output channel is unbuffered by default, unless buf-or-n is given. + */ +cljs.core.async.take = (function cljs$core$async$take(var_args){ +var G__34197 = arguments.length; +switch (G__34197) { +case 2: +return cljs.core.async.take.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.take.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.take.cljs$core$IFn$_invoke$arity$2 = (function (n,ch){ +return cljs.core.async.take.cljs$core$IFn$_invoke$arity$3(n,ch,null); +})); + +(cljs.core.async.take.cljs$core$IFn$_invoke$arity$3 = (function (n,ch,buf_or_n){ +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +var c__31398__auto___36069 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_34238){ +var state_val_34239 = (state_34238[(1)]); +if((state_val_34239 === (7))){ +var inst_34211 = (state_34238[(7)]); +var inst_34211__$1 = (state_34238[(2)]); +var inst_34215 = (inst_34211__$1 == null); +var inst_34217 = cljs.core.not(inst_34215); +var state_34238__$1 = (function (){var statearr_34247 = state_34238; +(statearr_34247[(7)] = inst_34211__$1); + +return statearr_34247; +})(); +if(inst_34217){ +var statearr_34248_36071 = state_34238__$1; +(statearr_34248_36071[(1)] = (8)); + +} else { +var statearr_34249_36072 = state_34238__$1; +(statearr_34249_36072[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (1))){ +var inst_34206 = (0); +var state_34238__$1 = (function (){var statearr_34256 = state_34238; +(statearr_34256[(8)] = inst_34206); + +return statearr_34256; +})(); +var statearr_34257_36073 = state_34238__$1; +(statearr_34257_36073[(2)] = null); + +(statearr_34257_36073[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (4))){ +var state_34238__$1 = state_34238; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_34238__$1,(7),ch); +} else { +if((state_val_34239 === (6))){ +var inst_34232 = (state_34238[(2)]); +var state_34238__$1 = state_34238; +var statearr_34261_36075 = state_34238__$1; +(statearr_34261_36075[(2)] = inst_34232); + +(statearr_34261_36075[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (3))){ +var inst_34234 = (state_34238[(2)]); +var inst_34235 = cljs.core.async.close_BANG_(out); +var state_34238__$1 = (function (){var statearr_34269 = state_34238; +(statearr_34269[(9)] = inst_34234); + +return statearr_34269; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan(state_34238__$1,inst_34235); +} else { +if((state_val_34239 === (2))){ +var inst_34206 = (state_34238[(8)]); +var inst_34208 = (inst_34206 < n); +var state_34238__$1 = state_34238; +if(cljs.core.truth_(inst_34208)){ +var statearr_34277_36077 = state_34238__$1; +(statearr_34277_36077[(1)] = (4)); + +} else { +var statearr_34278_36078 = state_34238__$1; +(statearr_34278_36078[(1)] = (5)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (11))){ +var inst_34206 = (state_34238[(8)]); +var inst_34221 = (state_34238[(2)]); +var inst_34222 = (inst_34206 + (1)); +var inst_34206__$1 = inst_34222; +var state_34238__$1 = (function (){var statearr_34282 = state_34238; +(statearr_34282[(10)] = inst_34221); + +(statearr_34282[(8)] = inst_34206__$1); + +return statearr_34282; +})(); +var statearr_34288_36079 = state_34238__$1; +(statearr_34288_36079[(2)] = null); + +(statearr_34288_36079[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (9))){ +var state_34238__$1 = state_34238; +var statearr_34297_36083 = state_34238__$1; +(statearr_34297_36083[(2)] = null); + +(statearr_34297_36083[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (5))){ +var state_34238__$1 = state_34238; +var statearr_34306_36088 = state_34238__$1; +(statearr_34306_36088[(2)] = null); + +(statearr_34306_36088[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (10))){ +var inst_34229 = (state_34238[(2)]); +var state_34238__$1 = state_34238; +var statearr_34313_36089 = state_34238__$1; +(statearr_34313_36089[(2)] = inst_34229); + +(statearr_34313_36089[(1)] = (6)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34239 === (8))){ +var inst_34211 = (state_34238[(7)]); +var state_34238__$1 = state_34238; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34238__$1,(11),out,inst_34211); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_34319 = [null,null,null,null,null,null,null,null,null,null,null]; +(statearr_34319[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_34319[(1)] = (1)); + +return statearr_34319; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_34238){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_34238); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e34322){var ex__30621__auto__ = e34322; +var statearr_34323_36090 = state_34238; +(statearr_34323_36090[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_34238[(4)]))){ +var statearr_34324_36091 = state_34238; +(statearr_34324_36091[(1)] = cljs.core.first((state_34238[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36093 = state_34238; +state_34238 = G__36093; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_34238){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_34238); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_34326 = f__31399__auto__(); +(statearr_34326[(6)] = c__31398__auto___36069); + +return statearr_34326; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return out; +})); + +(cljs.core.async.take.cljs$lang$maxFixedArity = 3); + + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Handler} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async34360 = (function (f,ch,meta34335,_,fn1,meta34361){ +this.f = f; +this.ch = ch; +this.meta34335 = meta34335; +this._ = _; +this.fn1 = fn1; +this.meta34361 = meta34361; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async34360.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34362,meta34361__$1){ +var self__ = this; +var _34362__$1 = this; +return (new cljs.core.async.t_cljs$core$async34360(self__.f,self__.ch,self__.meta34335,self__._,self__.fn1,meta34361__$1)); +})); + +(cljs.core.async.t_cljs$core$async34360.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34362){ +var self__ = this; +var _34362__$1 = this; +return self__.meta34361; +})); + +(cljs.core.async.t_cljs$core$async34360.prototype.cljs$core$async$impl$protocols$Handler$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34360.prototype.cljs$core$async$impl$protocols$Handler$active_QMARK_$arity$1 = (function (___$1){ +var self__ = this; +var ___$2 = this; +return cljs.core.async.impl.protocols.active_QMARK_(self__.fn1); +})); + +(cljs.core.async.t_cljs$core$async34360.prototype.cljs$core$async$impl$protocols$Handler$blockable_QMARK_$arity$1 = (function (___$1){ +var self__ = this; +var ___$2 = this; +return true; +})); + +(cljs.core.async.t_cljs$core$async34360.prototype.cljs$core$async$impl$protocols$Handler$commit$arity$1 = (function (___$1){ +var self__ = this; +var ___$2 = this; +var f1 = cljs.core.async.impl.protocols.commit(self__.fn1); +return (function (p1__34328_SHARP_){ +var G__34382 = (((p1__34328_SHARP_ == null))?null:(self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(p1__34328_SHARP_) : self__.f.call(null, p1__34328_SHARP_))); +return (f1.cljs$core$IFn$_invoke$arity$1 ? f1.cljs$core$IFn$_invoke$arity$1(G__34382) : f1.call(null, G__34382)); +}); +})); + +(cljs.core.async.t_cljs$core$async34360.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.Symbol(null,"ch","ch",1085813622,null),new cljs.core.Symbol(null,"meta34335","meta34335",1072514632,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_","_",-1201019570,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol("cljs.core.async","t_cljs$core$async34334","cljs.core.async/t_cljs$core$async34334",928419466,null)], null)),new cljs.core.Symbol(null,"fn1","fn1",895834444,null),new cljs.core.Symbol(null,"meta34361","meta34361",-1661721914,null)], null); +})); + +(cljs.core.async.t_cljs$core$async34360.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async34360.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async34360"); + +(cljs.core.async.t_cljs$core$async34360.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async34360"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async34360. + */ +cljs.core.async.__GT_t_cljs$core$async34360 = (function cljs$core$async$__GT_t_cljs$core$async34360(f,ch,meta34335,_,fn1,meta34361){ +return (new cljs.core.async.t_cljs$core$async34360(f,ch,meta34335,_,fn1,meta34361)); +}); + + + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Channel} + * @implements {cljs.core.async.impl.protocols.WritePort} + * @implements {cljs.core.async.impl.protocols.ReadPort} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async34334 = (function (f,ch,meta34335){ +this.f = f; +this.ch = ch; +this.meta34335 = meta34335; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34336,meta34335__$1){ +var self__ = this; +var _34336__$1 = this; +return (new cljs.core.async.t_cljs$core$async34334(self__.f,self__.ch,meta34335__$1)); +})); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34336){ +var self__ = this; +var _34336__$1 = this; +return self__.meta34335; +})); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$async$impl$protocols$Channel$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.close_BANG_(self__.ch); +})); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$async$impl$protocols$Channel$closed_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.closed_QMARK_(self__.ch); +})); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2 = (function (_,fn1){ +var self__ = this; +var ___$1 = this; +var ret = cljs.core.async.impl.protocols.take_BANG_(self__.ch,(new cljs.core.async.t_cljs$core$async34360(self__.f,self__.ch,self__.meta34335,___$1,fn1,cljs.core.PersistentArrayMap.EMPTY))); +if(cljs.core.truth_((function (){var and__5043__auto__ = ret; +if(cljs.core.truth_(and__5043__auto__)){ +return (!((cljs.core.deref(ret) == null))); +} else { +return and__5043__auto__; +} +})())){ +return cljs.core.async.impl.channels.box((function (){var G__34403 = cljs.core.deref(ret); +return (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(G__34403) : self__.f.call(null, G__34403)); +})()); +} else { +return ret; +} +})); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$async$impl$protocols$WritePort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34334.prototype.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3 = (function (_,val,fn1){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.put_BANG_(self__.ch,val,fn1); +})); + +(cljs.core.async.t_cljs$core$async34334.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.Symbol(null,"ch","ch",1085813622,null),new cljs.core.Symbol(null,"meta34335","meta34335",1072514632,null)], null); +})); + +(cljs.core.async.t_cljs$core$async34334.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async34334.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async34334"); + +(cljs.core.async.t_cljs$core$async34334.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async34334"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async34334. + */ +cljs.core.async.__GT_t_cljs$core$async34334 = (function cljs$core$async$__GT_t_cljs$core$async34334(f,ch,meta34335){ +return (new cljs.core.async.t_cljs$core$async34334(f,ch,meta34335)); +}); + + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.map_LT_ = (function cljs$core$async$map_LT_(f,ch){ +return (new cljs.core.async.t_cljs$core$async34334(f,ch,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Channel} + * @implements {cljs.core.async.impl.protocols.WritePort} + * @implements {cljs.core.async.impl.protocols.ReadPort} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async34423 = (function (f,ch,meta34424){ +this.f = f; +this.ch = ch; +this.meta34424 = meta34424; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34425,meta34424__$1){ +var self__ = this; +var _34425__$1 = this; +return (new cljs.core.async.t_cljs$core$async34423(self__.f,self__.ch,meta34424__$1)); +})); + +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34425){ +var self__ = this; +var _34425__$1 = this; +return self__.meta34424; +})); + +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$async$impl$protocols$Channel$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.close_BANG_(self__.ch); +})); + +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2 = (function (_,fn1){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.take_BANG_(self__.ch,fn1); +})); + +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$async$impl$protocols$WritePort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34423.prototype.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3 = (function (_,val,fn1){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.put_BANG_(self__.ch,(self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(val) : self__.f.call(null, val)),fn1); +})); + +(cljs.core.async.t_cljs$core$async34423.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.Symbol(null,"ch","ch",1085813622,null),new cljs.core.Symbol(null,"meta34424","meta34424",-1213748829,null)], null); +})); + +(cljs.core.async.t_cljs$core$async34423.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async34423.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async34423"); + +(cljs.core.async.t_cljs$core$async34423.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async34423"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async34423. + */ +cljs.core.async.__GT_t_cljs$core$async34423 = (function cljs$core$async$__GT_t_cljs$core$async34423(f,ch,meta34424){ +return (new cljs.core.async.t_cljs$core$async34423(f,ch,meta34424)); +}); + + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.map_GT_ = (function cljs$core$async$map_GT_(f,ch){ +return (new cljs.core.async.t_cljs$core$async34423(f,ch,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor + * @implements {cljs.core.async.impl.protocols.Channel} + * @implements {cljs.core.async.impl.protocols.WritePort} + * @implements {cljs.core.async.impl.protocols.ReadPort} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.async.t_cljs$core$async34471 = (function (p,ch,meta34472){ +this.p = p; +this.ch = ch; +this.meta34472 = meta34472; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34473,meta34472__$1){ +var self__ = this; +var _34473__$1 = this; +return (new cljs.core.async.t_cljs$core$async34471(self__.p,self__.ch,meta34472__$1)); +})); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34473){ +var self__ = this; +var _34473__$1 = this; +return self__.meta34472; +})); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$async$impl$protocols$Channel$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$async$impl$protocols$Channel$close_BANG_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.close_BANG_(self__.ch); +})); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$async$impl$protocols$Channel$closed_QMARK_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.closed_QMARK_(self__.ch); +})); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2 = (function (_,fn1){ +var self__ = this; +var ___$1 = this; +return cljs.core.async.impl.protocols.take_BANG_(self__.ch,fn1); +})); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$async$impl$protocols$WritePort$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.async.t_cljs$core$async34471.prototype.cljs$core$async$impl$protocols$WritePort$put_BANG_$arity$3 = (function (_,val,fn1){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_((self__.p.cljs$core$IFn$_invoke$arity$1 ? self__.p.cljs$core$IFn$_invoke$arity$1(val) : self__.p.call(null, val)))){ +return cljs.core.async.impl.protocols.put_BANG_(self__.ch,val,fn1); +} else { +return cljs.core.async.impl.channels.box(cljs.core.not(cljs.core.async.impl.protocols.closed_QMARK_(self__.ch))); +} +})); + +(cljs.core.async.t_cljs$core$async34471.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"p","p",1791580836,null),new cljs.core.Symbol(null,"ch","ch",1085813622,null),new cljs.core.Symbol(null,"meta34472","meta34472",-197956940,null)], null); +})); + +(cljs.core.async.t_cljs$core$async34471.cljs$lang$type = true); + +(cljs.core.async.t_cljs$core$async34471.cljs$lang$ctorStr = "cljs.core.async/t_cljs$core$async34471"); + +(cljs.core.async.t_cljs$core$async34471.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core.async/t_cljs$core$async34471"); +})); + +/** + * Positional factory function for cljs.core.async/t_cljs$core$async34471. + */ +cljs.core.async.__GT_t_cljs$core$async34471 = (function cljs$core$async$__GT_t_cljs$core$async34471(p,ch,meta34472){ +return (new cljs.core.async.t_cljs$core$async34471(p,ch,meta34472)); +}); + + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.filter_GT_ = (function cljs$core$async$filter_GT_(p,ch){ +return (new cljs.core.async.t_cljs$core$async34471(p,ch,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.remove_GT_ = (function cljs$core$async$remove_GT_(p,ch){ +return cljs.core.async.filter_GT_(cljs.core.complement(p),ch); +}); +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.filter_LT_ = (function cljs$core$async$filter_LT_(var_args){ +var G__34475 = arguments.length; +switch (G__34475) { +case 2: +return cljs.core.async.filter_LT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.filter_LT_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.filter_LT_.cljs$core$IFn$_invoke$arity$2 = (function (p,ch){ +return cljs.core.async.filter_LT_.cljs$core$IFn$_invoke$arity$3(p,ch,null); +})); + +(cljs.core.async.filter_LT_.cljs$core$IFn$_invoke$arity$3 = (function (p,ch,buf_or_n){ +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +var c__31398__auto___36123 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_34500){ +var state_val_34501 = (state_34500[(1)]); +if((state_val_34501 === (7))){ +var inst_34496 = (state_34500[(2)]); +var state_34500__$1 = state_34500; +var statearr_34505_36127 = state_34500__$1; +(statearr_34505_36127[(2)] = inst_34496); + +(statearr_34505_36127[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (1))){ +var state_34500__$1 = state_34500; +var statearr_34506_36128 = state_34500__$1; +(statearr_34506_36128[(2)] = null); + +(statearr_34506_36128[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (4))){ +var inst_34482 = (state_34500[(7)]); +var inst_34482__$1 = (state_34500[(2)]); +var inst_34483 = (inst_34482__$1 == null); +var state_34500__$1 = (function (){var statearr_34507 = state_34500; +(statearr_34507[(7)] = inst_34482__$1); + +return statearr_34507; +})(); +if(cljs.core.truth_(inst_34483)){ +var statearr_34508_36129 = state_34500__$1; +(statearr_34508_36129[(1)] = (5)); + +} else { +var statearr_34509_36131 = state_34500__$1; +(statearr_34509_36131[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (6))){ +var inst_34482 = (state_34500[(7)]); +var inst_34487 = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(inst_34482) : p.call(null, inst_34482)); +var state_34500__$1 = state_34500; +if(cljs.core.truth_(inst_34487)){ +var statearr_34510_36133 = state_34500__$1; +(statearr_34510_36133[(1)] = (8)); + +} else { +var statearr_34511_36134 = state_34500__$1; +(statearr_34511_36134[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (3))){ +var inst_34498 = (state_34500[(2)]); +var state_34500__$1 = state_34500; +return cljs.core.async.impl.ioc_helpers.return_chan(state_34500__$1,inst_34498); +} else { +if((state_val_34501 === (2))){ +var state_34500__$1 = state_34500; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_34500__$1,(4),ch); +} else { +if((state_val_34501 === (11))){ +var inst_34490 = (state_34500[(2)]); +var state_34500__$1 = state_34500; +var statearr_34515_36138 = state_34500__$1; +(statearr_34515_36138[(2)] = inst_34490); + +(statearr_34515_36138[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (9))){ +var state_34500__$1 = state_34500; +var statearr_34516_36140 = state_34500__$1; +(statearr_34516_36140[(2)] = null); + +(statearr_34516_36140[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (5))){ +var inst_34485 = cljs.core.async.close_BANG_(out); +var state_34500__$1 = state_34500; +var statearr_34517_36143 = state_34500__$1; +(statearr_34517_36143[(2)] = inst_34485); + +(statearr_34517_36143[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (10))){ +var inst_34493 = (state_34500[(2)]); +var state_34500__$1 = (function (){var statearr_34520 = state_34500; +(statearr_34520[(8)] = inst_34493); + +return statearr_34520; +})(); +var statearr_34522_36144 = state_34500__$1; +(statearr_34522_36144[(2)] = null); + +(statearr_34522_36144[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34501 === (8))){ +var inst_34482 = (state_34500[(7)]); +var state_34500__$1 = state_34500; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34500__$1,(11),out,inst_34482); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_34523 = [null,null,null,null,null,null,null,null,null]; +(statearr_34523[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_34523[(1)] = (1)); + +return statearr_34523; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_34500){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_34500); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e34524){var ex__30621__auto__ = e34524; +var statearr_34526_36150 = state_34500; +(statearr_34526_36150[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_34500[(4)]))){ +var statearr_34527_36151 = state_34500; +(statearr_34527_36151[(1)] = cljs.core.first((state_34500[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36152 = state_34500; +state_34500 = G__36152; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_34500){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_34500); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_34528 = f__31399__auto__(); +(statearr_34528[(6)] = c__31398__auto___36123); + +return statearr_34528; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return out; +})); + +(cljs.core.async.filter_LT_.cljs$lang$maxFixedArity = 3); + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.remove_LT_ = (function cljs$core$async$remove_LT_(var_args){ +var G__34530 = arguments.length; +switch (G__34530) { +case 2: +return cljs.core.async.remove_LT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.remove_LT_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.remove_LT_.cljs$core$IFn$_invoke$arity$2 = (function (p,ch){ +return cljs.core.async.remove_LT_.cljs$core$IFn$_invoke$arity$3(p,ch,null); +})); + +(cljs.core.async.remove_LT_.cljs$core$IFn$_invoke$arity$3 = (function (p,ch,buf_or_n){ +return cljs.core.async.filter_LT_.cljs$core$IFn$_invoke$arity$3(cljs.core.complement(p),ch,buf_or_n); +})); + +(cljs.core.async.remove_LT_.cljs$lang$maxFixedArity = 3); + +cljs.core.async.mapcat_STAR_ = (function cljs$core$async$mapcat_STAR_(f,in$,out){ +var c__31398__auto__ = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_34617){ +var state_val_34618 = (state_34617[(1)]); +if((state_val_34618 === (7))){ +var inst_34608 = (state_34617[(2)]); +var state_34617__$1 = state_34617; +var statearr_34620_36159 = state_34617__$1; +(statearr_34620_36159[(2)] = inst_34608); + +(statearr_34620_36159[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (20))){ +var inst_34572 = (state_34617[(7)]); +var inst_34589 = (state_34617[(2)]); +var inst_34590 = cljs.core.next(inst_34572); +var inst_34557 = inst_34590; +var inst_34558 = null; +var inst_34559 = (0); +var inst_34560 = (0); +var state_34617__$1 = (function (){var statearr_34621 = state_34617; +(statearr_34621[(8)] = inst_34560); + +(statearr_34621[(9)] = inst_34558); + +(statearr_34621[(10)] = inst_34589); + +(statearr_34621[(11)] = inst_34559); + +(statearr_34621[(12)] = inst_34557); + +return statearr_34621; +})(); +var statearr_34625_36162 = state_34617__$1; +(statearr_34625_36162[(2)] = null); + +(statearr_34625_36162[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (1))){ +var state_34617__$1 = state_34617; +var statearr_34626_36163 = state_34617__$1; +(statearr_34626_36163[(2)] = null); + +(statearr_34626_36163[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (4))){ +var inst_34540 = (state_34617[(13)]); +var inst_34540__$1 = (state_34617[(2)]); +var inst_34541 = (inst_34540__$1 == null); +var state_34617__$1 = (function (){var statearr_34627 = state_34617; +(statearr_34627[(13)] = inst_34540__$1); + +return statearr_34627; +})(); +if(cljs.core.truth_(inst_34541)){ +var statearr_34628_36166 = state_34617__$1; +(statearr_34628_36166[(1)] = (5)); + +} else { +var statearr_34629_36167 = state_34617__$1; +(statearr_34629_36167[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (15))){ +var state_34617__$1 = state_34617; +var statearr_34633_36168 = state_34617__$1; +(statearr_34633_36168[(2)] = null); + +(statearr_34633_36168[(1)] = (16)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (21))){ +var state_34617__$1 = state_34617; +var statearr_34636_36169 = state_34617__$1; +(statearr_34636_36169[(2)] = null); + +(statearr_34636_36169[(1)] = (23)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (13))){ +var inst_34560 = (state_34617[(8)]); +var inst_34558 = (state_34617[(9)]); +var inst_34559 = (state_34617[(11)]); +var inst_34557 = (state_34617[(12)]); +var inst_34567 = (state_34617[(2)]); +var inst_34569 = (inst_34560 + (1)); +var tmp34630 = inst_34558; +var tmp34631 = inst_34559; +var tmp34632 = inst_34557; +var inst_34557__$1 = tmp34632; +var inst_34558__$1 = tmp34630; +var inst_34559__$1 = tmp34631; +var inst_34560__$1 = inst_34569; +var state_34617__$1 = (function (){var statearr_34642 = state_34617; +(statearr_34642[(14)] = inst_34567); + +(statearr_34642[(8)] = inst_34560__$1); + +(statearr_34642[(9)] = inst_34558__$1); + +(statearr_34642[(11)] = inst_34559__$1); + +(statearr_34642[(12)] = inst_34557__$1); + +return statearr_34642; +})(); +var statearr_34643_36170 = state_34617__$1; +(statearr_34643_36170[(2)] = null); + +(statearr_34643_36170[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (22))){ +var state_34617__$1 = state_34617; +var statearr_34645_36171 = state_34617__$1; +(statearr_34645_36171[(2)] = null); + +(statearr_34645_36171[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (6))){ +var inst_34540 = (state_34617[(13)]); +var inst_34555 = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(inst_34540) : f.call(null, inst_34540)); +var inst_34556 = cljs.core.seq(inst_34555); +var inst_34557 = inst_34556; +var inst_34558 = null; +var inst_34559 = (0); +var inst_34560 = (0); +var state_34617__$1 = (function (){var statearr_34647 = state_34617; +(statearr_34647[(8)] = inst_34560); + +(statearr_34647[(9)] = inst_34558); + +(statearr_34647[(11)] = inst_34559); + +(statearr_34647[(12)] = inst_34557); + +return statearr_34647; +})(); +var statearr_34651_36173 = state_34617__$1; +(statearr_34651_36173[(2)] = null); + +(statearr_34651_36173[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (17))){ +var inst_34572 = (state_34617[(7)]); +var inst_34577 = cljs.core.chunk_first(inst_34572); +var inst_34582 = cljs.core.chunk_rest(inst_34572); +var inst_34583 = cljs.core.count(inst_34577); +var inst_34557 = inst_34582; +var inst_34558 = inst_34577; +var inst_34559 = inst_34583; +var inst_34560 = (0); +var state_34617__$1 = (function (){var statearr_34656 = state_34617; +(statearr_34656[(8)] = inst_34560); + +(statearr_34656[(9)] = inst_34558); + +(statearr_34656[(11)] = inst_34559); + +(statearr_34656[(12)] = inst_34557); + +return statearr_34656; +})(); +var statearr_34657_36174 = state_34617__$1; +(statearr_34657_36174[(2)] = null); + +(statearr_34657_36174[(1)] = (8)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (3))){ +var inst_34610 = (state_34617[(2)]); +var state_34617__$1 = state_34617; +return cljs.core.async.impl.ioc_helpers.return_chan(state_34617__$1,inst_34610); +} else { +if((state_val_34618 === (12))){ +var inst_34598 = (state_34617[(2)]); +var state_34617__$1 = state_34617; +var statearr_34661_36176 = state_34617__$1; +(statearr_34661_36176[(2)] = inst_34598); + +(statearr_34661_36176[(1)] = (9)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (2))){ +var state_34617__$1 = state_34617; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_34617__$1,(4),in$); +} else { +if((state_val_34618 === (23))){ +var inst_34606 = (state_34617[(2)]); +var state_34617__$1 = state_34617; +var statearr_34662_36177 = state_34617__$1; +(statearr_34662_36177[(2)] = inst_34606); + +(statearr_34662_36177[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (19))){ +var inst_34593 = (state_34617[(2)]); +var state_34617__$1 = state_34617; +var statearr_34670_36178 = state_34617__$1; +(statearr_34670_36178[(2)] = inst_34593); + +(statearr_34670_36178[(1)] = (16)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (11))){ +var inst_34572 = (state_34617[(7)]); +var inst_34557 = (state_34617[(12)]); +var inst_34572__$1 = cljs.core.seq(inst_34557); +var state_34617__$1 = (function (){var statearr_34678 = state_34617; +(statearr_34678[(7)] = inst_34572__$1); + +return statearr_34678; +})(); +if(inst_34572__$1){ +var statearr_34686_36180 = state_34617__$1; +(statearr_34686_36180[(1)] = (14)); + +} else { +var statearr_34687_36181 = state_34617__$1; +(statearr_34687_36181[(1)] = (15)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (9))){ +var inst_34600 = (state_34617[(2)]); +var inst_34601 = cljs.core.async.impl.protocols.closed_QMARK_(out); +var state_34617__$1 = (function (){var statearr_34706 = state_34617; +(statearr_34706[(15)] = inst_34600); + +return statearr_34706; +})(); +if(cljs.core.truth_(inst_34601)){ +var statearr_34713_36182 = state_34617__$1; +(statearr_34713_36182[(1)] = (21)); + +} else { +var statearr_34719_36183 = state_34617__$1; +(statearr_34719_36183[(1)] = (22)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (5))){ +var inst_34543 = cljs.core.async.close_BANG_(out); +var state_34617__$1 = state_34617; +var statearr_34720_36184 = state_34617__$1; +(statearr_34720_36184[(2)] = inst_34543); + +(statearr_34720_36184[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (14))){ +var inst_34572 = (state_34617[(7)]); +var inst_34575 = cljs.core.chunked_seq_QMARK_(inst_34572); +var state_34617__$1 = state_34617; +if(inst_34575){ +var statearr_34722_36186 = state_34617__$1; +(statearr_34722_36186[(1)] = (17)); + +} else { +var statearr_34723_36187 = state_34617__$1; +(statearr_34723_36187[(1)] = (18)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (16))){ +var inst_34596 = (state_34617[(2)]); +var state_34617__$1 = state_34617; +var statearr_34727_36188 = state_34617__$1; +(statearr_34727_36188[(2)] = inst_34596); + +(statearr_34727_36188[(1)] = (12)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34618 === (10))){ +var inst_34560 = (state_34617[(8)]); +var inst_34558 = (state_34617[(9)]); +var inst_34565 = cljs.core._nth(inst_34558,inst_34560); +var state_34617__$1 = state_34617; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34617__$1,(13),out,inst_34565); +} else { +if((state_val_34618 === (18))){ +var inst_34572 = (state_34617[(7)]); +var inst_34587 = cljs.core.first(inst_34572); +var state_34617__$1 = state_34617; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34617__$1,(20),out,inst_34587); +} else { +if((state_val_34618 === (8))){ +var inst_34560 = (state_34617[(8)]); +var inst_34559 = (state_34617[(11)]); +var inst_34562 = (inst_34560 < inst_34559); +var inst_34563 = inst_34562; +var state_34617__$1 = state_34617; +if(cljs.core.truth_(inst_34563)){ +var statearr_34733_36195 = state_34617__$1; +(statearr_34733_36195[(1)] = (10)); + +} else { +var statearr_34734_36196 = state_34617__$1; +(statearr_34734_36196[(1)] = (11)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$mapcat_STAR__$_state_machine__30618__auto__ = null; +var cljs$core$async$mapcat_STAR__$_state_machine__30618__auto____0 = (function (){ +var statearr_34735 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_34735[(0)] = cljs$core$async$mapcat_STAR__$_state_machine__30618__auto__); + +(statearr_34735[(1)] = (1)); + +return statearr_34735; +}); +var cljs$core$async$mapcat_STAR__$_state_machine__30618__auto____1 = (function (state_34617){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_34617); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e34738){var ex__30621__auto__ = e34738; +var statearr_34743_36198 = state_34617; +(statearr_34743_36198[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_34617[(4)]))){ +var statearr_34745_36199 = state_34617; +(statearr_34745_36199[(1)] = cljs.core.first((state_34617[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36200 = state_34617; +state_34617 = G__36200; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$mapcat_STAR__$_state_machine__30618__auto__ = function(state_34617){ +switch(arguments.length){ +case 0: +return cljs$core$async$mapcat_STAR__$_state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$mapcat_STAR__$_state_machine__30618__auto____1.call(this,state_34617); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$mapcat_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$mapcat_STAR__$_state_machine__30618__auto____0; +cljs$core$async$mapcat_STAR__$_state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$mapcat_STAR__$_state_machine__30618__auto____1; +return cljs$core$async$mapcat_STAR__$_state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_34750 = f__31399__auto__(); +(statearr_34750[(6)] = c__31398__auto__); + +return statearr_34750; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + +return c__31398__auto__; +}); +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.mapcat_LT_ = (function cljs$core$async$mapcat_LT_(var_args){ +var G__34761 = arguments.length; +switch (G__34761) { +case 2: +return cljs.core.async.mapcat_LT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.mapcat_LT_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.mapcat_LT_.cljs$core$IFn$_invoke$arity$2 = (function (f,in$){ +return cljs.core.async.mapcat_LT_.cljs$core$IFn$_invoke$arity$3(f,in$,null); +})); + +(cljs.core.async.mapcat_LT_.cljs$core$IFn$_invoke$arity$3 = (function (f,in$,buf_or_n){ +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +cljs.core.async.mapcat_STAR_(f,in$,out); + +return out; +})); + +(cljs.core.async.mapcat_LT_.cljs$lang$maxFixedArity = 3); + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.mapcat_GT_ = (function cljs$core$async$mapcat_GT_(var_args){ +var G__34765 = arguments.length; +switch (G__34765) { +case 2: +return cljs.core.async.mapcat_GT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.mapcat_GT_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.mapcat_GT_.cljs$core$IFn$_invoke$arity$2 = (function (f,out){ +return cljs.core.async.mapcat_GT_.cljs$core$IFn$_invoke$arity$3(f,out,null); +})); + +(cljs.core.async.mapcat_GT_.cljs$core$IFn$_invoke$arity$3 = (function (f,out,buf_or_n){ +var in$ = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +cljs.core.async.mapcat_STAR_(f,in$,out); + +return in$; +})); + +(cljs.core.async.mapcat_GT_.cljs$lang$maxFixedArity = 3); + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.unique = (function cljs$core$async$unique(var_args){ +var G__34773 = arguments.length; +switch (G__34773) { +case 1: +return cljs.core.async.unique.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.async.unique.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.unique.cljs$core$IFn$_invoke$arity$1 = (function (ch){ +return cljs.core.async.unique.cljs$core$IFn$_invoke$arity$2(ch,null); +})); + +(cljs.core.async.unique.cljs$core$IFn$_invoke$arity$2 = (function (ch,buf_or_n){ +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +var c__31398__auto___36211 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_34805){ +var state_val_34806 = (state_34805[(1)]); +if((state_val_34806 === (7))){ +var inst_34800 = (state_34805[(2)]); +var state_34805__$1 = state_34805; +var statearr_34814_36212 = state_34805__$1; +(statearr_34814_36212[(2)] = inst_34800); + +(statearr_34814_36212[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34806 === (1))){ +var inst_34782 = null; +var state_34805__$1 = (function (){var statearr_34815 = state_34805; +(statearr_34815[(7)] = inst_34782); + +return statearr_34815; +})(); +var statearr_34816_36213 = state_34805__$1; +(statearr_34816_36213[(2)] = null); + +(statearr_34816_36213[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34806 === (4))){ +var inst_34785 = (state_34805[(8)]); +var inst_34785__$1 = (state_34805[(2)]); +var inst_34786 = (inst_34785__$1 == null); +var inst_34787 = cljs.core.not(inst_34786); +var state_34805__$1 = (function (){var statearr_34818 = state_34805; +(statearr_34818[(8)] = inst_34785__$1); + +return statearr_34818; +})(); +if(inst_34787){ +var statearr_34825_36214 = state_34805__$1; +(statearr_34825_36214[(1)] = (5)); + +} else { +var statearr_34826_36215 = state_34805__$1; +(statearr_34826_36215[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34806 === (6))){ +var state_34805__$1 = state_34805; +var statearr_34827_36217 = state_34805__$1; +(statearr_34827_36217[(2)] = null); + +(statearr_34827_36217[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34806 === (3))){ +var inst_34802 = (state_34805[(2)]); +var inst_34803 = cljs.core.async.close_BANG_(out); +var state_34805__$1 = (function (){var statearr_34828 = state_34805; +(statearr_34828[(9)] = inst_34802); + +return statearr_34828; +})(); +return cljs.core.async.impl.ioc_helpers.return_chan(state_34805__$1,inst_34803); +} else { +if((state_val_34806 === (2))){ +var state_34805__$1 = state_34805; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_34805__$1,(4),ch); +} else { +if((state_val_34806 === (11))){ +var inst_34785 = (state_34805[(8)]); +var inst_34794 = (state_34805[(2)]); +var inst_34782 = inst_34785; +var state_34805__$1 = (function (){var statearr_34835 = state_34805; +(statearr_34835[(7)] = inst_34782); + +(statearr_34835[(10)] = inst_34794); + +return statearr_34835; +})(); +var statearr_34837_36226 = state_34805__$1; +(statearr_34837_36226[(2)] = null); + +(statearr_34837_36226[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34806 === (9))){ +var inst_34785 = (state_34805[(8)]); +var state_34805__$1 = state_34805; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34805__$1,(11),out,inst_34785); +} else { +if((state_val_34806 === (5))){ +var inst_34782 = (state_34805[(7)]); +var inst_34785 = (state_34805[(8)]); +var inst_34789 = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(inst_34785,inst_34782); +var state_34805__$1 = state_34805; +if(inst_34789){ +var statearr_34840_36227 = state_34805__$1; +(statearr_34840_36227[(1)] = (8)); + +} else { +var statearr_34841_36229 = state_34805__$1; +(statearr_34841_36229[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34806 === (10))){ +var inst_34797 = (state_34805[(2)]); +var state_34805__$1 = state_34805; +var statearr_34842_36230 = state_34805__$1; +(statearr_34842_36230[(2)] = inst_34797); + +(statearr_34842_36230[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34806 === (8))){ +var inst_34782 = (state_34805[(7)]); +var tmp34839 = inst_34782; +var inst_34782__$1 = tmp34839; +var state_34805__$1 = (function (){var statearr_34843 = state_34805; +(statearr_34843[(7)] = inst_34782__$1); + +return statearr_34843; +})(); +var statearr_34844_36231 = state_34805__$1; +(statearr_34844_36231[(2)] = null); + +(statearr_34844_36231[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_34857 = [null,null,null,null,null,null,null,null,null,null,null]; +(statearr_34857[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_34857[(1)] = (1)); + +return statearr_34857; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_34805){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_34805); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e34859){var ex__30621__auto__ = e34859; +var statearr_34860_36232 = state_34805; +(statearr_34860_36232[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_34805[(4)]))){ +var statearr_34861_36234 = state_34805; +(statearr_34861_36234[(1)] = cljs.core.first((state_34805[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36236 = state_34805; +state_34805 = G__36236; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_34805){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_34805); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_34863 = f__31399__auto__(); +(statearr_34863[(6)] = c__31398__auto___36211); + +return statearr_34863; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return out; +})); + +(cljs.core.async.unique.cljs$lang$maxFixedArity = 2); + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.partition = (function cljs$core$async$partition(var_args){ +var G__34870 = arguments.length; +switch (G__34870) { +case 2: +return cljs.core.async.partition.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.partition.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.partition.cljs$core$IFn$_invoke$arity$2 = (function (n,ch){ +return cljs.core.async.partition.cljs$core$IFn$_invoke$arity$3(n,ch,null); +})); + +(cljs.core.async.partition.cljs$core$IFn$_invoke$arity$3 = (function (n,ch,buf_or_n){ +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +var c__31398__auto___36242 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_34914){ +var state_val_34915 = (state_34914[(1)]); +if((state_val_34915 === (7))){ +var inst_34909 = (state_34914[(2)]); +var state_34914__$1 = state_34914; +var statearr_34917_36243 = state_34914__$1; +(statearr_34917_36243[(2)] = inst_34909); + +(statearr_34917_36243[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (1))){ +var inst_34874 = (new Array(n)); +var inst_34875 = inst_34874; +var inst_34876 = (0); +var state_34914__$1 = (function (){var statearr_34921 = state_34914; +(statearr_34921[(7)] = inst_34876); + +(statearr_34921[(8)] = inst_34875); + +return statearr_34921; +})(); +var statearr_34922_36244 = state_34914__$1; +(statearr_34922_36244[(2)] = null); + +(statearr_34922_36244[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (4))){ +var inst_34880 = (state_34914[(9)]); +var inst_34880__$1 = (state_34914[(2)]); +var inst_34881 = (inst_34880__$1 == null); +var inst_34882 = cljs.core.not(inst_34881); +var state_34914__$1 = (function (){var statearr_34923 = state_34914; +(statearr_34923[(9)] = inst_34880__$1); + +return statearr_34923; +})(); +if(inst_34882){ +var statearr_34924_36245 = state_34914__$1; +(statearr_34924_36245[(1)] = (5)); + +} else { +var statearr_34925_36246 = state_34914__$1; +(statearr_34925_36246[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (15))){ +var inst_34903 = (state_34914[(2)]); +var state_34914__$1 = state_34914; +var statearr_34926_36247 = state_34914__$1; +(statearr_34926_36247[(2)] = inst_34903); + +(statearr_34926_36247[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (13))){ +var state_34914__$1 = state_34914; +var statearr_34927_36249 = state_34914__$1; +(statearr_34927_36249[(2)] = null); + +(statearr_34927_36249[(1)] = (14)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (6))){ +var inst_34876 = (state_34914[(7)]); +var inst_34899 = (inst_34876 > (0)); +var state_34914__$1 = state_34914; +if(cljs.core.truth_(inst_34899)){ +var statearr_34928_36253 = state_34914__$1; +(statearr_34928_36253[(1)] = (12)); + +} else { +var statearr_34929_36254 = state_34914__$1; +(statearr_34929_36254[(1)] = (13)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (3))){ +var inst_34911 = (state_34914[(2)]); +var state_34914__$1 = state_34914; +return cljs.core.async.impl.ioc_helpers.return_chan(state_34914__$1,inst_34911); +} else { +if((state_val_34915 === (12))){ +var inst_34875 = (state_34914[(8)]); +var inst_34901 = cljs.core.vec(inst_34875); +var state_34914__$1 = state_34914; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34914__$1,(15),out,inst_34901); +} else { +if((state_val_34915 === (2))){ +var state_34914__$1 = state_34914; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_34914__$1,(4),ch); +} else { +if((state_val_34915 === (11))){ +var inst_34893 = (state_34914[(2)]); +var inst_34894 = (new Array(n)); +var inst_34875 = inst_34894; +var inst_34876 = (0); +var state_34914__$1 = (function (){var statearr_34930 = state_34914; +(statearr_34930[(7)] = inst_34876); + +(statearr_34930[(8)] = inst_34875); + +(statearr_34930[(10)] = inst_34893); + +return statearr_34930; +})(); +var statearr_34931_36261 = state_34914__$1; +(statearr_34931_36261[(2)] = null); + +(statearr_34931_36261[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (9))){ +var inst_34875 = (state_34914[(8)]); +var inst_34891 = cljs.core.vec(inst_34875); +var state_34914__$1 = state_34914; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_34914__$1,(11),out,inst_34891); +} else { +if((state_val_34915 === (5))){ +var inst_34885 = (state_34914[(11)]); +var inst_34876 = (state_34914[(7)]); +var inst_34875 = (state_34914[(8)]); +var inst_34880 = (state_34914[(9)]); +var inst_34884 = (inst_34875[inst_34876] = inst_34880); +var inst_34885__$1 = (inst_34876 + (1)); +var inst_34886 = (inst_34885__$1 < n); +var state_34914__$1 = (function (){var statearr_34937 = state_34914; +(statearr_34937[(11)] = inst_34885__$1); + +(statearr_34937[(12)] = inst_34884); + +return statearr_34937; +})(); +if(cljs.core.truth_(inst_34886)){ +var statearr_34941_36263 = state_34914__$1; +(statearr_34941_36263[(1)] = (8)); + +} else { +var statearr_34942_36264 = state_34914__$1; +(statearr_34942_36264[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (14))){ +var inst_34906 = (state_34914[(2)]); +var inst_34907 = cljs.core.async.close_BANG_(out); +var state_34914__$1 = (function (){var statearr_34954 = state_34914; +(statearr_34954[(13)] = inst_34906); + +return statearr_34954; +})(); +var statearr_34955_36265 = state_34914__$1; +(statearr_34955_36265[(2)] = inst_34907); + +(statearr_34955_36265[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (10))){ +var inst_34897 = (state_34914[(2)]); +var state_34914__$1 = state_34914; +var statearr_34956_36268 = state_34914__$1; +(statearr_34956_36268[(2)] = inst_34897); + +(statearr_34956_36268[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_34915 === (8))){ +var inst_34885 = (state_34914[(11)]); +var inst_34875 = (state_34914[(8)]); +var tmp34953 = inst_34875; +var inst_34875__$1 = tmp34953; +var inst_34876 = inst_34885; +var state_34914__$1 = (function (){var statearr_34957 = state_34914; +(statearr_34957[(7)] = inst_34876); + +(statearr_34957[(8)] = inst_34875__$1); + +return statearr_34957; +})(); +var statearr_34958_36269 = state_34914__$1; +(statearr_34958_36269[(2)] = null); + +(statearr_34958_36269[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_34959 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_34959[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_34959[(1)] = (1)); + +return statearr_34959; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_34914){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_34914); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e34960){var ex__30621__auto__ = e34960; +var statearr_34961_36272 = state_34914; +(statearr_34961_36272[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_34914[(4)]))){ +var statearr_34962_36274 = state_34914; +(statearr_34962_36274[(1)] = cljs.core.first((state_34914[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36276 = state_34914; +state_34914 = G__36276; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_34914){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_34914); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_34963 = f__31399__auto__(); +(statearr_34963[(6)] = c__31398__auto___36242); + +return statearr_34963; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return out; +})); + +(cljs.core.async.partition.cljs$lang$maxFixedArity = 3); + +/** + * Deprecated - this function will be removed. Use transducer instead + */ +cljs.core.async.partition_by = (function cljs$core$async$partition_by(var_args){ +var G__34965 = arguments.length; +switch (G__34965) { +case 2: +return cljs.core.async.partition_by.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.async.partition_by.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.async.partition_by.cljs$core$IFn$_invoke$arity$2 = (function (f,ch){ +return cljs.core.async.partition_by.cljs$core$IFn$_invoke$arity$3(f,ch,null); +})); + +(cljs.core.async.partition_by.cljs$core$IFn$_invoke$arity$3 = (function (f,ch,buf_or_n){ +var out = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1(buf_or_n); +var c__31398__auto___36280 = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +cljs.core.async.impl.dispatch.run((function (){ +var f__31399__auto__ = (function (){var switch__30617__auto__ = (function (state_35016){ +var state_val_35017 = (state_35016[(1)]); +if((state_val_35017 === (7))){ +var inst_35012 = (state_35016[(2)]); +var state_35016__$1 = state_35016; +var statearr_35018_36282 = state_35016__$1; +(statearr_35018_36282[(2)] = inst_35012); + +(statearr_35018_36282[(1)] = (3)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (1))){ +var inst_34972 = []; +var inst_34973 = inst_34972; +var inst_34974 = new cljs.core.Keyword("cljs.core.async","nothing","cljs.core.async/nothing",-69252123); +var state_35016__$1 = (function (){var statearr_35019 = state_35016; +(statearr_35019[(7)] = inst_34973); + +(statearr_35019[(8)] = inst_34974); + +return statearr_35019; +})(); +var statearr_35020_36287 = state_35016__$1; +(statearr_35020_36287[(2)] = null); + +(statearr_35020_36287[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (4))){ +var inst_34977 = (state_35016[(9)]); +var inst_34977__$1 = (state_35016[(2)]); +var inst_34978 = (inst_34977__$1 == null); +var inst_34979 = cljs.core.not(inst_34978); +var state_35016__$1 = (function (){var statearr_35022 = state_35016; +(statearr_35022[(9)] = inst_34977__$1); + +return statearr_35022; +})(); +if(inst_34979){ +var statearr_35024_36297 = state_35016__$1; +(statearr_35024_36297[(1)] = (5)); + +} else { +var statearr_35025_36299 = state_35016__$1; +(statearr_35025_36299[(1)] = (6)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (15))){ +var inst_34973 = (state_35016[(7)]); +var inst_35004 = cljs.core.vec(inst_34973); +var state_35016__$1 = state_35016; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_35016__$1,(18),out,inst_35004); +} else { +if((state_val_35017 === (13))){ +var inst_34999 = (state_35016[(2)]); +var state_35016__$1 = state_35016; +var statearr_35026_36304 = state_35016__$1; +(statearr_35026_36304[(2)] = inst_34999); + +(statearr_35026_36304[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (6))){ +var inst_34973 = (state_35016[(7)]); +var inst_35001 = inst_34973.length; +var inst_35002 = (inst_35001 > (0)); +var state_35016__$1 = state_35016; +if(cljs.core.truth_(inst_35002)){ +var statearr_35027_36309 = state_35016__$1; +(statearr_35027_36309[(1)] = (15)); + +} else { +var statearr_35028_36310 = state_35016__$1; +(statearr_35028_36310[(1)] = (16)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (17))){ +var inst_35009 = (state_35016[(2)]); +var inst_35010 = cljs.core.async.close_BANG_(out); +var state_35016__$1 = (function (){var statearr_35029 = state_35016; +(statearr_35029[(10)] = inst_35009); + +return statearr_35029; +})(); +var statearr_35032_36311 = state_35016__$1; +(statearr_35032_36311[(2)] = inst_35010); + +(statearr_35032_36311[(1)] = (7)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (3))){ +var inst_35014 = (state_35016[(2)]); +var state_35016__$1 = state_35016; +return cljs.core.async.impl.ioc_helpers.return_chan(state_35016__$1,inst_35014); +} else { +if((state_val_35017 === (12))){ +var inst_34973 = (state_35016[(7)]); +var inst_34992 = cljs.core.vec(inst_34973); +var state_35016__$1 = state_35016; +return cljs.core.async.impl.ioc_helpers.put_BANG_(state_35016__$1,(14),out,inst_34992); +} else { +if((state_val_35017 === (2))){ +var state_35016__$1 = state_35016; +return cljs.core.async.impl.ioc_helpers.take_BANG_(state_35016__$1,(4),ch); +} else { +if((state_val_35017 === (11))){ +var inst_34977 = (state_35016[(9)]); +var inst_34973 = (state_35016[(7)]); +var inst_34981 = (state_35016[(11)]); +var inst_34989 = inst_34973.push(inst_34977); +var tmp35034 = inst_34973; +var inst_34973__$1 = tmp35034; +var inst_34974 = inst_34981; +var state_35016__$1 = (function (){var statearr_35036 = state_35016; +(statearr_35036[(12)] = inst_34989); + +(statearr_35036[(7)] = inst_34973__$1); + +(statearr_35036[(8)] = inst_34974); + +return statearr_35036; +})(); +var statearr_35037_36320 = state_35016__$1; +(statearr_35037_36320[(2)] = null); + +(statearr_35037_36320[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (9))){ +var inst_34974 = (state_35016[(8)]); +var inst_34985 = cljs.core.keyword_identical_QMARK_(inst_34974,new cljs.core.Keyword("cljs.core.async","nothing","cljs.core.async/nothing",-69252123)); +var state_35016__$1 = state_35016; +var statearr_35045_36323 = state_35016__$1; +(statearr_35045_36323[(2)] = inst_34985); + +(statearr_35045_36323[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (5))){ +var inst_34977 = (state_35016[(9)]); +var inst_34981 = (state_35016[(11)]); +var inst_34982 = (state_35016[(13)]); +var inst_34974 = (state_35016[(8)]); +var inst_34981__$1 = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(inst_34977) : f.call(null, inst_34977)); +var inst_34982__$1 = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(inst_34981__$1,inst_34974); +var state_35016__$1 = (function (){var statearr_35046 = state_35016; +(statearr_35046[(11)] = inst_34981__$1); + +(statearr_35046[(13)] = inst_34982__$1); + +return statearr_35046; +})(); +if(inst_34982__$1){ +var statearr_35047_36324 = state_35016__$1; +(statearr_35047_36324[(1)] = (8)); + +} else { +var statearr_35049_36325 = state_35016__$1; +(statearr_35049_36325[(1)] = (9)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (14))){ +var inst_34977 = (state_35016[(9)]); +var inst_34981 = (state_35016[(11)]); +var inst_34994 = (state_35016[(2)]); +var inst_34995 = []; +var inst_34996 = inst_34995.push(inst_34977); +var inst_34973 = inst_34995; +var inst_34974 = inst_34981; +var state_35016__$1 = (function (){var statearr_35050 = state_35016; +(statearr_35050[(14)] = inst_34996); + +(statearr_35050[(7)] = inst_34973); + +(statearr_35050[(8)] = inst_34974); + +(statearr_35050[(15)] = inst_34994); + +return statearr_35050; +})(); +var statearr_35051_36326 = state_35016__$1; +(statearr_35051_36326[(2)] = null); + +(statearr_35051_36326[(1)] = (2)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (16))){ +var state_35016__$1 = state_35016; +var statearr_35053_36327 = state_35016__$1; +(statearr_35053_36327[(2)] = null); + +(statearr_35053_36327[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (10))){ +var inst_34987 = (state_35016[(2)]); +var state_35016__$1 = state_35016; +if(cljs.core.truth_(inst_34987)){ +var statearr_35056_36328 = state_35016__$1; +(statearr_35056_36328[(1)] = (11)); + +} else { +var statearr_35058_36329 = state_35016__$1; +(statearr_35058_36329[(1)] = (12)); + +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (18))){ +var inst_35006 = (state_35016[(2)]); +var state_35016__$1 = state_35016; +var statearr_35060_36331 = state_35016__$1; +(statearr_35060_36331[(2)] = inst_35006); + +(statearr_35060_36331[(1)] = (17)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +if((state_val_35017 === (8))){ +var inst_34982 = (state_35016[(13)]); +var state_35016__$1 = state_35016; +var statearr_35061_36332 = state_35016__$1; +(statearr_35061_36332[(2)] = inst_34982); + +(statearr_35061_36332[(1)] = (10)); + + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +} else { +return null; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); +return (function() { +var cljs$core$async$state_machine__30618__auto__ = null; +var cljs$core$async$state_machine__30618__auto____0 = (function (){ +var statearr_35067 = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(statearr_35067[(0)] = cljs$core$async$state_machine__30618__auto__); + +(statearr_35067[(1)] = (1)); + +return statearr_35067; +}); +var cljs$core$async$state_machine__30618__auto____1 = (function (state_35016){ +while(true){ +var ret_value__30619__auto__ = (function (){try{while(true){ +var result__30620__auto__ = switch__30617__auto__(state_35016); +if(cljs.core.keyword_identical_QMARK_(result__30620__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +continue; +} else { +return result__30620__auto__; +} +break; +} +}catch (e35072){var ex__30621__auto__ = e35072; +var statearr_35073_36334 = state_35016; +(statearr_35073_36334[(2)] = ex__30621__auto__); + + +if(cljs.core.seq((state_35016[(4)]))){ +var statearr_35074_36335 = state_35016; +(statearr_35074_36335[(1)] = cljs.core.first((state_35016[(4)]))); + +} else { +throw ex__30621__auto__; +} + +return new cljs.core.Keyword(null,"recur","recur",-437573268); +}})(); +if(cljs.core.keyword_identical_QMARK_(ret_value__30619__auto__,new cljs.core.Keyword(null,"recur","recur",-437573268))){ +var G__36336 = state_35016; +state_35016 = G__36336; +continue; +} else { +return ret_value__30619__auto__; +} +break; +} +}); +cljs$core$async$state_machine__30618__auto__ = function(state_35016){ +switch(arguments.length){ +case 0: +return cljs$core$async$state_machine__30618__auto____0.call(this); +case 1: +return cljs$core$async$state_machine__30618__auto____1.call(this,state_35016); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$0 = cljs$core$async$state_machine__30618__auto____0; +cljs$core$async$state_machine__30618__auto__.cljs$core$IFn$_invoke$arity$1 = cljs$core$async$state_machine__30618__auto____1; +return cljs$core$async$state_machine__30618__auto__; +})() +})(); +var state__31400__auto__ = (function (){var statearr_35076 = f__31399__auto__(); +(statearr_35076[(6)] = c__31398__auto___36280); + +return statearr_35076; +})(); +return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped(state__31400__auto__); +})); + + +return out; +})); + +(cljs.core.async.partition_by.cljs$lang$maxFixedArity = 3); + + +//# sourceMappingURL=cljs.core.async.js.map diff --git a/out/cljs-runtime/cljs.core.async.js.map b/out/cljs-runtime/cljs.core.async.js.map new file mode 100644 index 0000000..adf9045 --- /dev/null +++ b/out/cljs-runtime/cljs.core.async.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/core/async.cljs"],"mappings":";;;;;;;;;;;;;;;;;;;;;mDAsBII,SAAEE;;;;;;;;;;;4HAGSE;;IAAAA;;;;+HACGA;;IAAAA;AAAGF;;;qHACPE;;IAAAA;AAAGJ;;;;;;;;;;;;;;;;;;oGALbA,EAAEE;mDAAFF,EAAEE;;;;AAFN,AAAA,6BAAA,qCAAAN,lEAAOE;AAAP,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,yDAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,yDAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,CAAA,2DAAA,3DAAOD,sEACHE;AADJ,AACO,kEAAA,3DAACC,yDAAWD;;;AADnB,CAAA,2DAAA,3DAAOF,sEAEHE,EAAEE;AAFN,mDAEIF,EAAEE,rDACH,YAAAC,mDAAA;;;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BAAA;AAAA,eAAAwjC;;;;AAAAxjC;;;;;wDAAAwjC;;;;;iEAAAA;;;;;;;;;IAAAhjC,uBAAA,iBAAAumC,iBAAA,AAAA/oC;AAAA,AAAA,CAAA+oC,eAAArmC,AAAA,OAAA3C;;AAAAgpC;;AAAA,AAAA,OAAApmC,2DAAAH;;;AAAAzC;AAgBAmhB;;;AAtBP,CAAA,uDAAA,vDAAMokB;;AAAN","names":["var_args","G__31526","cljs.core.async/fn-handler","js/Error","f","cljs.core.async.fn_handler","blockable","cljs.core.async/t_cljs$core$async31548","_","cljs.core.async/buffer","n","cljs.core.async.impl.buffers/fixed-buffer","cljs.core.async/dropping-buffer","cljs.core.async.impl.buffers/dropping-buffer","cljs.core.async/sliding-buffer","cljs.core.async.impl.buffers/sliding-buffer","cljs.core.async/unblocking-buffer?","buff","cljs.core/PROTOCOL_SENTINEL","cljs.core/native-satisfies?","cljs.core.async.impl.protocols/UnblockingBuffer","G__31610","cljs.core.async/chan","cljs.core.async.chan","buf-or-n","xform","ex-handler","cljs.core._EQ_","cljs.core.async.impl.channels.chan","G__31629","cljs.core.async/promise-chan","cljs.core.async.promise_chan","cljs.core.async.impl.buffers/promise-buffer","cljs.core.async/timeout","msecs","cljs.core.async.impl.timers/timeout","cljs.core.async/!","G__31657","cljs.core.async/put!","temp__5821__auto__","cljs.core.async.impl.protocols/put!","cljs.core.async.put_BANG_","retb","cljs.core.async/close!","cljs.core.async.impl.protocols/close!","cljs.core.async/random-array","a","js/Array","n__5636__auto__","x","cljs.core.async.goog$module$goog$array.shuffle","cljs.core.async/alt-flag","flag","cljs.core.atom","cljs.core.async/t_cljs$core$async31674","cljs.core/reset!","cljs.core.async/alt-handler","cb","cljs.core.async/t_cljs$core$async31687","cljs.core.async.impl.protocols/active?","cljs.core.async.impl.protocols/commit","cljs.core.async/do-alts","fret","ports","opts","cljs.core/count","idxs","priority","i","idx","cljs.core.nth","wport","cljs.core/vector?","vbox","p1__31715#","G__31728","p1__31716#","G__31730","cljs.core.async.impl.channels/box","or__5045__auto__","cljs.core/contains?","temp__5823__auto__","got","and__5043__auto__","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","cljs.core.async/alts!","p__31747","map__31748","cljs.core/--destructure-map","seq31739","G__31740","cljs.core/first","cljs.core/next","self__5754__auto__","cljs.core.async/offer!","cljs.core.async/poll!","G__31761","cljs.core.async/pipe","from","to","cljs.core.async.pipe","close?","c__31398__auto__","f__31399__auto__","switch__30617__auto__","state_31845","state_val_31846","inst_31838","statearr-31859","statearr-31862","inst_31817","inst_31821","statearr-31867","statearr-31869","statearr-31870","statearr-31876","cljs.core.async.impl.ioc-helpers/put!","inst_31840","cljs.core.async.impl.ioc-helpers/return-chan","statearr-31882","cljs.core.async.impl.ioc-helpers/take!","inst_31831","statearr-31885","statearr-31888","statearr-31889","statearr-31890","statearr-31895","inst_31836","statearr-31897","inst_31828","statearr-31900","inst_31825","statearr-31905","statearr-31906","state-machine__30618__auto__","ret-value__30619__auto__","result__30620__auto__","cljs.core/keyword-identical?","ex__30621__auto__","e31908","statearr-31909","cljs.core/seq","statearr-31910","state__31400__auto__","statearr-31913","cljs.core.async.impl.ioc-helpers/USER-START-IDX","cljs.core.async.impl.ioc-helpers/run-state-machine-wrapped","cljs.core.async/pipeline*","xf","type","jobs","results","process","p__31919","vec__31920","v","p","job","res","state_31927","state_val_31928","inst_31924","inst_31925","statearr-31935","statearr-31939","e31940","statearr-31941","statearr-31942","statearr-31943","async","p__31946","vec__31948","G__31951","cljs.core/Keyword","state_31964","state_val_31965","statearr-31972","inst_31962","inst_31954","inst_31955","statearr-31975","statearr-31976","statearr-31979","statearr-31985","inst_31960","statearr-31986","statearr-31990","e31991","statearr-31992","statearr-31993","statearr-31996","state_32010","state_val_32012","statearr-32021","inst_32008","inst_31999","inst_32000","statearr-32022","statearr-32023","statearr-32024","statearr-32026","inst_32006","statearr-32028","statearr-32029","e32030","statearr-32031","statearr-32032","statearr-32033","state_32065","state_val_32066","inst_32059","statearr-32071","statearr-32072","inst_32041","inst_32042","statearr-32074","statearr-32075","statearr-32076","inst_32046","inst_32048","cljs.core/PersistentVector","inst_32049","inst_32050","statearr-32077","inst_32062","inst_32056","statearr-32079","statearr-32081","inst_32044","statearr-32083","inst_32052","statearr-32084","statearr-32088","e32089","statearr-32090","statearr-32095","statearr-32096","state_32137","state_val_32138","inst_32133","statearr-32147","statearr-32148","statearr-32149","inst_32101","inst_32102","statearr-32150","statearr-32153","statearr-32154","inst_32114","inst_32128","statearr-32157","inst_32130","statearr-32158","statearr-32159","inst_32122","statearr-32162","statearr-32163","inst_32135","inst_32111","statearr-32164","statearr-32165","statearr-32166","statearr-32168","statearr-32169","statearr-32170","inst_32116","inst_32115","statearr-32174","statearr-32175","statearr-32176","statearr-32177","inst_32108","statearr-32179","inst_32119","statearr-32181","inst_32105","statearr-32183","statearr-32187","e32193","statearr-32194","statearr-32196","statearr-32197","cljs.core/not","G__32199","cljs.core.async/pipeline-async","af","cljs.core.async.pipeline_async","G__32206","cljs.core.async/pipeline","cljs.core.async.pipeline","G__32231","cljs.core.async/split","ch","cljs.core.async.split","t-buf-or-n","f-buf-or-n","tc","fc","state_32265","state_val_32266","inst_32258","statearr-32275","statearr-32277","inst_32238","inst_32239","statearr-32283","statearr-32285","statearr-32286","statearr-32293","inst_32245","statearr-32297","statearr-32299","inst_32260","statearr-32301","inst_32249","statearr-32309","inst_32241","inst_32242","statearr-32311","statearr-32314","inst_32256","statearr-32316","statearr-32317","inst_32251","statearr-32319","statearr-32320","statearr-32324","e32326","statearr-32327","statearr-32330","statearr-32335","cljs.core.async/reduce","init","state_32368","state_val_32369","inst_32363","statearr-32377","inst_32342","inst_32344","statearr-32384","statearr-32386","inst_32349","inst_32350","statearr-32388","statearr-32389","statearr-32390","inst_32353","inst_32354","statearr-32391","statearr-32392","statearr-32394","inst_32365","statearr-32398","statearr-32399","statearr-32400","inst_32361","statearr-32401","inst_32357","statearr-32405","statearr-32408","e32409","statearr-32410","statearr-32413","statearr-32415","cljs.core/reduced?","cljs.core.async/transduce","state_32425","state_val_32426","inst_32420","inst_32422","inst_32423","statearr-32433","e32435","statearr-32436","statearr-32437","statearr-32445","G__32450","cljs.core.async/onto-chan!","coll","cljs.core.async.onto_chan_BANG_","state_32484","state_val_32485","inst_32465","statearr-32499","inst_32455","inst_32456","statearr-32512","statearr-32516","inst_32463","inst_32477","statearr-32530","inst_32468","statearr-32534","statearr-32535","inst_32481","statearr-32539","statearr-32540","statearr-32541","inst_32474","statearr-32542","statearr-32543","statearr-32544","statearr-32545","inst_32479","statearr-32546","inst_32470","statearr-32547","statearr-32548","statearr-32565","e32566","statearr-32568","statearr-32578","statearr-32591","cljs.core.async/to-chan!","cljs.core/bounded-count","G__32605","cljs.core.async/onto-chan","cljs.core.async/to-chan","cljs$core$async$Mux$muxch_STAR_$dyn","x__5393__auto__","m__5394__auto__","cljs.core.async/muxch*","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","cljs.core.async/Mux","cljs$core$async$Mult$tap_STAR_$dyn","cljs.core.async/tap*","cljs$core$async$Mult$untap_STAR_$dyn","cljs.core.async/untap*","cljs$core$async$Mult$untap_all_STAR_$dyn","cljs.core.async/untap-all*","cljs.core.async/Mult","m","cljs.core.async/mult","cs","cljs.core.async/t_cljs$core$async32692","cljs.core.swap_BANG_","cljs.core/assoc","cljs.core/dissoc","dchan","dctr","done","cljs.core/dec","state_32890","state_val_32894","inst_32886","statearr-32896","inst_32764","inst_32781","inst_32783","inst_32787","statearr-32898","statearr-32901","statearr-32902","inst_32821","inst_32826","inst_32728","inst_32819","cljs.core/-nth","inst_32830","statearr-32903","statearr-32904","statearr-32905","statearr-32906","inst_32795","inst_32796","inst_32740","inst_32741","inst_32742","inst_32743","statearr-32914","statearr-32915","statearr-32923","inst_32729","statearr-32925","statearr-32926","statearr-32930","inst_32760","inst_32761","tmp32917","tmp32918","tmp32919","statearr-32949","statearr-32953","inst_32799","statearr-32959","inst_32833","statearr-32960","inst_32818","inst_32820","inst_32835","inst_32838","tmp32956","tmp32957","tmp32958","statearr-32966","statearr-32967","inst_32853","inst_32858","statearr-32972","inst_32841","inst_32843","cljs.core/chunked-seq?","statearr-32974","statearr-32975","inst_32753","inst_32756","statearr-32977","inst_32789","statearr-32978","inst_32845","cljs.core/chunk-first","inst_32846","cljs.core/chunk-rest","inst_32847","statearr-32982","statearr-32983","inst_32862","inst_32863","statearr-32984","statearr-32986","statearr-32991","inst_32874","statearr-32997","inst_32883","statearr-32999","statearr-33000","inst_32810","inst_32809","inst_32811","inst_32812","inst_32817","statearr-33003","statearr-33011","statearr-33015","statearr-33016","statearr-33017","inst_32823","inst_32824","statearr-33024","statearr-33026","statearr-33028","statearr-33033","inst_32888","inst_32805","statearr-33034","statearr-33035","inst_32872","statearr-33099","inst_32772","inst_32773","inst_32774","statearr-33100","statearr-33101","statearr-33106","statearr-33111","statearr-33112","inst_32807","statearr-33114","inst_32738","inst_32739","statearr-33118","statearr-33119","statearr-33121","inst_32880","statearr-33124","inst_32876","inst_32877","statearr-33127","statearr-33128","statearr-33129","inst_32770","statearr-33130","statearr-33131","inst_32866","statearr-33136","statearr-33137","inst_32752","inst_32754","statearr-33138","statearr-33139","statearr-33140","inst_32802","statearr-33141","inst_32854","statearr-33142","statearr-33144","statearr-33145","inst_32746","inst_32747","statearr-33147","statearr-33148","statearr-33157","e33161","statearr-33162","statearr-33163","statearr-33164","cljs.core/keys","G__33173","cljs.core.async/tap","mult","cljs.core.async.tap","cljs.core.async/untap","cljs.core.async/untap-all","cljs$core$async$Mix$admix_STAR_$dyn","cljs.core.async/admix*","cljs$core$async$Mix$unmix_STAR_$dyn","cljs.core.async/unmix*","cljs$core$async$Mix$unmix_all_STAR_$dyn","cljs.core.async/unmix-all*","cljs$core$async$Mix$toggle_STAR_$dyn","cljs.core.async/toggle*","cljs$core$async$Mix$solo_mode_STAR_$dyn","cljs.core.async/solo-mode*","cljs.core.async/Mix","state-map","mode","cljs.core.async/ioc-alts!","p__33225","map__33226","seq33217","G__33218","G__33219","G__33220","state","cont-block","statearr-33227","cljs.core.async.impl.ioc-helpers/STATE-IDX","statearr-33228","cljs.core.async.impl.ioc-helpers/VALUE-IDX","statearr-33231","cljs.core.async/mix","out","solo-modes","attrs","cljs.core.conj","solo-mode","change","changed","pick","attr","chs","cljs.core/reduce-kv","c","calc-state","solos","pauses","cljs.core/empty?","cljs.core/vec","cljs.core.remove","cljs.core.async/t_cljs$core$async33242","cljs.core.partial","cljs.core/merge-with","cljs.core/merge","state_33330","state_val_33331","inst_33286","statearr-33340","statearr-33341","inst_33279","inst_33260","inst_33261","inst_33262","cljs.core.get","inst_33263","inst_33264","inst_33265","statearr-33342","statearr-33343","inst_33270","statearr-33344","statearr-33345","inst_33281","inst_33278","inst_33280","statearr-33347","statearr-33348","statearr-33349","inst_33271","inst_33300","statearr-33352","statearr-33354","statearr-33355","statearr-33359","statearr-33360","inst_33293","inst_33294","statearr-33361","statearr-33362","inst_33320","statearr-33365","inst_33284","statearr-33372","statearr-33374","inst_33272","inst_33302","inst_33303","statearr-33375","inst_33324","statearr-33378","inst_33273","statearr-33380","inst_33311","statearr-33384","statearr-33385","inst_33306","statearr-33386","inst_33290","statearr-33388","inst_33297","statearr-33389","statearr-33390","statearr-33391","statearr-33394","statearr-33396","inst_33316","statearr-33398","inst_33308","statearr-33399","statearr-33403","inst_33322","statearr-33404","statearr-33405","inst_33288","statearr-33406","statearr-33407","statearr-33416","e33423","statearr-33424","statearr-33425","statearr-33432","cljs.core.async/admix","mix","cljs.core.async/unmix","cljs.core.async/unmix-all","cljs.core.async/toggle","cljs.core.async/solo-mode","cljs$core$async$Pub$sub_STAR_$dyn","cljs.core.async/sub*","cljs$core$async$Pub$unsub_STAR_$dyn","cljs.core.async/unsub*","cljs$core$async$Pub$unsub_all_STAR_$dyn","cljs.core.async/unsub-all*","G__33486","cljs.core.async/Pub","G__33496","cljs.core.async/pub","topic-fn","cljs.core.async.pub","cljs.core/constantly","buf-fn","mults","ensure-mult","topic","p1__33494#","cljs.core.assoc","cljs.core.async/t_cljs$core$async33500","state_33630","state_val_33631","inst_33624","statearr-33650","statearr-33654","statearr-33657","inst_33602","inst_33614","statearr-33663","inst_33539","inst_33540","statearr-33664","statearr-33666","statearr-33667","inst_33596","statearr-33669","inst_33620","statearr-33670","statearr-33671","inst_33573","inst_33575","statearr-33672","statearr-33673","inst_33610","statearr-33674","statearr-33675","inst_33604","inst_33603","statearr-33683","statearr-33692","statearr-33693","inst_33616","statearr-33697","inst_33583","inst_33585","inst_33587","inst_33589","inst_33549","inst_33550","inst_33551","inst_33552","statearr-33701","statearr-33705","inst_33626","inst_33598","statearr-33713","statearr-33720","inst_33606","statearr-33728","statearr-33732","statearr-33733","inst_33600","statearr-33737","inst_33546","inst_33547","inst_33548","statearr-33740","statearr-33744","statearr-33755","inst_33577","inst_33578","inst_33579","statearr-33767","statearr-33772","inst_33560","inst_33565","inst_33566","inst_33569","tmp33752","tmp33753","tmp33754","statearr-33785","statearr-33786","inst_33592","statearr-33787","inst_33554","inst_33555","statearr-33788","statearr-33790","statearr-33791","e33794","statearr-33797","statearr-33809","statearr-33814","cljs.core/vals","G__33817","cljs.core.async/sub","cljs.core.async.sub","cljs.core.async/unsub","G__33837","cljs.core.async/unsub-all","G__33845","cljs.core.async/map","cljs.core.async.map","cnt","rets","cljs.core.object_array","cljs.core.mapv","cljs.core.range","state_33940","state_val_33941","statearr-33944","statearr-33948","inst_33883","inst_33881","inst_33885","statearr-33954","statearr-33955","inst_33920","inst_33928","inst_33921","statearr-33957","statearr-33959","statearr-33960","statearr-33962","inst_33930","statearr-33976","statearr-33981","inst_33935","statearr-33982","cljs.core/rest","ex33974","statearr-33983","statearr-33988","inst_33880","statearr-33992","statearr-33993","inst_33895","inst_33898","statearr-33994","statearr-33995","statearr-33996","cljs.core/cons","inst_33906","inst_33907","inst_33908","statearr-33999","statearr-34001","inst_33918","statearr-34006","inst_33923","statearr-34010","inst_33933","statearr-34012","inst_33911","inst_33912","statearr-34018","statearr-34019","inst_33916","statearr-34020","statearr-34021","e34024","statearr-34025","statearr-34026","statearr-34046","js/Object","cljs.core/some","cljs.core/nil?","cljs.core.apply","G__34052","cljs.core.async/merge","cljs.core.async.merge","state_34109","state_val_34110","inst_34086","inst_34085","inst_34087","inst_34088","statearr-34119","statearr-34120","statearr-34121","inst_34068","inst_34069","statearr-34123","statearr-34125","inst_34105","statearr-34130","inst_34107","inst_34071","inst_34072","statearr-34138","statearr-34139","inst_34098","tmp34132","statearr-34140","statearr-34141","inst_34103","statearr-34154","inst_34101","statearr-34157","inst_34092","vec__34075","p1__34048#","inst_34093","statearr-34165","statearr-34167","statearr-34173","e34175","statearr-34181","statearr-34183","statearr-34185","cljs.core/filterv","cljs.core.not_EQ_","cljs.core.async/into","cljs.core/conj","G__34197","cljs.core.async/take","cljs.core.async.take","state_34238","state_val_34239","inst_34211","inst_34215","inst_34217","statearr-34247","statearr-34248","statearr-34249","inst_34206","statearr-34256","statearr-34257","inst_34232","statearr-34261","inst_34234","inst_34235","statearr-34269","inst_34208","statearr-34277","statearr-34278","inst_34221","inst_34222","statearr-34282","statearr-34288","statearr-34297","statearr-34306","inst_34229","statearr-34313","statearr-34319","e34322","statearr-34323","statearr-34324","statearr-34326","cljs.core.async/map<","cljs.core.async/t_cljs$core$async34334","cljs.core.async.impl.protocols/closed?","cljs.core.async/t_cljs$core$async34360","meta34335","p1__34328#","f1","G__34382","G__34403","cljs.core.async/map>","cljs.core.async/t_cljs$core$async34423","cljs.core.async/filter>","cljs.core.async/t_cljs$core$async34471","cljs.core.async/remove>","cljs.core/complement","G__34475","cljs.core.async/filter<","cljs.core.async.filter_LT_","state_34500","state_val_34501","inst_34496","statearr-34505","statearr-34506","inst_34482","inst_34483","statearr-34507","statearr-34508","statearr-34509","inst_34487","statearr-34510","statearr-34511","inst_34498","inst_34490","statearr-34515","statearr-34516","inst_34485","statearr-34517","inst_34493","statearr-34520","statearr-34522","statearr-34523","e34524","statearr-34526","statearr-34527","statearr-34528","G__34530","cljs.core.async/remove<","cljs.core.async.remove_LT_","cljs.core.async/mapcat*","in","state_34617","state_val_34618","inst_34608","statearr-34620","inst_34572","inst_34589","inst_34590","inst_34557","inst_34558","inst_34559","inst_34560","statearr-34621","statearr-34625","statearr-34626","inst_34540","inst_34541","statearr-34627","statearr-34628","statearr-34629","statearr-34633","statearr-34636","inst_34567","inst_34569","tmp34630","tmp34631","tmp34632","statearr-34642","statearr-34643","statearr-34645","inst_34555","inst_34556","statearr-34647","statearr-34651","inst_34577","inst_34582","inst_34583","statearr-34656","statearr-34657","inst_34610","inst_34598","statearr-34661","inst_34606","statearr-34662","inst_34593","statearr-34670","statearr-34678","statearr-34686","statearr-34687","inst_34600","inst_34601","statearr-34706","statearr-34713","statearr-34719","inst_34543","statearr-34720","inst_34575","statearr-34722","statearr-34723","inst_34596","statearr-34727","inst_34565","inst_34587","inst_34562","inst_34563","statearr-34733","statearr-34734","statearr-34735","e34738","statearr-34743","statearr-34745","statearr-34750","G__34761","cljs.core.async/mapcat<","cljs.core.async.mapcat_LT_","G__34765","cljs.core.async/mapcat>","cljs.core.async.mapcat_GT_","G__34773","cljs.core.async/unique","cljs.core.async.unique","state_34805","state_val_34806","inst_34800","statearr-34814","inst_34782","statearr-34815","statearr-34816","inst_34785","inst_34786","inst_34787","statearr-34818","statearr-34825","statearr-34826","statearr-34827","inst_34802","inst_34803","statearr-34828","inst_34794","statearr-34835","statearr-34837","inst_34789","statearr-34840","statearr-34841","inst_34797","statearr-34842","tmp34839","statearr-34843","statearr-34844","statearr-34857","e34859","statearr-34860","statearr-34861","statearr-34863","G__34870","cljs.core.async/partition","cljs.core.async.partition","state_34914","state_val_34915","inst_34909","statearr-34917","inst_34874","inst_34875","inst_34876","statearr-34921","statearr-34922","inst_34880","inst_34881","inst_34882","statearr-34923","statearr-34924","statearr-34925","inst_34903","statearr-34926","statearr-34927","inst_34899","statearr-34928","statearr-34929","inst_34911","inst_34901","inst_34893","inst_34894","statearr-34930","statearr-34931","inst_34891","inst_34885","inst_34884","inst_34886","statearr-34937","statearr-34941","statearr-34942","inst_34906","inst_34907","statearr-34954","statearr-34955","inst_34897","statearr-34956","tmp34953","statearr-34957","statearr-34958","statearr-34959","e34960","statearr-34961","statearr-34962","statearr-34963","G__34965","cljs.core.async/partition-by","cljs.core.async.partition_by","state_35016","state_val_35017","inst_35012","statearr-35018","inst_34972","inst_34973","inst_34974","statearr-35019","statearr-35020","inst_34977","inst_34978","inst_34979","statearr-35022","statearr-35024","statearr-35025","inst_35004","inst_34999","statearr-35026","inst_35001","inst_35002","statearr-35027","statearr-35028","inst_35009","inst_35010","statearr-35029","statearr-35032","inst_35014","inst_34992","inst_34981","inst_34989","tmp35034","statearr-35036","statearr-35037","inst_34985","statearr-35045","inst_34982","statearr-35046","statearr-35047","statearr-35049","inst_34994","inst_34995","inst_34996","statearr-35050","statearr-35051","statearr-35053","inst_34987","statearr-35056","statearr-35058","inst_35006","statearr-35060","statearr-35061","statearr-35067","e35072","statearr-35073","statearr-35074","statearr-35076"],"sourcesContent":[";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core.async\n (:refer-clojure :exclude [reduce transduce into merge map take partition partition-by])\n (:require [cljs.core.async.impl.protocols :as impl]\n [cljs.core.async.impl.channels :as channels]\n [cljs.core.async.impl.buffers :as buffers]\n [cljs.core.async.impl.timers :as timers]\n [cljs.core.async.impl.dispatch :as dispatch]\n [cljs.core.async.impl.ioc-helpers :as helpers]\n [goog.array :as garray])\n (:require-macros [cljs.core.async.impl.ioc-macros :as ioc]\n [cljs.core.async :refer [go go-loop]]))\n\n(defn- fn-handler\n ([f] (fn-handler f true))\n ([f blockable]\n (reify\n impl/Handler\n (active? [_] true)\n (blockable? [_] blockable)\n (commit [_] f))))\n\n(defn buffer\n \"Returns a fixed buffer of size n. When full, puts will block/park.\"\n [n]\n (buffers/fixed-buffer n))\n\n(defn dropping-buffer\n \"Returns a buffer of size n. When full, puts will complete but\n val will be dropped (no transfer).\"\n [n]\n (buffers/dropping-buffer n))\n\n(defn sliding-buffer\n \"Returns a buffer of size n. When full, puts will complete, and be\n buffered, but oldest elements in buffer will be dropped (not\n transferred).\"\n [n]\n (buffers/sliding-buffer n))\n\n(defn unblocking-buffer?\n \"Returns true if a channel created with buff will never block. That is to say,\n puts into this buffer will never cause the buffer to be full. \"\n [buff]\n (satisfies? impl/UnblockingBuffer buff))\n\n(defn chan\n \"Creates a channel with an optional buffer, an optional transducer (like (map f),\n (filter p) etc or a composition thereof), and an optional exception handler.\n If buf-or-n is a number, will create and use a fixed buffer of that size. If a\n transducer is supplied a buffer must be specified. ex-handler must be a\n fn of one argument - if an exception occurs during transformation it will be called\n with the thrown value as an argument, and any non-nil return value will be placed\n in the channel.\"\n ([] (chan nil))\n ([buf-or-n] (chan buf-or-n nil nil))\n ([buf-or-n xform] (chan buf-or-n xform nil))\n ([buf-or-n xform ex-handler]\n (let [buf-or-n (if (= buf-or-n 0)\n nil\n buf-or-n)]\n (when xform (assert buf-or-n \"buffer must be supplied when transducer is\"))\n (channels/chan (if (number? buf-or-n)\n (buffer buf-or-n)\n buf-or-n)\n xform\n ex-handler))))\n\n(defn promise-chan\n \"Creates a promise channel with an optional transducer, and an optional\n exception-handler. A promise channel can take exactly one value that consumers\n will receive. Once full, puts complete but val is dropped (no transfer).\n Consumers will block until either a value is placed in the channel or the\n channel is closed. See chan for the semantics of xform and ex-handler.\"\n ([] (promise-chan nil))\n ([xform] (promise-chan xform nil))\n ([xform ex-handler]\n (chan (buffers/promise-buffer) xform ex-handler)))\n\n(defn timeout\n \"Returns a channel that will close after msecs\"\n [msecs]\n (timers/timeout msecs))\n\n(defn !\n \"puts a val into port. nil values are not allowed. Must be called\n inside a (go ...) block. Will park if no buffer space is available.\n Returns true unless port is already closed.\"\n [port val]\n (throw (js/Error. \">! used not in (go ...) block\")))\n\n(defn put!\n \"Asynchronously puts a val into port, calling fn1 (if supplied) when\n complete. nil values are not allowed. Will throw if closed. If\n on-caller? (default true) is true, and the put is immediately\n accepted, will call fn1 on calling thread. Returns nil.\"\n ([port val]\n (if-let [ret (impl/put! port val fhnop)]\n @ret\n true))\n ([port val fn1] (put! port val fn1 true))\n ([port val fn1 on-caller?]\n (if-let [retb (impl/put! port val (fn-handler fn1))]\n (let [ret @retb]\n (if on-caller?\n (fn1 ret)\n (dispatch/run #(fn1 ret)))\n ret)\n true)))\n\n(defn close!\n ([port]\n (impl/close! port)))\n\n\n(defn- random-array\n [n]\n (let [a (make-array n)]\n (dotimes [x n]\n (aset a x x))\n (garray/shuffle a)\n a))\n\n(defn- alt-flag []\n (let [flag (atom true)]\n (reify\n impl/Handler\n (active? [_] @flag)\n (blockable? [_] true)\n (commit [_]\n (reset! flag nil)\n true))))\n\n(defn- alt-handler [flag cb]\n (reify\n impl/Handler\n (active? [_] (impl/active? flag))\n (blockable? [_] true)\n (commit [_]\n (impl/commit flag)\n cb)))\n\n(defn do-alts\n \"returns derefable [val port] if immediate, nil if enqueued\"\n [fret ports opts]\n (assert (pos? (count ports)) \"alts must have at least one channel operation\")\n (let [flag (alt-flag)\n n (count ports)\n idxs (random-array n)\n priority (:priority opts)\n ret\n (loop [i 0]\n (when (< i n)\n (let [idx (if priority i (aget idxs i))\n port (nth ports idx)\n wport (when (vector? port) (port 0))\n vbox (if wport\n (let [val (port 1)]\n (impl/put! wport val (alt-handler flag #(fret [% wport]))))\n (impl/take! port (alt-handler flag #(fret [% port]))))]\n (if vbox\n (channels/box [@vbox (or wport port)])\n (recur (inc i))))))]\n (or\n ret\n (when (contains? opts :default)\n (when-let [got (and (impl/active? flag) (impl/commit flag))]\n (channels/box [(:default opts) :default]))))))\n\n(defn alts!\n \"Completes at most one of several channel operations. Must be called\n inside a (go ...) block. ports is a vector of channel endpoints,\n which can be either a channel to take from or a vector of\n [channel-to-put-to val-to-put], in any combination. Takes will be\n made as if by !. Unless\n the :priority option is true, if more than one port operation is\n ready a non-deterministic choice will be made. If no operation is\n ready and a :default value is supplied, [default-val :default] will\n be returned, otherwise alts! will park until the first operation to\n become ready completes. Returns [val port] of the completed\n operation, where val is the value taken for takes, and a\n boolean (true unless already closed, as per put!) for puts.\n\n opts are passed as :key val ... Supported options:\n\n :default val - the value to use if none of the operations are immediately ready\n :priority true - (default nil) when true, the operations will be tried in order.\n\n Note: there is no guarantee that the port exps or val exprs will be\n used, nor in what order should they be, so they should not be\n depended upon for side effects.\"\n\n [ports & {:as opts}]\n (throw (js/Error. \"alts! used not in (go ...) block\")))\n\n(defn offer!\n \"Puts a val into port if it's possible to do so immediately.\n nil values are not allowed. Never blocks. Returns true if offer succeeds.\"\n [port val]\n (let [ret (impl/put! port val (fn-handler nop false))]\n (when ret @ret)))\n\n(defn poll!\n \"Takes a val from port if it's possible to do so immediately.\n Never blocks. Returns value if successful, nil otherwise.\"\n [port]\n (let [ret (impl/take! port (fn-handler nop false))]\n (when ret @ret)))\n\n;;;;;;; channel ops\n\n(defn pipe\n \"Takes elements from the from channel and supplies them to the to\n channel. By default, the to channel will be closed when the from\n channel closes, but can be determined by the close? parameter. Will\n stop consuming the from channel if the to channel closes\"\n\n ([from to] (pipe from to true))\n ([from to close?]\n (go-loop []\n (let [v (! to v)\n (recur)))))\n to))\n\n(defn- pipeline*\n ([n to xf from close? ex-handler type]\n (assert (pos? n))\n (let [jobs (chan n)\n results (chan n)\n process (fn [[v p :as job]]\n (if (nil? job)\n (do (close! results) nil)\n (let [res (chan 1 xf ex-handler)]\n (go\n (>! res v)\n (close! res))\n (put! p res)\n true)))\n async (fn [[v p :as job]]\n (if (nil? job)\n (do (close! results) nil)\n (let [res (chan 1)]\n (xf v res)\n (put! p res)\n true)))]\n (dotimes [_ n]\n (case type\n :compute (go-loop []\n (let [job (! jobs [v p])\n (>! results p)\n (recur)))))\n (go-loop []\n (let [p (! to v))\n (recur))))\n (recur))))))))\n\n(defn pipeline-async\n \"Takes elements from the from channel and supplies them to the to\n channel, subject to the async function af, with parallelism n. af\n must be a function of two arguments, the first an input value and\n the second a channel on which to place the result(s). The\n presumption is that af will return immediately, having launched some\n asynchronous operation whose completion/callback will put results on\n the channel, then close! it. Outputs will be returned in order\n relative to the inputs. By default, the to channel will be closed\n when the from channel closes, but can be determined by the close?\n parameter. Will stop consuming the from channel if the to channel\n closes. See also pipeline, pipeline-blocking.\"\n ([n to af from] (pipeline-async n to af from true))\n ([n to af from close?] (pipeline* n to af from close? nil :async)))\n\n(defn pipeline\n \"Takes elements from the from channel and supplies them to the to\n channel, subject to the transducer xf, with parallelism n. Because\n it is parallel, the transducer will be applied independently to each\n element, not across elements, and may produce zero or more outputs\n per input. Outputs will be returned in order relative to the\n inputs. By default, the to channel will be closed when the from\n channel closes, but can be determined by the close? parameter. Will\n stop consuming the from channel if the to channel closes.\n\n Note this is supplied for API compatibility with the Clojure version.\n Values of N > 1 will not result in actual concurrency in a\n single-threaded runtime.\"\n ([n to xf from] (pipeline n to xf from true))\n ([n to xf from close?] (pipeline n to xf from close? nil))\n ([n to xf from close? ex-handler] (pipeline* n to xf from close? ex-handler :compute)))\n\n(defn split\n \"Takes a predicate and a source channel and returns a vector of two\n channels, the first of which will contain the values for which the\n predicate returned true, the second those for which it returned\n false.\n\n The out channels will be unbuffered by default, or two buf-or-ns can\n be supplied. The channels will close after the source channel has\n closed.\"\n ([p ch] (split p ch nil nil))\n ([p ch t-buf-or-n f-buf-or-n]\n (let [tc (chan t-buf-or-n)\n fc (chan f-buf-or-n)]\n (go-loop []\n (let [v (! (if (p v) tc fc) v)\n (recur)))))\n [tc fc])))\n\n(defn reduce\n \"f should be a function of 2 arguments. Returns a channel containing\n the single result of applying f to init and the first item from the\n channel, then applying f to that result and the 2nd item, etc. If\n the channel closes without yielding items, returns init and f is not\n called. ch must close before reduce produces a result.\"\n [f init ch]\n (go-loop [ret init]\n (let [v (! ch (first vs)))\n (recur (next vs))\n (when close?\n (close! ch))))))\n\n\n(defn to-chan!\n \"Creates and returns a channel which contains the contents of coll,\n closing when exhausted.\"\n [coll]\n (let [ch (chan (bounded-count 100 coll))]\n (onto-chan! ch coll)\n ch))\n\n(defn onto-chan\n \"Deprecated - use onto-chan!\"\n {:deprecated \"1.2\"}\n ([ch coll] (onto-chan! ch coll true))\n ([ch coll close?] (onto-chan! ch coll close?)))\n\n(defn to-chan\n \"Deprecated - use to-chan!\"\n {:deprecated \"1.2\"}\n [coll]\n (to-chan! coll))\n\n(defprotocol Mux\n (muxch* [_]))\n\n(defprotocol Mult\n (tap* [m ch close?])\n (untap* [m ch])\n (untap-all* [m]))\n\n(defn mult\n \"Creates and returns a mult(iple) of the supplied channel. Channels\n containing copies of the channel can be created with 'tap', and\n detached with 'untap'.\n\n Each item is distributed to all taps in parallel and synchronously,\n i.e. each tap must accept before the next item is distributed. Use\n buffering/windowing to prevent slow taps from holding up the mult.\n\n Items received when there are no taps get dropped.\n\n If a tap puts to a closed channel, it will be removed from the mult.\"\n [ch]\n (let [cs (atom {}) ;;ch->close?\n m (reify\n Mux\n (muxch* [_] ch)\n\n Mult\n (tap* [_ ch close?] (swap! cs assoc ch close?) nil)\n (untap* [_ ch] (swap! cs dissoc ch) nil)\n (untap-all* [_] (reset! cs {}) nil))\n dchan (chan 1)\n dctr (atom nil)\n done (fn [_] (when (zero? (swap! dctr dec))\n (put! dchan true)))]\n (go-loop []\n (let [val (attrs-map\n solo-modes #{:mute :pause}\n attrs (conj solo-modes :solo)\n solo-mode (atom :mute)\n change (chan (sliding-buffer 1))\n changed #(put! change true)\n pick (fn [attr chs]\n (reduce-kv\n (fn [ret c v]\n (if (attr v)\n (conj ret c)\n ret))\n #{} chs))\n calc-state (fn []\n (let [chs @cs\n mode @solo-mode\n solos (pick :solo chs)\n pauses (pick :pause chs)]\n {:solos solos\n :mutes (pick :mute chs)\n :reads (conj\n (if (and (= mode :pause) (not (empty? solos)))\n (vec solos)\n (vec (remove pauses (keys chs))))\n change)}))\n m (reify\n Mux\n (muxch* [_] out)\n Mix\n (admix* [_ ch] (swap! cs assoc ch {}) (changed))\n (unmix* [_ ch] (swap! cs dissoc ch) (changed))\n (unmix-all* [_] (reset! cs {}) (changed))\n (toggle* [_ state-map] (swap! cs (partial merge-with cljs.core/merge) state-map) (changed))\n (solo-mode* [_ mode]\n (assert (solo-modes mode) (str \"mode must be one of: \" solo-modes))\n (reset! solo-mode mode)\n (changed)))]\n (go-loop [{:keys [solos mutes reads] :as state} (calc-state)]\n (let [[v c] (alts! reads)]\n (if (or (nil? v) (= c change))\n (do (when (nil? v)\n (swap! cs dissoc c))\n (recur (calc-state)))\n (if (or (solos c)\n (and (empty? solos) (not (mutes c))))\n (when (>! out v)\n (recur state))\n (recur state)))))\n m))\n\n(defn admix\n \"Adds ch as an input to the mix\"\n [mix ch]\n (admix* mix ch))\n\n(defn unmix\n \"Removes ch as an input to the mix\"\n [mix ch]\n (unmix* mix ch))\n\n(defn unmix-all\n \"removes all inputs from the mix\"\n [mix]\n (unmix-all* mix))\n\n(defn toggle\n \"Atomically sets the state(s) of one or more channels in a mix. The\n state map is a map of channels -> channel-state-map. A\n channel-state-map is a map of attrs -> boolean, where attr is one or\n more of :mute, :pause or :solo. Any states supplied are merged with\n the current state.\n\n Note that channels can be added to a mix via toggle, which can be\n used to add channels in a particular (e.g. paused) state.\"\n [mix state-map]\n (toggle* mix state-map))\n\n(defn solo-mode\n \"Sets the solo mode of the mix. mode must be one of :mute or :pause\"\n [mix mode]\n (solo-mode* mix mode))\n\n\n(defprotocol Pub\n (sub* [p v ch close?])\n (unsub* [p v ch])\n (unsub-all* [p] [p v]))\n\n(defn pub\n \"Creates and returns a pub(lication) of the supplied channel,\n partitioned into topics by the topic-fn. topic-fn will be applied to\n each value on the channel and the result will determine the 'topic'\n on which that value will be put. Channels can be subscribed to\n receive copies of topics using 'sub', and unsubscribed using\n 'unsub'. Each topic will be handled by an internal mult on a\n dedicated channel. By default these internal channels are\n unbuffered, but a buf-fn can be supplied which, given a topic,\n creates a buffer with desired properties.\n\n Each item is distributed to all subs in parallel and synchronously,\n i.e. each sub must accept before the next item is distributed. Use\n buffering/windowing to prevent slow subs from holding up the pub.\n\n Items received when there are no matching subs get dropped.\n\n Note that if buf-fns are used then each topic is handled\n asynchronously, i.e. if a channel is subscribed to more than one\n topic it should not expect them to be interleaved identically with\n the source.\"\n ([ch topic-fn] (pub ch topic-fn (constantly nil)))\n ([ch topic-fn buf-fn]\n (let [mults (atom {}) ;;topic->mult\n ensure-mult (fn [topic]\n (or (get @mults topic)\n (get (swap! mults\n #(if (% topic) % (assoc % topic (mult (chan (buf-fn topic))))))\n topic)))\n p (reify\n Mux\n (muxch* [_] ch)\n\n Pub\n (sub* [p topic ch close?]\n (let [m (ensure-mult topic)]\n (tap m ch close?)))\n (unsub* [p topic ch]\n (when-let [m (get @mults topic)]\n (untap m ch)))\n (unsub-all* [_] (reset! mults {}))\n (unsub-all* [_ topic] (swap! mults dissoc topic)))]\n (go-loop []\n (let [val (! (muxch* m) val)\n (swap! mults dissoc topic)))\n (recur)))))\n p)))\n\n(defn sub\n \"Subscribes a channel to a topic of a pub.\n\n By default the channel will be closed when the source closes,\n but can be determined by the close? parameter.\"\n ([p topic ch] (sub p topic ch true))\n ([p topic ch close?] (sub* p topic ch close?)))\n\n(defn unsub\n \"Unsubscribes a channel from a topic of a pub\"\n [p topic ch]\n (unsub* p topic ch))\n\n(defn unsub-all\n \"Unsubscribes all channels from a pub, or a topic of a pub\"\n ([p] (unsub-all* p))\n ([p topic] (unsub-all* p topic)))\n\n\n;;;;\n\n(defn map\n \"Takes a function and a collection of source channels, and returns a\n channel which contains the values produced by applying f to the set\n of first items taken from each source channel, followed by applying\n f to the set of second items from each channel, until any one of the\n channels is closed, at which point the output channel will be\n closed. The returned channel will be unbuffered by default, or a\n buf-or-n can be supplied\"\n ([f chs] (map f chs nil))\n ([f chs buf-or-n]\n (let [chs (vec chs)\n out (chan buf-or-n)\n cnt (count chs)\n rets (object-array cnt)\n dchan (chan 1)\n dctr (atom nil)\n done (mapv (fn [i]\n (fn [ret]\n (aset rets i ret)\n (when (zero? (swap! dctr dec))\n (put! dchan (.slice rets 0)))))\n (range cnt))]\n (if (zero? cnt)\n (close! out)\n (go-loop []\n (reset! dctr cnt)\n (dotimes [i cnt]\n (try\n (take! (chs i) (done i))\n (catch js/Object e\n (swap! dctr dec))))\n (let [rets (! out (apply f rets))\n (recur))))))\n out)))\n\n(defn merge\n \"Takes a collection of source channels and returns a channel which\n contains all values taken from them. The returned channel will be\n unbuffered by default, or a buf-or-n can be supplied. The channel\n will close after all the source channels have closed.\"\n ([chs] (merge chs nil))\n ([chs buf-or-n]\n (let [out (chan buf-or-n)]\n (go-loop [cs (vec chs)]\n (if (pos? (count cs))\n (let [[v c] (alts! cs)]\n (if (nil? v)\n (recur (filterv #(not= c %) cs))\n (do (>! out v)\n (recur cs))))\n (close! out)))\n out)))\n\n(defn into\n \"Returns a channel containing the single (collection) result of the\n items taken from the channel conjoined to the supplied\n collection. ch must close before into produces a result.\"\n [coll ch]\n (reduce conj coll ch))\n\n(defn take\n \"Returns a channel that will return, at most, n items from ch. After n items\n have been returned, or ch has been closed, the return chanel will close.\n\n The output channel is unbuffered by default, unless buf-or-n is given.\"\n ([n ch]\n (take n ch nil))\n ([n ch buf-or-n]\n (let [out (chan buf-or-n)]\n (go (loop [x 0]\n (when (< x n)\n (let [v (! out v)\n (recur (inc x))))))\n (close! out))\n out)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; deprecated - do not use ;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn map<\n \"Deprecated - this function will be removed. Use transducer instead\"\n [f ch]\n (reify\n impl/Channel\n (close! [_] (impl/close! ch))\n (closed? [_] (impl/closed? ch))\n\n impl/ReadPort\n (take! [_ fn1]\n (let [ret\n (impl/take! ch\n (reify\n impl/Handler\n (active? [_] (impl/active? fn1))\n (blockable? [_] true)\n #_(lock-id [_] (impl/lock-id fn1))\n (commit [_]\n (let [f1 (impl/commit fn1)]\n #(f1 (if (nil? %) nil (f %)))))))]\n (if (and ret (not (nil? @ret)))\n (channels/box (f @ret))\n ret)))\n\n impl/WritePort\n (put! [_ val fn1] (impl/put! ch val fn1))))\n\n(defn map>\n \"Deprecated - this function will be removed. Use transducer instead\"\n [f ch]\n (reify\n impl/Channel\n (close! [_] (impl/close! ch))\n\n impl/ReadPort\n (take! [_ fn1] (impl/take! ch fn1))\n\n impl/WritePort\n (put! [_ val fn1]\n (impl/put! ch (f val) fn1))))\n\n(defn filter>\n \"Deprecated - this function will be removed. Use transducer instead\"\n [p ch]\n (reify\n impl/Channel\n (close! [_] (impl/close! ch))\n (closed? [_] (impl/closed? ch))\n\n impl/ReadPort\n (take! [_ fn1] (impl/take! ch fn1))\n\n impl/WritePort\n (put! [_ val fn1]\n (if (p val)\n (impl/put! ch val fn1)\n (channels/box (not (impl/closed? ch)))))))\n\n(defn remove>\n \"Deprecated - this function will be removed. Use transducer instead\"\n [p ch]\n (filter> (complement p) ch))\n\n(defn filter<\n \"Deprecated - this function will be removed. Use transducer instead\"\n ([p ch] (filter< p ch nil))\n ([p ch buf-or-n]\n (let [out (chan buf-or-n)]\n (go-loop []\n (let [val (! out val))\n (recur)))))\n out)))\n\n(defn remove<\n \"Deprecated - this function will be removed. Use transducer instead\"\n ([p ch] (remove< p ch nil))\n ([p ch buf-or-n] (filter< (complement p) ch buf-or-n)))\n\n(defn- mapcat* [f in out]\n (go-loop []\n (let [val (! out v))\n (when-not (impl/closed? out)\n (recur)))))))\n\n(defn mapcat<\n \"Deprecated - this function will be removed. Use transducer instead\"\n ([f in] (mapcat< f in nil))\n ([f in buf-or-n]\n (let [out (chan buf-or-n)]\n (mapcat* f in out)\n out)))\n\n(defn mapcat>\n \"Deprecated - this function will be removed. Use transducer instead\"\n ([f out] (mapcat> f out nil))\n ([f out buf-or-n]\n (let [in (chan buf-or-n)]\n (mapcat* f in out)\n in)))\n\n(defn unique\n \"Deprecated - this function will be removed. Use transducer instead\"\n ([ch]\n (unique ch nil))\n ([ch buf-or-n]\n (let [out (chan buf-or-n)]\n (go (loop [last nil]\n (let [v (! out v)\n (recur v))))))\n (close! out))\n out)))\n\n(defn partition\n \"Deprecated - this function will be removed. Use transducer instead\"\n ([n ch]\n (partition n ch nil))\n ([n ch buf-or-n]\n (let [out (chan buf-or-n)]\n (go (loop [arr (make-array n)\n idx 0]\n (let [v (! out (vec arr))\n (recur (make-array n) 0)))))\n (do (when (> idx 0)\n (>! out (vec arr)))\n (close! out))))))\n out)))\n\n\n(defn partition-by\n \"Deprecated - this function will be removed. Use transducer instead\"\n ([f ch]\n (partition-by f ch nil))\n ([f ch buf-or-n]\n (let [out (chan buf-or-n)]\n (go (loop [lst (make-array 0)\n last ::nothing]\n (let [v (! out (vec lst))\n (let [new-lst (make-array 0)]\n (.push new-lst v)\n (recur new-lst new-itm)))))\n (do (when (> (alength lst) 0)\n (>! out (vec lst)))\n (close! out))))))\n out)))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.core.js b/out/cljs-runtime/cljs.core.js new file mode 100644 index 0000000..60e7da8 --- /dev/null +++ b/out/cljs-runtime/cljs.core.js @@ -0,0 +1,38284 @@ +goog.provide('cljs.core'); +goog.scope(function(){ + cljs.core.goog$module$goog$math$Long = goog.module.get('goog.math.Long'); + cljs.core.goog$module$goog$object = goog.module.get('goog.object'); + cljs.core.goog$module$goog$array = goog.module.get('goog.array'); +}); +cljs.core._STAR_clojurescript_version_STAR_ = "1.11.60"; +cljs.core._STAR_unchecked_if_STAR_ = false; +cljs.core._STAR_unchecked_arrays_STAR_ = false; +cljs.core._STAR_warn_on_infer_STAR_ = false; +if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.PROTOCOL_SENTINEL !== 'undefined')){ +} else { +cljs.core.PROTOCOL_SENTINEL = ({}); +} +cljs.core.MODULE_URIS = null; +cljs.core.MODULE_INFOS = null; +/** + * Var bound to the name value of the compiler build :target option. + * For example, if the compiler build :target is :nodejs, *target* will be bound + * to "nodejs". *target* is a Google Closure define and can be set by compiler + * :closure-defines option. + * @define {string} + */ +cljs.core._STAR_target_STAR_ = goog.define("cljs.core._STAR_target_STAR_","default"); +/** + * Manually set the JavaScript global context. Only "window", "self" + * , and "global" supported. + * @define {string} + */ +cljs.core._STAR_global_STAR_ = goog.define("cljs.core._STAR_global_STAR_","default"); +/** + * Var bound to the current namespace. Only used for bootstrapping. + * @type {*} + */ +cljs.core._STAR_ns_STAR_ = null; +/** + * @type {*} + */ +cljs.core._STAR_out_STAR_ = null; +cljs.core._STAR_assert_STAR_ = true; +if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_print_fn_STAR_ !== 'undefined')){ +} else { +/** + * Each runtime environment provides a different way to print output. + * Whatever function *print-fn* is bound to will be passed any + * Strings which should be printed. + */ +cljs.core._STAR_print_fn_STAR_ = null; +} +/** + * Arranges to have tap functions executed via the supplied f, a + * function of no arguments. Returns true if successful, false otherwise. + */ +cljs.core._STAR_exec_tap_fn_STAR_ = (function cljs$core$_STAR_exec_tap_fn_STAR_(f){ +var and__5043__auto__ = (typeof setTimeout !== 'undefined'); +if(and__5043__auto__){ +var G__26606 = setTimeout(f,(0)); +return (cljs.core.boolean$.cljs$core$IFn$_invoke$arity$1 ? cljs.core.boolean$.cljs$core$IFn$_invoke$arity$1(G__26606) : cljs.core.boolean$.call(null, G__26606)); +} else { +return and__5043__auto__; +} +}); +if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_print_err_fn_STAR_ !== 'undefined')){ +} else { +/** + * Each runtime environment provides a different way to print error output. + * Whatever function *print-err-fn* is bound to will be passed any + * Strings which should be printed. + */ +cljs.core._STAR_print_err_fn_STAR_ = null; +} +/** + * Set *print-fn* to f. + */ +cljs.core.set_print_fn_BANG_ = (function cljs$core$set_print_fn_BANG_(f){ +return (cljs.core._STAR_print_fn_STAR_ = f); +}); +/** + * Set *print-err-fn* to f. + */ +cljs.core.set_print_err_fn_BANG_ = (function cljs$core$set_print_err_fn_BANG_(f){ +return (cljs.core._STAR_print_err_fn_STAR_ = f); +}); +/** + * When set to true, output will be flushed whenever a newline is printed. + * + * Defaults to true. + */ +cljs.core._STAR_flush_on_newline_STAR_ = true; +/** + * When set to logical false will drop newlines from printing calls. + * This is to work around the implicit newlines emitted by standard JavaScript + * console objects. + */ +cljs.core._STAR_print_newline_STAR_ = true; +/** + * When set to logical false, strings and characters will be printed with + * non-alphanumeric characters converted to the appropriate escape sequences. + * + * Defaults to true + */ +cljs.core._STAR_print_readably_STAR_ = true; +/** + * If set to logical true, when printing an object, its metadata will also + * be printed in a form that can be read back by the reader. + * + * Defaults to false. + */ +cljs.core._STAR_print_meta_STAR_ = false; +/** + * When set to logical true, objects will be printed in a way that preserves + * their type when read in later. + * + * Defaults to false. + */ +cljs.core._STAR_print_dup_STAR_ = false; +/** + * *print-namespace-maps* controls whether the printer will print + * namespace map literal syntax. + * + * Defaults to false, but the REPL binds it to true. + */ +cljs.core._STAR_print_namespace_maps_STAR_ = false; +/** + * *print-length* controls how many items of each collection the + * printer will print. If it is bound to logical false, there is no + * limit. Otherwise, it must be bound to an integer indicating the maximum + * number of items of each collection to print. If a collection contains + * more items, the printer will print items up to the limit followed by + * '...' to represent the remaining items. The root binding is nil + * indicating no limit. + * @type {null|number} + */ +cljs.core._STAR_print_length_STAR_ = null; +/** + * *print-level* controls how many levels deep the printer will + * print nested objects. If it is bound to logical false, there is no + * limit. Otherwise, it must be bound to an integer indicating the maximum + * level to print. Each argument to print is at level 0; if an argument is a + * collection, its items are at level 1; and so on. If an object is a + * collection and is at a level greater than or equal to the value bound to + * *print-level*, the printer prints '#' to represent it. The root binding + * is nil indicating no limit. + * @type {null|number} + */ +cljs.core._STAR_print_level_STAR_ = null; +/** + * *print-fns-bodies* controls whether functions print their source or + * only their names. + */ +cljs.core._STAR_print_fn_bodies_STAR_ = false; +if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_loaded_libs_STAR_ !== 'undefined')){ +} else { +/** + * @type {*} + */ +cljs.core._STAR_loaded_libs_STAR_ = null; +} +cljs.core.pr_opts = (function cljs$core$pr_opts(){ +return new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"flush-on-newline","flush-on-newline",-151457939),cljs.core._STAR_flush_on_newline_STAR_,new cljs.core.Keyword(null,"readably","readably",1129599760),cljs.core._STAR_print_readably_STAR_,new cljs.core.Keyword(null,"meta","meta",1499536964),cljs.core._STAR_print_meta_STAR_,new cljs.core.Keyword(null,"dup","dup",556298533),cljs.core._STAR_print_dup_STAR_,new cljs.core.Keyword(null,"print-length","print-length",1931866356),cljs.core._STAR_print_length_STAR_], null); +}); +/** + * Set *print-fn* to console.log + */ +cljs.core.enable_console_print_BANG_ = (function cljs$core$enable_console_print_BANG_(){ +(cljs.core._STAR_print_newline_STAR_ = false); + +cljs.core.set_print_fn_BANG_((function (){ +var xs = arguments; +return console.log.apply(console,cljs.core.goog$module$goog$array.clone(xs)); +})); + +cljs.core.set_print_err_fn_BANG_((function (){ +var xs = arguments; +return console.error.apply(console,cljs.core.goog$module$goog$array.clone(xs)); +})); + +return null; +}); +/** + * Internal - do not use! + */ +cljs.core.truth_ = (function cljs$core$truth_(x){ +return (x != null && x !== false); +}); +cljs.core.not_native = null; + +/** + * Tests if 2 arguments are the same object + */ +cljs.core.identical_QMARK_ = (function cljs$core$identical_QMARK_(x,y){ +return (x === y); +}); +/** + * Returns true if x is nil, false otherwise. + */ +cljs.core.nil_QMARK_ = (function cljs$core$nil_QMARK_(x){ +return (x == null); +}); +/** + * Returns true if x is a JavaScript array. + */ +cljs.core.array_QMARK_ = (function cljs$core$array_QMARK_(x){ +if((cljs.core._STAR_target_STAR_ === "nodejs")){ +return Array.isArray(x); +} else { +return (x instanceof Array); +} +}); +/** + * Returns true if x is a JavaScript number. + */ +cljs.core.number_QMARK_ = (function cljs$core$number_QMARK_(x){ +return typeof x === 'number'; +}); +/** + * Returns true if x is logical false, false otherwise. + */ +cljs.core.not = (function cljs$core$not(x){ +if((x == null)){ +return true; +} else { +if(x === false){ +return true; +} else { +return false; + +} +} +}); +/** + * Returns true if x is not nil, false otherwise. + */ +cljs.core.some_QMARK_ = (function cljs$core$some_QMARK_(x){ +return (!((x == null))); +}); +/** + * Returns true if x's constructor is Object + */ +cljs.core.object_QMARK_ = (function cljs$core$object_QMARK_(x){ +if((!((x == null)))){ +return (x.constructor === Object); +} else { +return false; +} +}); +/** + * Returns true if x is a JavaScript string. + */ +cljs.core.string_QMARK_ = (function cljs$core$string_QMARK_(x){ +return ("string" === goog.typeOf(x)); +}); +/** + * Returns true if x is a JavaScript string of length one. + */ +cljs.core.char_QMARK_ = (function cljs$core$char_QMARK_(x){ +return ((typeof x === 'string') && (((1) === x.length))); +}); +/** + * Returns true if given any argument. + */ +cljs.core.any_QMARK_ = (function cljs$core$any_QMARK_(x){ +return true; +}); +/** + * Internal - do not use! + */ +cljs.core.native_satisfies_QMARK_ = (function cljs$core$native_satisfies_QMARK_(p,x){ +var x__$1 = (((x == null))?null:x); +if((p[goog.typeOf(x__$1)])){ +return true; +} else { +if((p["_"])){ +return true; +} else { +return false; + +} +} +}); +cljs.core.is_proto_ = (function cljs$core$is_proto_(x){ +return (x.constructor.prototype === x); +}); +/** + * When compiled for a command-line target, whatever function + * *main-cli-fn* is set to will be called with the command-line + * argv as arguments + */ +cljs.core._STAR_main_cli_fn_STAR_ = null; +/** + * A sequence of the supplied command line arguments, or nil if + * none were supplied + */ +cljs.core._STAR_command_line_args_STAR_ = null; +/** + * Return x's constructor. + */ +cljs.core.type = (function cljs$core$type(x){ +if((x == null)){ +return null; +} else { +return x.constructor; +} +}); +cljs.core.missing_protocol = (function cljs$core$missing_protocol(proto,obj){ +var ty = cljs.core.type(obj); +var ty__$1 = (cljs.core.truth_((function (){var and__5043__auto__ = ty; +if(cljs.core.truth_(and__5043__auto__)){ +return ty.cljs$lang$type; +} else { +return and__5043__auto__; +} +})())?ty.cljs$lang$ctorStr:goog.typeOf(obj)); +return (new Error(["No protocol method ",proto," defined for type ",ty__$1,": ",obj].join(""))); +}); +cljs.core.type__GT_str = (function cljs$core$type__GT_str(ty){ +var temp__5821__auto__ = ty.cljs$lang$ctorStr; +if(cljs.core.truth_(temp__5821__auto__)){ +var s = temp__5821__auto__; +return s; +} else { +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(ty); +} +}); +cljs.core.load_file = (function cljs$core$load_file(file){ +if(cljs.core.truth_(COMPILED)){ +return null; +} else { +return goog.nodeGlobalRequire(file); +} +}); +if((((typeof Symbol !== 'undefined')) && ((goog.typeOf(Symbol) === "function")))){ +cljs.core.ITER_SYMBOL = Symbol.iterator; +} else { +cljs.core.ITER_SYMBOL = "@@iterator"; +} +/** + * @enum {string} + */ +cljs.core.CHAR_MAP = ({"]": "_RBRACK_", "'": "_SINGLEQUOTE_", "=": "_EQ_", "\"": "_DOUBLEQUOTE_", "!": "_BANG_", "*": "_STAR_", "%": "_PERCENT_", "|": "_BAR_", "~": "_TILDE_", "/": "_SLASH_", "\\": "_BSLASH_", "-": "_", "?": "_QMARK_", "&": "_AMPERSAND_", ":": "_COLON_", "<": "_LT_", "{": "_LBRACE_", "}": "_RBRACE_", "[": "_LBRACK_", "#": "_SHARP_", "^": "_CARET_", "+": "_PLUS_", "@": "_CIRCA_", ">": "_GT_"}); +/** + * @enum {string} + */ +cljs.core.DEMUNGE_MAP = ({"_RBRACE_": "}", "_COLON_": ":", "_BANG_": "!", "_QMARK_": "?", "_BSLASH_": "\\\\", "_SLASH_": "/", "_PERCENT_": "%", "_PLUS_": "+", "_SHARP_": "#", "_LBRACE_": "{", "_BAR_": "|", "_LBRACK_": "[", "_EQ_": "=", "_": "-", "_TILDE_": "~", "_RBRACK_": "]", "_GT_": ">", "_SINGLEQUOTE_": "'", "_CIRCA_": "@", "_AMPERSAND_": "&", "_DOUBLEQUOTE_": "\\\"", "_CARET_": "^", "_LT_": "<", "_STAR_": "*"}); +cljs.core.DEMUNGE_PATTERN = null; +/** + * Returns highest resolution time offered by host in milliseconds. + */ +cljs.core.system_time = (function cljs$core$system_time(){ +if((((typeof performance !== 'undefined')) && ((!((performance.now == null)))))){ +return performance.now(); +} else { +if((((typeof process !== 'undefined')) && ((!((process.hrtime == null)))))){ +var t = process.hrtime(); +return ((((t[(0)]) * 1.0E9) + (t[(1)])) / 1000000.0); +} else { +return (new Date()).getTime(); + +} +} +}); +/** + * Construct a JavaScript array of the specified dimensions. Accepts ignored + * type argument for compatibility with Clojure. Note that there is no efficient + * way to allocate multi-dimensional arrays in JavaScript; as such, this function + * will run in polynomial time when called with 3 or more arguments. + */ +cljs.core.make_array = (function cljs$core$make_array(var_args){ +var G__26611 = arguments.length; +switch (G__26611) { +case 1: +return cljs.core.make_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.make_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28198 = arguments.length; +var i__5770__auto___28199 = (0); +while(true){ +if((i__5770__auto___28199 < len__5769__auto___28198)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28199])); + +var G__28202 = (i__5770__auto___28199 + (1)); +i__5770__auto___28199 = G__28202; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.make_array.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.make_array.cljs$core$IFn$_invoke$arity$1 = (function (size){ +return (new Array(size)); +})); + +(cljs.core.make_array.cljs$core$IFn$_invoke$arity$2 = (function (type,size){ +return (new Array(size)); +})); + +(cljs.core.make_array.cljs$core$IFn$_invoke$arity$variadic = (function (type,size,more_sizes){ +var dims = more_sizes; +var dimarray = (new Array(size)); +var n__5636__auto___28214 = dimarray.length; +var i_28216 = (0); +while(true){ +if((i_28216 < n__5636__auto___28214)){ +(dimarray[i_28216] = (cljs.core.apply.cljs$core$IFn$_invoke$arity$3 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.make_array,null,dims) : cljs.core.apply.call(null, cljs.core.make_array,null,dims))); + +var G__28217 = (i_28216 + (1)); +i_28216 = G__28217; +continue; +} else { +} +break; +} + +return dimarray; +})); + +/** @this {Function} */ +(cljs.core.make_array.cljs$lang$applyTo = (function (seq26608){ +var G__26609 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26608) : cljs.core.first.call(null, seq26608)); +var seq26608__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26608) : cljs.core.next.call(null, seq26608)); +var G__26610 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26608__$1) : cljs.core.first.call(null, seq26608__$1)); +var seq26608__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26608__$1) : cljs.core.next.call(null, seq26608__$1)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26609,G__26610,seq26608__$2); +})); + +(cljs.core.make_array.cljs$lang$maxFixedArity = (2)); + +/** + * Returns a javascript array, cloned from the passed in array + */ +cljs.core.aclone = (function cljs$core$aclone(arr){ +var len = arr.length; +var new_arr = (new Array(len)); +var n__5636__auto___28218 = len; +var i_28219 = (0); +while(true){ +if((i_28219 < n__5636__auto___28218)){ +(new_arr[i_28219] = (arr[i_28219])); + +var G__28220 = (i_28219 + (1)); +i_28219 = G__28220; +continue; +} else { +} +break; +} + +return new_arr; +}); +/** + * Creates a new javascript array. + * @param {...*} var_args + */ +cljs.core.array = (function cljs$core$array(var_args){ +var a = (new Array(arguments.length)); +var i = (0); +while(true){ +if((i < a.length)){ +(a[i] = (arguments[i])); + +var G__28222 = (i + (1)); +i = G__28222; +continue; +} else { +return a; +} +break; +} +}); +cljs.core.maybe_warn = (function cljs$core$maybe_warn(e){ +if(cljs.core.truth_(cljs.core._STAR_print_err_fn_STAR_)){ +return cljs.core._STAR_print_err_fn_STAR_.call(null, e); +} else { +return null; +} +}); +cljs.core.checked_aget = (function cljs$core$checked_aget(var_args){ +var G__26616 = arguments.length; +switch (G__26616) { +case 2: +return cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28224 = arguments.length; +var i__5770__auto___28225 = (0); +while(true){ +if((i__5770__auto___28225 < len__5769__auto___28224)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28225])); + +var G__28226 = (i__5770__auto___28225 + (1)); +i__5770__auto___28225 = G__28226; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ +try{if(cljs.core.truth_((function (){var or__5045__auto__ = cljs.core.array_QMARK_(array); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); +} + +if(typeof idx === 'number'){ +} else { +throw (new Error("Assert failed: (number? idx)")); +} + +if((!((idx < (0))))){ +} else { +throw (new Error("Assert failed: (not (neg? idx))")); +} + +if((idx < array.length)){ +} else { +throw (new Error("Assert failed: (< idx (alength array))")); +} +}catch (e26617){var e_28229 = e26617; +cljs.core.maybe_warn(e_28229); +} +return (array[idx]); +})); + +(cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idxs){ +var G__26618 = cljs.core.checked_aget; +var G__26619 = cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2(array,idx); +var G__26620 = idxs; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$3 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$3(G__26618,G__26619,G__26620) : cljs.core.apply.call(null, G__26618,G__26619,G__26620)); +})); + +/** @this {Function} */ +(cljs.core.checked_aget.cljs$lang$applyTo = (function (seq26613){ +var G__26614 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26613) : cljs.core.first.call(null, seq26613)); +var seq26613__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26613) : cljs.core.next.call(null, seq26613)); +var G__26615 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26613__$1) : cljs.core.first.call(null, seq26613__$1)); +var seq26613__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26613__$1) : cljs.core.next.call(null, seq26613__$1)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26614,G__26615,seq26613__$2); +})); + +(cljs.core.checked_aget.cljs$lang$maxFixedArity = (2)); + +cljs.core.checked_aset = (function cljs$core$checked_aset(var_args){ +var G__26626 = arguments.length; +switch (G__26626) { +case 3: +return cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28234 = arguments.length; +var i__5770__auto___28235 = (0); +while(true){ +if((i__5770__auto___28235 < len__5769__auto___28234)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28235])); + +var G__28238 = (i__5770__auto___28235 + (1)); +i__5770__auto___28235 = G__28238; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ +try{if(cljs.core.truth_((function (){var or__5045__auto__ = cljs.core.array_QMARK_(array); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); +} + +if(typeof idx === 'number'){ +} else { +throw (new Error("Assert failed: (number? idx)")); +} + +if((!((idx < (0))))){ +} else { +throw (new Error("Assert failed: (not (neg? idx))")); +} + +if((idx < array.length)){ +} else { +throw (new Error("Assert failed: (< idx (alength array))")); +} +}catch (e26627){var e_28254 = e26627; +cljs.core.maybe_warn(e_28254); +} +return (array[idx] = val); +})); + +(cljs.core.checked_aset.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ +var G__26628 = cljs.core.checked_aset; +var G__26629 = cljs.core.checked_aget.cljs$core$IFn$_invoke$arity$2(array,idx); +var G__26630 = idx2; +var G__26631 = idxv; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$4 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$4(G__26628,G__26629,G__26630,G__26631) : cljs.core.apply.call(null, G__26628,G__26629,G__26630,G__26631)); +})); + +/** @this {Function} */ +(cljs.core.checked_aset.cljs$lang$applyTo = (function (seq26622){ +var G__26623 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26622) : cljs.core.first.call(null, seq26622)); +var seq26622__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26622) : cljs.core.next.call(null, seq26622)); +var G__26624 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26622__$1) : cljs.core.first.call(null, seq26622__$1)); +var seq26622__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26622__$1) : cljs.core.next.call(null, seq26622__$1)); +var G__26625 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26622__$2) : cljs.core.first.call(null, seq26622__$2)); +var seq26622__$3 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26622__$2) : cljs.core.next.call(null, seq26622__$2)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26623,G__26624,G__26625,seq26622__$3); +})); + +(cljs.core.checked_aset.cljs$lang$maxFixedArity = (3)); + +cljs.core.checked_aget_SINGLEQUOTE_ = (function cljs$core$checked_aget_SINGLEQUOTE_(var_args){ +var G__26636 = arguments.length; +switch (G__26636) { +case 2: +return cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28280 = arguments.length; +var i__5770__auto___28281 = (0); +while(true){ +if((i__5770__auto___28281 < len__5769__auto___28280)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28281])); + +var G__28294 = (i__5770__auto___28281 + (1)); +i__5770__auto___28281 = G__28294; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ +if(cljs.core.truth_((function (){var or__5045__auto__ = cljs.core.array_QMARK_(array); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); +} + +if(typeof idx === 'number'){ +} else { +throw (new Error("Assert failed: (number? idx)")); +} + +if((!((idx < (0))))){ +} else { +throw (new Error("Assert failed: (not (neg? idx))")); +} + +if((idx < array.length)){ +} else { +throw (new Error("Assert failed: (< idx (alength array))")); +} + +return (array[idx]); +})); + +(cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idxs){ +var G__26637 = cljs.core.checked_aget_SINGLEQUOTE_; +var G__26638 = cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2(array,idx); +var G__26639 = idxs; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$3 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$3(G__26637,G__26638,G__26639) : cljs.core.apply.call(null, G__26637,G__26638,G__26639)); +})); + +/** @this {Function} */ +(cljs.core.checked_aget_SINGLEQUOTE_.cljs$lang$applyTo = (function (seq26633){ +var G__26634 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26633) : cljs.core.first.call(null, seq26633)); +var seq26633__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26633) : cljs.core.next.call(null, seq26633)); +var G__26635 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26633__$1) : cljs.core.first.call(null, seq26633__$1)); +var seq26633__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26633__$1) : cljs.core.next.call(null, seq26633__$1)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26634,G__26635,seq26633__$2); +})); + +(cljs.core.checked_aget_SINGLEQUOTE_.cljs$lang$maxFixedArity = (2)); + +cljs.core.checked_aset_SINGLEQUOTE_ = (function cljs$core$checked_aset_SINGLEQUOTE_(var_args){ +var G__26645 = arguments.length; +switch (G__26645) { +case 3: +return cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28374 = arguments.length; +var i__5770__auto___28375 = (0); +while(true){ +if((i__5770__auto___28375 < len__5769__auto___28374)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28375])); + +var G__28380 = (i__5770__auto___28375 + (1)); +i__5770__auto___28375 = G__28380; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ +if(cljs.core.truth_((function (){var or__5045__auto__ = cljs.core.array_QMARK_(array); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return goog.isArrayLike(array); +} +})())){ +} else { +throw (new Error("Assert failed: (or (array? array) (goog/isArrayLike array))")); +} + +if(typeof idx === 'number'){ +} else { +throw (new Error("Assert failed: (number? idx)")); +} + +if((!((idx < (0))))){ +} else { +throw (new Error("Assert failed: (not (neg? idx))")); +} + +if((idx < array.length)){ +} else { +throw (new Error("Assert failed: (< idx (alength array))")); +} + +return (array[idx] = val); +})); + +(cljs.core.checked_aset_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ +var G__26646 = cljs.core.checked_aset_SINGLEQUOTE_; +var G__26647 = cljs.core.checked_aget_SINGLEQUOTE_.cljs$core$IFn$_invoke$arity$2(array,idx); +var G__26648 = idx2; +var G__26649 = idxv; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$4 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$4(G__26646,G__26647,G__26648,G__26649) : cljs.core.apply.call(null, G__26646,G__26647,G__26648,G__26649)); +})); + +/** @this {Function} */ +(cljs.core.checked_aset_SINGLEQUOTE_.cljs$lang$applyTo = (function (seq26641){ +var G__26642 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26641) : cljs.core.first.call(null, seq26641)); +var seq26641__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26641) : cljs.core.next.call(null, seq26641)); +var G__26643 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26641__$1) : cljs.core.first.call(null, seq26641__$1)); +var seq26641__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26641__$1) : cljs.core.next.call(null, seq26641__$1)); +var G__26644 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26641__$2) : cljs.core.first.call(null, seq26641__$2)); +var seq26641__$3 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26641__$2) : cljs.core.next.call(null, seq26641__$2)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26642,G__26643,G__26644,seq26641__$3); +})); + +(cljs.core.checked_aset_SINGLEQUOTE_.cljs$lang$maxFixedArity = (3)); + +/** + * Returns the value at the index/indices. Works on JavaScript arrays. + */ +cljs.core.aget = (function cljs$core$aget(var_args){ +var G__26654 = arguments.length; +switch (G__26654) { +case 2: +return cljs.core.aget.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28418 = arguments.length; +var i__5770__auto___28419 = (0); +while(true){ +if((i__5770__auto___28419 < len__5769__auto___28418)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28419])); + +var G__28421 = (i__5770__auto___28419 + (1)); +i__5770__auto___28419 = G__28421; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.aget.cljs$core$IFn$_invoke$arity$2 = (function (array,idx){ +return (array[idx]); +})); + +(cljs.core.aget.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idxs){ +var G__26655 = cljs.core.aget; +var G__26656 = (array[idx]); +var G__26657 = idxs; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$3 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$3(G__26655,G__26656,G__26657) : cljs.core.apply.call(null, G__26655,G__26656,G__26657)); +})); + +/** @this {Function} */ +(cljs.core.aget.cljs$lang$applyTo = (function (seq26651){ +var G__26652 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26651) : cljs.core.first.call(null, seq26651)); +var seq26651__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26651) : cljs.core.next.call(null, seq26651)); +var G__26653 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26651__$1) : cljs.core.first.call(null, seq26651__$1)); +var seq26651__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26651__$1) : cljs.core.next.call(null, seq26651__$1)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26652,G__26653,seq26651__$2); +})); + +(cljs.core.aget.cljs$lang$maxFixedArity = (2)); + +/** + * Sets the value at the index/indices. Works on JavaScript arrays. + * Returns val. + */ +cljs.core.aset = (function cljs$core$aset(var_args){ +var G__26663 = arguments.length; +switch (G__26663) { +case 3: +return cljs.core.aset.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28451 = arguments.length; +var i__5770__auto___28452 = (0); +while(true){ +if((i__5770__auto___28452 < len__5769__auto___28451)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28452])); + +var G__28453 = (i__5770__auto___28452 + (1)); +i__5770__auto___28452 = G__28453; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.aset.cljs$core$IFn$_invoke$arity$3 = (function (array,idx,val){ +return (array[idx] = val); +})); + +(cljs.core.aset.cljs$core$IFn$_invoke$arity$variadic = (function (array,idx,idx2,idxv){ +var G__26664 = cljs.core.aset; +var G__26665 = (array[idx]); +var G__26666 = idx2; +var G__26667 = idxv; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$4 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$4(G__26664,G__26665,G__26666,G__26667) : cljs.core.apply.call(null, G__26664,G__26665,G__26666,G__26667)); +})); + +/** @this {Function} */ +(cljs.core.aset.cljs$lang$applyTo = (function (seq26659){ +var G__26660 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26659) : cljs.core.first.call(null, seq26659)); +var seq26659__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26659) : cljs.core.next.call(null, seq26659)); +var G__26661 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26659__$1) : cljs.core.first.call(null, seq26659__$1)); +var seq26659__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26659__$1) : cljs.core.next.call(null, seq26659__$1)); +var G__26662 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26659__$2) : cljs.core.first.call(null, seq26659__$2)); +var seq26659__$3 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26659__$2) : cljs.core.next.call(null, seq26659__$2)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26660,G__26661,G__26662,seq26659__$3); +})); + +(cljs.core.aset.cljs$lang$maxFixedArity = (3)); + +/** + * Returns the length of the array. Works on arrays of all types. + */ +cljs.core.alength = (function cljs$core$alength(array){ +return array.length; +}); +/** + * Returns an array with components set to the values in aseq. Optional type + * argument accepted for compatibility with Clojure. + */ +cljs.core.into_array = (function cljs$core$into_array(var_args){ +var G__26669 = arguments.length; +switch (G__26669) { +case 1: +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.into_array.cljs$core$IFn$_invoke$arity$1 = (function (aseq){ +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$2(null,aseq); +})); + +(cljs.core.into_array.cljs$core$IFn$_invoke$arity$2 = (function (type,aseq){ +var G__26670 = (function (a,x){ +a.push(x); + +return a; +}); +var G__26671 = []; +var G__26672 = aseq; +return (cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(G__26670,G__26671,G__26672) : cljs.core.reduce.call(null, G__26670,G__26671,G__26672)); +})); + +(cljs.core.into_array.cljs$lang$maxFixedArity = 2); + +/** + * Invoke JavaScript object method via string. Needed when the + * string is not a valid unquoted property name. + */ +cljs.core.js_invoke = (function cljs$core$js_invoke(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___28500 = arguments.length; +var i__5770__auto___28501 = (0); +while(true){ +if((i__5770__auto___28501 < len__5769__auto___28500)){ +args__5775__auto__.push((arguments[i__5770__auto___28501])); + +var G__28502 = (i__5770__auto___28501 + (1)); +i__5770__auto___28501 = G__28502; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return cljs.core.js_invoke.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(cljs.core.js_invoke.cljs$core$IFn$_invoke$arity$variadic = (function (obj,s,args){ +return (obj[s]).apply(obj,cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(args)); +})); + +(cljs.core.js_invoke.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(cljs.core.js_invoke.cljs$lang$applyTo = (function (seq26673){ +var G__26674 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26673) : cljs.core.first.call(null, seq26673)); +var seq26673__$1 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26673) : cljs.core.next.call(null, seq26673)); +var G__26675 = (cljs.core.first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.first.cljs$core$IFn$_invoke$arity$1(seq26673__$1) : cljs.core.first.call(null, seq26673__$1)); +var seq26673__$2 = (cljs.core.next.cljs$core$IFn$_invoke$arity$1 ? cljs.core.next.cljs$core$IFn$_invoke$arity$1(seq26673__$1) : cljs.core.next.call(null, seq26673__$1)); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26674,G__26675,seq26673__$2); +})); + +/** + * Returns true if x is an instance of Symbol + */ +cljs.core.js_symbol_QMARK_ = (function cljs$core$js_symbol_QMARK_(x){ +return (((goog.typeOf(x) === "symbol")) || ((((typeof Symbol !== 'undefined')) && ((x instanceof Symbol))))); +}); + +/** + * Marker protocol + * @interface + */ +cljs.core.Fn = function(){}; + + +/** + * Protocol for adding the ability to invoke an object as a function. + * For example, a vector can also be used to look up a value: + * ([1 2 3 4] 1) => 2 + * @interface + */ +cljs.core.IFn = function(){}; + +var cljs$core$IFn$_invoke$dyn_28510 = (function() { +var G__28511 = null; +var G__28511__1 = (function (this$){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5394__auto__.call(null, this$)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5392__auto__.call(null, this$)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__2 = (function (this$,a){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(this$,a) : m__5394__auto__.call(null, this$,a)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(this$,a) : m__5392__auto__.call(null, this$,a)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__3 = (function (this$,a,b){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__5394__auto__.call(null, this$,a,b)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(this$,a,b) : m__5392__auto__.call(null, this$,a,b)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__4 = (function (this$,a,b,c){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__5394__auto__.call(null, this$,a,b,c)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$4(this$,a,b,c) : m__5392__auto__.call(null, this$,a,b,c)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__5 = (function (this$,a,b,c,d){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$5 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__5394__auto__.call(null, this$,a,b,c,d)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$5 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d) : m__5392__auto__.call(null, this$,a,b,c,d)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__6 = (function (this$,a,b,c,d,e){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$6 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__5394__auto__.call(null, this$,a,b,c,d,e)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$6 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e) : m__5392__auto__.call(null, this$,a,b,c,d,e)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__7 = (function (this$,a,b,c,d,e,f){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$7 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__5394__auto__.call(null, this$,a,b,c,d,e,f)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$7 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f) : m__5392__auto__.call(null, this$,a,b,c,d,e,f)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__8 = (function (this$,a,b,c,d,e,f,g){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$8 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$8 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__9 = (function (this$,a,b,c,d,e,f,g,h){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$9 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$9 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__10 = (function (this$,a,b,c,d,e,f,g,h,i){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$10 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$10 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__11 = (function (this$,a,b,c,d,e,f,g,h,i,j){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$11 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$11 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__12 = (function (this$,a,b,c,d,e,f,g,h,i,j,k){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$12 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$12 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__13 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$13 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$13 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__14 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$14 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$14 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__15 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$15 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$15 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__16 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$16 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$16 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__17 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$17 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$17(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$17 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$17(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__18 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$18 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$18(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$18 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$18(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__19 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$19 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$19(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$19 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$19(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__20 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$20 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$20(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$20 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$20(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__21 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$21 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s, new cljs.core.IndexedSeq([t],0,null)) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$21 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s, new cljs.core.IndexedSeq([t],0,null)) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +var G__28511__22 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._invoke[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$21 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s, new cljs.core.IndexedSeq([t,rest],0,null)) : m__5394__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest)); +} else { +var m__5392__auto__ = (cljs.core._invoke["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$21 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s, new cljs.core.IndexedSeq([t,rest],0,null)) : m__5392__auto__.call(null, this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest)); +} else { +throw cljs.core.missing_protocol("IFn.-invoke",this$); +} +} +}); +G__28511 = function(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ +switch(arguments.length){ +case 1: +return G__28511__1.call(this,this$); +case 2: +return G__28511__2.call(this,this$,a); +case 3: +return G__28511__3.call(this,this$,a,b); +case 4: +return G__28511__4.call(this,this$,a,b,c); +case 5: +return G__28511__5.call(this,this$,a,b,c,d); +case 6: +return G__28511__6.call(this,this$,a,b,c,d,e); +case 7: +return G__28511__7.call(this,this$,a,b,c,d,e,f); +case 8: +return G__28511__8.call(this,this$,a,b,c,d,e,f,g); +case 9: +return G__28511__9.call(this,this$,a,b,c,d,e,f,g,h); +case 10: +return G__28511__10.call(this,this$,a,b,c,d,e,f,g,h,i); +case 11: +return G__28511__11.call(this,this$,a,b,c,d,e,f,g,h,i,j); +case 12: +return G__28511__12.call(this,this$,a,b,c,d,e,f,g,h,i,j,k); +case 13: +return G__28511__13.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l); +case 14: +return G__28511__14.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m); +case 15: +return G__28511__15.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +case 16: +return G__28511__16.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +case 17: +return G__28511__17.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +case 18: +return G__28511__18.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); +case 19: +return G__28511__19.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); +case 20: +return G__28511__20.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); +case 21: +return G__28511__21.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +case 22: +return G__28511__22.call(this,this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__28511.cljs$core$IFn$_invoke$arity$1 = G__28511__1; +G__28511.cljs$core$IFn$_invoke$arity$2 = G__28511__2; +G__28511.cljs$core$IFn$_invoke$arity$3 = G__28511__3; +G__28511.cljs$core$IFn$_invoke$arity$4 = G__28511__4; +G__28511.cljs$core$IFn$_invoke$arity$5 = G__28511__5; +G__28511.cljs$core$IFn$_invoke$arity$6 = G__28511__6; +G__28511.cljs$core$IFn$_invoke$arity$7 = G__28511__7; +G__28511.cljs$core$IFn$_invoke$arity$8 = G__28511__8; +G__28511.cljs$core$IFn$_invoke$arity$9 = G__28511__9; +G__28511.cljs$core$IFn$_invoke$arity$10 = G__28511__10; +G__28511.cljs$core$IFn$_invoke$arity$11 = G__28511__11; +G__28511.cljs$core$IFn$_invoke$arity$12 = G__28511__12; +G__28511.cljs$core$IFn$_invoke$arity$13 = G__28511__13; +G__28511.cljs$core$IFn$_invoke$arity$14 = G__28511__14; +G__28511.cljs$core$IFn$_invoke$arity$15 = G__28511__15; +G__28511.cljs$core$IFn$_invoke$arity$16 = G__28511__16; +G__28511.cljs$core$IFn$_invoke$arity$17 = G__28511__17; +G__28511.cljs$core$IFn$_invoke$arity$18 = G__28511__18; +G__28511.cljs$core$IFn$_invoke$arity$19 = G__28511__19; +G__28511.cljs$core$IFn$_invoke$arity$20 = G__28511__20; +G__28511.cljs$core$IFn$_invoke$arity$21 = G__28511__21; +G__28511.cljs$core$IFn$_invoke$arity$22 = G__28511__22; +return G__28511; +})() +; +cljs.core._invoke = (function cljs$core$_invoke(var_args){ +var G__26677 = arguments.length; +switch (G__26677) { +case 1: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +case 7: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$7((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)])); + +break; +case 8: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$8((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)])); + +break; +case 9: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$9((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)])); + +break; +case 10: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$10((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)])); + +break; +case 11: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$11((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)])); + +break; +case 12: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$12((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)])); + +break; +case 13: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$13((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)])); + +break; +case 14: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$14((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)])); + +break; +case 15: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$15((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)])); + +break; +case 16: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$16((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)])); + +break; +case 17: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$17((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)])); + +break; +case 18: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$18((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)])); + +break; +case 19: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$19((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)])); + +break; +case 20: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$20((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)])); + +break; +case 21: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$21((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)])); + +break; +case 22: +return cljs.core._invoke.cljs$core$IFn$_invoke$arity$22((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)]),(arguments[(21)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$1 = (function (this$){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$1 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$1(this$); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$2 = (function (this$,a){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$2 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$2(this$,a); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$3 = (function (this$,a,b){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$3 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$3(this$,a,b); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$4 = (function (this$,a,b,c){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$4 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$4(this$,a,b,c); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$5 = (function (this$,a,b,c,d){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$5 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$5(this$,a,b,c,d); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$6 = (function (this$,a,b,c,d,e){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$6 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$6(this$,a,b,c,d,e); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$7 = (function (this$,a,b,c,d,e,f){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$7 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$7(this$,a,b,c,d,e,f); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$8 = (function (this$,a,b,c,d,e,f,g){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$8 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$8(this$,a,b,c,d,e,f,g); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$9 = (function (this$,a,b,c,d,e,f,g,h){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$9 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$9(this$,a,b,c,d,e,f,g,h); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$10 = (function (this$,a,b,c,d,e,f,g,h,i){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$10 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$10(this$,a,b,c,d,e,f,g,h,i); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$11 = (function (this$,a,b,c,d,e,f,g,h,i,j){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$11 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$11(this$,a,b,c,d,e,f,g,h,i,j); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$12 = (function (this$,a,b,c,d,e,f,g,h,i,j,k){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$12 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$12(this$,a,b,c,d,e,f,g,h,i,j,k); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$13 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$13 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$13(this$,a,b,c,d,e,f,g,h,i,j,k,l); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$14 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$14 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$14(this$,a,b,c,d,e,f,g,h,i,j,k,l,m); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$15 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$15 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$15(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$16 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$16 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$16(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$17 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$17 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$17(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$18 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$18 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$18(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$19 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$19 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$19(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$20 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$20 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$20(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$21 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$21 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$21(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t); +} +})); + +(cljs.core._invoke.cljs$core$IFn$_invoke$arity$22 = (function (this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IFn$_invoke$arity$22 == null)))))){ +return this$.cljs$core$IFn$_invoke$arity$22(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest); +} else { +return cljs$core$IFn$_invoke$dyn_28510(this$,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest); +} +})); + +(cljs.core._invoke.cljs$lang$maxFixedArity = 22); + + + +/** + * Protocol for cloning a value. + * @interface + */ +cljs.core.ICloneable = function(){}; + +var cljs$core$ICloneable$_clone$dyn_28844 = (function (value){ +var x__5393__auto__ = (((value == null))?null:value); +var m__5394__auto__ = (cljs.core._clone[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(value) : m__5394__auto__.call(null, value)); +} else { +var m__5392__auto__ = (cljs.core._clone["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(value) : m__5392__auto__.call(null, value)); +} else { +throw cljs.core.missing_protocol("ICloneable.-clone",value); +} +} +}); +/** + * Creates a clone of value. + */ +cljs.core._clone = (function cljs$core$_clone(value){ +if((((!((value == null)))) && ((!((value.cljs$core$ICloneable$_clone$arity$1 == null)))))){ +return value.cljs$core$ICloneable$_clone$arity$1(value); +} else { +return cljs$core$ICloneable$_clone$dyn_28844(value); +} +}); + + +/** + * Protocol for adding the ability to count a collection in constant time. + * @interface + */ +cljs.core.ICounted = function(){}; + +var cljs$core$ICounted$_count$dyn_28850 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._count[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._count["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("ICounted.-count",coll); +} +} +}); +/** + * Calculates the count of coll in constant time. Used by cljs.core/count. + */ +cljs.core._count = (function cljs$core$_count(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ICounted$_count$arity$1 == null)))))){ +return coll.cljs$core$ICounted$_count$arity$1(coll); +} else { +return cljs$core$ICounted$_count$dyn_28850(coll); +} +}); + + +/** + * Protocol for creating an empty collection. + * @interface + */ +cljs.core.IEmptyableCollection = function(){}; + +var cljs$core$IEmptyableCollection$_empty$dyn_28863 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._empty[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._empty["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IEmptyableCollection.-empty",coll); +} +} +}); +/** + * Returns an empty collection of the same category as coll. Used + * by cljs.core/empty. + */ +cljs.core._empty = (function cljs$core$_empty(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IEmptyableCollection$_empty$arity$1 == null)))))){ +return coll.cljs$core$IEmptyableCollection$_empty$arity$1(coll); +} else { +return cljs$core$IEmptyableCollection$_empty$dyn_28863(coll); +} +}); + + +/** + * Protocol for adding to a collection. + * @interface + */ +cljs.core.ICollection = function(){}; + +var cljs$core$ICollection$_conj$dyn_28865 = (function (coll,o){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._conj[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,o) : m__5394__auto__.call(null, coll,o)); +} else { +var m__5392__auto__ = (cljs.core._conj["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,o) : m__5392__auto__.call(null, coll,o)); +} else { +throw cljs.core.missing_protocol("ICollection.-conj",coll); +} +} +}); +/** + * Returns a new collection of coll with o added to it. The new item + * should be added to the most efficient place, e.g. + * (conj [1 2 3 4] 5) => [1 2 3 4 5] + * (conj '(2 3 4 5) 1) => '(1 2 3 4 5) + */ +cljs.core._conj = (function cljs$core$_conj(coll,o){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ICollection$_conj$arity$2 == null)))))){ +return coll.cljs$core$ICollection$_conj$arity$2(coll,o); +} else { +return cljs$core$ICollection$_conj$dyn_28865(coll,o); +} +}); + + +/** + * Protocol for collections to provide indexed-based access to their items. + * @interface + */ +cljs.core.IIndexed = function(){}; + +var cljs$core$IIndexed$_nth$dyn_28872 = (function() { +var G__28873 = null; +var G__28873__2 = (function (coll,n){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._nth[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,n) : m__5394__auto__.call(null, coll,n)); +} else { +var m__5392__auto__ = (cljs.core._nth["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,n) : m__5392__auto__.call(null, coll,n)); +} else { +throw cljs.core.missing_protocol("IIndexed.-nth",coll); +} +} +}); +var G__28873__3 = (function (coll,n,not_found){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._nth[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__5394__auto__.call(null, coll,n,not_found)); +} else { +var m__5392__auto__ = (cljs.core._nth["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,not_found) : m__5392__auto__.call(null, coll,n,not_found)); +} else { +throw cljs.core.missing_protocol("IIndexed.-nth",coll); +} +} +}); +G__28873 = function(coll,n,not_found){ +switch(arguments.length){ +case 2: +return G__28873__2.call(this,coll,n); +case 3: +return G__28873__3.call(this,coll,n,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__28873.cljs$core$IFn$_invoke$arity$2 = G__28873__2; +G__28873.cljs$core$IFn$_invoke$arity$3 = G__28873__3; +return G__28873; +})() +; +/** + * Returns the value at the index n in the collection coll. + * Returns not-found if index n is out of bounds and not-found is supplied. + */ +cljs.core._nth = (function cljs$core$_nth(var_args){ +var G__26679 = arguments.length; +switch (G__26679) { +case 2: +return cljs.core._nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core._nth.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core._nth.cljs$core$IFn$_invoke$arity$2 = (function (coll,n){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IIndexed$_nth$arity$2 == null)))))){ +return coll.cljs$core$IIndexed$_nth$arity$2(coll,n); +} else { +return cljs$core$IIndexed$_nth$dyn_28872(coll,n); +} +})); + +(cljs.core._nth.cljs$core$IFn$_invoke$arity$3 = (function (coll,n,not_found){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IIndexed$_nth$arity$3 == null)))))){ +return coll.cljs$core$IIndexed$_nth$arity$3(coll,n,not_found); +} else { +return cljs$core$IIndexed$_nth$dyn_28872(coll,n,not_found); +} +})); + +(cljs.core._nth.cljs$lang$maxFixedArity = 3); + + + +/** + * Marker protocol indicating an array sequence. + * @interface + */ +cljs.core.ASeq = function(){}; + + +/** + * Protocol for collections to provide access to their items as sequences. + * @interface + */ +cljs.core.ISeq = function(){}; + +var cljs$core$ISeq$_first$dyn_28880 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._first[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._first["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("ISeq.-first",coll); +} +} +}); +/** + * Returns the first item in the collection coll. Used by cljs.core/first. + */ +cljs.core._first = (function cljs$core$_first(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ISeq$_first$arity$1 == null)))))){ +return coll.cljs$core$ISeq$_first$arity$1(coll); +} else { +return cljs$core$ISeq$_first$dyn_28880(coll); +} +}); + +var cljs$core$ISeq$_rest$dyn_28883 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._rest[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._rest["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("ISeq.-rest",coll); +} +} +}); +/** + * Returns a new collection of coll without the first item. It should + * always return a seq, e.g. + * (rest []) => () + * (rest nil) => () + */ +cljs.core._rest = (function cljs$core$_rest(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ISeq$_rest$arity$1 == null)))))){ +return coll.cljs$core$ISeq$_rest$arity$1(coll); +} else { +return cljs$core$ISeq$_rest$dyn_28883(coll); +} +}); + + +/** + * Protocol for accessing the next items of a collection. + * @interface + */ +cljs.core.INext = function(){}; + +var cljs$core$INext$_next$dyn_28884 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._next[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._next["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("INext.-next",coll); +} +} +}); +/** + * Returns a new collection of coll without the first item. In contrast to + * rest, it should return nil if there are no more items, e.g. + * (next []) => nil + * (next nil) => nil + */ +cljs.core._next = (function cljs$core$_next(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$INext$_next$arity$1 == null)))))){ +return coll.cljs$core$INext$_next$arity$1(coll); +} else { +return cljs$core$INext$_next$dyn_28884(coll); +} +}); + + +/** + * Protocol for looking up a value in a data structure. + * @interface + */ +cljs.core.ILookup = function(){}; + +var cljs$core$ILookup$_lookup$dyn_28889 = (function() { +var G__28890 = null; +var G__28890__2 = (function (o,k){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._lookup[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(o,k) : m__5394__auto__.call(null, o,k)); +} else { +var m__5392__auto__ = (cljs.core._lookup["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(o,k) : m__5392__auto__.call(null, o,k)); +} else { +throw cljs.core.missing_protocol("ILookup.-lookup",o); +} +} +}); +var G__28890__3 = (function (o,k,not_found){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._lookup[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__5394__auto__.call(null, o,k,not_found)); +} else { +var m__5392__auto__ = (cljs.core._lookup["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(o,k,not_found) : m__5392__auto__.call(null, o,k,not_found)); +} else { +throw cljs.core.missing_protocol("ILookup.-lookup",o); +} +} +}); +G__28890 = function(o,k,not_found){ +switch(arguments.length){ +case 2: +return G__28890__2.call(this,o,k); +case 3: +return G__28890__3.call(this,o,k,not_found); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__28890.cljs$core$IFn$_invoke$arity$2 = G__28890__2; +G__28890.cljs$core$IFn$_invoke$arity$3 = G__28890__3; +return G__28890; +})() +; +/** + * Use k to look up a value in o. If not-found is supplied and k is not + * a valid value that can be used for look up, not-found is returned. + */ +cljs.core._lookup = (function cljs$core$_lookup(var_args){ +var G__26681 = arguments.length; +switch (G__26681) { +case 2: +return cljs.core._lookup.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core._lookup.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core._lookup.cljs$core$IFn$_invoke$arity$2 = (function (o,k){ +if((((!((o == null)))) && ((!((o.cljs$core$ILookup$_lookup$arity$2 == null)))))){ +return o.cljs$core$ILookup$_lookup$arity$2(o,k); +} else { +return cljs$core$ILookup$_lookup$dyn_28889(o,k); +} +})); + +(cljs.core._lookup.cljs$core$IFn$_invoke$arity$3 = (function (o,k,not_found){ +if((((!((o == null)))) && ((!((o.cljs$core$ILookup$_lookup$arity$3 == null)))))){ +return o.cljs$core$ILookup$_lookup$arity$3(o,k,not_found); +} else { +return cljs$core$ILookup$_lookup$dyn_28889(o,k,not_found); +} +})); + +(cljs.core._lookup.cljs$lang$maxFixedArity = 3); + + + +/** + * Protocol for adding associativity to collections. + * @interface + */ +cljs.core.IAssociative = function(){}; + +var cljs$core$IAssociative$_contains_key_QMARK_$dyn_28909 = (function (coll,k){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._contains_key_QMARK_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__5394__auto__.call(null, coll,k)); +} else { +var m__5392__auto__ = (cljs.core._contains_key_QMARK_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__5392__auto__.call(null, coll,k)); +} else { +throw cljs.core.missing_protocol("IAssociative.-contains-key?",coll); +} +} +}); +/** + * Returns true if k is a key in coll. + */ +cljs.core._contains_key_QMARK_ = (function cljs$core$_contains_key_QMARK_(coll,k){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 == null)))))){ +return coll.cljs$core$IAssociative$_contains_key_QMARK_$arity$2(coll,k); +} else { +return cljs$core$IAssociative$_contains_key_QMARK_$dyn_28909(coll,k); +} +}); + +var cljs$core$IAssociative$_assoc$dyn_28916 = (function (coll,k,v){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._assoc[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__5394__auto__.call(null, coll,k,v)); +} else { +var m__5392__auto__ = (cljs.core._assoc["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__5392__auto__.call(null, coll,k,v)); +} else { +throw cljs.core.missing_protocol("IAssociative.-assoc",coll); +} +} +}); +/** + * Returns a new collection of coll with a mapping from key k to + * value v added to it. + */ +cljs.core._assoc = (function cljs$core$_assoc(coll,k,v){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IAssociative$_assoc$arity$3 == null)))))){ +return coll.cljs$core$IAssociative$_assoc$arity$3(coll,k,v); +} else { +return cljs$core$IAssociative$_assoc$dyn_28916(coll,k,v); +} +}); + + +/** + * Protocol for implementing entry finding in collections. + * @interface + */ +cljs.core.IFind = function(){}; + +var cljs$core$IFind$_find$dyn_28921 = (function (coll,k){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._find[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__5394__auto__.call(null, coll,k)); +} else { +var m__5392__auto__ = (cljs.core._find["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__5392__auto__.call(null, coll,k)); +} else { +throw cljs.core.missing_protocol("IFind.-find",coll); +} +} +}); +/** + * Returns the map entry for key, or nil if key not present. + */ +cljs.core._find = (function cljs$core$_find(coll,k){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IFind$_find$arity$2 == null)))))){ +return coll.cljs$core$IFind$_find$arity$2(coll,k); +} else { +return cljs$core$IFind$_find$dyn_28921(coll,k); +} +}); + + +/** + * Protocol for adding mapping functionality to collections. + * @interface + */ +cljs.core.IMap = function(){}; + +var cljs$core$IMap$_dissoc$dyn_28922 = (function (coll,k){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._dissoc[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__5394__auto__.call(null, coll,k)); +} else { +var m__5392__auto__ = (cljs.core._dissoc["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,k) : m__5392__auto__.call(null, coll,k)); +} else { +throw cljs.core.missing_protocol("IMap.-dissoc",coll); +} +} +}); +/** + * Returns a new collection of coll without the mapping for key k. + */ +cljs.core._dissoc = (function cljs$core$_dissoc(coll,k){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IMap$_dissoc$arity$2 == null)))))){ +return coll.cljs$core$IMap$_dissoc$arity$2(coll,k); +} else { +return cljs$core$IMap$_dissoc$dyn_28922(coll,k); +} +}); + + +/** + * Protocol for examining a map entry. + * @interface + */ +cljs.core.IMapEntry = function(){}; + +var cljs$core$IMapEntry$_key$dyn_28925 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._key[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._key["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IMapEntry.-key",coll); +} +} +}); +/** + * Returns the key of the map entry. + */ +cljs.core._key = (function cljs$core$_key(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IMapEntry$_key$arity$1 == null)))))){ +return coll.cljs$core$IMapEntry$_key$arity$1(coll); +} else { +return cljs$core$IMapEntry$_key$dyn_28925(coll); +} +}); + +var cljs$core$IMapEntry$_val$dyn_28926 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._val[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._val["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IMapEntry.-val",coll); +} +} +}); +/** + * Returns the value of the map entry. + */ +cljs.core._val = (function cljs$core$_val(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IMapEntry$_val$arity$1 == null)))))){ +return coll.cljs$core$IMapEntry$_val$arity$1(coll); +} else { +return cljs$core$IMapEntry$_val$dyn_28926(coll); +} +}); + + +/** + * Protocol for adding set functionality to a collection. + * @interface + */ +cljs.core.ISet = function(){}; + +var cljs$core$ISet$_disjoin$dyn_28927 = (function (coll,v){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._disjoin[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,v) : m__5394__auto__.call(null, coll,v)); +} else { +var m__5392__auto__ = (cljs.core._disjoin["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,v) : m__5392__auto__.call(null, coll,v)); +} else { +throw cljs.core.missing_protocol("ISet.-disjoin",coll); +} +} +}); +/** + * Returns a new collection of coll that does not contain v. + */ +cljs.core._disjoin = (function cljs$core$_disjoin(coll,v){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ISet$_disjoin$arity$2 == null)))))){ +return coll.cljs$core$ISet$_disjoin$arity$2(coll,v); +} else { +return cljs$core$ISet$_disjoin$dyn_28927(coll,v); +} +}); + + +/** + * Protocol for collections to provide access to their items as stacks. The top + * of the stack should be accessed in the most efficient way for the different + * data structures. + * @interface + */ +cljs.core.IStack = function(){}; + +var cljs$core$IStack$_peek$dyn_28928 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._peek[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._peek["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IStack.-peek",coll); +} +} +}); +/** + * Returns the item from the top of the stack. Is used by cljs.core/peek. + */ +cljs.core._peek = (function cljs$core$_peek(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IStack$_peek$arity$1 == null)))))){ +return coll.cljs$core$IStack$_peek$arity$1(coll); +} else { +return cljs$core$IStack$_peek$dyn_28928(coll); +} +}); + +var cljs$core$IStack$_pop$dyn_28929 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._pop[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._pop["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IStack.-pop",coll); +} +} +}); +/** + * Returns a new stack without the item on top of the stack. Is used + * by cljs.core/pop. + */ +cljs.core._pop = (function cljs$core$_pop(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IStack$_pop$arity$1 == null)))))){ +return coll.cljs$core$IStack$_pop$arity$1(coll); +} else { +return cljs$core$IStack$_pop$dyn_28929(coll); +} +}); + + +/** + * Protocol for adding vector functionality to collections. + * @interface + */ +cljs.core.IVector = function(){}; + +var cljs$core$IVector$_assoc_n$dyn_28930 = (function (coll,n,val){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._assoc_n[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__5394__auto__.call(null, coll,n,val)); +} else { +var m__5392__auto__ = (cljs.core._assoc_n["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(coll,n,val) : m__5392__auto__.call(null, coll,n,val)); +} else { +throw cljs.core.missing_protocol("IVector.-assoc-n",coll); +} +} +}); +/** + * Returns a new vector with value val added at position n. + */ +cljs.core._assoc_n = (function cljs$core$_assoc_n(coll,n,val){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IVector$_assoc_n$arity$3 == null)))))){ +return coll.cljs$core$IVector$_assoc_n$arity$3(coll,n,val); +} else { +return cljs$core$IVector$_assoc_n$dyn_28930(coll,n,val); +} +}); + + +/** + * Protocol for adding dereference functionality to a reference. + * @interface + */ +cljs.core.IDeref = function(){}; + +var cljs$core$IDeref$_deref$dyn_28935 = (function (o){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._deref[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5394__auto__.call(null, o)); +} else { +var m__5392__auto__ = (cljs.core._deref["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5392__auto__.call(null, o)); +} else { +throw cljs.core.missing_protocol("IDeref.-deref",o); +} +} +}); +/** + * Returns the value of the reference o. + */ +cljs.core._deref = (function cljs$core$_deref(o){ +if((((!((o == null)))) && ((!((o.cljs$core$IDeref$_deref$arity$1 == null)))))){ +return o.cljs$core$IDeref$_deref$arity$1(o); +} else { +return cljs$core$IDeref$_deref$dyn_28935(o); +} +}); + + +/** + * @interface + */ +cljs.core.IDerefWithTimeout = function(){}; + +var cljs$core$IDerefWithTimeout$_deref_with_timeout$dyn_28937 = (function (o,msec,timeout_val){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._deref_with_timeout[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__5394__auto__.call(null, o,msec,timeout_val)); +} else { +var m__5392__auto__ = (cljs.core._deref_with_timeout["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(o,msec,timeout_val) : m__5392__auto__.call(null, o,msec,timeout_val)); +} else { +throw cljs.core.missing_protocol("IDerefWithTimeout.-deref-with-timeout",o); +} +} +}); +cljs.core._deref_with_timeout = (function cljs$core$_deref_with_timeout(o,msec,timeout_val){ +if((((!((o == null)))) && ((!((o.cljs$core$IDerefWithTimeout$_deref_with_timeout$arity$3 == null)))))){ +return o.cljs$core$IDerefWithTimeout$_deref_with_timeout$arity$3(o,msec,timeout_val); +} else { +return cljs$core$IDerefWithTimeout$_deref_with_timeout$dyn_28937(o,msec,timeout_val); +} +}); + + +/** + * Protocol for accessing the metadata of an object. + * @interface + */ +cljs.core.IMeta = function(){}; + +var cljs$core$IMeta$_meta$dyn_28941 = (function (o){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._meta[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5394__auto__.call(null, o)); +} else { +var m__5392__auto__ = (cljs.core._meta["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5392__auto__.call(null, o)); +} else { +throw cljs.core.missing_protocol("IMeta.-meta",o); +} +} +}); +/** + * Returns the metadata of object o. + */ +cljs.core._meta = (function cljs$core$_meta(o){ +if((((!((o == null)))) && ((!((o.cljs$core$IMeta$_meta$arity$1 == null)))))){ +return o.cljs$core$IMeta$_meta$arity$1(o); +} else { +return cljs$core$IMeta$_meta$dyn_28941(o); +} +}); + + +/** + * Protocol for adding metadata to an object. + * @interface + */ +cljs.core.IWithMeta = function(){}; + +var cljs$core$IWithMeta$_with_meta$dyn_28944 = (function (o,meta){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._with_meta[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(o,meta) : m__5394__auto__.call(null, o,meta)); +} else { +var m__5392__auto__ = (cljs.core._with_meta["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(o,meta) : m__5392__auto__.call(null, o,meta)); +} else { +throw cljs.core.missing_protocol("IWithMeta.-with-meta",o); +} +} +}); +/** + * Returns a new object with value of o and metadata meta added to it. + */ +cljs.core._with_meta = (function cljs$core$_with_meta(o,meta){ +if((((!((o == null)))) && ((!((o.cljs$core$IWithMeta$_with_meta$arity$2 == null)))))){ +return o.cljs$core$IWithMeta$_with_meta$arity$2(o,meta); +} else { +return cljs$core$IWithMeta$_with_meta$dyn_28944(o,meta); +} +}); + + +/** + * Protocol for seq types that can reduce themselves. + * Called by cljs.core/reduce. + * @interface + */ +cljs.core.IReduce = function(){}; + +var cljs$core$IReduce$_reduce$dyn_28956 = (function() { +var G__28957 = null; +var G__28957__2 = (function (coll,f){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._reduce[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,f) : m__5394__auto__.call(null, coll,f)); +} else { +var m__5392__auto__ = (cljs.core._reduce["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,f) : m__5392__auto__.call(null, coll,f)); +} else { +throw cljs.core.missing_protocol("IReduce.-reduce",coll); +} +} +}); +var G__28957__3 = (function (coll,f,start){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._reduce[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__5394__auto__.call(null, coll,f,start)); +} else { +var m__5392__auto__ = (cljs.core._reduce["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,start) : m__5392__auto__.call(null, coll,f,start)); +} else { +throw cljs.core.missing_protocol("IReduce.-reduce",coll); +} +} +}); +G__28957 = function(coll,f,start){ +switch(arguments.length){ +case 2: +return G__28957__2.call(this,coll,f); +case 3: +return G__28957__3.call(this,coll,f,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__28957.cljs$core$IFn$_invoke$arity$2 = G__28957__2; +G__28957.cljs$core$IFn$_invoke$arity$3 = G__28957__3; +return G__28957; +})() +; +/** + * f should be a function of 2 arguments. If start is not supplied, + * returns the result of applying f to the first 2 items in coll, then + * applying f to that result and the 3rd item, etc. + */ +cljs.core._reduce = (function cljs$core$_reduce(var_args){ +var G__26683 = arguments.length; +switch (G__26683) { +case 2: +return cljs.core._reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core._reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core._reduce.cljs$core$IFn$_invoke$arity$2 = (function (coll,f){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IReduce$_reduce$arity$2 == null)))))){ +return coll.cljs$core$IReduce$_reduce$arity$2(coll,f); +} else { +return cljs$core$IReduce$_reduce$dyn_28956(coll,f); +} +})); + +(cljs.core._reduce.cljs$core$IFn$_invoke$arity$3 = (function (coll,f,start){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IReduce$_reduce$arity$3 == null)))))){ +return coll.cljs$core$IReduce$_reduce$arity$3(coll,f,start); +} else { +return cljs$core$IReduce$_reduce$dyn_28956(coll,f,start); +} +})); + +(cljs.core._reduce.cljs$lang$maxFixedArity = 3); + + + +/** + * Protocol for associative types that can reduce themselves + * via a function of key and val. Called by cljs.core/reduce-kv. + * @interface + */ +cljs.core.IKVReduce = function(){}; + +var cljs$core$IKVReduce$_kv_reduce$dyn_28964 = (function (coll,f,init){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._kv_reduce[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__5394__auto__.call(null, coll,f,init)); +} else { +var m__5392__auto__ = (cljs.core._kv_reduce["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(coll,f,init) : m__5392__auto__.call(null, coll,f,init)); +} else { +throw cljs.core.missing_protocol("IKVReduce.-kv-reduce",coll); +} +} +}); +/** + * Reduces an associative collection and returns the result. f should be + * a function that takes three arguments. + */ +cljs.core._kv_reduce = (function cljs$core$_kv_reduce(coll,f,init){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IKVReduce$_kv_reduce$arity$3 == null)))))){ +return coll.cljs$core$IKVReduce$_kv_reduce$arity$3(coll,f,init); +} else { +return cljs$core$IKVReduce$_kv_reduce$dyn_28964(coll,f,init); +} +}); + + +/** + * Protocol for adding value comparison functionality to a type. + * @interface + */ +cljs.core.IEquiv = function(){}; + +var cljs$core$IEquiv$_equiv$dyn_28967 = (function (o,other){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._equiv[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(o,other) : m__5394__auto__.call(null, o,other)); +} else { +var m__5392__auto__ = (cljs.core._equiv["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(o,other) : m__5392__auto__.call(null, o,other)); +} else { +throw cljs.core.missing_protocol("IEquiv.-equiv",o); +} +} +}); +/** + * Returns true if o and other are equal, false otherwise. + */ +cljs.core._equiv = (function cljs$core$_equiv(o,other){ +if((((!((o == null)))) && ((!((o.cljs$core$IEquiv$_equiv$arity$2 == null)))))){ +return o.cljs$core$IEquiv$_equiv$arity$2(o,other); +} else { +return cljs$core$IEquiv$_equiv$dyn_28967(o,other); +} +}); + + +/** + * Protocol for adding hashing functionality to a type. + * @interface + */ +cljs.core.IHash = function(){}; + +var cljs$core$IHash$_hash$dyn_28968 = (function (o){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._hash[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5394__auto__.call(null, o)); +} else { +var m__5392__auto__ = (cljs.core._hash["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5392__auto__.call(null, o)); +} else { +throw cljs.core.missing_protocol("IHash.-hash",o); +} +} +}); +/** + * Returns the hash code of o. + */ +cljs.core._hash = (function cljs$core$_hash(o){ +if((((!((o == null)))) && ((!((o.cljs$core$IHash$_hash$arity$1 == null)))))){ +return o.cljs$core$IHash$_hash$arity$1(o); +} else { +return cljs$core$IHash$_hash$dyn_28968(o); +} +}); + + +/** + * Protocol for adding the ability to a type to be transformed into a sequence. + * @interface + */ +cljs.core.ISeqable = function(){}; + +var cljs$core$ISeqable$_seq$dyn_28971 = (function (o){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._seq[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5394__auto__.call(null, o)); +} else { +var m__5392__auto__ = (cljs.core._seq["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5392__auto__.call(null, o)); +} else { +throw cljs.core.missing_protocol("ISeqable.-seq",o); +} +} +}); +/** + * Returns a seq of o, or nil if o is empty. + */ +cljs.core._seq = (function cljs$core$_seq(o){ +if((((!((o == null)))) && ((!((o.cljs$core$ISeqable$_seq$arity$1 == null)))))){ +return o.cljs$core$ISeqable$_seq$arity$1(o); +} else { +return cljs$core$ISeqable$_seq$dyn_28971(o); +} +}); + + +/** + * Marker interface indicating a persistent collection of sequential items + * @interface + */ +cljs.core.ISequential = function(){}; + + +/** + * Marker interface indicating a persistent list + * @interface + */ +cljs.core.IList = function(){}; + + +/** + * Marker interface indicating a record object + * @interface + */ +cljs.core.IRecord = function(){}; + + +/** + * Protocol for reversing a seq. + * @interface + */ +cljs.core.IReversible = function(){}; + +var cljs$core$IReversible$_rseq$dyn_28980 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._rseq[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._rseq["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IReversible.-rseq",coll); +} +} +}); +/** + * Returns a seq of the items in coll in reversed order. + */ +cljs.core._rseq = (function cljs$core$_rseq(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IReversible$_rseq$arity$1 == null)))))){ +return coll.cljs$core$IReversible$_rseq$arity$1(coll); +} else { +return cljs$core$IReversible$_rseq$dyn_28980(coll); +} +}); + + +/** + * Protocol for a collection which can represent their items + * in a sorted manner. + * @interface + */ +cljs.core.ISorted = function(){}; + +var cljs$core$ISorted$_sorted_seq$dyn_28990 = (function (coll,ascending_QMARK_){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._sorted_seq[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__5394__auto__.call(null, coll,ascending_QMARK_)); +} else { +var m__5392__auto__ = (cljs.core._sorted_seq["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,ascending_QMARK_) : m__5392__auto__.call(null, coll,ascending_QMARK_)); +} else { +throw cljs.core.missing_protocol("ISorted.-sorted-seq",coll); +} +} +}); +/** + * Returns a sorted seq from coll in either ascending or descending order. + */ +cljs.core._sorted_seq = (function cljs$core$_sorted_seq(coll,ascending_QMARK_){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_sorted_seq$arity$2 == null)))))){ +return coll.cljs$core$ISorted$_sorted_seq$arity$2(coll,ascending_QMARK_); +} else { +return cljs$core$ISorted$_sorted_seq$dyn_28990(coll,ascending_QMARK_); +} +}); + +var cljs$core$ISorted$_sorted_seq_from$dyn_28996 = (function (coll,k,ascending_QMARK_){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._sorted_seq_from[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__5394__auto__.call(null, coll,k,ascending_QMARK_)); +} else { +var m__5392__auto__ = (cljs.core._sorted_seq_from["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,ascending_QMARK_) : m__5392__auto__.call(null, coll,k,ascending_QMARK_)); +} else { +throw cljs.core.missing_protocol("ISorted.-sorted-seq-from",coll); +} +} +}); +/** + * Returns a sorted seq from coll in either ascending or descending order. + * If ascending is true, the result should contain all items which are > or >= + * than k. If ascending is false, the result should contain all items which + * are < or <= than k, e.g. + * (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 true) => (3 4 5) + * (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 false) => (3 2 1) + */ +cljs.core._sorted_seq_from = (function cljs$core$_sorted_seq_from(coll,k,ascending_QMARK_){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_sorted_seq_from$arity$3 == null)))))){ +return coll.cljs$core$ISorted$_sorted_seq_from$arity$3(coll,k,ascending_QMARK_); +} else { +return cljs$core$ISorted$_sorted_seq_from$dyn_28996(coll,k,ascending_QMARK_); +} +}); + +var cljs$core$ISorted$_entry_key$dyn_29006 = (function (coll,entry){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._entry_key[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__5394__auto__.call(null, coll,entry)); +} else { +var m__5392__auto__ = (cljs.core._entry_key["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(coll,entry) : m__5392__auto__.call(null, coll,entry)); +} else { +throw cljs.core.missing_protocol("ISorted.-entry-key",coll); +} +} +}); +/** + * Returns the key for entry. + */ +cljs.core._entry_key = (function cljs$core$_entry_key(coll,entry){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_entry_key$arity$2 == null)))))){ +return coll.cljs$core$ISorted$_entry_key$arity$2(coll,entry); +} else { +return cljs$core$ISorted$_entry_key$dyn_29006(coll,entry); +} +}); + +var cljs$core$ISorted$_comparator$dyn_29011 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._comparator[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._comparator["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("ISorted.-comparator",coll); +} +} +}); +/** + * Returns the comparator for coll. + */ +cljs.core._comparator = (function cljs$core$_comparator(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$ISorted$_comparator$arity$1 == null)))))){ +return coll.cljs$core$ISorted$_comparator$arity$1(coll); +} else { +return cljs$core$ISorted$_comparator$dyn_29011(coll); +} +}); + + +/** + * Protocol for writing. Currently only implemented by StringBufferWriter. + * @interface + */ +cljs.core.IWriter = function(){}; + +var cljs$core$IWriter$_write$dyn_29019 = (function (writer,s){ +var x__5393__auto__ = (((writer == null))?null:writer); +var m__5394__auto__ = (cljs.core._write[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(writer,s) : m__5394__auto__.call(null, writer,s)); +} else { +var m__5392__auto__ = (cljs.core._write["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(writer,s) : m__5392__auto__.call(null, writer,s)); +} else { +throw cljs.core.missing_protocol("IWriter.-write",writer); +} +} +}); +/** + * Writes s with writer and returns the result. + */ +cljs.core._write = (function cljs$core$_write(writer,s){ +if((((!((writer == null)))) && ((!((writer.cljs$core$IWriter$_write$arity$2 == null)))))){ +return writer.cljs$core$IWriter$_write$arity$2(writer,s); +} else { +return cljs$core$IWriter$_write$dyn_29019(writer,s); +} +}); + +var cljs$core$IWriter$_flush$dyn_29021 = (function (writer){ +var x__5393__auto__ = (((writer == null))?null:writer); +var m__5394__auto__ = (cljs.core._flush[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(writer) : m__5394__auto__.call(null, writer)); +} else { +var m__5392__auto__ = (cljs.core._flush["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(writer) : m__5392__auto__.call(null, writer)); +} else { +throw cljs.core.missing_protocol("IWriter.-flush",writer); +} +} +}); +/** + * Flush writer. + */ +cljs.core._flush = (function cljs$core$_flush(writer){ +if((((!((writer == null)))) && ((!((writer.cljs$core$IWriter$_flush$arity$1 == null)))))){ +return writer.cljs$core$IWriter$_flush$arity$1(writer); +} else { +return cljs$core$IWriter$_flush$dyn_29021(writer); +} +}); + + +/** + * The old IPrintable protocol's implementation consisted of building a giant + * list of strings to concatenate. This involved lots of concat calls, + * intermediate vectors, and lazy-seqs, and was very slow in some older JS + * engines. IPrintWithWriter implements printing via the IWriter protocol, so it + * be implemented efficiently in terms of e.g. a StringBuffer append. + * @interface + */ +cljs.core.IPrintWithWriter = function(){}; + +var cljs$core$IPrintWithWriter$_pr_writer$dyn_29024 = (function (o,writer,opts){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._pr_writer[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__5394__auto__.call(null, o,writer,opts)); +} else { +var m__5392__auto__ = (cljs.core._pr_writer["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(o,writer,opts) : m__5392__auto__.call(null, o,writer,opts)); +} else { +throw cljs.core.missing_protocol("IPrintWithWriter.-pr-writer",o); +} +} +}); +cljs.core._pr_writer = (function cljs$core$_pr_writer(o,writer,opts){ +if((((!((o == null)))) && ((!((o.cljs$core$IPrintWithWriter$_pr_writer$arity$3 == null)))))){ +return o.cljs$core$IPrintWithWriter$_pr_writer$arity$3(o,writer,opts); +} else { +return cljs$core$IPrintWithWriter$_pr_writer$dyn_29024(o,writer,opts); +} +}); + + +/** + * Protocol for types which can have a deferred realization. Currently only + * implemented by Delay and LazySeq. + * @interface + */ +cljs.core.IPending = function(){}; + +var cljs$core$IPending$_realized_QMARK_$dyn_29027 = (function (x){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (cljs.core._realized_QMARK_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5394__auto__.call(null, x)); +} else { +var m__5392__auto__ = (cljs.core._realized_QMARK_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5392__auto__.call(null, x)); +} else { +throw cljs.core.missing_protocol("IPending.-realized?",x); +} +} +}); +/** + * Returns true if a value for x has been produced, false otherwise. + */ +cljs.core._realized_QMARK_ = (function cljs$core$_realized_QMARK_(x){ +if((((!((x == null)))) && ((!((x.cljs$core$IPending$_realized_QMARK_$arity$1 == null)))))){ +return x.cljs$core$IPending$_realized_QMARK_$arity$1(x); +} else { +return cljs$core$IPending$_realized_QMARK_$dyn_29027(x); +} +}); + + +/** + * Protocol for types that can be watched. Currently only implemented by Atom. + * @interface + */ +cljs.core.IWatchable = function(){}; + +var cljs$core$IWatchable$_notify_watches$dyn_29038 = (function (this$,oldval,newval){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._notify_watches[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__5394__auto__.call(null, this$,oldval,newval)); +} else { +var m__5392__auto__ = (cljs.core._notify_watches["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(this$,oldval,newval) : m__5392__auto__.call(null, this$,oldval,newval)); +} else { +throw cljs.core.missing_protocol("IWatchable.-notify-watches",this$); +} +} +}); +/** + * Calls all watchers with this, oldval and newval. + */ +cljs.core._notify_watches = (function cljs$core$_notify_watches(this$,oldval,newval){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IWatchable$_notify_watches$arity$3 == null)))))){ +return this$.cljs$core$IWatchable$_notify_watches$arity$3(this$,oldval,newval); +} else { +return cljs$core$IWatchable$_notify_watches$dyn_29038(this$,oldval,newval); +} +}); + +var cljs$core$IWatchable$_add_watch$dyn_29048 = (function (this$,key,f){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._add_watch[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__5394__auto__.call(null, this$,key,f)); +} else { +var m__5392__auto__ = (cljs.core._add_watch["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(this$,key,f) : m__5392__auto__.call(null, this$,key,f)); +} else { +throw cljs.core.missing_protocol("IWatchable.-add-watch",this$); +} +} +}); +/** + * Adds a watcher function f to this. Keys must be unique per reference, + * and can be used to remove the watch with -remove-watch. + */ +cljs.core._add_watch = (function cljs$core$_add_watch(this$,key,f){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IWatchable$_add_watch$arity$3 == null)))))){ +return this$.cljs$core$IWatchable$_add_watch$arity$3(this$,key,f); +} else { +return cljs$core$IWatchable$_add_watch$dyn_29048(this$,key,f); +} +}); + +var cljs$core$IWatchable$_remove_watch$dyn_29053 = (function (this$,key){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (cljs.core._remove_watch[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(this$,key) : m__5394__auto__.call(null, this$,key)); +} else { +var m__5392__auto__ = (cljs.core._remove_watch["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(this$,key) : m__5392__auto__.call(null, this$,key)); +} else { +throw cljs.core.missing_protocol("IWatchable.-remove-watch",this$); +} +} +}); +/** + * Removes watcher that corresponds to key from this. + */ +cljs.core._remove_watch = (function cljs$core$_remove_watch(this$,key){ +if((((!((this$ == null)))) && ((!((this$.cljs$core$IWatchable$_remove_watch$arity$2 == null)))))){ +return this$.cljs$core$IWatchable$_remove_watch$arity$2(this$,key); +} else { +return cljs$core$IWatchable$_remove_watch$dyn_29053(this$,key); +} +}); + + +/** + * Protocol for collections which can transformed to transients. + * @interface + */ +cljs.core.IEditableCollection = function(){}; + +var cljs$core$IEditableCollection$_as_transient$dyn_29056 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._as_transient[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._as_transient["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IEditableCollection.-as-transient",coll); +} +} +}); +/** + * Returns a new, transient version of the collection, in constant time. + */ +cljs.core._as_transient = (function cljs$core$_as_transient(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IEditableCollection$_as_transient$arity$1 == null)))))){ +return coll.cljs$core$IEditableCollection$_as_transient$arity$1(coll); +} else { +return cljs$core$IEditableCollection$_as_transient$dyn_29056(coll); +} +}); + + +/** + * Protocol for adding basic functionality to transient collections. + * @interface + */ +cljs.core.ITransientCollection = function(){}; + +var cljs$core$ITransientCollection$_conj_BANG_$dyn_29065 = (function (tcoll,val){ +var x__5393__auto__ = (((tcoll == null))?null:tcoll); +var m__5394__auto__ = (cljs.core._conj_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__5394__auto__.call(null, tcoll,val)); +} else { +var m__5392__auto__ = (cljs.core._conj_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,val) : m__5392__auto__.call(null, tcoll,val)); +} else { +throw cljs.core.missing_protocol("ITransientCollection.-conj!",tcoll); +} +} +}); +/** + * Adds value val to tcoll and returns tcoll. + */ +cljs.core._conj_BANG_ = (function cljs$core$_conj_BANG_(tcoll,val){ +if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientCollection$_conj_BANG_$arity$2 == null)))))){ +return tcoll.cljs$core$ITransientCollection$_conj_BANG_$arity$2(tcoll,val); +} else { +return cljs$core$ITransientCollection$_conj_BANG_$dyn_29065(tcoll,val); +} +}); + +var cljs$core$ITransientCollection$_persistent_BANG_$dyn_29073 = (function (tcoll){ +var x__5393__auto__ = (((tcoll == null))?null:tcoll); +var m__5394__auto__ = (cljs.core._persistent_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__5394__auto__.call(null, tcoll)); +} else { +var m__5392__auto__ = (cljs.core._persistent_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__5392__auto__.call(null, tcoll)); +} else { +throw cljs.core.missing_protocol("ITransientCollection.-persistent!",tcoll); +} +} +}); +/** + * Creates a persistent data structure from tcoll and returns it. + */ +cljs.core._persistent_BANG_ = (function cljs$core$_persistent_BANG_(tcoll){ +if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 == null)))))){ +return tcoll.cljs$core$ITransientCollection$_persistent_BANG_$arity$1(tcoll); +} else { +return cljs$core$ITransientCollection$_persistent_BANG_$dyn_29073(tcoll); +} +}); + + +/** + * Protocol for adding associativity to transient collections. + * @interface + */ +cljs.core.ITransientAssociative = function(){}; + +var cljs$core$ITransientAssociative$_assoc_BANG_$dyn_29076 = (function (tcoll,key,val){ +var x__5393__auto__ = (((tcoll == null))?null:tcoll); +var m__5394__auto__ = (cljs.core._assoc_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__5394__auto__.call(null, tcoll,key,val)); +} else { +var m__5392__auto__ = (cljs.core._assoc_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,key,val) : m__5392__auto__.call(null, tcoll,key,val)); +} else { +throw cljs.core.missing_protocol("ITransientAssociative.-assoc!",tcoll); +} +} +}); +/** + * Returns a new transient collection of tcoll with a mapping from key to + * val added to it. + */ +cljs.core._assoc_BANG_ = (function cljs$core$_assoc_BANG_(tcoll,key,val){ +if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 == null)))))){ +return tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(tcoll,key,val); +} else { +return cljs$core$ITransientAssociative$_assoc_BANG_$dyn_29076(tcoll,key,val); +} +}); + + +/** + * Protocol for adding mapping functionality to transient collections. + * @interface + */ +cljs.core.ITransientMap = function(){}; + +var cljs$core$ITransientMap$_dissoc_BANG_$dyn_29079 = (function (tcoll,key){ +var x__5393__auto__ = (((tcoll == null))?null:tcoll); +var m__5394__auto__ = (cljs.core._dissoc_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__5394__auto__.call(null, tcoll,key)); +} else { +var m__5392__auto__ = (cljs.core._dissoc_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,key) : m__5392__auto__.call(null, tcoll,key)); +} else { +throw cljs.core.missing_protocol("ITransientMap.-dissoc!",tcoll); +} +} +}); +/** + * Returns a new transient collection of tcoll without the mapping for key. + */ +cljs.core._dissoc_BANG_ = (function cljs$core$_dissoc_BANG_(tcoll,key){ +if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 == null)))))){ +return tcoll.cljs$core$ITransientMap$_dissoc_BANG_$arity$2(tcoll,key); +} else { +return cljs$core$ITransientMap$_dissoc_BANG_$dyn_29079(tcoll,key); +} +}); + + +/** + * Protocol for adding vector functionality to transient collections. + * @interface + */ +cljs.core.ITransientVector = function(){}; + +var cljs$core$ITransientVector$_assoc_n_BANG_$dyn_29088 = (function (tcoll,n,val){ +var x__5393__auto__ = (((tcoll == null))?null:tcoll); +var m__5394__auto__ = (cljs.core._assoc_n_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__5394__auto__.call(null, tcoll,n,val)); +} else { +var m__5392__auto__ = (cljs.core._assoc_n_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(tcoll,n,val) : m__5392__auto__.call(null, tcoll,n,val)); +} else { +throw cljs.core.missing_protocol("ITransientVector.-assoc-n!",tcoll); +} +} +}); +/** + * Returns tcoll with value val added at position n. + */ +cljs.core._assoc_n_BANG_ = (function cljs$core$_assoc_n_BANG_(tcoll,n,val){ +if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3 == null)))))){ +return tcoll.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3(tcoll,n,val); +} else { +return cljs$core$ITransientVector$_assoc_n_BANG_$dyn_29088(tcoll,n,val); +} +}); + +var cljs$core$ITransientVector$_pop_BANG_$dyn_29091 = (function (tcoll){ +var x__5393__auto__ = (((tcoll == null))?null:tcoll); +var m__5394__auto__ = (cljs.core._pop_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__5394__auto__.call(null, tcoll)); +} else { +var m__5392__auto__ = (cljs.core._pop_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(tcoll) : m__5392__auto__.call(null, tcoll)); +} else { +throw cljs.core.missing_protocol("ITransientVector.-pop!",tcoll); +} +} +}); +/** + * Returns tcoll with the last item removed from it. + */ +cljs.core._pop_BANG_ = (function cljs$core$_pop_BANG_(tcoll){ +if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientVector$_pop_BANG_$arity$1 == null)))))){ +return tcoll.cljs$core$ITransientVector$_pop_BANG_$arity$1(tcoll); +} else { +return cljs$core$ITransientVector$_pop_BANG_$dyn_29091(tcoll); +} +}); + + +/** + * Protocol for adding set functionality to a transient collection. + * @interface + */ +cljs.core.ITransientSet = function(){}; + +var cljs$core$ITransientSet$_disjoin_BANG_$dyn_29095 = (function (tcoll,v){ +var x__5393__auto__ = (((tcoll == null))?null:tcoll); +var m__5394__auto__ = (cljs.core._disjoin_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__5394__auto__.call(null, tcoll,v)); +} else { +var m__5392__auto__ = (cljs.core._disjoin_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(tcoll,v) : m__5392__auto__.call(null, tcoll,v)); +} else { +throw cljs.core.missing_protocol("ITransientSet.-disjoin!",tcoll); +} +} +}); +/** + * Returns tcoll without v. + */ +cljs.core._disjoin_BANG_ = (function cljs$core$_disjoin_BANG_(tcoll,v){ +if((((!((tcoll == null)))) && ((!((tcoll.cljs$core$ITransientSet$_disjoin_BANG_$arity$2 == null)))))){ +return tcoll.cljs$core$ITransientSet$_disjoin_BANG_$arity$2(tcoll,v); +} else { +return cljs$core$ITransientSet$_disjoin_BANG_$dyn_29095(tcoll,v); +} +}); + + +/** + * Protocol for values that can be compared. + * @interface + */ +cljs.core.IComparable = function(){}; + +var cljs$core$IComparable$_compare$dyn_29099 = (function (x,y){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (cljs.core._compare[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(x,y) : m__5394__auto__.call(null, x,y)); +} else { +var m__5392__auto__ = (cljs.core._compare["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(x,y) : m__5392__auto__.call(null, x,y)); +} else { +throw cljs.core.missing_protocol("IComparable.-compare",x); +} +} +}); +/** + * Returns a negative number, zero, or a positive number when x is logically + * 'less than', 'equal to', or 'greater than' y. + */ +cljs.core._compare = (function cljs$core$_compare(x,y){ +if((((!((x == null)))) && ((!((x.cljs$core$IComparable$_compare$arity$2 == null)))))){ +return x.cljs$core$IComparable$_compare$arity$2(x,y); +} else { +return cljs$core$IComparable$_compare$dyn_29099(x,y); +} +}); + + +/** + * Protocol for accessing the items of a chunk. + * @interface + */ +cljs.core.IChunk = function(){}; + +var cljs$core$IChunk$_drop_first$dyn_29115 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._drop_first[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._drop_first["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IChunk.-drop-first",coll); +} +} +}); +/** + * Return a new chunk of coll with the first item removed. + */ +cljs.core._drop_first = (function cljs$core$_drop_first(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IChunk$_drop_first$arity$1 == null)))))){ +return coll.cljs$core$IChunk$_drop_first$arity$1(coll); +} else { +return cljs$core$IChunk$_drop_first$dyn_29115(coll); +} +}); + + +/** + * Protocol for accessing a collection as sequential chunks. + * @interface + */ +cljs.core.IChunkedSeq = function(){}; + +var cljs$core$IChunkedSeq$_chunked_first$dyn_29116 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._chunked_first[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._chunked_first["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IChunkedSeq.-chunked-first",coll); +} +} +}); +/** + * Returns the first chunk in coll. + */ +cljs.core._chunked_first = (function cljs$core$_chunked_first(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IChunkedSeq$_chunked_first$arity$1 == null)))))){ +return coll.cljs$core$IChunkedSeq$_chunked_first$arity$1(coll); +} else { +return cljs$core$IChunkedSeq$_chunked_first$dyn_29116(coll); +} +}); + +var cljs$core$IChunkedSeq$_chunked_rest$dyn_29118 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._chunked_rest[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._chunked_rest["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IChunkedSeq.-chunked-rest",coll); +} +} +}); +/** + * Return a new collection of coll with the first chunk removed. + */ +cljs.core._chunked_rest = (function cljs$core$_chunked_rest(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IChunkedSeq$_chunked_rest$arity$1 == null)))))){ +return coll.cljs$core$IChunkedSeq$_chunked_rest$arity$1(coll); +} else { +return cljs$core$IChunkedSeq$_chunked_rest$dyn_29118(coll); +} +}); + + +/** + * Protocol for accessing the chunks of a collection. + * @interface + */ +cljs.core.IChunkedNext = function(){}; + +var cljs$core$IChunkedNext$_chunked_next$dyn_29121 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._chunked_next[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._chunked_next["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IChunkedNext.-chunked-next",coll); +} +} +}); +/** + * Returns a new collection of coll without the first chunk. + */ +cljs.core._chunked_next = (function cljs$core$_chunked_next(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IChunkedNext$_chunked_next$arity$1 == null)))))){ +return coll.cljs$core$IChunkedNext$_chunked_next$arity$1(coll); +} else { +return cljs$core$IChunkedNext$_chunked_next$dyn_29121(coll); +} +}); + + +/** + * Protocol for adding a name. + * @interface + */ +cljs.core.INamed = function(){}; + +var cljs$core$INamed$_name$dyn_29124 = (function (x){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (cljs.core._name[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5394__auto__.call(null, x)); +} else { +var m__5392__auto__ = (cljs.core._name["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5392__auto__.call(null, x)); +} else { +throw cljs.core.missing_protocol("INamed.-name",x); +} +} +}); +/** + * Returns the name String of x. + */ +cljs.core._name = (function cljs$core$_name(x){ +if((((!((x == null)))) && ((!((x.cljs$core$INamed$_name$arity$1 == null)))))){ +return x.cljs$core$INamed$_name$arity$1(x); +} else { +return cljs$core$INamed$_name$dyn_29124(x); +} +}); + +var cljs$core$INamed$_namespace$dyn_29127 = (function (x){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (cljs.core._namespace[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5394__auto__.call(null, x)); +} else { +var m__5392__auto__ = (cljs.core._namespace["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5392__auto__.call(null, x)); +} else { +throw cljs.core.missing_protocol("INamed.-namespace",x); +} +} +}); +/** + * Returns the namespace String of x. + */ +cljs.core._namespace = (function cljs$core$_namespace(x){ +if((((!((x == null)))) && ((!((x.cljs$core$INamed$_namespace$arity$1 == null)))))){ +return x.cljs$core$INamed$_namespace$arity$1(x); +} else { +return cljs$core$INamed$_namespace$dyn_29127(x); +} +}); + + +/** + * Marker protocol indicating an atom. + * @interface + */ +cljs.core.IAtom = function(){}; + + +/** + * Protocol for adding resetting functionality. + * @interface + */ +cljs.core.IReset = function(){}; + +var cljs$core$IReset$_reset_BANG_$dyn_29130 = (function (o,new_value){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._reset_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__5394__auto__.call(null, o,new_value)); +} else { +var m__5392__auto__ = (cljs.core._reset_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__5392__auto__.call(null, o,new_value)); +} else { +throw cljs.core.missing_protocol("IReset.-reset!",o); +} +} +}); +/** + * Sets the value of o to new-value. + */ +cljs.core._reset_BANG_ = (function cljs$core$_reset_BANG_(o,new_value){ +if((((!((o == null)))) && ((!((o.cljs$core$IReset$_reset_BANG_$arity$2 == null)))))){ +return o.cljs$core$IReset$_reset_BANG_$arity$2(o,new_value); +} else { +return cljs$core$IReset$_reset_BANG_$dyn_29130(o,new_value); +} +}); + + +/** + * Protocol for adding swapping functionality. + * @interface + */ +cljs.core.ISwap = function(){}; + +var cljs$core$ISwap$_swap_BANG_$dyn_29134 = (function() { +var G__29135 = null; +var G__29135__2 = (function (o,f){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(o,f) : m__5394__auto__.call(null, o,f)); +} else { +var m__5392__auto__ = (cljs.core._swap_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(o,f) : m__5392__auto__.call(null, o,f)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +}); +var G__29135__3 = (function (o,f,a){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__5394__auto__.call(null, o,f,a)); +} else { +var m__5392__auto__ = (cljs.core._swap_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(o,f,a) : m__5392__auto__.call(null, o,f,a)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +}); +var G__29135__4 = (function (o,f,a,b){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__5394__auto__.call(null, o,f,a,b)); +} else { +var m__5392__auto__ = (cljs.core._swap_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$4(o,f,a,b) : m__5392__auto__.call(null, o,f,a,b)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +}); +var G__29135__5 = (function (o,f,a,b,xs){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._swap_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$5 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__5394__auto__.call(null, o,f,a,b,xs)); +} else { +var m__5392__auto__ = (cljs.core._swap_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$5 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$5(o,f,a,b,xs) : m__5392__auto__.call(null, o,f,a,b,xs)); +} else { +throw cljs.core.missing_protocol("ISwap.-swap!",o); +} +} +}); +G__29135 = function(o,f,a,b,xs){ +switch(arguments.length){ +case 2: +return G__29135__2.call(this,o,f); +case 3: +return G__29135__3.call(this,o,f,a); +case 4: +return G__29135__4.call(this,o,f,a,b); +case 5: +return G__29135__5.call(this,o,f,a,b,xs); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__29135.cljs$core$IFn$_invoke$arity$2 = G__29135__2; +G__29135.cljs$core$IFn$_invoke$arity$3 = G__29135__3; +G__29135.cljs$core$IFn$_invoke$arity$4 = G__29135__4; +G__29135.cljs$core$IFn$_invoke$arity$5 = G__29135__5; +return G__29135; +})() +; +/** + * Swaps the value of o to be (apply f current-value-of-atom args). + */ +cljs.core._swap_BANG_ = (function cljs$core$_swap_BANG_(var_args){ +var G__26685 = arguments.length; +switch (G__26685) { +case 2: +return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (o,f){ +if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$2 == null)))))){ +return o.cljs$core$ISwap$_swap_BANG_$arity$2(o,f); +} else { +return cljs$core$ISwap$_swap_BANG_$dyn_29134(o,f); +} +})); + +(cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (o,f,a){ +if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$3 == null)))))){ +return o.cljs$core$ISwap$_swap_BANG_$arity$3(o,f,a); +} else { +return cljs$core$ISwap$_swap_BANG_$dyn_29134(o,f,a); +} +})); + +(cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (o,f,a,b){ +if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$4 == null)))))){ +return o.cljs$core$ISwap$_swap_BANG_$arity$4(o,f,a,b); +} else { +return cljs$core$ISwap$_swap_BANG_$dyn_29134(o,f,a,b); +} +})); + +(cljs.core._swap_BANG_.cljs$core$IFn$_invoke$arity$5 = (function (o,f,a,b,xs){ +if((((!((o == null)))) && ((!((o.cljs$core$ISwap$_swap_BANG_$arity$5 == null)))))){ +return o.cljs$core$ISwap$_swap_BANG_$arity$5(o,f,a,b,xs); +} else { +return cljs$core$ISwap$_swap_BANG_$dyn_29134(o,f,a,b,xs); +} +})); + +(cljs.core._swap_BANG_.cljs$lang$maxFixedArity = 5); + + + +/** + * Protocol for adding volatile functionality. + * @interface + */ +cljs.core.IVolatile = function(){}; + +var cljs$core$IVolatile$_vreset_BANG_$dyn_29157 = (function (o,new_value){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (cljs.core._vreset_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__5394__auto__.call(null, o,new_value)); +} else { +var m__5392__auto__ = (cljs.core._vreset_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(o,new_value) : m__5392__auto__.call(null, o,new_value)); +} else { +throw cljs.core.missing_protocol("IVolatile.-vreset!",o); +} +} +}); +/** + * Sets the value of volatile o to new-value without regard for the + * current value. Returns new-value. + */ +cljs.core._vreset_BANG_ = (function cljs$core$_vreset_BANG_(o,new_value){ +if((((!((o == null)))) && ((!((o.cljs$core$IVolatile$_vreset_BANG_$arity$2 == null)))))){ +return o.cljs$core$IVolatile$_vreset_BANG_$arity$2(o,new_value); +} else { +return cljs$core$IVolatile$_vreset_BANG_$dyn_29157(o,new_value); +} +}); + + +/** + * Protocol for iterating over a collection. + * @interface + */ +cljs.core.IIterable = function(){}; + +var cljs$core$IIterable$_iterator$dyn_29161 = (function (coll){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (cljs.core._iterator[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5394__auto__.call(null, coll)); +} else { +var m__5392__auto__ = (cljs.core._iterator["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(coll) : m__5392__auto__.call(null, coll)); +} else { +throw cljs.core.missing_protocol("IIterable.-iterator",coll); +} +} +}); +/** + * Returns an iterator for coll. + */ +cljs.core._iterator = (function cljs$core$_iterator(coll){ +if((((!((coll == null)))) && ((!((coll.cljs$core$IIterable$_iterator$arity$1 == null)))))){ +return coll.cljs$core$IIterable$_iterator$arity$1(coll); +} else { +return cljs$core$IIterable$_iterator$dyn_29161(coll); +} +}); + + +/** +* @constructor + * @implements {cljs.core.IWriter} +*/ +cljs.core.StringBufferWriter = (function (sb){ +this.sb = sb; +this.cljs$lang$protocol_mask$partition0$ = 1073741824; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.StringBufferWriter.prototype.cljs$core$IWriter$_write$arity$2 = (function (_,s){ +var self__ = this; +var ___$1 = this; +return self__.sb.append(s); +})); + +(cljs.core.StringBufferWriter.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return null; +})); + +(cljs.core.StringBufferWriter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"sb","sb",-1249746442,null)], null); +})); + +(cljs.core.StringBufferWriter.cljs$lang$type = true); + +(cljs.core.StringBufferWriter.cljs$lang$ctorStr = "cljs.core/StringBufferWriter"); + +(cljs.core.StringBufferWriter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/StringBufferWriter"); +})); + +/** + * Positional factory function for cljs.core/StringBufferWriter. + */ +cljs.core.__GT_StringBufferWriter = (function cljs$core$__GT_StringBufferWriter(sb){ +return (new cljs.core.StringBufferWriter(sb)); +}); + +/** + * Support so that collections can implement toString without + * loading all the printing machinery. + */ +cljs.core.pr_str_STAR_ = (function cljs$core$pr_str_STAR_(obj){ +var sb = (new goog.string.StringBuffer()); +var writer = (new cljs.core.StringBufferWriter(sb)); +obj.cljs$core$IPrintWithWriter$_pr_writer$arity$3(null, writer,cljs.core.pr_opts()); + +writer.cljs$core$IWriter$_flush$arity$1(null, ); + +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb); +}); +cljs.core.int_rotate_left = (function cljs$core$int_rotate_left(x,n){ +return ((x << n) | (x >>> (- n))); +}); +if((((typeof Math !== 'undefined') && (typeof Math.imul !== 'undefined')) && ((!((Math.imul((4294967295),(5)) === (0))))))){ +cljs.core.imul = (function cljs$core$imul(a,b){ +return Math.imul(a,b); +}); +} else { +cljs.core.imul = (function cljs$core$imul(a,b){ +var ah = ((a >>> (16)) & (65535)); +var al = (a & (65535)); +var bh = ((b >>> (16)) & (65535)); +var bl = (b & (65535)); +return (((al * bl) + ((((ah * bl) + (al * bh)) << (16)) >>> (0))) | (0)); +}); +} +cljs.core.m3_seed = (0); +cljs.core.m3_C1 = ((3432918353) | (0)); +cljs.core.m3_C2 = ((461845907) | (0)); +cljs.core.m3_mix_K1 = (function cljs$core$m3_mix_K1(k1){ +return cljs.core.imul(cljs.core.int_rotate_left(cljs.core.imul((k1 | (0)),cljs.core.m3_C1),(15)),cljs.core.m3_C2); +}); +cljs.core.m3_mix_H1 = (function cljs$core$m3_mix_H1(h1,k1){ +return ((cljs.core.imul(cljs.core.int_rotate_left(((h1 | (0)) ^ (k1 | (0))),(13)),(5)) + ((3864292196) | (0))) | (0)); +}); +cljs.core.m3_fmix = (function cljs$core$m3_fmix(h1,len){ +var h1__$1 = (h1 | (0)); +var h1__$2 = (h1__$1 ^ len); +var h1__$3 = (h1__$2 ^ (h1__$2 >>> (16))); +var h1__$4 = cljs.core.imul(h1__$3,((2246822507) | (0))); +var h1__$5 = (h1__$4 ^ (h1__$4 >>> (13))); +var h1__$6 = cljs.core.imul(h1__$5,((3266489909) | (0))); +return (h1__$6 ^ (h1__$6 >>> (16))); +}); +cljs.core.m3_hash_int = (function cljs$core$m3_hash_int(in$){ +if((in$ === (0))){ +return in$; +} else { +var k1 = cljs.core.m3_mix_K1(in$); +var h1 = cljs.core.m3_mix_H1(cljs.core.m3_seed,k1); +return cljs.core.m3_fmix(h1,(4)); +} +}); +cljs.core.m3_hash_unencoded_chars = (function cljs$core$m3_hash_unencoded_chars(in$){ +var h1 = (function (){var i = (1); +var h1 = cljs.core.m3_seed; +while(true){ +if((i < in$.length)){ +var G__29184 = (i + (2)); +var G__29185 = cljs.core.m3_mix_H1(h1,cljs.core.m3_mix_K1((in$.charCodeAt((i - (1))) | (in$.charCodeAt(i) << (16))))); +i = G__29184; +h1 = G__29185; +continue; +} else { +return h1; +} +break; +} +})(); +var h1__$1 = ((((in$.length & (1)) === (1)))?(h1 ^ cljs.core.m3_mix_K1(in$.charCodeAt((in$.length - (1))))):h1); +return cljs.core.m3_fmix(h1__$1,cljs.core.imul((2),in$.length)); +}); + + + +cljs.core.string_hash_cache = ({}); +cljs.core.string_hash_cache_count = (0); +cljs.core.hash_string_STAR_ = (function cljs$core$hash_string_STAR_(s){ +if((!((s == null)))){ +var len = s.length; +if((len > (0))){ +var i = (0); +var hash = (0); +while(true){ +if((i < len)){ +var G__29189 = (i + (1)); +var G__29190 = (cljs.core.imul((31),hash) + s.charCodeAt(i)); +i = G__29189; +hash = G__29190; +continue; +} else { +return hash; +} +break; +} +} else { +return (0); +} +} else { +return (0); +} +}); +cljs.core.add_to_string_hash_cache = (function cljs$core$add_to_string_hash_cache(k){ +var h = cljs.core.hash_string_STAR_(k); +cljs.core.goog$module$goog$object.set(cljs.core.string_hash_cache,k,h); + +(cljs.core.string_hash_cache_count = (cljs.core.string_hash_cache_count + (1))); + +return h; +}); +cljs.core.hash_string = (function cljs$core$hash_string(k){ +if((cljs.core.string_hash_cache_count > (255))){ +(cljs.core.string_hash_cache = ({})); + +(cljs.core.string_hash_cache_count = (0)); +} else { +} + +if((k == null)){ +return (0); +} else { +var h = (cljs.core.string_hash_cache[k]); +if(typeof h === 'number'){ +return h; +} else { +return cljs.core.add_to_string_hash_cache(k); +} +} +}); +/** + * Returns the hash code of its argument. Note this is the hash code + * consistent with =. + */ +cljs.core.hash = (function cljs$core$hash(o){ +if((((!((o == null))))?(((((o.cljs$lang$protocol_mask$partition0$ & (4194304))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IHash$))))?true:false):false)){ +return (o.cljs$core$IHash$_hash$arity$1(null, ) ^ (0)); +} else { +if(typeof o === 'number'){ +if(isFinite(o)){ +return (Math.floor(o) % (2147483647)); +} else { +var G__26691 = o; +switch (G__26691) { +case Infinity: +return (2146435072); + +break; +case -Infinity: +return (-1048576); + +break; +default: +return (2146959360); + +} +} +} else { +if(o === true){ +return (1231); +} else { +if(o === false){ +return (1237); +} else { +if(typeof o === 'string'){ +return cljs.core.m3_hash_int(cljs.core.hash_string(o)); +} else { +if((o instanceof Date)){ +return (o.valueOf() ^ (0)); +} else { +if((o == null)){ +return (0); +} else { +return (cljs.core._hash(o) ^ (0)); + +} +} +} +} +} +} +} +}); +cljs.core.hash_combine = (function cljs$core$hash_combine(seed,hash){ +return (seed ^ (((hash + (2654435769)) + (seed << (6))) + (seed >> (2)))); +}); +/** + * Evaluates x and tests if it is an instance of the type + * c. Returns true or false + */ +cljs.core.instance_QMARK_ = (function cljs$core$instance_QMARK_(c,x){ +return (x instanceof c); +}); +/** + * Return true if x is a Symbol + */ +cljs.core.symbol_QMARK_ = (function cljs$core$symbol_QMARK_(x){ +return (x instanceof cljs.core.Symbol); +}); +cljs.core.hash_symbol = (function cljs$core$hash_symbol(sym){ +return cljs.core.hash_combine(cljs.core.m3_hash_unencoded_chars(sym.name),cljs.core.hash_string(sym.ns)); +}); +cljs.core.compare_symbols = (function cljs$core$compare_symbols(a,b){ +if((a.str === b.str)){ +return (0); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(a.ns); +if(and__5043__auto__){ +return b.ns; +} else { +return and__5043__auto__; +} +})())){ +return (-1); +} else { +if(cljs.core.truth_(a.ns)){ +if(cljs.core.not(b.ns)){ +return (1); +} else { +var nsc = cljs.core.goog$module$goog$array.defaultCompare(a.ns,b.ns); +if(((0) === nsc)){ +return cljs.core.goog$module$goog$array.defaultCompare(a.name,b.name); +} else { +return nsc; +} +} +} else { +return cljs.core.goog$module$goog$array.defaultCompare(a.name,b.name); + +} +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.INamed} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.Symbol = (function (ns,name,str,_hash,_meta){ +this.ns = ns; +this.name = name; +this.str = str; +this._hash = _hash; +this._meta = _meta; +this.cljs$lang$protocol_mask$partition0$ = 2154168321; +this.cljs$lang$protocol_mask$partition1$ = 4096; +}); +(cljs.core.Symbol.prototype.toString = (function (){ +var self__ = this; +var _ = this; +return self__.str; +})); + +(cljs.core.Symbol.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.Symbol.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ +var self__ = this; +var ___$1 = this; +if((other instanceof cljs.core.Symbol)){ +return (self__.str === other.str); +} else { +return false; +} +})); + +(cljs.core.Symbol.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__26693 = (arguments.length - (1)); +switch (G__26693) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.Symbol.prototype.apply = (function (self__,args26692){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args26692))); +})); + +(cljs.core.Symbol.prototype.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +var self__ = this; +var sym = this; +return (cljs.core.get.cljs$core$IFn$_invoke$arity$2 ? cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,sym) : cljs.core.get.call(null, coll,sym)); +})); + +(cljs.core.Symbol.prototype.cljs$core$IFn$_invoke$arity$2 = (function (coll,not_found){ +var self__ = this; +var sym = this; +return (cljs.core.get.cljs$core$IFn$_invoke$arity$3 ? cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,sym,not_found) : cljs.core.get.call(null, coll,sym,not_found)); +})); + +(cljs.core.Symbol.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__._meta; +})); + +(cljs.core.Symbol.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.Symbol(self__.ns,self__.name,self__.str,self__._hash,new_meta)); +})); + +(cljs.core.Symbol.prototype.cljs$core$IHash$_hash$arity$1 = (function (sym){ +var self__ = this; +var sym__$1 = this; +var h__5154__auto__ = self__._hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_symbol(sym__$1); +(self__._hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.Symbol.prototype.cljs$core$INamed$_name$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.name; +})); + +(cljs.core.Symbol.prototype.cljs$core$INamed$_namespace$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.ns; +})); + +(cljs.core.Symbol.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (o,writer,_){ +var self__ = this; +var o__$1 = this; +return cljs.core._write(writer,self__.str); +})); + +(cljs.core.Symbol.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ns","ns",2082130287,null),new cljs.core.Symbol(null,"name","name",-810760592,null),new cljs.core.Symbol(null,"str","str",-1564826950,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_hash","_hash",-2130838312,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); +})); + +(cljs.core.Symbol.cljs$lang$type = true); + +(cljs.core.Symbol.cljs$lang$ctorStr = "cljs.core/Symbol"); + +(cljs.core.Symbol.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Symbol"); +})); + +/** + * Positional factory function for cljs.core/Symbol. + */ +cljs.core.__GT_Symbol = (function cljs$core$__GT_Symbol(ns,name,str,_hash,_meta){ +return (new cljs.core.Symbol(ns,name,str,_hash,_meta)); +}); + +/** + * Returns true if v is of type cljs.core.Var + */ +cljs.core.var_QMARK_ = (function cljs$core$var_QMARK_(v){ +return (v instanceof cljs.core.Var); +}); +/** + * Returns a Symbol with the given namespace and name. Arity-1 works + * on strings, keywords, and vars. + */ +cljs.core.symbol = (function cljs$core$symbol(var_args){ +var G__26695 = arguments.length; +switch (G__26695) { +case 1: +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.symbol.cljs$core$IFn$_invoke$arity$1 = (function (name){ +while(true){ +if((name instanceof cljs.core.Symbol)){ +return name; +} else { +if(typeof name === 'string'){ +var idx = name.indexOf("/"); +if((idx < (1))){ +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(null,name); +} else { +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(name.substring((0),idx),name.substring((idx + (1)),name.length)); +} +} else { +if(cljs.core.var_QMARK_(name)){ +return name.sym; +} else { +if((name instanceof cljs.core.Keyword)){ +var G__29239 = name.fqn; +name = G__29239; +continue; +} else { +throw (new Error("no conversion to symbol")); + +} +} +} +} +break; +} +})); + +(cljs.core.symbol.cljs$core$IFn$_invoke$arity$2 = (function (ns,name){ +var sym_str = (((!((ns == null))))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns),"/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''):name); +return (new cljs.core.Symbol(ns,name,sym_str,null,null)); +})); + +(cljs.core.symbol.cljs$lang$maxFixedArity = 2); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.Fn} + * @implements {cljs.core.IDeref} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.Var = (function (val,sym,_meta){ +this.val = val; +this.sym = sym; +this._meta = _meta; +this.cljs$lang$protocol_mask$partition0$ = 6717441; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.Var.prototype.isMacro = (function (){ +var self__ = this; +var _ = this; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )).cljs$lang$macro; +})); + +(cljs.core.Var.prototype.toString = (function (){ +var self__ = this; +var _ = this; +return ["#'",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.sym)].join(''); +})); + +(cljs.core.Var.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +})); + +(cljs.core.Var.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__._meta; +})); + +(cljs.core.Var.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.Var(self__.val,self__.sym,new_meta)); +})); + +(cljs.core.Var.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var self__ = this; +var this$__$1 = this; +if((other instanceof cljs.core.Var)){ +var G__26697 = this$__$1.sym; +var G__26698 = other.sym; +return (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2 ? cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(G__26697,G__26698) : cljs.core._EQ_.call(null, G__26697,G__26698)); +} else { +return false; +} +})); + +(cljs.core.Var.prototype.cljs$core$IHash$_hash$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.hash_symbol(self__.sym); +})); + +(cljs.core.Var.prototype.cljs$core$Fn$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Var.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__26699 = (arguments.length - (1)); +switch (G__26699) { +case (0): +return self__.cljs$core$IFn$_invoke$arity$0(); + +break; +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +case (3): +return self__.cljs$core$IFn$_invoke$arity$3((arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case (4): +return self__.cljs$core$IFn$_invoke$arity$4((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case (5): +return self__.cljs$core$IFn$_invoke$arity$5((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +case (6): +return self__.cljs$core$IFn$_invoke$arity$6((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)])); + +break; +case (7): +return self__.cljs$core$IFn$_invoke$arity$7((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)])); + +break; +case (8): +return self__.cljs$core$IFn$_invoke$arity$8((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)])); + +break; +case (9): +return self__.cljs$core$IFn$_invoke$arity$9((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)])); + +break; +case (10): +return self__.cljs$core$IFn$_invoke$arity$10((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)])); + +break; +case (11): +return self__.cljs$core$IFn$_invoke$arity$11((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)])); + +break; +case (12): +return self__.cljs$core$IFn$_invoke$arity$12((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)])); + +break; +case (13): +return self__.cljs$core$IFn$_invoke$arity$13((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)])); + +break; +case (14): +return self__.cljs$core$IFn$_invoke$arity$14((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)])); + +break; +case (15): +return self__.cljs$core$IFn$_invoke$arity$15((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)])); + +break; +case (16): +return self__.cljs$core$IFn$_invoke$arity$16((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)])); + +break; +case (17): +return self__.cljs$core$IFn$_invoke$arity$17((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)])); + +break; +case (18): +return self__.cljs$core$IFn$_invoke$arity$18((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)])); + +break; +case (19): +return self__.cljs$core$IFn$_invoke$arity$19((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)])); + +break; +case (20): +return self__.cljs$core$IFn$_invoke$arity$20((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)])); + +break; +case (21): +return self__.cljs$core$IFn$_invoke$arity$21((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)]),(arguments[(21)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.Var.prototype.apply = (function (self__,args26696){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args26696))); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$0 = (function (){ +var self__ = this; +var _ = this; +var fexpr__26700 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26700.cljs$core$IFn$_invoke$arity$0 ? fexpr__26700.cljs$core$IFn$_invoke$arity$0() : fexpr__26700.call(null, )); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ +var self__ = this; +var _ = this; +var fexpr__26701 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26701.cljs$core$IFn$_invoke$arity$1 ? fexpr__26701.cljs$core$IFn$_invoke$arity$1(a) : fexpr__26701.call(null, a)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +var self__ = this; +var _ = this; +var fexpr__26702 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26702.cljs$core$IFn$_invoke$arity$2 ? fexpr__26702.cljs$core$IFn$_invoke$arity$2(a,b) : fexpr__26702.call(null, a,b)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){ +var self__ = this; +var _ = this; +var fexpr__26703 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26703.cljs$core$IFn$_invoke$arity$3 ? fexpr__26703.cljs$core$IFn$_invoke$arity$3(a,b,c) : fexpr__26703.call(null, a,b,c)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,d){ +var self__ = this; +var _ = this; +var fexpr__26704 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26704.cljs$core$IFn$_invoke$arity$4 ? fexpr__26704.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : fexpr__26704.call(null, a,b,c,d)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$5 = (function (a,b,c,d,e){ +var self__ = this; +var _ = this; +var fexpr__26705 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26705.cljs$core$IFn$_invoke$arity$5 ? fexpr__26705.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : fexpr__26705.call(null, a,b,c,d,e)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$6 = (function (a,b,c,d,e,f){ +var self__ = this; +var _ = this; +var fexpr__26706 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26706.cljs$core$IFn$_invoke$arity$6 ? fexpr__26706.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : fexpr__26706.call(null, a,b,c,d,e,f)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$7 = (function (a,b,c,d,e,f,g){ +var self__ = this; +var _ = this; +var fexpr__26707 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26707.cljs$core$IFn$_invoke$arity$7 ? fexpr__26707.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : fexpr__26707.call(null, a,b,c,d,e,f,g)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$8 = (function (a,b,c,d,e,f,g,h){ +var self__ = this; +var _ = this; +var fexpr__26708 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26708.cljs$core$IFn$_invoke$arity$8 ? fexpr__26708.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : fexpr__26708.call(null, a,b,c,d,e,f,g,h)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$9 = (function (a,b,c,d,e,f,g,h,i){ +var self__ = this; +var _ = this; +var fexpr__26709 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26709.cljs$core$IFn$_invoke$arity$9 ? fexpr__26709.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : fexpr__26709.call(null, a,b,c,d,e,f,g,h,i)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$10 = (function (a,b,c,d,e,f,g,h,i,j){ +var self__ = this; +var _ = this; +var fexpr__26710 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26710.cljs$core$IFn$_invoke$arity$10 ? fexpr__26710.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : fexpr__26710.call(null, a,b,c,d,e,f,g,h,i,j)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$11 = (function (a,b,c,d,e,f,g,h,i,j,k){ +var self__ = this; +var _ = this; +var fexpr__26711 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26711.cljs$core$IFn$_invoke$arity$11 ? fexpr__26711.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : fexpr__26711.call(null, a,b,c,d,e,f,g,h,i,j,k)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$12 = (function (a,b,c,d,e,f,g,h,i,j,k,l){ +var self__ = this; +var _ = this; +var fexpr__26712 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26712.cljs$core$IFn$_invoke$arity$12 ? fexpr__26712.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : fexpr__26712.call(null, a,b,c,d,e,f,g,h,i,j,k,l)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$13 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m){ +var self__ = this; +var _ = this; +var fexpr__26713 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26713.cljs$core$IFn$_invoke$arity$13 ? fexpr__26713.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : fexpr__26713.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$14 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +var self__ = this; +var _ = this; +var fexpr__26714 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26714.cljs$core$IFn$_invoke$arity$14 ? fexpr__26714.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : fexpr__26714.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$15 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +var self__ = this; +var _ = this; +var fexpr__26715 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26715.cljs$core$IFn$_invoke$arity$15 ? fexpr__26715.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : fexpr__26715.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$16 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +var self__ = this; +var _ = this; +var fexpr__26716 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26716.cljs$core$IFn$_invoke$arity$16 ? fexpr__26716.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : fexpr__26716.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$17 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +var self__ = this; +var _ = this; +var fexpr__26717 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26717.cljs$core$IFn$_invoke$arity$17 ? fexpr__26717.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : fexpr__26717.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$18 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +var self__ = this; +var _ = this; +var fexpr__26718 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26718.cljs$core$IFn$_invoke$arity$18 ? fexpr__26718.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : fexpr__26718.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$19 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +var self__ = this; +var _ = this; +var fexpr__26719 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26719.cljs$core$IFn$_invoke$arity$19 ? fexpr__26719.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : fexpr__26719.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$20 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +var self__ = this; +var _ = this; +var fexpr__26720 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +return (fexpr__26720.cljs$core$IFn$_invoke$arity$20 ? fexpr__26720.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : fexpr__26720.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); +})); + +(cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$21 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ +var self__ = this; +var _ = this; +var G__26721 = (self__.val.cljs$core$IFn$_invoke$arity$0 ? self__.val.cljs$core$IFn$_invoke$arity$0() : self__.val.call(null, )); +var G__26722 = a; +var G__26723 = b; +var G__26724 = c; +var G__26725 = d; +var G__26726 = e; +var G__26727 = f; +var G__26728 = g; +var G__26729 = h; +var G__26730 = i; +var G__26731 = j; +var G__26732 = k; +var G__26733 = l; +var G__26734 = m; +var G__26735 = n; +var G__26736 = o; +var G__26737 = p; +var G__26738 = q; +var G__26739 = r; +var G__26740 = s; +var G__26741 = t; +var G__26742 = rest; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$21 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$21(G__26721,G__26722,G__26723,G__26724,G__26725,G__26726,G__26727,G__26728,G__26729,G__26730,G__26731,G__26732,G__26733,G__26734,G__26735,G__26736,G__26737,G__26738,G__26739,G__26740, new cljs.core.IndexedSeq([G__26741,G__26742],0,null)) : cljs.core.apply.call(null, G__26721,G__26722,G__26723,G__26724,G__26725,G__26726,G__26727,G__26728,G__26729,G__26730,G__26731,G__26732,G__26733,G__26734,G__26735,G__26736,G__26737,G__26738,G__26739,G__26740,G__26741,G__26742)); +})); + +(cljs.core.Var.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.Symbol(null,"sym","sym",195671222,null),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); +})); + +(cljs.core.Var.cljs$lang$type = true); + +(cljs.core.Var.cljs$lang$ctorStr = "cljs.core/Var"); + +(cljs.core.Var.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Var"); +})); + +/** + * Positional factory function for cljs.core/Var. + */ +cljs.core.__GT_Var = (function cljs$core$__GT_Var(val,sym,_meta){ +return (new cljs.core.Var(val,sym,_meta)); +}); + + + +/** + * Return true if x implements IIterable protocol. + */ +cljs.core.iterable_QMARK_ = (function cljs$core$iterable_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition1$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IIterable$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition1$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IIterable,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IIterable,x); +} +}); +/** + * Return true if x has a JavaScript iterator property + */ +cljs.core.js_iterable_QMARK_ = (function cljs$core$js_iterable_QMARK_(x){ +return (((!((x == null)))) && ((!((x[cljs.core.ITER_SYMBOL] == null))))); +}); +/** + * Clone the supplied value which must implement ICloneable. + */ +cljs.core.clone = (function cljs$core$clone(value){ +return cljs.core._clone(value); +}); +/** + * Return true if x implements ICloneable protocol. + */ +cljs.core.cloneable_QMARK_ = (function cljs$core$cloneable_QMARK_(value){ +if((!((value == null)))){ +if((((value.cljs$lang$protocol_mask$partition1$ & (8192))) || ((cljs.core.PROTOCOL_SENTINEL === value.cljs$core$ICloneable$)))){ +return true; +} else { +if((!value.cljs$lang$protocol_mask$partition1$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.ICloneable,value); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.ICloneable,value); +} +}); +/** + * Returns a seq on the collection. If the collection is + * empty, returns nil. (seq nil) returns nil. seq also works on + * Strings. + */ +cljs.core.seq = (function cljs$core$seq(coll){ +if((coll == null)){ +return null; +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (8388608))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeqable$))))?true:false):false)){ +return coll.cljs$core$ISeqable$_seq$arity$1(null, ); +} else { +if(cljs.core.array_QMARK_(coll)){ +if((coll.length === (0))){ +return null; +} else { +return (new cljs.core.IndexedSeq(coll,(0),null)); +} +} else { +if(typeof coll === 'string'){ +if((coll.length === (0))){ +return null; +} else { +return (new cljs.core.IndexedSeq(coll,(0),null)); +} +} else { +if(cljs.core.js_iterable_QMARK_(coll)){ +var G__26746 = cljs.core.goog$module$goog$object.get(coll,cljs.core.ITER_SYMBOL).call(coll); +return (cljs.core.es6_iterator_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.es6_iterator_seq.cljs$core$IFn$_invoke$arity$1(G__26746) : cljs.core.es6_iterator_seq.call(null, G__26746)); +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.ISeqable,coll)){ +return cljs.core._seq(coll); +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll)," is not ISeqable"].join(''))); + +} +} +} +} +} +} +}); +/** + * Returns the first item in the collection. Calls seq on its + * argument. If coll is nil, returns nil. + */ +cljs.core.first = (function cljs$core$first(coll){ +if((coll == null)){ +return null; +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false)){ +return coll.cljs$core$ISeq$_first$arity$1(null, ); +} else { +var s = cljs.core.seq(coll); +if((s == null)){ +return null; +} else { +return cljs.core._first(s); +} +} +} +}); +/** + * Returns a possibly empty seq of the items after the first. Calls seq on its + * argument. + */ +cljs.core.rest = (function cljs$core$rest(coll){ +if((!((coll == null)))){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false)){ +return coll.cljs$core$ISeq$_rest$arity$1(null, ); +} else { +var s = cljs.core.seq(coll); +if(s){ +return s.cljs$core$ISeq$_rest$arity$1(null, ); +} else { +return cljs.core.List.EMPTY; +} +} +} else { +return cljs.core.List.EMPTY; +} +}); +/** + * Returns a seq of the items after the first. Calls seq on its + * argument. If there are no more items, returns nil + */ +cljs.core.next = (function cljs$core$next(coll){ +if((coll == null)){ +return null; +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$INext$))))?true:false):false)){ +return coll.cljs$core$INext$_next$arity$1(null, ); +} else { +return cljs.core.seq(cljs.core.rest(coll)); +} +} +}); +/** + * Equality. Returns true if x equals y, false if not. Compares + * numbers and collections in a type-independent manner. Clojure's immutable data + * structures define -equiv (and thus =) as a value, not an identity, + * comparison. + */ +cljs.core._EQ_ = (function cljs$core$_EQ_(var_args){ +var G__26754 = arguments.length; +switch (G__26754) { +case 1: +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___29519 = arguments.length; +var i__5770__auto___29524 = (0); +while(true){ +if((i__5770__auto___29524 < len__5769__auto___29519)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___29524])); + +var G__29526 = (i__5770__auto___29524 + (1)); +i__5770__auto___29524 = G__29526; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return true; +})); + +(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +if((x == null)){ +return (y == null); +} else { +return (((x === y)) || (cljs.core._equiv(x,y))); +} +})); + +(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +while(true){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)){ +if(cljs.core.next(more)){ +var G__29546 = y; +var G__29547 = cljs.core.first(more); +var G__29548 = cljs.core.next(more); +x = G__29546; +y = G__29547; +more = G__29548; +continue; +} else { +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(y,cljs.core.first(more)); +} +} else { +return false; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core._EQ_.cljs$lang$applyTo = (function (seq26751){ +var G__26752 = cljs.core.first(seq26751); +var seq26751__$1 = cljs.core.next(seq26751); +var G__26753 = cljs.core.first(seq26751__$1); +var seq26751__$2 = cljs.core.next(seq26751__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26752,G__26753,seq26751__$2); +})); + +(cljs.core._EQ_.cljs$lang$maxFixedArity = (2)); + + +/** +* @constructor +*/ +cljs.core.ES6Iterator = (function (s){ +this.s = s; +}); +(cljs.core.ES6Iterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +if((!((self__.s == null)))){ +var x = cljs.core.first(self__.s); +(self__.s = cljs.core.next(self__.s)); + +return ({"value": x, "done": false}); +} else { +return ({"value": null, "done": true}); +} +})); + +(cljs.core.ES6Iterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ES6Iterator.cljs$lang$type = true); + +(cljs.core.ES6Iterator.cljs$lang$ctorStr = "cljs.core/ES6Iterator"); + +(cljs.core.ES6Iterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ES6Iterator"); +})); + +/** + * Positional factory function for cljs.core/ES6Iterator. + */ +cljs.core.__GT_ES6Iterator = (function cljs$core$__GT_ES6Iterator(s){ +return (new cljs.core.ES6Iterator(s)); +}); + +/** + * EXPERIMENTAL: Return a ES2015 compatible iterator for coll. + */ +cljs.core.es6_iterator = (function cljs$core$es6_iterator(coll){ +return (new cljs.core.ES6Iterator(cljs.core.seq(coll))); +}); + +/** +* @constructor + * @implements {cljs.core.ISeq} + * @implements {cljs.core.ISeqable} +*/ +cljs.core.ES6IteratorSeq = (function (value,iter,_rest){ +this.value = value; +this.iter = iter; +this._rest = _rest; +this.cljs$lang$protocol_mask$partition0$ = 8388672; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return this$__$1; +})); + +(cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.value; +})); + +(cljs.core.ES6IteratorSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if((self__._rest == null)){ +(self__._rest = (cljs.core.es6_iterator_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.es6_iterator_seq.cljs$core$IFn$_invoke$arity$1(self__.iter) : cljs.core.es6_iterator_seq.call(null, self__.iter))); +} else { +} + +return self__._rest; +})); + +(cljs.core.ES6IteratorSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"value","value",1946509744,null),new cljs.core.Symbol(null,"iter","iter",-1346195486,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_rest","_rest",-2100466189,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ES6IteratorSeq.cljs$lang$type = true); + +(cljs.core.ES6IteratorSeq.cljs$lang$ctorStr = "cljs.core/ES6IteratorSeq"); + +(cljs.core.ES6IteratorSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ES6IteratorSeq"); +})); + +/** + * Positional factory function for cljs.core/ES6IteratorSeq. + */ +cljs.core.__GT_ES6IteratorSeq = (function cljs$core$__GT_ES6IteratorSeq(value,iter,_rest){ +return (new cljs.core.ES6IteratorSeq(value,iter,_rest)); +}); + +/** + * EXPERIMENTAL: Given an ES2015 compatible iterator return a seq. + */ +cljs.core.es6_iterator_seq = (function cljs$core$es6_iterator_seq(iter){ +var v = iter.next(); +if(cljs.core.truth_(v.done)){ +return null; +} else { +return (new cljs.core.ES6IteratorSeq(v.value,iter,null)); +} +}); +/** + * Mix final collection hash for ordered or unordered collections. + * hash-basis is the combined collection hash, count is the number + * of elements included in the basis. Note this is the hash code + * consistent with =, different from .hashCode. + * See http://clojure.org/data_structures#hash for full algorithms. + */ +cljs.core.mix_collection_hash = (function cljs$core$mix_collection_hash(hash_basis,count){ +var h1 = cljs.core.m3_seed; +var k1 = cljs.core.m3_mix_K1(hash_basis); +var h1__$1 = cljs.core.m3_mix_H1(h1,k1); +return cljs.core.m3_fmix(h1__$1,count); +}); +/** + * Returns the hash code, consistent with =, for an external ordered + * collection implementing Iterable. + * See http://clojure.org/data_structures#hash for full algorithms. + */ +cljs.core.hash_ordered_coll = (function cljs$core$hash_ordered_coll(coll){ +var n = (0); +var hash_code = (1); +var coll__$1 = cljs.core.seq(coll); +while(true){ +if((!((coll__$1 == null)))){ +var G__29602 = (n + (1)); +var G__29603 = ((cljs.core.imul((31),hash_code) + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); +var G__29604 = cljs.core.next(coll__$1); +n = G__29602; +hash_code = G__29603; +coll__$1 = G__29604; +continue; +} else { +return cljs.core.mix_collection_hash(hash_code,n); +} +break; +} +}); +cljs.core.empty_ordered_hash = cljs.core.mix_collection_hash((1),(0)); +/** + * Returns the hash code, consistent with =, for an external unordered + * collection implementing Iterable. For maps, the iterator should + * return map entries whose hash is computed as + * (hash-ordered-coll [k v]). + * See http://clojure.org/data_structures#hash for full algorithms. + */ +cljs.core.hash_unordered_coll = (function cljs$core$hash_unordered_coll(coll){ +var n = (0); +var hash_code = (0); +var coll__$1 = cljs.core.seq(coll); +while(true){ +if((!((coll__$1 == null)))){ +var G__29608 = (n + (1)); +var G__29609 = ((hash_code + cljs.core.hash(cljs.core.first(coll__$1))) | (0)); +var G__29610 = cljs.core.next(coll__$1); +n = G__29608; +hash_code = G__29609; +coll__$1 = G__29610; +continue; +} else { +return cljs.core.mix_collection_hash(hash_code,n); +} +break; +} +}); +cljs.core.empty_unordered_hash = cljs.core.mix_collection_hash((0),(0)); + + +(cljs.core.ICounted["null"] = true); + +(cljs.core._count["null"] = (function (_){ +return (0); +})); +(Date.prototype.cljs$core$IEquiv$ = cljs.core.PROTOCOL_SENTINEL); + +(Date.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ +var o__$1 = this; +return (((other instanceof Date)) && ((o__$1.valueOf() === other.valueOf()))); +})); + +(Date.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(Date.prototype.cljs$core$IComparable$_compare$arity$2 = (function (this$,other){ +var this$__$1 = this; +if((other instanceof Date)){ +return cljs.core.goog$module$goog$array.defaultCompare(this$__$1.valueOf(),other.valueOf()); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(other)].join(''))); +} +})); + +/** + * @interface + */ +cljs.core.Inst = function(){}; + +var cljs$core$Inst$inst_ms_STAR_$dyn_29611 = (function (inst){ +var x__5393__auto__ = (((inst == null))?null:inst); +var m__5394__auto__ = (cljs.core.inst_ms_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(inst) : m__5394__auto__.call(null, inst)); +} else { +var m__5392__auto__ = (cljs.core.inst_ms_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(inst) : m__5392__auto__.call(null, inst)); +} else { +throw cljs.core.missing_protocol("Inst.inst-ms*",inst); +} +} +}); +cljs.core.inst_ms_STAR_ = (function cljs$core$inst_ms_STAR_(inst){ +if((((!((inst == null)))) && ((!((inst.cljs$core$Inst$inst_ms_STAR_$arity$1 == null)))))){ +return inst.cljs$core$Inst$inst_ms_STAR_$arity$1(inst); +} else { +return cljs$core$Inst$inst_ms_STAR_$dyn_29611(inst); +} +}); + +(Date.prototype.cljs$core$Inst$ = cljs.core.PROTOCOL_SENTINEL); + +(Date.prototype.cljs$core$Inst$inst_ms_STAR_$arity$1 = (function (inst){ +var inst__$1 = this; +return inst__$1.getTime(); +})); +/** + * Return the number of milliseconds since January 1, 1970, 00:00:00 GMT + */ +cljs.core.inst_ms = (function cljs$core$inst_ms(inst){ +return cljs.core.inst_ms_STAR_(inst); +}); +/** + * Return true if x satisfies Inst + */ +cljs.core.inst_QMARK_ = (function cljs$core$inst_QMARK_(x){ +if((!((x == null)))){ +if(((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$Inst$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.Inst,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.Inst,x); +} +}); +(cljs.core.IEquiv["number"] = true); + +(cljs.core._equiv["number"] = (function (x,o){ +return (x === o); +})); +(cljs.core.Fn["function"] = true); + +(cljs.core.IMeta["function"] = true); + +(cljs.core._meta["function"] = (function (_){ +return null; +})); +(cljs.core.IHash["_"] = true); + +(cljs.core._hash["_"] = (function (o){ +return goog.getUid(o); +})); +/** + * Returns a number one greater than num. + */ +cljs.core.inc = (function cljs$core$inc(x){ +return (x + (1)); +}); + +/** +* @constructor + * @implements {cljs.core.IDeref} +*/ +cljs.core.Reduced = (function (val){ +this.val = val; +this.cljs$lang$protocol_mask$partition0$ = 32768; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.Reduced.prototype.cljs$core$IDeref$_deref$arity$1 = (function (o){ +var self__ = this; +var o__$1 = this; +return self__.val; +})); + +(cljs.core.Reduced.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"val","val",1769233139,null)], null); +})); + +(cljs.core.Reduced.cljs$lang$type = true); + +(cljs.core.Reduced.cljs$lang$ctorStr = "cljs.core/Reduced"); + +(cljs.core.Reduced.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Reduced"); +})); + +/** + * Positional factory function for cljs.core/Reduced. + */ +cljs.core.__GT_Reduced = (function cljs$core$__GT_Reduced(val){ +return (new cljs.core.Reduced(val)); +}); + +/** + * Wraps x in a way such that a reduce will terminate with the value x + */ +cljs.core.reduced = (function cljs$core$reduced(x){ +return (new cljs.core.Reduced(x)); +}); +/** + * Returns true if x is the result of a call to reduced + */ +cljs.core.reduced_QMARK_ = (function cljs$core$reduced_QMARK_(r){ +return (r instanceof cljs.core.Reduced); +}); +/** + * If x is already reduced?, returns it, else returns (reduced x) + */ +cljs.core.ensure_reduced = (function cljs$core$ensure_reduced(x){ +if(cljs.core.reduced_QMARK_(x)){ +return x; +} else { +return cljs.core.reduced(x); +} +}); +/** + * If x is reduced?, returns (deref x), else returns x + */ +cljs.core.unreduced = (function cljs$core$unreduced(x){ +if(cljs.core.reduced_QMARK_(x)){ +return (cljs.core.deref.cljs$core$IFn$_invoke$arity$1 ? cljs.core.deref.cljs$core$IFn$_invoke$arity$1(x) : cljs.core.deref.call(null, x)); +} else { +return x; +} +}); +/** + * Also reader macro: @var/@atom/@delay. Returns the + * most-recently-committed value of ref. When applied to a var + * or atom, returns its current state. When applied to a delay, forces + * it if not already forced. See also - realized?. + */ +cljs.core.deref = (function cljs$core$deref(o){ +return cljs.core._deref(o); +}); +/** + * Accepts any collection which satisfies the ICount and IIndexed protocols and + * reduces them without incurring seq initialization + */ +cljs.core.ci_reduce = (function cljs$core$ci_reduce(var_args){ +var G__26757 = arguments.length; +switch (G__26757) { +case 2: +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2 = (function (cicoll,f){ +var cnt = cicoll.cljs$core$ICounted$_count$arity$1(null, ); +if((cnt === (0))){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +} else { +var val = cicoll.cljs$core$IIndexed$_nth$arity$2(null, (0)); +var n = (1); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__26758 = val; +var G__26759 = cicoll.cljs$core$IIndexed$_nth$arity$2(null, n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26758,G__26759) : f.call(null, G__26758,G__26759)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__29615 = nval; +var G__29616 = (n + (1)); +val = G__29615; +n = G__29616; +continue; +} +} else { +return val; +} +break; +} +} +})); + +(cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3 = (function (cicoll,f,val){ +var cnt = cicoll.cljs$core$ICounted$_count$arity$1(null, ); +var val__$1 = val; +var n = (0); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__26760 = val__$1; +var G__26761 = cicoll.cljs$core$IIndexed$_nth$arity$2(null, n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26760,G__26761) : f.call(null, G__26760,G__26761)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__29619 = nval; +var G__29620 = (n + (1)); +val__$1 = G__29619; +n = G__29620; +continue; +} +} else { +return val__$1; +} +break; +} +})); + +(cljs.core.ci_reduce.cljs$lang$maxFixedArity = 3); + +cljs.core.array_reduce = (function cljs$core$array_reduce(var_args){ +var G__26763 = arguments.length; +switch (G__26763) { +case 2: +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2 = (function (arr,f){ +var cnt = arr.length; +if((arr.length === (0))){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +} else { +var val = (arr[(0)]); +var n = (1); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__26764 = val; +var G__26765 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26764,G__26765) : f.call(null, G__26764,G__26765)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__29624 = nval; +var G__29625 = (n + (1)); +val = G__29624; +n = G__29625; +continue; +} +} else { +return val; +} +break; +} +} +})); + +(cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3 = (function (arr,f,val){ +var cnt = arr.length; +var val__$1 = val; +var n = (0); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__26766 = val__$1; +var G__26767 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26766,G__26767) : f.call(null, G__26766,G__26767)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__29632 = nval; +var G__29633 = (n + (1)); +val__$1 = G__29632; +n = G__29633; +continue; +} +} else { +return val__$1; +} +break; +} +})); + +(cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4 = (function (arr,f,val,idx){ +var cnt = arr.length; +var val__$1 = val; +var n = idx; +while(true){ +if((n < cnt)){ +var nval = (function (){var G__26768 = val__$1; +var G__26769 = (arr[n]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26768,G__26769) : f.call(null, G__26768,G__26769)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__29648 = nval; +var G__29649 = (n + (1)); +val__$1 = G__29648; +n = G__29649; +continue; +} +} else { +return val__$1; +} +break; +} +})); + +(cljs.core.array_reduce.cljs$lang$maxFixedArity = 4); + + + + + + + +/** + * Returns true if coll implements count in constant time + */ +cljs.core.counted_QMARK_ = (function cljs$core$counted_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (2))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ICounted$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.ICounted,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.ICounted,x); +} +}); +/** + * Returns true if coll implements nth in constant time + */ +cljs.core.indexed_QMARK_ = (function cljs$core$indexed_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (16))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IIndexed$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,x); +} +}); +cljs.core._indexOf = (function cljs$core$_indexOf(var_args){ +var G__26773 = arguments.length; +switch (G__26773) { +case 2: +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +})); + +(cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ +var len = (cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null, coll)); +if((start >= len)){ +return (-1); +} else { +var idx = (((start > (0)))?start:(((start < (0)))?(function (){var x__5130__auto__ = (0); +var y__5131__auto__ = (start + len); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})():start +)); +while(true){ +if((idx < len)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((cljs.core.nth.cljs$core$IFn$_invoke$arity$2 ? cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx) : cljs.core.nth.call(null, coll,idx)),x)){ +return idx; +} else { +var G__29667 = (idx + (1)); +idx = G__29667; +continue; +} +} else { +return (-1); +} +break; +} +} +})); + +(cljs.core._indexOf.cljs$lang$maxFixedArity = 3); + +cljs.core._lastIndexOf = (function cljs$core$_lastIndexOf(var_args){ +var G__26775 = arguments.length; +switch (G__26775) { +case 2: +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null, coll))); +})); + +(cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ +var len = (cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null, coll)); +if((len === (0))){ +return (-1); +} else { +var idx = (((start > (0)))?(function (){var x__5133__auto__ = (len - (1)); +var y__5134__auto__ = start; +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})():(((start < (0)))?(len + start):start +)); +while(true){ +if((idx >= (0))){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((cljs.core.nth.cljs$core$IFn$_invoke$arity$2 ? cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx) : cljs.core.nth.call(null, coll,idx)),x)){ +return idx; +} else { +var G__29671 = (idx - (1)); +idx = G__29671; +continue; +} +} else { +return (-1); +} +break; +} +} +})); + +(cljs.core._lastIndexOf.cljs$lang$maxFixedArity = 3); + + +/** +* @constructor +*/ +cljs.core.IndexedSeqIterator = (function (arr,i){ +this.arr = arr; +this.i = i; +}); +(cljs.core.IndexedSeqIterator.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (self__.i < self__.arr.length); +})); + +(cljs.core.IndexedSeqIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = (self__.arr[self__.i]); +(self__.i = (self__.i + (1))); + +return ret; +})); + +(cljs.core.IndexedSeqIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.IndexedSeqIterator.cljs$lang$type = true); + +(cljs.core.IndexedSeqIterator.cljs$lang$ctorStr = "cljs.core/IndexedSeqIterator"); + +(cljs.core.IndexedSeqIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/IndexedSeqIterator"); +})); + +/** + * Positional factory function for cljs.core/IndexedSeqIterator. + */ +cljs.core.__GT_IndexedSeqIterator = (function cljs$core$__GT_IndexedSeqIterator(arr,i){ +return (new cljs.core.IndexedSeqIterator(arr,i)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ASeq} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.IndexedSeq = (function (arr,i,meta){ +this.arr = arr; +this.i = i; +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 166592766; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.core.IndexedSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.IndexedSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.IndexedSeq.prototype.indexOf = (function() { +var G__29677 = null; +var G__29677__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__29677__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__29677 = function(x,start){ +switch(arguments.length){ +case 1: +return G__29677__1.call(this,x); +case 2: +return G__29677__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__29677.cljs$core$IFn$_invoke$arity$1 = G__29677__1; +G__29677.cljs$core$IFn$_invoke$arity$2 = G__29677__2; +return G__29677; +})() +); + +(cljs.core.IndexedSeq.prototype.lastIndexOf = (function() { +var G__29678 = null; +var G__29678__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null, coll))); +}); +var G__29678__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__29678 = function(x,start){ +switch(arguments.length){ +case 1: +return G__29678__1.call(this,x); +case 2: +return G__29678__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__29678.cljs$core$IFn$_invoke$arity$1 = G__29678__1; +G__29678.cljs$core$IFn$_invoke$arity$2 = G__29678__2; +return G__29678; +})() +); + +(cljs.core.IndexedSeq.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +var i__$1 = (n + self__.i); +if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ +return (self__.arr[i__$1]); +} else { +throw (new Error("Index out of bounds")); +} +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ +var self__ = this; +var coll__$1 = this; +var i__$1 = (n + self__.i); +if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ +return (self__.arr[i__$1]); +} else { +return not_found; +} +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.IndexedSeqIterator(self__.arr,self__.i)); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.IndexedSeq(self__.arr,self__.i,self__.meta)); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$INext$_next$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(((self__.i + (1)) < self__.arr.length)){ +return (new cljs.core.IndexedSeq(self__.arr,(self__.i + (1)),null)); +} else { +return null; +} +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +var x__5130__auto__ = (0); +var y__5131__auto__ = (self__.arr.length - self__.i); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var c = coll__$1.cljs$core$ICounted$_count$arity$1(null, ); +if((c > (0))){ +return (new cljs.core.RSeq(coll__$1,(c - (1)),null)); +} else { +return null; +} +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2 ? cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2(coll__$1,other) : cljs.core.equiv_sequential.call(null, coll__$1,other)); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,(self__.arr[self__.i]),(self__.i + (1))); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,start,self__.i); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (self__.arr[self__.i]); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(((self__.i + (1)) < self__.arr.length)){ +return (new cljs.core.IndexedSeq(self__.arr,(self__.i + (1)),null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((self__.i < self__.arr.length)){ +return this$__$1; +} else { +return null; +} +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.IndexedSeq(self__.arr,self__.i,new_meta)); +} +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.cons.cljs$core$IFn$_invoke$arity$2 ? cljs.core.cons.cljs$core$IFn$_invoke$arity$2(o,coll__$1) : cljs.core.cons.call(null, o,coll__$1)); +})); + +(cljs.core.IndexedSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +})); + +(cljs.core.IndexedSeq.cljs$lang$type = true); + +(cljs.core.IndexedSeq.cljs$lang$ctorStr = "cljs.core/IndexedSeq"); + +(cljs.core.IndexedSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/IndexedSeq"); +})); + +/** + * Positional factory function for cljs.core/IndexedSeq. + */ +cljs.core.__GT_IndexedSeq = (function cljs$core$__GT_IndexedSeq(arr,i,meta){ +return (new cljs.core.IndexedSeq(arr,i,meta)); +}); + +(cljs.core.IndexedSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Create seq from a primitive JavaScript Array-like. + */ +cljs.core.prim_seq = (function cljs$core$prim_seq(var_args){ +var G__26777 = arguments.length; +switch (G__26777) { +case 1: +return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$1 = (function (prim){ +return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(prim,(0)); +})); + +(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2 = (function (prim,i){ +if((i < prim.length)){ +return (new cljs.core.IndexedSeq(prim,i,null)); +} else { +return null; +} +})); + +(cljs.core.prim_seq.cljs$lang$maxFixedArity = 2); + +/** + * Create a seq from a JavaScript array. + */ +cljs.core.array_seq = (function cljs$core$array_seq(var_args){ +var G__26779 = arguments.length; +switch (G__26779) { +case 1: +return cljs.core.array_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.array_seq.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.array_seq.cljs$core$IFn$_invoke$arity$1 = (function (array){ +return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(array,(0)); +})); + +(cljs.core.array_seq.cljs$core$IFn$_invoke$arity$2 = (function (array,i){ +return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(array,i); +})); + +(cljs.core.array_seq.cljs$lang$maxFixedArity = 2); + + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.RSeq = (function (ci,i,meta){ +this.ci = ci; +this.i = i; +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 32374990; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs.core.RSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.RSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.RSeq.prototype.indexOf = (function() { +var G__29701 = null; +var G__29701__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__29701__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__29701 = function(x,start){ +switch(arguments.length){ +case 1: +return G__29701__1.call(this,x); +case 2: +return G__29701__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__29701.cljs$core$IFn$_invoke$arity$1 = G__29701__1; +G__29701.cljs$core$IFn$_invoke$arity$2 = G__29701__2; +return G__29701; +})() +); + +(cljs.core.RSeq.prototype.lastIndexOf = (function() { +var G__29704 = null; +var G__29704__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(cljs.core.count.cljs$core$IFn$_invoke$arity$1 ? cljs.core.count.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.count.call(null, coll))); +}); +var G__29704__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__29704 = function(x,start){ +switch(arguments.length){ +case 1: +return G__29704__1.call(this,x); +case 2: +return G__29704__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__29704.cljs$core$IFn$_invoke$arity$1 = G__29704__1; +G__29704.cljs$core$IFn$_invoke$arity$2 = G__29704__2; +return G__29704; +})() +); + +(cljs.core.RSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.RSeq.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.RSeq(self__.ci,self__.i,self__.meta)); +})); + +(cljs.core.RSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.i > (0))){ +return (new cljs.core.RSeq(self__.ci,(self__.i - (1)),null)); +} else { +return null; +} +})); + +(cljs.core.RSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (self__.i + (1)); +})); + +(cljs.core.RSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +})); + +(cljs.core.RSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2 ? cljs.core.equiv_sequential.cljs$core$IFn$_invoke$arity$2(coll__$1,other) : cljs.core.equiv_sequential.call(null, coll__$1,other)); +})); + +(cljs.core.RSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.RSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (col,f){ +var self__ = this; +var col__$1 = this; +return (cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2 ? cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,col__$1) : cljs.core.seq_reduce.call(null, f,col__$1)); +})); + +(cljs.core.RSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (col,f,start){ +var self__ = this; +var col__$1 = this; +return (cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,col__$1) : cljs.core.seq_reduce.call(null, f,start,col__$1)); +})); + +(cljs.core.RSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._nth(self__.ci,self__.i); +})); + +(cljs.core.RSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.i > (0))){ +return (new cljs.core.RSeq(self__.ci,(self__.i - (1)),null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.RSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.RSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.RSeq(self__.ci,self__.i,new_meta)); +} +})); + +(cljs.core.RSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.cons.cljs$core$IFn$_invoke$arity$2 ? cljs.core.cons.cljs$core$IFn$_invoke$arity$2(o,coll__$1) : cljs.core.cons.call(null, o,coll__$1)); +})); + +(cljs.core.RSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ci","ci",2049808339,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +})); + +(cljs.core.RSeq.cljs$lang$type = true); + +(cljs.core.RSeq.cljs$lang$ctorStr = "cljs.core/RSeq"); + +(cljs.core.RSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/RSeq"); +})); + +/** + * Positional factory function for cljs.core/RSeq. + */ +cljs.core.__GT_RSeq = (function cljs$core$__GT_RSeq(ci,i,meta){ +return (new cljs.core.RSeq(ci,i,meta)); +}); + +(cljs.core.RSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Same as (first (next x)) + */ +cljs.core.second = (function cljs$core$second(coll){ +return cljs.core.first(cljs.core.next(coll)); +}); +/** + * Same as (first (first x)) + */ +cljs.core.ffirst = (function cljs$core$ffirst(coll){ +return cljs.core.first(cljs.core.first(coll)); +}); +/** + * Same as (next (first x)) + */ +cljs.core.nfirst = (function cljs$core$nfirst(coll){ +return cljs.core.next(cljs.core.first(coll)); +}); +/** + * Same as (first (next x)) + */ +cljs.core.fnext = (function cljs$core$fnext(coll){ +return cljs.core.first(cljs.core.next(coll)); +}); +/** + * Same as (next (next x)) + */ +cljs.core.nnext = (function cljs$core$nnext(coll){ +return cljs.core.next(cljs.core.next(coll)); +}); +/** + * Return the last item in coll, in linear time + */ +cljs.core.last = (function cljs$core$last(s){ +while(true){ +var sn = cljs.core.next(s); +if((!((sn == null)))){ +var G__29729 = sn; +s = G__29729; +continue; +} else { +return cljs.core.first(s); +} +break; +} +}); +(cljs.core.IEquiv["_"] = true); + +(cljs.core._equiv["_"] = (function (x,o){ +return (x === o); +})); +/** + * conj[oin]. Returns a new collection with the xs + * 'added'. (conj nil item) returns (item). + * (conj coll) returns coll. (conj) returns []. + * The 'addition' may happen at different 'places' depending + * on the concrete type. + */ +cljs.core.conj = (function cljs$core$conj(var_args){ +var G__26784 = arguments.length; +switch (G__26784) { +case 0: +return cljs.core.conj.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.conj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___29740 = arguments.length; +var i__5770__auto___29741 = (0); +while(true){ +if((i__5770__auto___29741 < len__5769__auto___29740)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___29741])); + +var G__29743 = (i__5770__auto___29741 + (1)); +i__5770__auto___29741 = G__29743; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.conj.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cljs.core.conj.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +return coll; +})); + +(cljs.core.conj.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ +if((!((coll == null)))){ +return cljs.core._conj(coll,x); +} else { +return (new cljs.core.List(null,x,null,(1),null)); +} +})); + +(cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic = (function (coll,x,xs){ +while(true){ +if(cljs.core.truth_(xs)){ +var G__29748 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); +var G__29749 = cljs.core.first(xs); +var G__29750 = cljs.core.next(xs); +coll = G__29748; +x = G__29749; +xs = G__29750; +continue; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(coll,x); +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.conj.cljs$lang$applyTo = (function (seq26781){ +var G__26782 = cljs.core.first(seq26781); +var seq26781__$1 = cljs.core.next(seq26781); +var G__26783 = cljs.core.first(seq26781__$1); +var seq26781__$2 = cljs.core.next(seq26781__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26782,G__26783,seq26781__$2); +})); + +(cljs.core.conj.cljs$lang$maxFixedArity = (2)); + +/** + * Returns an empty collection of the same category as coll, or nil + */ +cljs.core.empty = (function cljs$core$empty(coll){ +if((coll == null)){ +return null; +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (4))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IEmptyableCollection$))))?true:false):false)){ +return coll.cljs$core$IEmptyableCollection$_empty$arity$1(null, ); +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (4))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IEmptyableCollection$))))?true:(((!coll.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEmptyableCollection,coll):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEmptyableCollection,coll))){ +return cljs.core._empty(coll); +} else { +return null; + +} +} +} +}); +cljs.core.accumulating_seq_count = (function cljs$core$accumulating_seq_count(coll){ +var s = cljs.core.seq(coll); +var acc = (0); +while(true){ +if(cljs.core.counted_QMARK_(s)){ +return (acc + cljs.core._count(s)); +} else { +var G__29762 = cljs.core.next(s); +var G__29763 = (acc + (1)); +s = G__29762; +acc = G__29763; +continue; +} +break; +} +}); +/** + * Returns the number of items in the collection. (count nil) returns + * 0. Also works on strings, arrays, and Maps + */ +cljs.core.count = (function cljs$core$count(coll){ +if((!((coll == null)))){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (2))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ICounted$))))?true:false):false)){ +return coll.cljs$core$ICounted$_count$arity$1(null, ); +} else { +if(cljs.core.array_QMARK_(coll)){ +return coll.length; +} else { +if(typeof coll === 'string'){ +return coll.length; +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (8388608))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeqable$))))?true:false):false)){ +return cljs.core.accumulating_seq_count(coll); +} else { +return cljs.core._count(coll); + +} +} +} +} +} else { +return (0); +} +}); +cljs.core.linear_traversal_nth = (function cljs$core$linear_traversal_nth(var_args){ +var G__26790 = arguments.length; +switch (G__26790) { +case 2: +return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2 = (function (coll,n){ +while(true){ +if((coll == null)){ +throw (new Error("Index out of bounds")); +} else { +if((n === (0))){ +if(cljs.core.seq(coll)){ +return cljs.core.first(coll); +} else { +throw (new Error("Index out of bounds")); +} +} else { +if(cljs.core.indexed_QMARK_(coll)){ +return cljs.core._nth(coll,n); +} else { +if(cljs.core.seq(coll)){ +var G__29783 = cljs.core.next(coll); +var G__29784 = (n - (1)); +coll = G__29783; +n = G__29784; +continue; +} else { +throw (new Error("Index out of bounds")); + +} +} +} +} +break; +} +})); + +(cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3 = (function (coll,n,not_found){ +while(true){ +if((coll == null)){ +return not_found; +} else { +if((n === (0))){ +if(cljs.core.seq(coll)){ +return cljs.core.first(coll); +} else { +return not_found; +} +} else { +if(cljs.core.indexed_QMARK_(coll)){ +return cljs.core._nth(coll,n,not_found); +} else { +if(cljs.core.seq(coll)){ +var G__29786 = cljs.core.next(coll); +var G__29787 = (n - (1)); +var G__29788 = not_found; +coll = G__29786; +n = G__29787; +not_found = G__29788; +continue; +} else { +return not_found; + +} +} +} +} +break; +} +})); + +(cljs.core.linear_traversal_nth.cljs$lang$maxFixedArity = 3); + +/** + * Returns the value at the index. get returns nil if index out of + * bounds, nth throws an exception unless not-found is supplied. nth + * also works for strings, arrays, regex Matchers and Lists, and, + * in O(n) time, for sequences. + */ +cljs.core.nth = (function cljs$core$nth(var_args){ +var G__26792 = arguments.length; +switch (G__26792) { +case 2: +return cljs.core.nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.nth.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.nth.cljs$core$IFn$_invoke$arity$2 = (function (coll,n){ +if((!(typeof n === 'number'))){ +throw (new Error("Index argument to nth must be a number")); +} else { +if((coll == null)){ +return coll; +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (16))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IIndexed$))))?true:false):false)){ +return coll.cljs$core$IIndexed$_nth$arity$2(null, n); +} else { +if(cljs.core.array_QMARK_(coll)){ +if(((((-1) < n)) && ((n < coll.length)))){ +return (coll[(n | (0))]); +} else { +throw (new Error("Index out of bounds")); +} +} else { +if(typeof coll === 'string'){ +if(((((-1) < n)) && ((n < coll.length)))){ +return coll.charAt((n | (0))); +} else { +throw (new Error("Index out of bounds")); +} +} else { +if((function (){var or__5045__auto__ = (((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +if((!((coll == null)))){ +if((((coll.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISequential$)))){ +return true; +} else { +return false; +} +} else { +return false; +} +} +})()){ +if((n < (0))){ +throw (new Error("Index out of bounds")); +} else { +return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$2(coll,n); +} +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,coll)){ +return cljs.core._nth(coll,n); +} else { +throw (new Error(["nth not supported on this type ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.type__GT_str(cljs.core.type(coll)))].join(''))); + +} +} +} +} +} +} +} +})); + +(cljs.core.nth.cljs$core$IFn$_invoke$arity$3 = (function (coll,n,not_found){ +if((!(typeof n === 'number'))){ +throw (new Error("Index argument to nth must be a number.")); +} else { +if((coll == null)){ +return not_found; +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (16))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IIndexed$))))?true:false):false)){ +return coll.cljs$core$IIndexed$_nth$arity$3(null, n,not_found); +} else { +if(cljs.core.array_QMARK_(coll)){ +if(((((-1) < n)) && ((n < coll.length)))){ +return (coll[(n | (0))]); +} else { +return not_found; +} +} else { +if(typeof coll === 'string'){ +if(((((-1) < n)) && ((n < coll.length)))){ +return coll.charAt((n | (0))); +} else { +return not_found; +} +} else { +if((function (){var or__5045__auto__ = (((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +if((!((coll == null)))){ +if((((coll.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISequential$)))){ +return true; +} else { +return false; +} +} else { +return false; +} +} +})()){ +if((n < (0))){ +return not_found; +} else { +return cljs.core.linear_traversal_nth.cljs$core$IFn$_invoke$arity$3(coll,n,not_found); +} +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.IIndexed,coll)){ +return cljs.core._nth(coll,n,not_found); +} else { +throw (new Error(["nth not supported on this type ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.type__GT_str(cljs.core.type(coll)))].join(''))); + +} +} +} +} +} +} +} +})); + +(cljs.core.nth.cljs$lang$maxFixedArity = 3); + +/** + * Returns the nth rest of coll, coll when n is 0. + */ +cljs.core.nthrest = (function cljs$core$nthrest(coll,n){ +var n__$1 = n; +var xs = coll; +while(true){ +var temp__5821__auto__ = (((n__$1 > (0))) && (cljs.core.seq(xs))); +if(temp__5821__auto__){ +var xs__$1 = temp__5821__auto__; +var G__29800 = (n__$1 - (1)); +var G__29801 = cljs.core.rest(xs__$1); +n__$1 = G__29800; +xs = G__29801; +continue; +} else { +return xs; +} +break; +} +}); +/** + * Returns the value mapped to key, not-found or nil if key not present + * in associative collection, set, string, array, or ILookup instance. + */ +cljs.core.get = (function cljs$core$get(var_args){ +var G__26800 = arguments.length; +switch (G__26800) { +case 2: +return cljs.core.get.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.get.cljs$core$IFn$_invoke$arity$2 = (function (o,k){ +if((o == null)){ +return null; +} else { +if((((!((o == null))))?(((((o.cljs$lang$protocol_mask$partition0$ & (256))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$ILookup$))))?true:false):false)){ +return o.cljs$core$ILookup$_lookup$arity$2(null, k); +} else { +if(cljs.core.array_QMARK_(o)){ +if((((!((k == null)))) && ((k < o.length)))){ +return (o[(k | (0))]); +} else { +return null; +} +} else { +if(typeof o === 'string'){ +if((((!((k == null)))) && (((((-1) < k)) && ((k < o.length)))))){ +return o.charAt((k | (0))); +} else { +return null; +} +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.ILookup,o)){ +return cljs.core._lookup(o,k); +} else { +return null; + +} +} +} +} +} +})); + +(cljs.core.get.cljs$core$IFn$_invoke$arity$3 = (function (o,k,not_found){ +if((!((o == null)))){ +if((((!((o == null))))?(((((o.cljs$lang$protocol_mask$partition0$ & (256))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$ILookup$))))?true:false):false)){ +return o.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +} else { +if(cljs.core.array_QMARK_(o)){ +if((((!((k == null)))) && (((((-1) < k)) && ((k < o.length)))))){ +return (o[(k | (0))]); +} else { +return not_found; +} +} else { +if(typeof o === 'string'){ +if((((!((k == null)))) && (((((-1) < k)) && ((k < o.length)))))){ +return o.charAt((k | (0))); +} else { +return not_found; +} +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.ILookup,o)){ +return cljs.core._lookup(o,k,not_found); +} else { +return not_found; + +} +} +} +} +} else { +return not_found; +} +})); + +(cljs.core.get.cljs$lang$maxFixedArity = 3); + + + +/** + * assoc[iate]. When applied to a map, returns a new map of the + * same (hashed/sorted) type, that contains the mapping of key(s) to + * val(s). When applied to a vector, returns a new vector that + * contains val at index. Note - index must be <= (count vector). + */ +cljs.core.assoc = (function cljs$core$assoc(var_args){ +var G__26808 = arguments.length; +switch (G__26808) { +case 3: +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___29870 = arguments.length; +var i__5770__auto___29871 = (0); +while(true){ +if((i__5770__auto___29871 < len__5769__auto___29870)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___29871])); + +var G__29872 = (i__5770__auto___29871 + (1)); +i__5770__auto___29871 = G__29872; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3 = (function (coll,k,v){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (512))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IAssociative$))))?true:false):false)){ +return coll.cljs$core$IAssociative$_assoc$arity$3(null, k,v); +} else { +if((!((coll == null)))){ +return cljs.core._assoc(coll,k,v); +} else { +return cljs.core.PersistentArrayMap.createAsIfByAssoc([k,v]); +} +} +})); + +(cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic = (function (coll,k,v,kvs){ +while(true){ +var ret = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(coll,k,v); +if(cljs.core.truth_(kvs)){ +var G__29877 = ret; +var G__29878 = cljs.core.first(kvs); +var G__29879 = cljs.core.second(kvs); +var G__29880 = cljs.core.nnext(kvs); +coll = G__29877; +k = G__29878; +v = G__29879; +kvs = G__29880; +continue; +} else { +return ret; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.assoc.cljs$lang$applyTo = (function (seq26804){ +var G__26805 = cljs.core.first(seq26804); +var seq26804__$1 = cljs.core.next(seq26804); +var G__26806 = cljs.core.first(seq26804__$1); +var seq26804__$2 = cljs.core.next(seq26804__$1); +var G__26807 = cljs.core.first(seq26804__$2); +var seq26804__$3 = cljs.core.next(seq26804__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26805,G__26806,G__26807,seq26804__$3); +})); + +(cljs.core.assoc.cljs$lang$maxFixedArity = (3)); + +/** + * dissoc[iate]. Returns a new map of the same (hashed/sorted) type, + * that does not contain a mapping for key(s). + */ +cljs.core.dissoc = (function cljs$core$dissoc(var_args){ +var G__26814 = arguments.length; +switch (G__26814) { +case 1: +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___29887 = arguments.length; +var i__5770__auto___29888 = (0); +while(true){ +if((i__5770__auto___29888 < len__5769__auto___29887)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___29888])); + +var G__29889 = (i__5770__auto___29888 + (1)); +i__5770__auto___29888 = G__29889; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +return coll; +})); + +(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2 = (function (coll,k){ +if((coll == null)){ +return null; +} else { +return cljs.core._dissoc(coll,k); +} +})); + +(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic = (function (coll,k,ks){ +while(true){ +if((coll == null)){ +return null; +} else { +var ret = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(coll,k); +if(cljs.core.truth_(ks)){ +var G__29892 = ret; +var G__29893 = cljs.core.first(ks); +var G__29894 = cljs.core.next(ks); +coll = G__29892; +k = G__29893; +ks = G__29894; +continue; +} else { +return ret; +} +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.dissoc.cljs$lang$applyTo = (function (seq26811){ +var G__26812 = cljs.core.first(seq26811); +var seq26811__$1 = cljs.core.next(seq26811); +var G__26813 = cljs.core.first(seq26811__$1); +var seq26811__$2 = cljs.core.next(seq26811__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26812,G__26813,seq26811__$2); +})); + +(cljs.core.dissoc.cljs$lang$maxFixedArity = (2)); + +/** + * Return true if f is a JavaScript function or satisfies the Fn protocol. + */ +cljs.core.fn_QMARK_ = (function cljs$core$fn_QMARK_(f){ +var or__5045__auto__ = typeof f === 'function'; +if(or__5045__auto__){ +return or__5045__auto__; +} else { +if((!((f == null)))){ +if(((false) || ((cljs.core.PROTOCOL_SENTINEL === f.cljs$core$Fn$)))){ +return true; +} else { +if((!f.cljs$lang$protocol_mask$partition$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.Fn,f); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.Fn,f); +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IFn} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.Fn} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.MetaFn = (function (afn,meta){ +this.afn = afn; +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 393217; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.MetaFn.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.meta; +})); + +(cljs.core.MetaFn.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_,new_meta){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.MetaFn(self__.afn,new_meta)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$Fn$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.MetaFn.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__26817 = (arguments.length - (1)); +switch (G__26817) { +case (0): +return self__.cljs$core$IFn$_invoke$arity$0(); + +break; +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +case (3): +return self__.cljs$core$IFn$_invoke$arity$3((arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case (4): +return self__.cljs$core$IFn$_invoke$arity$4((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case (5): +return self__.cljs$core$IFn$_invoke$arity$5((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +case (6): +return self__.cljs$core$IFn$_invoke$arity$6((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)])); + +break; +case (7): +return self__.cljs$core$IFn$_invoke$arity$7((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)])); + +break; +case (8): +return self__.cljs$core$IFn$_invoke$arity$8((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)])); + +break; +case (9): +return self__.cljs$core$IFn$_invoke$arity$9((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)])); + +break; +case (10): +return self__.cljs$core$IFn$_invoke$arity$10((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)])); + +break; +case (11): +return self__.cljs$core$IFn$_invoke$arity$11((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)])); + +break; +case (12): +return self__.cljs$core$IFn$_invoke$arity$12((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)])); + +break; +case (13): +return self__.cljs$core$IFn$_invoke$arity$13((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)])); + +break; +case (14): +return self__.cljs$core$IFn$_invoke$arity$14((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)])); + +break; +case (15): +return self__.cljs$core$IFn$_invoke$arity$15((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)])); + +break; +case (16): +return self__.cljs$core$IFn$_invoke$arity$16((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)])); + +break; +case (17): +return self__.cljs$core$IFn$_invoke$arity$17((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)])); + +break; +case (18): +return self__.cljs$core$IFn$_invoke$arity$18((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)])); + +break; +case (19): +return self__.cljs$core$IFn$_invoke$arity$19((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)])); + +break; +case (20): +return self__.cljs$core$IFn$_invoke$arity$20((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)])); + +break; +case (21): +return self__.cljs$core$IFn$_invoke$arity$21((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)]),(arguments[(21)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.MetaFn.prototype.apply = (function (self__,args26816){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args26816))); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$0 = (function (){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$0 ? self__.afn.cljs$core$IFn$_invoke$arity$0() : self__.afn.call(null, )); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$1 ? self__.afn.cljs$core$IFn$_invoke$arity$1(a) : self__.afn.call(null, a)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$2 ? self__.afn.cljs$core$IFn$_invoke$arity$2(a,b) : self__.afn.call(null, a,b)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$3 ? self__.afn.cljs$core$IFn$_invoke$arity$3(a,b,c) : self__.afn.call(null, a,b,c)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,d){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$4 ? self__.afn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : self__.afn.call(null, a,b,c,d)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$5 = (function (a,b,c,d,e){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$5 ? self__.afn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : self__.afn.call(null, a,b,c,d,e)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$6 = (function (a,b,c,d,e,f){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$6 ? self__.afn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : self__.afn.call(null, a,b,c,d,e,f)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$7 = (function (a,b,c,d,e,f,g){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$7 ? self__.afn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : self__.afn.call(null, a,b,c,d,e,f,g)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$8 = (function (a,b,c,d,e,f,g,h){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$8 ? self__.afn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : self__.afn.call(null, a,b,c,d,e,f,g,h)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$9 = (function (a,b,c,d,e,f,g,h,i){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$9 ? self__.afn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : self__.afn.call(null, a,b,c,d,e,f,g,h,i)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$10 = (function (a,b,c,d,e,f,g,h,i,j){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$10 ? self__.afn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$11 = (function (a,b,c,d,e,f,g,h,i,j,k){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$11 ? self__.afn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$12 = (function (a,b,c,d,e,f,g,h,i,j,k,l){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$12 ? self__.afn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$13 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$13 ? self__.afn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$14 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$14 ? self__.afn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$15 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$15 ? self__.afn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$16 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$16 ? self__.afn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$17 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$17 ? self__.afn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$18 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$18 ? self__.afn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$19 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$19 ? self__.afn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$20 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +var self__ = this; +var _ = this; +return (self__.afn.cljs$core$IFn$_invoke$arity$20 ? self__.afn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : self__.afn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); +})); + +(cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$21 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ +var self__ = this; +var _ = this; +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$21 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$21(self__.afn,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s, new cljs.core.IndexedSeq([t,rest],0,null)) : cljs.core.apply.call(null, self__.afn,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest)); +})); + +(cljs.core.MetaFn.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"afn","afn",216963467,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +})); + +(cljs.core.MetaFn.cljs$lang$type = true); + +(cljs.core.MetaFn.cljs$lang$ctorStr = "cljs.core/MetaFn"); + +(cljs.core.MetaFn.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/MetaFn"); +})); + +/** + * Positional factory function for cljs.core/MetaFn. + */ +cljs.core.__GT_MetaFn = (function cljs$core$__GT_MetaFn(afn,meta){ +return (new cljs.core.MetaFn(afn,meta)); +}); + +/** + * Returns an object of the same type and value as obj, with + * map m as its metadata. + */ +cljs.core.with_meta = (function cljs$core$with_meta(o,meta){ +if(typeof o === 'function'){ +return (new cljs.core.MetaFn(o,meta)); +} else { +if((o == null)){ +return null; +} else { +return cljs.core._with_meta(o,meta); +} +} +}); +/** + * Returns the metadata of obj, returns nil if there is no metadata. + */ +cljs.core.meta = (function cljs$core$meta(o){ +if((function (){var and__5043__auto__ = (!((o == null))); +if(and__5043__auto__){ +if((!((o == null)))){ +if((((o.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IMeta$)))){ +return true; +} else { +if((!o.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IMeta,o); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IMeta,o); +} +} else { +return and__5043__auto__; +} +})()){ +return cljs.core._meta(o); +} else { +return null; +} +}); +/** + * For a list or queue, same as first, for a vector, same as, but much + * more efficient than, last. If the collection is empty, returns nil. + */ +cljs.core.peek = (function cljs$core$peek(coll){ +if((coll == null)){ +return null; +} else { +return cljs.core._peek(coll); +} +}); +/** + * For a list or queue, returns a new list/queue without the first + * item, for a vector, returns a new vector without the last item. + * Note - not the same as next/butlast. + */ +cljs.core.pop = (function cljs$core$pop(coll){ +if((coll == null)){ +return null; +} else { +return cljs.core._pop(coll); +} +}); +/** + * disj[oin]. Returns a new set of the same (hashed/sorted) type, that + * does not contain key(s). + */ +cljs.core.disj = (function cljs$core$disj(var_args){ +var G__26823 = arguments.length; +switch (G__26823) { +case 1: +return cljs.core.disj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.disj.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30047 = arguments.length; +var i__5770__auto___30048 = (0); +while(true){ +if((i__5770__auto___30048 < len__5769__auto___30047)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30048])); + +var G__30049 = (i__5770__auto___30048 + (1)); +i__5770__auto___30048 = G__30049; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.disj.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +return coll; +})); + +(cljs.core.disj.cljs$core$IFn$_invoke$arity$2 = (function (coll,k){ +if((coll == null)){ +return null; +} else { +return cljs.core._disjoin(coll,k); +} +})); + +(cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic = (function (coll,k,ks){ +while(true){ +if((coll == null)){ +return null; +} else { +var ret = cljs.core.disj.cljs$core$IFn$_invoke$arity$2(coll,k); +if(cljs.core.truth_(ks)){ +var G__30056 = ret; +var G__30057 = cljs.core.first(ks); +var G__30058 = cljs.core.next(ks); +coll = G__30056; +k = G__30057; +ks = G__30058; +continue; +} else { +return ret; +} +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.disj.cljs$lang$applyTo = (function (seq26820){ +var G__26821 = cljs.core.first(seq26820); +var seq26820__$1 = cljs.core.next(seq26820); +var G__26822 = cljs.core.first(seq26820__$1); +var seq26820__$2 = cljs.core.next(seq26820__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26821,G__26822,seq26820__$2); +})); + +(cljs.core.disj.cljs$lang$maxFixedArity = (2)); + +/** + * Returns true if coll has no items - same as (not (seq coll)). + * Please use the idiom (seq x) rather than (not (empty? x)) + */ +cljs.core.empty_QMARK_ = (function cljs$core$empty_QMARK_(coll){ +return (((coll == null)) || (cljs.core.not(cljs.core.seq(coll)))); +}); +/** + * Returns true if x satisfies ICollection + */ +cljs.core.coll_QMARK_ = (function cljs$core$coll_QMARK_(x){ +if((x == null)){ +return false; +} else { +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (8))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ICollection$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.ICollection,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.ICollection,x); +} +} +}); +/** + * Returns true if x satisfies ISet + */ +cljs.core.set_QMARK_ = (function cljs$core$set_QMARK_(x){ +if((x == null)){ +return false; +} else { +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISet$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.ISet,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.ISet,x); +} +} +}); +/** + * Returns true if coll implements IAssociative + */ +cljs.core.associative_QMARK_ = (function cljs$core$associative_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (512))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IAssociative$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IAssociative,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IAssociative,x); +} +}); +/** + * Returns true if coll implements IFind + */ +cljs.core.ifind_QMARK_ = (function cljs$core$ifind_QMARK_(x){ +if((!((x == null)))){ +if(((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IFind$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IFind,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IFind,x); +} +}); +/** + * Returns true if coll satisfies ISequential + */ +cljs.core.sequential_QMARK_ = (function cljs$core$sequential_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISequential$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.ISequential,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.ISequential,x); +} +}); +/** + * Returns true if coll satisfies ISorted + */ +cljs.core.sorted_QMARK_ = (function cljs$core$sorted_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (268435456))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISorted$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.ISorted,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.ISorted,x); +} +}); +/** + * Returns true if coll satisfies IReduce + */ +cljs.core.reduceable_QMARK_ = (function cljs$core$reduceable_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (524288))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IReduce$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,x); +} +}); +/** + * Return true if x satisfies IMap + */ +cljs.core.map_QMARK_ = (function cljs$core$map_QMARK_(x){ +if((x == null)){ +return false; +} else { +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IMap$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IMap,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IMap,x); +} +} +}); +/** + * Return true if x satisfies IRecord + */ +cljs.core.record_QMARK_ = (function cljs$core$record_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (67108864))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IRecord$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IRecord,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IRecord,x); +} +}); +/** + * Return true if x satisfies IVector + */ +cljs.core.vector_QMARK_ = (function cljs$core$vector_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (16384))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IVector$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IVector,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IVector,x); +} +}); + +/** + * Return true if x satisfies IChunkedSeq. + */ +cljs.core.chunked_seq_QMARK_ = (function cljs$core$chunked_seq_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition1$ & (512))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IChunkedSeq$)))){ +return true; +} else { +return false; +} +} else { +return false; +} +}); +/** + * Create JavaSript object from an even number arguments representing + * interleaved keys and values. + */ +cljs.core.js_obj = (function cljs$core$js_obj(var_args){ +var G__26837 = arguments.length; +switch (G__26837) { +case 0: +return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$0(); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30150 = arguments.length; +var i__5770__auto___30151 = (0); +while(true){ +if((i__5770__auto___30151 < len__5769__auto___30150)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30151])); + +var G__30152 = (i__5770__auto___30151 + (1)); +i__5770__auto___30151 = G__30152; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((0)),(0),null)); +return cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic(argseq__5795__auto__); + +} +}); + +(cljs.core.js_obj.cljs$core$IFn$_invoke$arity$0 = (function (){ +return ({}); +})); + +(cljs.core.js_obj.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ +return (cljs.core.apply.cljs$core$IFn$_invoke$arity$2 ? cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.goog$module$goog$object.create,keyvals) : cljs.core.apply.call(null, cljs.core.goog$module$goog$object.create,keyvals)); +})); + +/** @this {Function} */ +(cljs.core.js_obj.cljs$lang$applyTo = (function (seq26836){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq26836)); +})); + +(cljs.core.js_obj.cljs$lang$maxFixedArity = (0)); + +/** + * Return the JavaScript keys for an object. + */ +cljs.core.js_keys = (function cljs$core$js_keys(obj){ +return cljs.core.goog$module$goog$object.getKeys(obj); +}); +/** + * Delete a property from a JavaScript object. + * Returns true upon success, false otherwise. + */ +cljs.core.js_delete = (function cljs$core$js_delete(obj,key){ +return delete obj[key]; +}); +cljs.core.array_copy = (function cljs$core$array_copy(from,i,to,j,len){ +var i__$1 = i; +var j__$1 = j; +var len__$1 = len; +while(true){ +if((len__$1 === (0))){ +return to; +} else { +(to[j__$1] = (from[i__$1])); + +var G__30153 = (i__$1 + (1)); +var G__30154 = (j__$1 + (1)); +var G__30155 = (len__$1 - (1)); +i__$1 = G__30153; +j__$1 = G__30154; +len__$1 = G__30155; +continue; +} +break; +} +}); +cljs.core.array_copy_downward = (function cljs$core$array_copy_downward(from,i,to,j,len){ +var i__$1 = (i + (len - (1))); +var j__$1 = (j + (len - (1))); +var len__$1 = len; +while(true){ +if((len__$1 === (0))){ +return to; +} else { +(to[j__$1] = (from[i__$1])); + +var G__30156 = (i__$1 - (1)); +var G__30157 = (j__$1 - (1)); +var G__30158 = (len__$1 - (1)); +i__$1 = G__30156; +j__$1 = G__30157; +len__$1 = G__30158; +continue; +} +break; +} +}); +cljs.core.lookup_sentinel = ({}); +/** + * Returns true if x is the value false, false otherwise. + */ +cljs.core.false_QMARK_ = (function cljs$core$false_QMARK_(x){ +return x === false; +}); +/** + * Returns true if x is the value true, false otherwise. + */ +cljs.core.true_QMARK_ = (function cljs$core$true_QMARK_(x){ +return x === true; +}); +/** + * Return true if x is a Boolean + */ +cljs.core.boolean_QMARK_ = (function cljs$core$boolean_QMARK_(x){ +return ((x === true) || (x === false)); +}); +/** + * Returns true if x identical to the JavaScript undefined value. + */ +cljs.core.undefined_QMARK_ = (function cljs$core$undefined_QMARK_(x){ +return (void 0 === x); +}); +/** + * Return true if s satisfies ISeq + */ +cljs.core.seq_QMARK_ = (function cljs$core$seq_QMARK_(s){ +if((s == null)){ +return false; +} else { +if((!((s == null)))){ +if((((s.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === s.cljs$core$ISeq$)))){ +return true; +} else { +if((!s.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.ISeq,s); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.ISeq,s); +} +} +}); +/** + * Return true if the seq function is supported for s + */ +cljs.core.seqable_QMARK_ = (function cljs$core$seqable_QMARK_(s){ +var or__5045__auto__ = (s == null); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (((!((s == null))))?(((((s.cljs$lang$protocol_mask$partition0$ & (8388608))) || ((cljs.core.PROTOCOL_SENTINEL === s.cljs$core$ISeqable$))))?true:(((!s.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.ISeqable,s):false)):cljs.core.native_satisfies_QMARK_(cljs.core.ISeqable,s)); +if(or__5045__auto____$1){ +return or__5045__auto____$1; +} else { +return ((cljs.core.array_QMARK_(s)) || (typeof s === 'string')); +} +} +}); +/** + * Coerce to boolean + */ +cljs.core.boolean$ = (function cljs$core$boolean(x){ +if((x == null)){ +return false; +} else { +if(x === false){ +return false; +} else { +return true; + +} +} +}); +/** + * Returns true if f returns true for fn? or satisfies IFn. + */ +cljs.core.ifn_QMARK_ = (function cljs$core$ifn_QMARK_(f){ +var or__5045__auto__ = cljs.core.fn_QMARK_(f); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +if((!((f == null)))){ +if((((f.cljs$lang$protocol_mask$partition0$ & (1))) || ((cljs.core.PROTOCOL_SENTINEL === f.cljs$core$IFn$)))){ +return true; +} else { +if((!f.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IFn,f); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IFn,f); +} +} +}); +/** + * Returns true if n is a JavaScript number with no decimal part. + */ +cljs.core.integer_QMARK_ = (function cljs$core$integer_QMARK_(n){ +return ((typeof n === 'number') && ((((!(isNaN(n)))) && ((((!((n === Infinity)))) && ((parseFloat(n) === parseInt(n,(10))))))))); +}); +/** + * INTERNAL: do not use + */ +cljs.core.LongImpl = cljs.core.goog$module$goog$math$Long; +/** + * Return true if x satisfies integer? or is an instance of goog.math.Integer + * or goog.math.Long. + */ +cljs.core.int_QMARK_ = (function cljs$core$int_QMARK_(x){ +return ((cljs.core.integer_QMARK_(x)) || ((((x instanceof goog.math.Integer)) || ((x instanceof cljs.core.goog$module$goog$math$Long))))); +}); +/** + * Return true if x satisfies int? and is positive. + */ +cljs.core.pos_int_QMARK_ = (function cljs$core$pos_int_QMARK_(x){ +if(cljs.core.integer_QMARK_(x)){ +return (x > (0)); +} else { +if((x instanceof goog.math.Integer)){ +return ((cljs.core.not(x.isNegative())) && (cljs.core.not(x.isZero()))); +} else { +if((x instanceof cljs.core.goog$module$goog$math$Long)){ +return ((cljs.core.not(x.isNegative())) && (cljs.core.not(x.isZero()))); +} else { +return false; + +} +} +} +}); +/** + * Return true if x satisfies int? and is negative. + */ +cljs.core.neg_int_QMARK_ = (function cljs$core$neg_int_QMARK_(x){ +if(cljs.core.integer_QMARK_(x)){ +return (x < (0)); +} else { +if((x instanceof goog.math.Integer)){ +return x.isNegative(); +} else { +if((x instanceof cljs.core.goog$module$goog$math$Long)){ +return x.isNegative(); +} else { +return false; + +} +} +} +}); +/** + * Return true if x satisfies int? and is a natural integer value. + */ +cljs.core.nat_int_QMARK_ = (function cljs$core$nat_int_QMARK_(x){ +if(cljs.core.integer_QMARK_(x)){ +return (!((x < (0)))); +} else { +if((x instanceof goog.math.Integer)){ +return cljs.core.not(x.isNegative()); +} else { +if((x instanceof cljs.core.goog$module$goog$math$Long)){ +return cljs.core.not(x.isNegative()); +} else { +return false; + +} +} +} +}); +/** + * Returns true for JavaScript numbers, false otherwise. + */ +cljs.core.float_QMARK_ = (function cljs$core$float_QMARK_(x){ +return typeof x === 'number'; +}); +/** + * Returns true for JavaScript numbers, false otherwise. + */ +cljs.core.double_QMARK_ = (function cljs$core$double_QMARK_(x){ +return typeof x === 'number'; +}); +/** + * Returns true for Infinity and -Infinity values. + */ +cljs.core.infinite_QMARK_ = (function cljs$core$infinite_QMARK_(x){ +return (((x === Number.POSITIVE_INFINITY)) || ((x === Number.NEGATIVE_INFINITY))); +}); +/** + * Returns true if key is present in the given collection, otherwise + * returns false. Note that for numerically indexed collections like + * vectors and arrays, this tests if the numeric key is within the + * range of indexes. 'contains?' operates constant or logarithmic time; + * it will not perform a linear search for a value. See also 'some'. + */ +cljs.core.contains_QMARK_ = (function cljs$core$contains_QMARK_(coll,v){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (512))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IAssociative$))))?true:false):false)){ +return coll.cljs$core$IAssociative$_contains_key_QMARK_$arity$2(null, v); +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.IAssociative,coll)){ +return cljs.core._contains_key_QMARK_(coll,v); +} else { +if((cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,v,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ +return false; +} else { +return true; + +} +} +} +}); +/** + * Returns the map entry for key, or nil if key not present. + */ +cljs.core.find = (function cljs$core$find(coll,k){ +if(cljs.core.ifind_QMARK_(coll)){ +return cljs.core._find(coll,k); +} else { +if((((!((coll == null)))) && (((cljs.core.associative_QMARK_(coll)) && (cljs.core.contains_QMARK_(coll,k)))))){ +return (new cljs.core.MapEntry(k,cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,k),null)); +} else { +return null; +} +} +}); +/** + * Returns true if no two of the arguments are = + */ +cljs.core.distinct_QMARK_ = (function cljs$core$distinct_QMARK_(var_args){ +var G__26850 = arguments.length; +switch (G__26850) { +case 1: +return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30209 = arguments.length; +var i__5770__auto___30210 = (0); +while(true){ +if((i__5770__auto___30210 < len__5769__auto___30209)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30210])); + +var G__30211 = (i__5770__auto___30210 + (1)); +i__5770__auto___30210 = G__30211; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return true; +})); + +(cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y))); +})); + +(cljs.core.distinct_QMARK_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)))){ +var s = cljs.core.PersistentHashSet.createAsIfByAssoc([x,y]); +var xs = more; +while(true){ +var x__$1 = cljs.core.first(xs); +var etc = cljs.core.next(xs); +if(cljs.core.truth_(xs)){ +if(cljs.core.contains_QMARK_(s,x__$1)){ +return false; +} else { +var G__30239 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(s,x__$1); +var G__30240 = etc; +s = G__30239; +xs = G__30240; +continue; +} +} else { +return true; +} +break; +} +} else { +return false; +} +})); + +/** @this {Function} */ +(cljs.core.distinct_QMARK_.cljs$lang$applyTo = (function (seq26847){ +var G__26848 = cljs.core.first(seq26847); +var seq26847__$1 = cljs.core.next(seq26847); +var G__26849 = cljs.core.first(seq26847__$1); +var seq26847__$2 = cljs.core.next(seq26847__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26848,G__26849,seq26847__$2); +})); + +(cljs.core.distinct_QMARK_.cljs$lang$maxFixedArity = (2)); + +/** + * Comparator. Returns a negative number, zero, or a positive number + * when x is logically 'less than', 'equal to', or 'greater than' + * y. Uses IComparable if available and google.array.defaultCompare for objects + * of the same type and special-cases nil to be less than any other object. + */ +cljs.core.compare = (function cljs$core$compare(x,y){ +if((x === y)){ +return (0); +} else { +if((x == null)){ +return (-1); +} else { +if((y == null)){ +return (1); +} else { +if(typeof x === 'number'){ +if(typeof y === 'number'){ +return cljs.core.goog$module$goog$array.defaultCompare(x,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +} else { +if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition1$ & (2048))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IComparable$))))?true:(((!x.cljs$lang$protocol_mask$partition1$))?cljs.core.native_satisfies_QMARK_(cljs.core.IComparable,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IComparable,x))){ +return cljs.core._compare(x,y); +} else { +if(((((typeof x === 'string') || (((cljs.core.array_QMARK_(x)) || (((x === true) || (x === false))))))) && ((cljs.core.type(x) === cljs.core.type(y))))){ +return cljs.core.goog$module$goog$array.defaultCompare(x,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} + +} +} +} +} +} +}); +/** + * Compare indexed collection. + */ +cljs.core.compare_indexed = (function cljs$core$compare_indexed(var_args){ +var G__26853 = arguments.length; +switch (G__26853) { +case 2: +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 4: +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2 = (function (xs,ys){ +var xl = cljs.core.count(xs); +var yl = cljs.core.count(ys); +if((xl < yl)){ +return (-1); +} else { +if((xl > yl)){ +return (1); +} else { +if((xl === (0))){ +return (0); +} else { +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4(xs,ys,xl,(0)); + +} +} +} +})); + +(cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4 = (function (xs,ys,len,n){ +while(true){ +var d = cljs.core.compare(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(xs,n),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(ys,n)); +if((((d === (0))) && (((n + (1)) < len)))){ +var G__30250 = xs; +var G__30251 = ys; +var G__30252 = len; +var G__30253 = (n + (1)); +xs = G__30250; +ys = G__30251; +len = G__30252; +n = G__30253; +continue; +} else { +return d; +} +break; +} +})); + +(cljs.core.compare_indexed.cljs$lang$maxFixedArity = 4); + +/** + * Given a fn that might be boolean valued or a comparator, + * return a fn that is a comparator. + */ +cljs.core.fn__GT_comparator = (function cljs$core$fn__GT_comparator(f){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(f,cljs.core.compare)){ +return cljs.core.compare; +} else { +return (function (x,y){ +var r = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null, x,y)); +if(typeof r === 'number'){ +return r; +} else { +if(cljs.core.truth_(r)){ +return (-1); +} else { +if(cljs.core.truth_((f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(y,x) : f.call(null, y,x)))){ +return (1); +} else { +return (0); +} +} +} +}); +} +}); +/** + * Returns a sorted sequence of the items in coll. Comp can be + * boolean-valued comparison function, or a -/0/+ valued comparator. + * Comp defaults to compare. + */ +cljs.core.sort = (function cljs$core$sort(var_args){ +var G__26855 = arguments.length; +switch (G__26855) { +case 1: +return cljs.core.sort.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.sort.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.sort.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +return cljs.core.sort.cljs$core$IFn$_invoke$arity$2(cljs.core.compare,coll); +})); + +(cljs.core.sort.cljs$core$IFn$_invoke$arity$2 = (function (comp,coll){ +if(cljs.core.seq(coll)){ +var a = (cljs.core.to_array.cljs$core$IFn$_invoke$arity$1 ? cljs.core.to_array.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.to_array.call(null, coll)); +cljs.core.goog$module$goog$array.stableSort(a,cljs.core.fn__GT_comparator(comp)); + +return cljs.core.with_meta(cljs.core.seq(a),cljs.core.meta(coll)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.sort.cljs$lang$maxFixedArity = 2); + +/** + * Returns a sorted sequence of the items in coll, where the sort + * order is determined by comparing (keyfn item). Comp can be + * boolean-valued comparison function, or a -/0/+ valued comparator. + * Comp defaults to compare. + */ +cljs.core.sort_by = (function cljs$core$sort_by(var_args){ +var G__26857 = arguments.length; +switch (G__26857) { +case 2: +return cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2 = (function (keyfn,coll){ +return cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3(keyfn,cljs.core.compare,coll); +})); + +(cljs.core.sort_by.cljs$core$IFn$_invoke$arity$3 = (function (keyfn,comp,coll){ +return cljs.core.sort.cljs$core$IFn$_invoke$arity$2((function (x,y){ +var G__26859 = (keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(x) : keyfn.call(null, x)); +var G__26860 = (keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(y) : keyfn.call(null, y)); +var fexpr__26858 = cljs.core.fn__GT_comparator(comp); +return (fexpr__26858.cljs$core$IFn$_invoke$arity$2 ? fexpr__26858.cljs$core$IFn$_invoke$arity$2(G__26859,G__26860) : fexpr__26858.call(null, G__26859,G__26860)); +}),coll); +})); + +(cljs.core.sort_by.cljs$lang$maxFixedArity = 3); + +cljs.core.seq_reduce = (function cljs$core$seq_reduce(var_args){ +var G__26862 = arguments.length; +switch (G__26862) { +case 2: +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +var temp__5821__auto__ = cljs.core.seq(coll); +if(temp__5821__auto__){ +var s = temp__5821__auto__; +var G__26863 = f; +var G__26864 = cljs.core.first(s); +var G__26865 = cljs.core.next(s); +return (cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(G__26863,G__26864,G__26865) : cljs.core.reduce.call(null, G__26863,G__26864,G__26865)); +} else { +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +} +})); + +(cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3 = (function (f,val,coll){ +var val__$1 = val; +var coll__$1 = cljs.core.seq(coll); +while(true){ +if(coll__$1){ +var nval = (function (){var G__26866 = val__$1; +var G__26867 = cljs.core.first(coll__$1); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26866,G__26867) : f.call(null, G__26866,G__26867)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__30285 = nval; +var G__30286 = cljs.core.next(coll__$1); +val__$1 = G__30285; +coll__$1 = G__30286; +continue; +} +} else { +return val__$1; +} +break; +} +})); + +(cljs.core.seq_reduce.cljs$lang$maxFixedArity = 3); + +/** + * Return a random permutation of coll + */ +cljs.core.shuffle = (function cljs$core$shuffle(coll){ +var a = (cljs.core.to_array.cljs$core$IFn$_invoke$arity$1 ? cljs.core.to_array.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.to_array.call(null, coll)); +cljs.core.goog$module$goog$array.shuffle(a); + +return (cljs.core.vec.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vec.cljs$core$IFn$_invoke$arity$1(a) : cljs.core.vec.call(null, a)); +}); +cljs.core.iter_reduce = (function cljs$core$iter_reduce(var_args){ +var G__26869 = arguments.length; +switch (G__26869) { +case 2: +return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2 = (function (coll,f){ +var iter = cljs.core._iterator(coll); +if(cljs.core.truth_(iter.hasNext())){ +var init = iter.next(); +var acc = init; +while(true){ +if(iter.hasNext()){ +var nacc = (function (){var G__26870 = acc; +var G__26871 = iter.next(); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26870,G__26871) : f.call(null, G__26870,G__26871)); +})(); +if(cljs.core.reduced_QMARK_(nacc)){ +return cljs.core.deref(nacc); +} else { +var G__30291 = nacc; +acc = G__30291; +continue; +} +} else { +return acc; +} +break; +} +} else { +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +} +})); + +(cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3 = (function (coll,f,init){ +var iter = cljs.core._iterator(coll); +var acc = init; +while(true){ +if(iter.hasNext()){ +var nacc = (function (){var G__26872 = acc; +var G__26873 = iter.next(); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__26872,G__26873) : f.call(null, G__26872,G__26873)); +})(); +if(cljs.core.reduced_QMARK_(nacc)){ +return cljs.core.deref(nacc); +} else { +var G__30293 = nacc; +acc = G__30293; +continue; +} +} else { +return acc; +} +break; +} +})); + +(cljs.core.iter_reduce.cljs$lang$maxFixedArity = 3); + +/** + * f should be a function of 2 arguments. If val is not supplied, + * returns the result of applying f to the first 2 items in coll, then + * applying f to that result and the 3rd item, etc. If coll contains no + * items, f must accept no arguments as well, and reduce returns the + * result of calling f with no arguments. If coll has only 1 item, it + * is returned and f is not called. If val is supplied, returns the + * result of applying f to val and the first item in coll, then + * applying f to that result and the 2nd item, etc. If coll contains no + * items, returns val and f is not called. + */ +cljs.core.reduce = (function cljs$core$reduce(var_args){ +var G__26875 = arguments.length; +switch (G__26875) { +case 2: +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.reduce.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (524288))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IReduce$))))?true:false):false)){ +return coll.cljs$core$IReduce$_reduce$arity$2(null, f); +} else { +if(cljs.core.array_QMARK_(coll)){ +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2(coll,f); +} else { +if(typeof coll === 'string'){ +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$2(coll,f); +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,coll)){ +return cljs.core._reduce(coll,f); +} else { +if(cljs.core.iterable_QMARK_(coll)){ +return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2(coll,f); +} else { +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll); + +} +} +} +} +} +})); + +(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 = (function (f,val,coll){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (524288))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IReduce$))))?true:false):false)){ +return coll.cljs$core$IReduce$_reduce$arity$3(null, f,val); +} else { +if(cljs.core.array_QMARK_(coll)){ +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3(coll,f,val); +} else { +if(typeof coll === 'string'){ +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$3(coll,f,val); +} else { +if(cljs.core.native_satisfies_QMARK_(cljs.core.IReduce,coll)){ +return cljs.core._reduce(coll,f,val); +} else { +if(cljs.core.iterable_QMARK_(coll)){ +return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3(coll,f,val); +} else { +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,val,coll); + +} +} +} +} +} +})); + +(cljs.core.reduce.cljs$lang$maxFixedArity = 3); + +/** + * Reduces an associative collection. f should be a function of 3 + * arguments. Returns the result of applying f to init, the first key + * and the first value in coll, then applying f to that result and the + * 2nd key and value, etc. If coll contains no entries, returns init + * and f is not called. Note that reduce-kv is supported on vectors, + * where the keys will be the ordinals. + */ +cljs.core.reduce_kv = (function cljs$core$reduce_kv(f,init,coll){ +if((!((coll == null)))){ +return cljs.core._kv_reduce(coll,f,init); +} else { +return init; +} +}); +/** + * Returns its argument. + */ +cljs.core.identity = (function cljs$core$identity(x){ +return x; +}); +/** + * Takes a reducing function f of 2 args and returns a fn suitable for + * transduce by adding an arity-1 signature that calls cf (default - + * identity) on the result argument. + */ +cljs.core.completing = (function cljs$core$completing(var_args){ +var G__26879 = arguments.length; +switch (G__26879) { +case 1: +return cljs.core.completing.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.completing.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.completing.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return cljs.core.completing.cljs$core$IFn$_invoke$arity$2(f,cljs.core.identity); +})); + +(cljs.core.completing.cljs$core$IFn$_invoke$arity$2 = (function (f,cf){ +return (function() { +var G__30348 = null; +var G__30348__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +}); +var G__30348__1 = (function (x){ +return (cf.cljs$core$IFn$_invoke$arity$1 ? cf.cljs$core$IFn$_invoke$arity$1(x) : cf.call(null, x)); +}); +var G__30348__2 = (function (x,y){ +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null, x,y)); +}); +G__30348 = function(x,y){ +switch(arguments.length){ +case 0: +return G__30348__0.call(this); +case 1: +return G__30348__1.call(this,x); +case 2: +return G__30348__2.call(this,x,y); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30348.cljs$core$IFn$_invoke$arity$0 = G__30348__0; +G__30348.cljs$core$IFn$_invoke$arity$1 = G__30348__1; +G__30348.cljs$core$IFn$_invoke$arity$2 = G__30348__2; +return G__30348; +})() +})); + +(cljs.core.completing.cljs$lang$maxFixedArity = 2); + +/** + * reduce with a transformation of f (xf). If init is not + * supplied, (f) will be called to produce it. f should be a reducing + * step function that accepts both 1 and 2 arguments, if it accepts + * only 2 you can add the arity-1 with 'completing'. Returns the result + * of applying (the transformed) xf to init and the first item in coll, + * then applying xf to that result and the 2nd item, etc. If coll + * contains no items, returns init and f is not called. Note that + * certain transforms may inject or skip items. + */ +cljs.core.transduce = (function cljs$core$transduce(var_args){ +var G__26881 = arguments.length; +switch (G__26881) { +case 3: +return cljs.core.transduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.transduce.cljs$core$IFn$_invoke$arity$3 = (function (xform,f,coll){ +return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(xform,f,(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )),coll); +})); + +(cljs.core.transduce.cljs$core$IFn$_invoke$arity$4 = (function (xform,f,init,coll){ +var f__$1 = (xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(f) : xform.call(null, f)); +var ret = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(f__$1,init,coll); +return (f__$1.cljs$core$IFn$_invoke$arity$1 ? f__$1.cljs$core$IFn$_invoke$arity$1(ret) : f__$1.call(null, ret)); +})); + +(cljs.core.transduce.cljs$lang$maxFixedArity = 4); + +/** + * Returns the sum of nums. (+) returns 0. + */ +cljs.core._PLUS_ = (function cljs$core$_PLUS_(var_args){ +var G__26886 = arguments.length; +switch (G__26886) { +case 0: +return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30363 = arguments.length; +var i__5770__auto___30364 = (0); +while(true){ +if((i__5770__auto___30364 < len__5769__auto___30363)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30364])); + +var G__30366 = (i__5770__auto___30364 + (1)); +i__5770__auto___30364 = G__30366; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (0); +})); + +(cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x + y); +})); + +(cljs.core._PLUS_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._PLUS_,(x + y),more); +})); + +/** @this {Function} */ +(cljs.core._PLUS_.cljs$lang$applyTo = (function (seq26883){ +var G__26884 = cljs.core.first(seq26883); +var seq26883__$1 = cljs.core.next(seq26883); +var G__26885 = cljs.core.first(seq26883__$1); +var seq26883__$2 = cljs.core.next(seq26883__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26884,G__26885,seq26883__$2); +})); + +(cljs.core._PLUS_.cljs$lang$maxFixedArity = (2)); + +/** + * If no ys are supplied, returns the negation of x, else subtracts + * the ys from x and returns the result. + */ +cljs.core._ = (function cljs$core$_(var_args){ +var G__26891 = arguments.length; +switch (G__26891) { +case 1: +return cljs.core._.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30377 = arguments.length; +var i__5770__auto___30378 = (0); +while(true){ +if((i__5770__auto___30378 < len__5769__auto___30377)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30378])); + +var G__30379 = (i__5770__auto___30378 + (1)); +i__5770__auto___30378 = G__30379; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (- x); +})); + +(cljs.core._.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x - y); +})); + +(cljs.core._.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._,(x - y),more); +})); + +/** @this {Function} */ +(cljs.core._.cljs$lang$applyTo = (function (seq26888){ +var G__26889 = cljs.core.first(seq26888); +var seq26888__$1 = cljs.core.next(seq26888); +var G__26890 = cljs.core.first(seq26888__$1); +var seq26888__$2 = cljs.core.next(seq26888__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26889,G__26890,seq26888__$2); +})); + +(cljs.core._.cljs$lang$maxFixedArity = (2)); + +/** + * Returns the product of nums. (*) returns 1. + */ +cljs.core._STAR_ = (function cljs$core$_STAR_(var_args){ +var G__26896 = arguments.length; +switch (G__26896) { +case 0: +return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30386 = arguments.length; +var i__5770__auto___30387 = (0); +while(true){ +if((i__5770__auto___30387 < len__5769__auto___30386)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30387])); + +var G__30388 = (i__5770__auto___30387 + (1)); +i__5770__auto___30387 = G__30388; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._STAR_.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (1); +})); + +(cljs.core._STAR_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core._STAR_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x * y); +})); + +(cljs.core._STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._STAR_,(x * y),more); +})); + +/** @this {Function} */ +(cljs.core._STAR_.cljs$lang$applyTo = (function (seq26893){ +var G__26894 = cljs.core.first(seq26893); +var seq26893__$1 = cljs.core.next(seq26893); +var G__26895 = cljs.core.first(seq26893__$1); +var seq26893__$2 = cljs.core.next(seq26893__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26894,G__26895,seq26893__$2); +})); + +(cljs.core._STAR_.cljs$lang$maxFixedArity = (2)); + +/** + * If no denominators are supplied, returns 1/numerator, + * else returns numerator divided by all of the denominators. + */ +cljs.core._SLASH_ = (function cljs$core$_SLASH_(var_args){ +var G__26901 = arguments.length; +switch (G__26901) { +case 1: +return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30408 = arguments.length; +var i__5770__auto___30409 = (0); +while(true){ +if((i__5770__auto___30409 < len__5769__auto___30408)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30409])); + +var G__30411 = (i__5770__auto___30409 + (1)); +i__5770__auto___30409 = G__30411; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return ((1) / x); +})); + +(cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x / y); +})); + +(cljs.core._SLASH_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._SLASH_,(x / y),more); +})); + +/** @this {Function} */ +(cljs.core._SLASH_.cljs$lang$applyTo = (function (seq26898){ +var G__26899 = cljs.core.first(seq26898); +var seq26898__$1 = cljs.core.next(seq26898); +var G__26900 = cljs.core.first(seq26898__$1); +var seq26898__$2 = cljs.core.next(seq26898__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26899,G__26900,seq26898__$2); +})); + +(cljs.core._SLASH_.cljs$lang$maxFixedArity = (2)); + +/** + * Returns non-nil if nums are in monotonically increasing order, + * otherwise false. + */ +cljs.core._LT_ = (function cljs$core$_LT_(var_args){ +var G__26906 = arguments.length; +switch (G__26906) { +case 1: +return cljs.core._LT_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._LT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30416 = arguments.length; +var i__5770__auto___30417 = (0); +while(true){ +if((i__5770__auto___30417 < len__5769__auto___30416)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30417])); + +var G__30418 = (i__5770__auto___30417 + (1)); +i__5770__auto___30417 = G__30418; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._LT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._LT_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return true; +})); + +(cljs.core._LT_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x < y); +})); + +(cljs.core._LT_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +while(true){ +if((x < y)){ +if(cljs.core.next(more)){ +var G__30422 = y; +var G__30423 = cljs.core.first(more); +var G__30424 = cljs.core.next(more); +x = G__30422; +y = G__30423; +more = G__30424; +continue; +} else { +return (y < cljs.core.first(more)); +} +} else { +return false; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core._LT_.cljs$lang$applyTo = (function (seq26903){ +var G__26904 = cljs.core.first(seq26903); +var seq26903__$1 = cljs.core.next(seq26903); +var G__26905 = cljs.core.first(seq26903__$1); +var seq26903__$2 = cljs.core.next(seq26903__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26904,G__26905,seq26903__$2); +})); + +(cljs.core._LT_.cljs$lang$maxFixedArity = (2)); + +/** + * Returns non-nil if nums are in monotonically non-decreasing order, + * otherwise false. + */ +cljs.core._LT__EQ_ = (function cljs$core$_LT__EQ_(var_args){ +var G__26911 = arguments.length; +switch (G__26911) { +case 1: +return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30439 = arguments.length; +var i__5770__auto___30440 = (0); +while(true){ +if((i__5770__auto___30440 < len__5769__auto___30439)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30440])); + +var G__30441 = (i__5770__auto___30440 + (1)); +i__5770__auto___30440 = G__30441; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return true; +})); + +(cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x <= y); +})); + +(cljs.core._LT__EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +while(true){ +if((x <= y)){ +if(cljs.core.next(more)){ +var G__30445 = y; +var G__30446 = cljs.core.first(more); +var G__30447 = cljs.core.next(more); +x = G__30445; +y = G__30446; +more = G__30447; +continue; +} else { +return (y <= cljs.core.first(more)); +} +} else { +return false; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core._LT__EQ_.cljs$lang$applyTo = (function (seq26908){ +var G__26909 = cljs.core.first(seq26908); +var seq26908__$1 = cljs.core.next(seq26908); +var G__26910 = cljs.core.first(seq26908__$1); +var seq26908__$2 = cljs.core.next(seq26908__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26909,G__26910,seq26908__$2); +})); + +(cljs.core._LT__EQ_.cljs$lang$maxFixedArity = (2)); + +/** + * Returns non-nil if nums are in monotonically decreasing order, + * otherwise false. + */ +cljs.core._GT_ = (function cljs$core$_GT_(var_args){ +var G__26916 = arguments.length; +switch (G__26916) { +case 1: +return cljs.core._GT_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._GT_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30454 = arguments.length; +var i__5770__auto___30455 = (0); +while(true){ +if((i__5770__auto___30455 < len__5769__auto___30454)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30455])); + +var G__30457 = (i__5770__auto___30455 + (1)); +i__5770__auto___30455 = G__30457; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._GT_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._GT_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return true; +})); + +(cljs.core._GT_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x > y); +})); + +(cljs.core._GT_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +while(true){ +if((x > y)){ +if(cljs.core.next(more)){ +var G__30461 = y; +var G__30462 = cljs.core.first(more); +var G__30463 = cljs.core.next(more); +x = G__30461; +y = G__30462; +more = G__30463; +continue; +} else { +return (y > cljs.core.first(more)); +} +} else { +return false; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core._GT_.cljs$lang$applyTo = (function (seq26913){ +var G__26914 = cljs.core.first(seq26913); +var seq26913__$1 = cljs.core.next(seq26913); +var G__26915 = cljs.core.first(seq26913__$1); +var seq26913__$2 = cljs.core.next(seq26913__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26914,G__26915,seq26913__$2); +})); + +(cljs.core._GT_.cljs$lang$maxFixedArity = (2)); + +/** + * Returns non-nil if nums are in monotonically non-increasing order, + * otherwise false. + */ +cljs.core._GT__EQ_ = (function cljs$core$_GT__EQ_(var_args){ +var G__26921 = arguments.length; +switch (G__26921) { +case 1: +return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30476 = arguments.length; +var i__5770__auto___30478 = (0); +while(true){ +if((i__5770__auto___30478 < len__5769__auto___30476)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30478])); + +var G__30479 = (i__5770__auto___30478 + (1)); +i__5770__auto___30478 = G__30479; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return true; +})); + +(cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x >= y); +})); + +(cljs.core._GT__EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +while(true){ +if((x >= y)){ +if(cljs.core.next(more)){ +var G__30481 = y; +var G__30482 = cljs.core.first(more); +var G__30483 = cljs.core.next(more); +x = G__30481; +y = G__30482; +more = G__30483; +continue; +} else { +return (y >= cljs.core.first(more)); +} +} else { +return false; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core._GT__EQ_.cljs$lang$applyTo = (function (seq26918){ +var G__26919 = cljs.core.first(seq26918); +var seq26918__$1 = cljs.core.next(seq26918); +var G__26920 = cljs.core.first(seq26918__$1); +var seq26918__$2 = cljs.core.next(seq26918__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26919,G__26920,seq26918__$2); +})); + +(cljs.core._GT__EQ_.cljs$lang$maxFixedArity = (2)); + +/** + * Returns a number one less than num. + */ +cljs.core.dec = (function cljs$core$dec(x){ +return (x - (1)); +}); +/** + * Returns the absolute value of a. + */ +cljs.core.abs = (function cljs$core$abs(a){ +return Math.abs(a); +}); +/** + * Returns the greatest of the nums. + */ +cljs.core.max = (function cljs$core$max(var_args){ +var G__26926 = arguments.length; +switch (G__26926) { +case 1: +return cljs.core.max.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.max.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30487 = arguments.length; +var i__5770__auto___30488 = (0); +while(true){ +if((i__5770__auto___30488 < len__5769__auto___30487)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30488])); + +var G__30489 = (i__5770__auto___30488 + (1)); +i__5770__auto___30488 = G__30489; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.max.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.max.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core.max.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +var x__5130__auto__ = x; +var y__5131__auto__ = y; +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})); + +(cljs.core.max.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.max,(function (){var x__5130__auto__ = x; +var y__5131__auto__ = y; +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})(),more); +})); + +/** @this {Function} */ +(cljs.core.max.cljs$lang$applyTo = (function (seq26923){ +var G__26924 = cljs.core.first(seq26923); +var seq26923__$1 = cljs.core.next(seq26923); +var G__26925 = cljs.core.first(seq26923__$1); +var seq26923__$2 = cljs.core.next(seq26923__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26924,G__26925,seq26923__$2); +})); + +(cljs.core.max.cljs$lang$maxFixedArity = (2)); + +/** + * Returns the least of the nums. + */ +cljs.core.min = (function cljs$core$min(var_args){ +var G__26931 = arguments.length; +switch (G__26931) { +case 1: +return cljs.core.min.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.min.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30496 = arguments.length; +var i__5770__auto___30498 = (0); +while(true){ +if((i__5770__auto___30498 < len__5769__auto___30496)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30498])); + +var G__30499 = (i__5770__auto___30498 + (1)); +i__5770__auto___30498 = G__30499; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.min.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.min.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core.min.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +var x__5133__auto__ = x; +var y__5134__auto__ = y; +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})); + +(cljs.core.min.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.min,(function (){var x__5133__auto__ = x; +var y__5134__auto__ = y; +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})(),more); +})); + +/** @this {Function} */ +(cljs.core.min.cljs$lang$applyTo = (function (seq26928){ +var G__26929 = cljs.core.first(seq26928); +var seq26928__$1 = cljs.core.next(seq26928); +var G__26930 = cljs.core.first(seq26928__$1); +var seq26928__$2 = cljs.core.next(seq26928__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26929,G__26930,seq26928__$2); +})); + +(cljs.core.min.cljs$lang$maxFixedArity = (2)); + +cljs.core.byte$ = (function cljs$core$byte(x){ +return x; +}); +/** + * Coerce to char + */ +cljs.core.char$ = (function cljs$core$char(x){ +if(typeof x === 'number'){ +return String.fromCharCode(x); +} else { +if(((typeof x === 'string') && ((x.length === (1))))){ +return x; +} else { +throw (new Error("Argument to char must be a character or number")); + +} +} +}); +cljs.core.short$ = (function cljs$core$short(x){ +return x; +}); +cljs.core.float$ = (function cljs$core$float(x){ +return x; +}); +cljs.core.double$ = (function cljs$core$double(x){ +return x; +}); +cljs.core.unchecked_byte = (function cljs$core$unchecked_byte(x){ +return x; +}); +cljs.core.unchecked_char = (function cljs$core$unchecked_char(x){ +return x; +}); +cljs.core.unchecked_short = (function cljs$core$unchecked_short(x){ +return x; +}); +cljs.core.unchecked_float = (function cljs$core$unchecked_float(x){ +return x; +}); +cljs.core.unchecked_double = (function cljs$core$unchecked_double(x){ +return x; +}); +/** + * Returns the sum of nums. (+) returns 0. + */ +cljs.core.unchecked_add = (function cljs$core$unchecked_add(var_args){ +var G__26936 = arguments.length; +switch (G__26936) { +case 0: +return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30513 = arguments.length; +var i__5770__auto___30514 = (0); +while(true){ +if((i__5770__auto___30514 < len__5769__auto___30513)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30514])); + +var G__30517 = (i__5770__auto___30514 + (1)); +i__5770__auto___30514 = G__30517; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (0); +})); + +(cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x + y); +})); + +(cljs.core.unchecked_add.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_add,(x + y),more); +})); + +/** @this {Function} */ +(cljs.core.unchecked_add.cljs$lang$applyTo = (function (seq26933){ +var G__26934 = cljs.core.first(seq26933); +var seq26933__$1 = cljs.core.next(seq26933); +var G__26935 = cljs.core.first(seq26933__$1); +var seq26933__$2 = cljs.core.next(seq26933__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26934,G__26935,seq26933__$2); +})); + +(cljs.core.unchecked_add.cljs$lang$maxFixedArity = (2)); + +/** + * Returns the sum of nums. (+) returns 0. + */ +cljs.core.unchecked_add_int = (function cljs$core$unchecked_add_int(var_args){ +var G__26941 = arguments.length; +switch (G__26941) { +case 0: +return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30522 = arguments.length; +var i__5770__auto___30523 = (0); +while(true){ +if((i__5770__auto___30523 < len__5769__auto___30522)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30523])); + +var G__30524 = (i__5770__auto___30523 + (1)); +i__5770__auto___30523 = G__30524; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (0); +})); + +(cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x + y); +})); + +(cljs.core.unchecked_add_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_add_int,(x + y),more); +})); + +/** @this {Function} */ +(cljs.core.unchecked_add_int.cljs$lang$applyTo = (function (seq26938){ +var G__26939 = cljs.core.first(seq26938); +var seq26938__$1 = cljs.core.next(seq26938); +var G__26940 = cljs.core.first(seq26938__$1); +var seq26938__$2 = cljs.core.next(seq26938__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26939,G__26940,seq26938__$2); +})); + +(cljs.core.unchecked_add_int.cljs$lang$maxFixedArity = (2)); + +/** + * Returns a number one less than x, an int. + */ +cljs.core.unchecked_dec = (function cljs$core$unchecked_dec(x){ +return (x - (1)); +}); +/** + * Returns a number one less than x, an int. + */ +cljs.core.unchecked_dec_int = (function cljs$core$unchecked_dec_int(x){ +return (x - (1)); +}); +/** + * If no denominators are supplied, returns 1/numerator, + * else returns numerator divided by all of the denominators. + */ +cljs.core.unchecked_divide_int = (function cljs$core$unchecked_divide_int(var_args){ +var G__26946 = arguments.length; +switch (G__26946) { +case 1: +return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30557 = arguments.length; +var i__5770__auto___30558 = (0); +while(true){ +if((i__5770__auto___30558 < len__5769__auto___30557)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30558])); + +var G__30560 = (i__5770__auto___30558 + (1)); +i__5770__auto___30558 = G__30560; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return ((1) / x); +})); + +(cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x / y); +})); + +(cljs.core.unchecked_divide_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_divide_int,(x / y),more); +})); + +/** @this {Function} */ +(cljs.core.unchecked_divide_int.cljs$lang$applyTo = (function (seq26943){ +var G__26944 = cljs.core.first(seq26943); +var seq26943__$1 = cljs.core.next(seq26943); +var G__26945 = cljs.core.first(seq26943__$1); +var seq26943__$2 = cljs.core.next(seq26943__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26944,G__26945,seq26943__$2); +})); + +(cljs.core.unchecked_divide_int.cljs$lang$maxFixedArity = (2)); + +cljs.core.unchecked_inc = (function cljs$core$unchecked_inc(x){ +return (x + (1)); +}); +cljs.core.unchecked_inc_int = (function cljs$core$unchecked_inc_int(x){ +return (x + (1)); +}); +/** + * Returns the product of nums. (*) returns 1. + */ +cljs.core.unchecked_multiply = (function cljs$core$unchecked_multiply(var_args){ +var G__26951 = arguments.length; +switch (G__26951) { +case 0: +return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30564 = arguments.length; +var i__5770__auto___30567 = (0); +while(true){ +if((i__5770__auto___30567 < len__5769__auto___30564)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30567])); + +var G__30568 = (i__5770__auto___30567 + (1)); +i__5770__auto___30567 = G__30568; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (1); +})); + +(cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x * y); +})); + +(cljs.core.unchecked_multiply.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_multiply,(x * y),more); +})); + +/** @this {Function} */ +(cljs.core.unchecked_multiply.cljs$lang$applyTo = (function (seq26948){ +var G__26949 = cljs.core.first(seq26948); +var seq26948__$1 = cljs.core.next(seq26948); +var G__26950 = cljs.core.first(seq26948__$1); +var seq26948__$2 = cljs.core.next(seq26948__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26949,G__26950,seq26948__$2); +})); + +(cljs.core.unchecked_multiply.cljs$lang$maxFixedArity = (2)); + +/** + * Returns the product of nums. (*) returns 1. + */ +cljs.core.unchecked_multiply_int = (function cljs$core$unchecked_multiply_int(var_args){ +var G__26956 = arguments.length; +switch (G__26956) { +case 0: +return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30576 = arguments.length; +var i__5770__auto___30577 = (0); +while(true){ +if((i__5770__auto___30577 < len__5769__auto___30576)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30577])); + +var G__30578 = (i__5770__auto___30577 + (1)); +i__5770__auto___30577 = G__30578; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (1); +})); + +(cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return x; +})); + +(cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x * y); +})); + +(cljs.core.unchecked_multiply_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_multiply_int,(x * y),more); +})); + +/** @this {Function} */ +(cljs.core.unchecked_multiply_int.cljs$lang$applyTo = (function (seq26953){ +var G__26954 = cljs.core.first(seq26953); +var seq26953__$1 = cljs.core.next(seq26953); +var G__26955 = cljs.core.first(seq26953__$1); +var seq26953__$2 = cljs.core.next(seq26953__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26954,G__26955,seq26953__$2); +})); + +(cljs.core.unchecked_multiply_int.cljs$lang$maxFixedArity = (2)); + +cljs.core.unchecked_negate = (function cljs$core$unchecked_negate(x){ +return (- x); +}); +cljs.core.unchecked_negate_int = (function cljs$core$unchecked_negate_int(x){ +return (- x); +}); +cljs.core.unchecked_remainder_int = (function cljs$core$unchecked_remainder_int(x,n){ +return (cljs.core.mod.cljs$core$IFn$_invoke$arity$2 ? cljs.core.mod.cljs$core$IFn$_invoke$arity$2(x,n) : cljs.core.mod.call(null, x,n)); +}); +/** + * If no ys are supplied, returns the negation of x, else subtracts + * the ys from x and returns the result. + */ +cljs.core.unchecked_subtract = (function cljs$core$unchecked_subtract(var_args){ +var G__26961 = arguments.length; +switch (G__26961) { +case 1: +return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30583 = arguments.length; +var i__5770__auto___30584 = (0); +while(true){ +if((i__5770__auto___30584 < len__5769__auto___30583)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30584])); + +var G__30585 = (i__5770__auto___30584 + (1)); +i__5770__auto___30584 = G__30585; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (- x); +})); + +(cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x - y); +})); + +(cljs.core.unchecked_subtract.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_subtract,(x - y),more); +})); + +/** @this {Function} */ +(cljs.core.unchecked_subtract.cljs$lang$applyTo = (function (seq26958){ +var G__26959 = cljs.core.first(seq26958); +var seq26958__$1 = cljs.core.next(seq26958); +var G__26960 = cljs.core.first(seq26958__$1); +var seq26958__$2 = cljs.core.next(seq26958__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26959,G__26960,seq26958__$2); +})); + +(cljs.core.unchecked_subtract.cljs$lang$maxFixedArity = (2)); + +/** + * If no ys are supplied, returns the negation of x, else subtracts + * the ys from x and returns the result. + */ +cljs.core.unchecked_subtract_int = (function cljs$core$unchecked_subtract_int(var_args){ +var G__26966 = arguments.length; +switch (G__26966) { +case 1: +return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30589 = arguments.length; +var i__5770__auto___30590 = (0); +while(true){ +if((i__5770__auto___30590 < len__5769__auto___30589)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30590])); + +var G__30592 = (i__5770__auto___30590 + (1)); +i__5770__auto___30590 = G__30592; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (- x); +})); + +(cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x - y); +})); + +(cljs.core.unchecked_subtract_int.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.unchecked_subtract_int,(x - y),more); +})); + +/** @this {Function} */ +(cljs.core.unchecked_subtract_int.cljs$lang$applyTo = (function (seq26963){ +var G__26964 = cljs.core.first(seq26963); +var seq26963__$1 = cljs.core.next(seq26963); +var G__26965 = cljs.core.first(seq26963__$1); +var seq26963__$2 = cljs.core.next(seq26963__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26964,G__26965,seq26963__$2); +})); + +(cljs.core.unchecked_subtract_int.cljs$lang$maxFixedArity = (2)); + +cljs.core.fix = (function cljs$core$fix(q){ +if((q >= (0))){ +return Math.floor(q); +} else { +return Math.ceil(q); +} +}); +/** + * Coerce to int by stripping decimal places. + */ +cljs.core.int$ = (function cljs$core$int(x){ +return (x | (0)); +}); +/** + * Coerce to int by stripping decimal places. + */ +cljs.core.unchecked_int = (function cljs$core$unchecked_int(x){ +return cljs.core.fix(x); +}); +/** + * Coerce to long by stripping decimal places. Identical to `int'. + */ +cljs.core.long$ = (function cljs$core$long(x){ +return cljs.core.fix(x); +}); +/** + * Coerce to long by stripping decimal places. Identical to `int'. + */ +cljs.core.unchecked_long = (function cljs$core$unchecked_long(x){ +return cljs.core.fix(x); +}); +cljs.core.booleans = (function cljs$core$booleans(x){ +return x; +}); +cljs.core.bytes = (function cljs$core$bytes(x){ +return x; +}); +cljs.core.chars = (function cljs$core$chars(x){ +return x; +}); +cljs.core.shorts = (function cljs$core$shorts(x){ +return x; +}); +cljs.core.ints = (function cljs$core$ints(x){ +return x; +}); +cljs.core.floats = (function cljs$core$floats(x){ +return x; +}); +cljs.core.doubles = (function cljs$core$doubles(x){ +return x; +}); +cljs.core.longs = (function cljs$core$longs(x){ +return x; +}); +/** + * Modulus of num and div with original javascript behavior. i.e. bug for negative numbers + */ +cljs.core.js_mod = (function cljs$core$js_mod(n,d){ +return (n % d); +}); +/** + * Modulus of num and div. Truncates toward negative infinity. + */ +cljs.core.mod = (function cljs$core$mod(n,d){ +return (((n % d) + d) % d); +}); +/** + * quot[ient] of dividing numerator by denominator. + */ +cljs.core.quot = (function cljs$core$quot(n,d){ +var rem = (n % d); +return cljs.core.fix(((n - rem) / d)); +}); +/** + * remainder of dividing numerator by denominator. + */ +cljs.core.rem = (function cljs$core$rem(n,d){ +var q = cljs.core.quot(n,d); +return (n - (d * q)); +}); +/** + * Bitwise exclusive or + */ +cljs.core.bit_xor = (function cljs$core$bit_xor(var_args){ +var G__26971 = arguments.length; +switch (G__26971) { +case 2: +return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30601 = arguments.length; +var i__5770__auto___30602 = (0); +while(true){ +if((i__5770__auto___30602 < len__5769__auto___30601)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30602])); + +var G__30604 = (i__5770__auto___30602 + (1)); +i__5770__auto___30602 = G__30604; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x ^ y); +})); + +(cljs.core.bit_xor.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_xor,(x ^ y),more); +})); + +/** @this {Function} */ +(cljs.core.bit_xor.cljs$lang$applyTo = (function (seq26968){ +var G__26969 = cljs.core.first(seq26968); +var seq26968__$1 = cljs.core.next(seq26968); +var G__26970 = cljs.core.first(seq26968__$1); +var seq26968__$2 = cljs.core.next(seq26968__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26969,G__26970,seq26968__$2); +})); + +(cljs.core.bit_xor.cljs$lang$maxFixedArity = (2)); + +/** + * Bitwise and + */ +cljs.core.bit_and = (function cljs$core$bit_and(var_args){ +var G__26976 = arguments.length; +switch (G__26976) { +case 2: +return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30606 = arguments.length; +var i__5770__auto___30607 = (0); +while(true){ +if((i__5770__auto___30607 < len__5769__auto___30606)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30607])); + +var G__30608 = (i__5770__auto___30607 + (1)); +i__5770__auto___30607 = G__30608; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.bit_and.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.bit_and.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x & y); +})); + +(cljs.core.bit_and.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_and,(x & y),more); +})); + +/** @this {Function} */ +(cljs.core.bit_and.cljs$lang$applyTo = (function (seq26973){ +var G__26974 = cljs.core.first(seq26973); +var seq26973__$1 = cljs.core.next(seq26973); +var G__26975 = cljs.core.first(seq26973__$1); +var seq26973__$2 = cljs.core.next(seq26973__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26974,G__26975,seq26973__$2); +})); + +(cljs.core.bit_and.cljs$lang$maxFixedArity = (2)); + +/** + * Bitwise or + */ +cljs.core.bit_or = (function cljs$core$bit_or(var_args){ +var G__26981 = arguments.length; +switch (G__26981) { +case 2: +return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30610 = arguments.length; +var i__5770__auto___30611 = (0); +while(true){ +if((i__5770__auto___30611 < len__5769__auto___30610)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30611])); + +var G__30612 = (i__5770__auto___30611 + (1)); +i__5770__auto___30611 = G__30612; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.bit_or.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.bit_or.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x | y); +})); + +(cljs.core.bit_or.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_or,(x | y),more); +})); + +/** @this {Function} */ +(cljs.core.bit_or.cljs$lang$applyTo = (function (seq26978){ +var G__26979 = cljs.core.first(seq26978); +var seq26978__$1 = cljs.core.next(seq26978); +var G__26980 = cljs.core.first(seq26978__$1); +var seq26978__$2 = cljs.core.next(seq26978__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26979,G__26980,seq26978__$2); +})); + +(cljs.core.bit_or.cljs$lang$maxFixedArity = (2)); + +/** + * Bitwise and with complement + */ +cljs.core.bit_and_not = (function cljs$core$bit_and_not(var_args){ +var G__26986 = arguments.length; +switch (G__26986) { +case 2: +return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30614 = arguments.length; +var i__5770__auto___30615 = (0); +while(true){ +if((i__5770__auto___30615 < len__5769__auto___30614)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30615])); + +var G__30616 = (i__5770__auto___30615 + (1)); +i__5770__auto___30615 = G__30616; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (x & ~y); +})); + +(cljs.core.bit_and_not.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.bit_and_not,(x & ~y),more); +})); + +/** @this {Function} */ +(cljs.core.bit_and_not.cljs$lang$applyTo = (function (seq26983){ +var G__26984 = cljs.core.first(seq26983); +var seq26983__$1 = cljs.core.next(seq26983); +var G__26985 = cljs.core.first(seq26983__$1); +var seq26983__$2 = cljs.core.next(seq26983__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26984,G__26985,seq26983__$2); +})); + +(cljs.core.bit_and_not.cljs$lang$maxFixedArity = (2)); + +/** + * Clear bit at index n + */ +cljs.core.bit_clear = (function cljs$core$bit_clear(x,n){ +return (x & ~(1 << n)); +}); +/** + * Flip bit at index n + */ +cljs.core.bit_flip = (function cljs$core$bit_flip(x,n){ +return (x ^ (1 << n)); +}); +/** + * Bitwise complement + */ +cljs.core.bit_not = (function cljs$core$bit_not(x){ +return (~ x); +}); +/** + * Set bit at index n + */ +cljs.core.bit_set = (function cljs$core$bit_set(x,n){ +return (x | (1 << n)); +}); +/** + * Test bit at index n + */ +cljs.core.bit_test = (function cljs$core$bit_test(x,n){ +return ((x & (1 << n)) != 0); +}); +/** + * Bitwise shift left + */ +cljs.core.bit_shift_left = (function cljs$core$bit_shift_left(x,n){ +return (x << n); +}); +/** + * Bitwise shift right + */ +cljs.core.bit_shift_right = (function cljs$core$bit_shift_right(x,n){ +return (x >> n); +}); +/** + * DEPRECATED: Bitwise shift right with zero fill + */ +cljs.core.bit_shift_right_zero_fill = (function cljs$core$bit_shift_right_zero_fill(x,n){ +return (x >>> n); +}); +/** + * Bitwise shift right with zero fill + */ +cljs.core.unsigned_bit_shift_right = (function cljs$core$unsigned_bit_shift_right(x,n){ +return (x >>> n); +}); +/** + * Counts the number of bits set in n + */ +cljs.core.bit_count = (function cljs$core$bit_count(v){ +var v__$1 = (v - ((v >> (1)) & (1431655765))); +var v__$2 = ((v__$1 & (858993459)) + ((v__$1 >> (2)) & (858993459))); +return ((((v__$2 + (v__$2 >> (4))) & (252645135)) * (16843009)) >> (24)); +}); +/** + * Returns non-nil if nums all have the equivalent + * value, otherwise false. Behavior on non nums is + * undefined. + */ +cljs.core._EQ__EQ_ = (function cljs$core$_EQ__EQ_(var_args){ +var G__26991 = arguments.length; +switch (G__26991) { +case 1: +return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30623 = arguments.length; +var i__5770__auto___30624 = (0); +while(true){ +if((i__5770__auto___30624 < len__5769__auto___30623)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30624])); + +var G__30625 = (i__5770__auto___30624 + (1)); +i__5770__auto___30624 = G__30625; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return true; +})); + +(cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return cljs.core._equiv(x,y); +})); + +(cljs.core._EQ__EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +while(true){ +if((x === y)){ +if(cljs.core.next(more)){ +var G__30628 = y; +var G__30629 = cljs.core.first(more); +var G__30630 = cljs.core.next(more); +x = G__30628; +y = G__30629; +more = G__30630; +continue; +} else { +return (y === cljs.core.first(more)); +} +} else { +return false; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core._EQ__EQ_.cljs$lang$applyTo = (function (seq26988){ +var G__26989 = cljs.core.first(seq26988); +var seq26988__$1 = cljs.core.next(seq26988); +var G__26990 = cljs.core.first(seq26988__$1); +var seq26988__$2 = cljs.core.next(seq26988__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26989,G__26990,seq26988__$2); +})); + +(cljs.core._EQ__EQ_.cljs$lang$maxFixedArity = (2)); + +/** + * Returns true if num is greater than zero, else false + */ +cljs.core.pos_QMARK_ = (function cljs$core$pos_QMARK_(x){ +return (x > (0)); +}); +/** + * Returns true if num is zero, else false + */ +cljs.core.zero_QMARK_ = (function cljs$core$zero_QMARK_(x){ +return (x === (0)); +}); +/** + * Returns true if num is less than zero, else false + */ +cljs.core.neg_QMARK_ = (function cljs$core$neg_QMARK_(x){ +return (x < (0)); +}); +/** + * Returns the nth next of coll, (seq coll) when n is 0. + */ +cljs.core.nthnext = (function cljs$core$nthnext(coll,n){ +var n__$1 = n; +var xs = cljs.core.seq(coll); +while(true){ +if(((xs) && ((n__$1 > (0))))){ +var G__30635 = (n__$1 - (1)); +var G__30636 = cljs.core.next(xs); +n__$1 = G__30635; +xs = G__30636; +continue; +} else { +return xs; +} +break; +} +}); +/** + * With no args, returns the empty string. With one arg x, returns + * x.toString(). (str nil) returns the empty string. With more than + * one arg, returns the concatenation of the str values of the args. + */ +cljs.core.str = (function cljs$core$str(var_args){ +var G__26995 = arguments.length; +switch (G__26995) { +case 0: +return cljs.core.str.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30638 = arguments.length; +var i__5770__auto___30639 = (0); +while(true){ +if((i__5770__auto___30639 < len__5769__auto___30638)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30639])); + +var G__30640 = (i__5770__auto___30639 + (1)); +i__5770__auto___30639 = G__30640; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs.core.str.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs.core.str.cljs$core$IFn$_invoke$arity$0 = (function (){ +return ""; +})); + +(cljs.core.str.cljs$core$IFn$_invoke$arity$1 = (function (x){ +if((x == null)){ +return ""; +} else { +return [x].join(""); +} +})); + +(cljs.core.str.cljs$core$IFn$_invoke$arity$variadic = (function (x,ys){ +var sb = (new goog.string.StringBuffer(cljs.core.str.cljs$core$IFn$_invoke$arity$1(x))); +var more = ys; +while(true){ +if(cljs.core.truth_(more)){ +var G__30642 = sb.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(more))); +var G__30643 = cljs.core.next(more); +sb = G__30642; +more = G__30643; +continue; +} else { +return sb.toString(); +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.str.cljs$lang$applyTo = (function (seq26993){ +var G__26994 = cljs.core.first(seq26993); +var seq26993__$1 = cljs.core.next(seq26993); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__26994,seq26993__$1); +})); + +(cljs.core.str.cljs$lang$maxFixedArity = (1)); + +/** + * Returns the substring of s beginning at start inclusive, and ending + * at end (defaults to length of string), exclusive. + */ +cljs.core.subs = (function cljs$core$subs(var_args){ +var G__26997 = arguments.length; +switch (G__26997) { +case 2: +return cljs.core.subs.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.subs.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.subs.cljs$core$IFn$_invoke$arity$2 = (function (s,start){ +return s.substring(start); +})); + +(cljs.core.subs.cljs$core$IFn$_invoke$arity$3 = (function (s,start,end){ +return s.substring(start,end); +})); + +(cljs.core.subs.cljs$lang$maxFixedArity = 3); + + +/** + * Assumes x is sequential. Returns true if x equals y, otherwise + * returns false. + */ +cljs.core.equiv_sequential = (function cljs$core$equiv_sequential(x,y){ +return cljs.core.boolean$(((cljs.core.sequential_QMARK_(y))?((((cljs.core.counted_QMARK_(x)) && (((cljs.core.counted_QMARK_(y)) && ((!((cljs.core.count(x) === cljs.core.count(y)))))))))?false:(function (){var xs = cljs.core.seq(x); +var ys = cljs.core.seq(y); +while(true){ +if((xs == null)){ +return (ys == null); +} else { +if((ys == null)){ +return false; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.first(xs),cljs.core.first(ys))){ +var G__30645 = cljs.core.next(xs); +var G__30646 = cljs.core.next(ys); +xs = G__30645; +ys = G__30646; +continue; +} else { +return false; + +} +} +} +break; +} +})()):null)); +}); +cljs.core.hash_coll = (function cljs$core$hash_coll(coll){ +if(cljs.core.seq(coll)){ +var res = cljs.core.hash(cljs.core.first(coll)); +var s = cljs.core.next(coll); +while(true){ +if((s == null)){ +return res; +} else { +var G__30647 = cljs.core.hash_combine(res,cljs.core.hash(cljs.core.first(s))); +var G__30648 = cljs.core.next(s); +res = G__30647; +s = G__30648; +continue; +} +break; +} +} else { +return (0); +} +}); + +cljs.core.hash_imap = (function cljs$core$hash_imap(m){ +var h = (0); +var s = cljs.core.seq(m); +while(true){ +if(s){ +var e = cljs.core.first(s); +var G__30649 = ((h + (cljs.core.hash((cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.key.call(null, e))) ^ cljs.core.hash((cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.val.call(null, e))))) % (4503599627370496)); +var G__30650 = cljs.core.next(s); +h = G__30649; +s = G__30650; +continue; +} else { +return h; +} +break; +} +}); +cljs.core.hash_iset = (function cljs$core$hash_iset(s){ +var h = (0); +var s__$1 = cljs.core.seq(s); +while(true){ +if(s__$1){ +var e = cljs.core.first(s__$1); +var G__30652 = ((h + cljs.core.hash(e)) % (4503599627370496)); +var G__30653 = cljs.core.next(s__$1); +h = G__30652; +s__$1 = G__30653; +continue; +} else { +return h; +} +break; +} +}); + + +/** + * Takes a JavaScript object and a map of names to functions and + * attaches said functions as methods on the object. Any references to + * JavaScript's implicit this (via the this-as macro) will resolve to the + * object that the function is attached. + */ +cljs.core.extend_object_BANG_ = (function cljs$core$extend_object_BANG_(obj,fn_map){ +var seq__26998_30654 = cljs.core.seq(fn_map); +var chunk__26999_30655 = null; +var count__27000_30656 = (0); +var i__27001_30657 = (0); +while(true){ +if((i__27001_30657 < count__27000_30656)){ +var vec__27008_30658 = chunk__26999_30655.cljs$core$IIndexed$_nth$arity$2(null, i__27001_30657); +var key_name_30659 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27008_30658,(0),null); +var f_30660 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27008_30658,(1),null); +var str_name_30661 = (cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(key_name_30659) : cljs.core.name.call(null, key_name_30659)); +cljs.core.goog$module$goog$object.set(obj,str_name_30661,f_30660); + + +var G__30662 = seq__26998_30654; +var G__30663 = chunk__26999_30655; +var G__30664 = count__27000_30656; +var G__30665 = (i__27001_30657 + (1)); +seq__26998_30654 = G__30662; +chunk__26999_30655 = G__30663; +count__27000_30656 = G__30664; +i__27001_30657 = G__30665; +continue; +} else { +var temp__5823__auto___30666 = cljs.core.seq(seq__26998_30654); +if(temp__5823__auto___30666){ +var seq__26998_30667__$1 = temp__5823__auto___30666; +if(cljs.core.chunked_seq_QMARK_(seq__26998_30667__$1)){ +var c__5568__auto___30668 = (cljs.core.chunk_first.cljs$core$IFn$_invoke$arity$1 ? cljs.core.chunk_first.cljs$core$IFn$_invoke$arity$1(seq__26998_30667__$1) : cljs.core.chunk_first.call(null, seq__26998_30667__$1)); +var G__30669 = (cljs.core.chunk_rest.cljs$core$IFn$_invoke$arity$1 ? cljs.core.chunk_rest.cljs$core$IFn$_invoke$arity$1(seq__26998_30667__$1) : cljs.core.chunk_rest.call(null, seq__26998_30667__$1)); +var G__30670 = c__5568__auto___30668; +var G__30671 = cljs.core.count(c__5568__auto___30668); +var G__30672 = (0); +seq__26998_30654 = G__30669; +chunk__26999_30655 = G__30670; +count__27000_30656 = G__30671; +i__27001_30657 = G__30672; +continue; +} else { +var vec__27011_30673 = cljs.core.first(seq__26998_30667__$1); +var key_name_30674 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27011_30673,(0),null); +var f_30675 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27011_30673,(1),null); +var str_name_30676 = (cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(key_name_30674) : cljs.core.name.call(null, key_name_30674)); +cljs.core.goog$module$goog$object.set(obj,str_name_30676,f_30675); + + +var G__30677 = cljs.core.next(seq__26998_30667__$1); +var G__30678 = null; +var G__30679 = (0); +var G__30680 = (0); +seq__26998_30654 = G__30677; +chunk__26999_30655 = G__30678; +count__27000_30656 = G__30679; +i__27001_30657 = G__30680; +continue; +} +} else { +} +} +break; +} + +return obj; +}); + +/** +* @constructor + * @implements {cljs.core.IList} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ASeq} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.List = (function (meta,first,rest,count,__hash){ +this.meta = meta; +this.first = first; +this.rest = rest; +this.count = count; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 65937646; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs.core.List.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.List.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.List.prototype.indexOf = (function() { +var G__30683 = null; +var G__30683__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__30683__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30683 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30683__1.call(this,x); +case 2: +return G__30683__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30683.cljs$core$IFn$_invoke$arity$1 = G__30683__1; +G__30683.cljs$core$IFn$_invoke$arity$2 = G__30683__2; +return G__30683; +})() +); + +(cljs.core.List.prototype.lastIndexOf = (function() { +var G__30686 = null; +var G__30686__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,self__.count); +}); +var G__30686__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30686 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30686__1.call(this,x); +case 2: +return G__30686__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30686.cljs$core$IFn$_invoke$arity$1 = G__30686__1; +G__30686.cljs$core$IFn$_invoke$arity$2 = G__30686__2; +return G__30686; +})() +); + +(cljs.core.List.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.List.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.List(self__.meta,self__.first,self__.rest,self__.count,self__.__hash)); +})); + +(cljs.core.List.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.count === (1))){ +return null; +} else { +return self__.rest; +} +})); + +(cljs.core.List.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.count; +})); + +(cljs.core.List.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.first; +})); + +(cljs.core.List.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ISeq$_rest$arity$1(null, ); +})); + +(cljs.core.List.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.List.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.List.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); +})); + +(cljs.core.List.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.List.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.List.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.first; +})); + +(cljs.core.List.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.count === (1))){ +return cljs.core.List.EMPTY; +} else { +return self__.rest; +} +})); + +(cljs.core.List.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.List.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.List(new_meta,self__.first,self__.rest,self__.count,self__.__hash)); +} +})); + +(cljs.core.List.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.List(self__.meta,o,coll__$1,(self__.count + (1)),null)); +})); + +(cljs.core.List.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"first","first",996428481,null),new cljs.core.Symbol(null,"rest","rest",398835108,null),new cljs.core.Symbol(null,"count","count",-514511684,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.List.cljs$lang$type = true); + +(cljs.core.List.cljs$lang$ctorStr = "cljs.core/List"); + +(cljs.core.List.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/List"); +})); + +/** + * Positional factory function for cljs.core/List. + */ +cljs.core.__GT_List = (function cljs$core$__GT_List(meta,first,rest,count,__hash){ +return (new cljs.core.List(meta,first,rest,count,__hash)); +}); + +/** + * Returns true if x implements IList + */ +cljs.core.list_QMARK_ = (function cljs$core$list_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (33554432))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IList$)))){ +return true; +} else { +if((!x.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IList,x); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IList,x); +} +}); +(cljs.core.List.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IList} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.EmptyList = (function (meta){ +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 65937614; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs.core.EmptyList.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.EmptyList.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.EmptyList.prototype.indexOf = (function() { +var G__30714 = null; +var G__30714__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__30714__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30714 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30714__1.call(this,x); +case 2: +return G__30714__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30714.cljs$core$IFn$_invoke$arity$1 = G__30714__1; +G__30714.cljs$core$IFn$_invoke$arity$2 = G__30714__2; +return G__30714; +})() +); + +(cljs.core.EmptyList.prototype.lastIndexOf = (function() { +var G__30717 = null; +var G__30717__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__30717__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30717 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30717__1.call(this,x); +case 2: +return G__30717__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30717.cljs$core$IFn$_invoke$arity$1 = G__30717__1; +G__30717.cljs$core$IFn$_invoke$arity$2 = G__30717__2; +return G__30717; +})() +); + +(cljs.core.EmptyList.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.EmptyList.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.EmptyList(self__.meta)); +})); + +(cljs.core.EmptyList.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return null; +})); + +(cljs.core.EmptyList.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (0); +})); + +(cljs.core.EmptyList.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return null; +})); + +(cljs.core.EmptyList.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +throw (new Error("Can't pop empty list")); +})); + +(cljs.core.EmptyList.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.empty_ordered_hash; +})); + +(cljs.core.EmptyList.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +if(((cljs.core.list_QMARK_(other)) || (cljs.core.sequential_QMARK_(other)))){ +return (cljs.core.seq(other) == null); +} else { +return false; +} +})); + +(cljs.core.EmptyList.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.EmptyList.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.EmptyList.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.EmptyList.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return null; +})); + +(cljs.core.EmptyList.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.EmptyList.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return null; +})); + +(cljs.core.EmptyList.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.EmptyList(new_meta)); +} +})); + +(cljs.core.EmptyList.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.List(self__.meta,o,null,(1),null)); +})); + +(cljs.core.EmptyList.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +})); + +(cljs.core.EmptyList.cljs$lang$type = true); + +(cljs.core.EmptyList.cljs$lang$ctorStr = "cljs.core/EmptyList"); + +(cljs.core.EmptyList.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/EmptyList"); +})); + +/** + * Positional factory function for cljs.core/EmptyList. + */ +cljs.core.__GT_EmptyList = (function cljs$core$__GT_EmptyList(meta){ +return (new cljs.core.EmptyList(meta)); +}); + +(cljs.core.List.EMPTY = (new cljs.core.EmptyList(null))); +(cljs.core.EmptyList.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Returns true if coll satisfies? IReversible. + */ +cljs.core.reversible_QMARK_ = (function cljs$core$reversible_QMARK_(coll){ +if((!((coll == null)))){ +if((((coll.cljs$lang$protocol_mask$partition0$ & (134217728))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IReversible$)))){ +return true; +} else { +if((!coll.cljs$lang$protocol_mask$partition0$)){ +return cljs.core.native_satisfies_QMARK_(cljs.core.IReversible,coll); +} else { +return false; +} +} +} else { +return cljs.core.native_satisfies_QMARK_(cljs.core.IReversible,coll); +} +}); +/** + * Returns, in constant time, a seq of the items in rev (which + * can be a vector or sorted-map), in reverse order. If rev is empty returns nil + */ +cljs.core.rseq = (function cljs$core$rseq(rev){ +return cljs.core._rseq(rev); +}); +/** + * Returns a seq of the items in coll in reverse order. Not lazy. + */ +cljs.core.reverse = (function cljs$core$reverse(coll){ +if(cljs.core.reversible_QMARK_(coll)){ +var or__5045__auto__ = cljs.core.rseq(coll); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.List.EMPTY; +} +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,cljs.core.List.EMPTY,coll); +} +}); +/** + * Creates a new list containing the items. + */ +cljs.core.list = (function cljs$core$list(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___30739 = arguments.length; +var i__5770__auto___30740 = (0); +while(true){ +if((i__5770__auto___30740 < len__5769__auto___30739)){ +args__5775__auto__.push((arguments[i__5770__auto___30740])); + +var G__30741 = (i__5770__auto___30740 + (1)); +i__5770__auto___30740 = G__30741; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.list.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.list.cljs$core$IFn$_invoke$arity$variadic = (function (xs){ +var arr = (((((xs instanceof cljs.core.IndexedSeq)) && ((xs.i === (0)))))?xs.arr:(function (){var arr = []; +var xs__$1 = xs; +while(true){ +if((!((xs__$1 == null)))){ +arr.push(cljs.core._first(xs__$1)); + +var G__30744 = cljs.core._next(xs__$1); +xs__$1 = G__30744; +continue; +} else { +return arr; +} +break; +} +})()); +var i = arr.length; +var r = cljs.core.List.EMPTY; +while(true){ +if((i > (0))){ +var G__30745 = (i - (1)); +var G__30746 = cljs.core._conj(r,(arr[(i - (1))])); +i = G__30745; +r = G__30746; +continue; +} else { +return r; +} +break; +} +})); + +(cljs.core.list.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.list.cljs$lang$applyTo = (function (seq27016){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27016)); +})); + + +/** +* @constructor + * @implements {cljs.core.IList} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ASeq} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.Cons = (function (meta,first,rest,__hash){ +this.meta = meta; +this.first = first; +this.rest = rest; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 65929452; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs.core.Cons.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.Cons.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.Cons.prototype.indexOf = (function() { +var G__30748 = null; +var G__30748__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__30748__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30748 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30748__1.call(this,x); +case 2: +return G__30748__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30748.cljs$core$IFn$_invoke$arity$1 = G__30748__1; +G__30748.cljs$core$IFn$_invoke$arity$2 = G__30748__2; +return G__30748; +})() +); + +(cljs.core.Cons.prototype.lastIndexOf = (function() { +var G__30749 = null; +var G__30749__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__30749__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30749 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30749__1.call(this,x); +case 2: +return G__30749__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30749.cljs$core$IFn$_invoke$arity$1 = G__30749__1; +G__30749.cljs$core$IFn$_invoke$arity$2 = G__30749__2; +return G__30749; +})() +); + +(cljs.core.Cons.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.Cons.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.Cons(self__.meta,self__.first,self__.rest,self__.__hash)); +})); + +(cljs.core.Cons.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.rest == null)){ +return null; +} else { +return cljs.core.seq(self__.rest); +} +})); + +(cljs.core.Cons.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.Cons.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.Cons.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.Cons.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.Cons.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.Cons.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.first; +})); + +(cljs.core.Cons.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.rest == null)){ +return cljs.core.List.EMPTY; +} else { +return self__.rest; +} +})); + +(cljs.core.Cons.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.Cons.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.Cons(new_meta,self__.first,self__.rest,self__.__hash)); +} +})); + +(cljs.core.Cons.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.Cons(null,o,coll__$1,null)); +})); + +(cljs.core.Cons.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"first","first",996428481,null),new cljs.core.Symbol(null,"rest","rest",398835108,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Cons.cljs$lang$type = true); + +(cljs.core.Cons.cljs$lang$ctorStr = "cljs.core/Cons"); + +(cljs.core.Cons.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Cons"); +})); + +/** + * Positional factory function for cljs.core/Cons. + */ +cljs.core.__GT_Cons = (function cljs$core$__GT_Cons(meta,first,rest,__hash){ +return (new cljs.core.Cons(meta,first,rest,__hash)); +}); + +(cljs.core.Cons.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Returns a new seq where x is the first element and coll is the rest. + */ +cljs.core.cons = (function cljs$core$cons(x,coll){ +if((coll == null)){ +return (new cljs.core.List(null,x,null,(1),null)); +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISeq$))))?true:false):false)){ +return (new cljs.core.Cons(null,x,coll,null)); +} else { +return (new cljs.core.Cons(null,x,cljs.core.seq(coll),null)); + +} +} +}); +cljs.core.hash_keyword = (function cljs$core$hash_keyword(k){ +return ((cljs.core.hash_symbol(k) + (2654435769)) | (0)); +}); +cljs.core.compare_keywords = (function cljs$core$compare_keywords(a,b){ +if((a.fqn === b.fqn)){ +return (0); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(a.ns); +if(and__5043__auto__){ +return b.ns; +} else { +return and__5043__auto__; +} +})())){ +return (-1); +} else { +if(cljs.core.truth_(a.ns)){ +if(cljs.core.not(b.ns)){ +return (1); +} else { +var nsc = cljs.core.goog$module$goog$array.defaultCompare(a.ns,b.ns); +if(((0) === nsc)){ +return cljs.core.goog$module$goog$array.defaultCompare(a.name,b.name); +} else { +return nsc; +} +} +} else { +return cljs.core.goog$module$goog$array.defaultCompare(a.name,b.name); + +} +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.INamed} + * @implements {cljs.core.IPrintWithWriter} +*/ +cljs.core.Keyword = (function (ns,name,fqn,_hash){ +this.ns = ns; +this.name = name; +this.fqn = fqn; +this._hash = _hash; +this.cljs$lang$protocol_mask$partition0$ = 2153775105; +this.cljs$lang$protocol_mask$partition1$ = 4096; +}); +(cljs.core.Keyword.prototype.toString = (function (){ +var self__ = this; +var _ = this; +return [":",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.fqn)].join(''); +})); + +(cljs.core.Keyword.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.Keyword.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ +var self__ = this; +var ___$1 = this; +if((other instanceof cljs.core.Keyword)){ +return (self__.fqn === other.fqn); +} else { +return false; +} +})); + +(cljs.core.Keyword.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27019 = (arguments.length - (1)); +switch (G__27019) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.Keyword.prototype.apply = (function (self__,args27018){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27018))); +})); + +(cljs.core.Keyword.prototype.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +var self__ = this; +var kw = this; +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(coll,kw); +})); + +(cljs.core.Keyword.prototype.cljs$core$IFn$_invoke$arity$2 = (function (coll,not_found){ +var self__ = this; +var kw = this; +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(coll,kw,not_found); +})); + +(cljs.core.Keyword.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +var h__5154__auto__ = self__._hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_keyword(this$__$1); +(self__._hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.Keyword.prototype.cljs$core$INamed$_name$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.name; +})); + +(cljs.core.Keyword.prototype.cljs$core$INamed$_namespace$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.ns; +})); + +(cljs.core.Keyword.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (o,writer,_){ +var self__ = this; +var o__$1 = this; +return cljs.core._write(writer,[":",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.fqn)].join('')); +})); + +(cljs.core.Keyword.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"ns","ns",2082130287,null),new cljs.core.Symbol(null,"name","name",-810760592,null),new cljs.core.Symbol(null,"fqn","fqn",-1749334463,null),cljs.core.with_meta(new cljs.core.Symbol(null,"_hash","_hash",-2130838312,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Keyword.cljs$lang$type = true); + +(cljs.core.Keyword.cljs$lang$ctorStr = "cljs.core/Keyword"); + +(cljs.core.Keyword.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Keyword"); +})); + +/** + * Positional factory function for cljs.core/Keyword. + */ +cljs.core.__GT_Keyword = (function cljs$core$__GT_Keyword(ns,name,fqn,_hash){ +return (new cljs.core.Keyword(ns,name,fqn,_hash)); +}); + +/** + * Return true if x is a Keyword + */ +cljs.core.keyword_QMARK_ = (function cljs$core$keyword_QMARK_(x){ +return (x instanceof cljs.core.Keyword); +}); +/** + * Efficient test to determine that two keywords are identical. + */ +cljs.core.keyword_identical_QMARK_ = (function cljs$core$keyword_identical_QMARK_(x,y){ +if((x === y)){ +return true; +} else { +if((((x instanceof cljs.core.Keyword)) && ((y instanceof cljs.core.Keyword)))){ +return (x.fqn === y.fqn); +} else { +return false; +} +} +}); +/** + * Efficient test to determine that two symbols are identical. + */ +cljs.core.symbol_identical_QMARK_ = (function cljs$core$symbol_identical_QMARK_(x,y){ +if((x === y)){ +return true; +} else { +if((((x instanceof cljs.core.Symbol)) && ((y instanceof cljs.core.Symbol)))){ +return (x.str === y.str); +} else { +return false; +} +} +}); +/** + * Returns the namespace String of a symbol or keyword, or nil if not present. + */ +cljs.core.namespace = (function cljs$core$namespace(x){ +if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition1$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$INamed$))))?true:false):false)){ +return x.cljs$core$INamed$_namespace$arity$1(null, ); +} else { +throw (new Error(["Doesn't support namespace: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join(''))); +} +}); +/** + * Return true if x is a symbol or keyword + */ +cljs.core.ident_QMARK_ = (function cljs$core$ident_QMARK_(x){ +return (((x instanceof cljs.core.Keyword)) || ((x instanceof cljs.core.Symbol))); +}); +/** + * Return true if x is a symbol or keyword without a namespace + */ +cljs.core.simple_ident_QMARK_ = (function cljs$core$simple_ident_QMARK_(x){ +return ((cljs.core.ident_QMARK_(x)) && ((cljs.core.namespace(x) == null))); +}); +/** + * Return true if x is a symbol or keyword with a namespace + */ +cljs.core.qualified_ident_QMARK_ = (function cljs$core$qualified_ident_QMARK_(x){ +return cljs.core.boolean$((function (){var and__5043__auto__ = cljs.core.ident_QMARK_(x); +if(and__5043__auto__){ +var and__5043__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__5043__auto____$1)){ +return true; +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +/** + * Return true if x is a symbol without a namespace + */ +cljs.core.simple_symbol_QMARK_ = (function cljs$core$simple_symbol_QMARK_(x){ +return (((x instanceof cljs.core.Symbol)) && ((cljs.core.namespace(x) == null))); +}); +/** + * Return true if x is a symbol with a namespace + */ +cljs.core.qualified_symbol_QMARK_ = (function cljs$core$qualified_symbol_QMARK_(x){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (x instanceof cljs.core.Symbol); +if(and__5043__auto__){ +var and__5043__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__5043__auto____$1)){ +return true; +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +/** + * Return true if x is a keyword without a namespace + */ +cljs.core.simple_keyword_QMARK_ = (function cljs$core$simple_keyword_QMARK_(x){ +return (((x instanceof cljs.core.Keyword)) && ((cljs.core.namespace(x) == null))); +}); +/** + * Return true if x is a keyword with a namespace + */ +cljs.core.qualified_keyword_QMARK_ = (function cljs$core$qualified_keyword_QMARK_(x){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (x instanceof cljs.core.Keyword); +if(and__5043__auto__){ +var and__5043__auto____$1 = cljs.core.namespace(x); +if(cljs.core.truth_(and__5043__auto____$1)){ +return true; +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +/** + * Returns a Keyword with the given namespace and name. Do not use : + * in the keyword strings, it will be added automatically. + */ +cljs.core.keyword = (function cljs$core$keyword(var_args){ +var G__27022 = arguments.length; +switch (G__27022) { +case 1: +return cljs.core.keyword.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.keyword.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.keyword.cljs$core$IFn$_invoke$arity$1 = (function (name){ +if((name instanceof cljs.core.Keyword)){ +return name; +} else { +if((name instanceof cljs.core.Symbol)){ +return (new cljs.core.Keyword(cljs.core.namespace(name),(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(name) : cljs.core.name.call(null, name)),name.str,null)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("/",name)){ +return (new cljs.core.Keyword(null,name,name,null)); +} else { +if(typeof name === 'string'){ +var parts = name.split("/"); +if((parts.length === (2))){ +return (new cljs.core.Keyword((parts[(0)]),(parts[(1)]),name,null)); +} else { +return (new cljs.core.Keyword(null,(parts[(0)]),name,null)); +} +} else { +return null; +} +} +} +} +})); + +(cljs.core.keyword.cljs$core$IFn$_invoke$arity$2 = (function (ns,name){ +var ns__$1 = (((ns instanceof cljs.core.Keyword))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(ns) : cljs.core.name.call(null, ns)):(((ns instanceof cljs.core.Symbol))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(ns) : cljs.core.name.call(null, ns)):ns +)); +var name__$1 = (((name instanceof cljs.core.Keyword))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(name) : cljs.core.name.call(null, name)):(((name instanceof cljs.core.Symbol))?(cljs.core.name.cljs$core$IFn$_invoke$arity$1 ? cljs.core.name.cljs$core$IFn$_invoke$arity$1(name) : cljs.core.name.call(null, name)):name +)); +return (new cljs.core.Keyword(ns__$1,name__$1,[(cljs.core.truth_(ns__$1)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns__$1),"/"].join(''):null),cljs.core.str.cljs$core$IFn$_invoke$arity$1(name__$1)].join(''),null)); +})); + +(cljs.core.keyword.cljs$lang$maxFixedArity = 2); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IPending} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.LazySeq = (function (meta,fn,s,__hash){ +this.meta = meta; +this.fn = fn; +this.s = s; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32374988; +this.cljs$lang$protocol_mask$partition1$ = 1; +}); +(cljs.core.LazySeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.LazySeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.LazySeq.prototype.sval = (function (){ +var self__ = this; +var coll = this; +if((self__.fn == null)){ +return self__.s; +} else { +(self__.s = (self__.fn.cljs$core$IFn$_invoke$arity$0 ? self__.fn.cljs$core$IFn$_invoke$arity$0() : self__.fn.call(null, ))); + +(self__.fn = null); + +return self__.s; +} +})); + +(cljs.core.LazySeq.prototype.indexOf = (function() { +var G__30803 = null; +var G__30803__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__30803__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30803 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30803__1.call(this,x); +case 2: +return G__30803__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30803.cljs$core$IFn$_invoke$arity$1 = G__30803__1; +G__30803.cljs$core$IFn$_invoke$arity$2 = G__30803__2; +return G__30803; +})() +); + +(cljs.core.LazySeq.prototype.lastIndexOf = (function() { +var G__30807 = null; +var G__30807__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__30807__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30807 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30807__1.call(this,x); +case 2: +return G__30807__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30807.cljs$core$IFn$_invoke$arity$1 = G__30807__1; +G__30807.cljs$core$IFn$_invoke$arity$2 = G__30807__2; +return G__30807; +})() +); + +(cljs.core.LazySeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.LazySeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +coll__$1.cljs$core$ISeqable$_seq$arity$1(null, ); + +if((self__.s == null)){ +return null; +} else { +return cljs.core.next(self__.s); +} +})); + +(cljs.core.LazySeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.LazySeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.LazySeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); +})); + +(cljs.core.LazySeq.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.not(self__.fn); +})); + +(cljs.core.LazySeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.LazySeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.LazySeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +coll__$1.cljs$core$ISeqable$_seq$arity$1(null, ); + +if((self__.s == null)){ +return null; +} else { +return cljs.core.first(self__.s); +} +})); + +(cljs.core.LazySeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +coll__$1.cljs$core$ISeqable$_seq$arity$1(null, ); + +if((!((self__.s == null)))){ +return cljs.core.rest(self__.s); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.LazySeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +coll__$1.sval(); + +if((self__.s == null)){ +return null; +} else { +var ls = self__.s; +while(true){ +if((ls instanceof cljs.core.LazySeq)){ +var G__30854 = ls.sval(); +ls = G__30854; +continue; +} else { +(self__.s = ls); + +return cljs.core.seq(self__.s); +} +break; +} +} +})); + +(cljs.core.LazySeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.LazySeq(new_meta,(function (){ +return coll__$1.cljs$core$ISeqable$_seq$arity$1(null, ); +}),null,self__.__hash)); +} +})); + +(cljs.core.LazySeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.LazySeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"fn","fn",465265323,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.LazySeq.cljs$lang$type = true); + +(cljs.core.LazySeq.cljs$lang$ctorStr = "cljs.core/LazySeq"); + +(cljs.core.LazySeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/LazySeq"); +})); + +/** + * Positional factory function for cljs.core/LazySeq. + */ +cljs.core.__GT_LazySeq = (function cljs$core$__GT_LazySeq(meta,fn,s,__hash){ +return (new cljs.core.LazySeq(meta,fn,s,__hash)); +}); + +(cljs.core.LazySeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.ICounted} +*/ +cljs.core.ChunkBuffer = (function (buf,end){ +this.buf = buf; +this.end = end; +this.cljs$lang$protocol_mask$partition0$ = 2; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.ChunkBuffer.prototype.add = (function (o){ +var self__ = this; +var _ = this; +(self__.buf[self__.end] = o); + +return (self__.end = (self__.end + (1))); +})); + +(cljs.core.ChunkBuffer.prototype.chunk = (function (){ +var self__ = this; +var _ = this; +var ret = (new cljs.core.ArrayChunk(self__.buf,(0),self__.end)); +(self__.buf = null); + +return ret; +})); + +(cljs.core.ChunkBuffer.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.end; +})); + +(cljs.core.ChunkBuffer.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"buf","buf",1426618187,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"end","end",1372345569,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ChunkBuffer.cljs$lang$type = true); + +(cljs.core.ChunkBuffer.cljs$lang$ctorStr = "cljs.core/ChunkBuffer"); + +(cljs.core.ChunkBuffer.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ChunkBuffer"); +})); + +/** + * Positional factory function for cljs.core/ChunkBuffer. + */ +cljs.core.__GT_ChunkBuffer = (function cljs$core$__GT_ChunkBuffer(buf,end){ +return (new cljs.core.ChunkBuffer(buf,end)); +}); + +cljs.core.chunk_buffer = (function cljs$core$chunk_buffer(capacity){ +return (new cljs.core.ChunkBuffer((new Array(capacity)),(0))); +}); + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.IChunk} + * @implements {cljs.core.IReduce} +*/ +cljs.core.ArrayChunk = (function (arr,off,end){ +this.arr = arr; +this.off = off; +this.end = end; +this.cljs$lang$protocol_mask$partition0$ = 524306; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.ArrayChunk.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (self__.end - self__.off); +})); + +(cljs.core.ArrayChunk.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,i){ +var self__ = this; +var coll__$1 = this; +return (self__.arr[(self__.off + i)]); +})); + +(cljs.core.ArrayChunk.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,i,not_found){ +var self__ = this; +var coll__$1 = this; +if((((i >= (0))) && ((i < (self__.end - self__.off))))){ +return (self__.arr[(self__.off + i)]); +} else { +return not_found; +} +})); + +(cljs.core.ArrayChunk.prototype.cljs$core$IChunk$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ArrayChunk.prototype.cljs$core$IChunk$_drop_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.off === self__.end)){ +throw (new Error("-drop-first of empty chunk")); +} else { +return (new cljs.core.ArrayChunk(self__.arr,(self__.off + (1)),self__.end)); +} +})); + +(cljs.core.ArrayChunk.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,(self__.arr[self__.off]),(self__.off + (1))); +})); + +(cljs.core.ArrayChunk.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_reduce.cljs$core$IFn$_invoke$arity$4(self__.arr,f,start,self__.off); +})); + +(cljs.core.ArrayChunk.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"off","off",-2047994980,null),new cljs.core.Symbol(null,"end","end",1372345569,null)], null); +})); + +(cljs.core.ArrayChunk.cljs$lang$type = true); + +(cljs.core.ArrayChunk.cljs$lang$ctorStr = "cljs.core/ArrayChunk"); + +(cljs.core.ArrayChunk.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ArrayChunk"); +})); + +/** + * Positional factory function for cljs.core/ArrayChunk. + */ +cljs.core.__GT_ArrayChunk = (function cljs$core$__GT_ArrayChunk(arr,off,end){ +return (new cljs.core.ArrayChunk(arr,off,end)); +}); + +cljs.core.array_chunk = (function cljs$core$array_chunk(var_args){ +var G__27024 = arguments.length; +switch (G__27024) { +case 1: +return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$1 = (function (arr){ +return (new cljs.core.ArrayChunk(arr,(0),arr.length)); +})); + +(cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2 = (function (arr,off){ +return (new cljs.core.ArrayChunk(arr,off,arr.length)); +})); + +(cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3 = (function (arr,off,end){ +return (new cljs.core.ArrayChunk(arr,off,end)); +})); + +(cljs.core.array_chunk.cljs$lang$maxFixedArity = 3); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ASeq} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IChunkedNext} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IChunkedSeq} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.ChunkedCons = (function (chunk,more,meta,__hash){ +this.chunk = chunk; +this.more = more; +this.meta = meta; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 31850732; +this.cljs$lang$protocol_mask$partition1$ = 1536; +}); +(cljs.core.ChunkedCons.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.ChunkedCons.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.ChunkedCons.prototype.indexOf = (function() { +var G__30875 = null; +var G__30875__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__30875__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30875 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30875__1.call(this,x); +case 2: +return G__30875__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30875.cljs$core$IFn$_invoke$arity$1 = G__30875__1; +G__30875.cljs$core$IFn$_invoke$arity$2 = G__30875__2; +return G__30875; +})() +); + +(cljs.core.ChunkedCons.prototype.lastIndexOf = (function() { +var G__30879 = null; +var G__30879__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__30879__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__30879 = function(x,start){ +switch(arguments.length){ +case 1: +return G__30879__1.call(this,x); +case 2: +return G__30879__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30879.cljs$core$IFn$_invoke$arity$1 = G__30879__1; +G__30879.cljs$core$IFn$_invoke$arity$2 = G__30879__2; +return G__30879; +})() +); + +(cljs.core.ChunkedCons.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((cljs.core._count(self__.chunk) > (1))){ +return (new cljs.core.ChunkedCons(cljs.core._drop_first(self__.chunk),self__.more,null,null)); +} else { +if((self__.more == null)){ +return null; +} else { +return cljs.core._seq(self__.more); +} +} +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._nth(self__.chunk,(0)); +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((cljs.core._count(self__.chunk) > (1))){ +return (new cljs.core.ChunkedCons(cljs.core._drop_first(self__.chunk),self__.more,null,null)); +} else { +if((self__.more == null)){ +return cljs.core.List.EMPTY; +} else { +return self__.more; +} +} +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IChunkedSeq$_chunked_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.chunk; +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IChunkedSeq$_chunked_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.more == null)){ +return cljs.core.List.EMPTY; +} else { +return self__.more; +} +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.ChunkedCons(self__.chunk,self__.more,new_meta,self__.__hash)); +} +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this$,o){ +var self__ = this; +var this$__$1 = this; +return cljs.core.cons(o,this$__$1); +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IChunkedNext$_chunked_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.more == null)){ +return null; +} else { +return self__.more; +} +})); + +(cljs.core.ChunkedCons.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"chunk","chunk",449371907,null),new cljs.core.Symbol(null,"more","more",-418290273,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ChunkedCons.cljs$lang$type = true); + +(cljs.core.ChunkedCons.cljs$lang$ctorStr = "cljs.core/ChunkedCons"); + +(cljs.core.ChunkedCons.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ChunkedCons"); +})); + +/** + * Positional factory function for cljs.core/ChunkedCons. + */ +cljs.core.__GT_ChunkedCons = (function cljs$core$__GT_ChunkedCons(chunk,more,meta,__hash){ +return (new cljs.core.ChunkedCons(chunk,more,meta,__hash)); +}); + +(cljs.core.ChunkedCons.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.chunk_cons = (function cljs$core$chunk_cons(chunk,rest){ +if((cljs.core._count(chunk) === (0))){ +return rest; +} else { +return (new cljs.core.ChunkedCons(chunk,rest,null,null)); +} +}); +cljs.core.chunk_append = (function cljs$core$chunk_append(b,x){ +return b.add(x); +}); +cljs.core.chunk = (function cljs$core$chunk(b){ +return b.chunk(); +}); +cljs.core.chunk_first = (function cljs$core$chunk_first(s){ +return cljs.core._chunked_first(s); +}); +cljs.core.chunk_rest = (function cljs$core$chunk_rest(s){ +return cljs.core._chunked_rest(s); +}); +cljs.core.chunk_next = (function cljs$core$chunk_next(s){ +if((((!((s == null))))?(((((s.cljs$lang$protocol_mask$partition1$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === s.cljs$core$IChunkedNext$))))?true:false):false)){ +return s.cljs$core$IChunkedNext$_chunked_next$arity$1(null, ); +} else { +return cljs.core.seq(cljs.core._chunked_rest(s)); +} +}); +/** + * Returns an array containing the contents of coll. + */ +cljs.core.to_array = (function cljs$core$to_array(coll){ +var ary = []; +var s = cljs.core.seq(coll); +while(true){ +if((!((s == null)))){ +ary.push(cljs.core.first(s)); + +var G__30915 = cljs.core.next(s); +s = G__30915; +continue; +} else { +return ary; +} +break; +} +}); +/** + * Returns a (potentially-ragged) 2-dimensional array + * containing the contents of coll. + */ +cljs.core.to_array_2d = (function cljs$core$to_array_2d(coll){ +var ret = (new Array(cljs.core.count(coll))); +var i_30917 = (0); +var xs_30918 = cljs.core.seq(coll); +while(true){ +if((xs_30918 == null)){ +} else { +(ret[i_30917] = cljs.core.to_array(cljs.core.first(xs_30918))); + +var G__30924 = (i_30917 + (1)); +var G__30925 = cljs.core.next(xs_30918); +i_30917 = G__30924; +xs_30918 = G__30925; +continue; +} +break; +} + +return ret; +}); +/** + * Creates an array of ints. Does not coerce array, provided for compatibility + * with Clojure. + */ +cljs.core.int_array = (function cljs$core$int_array(var_args){ +var G__27027 = arguments.length; +switch (G__27027) { +case 1: +return cljs.core.int_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.int_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.int_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ +if(typeof size_or_seq === 'number'){ +return cljs.core.int_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); +} else { +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); +} +})); + +(cljs.core.int_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ +var a = (new Array(size)); +if(cljs.core.seq_QMARK_(init_val_or_seq)){ +var s = cljs.core.seq(init_val_or_seq); +var i = (0); +var s__$1 = s; +while(true){ +if(((s__$1) && ((i < size)))){ +(a[i] = cljs.core.first(s__$1)); + +var G__30958 = (i + (1)); +var G__30959 = cljs.core.next(s__$1); +i = G__30958; +s__$1 = G__30959; +continue; +} else { +return a; +} +break; +} +} else { +var n__5636__auto___30963 = size; +var i_30964 = (0); +while(true){ +if((i_30964 < n__5636__auto___30963)){ +(a[i_30964] = init_val_or_seq); + +var G__30965 = (i_30964 + (1)); +i_30964 = G__30965; +continue; +} else { +} +break; +} + +return a; +} +})); + +(cljs.core.int_array.cljs$lang$maxFixedArity = 2); + +/** + * Creates an array of longs. Does not coerce array, provided for compatibility + * with Clojure. + */ +cljs.core.long_array = (function cljs$core$long_array(var_args){ +var G__27029 = arguments.length; +switch (G__27029) { +case 1: +return cljs.core.long_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.long_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.long_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ +if(typeof size_or_seq === 'number'){ +return cljs.core.long_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); +} else { +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); +} +})); + +(cljs.core.long_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ +var a = (new Array(size)); +if(cljs.core.seq_QMARK_(init_val_or_seq)){ +var s = cljs.core.seq(init_val_or_seq); +var i = (0); +var s__$1 = s; +while(true){ +if(((s__$1) && ((i < size)))){ +(a[i] = cljs.core.first(s__$1)); + +var G__30970 = (i + (1)); +var G__30971 = cljs.core.next(s__$1); +i = G__30970; +s__$1 = G__30971; +continue; +} else { +return a; +} +break; +} +} else { +var n__5636__auto___30972 = size; +var i_30973 = (0); +while(true){ +if((i_30973 < n__5636__auto___30972)){ +(a[i_30973] = init_val_or_seq); + +var G__30974 = (i_30973 + (1)); +i_30973 = G__30974; +continue; +} else { +} +break; +} + +return a; +} +})); + +(cljs.core.long_array.cljs$lang$maxFixedArity = 2); + +/** + * Creates an array of doubles. Does not coerce array, provided for compatibility + * with Clojure. + */ +cljs.core.double_array = (function cljs$core$double_array(var_args){ +var G__27031 = arguments.length; +switch (G__27031) { +case 1: +return cljs.core.double_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.double_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.double_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ +if(typeof size_or_seq === 'number'){ +return cljs.core.double_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); +} else { +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); +} +})); + +(cljs.core.double_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ +var a = (new Array(size)); +if(cljs.core.seq_QMARK_(init_val_or_seq)){ +var s = cljs.core.seq(init_val_or_seq); +var i = (0); +var s__$1 = s; +while(true){ +if(((s__$1) && ((i < size)))){ +(a[i] = cljs.core.first(s__$1)); + +var G__30990 = (i + (1)); +var G__30991 = cljs.core.next(s__$1); +i = G__30990; +s__$1 = G__30991; +continue; +} else { +return a; +} +break; +} +} else { +var n__5636__auto___30993 = size; +var i_30995 = (0); +while(true){ +if((i_30995 < n__5636__auto___30993)){ +(a[i_30995] = init_val_or_seq); + +var G__30999 = (i_30995 + (1)); +i_30995 = G__30999; +continue; +} else { +} +break; +} + +return a; +} +})); + +(cljs.core.double_array.cljs$lang$maxFixedArity = 2); + +/** + * Creates an array of objects. Does not coerce array, provided for compatibility + * with Clojure. + */ +cljs.core.object_array = (function cljs$core$object_array(var_args){ +var G__27033 = arguments.length; +switch (G__27033) { +case 1: +return cljs.core.object_array.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.object_array.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.object_array.cljs$core$IFn$_invoke$arity$1 = (function (size_or_seq){ +if(typeof size_or_seq === 'number'){ +return cljs.core.object_array.cljs$core$IFn$_invoke$arity$2(size_or_seq,null); +} else { +return cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(size_or_seq); +} +})); + +(cljs.core.object_array.cljs$core$IFn$_invoke$arity$2 = (function (size,init_val_or_seq){ +var a = (new Array(size)); +if(cljs.core.seq_QMARK_(init_val_or_seq)){ +var s = cljs.core.seq(init_val_or_seq); +var i = (0); +var s__$1 = s; +while(true){ +if(((s__$1) && ((i < size)))){ +(a[i] = cljs.core.first(s__$1)); + +var G__31013 = (i + (1)); +var G__31014 = cljs.core.next(s__$1); +i = G__31013; +s__$1 = G__31014; +continue; +} else { +return a; +} +break; +} +} else { +var n__5636__auto___31015 = size; +var i_31016 = (0); +while(true){ +if((i_31016 < n__5636__auto___31015)){ +(a[i_31016] = init_val_or_seq); + +var G__31018 = (i_31016 + (1)); +i_31016 = G__31018; +continue; +} else { +} +break; +} + +return a; +} +})); + +(cljs.core.object_array.cljs$lang$maxFixedArity = 2); + +/** + * If coll is counted? returns its count, else will count at most the first n + * elements of coll using its seq + */ +cljs.core.bounded_count = (function cljs$core$bounded_count(n,coll){ +if(cljs.core.counted_QMARK_(coll)){ +return cljs.core.count(coll); +} else { +var i = (0); +var s = cljs.core.seq(coll); +while(true){ +if((((!((s == null)))) && ((i < n)))){ +var G__31019 = (i + (1)); +var G__31020 = cljs.core.next(s); +i = G__31019; +s = G__31020; +continue; +} else { +return i; +} +break; +} +} +}); +cljs.core.spread = (function cljs$core$spread(arglist){ +if((arglist == null)){ +return null; +} else { +var n = cljs.core.next(arglist); +if((n == null)){ +return cljs.core.seq(cljs.core.first(arglist)); +} else { +return cljs.core.cons(cljs.core.first(arglist),(cljs.core.spread.cljs$core$IFn$_invoke$arity$1 ? cljs.core.spread.cljs$core$IFn$_invoke$arity$1(n) : cljs.core.spread.call(null, n))); +} +} +}); +/** + * Returns a lazy seq representing the concatenation of the elements in the supplied colls. + */ +cljs.core.concat = (function cljs$core$concat(var_args){ +var G__27038 = arguments.length; +switch (G__27038) { +case 0: +return cljs.core.concat.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.concat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.concat.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31036 = arguments.length; +var i__5770__auto___31041 = (0); +while(true){ +if((i__5770__auto___31041 < len__5769__auto___31036)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31041])); + +var G__31054 = (i__5770__auto___31041 + (1)); +i__5770__auto___31041 = G__31054; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.concat.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (new cljs.core.LazySeq(null,(function (){ +return null; +}),null,null)); +})); + +(cljs.core.concat.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (new cljs.core.LazySeq(null,(function (){ +return x; +}),null,null)); +})); + +(cljs.core.concat.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (new cljs.core.LazySeq(null,(function (){ +var s = cljs.core.seq(x); +if(s){ +if(cljs.core.chunked_seq_QMARK_(s)){ +return cljs.core.chunk_cons(cljs.core.chunk_first(s),cljs.core.concat.cljs$core$IFn$_invoke$arity$2(cljs.core.chunk_rest(s),y)); +} else { +return cljs.core.cons(cljs.core.first(s),cljs.core.concat.cljs$core$IFn$_invoke$arity$2(cljs.core.rest(s),y)); +} +} else { +return y; +} +}),null,null)); +})); + +(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,zs){ +var cat = (function cljs$core$cat(xys,zs__$1){ +return (new cljs.core.LazySeq(null,(function (){ +var xys__$1 = cljs.core.seq(xys); +if(xys__$1){ +if(cljs.core.chunked_seq_QMARK_(xys__$1)){ +return cljs.core.chunk_cons(cljs.core.chunk_first(xys__$1),cljs$core$cat(cljs.core.chunk_rest(xys__$1),zs__$1)); +} else { +return cljs.core.cons(cljs.core.first(xys__$1),cljs$core$cat(cljs.core.rest(xys__$1),zs__$1)); +} +} else { +if(cljs.core.truth_(zs__$1)){ +return cljs$core$cat(cljs.core.first(zs__$1),cljs.core.next(zs__$1)); +} else { +return null; +} +} +}),null,null)); +}); +return cat(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(x,y),zs); +})); + +/** @this {Function} */ +(cljs.core.concat.cljs$lang$applyTo = (function (seq27035){ +var G__27036 = cljs.core.first(seq27035); +var seq27035__$1 = cljs.core.next(seq27035); +var G__27037 = cljs.core.first(seq27035__$1); +var seq27035__$2 = cljs.core.next(seq27035__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27036,G__27037,seq27035__$2); +})); + +(cljs.core.concat.cljs$lang$maxFixedArity = (2)); + +/** + * Creates a new list containing the items prepended to the rest, the + * last of which will be treated as a sequence. + */ +cljs.core.list_STAR_ = (function cljs$core$list_STAR_(var_args){ +var G__27045 = arguments.length; +switch (G__27045) { +case 1: +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31063 = arguments.length; +var i__5770__auto___31064 = (0); +while(true){ +if((i__5770__auto___31064 < len__5769__auto___31063)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31064])); + +var G__31065 = (i__5770__auto___31064 + (1)); +i__5770__auto___31064 = G__31065; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((4)),(0),null)); +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__5795__auto__); + +} +}); + +(cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$1 = (function (args){ +return cljs.core.seq(args); +})); + +(cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2 = (function (a,args){ +return cljs.core.cons(a,args); +})); + +(cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3 = (function (a,b,args){ +return cljs.core.cons(a,cljs.core.cons(b,args)); +})); + +(cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,args){ +return cljs.core.cons(a,cljs.core.cons(b,cljs.core.cons(c,args))); +})); + +(cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (a,b,c,d,more){ +return cljs.core.cons(a,cljs.core.cons(b,cljs.core.cons(c,cljs.core.cons(d,cljs.core.spread(more))))); +})); + +/** @this {Function} */ +(cljs.core.list_STAR_.cljs$lang$applyTo = (function (seq27040){ +var G__27041 = cljs.core.first(seq27040); +var seq27040__$1 = cljs.core.next(seq27040); +var G__27042 = cljs.core.first(seq27040__$1); +var seq27040__$2 = cljs.core.next(seq27040__$1); +var G__27043 = cljs.core.first(seq27040__$2); +var seq27040__$3 = cljs.core.next(seq27040__$2); +var G__27044 = cljs.core.first(seq27040__$3); +var seq27040__$4 = cljs.core.next(seq27040__$3); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27041,G__27042,G__27043,G__27044,seq27040__$4); +})); + +(cljs.core.list_STAR_.cljs$lang$maxFixedArity = (4)); + +/** + * Returns a new, transient version of the collection, in constant time. + */ +cljs.core.transient$ = (function cljs$core$transient(coll){ +return cljs.core._as_transient(coll); +}); +/** + * Returns a new, persistent version of the transient collection, in + * constant time. The transient collection cannot be used after this + * call, any such use will throw an exception. + */ +cljs.core.persistent_BANG_ = (function cljs$core$persistent_BANG_(tcoll){ +return cljs.core._persistent_BANG_(tcoll); +}); +/** + * Adds val to the transient collection, and return tcoll. The 'addition' + * may happen at different 'places' depending on the concrete type. + */ +cljs.core.conj_BANG_ = (function cljs$core$conj_BANG_(var_args){ +var G__27050 = arguments.length; +switch (G__27050) { +case 0: +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31121 = arguments.length; +var i__5770__auto___31122 = (0); +while(true){ +if((i__5770__auto___31122 < len__5769__auto___31121)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31122])); + +var G__31123 = (i__5770__auto___31122 + (1)); +i__5770__auto___31122 = G__31123; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.transient$(cljs.core.PersistentVector.EMPTY); +})); + +(cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$1 = (function (tcoll){ +return tcoll; +})); + +(cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (tcoll,val){ +return cljs.core._conj_BANG_(tcoll,val); +})); + +(cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,val,vals){ +while(true){ +var ntcoll = cljs.core._conj_BANG_(tcoll,val); +if(cljs.core.truth_(vals)){ +var G__31126 = ntcoll; +var G__31127 = cljs.core.first(vals); +var G__31128 = cljs.core.next(vals); +tcoll = G__31126; +val = G__31127; +vals = G__31128; +continue; +} else { +return ntcoll; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.conj_BANG_.cljs$lang$applyTo = (function (seq27047){ +var G__27048 = cljs.core.first(seq27047); +var seq27047__$1 = cljs.core.next(seq27047); +var G__27049 = cljs.core.first(seq27047__$1); +var seq27047__$2 = cljs.core.next(seq27047__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27048,G__27049,seq27047__$2); +})); + +(cljs.core.conj_BANG_.cljs$lang$maxFixedArity = (2)); + +/** + * When applied to a transient map, adds mapping of key(s) to + * val(s). When applied to a transient vector, sets the val at index. + * Note - index must be <= (count vector). Returns coll. + */ +cljs.core.assoc_BANG_ = (function cljs$core$assoc_BANG_(var_args){ +var G__27056 = arguments.length; +switch (G__27056) { +case 3: +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31130 = arguments.length; +var i__5770__auto___31131 = (0); +while(true){ +if((i__5770__auto___31131 < len__5769__auto___31130)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31131])); + +var G__31132 = (i__5770__auto___31131 + (1)); +i__5770__auto___31131 = G__31132; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (tcoll,key,val){ +return cljs.core._assoc_BANG_(tcoll,key,val); +})); + +(cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,key,val,kvs){ +while(true){ +var ntcoll = cljs.core._assoc_BANG_(tcoll,key,val); +if(cljs.core.truth_(kvs)){ +var G__31134 = ntcoll; +var G__31135 = cljs.core.first(kvs); +var G__31136 = cljs.core.second(kvs); +var G__31137 = cljs.core.nnext(kvs); +tcoll = G__31134; +key = G__31135; +val = G__31136; +kvs = G__31137; +continue; +} else { +return ntcoll; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.assoc_BANG_.cljs$lang$applyTo = (function (seq27052){ +var G__27053 = cljs.core.first(seq27052); +var seq27052__$1 = cljs.core.next(seq27052); +var G__27054 = cljs.core.first(seq27052__$1); +var seq27052__$2 = cljs.core.next(seq27052__$1); +var G__27055 = cljs.core.first(seq27052__$2); +var seq27052__$3 = cljs.core.next(seq27052__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27053,G__27054,G__27055,seq27052__$3); +})); + +(cljs.core.assoc_BANG_.cljs$lang$maxFixedArity = (3)); + +/** + * Returns a transient map that doesn't contain a mapping for key(s). + */ +cljs.core.dissoc_BANG_ = (function cljs$core$dissoc_BANG_(var_args){ +var G__27061 = arguments.length; +switch (G__27061) { +case 2: +return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31139 = arguments.length; +var i__5770__auto___31140 = (0); +while(true){ +if((i__5770__auto___31140 < len__5769__auto___31139)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31140])); + +var G__31141 = (i__5770__auto___31140 + (1)); +i__5770__auto___31140 = G__31141; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (tcoll,key){ +return cljs.core._dissoc_BANG_(tcoll,key); +})); + +(cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,key,ks){ +while(true){ +var ntcoll = cljs.core._dissoc_BANG_(tcoll,key); +if(cljs.core.truth_(ks)){ +var G__31155 = ntcoll; +var G__31156 = cljs.core.first(ks); +var G__31157 = cljs.core.next(ks); +tcoll = G__31155; +key = G__31156; +ks = G__31157; +continue; +} else { +return ntcoll; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.dissoc_BANG_.cljs$lang$applyTo = (function (seq27058){ +var G__27059 = cljs.core.first(seq27058); +var seq27058__$1 = cljs.core.next(seq27058); +var G__27060 = cljs.core.first(seq27058__$1); +var seq27058__$2 = cljs.core.next(seq27058__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27059,G__27060,seq27058__$2); +})); + +(cljs.core.dissoc_BANG_.cljs$lang$maxFixedArity = (2)); + +/** + * Removes the last item from a transient vector. If + * the collection is empty, throws an exception. Returns tcoll + */ +cljs.core.pop_BANG_ = (function cljs$core$pop_BANG_(tcoll){ +return cljs.core._pop_BANG_(tcoll); +}); +/** + * disj[oin]. Returns a transient set of the same (hashed/sorted) type, that + * does not contain key(s). + */ +cljs.core.disj_BANG_ = (function cljs$core$disj_BANG_(var_args){ +var G__27066 = arguments.length; +switch (G__27066) { +case 2: +return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31184 = arguments.length; +var i__5770__auto___31187 = (0); +while(true){ +if((i__5770__auto___31187 < len__5769__auto___31184)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31187])); + +var G__31194 = (i__5770__auto___31187 + (1)); +i__5770__auto___31187 = G__31194; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (tcoll,val){ +return cljs.core._disjoin_BANG_(tcoll,val); +})); + +(cljs.core.disj_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (tcoll,val,vals){ +while(true){ +var ntcoll = cljs.core._disjoin_BANG_(tcoll,val); +if(cljs.core.truth_(vals)){ +var G__31202 = ntcoll; +var G__31203 = cljs.core.first(vals); +var G__31204 = cljs.core.next(vals); +tcoll = G__31202; +val = G__31203; +vals = G__31204; +continue; +} else { +return ntcoll; +} +break; +} +})); + +/** @this {Function} */ +(cljs.core.disj_BANG_.cljs$lang$applyTo = (function (seq27063){ +var G__27064 = cljs.core.first(seq27063); +var seq27063__$1 = cljs.core.next(seq27063); +var G__27065 = cljs.core.first(seq27063__$1); +var seq27063__$2 = cljs.core.next(seq27063__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27064,G__27065,seq27063__$2); +})); + +(cljs.core.disj_BANG_.cljs$lang$maxFixedArity = (2)); + + +cljs.core.apply_to = (function cljs$core$apply_to(f,argc,args){ +var args__$1 = cljs.core.seq(args); +if((argc === (0))){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +} else { +var a265 = cljs.core._first(args__$1); +var args__$2 = cljs.core._rest(args__$1); +if((argc === (1))){ +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(a265) : f.call(null, a265)); +} else { +var b266 = cljs.core._first(args__$2); +var args__$3 = cljs.core._rest(args__$2); +if((argc === (2))){ +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(a265,b266) : f.call(null, a265,b266)); +} else { +var c267 = cljs.core._first(args__$3); +var args__$4 = cljs.core._rest(args__$3); +if((argc === (3))){ +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(a265,b266,c267) : f.call(null, a265,b266,c267)); +} else { +var d268 = cljs.core._first(args__$4); +var args__$5 = cljs.core._rest(args__$4); +if((argc === (4))){ +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(a265,b266,c267,d268) : f.call(null, a265,b266,c267,d268)); +} else { +var e269 = cljs.core._first(args__$5); +var args__$6 = cljs.core._rest(args__$5); +if((argc === (5))){ +return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(a265,b266,c267,d268,e269) : f.call(null, a265,b266,c267,d268,e269)); +} else { +var f270 = cljs.core._first(args__$6); +var args__$7 = cljs.core._rest(args__$6); +if((argc === (6))){ +return (f.cljs$core$IFn$_invoke$arity$6 ? f.cljs$core$IFn$_invoke$arity$6(a265,b266,c267,d268,e269,f270) : f.call(null, a265,b266,c267,d268,e269,f270)); +} else { +var g271 = cljs.core._first(args__$7); +var args__$8 = cljs.core._rest(args__$7); +if((argc === (7))){ +return (f.cljs$core$IFn$_invoke$arity$7 ? f.cljs$core$IFn$_invoke$arity$7(a265,b266,c267,d268,e269,f270,g271) : f.call(null, a265,b266,c267,d268,e269,f270,g271)); +} else { +var h272 = cljs.core._first(args__$8); +var args__$9 = cljs.core._rest(args__$8); +if((argc === (8))){ +return (f.cljs$core$IFn$_invoke$arity$8 ? f.cljs$core$IFn$_invoke$arity$8(a265,b266,c267,d268,e269,f270,g271,h272) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272)); +} else { +var i273 = cljs.core._first(args__$9); +var args__$10 = cljs.core._rest(args__$9); +if((argc === (9))){ +return (f.cljs$core$IFn$_invoke$arity$9 ? f.cljs$core$IFn$_invoke$arity$9(a265,b266,c267,d268,e269,f270,g271,h272,i273) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273)); +} else { +var j274 = cljs.core._first(args__$10); +var args__$11 = cljs.core._rest(args__$10); +if((argc === (10))){ +return (f.cljs$core$IFn$_invoke$arity$10 ? f.cljs$core$IFn$_invoke$arity$10(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274)); +} else { +var k275 = cljs.core._first(args__$11); +var args__$12 = cljs.core._rest(args__$11); +if((argc === (11))){ +return (f.cljs$core$IFn$_invoke$arity$11 ? f.cljs$core$IFn$_invoke$arity$11(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275)); +} else { +var l276 = cljs.core._first(args__$12); +var args__$13 = cljs.core._rest(args__$12); +if((argc === (12))){ +return (f.cljs$core$IFn$_invoke$arity$12 ? f.cljs$core$IFn$_invoke$arity$12(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276)); +} else { +var m277 = cljs.core._first(args__$13); +var args__$14 = cljs.core._rest(args__$13); +if((argc === (13))){ +return (f.cljs$core$IFn$_invoke$arity$13 ? f.cljs$core$IFn$_invoke$arity$13(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277)); +} else { +var n278 = cljs.core._first(args__$14); +var args__$15 = cljs.core._rest(args__$14); +if((argc === (14))){ +return (f.cljs$core$IFn$_invoke$arity$14 ? f.cljs$core$IFn$_invoke$arity$14(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278)); +} else { +var o279 = cljs.core._first(args__$15); +var args__$16 = cljs.core._rest(args__$15); +if((argc === (15))){ +return (f.cljs$core$IFn$_invoke$arity$15 ? f.cljs$core$IFn$_invoke$arity$15(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279)); +} else { +var p280 = cljs.core._first(args__$16); +var args__$17 = cljs.core._rest(args__$16); +if((argc === (16))){ +return (f.cljs$core$IFn$_invoke$arity$16 ? f.cljs$core$IFn$_invoke$arity$16(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280)); +} else { +var q281 = cljs.core._first(args__$17); +var args__$18 = cljs.core._rest(args__$17); +if((argc === (17))){ +return (f.cljs$core$IFn$_invoke$arity$17 ? f.cljs$core$IFn$_invoke$arity$17(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281)); +} else { +var r282 = cljs.core._first(args__$18); +var args__$19 = cljs.core._rest(args__$18); +if((argc === (18))){ +return (f.cljs$core$IFn$_invoke$arity$18 ? f.cljs$core$IFn$_invoke$arity$18(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281,r282) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281,r282)); +} else { +var s283 = cljs.core._first(args__$19); +var args__$20 = cljs.core._rest(args__$19); +if((argc === (19))){ +return (f.cljs$core$IFn$_invoke$arity$19 ? f.cljs$core$IFn$_invoke$arity$19(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281,r282,s283) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281,r282,s283)); +} else { +var t284 = cljs.core._first(args__$20); +var args__$21 = cljs.core._rest(args__$20); +if((argc === (20))){ +return (f.cljs$core$IFn$_invoke$arity$20 ? f.cljs$core$IFn$_invoke$arity$20(a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281,r282,s283,t284) : f.call(null, a265,b266,c267,d268,e269,f270,g271,h272,i273,j274,k275,l276,m277,n278,o279,p280,q281,r282,s283,t284)); +} else { +throw (new Error("Only up to 20 arguments supported on functions")); +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +}); + +/** + * Internal. DO NOT USE! Next without the nil? check. + */ +cljs.core.next_STAR_ = (function cljs$core$next_STAR_(coll){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$INext$))))?true:false):false)){ +return coll.cljs$core$INext$_next$arity$1(null, ); +} else { +return cljs.core.seq(cljs.core.rest(coll)); +} +}); +/** + * Internal. DO NOT USE! + * Assumes args was already called with seq beforehand! + */ +cljs.core.apply_to_simple = (function cljs$core$apply_to_simple(var_args){ +var G__27069 = arguments.length; +switch (G__27069) { +case 2: +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2 = (function (f,args){ +if((args == null)){ +if(f.cljs$core$IFn$_invoke$arity$0){ +return f.cljs$core$IFn$_invoke$arity$0(); +} else { +return f.call(f); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3(f,cljs.core._first(args),cljs.core.next_STAR_(args)); +} +})); + +(cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3 = (function (f,a0,args){ +if((args == null)){ +if(f.cljs$core$IFn$_invoke$arity$1){ +return f.cljs$core$IFn$_invoke$arity$1(a0); +} else { +return f.call(f,a0); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4(f,a0,cljs.core._first(args),cljs.core.next_STAR_(args)); +} +})); + +(cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4 = (function (f,a0,a1,args){ +if((args == null)){ +if(f.cljs$core$IFn$_invoke$arity$2){ +return f.cljs$core$IFn$_invoke$arity$2(a0,a1); +} else { +return f.call(f,a0,a1); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5(f,a0,a1,cljs.core._first(args),cljs.core.next_STAR_(args)); +} +})); + +(cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5 = (function (f,a0,a1,a2,args){ +if((args == null)){ +if(f.cljs$core$IFn$_invoke$arity$3){ +return f.cljs$core$IFn$_invoke$arity$3(a0,a1,a2); +} else { +return f.call(f,a0,a1,a2); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6(f,a0,a1,a2,cljs.core._first(args),cljs.core.next_STAR_(args)); +} +})); + +(cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6 = (function (f,a0,a1,a2,a3,args){ +if((args == null)){ +if(f.cljs$core$IFn$_invoke$arity$4){ +return f.cljs$core$IFn$_invoke$arity$4(a0,a1,a2,a3); +} else { +return f.call(f,a0,a1,a2,a3); +} +} else { +var a4 = cljs.core._first(args); +var next_4 = cljs.core.next(args); +if((next_4 == null)){ +if(f.cljs$core$IFn$_invoke$arity$5){ +return f.cljs$core$IFn$_invoke$arity$5(a0,a1,a2,a3,a4); +} else { +return f.call(f,a0,a1,a2,a3,a4); +} +} else { +var a5 = cljs.core._first(next_4); +var next_5 = cljs.core.next(next_4); +if((next_5 == null)){ +if(f.cljs$core$IFn$_invoke$arity$6){ +return f.cljs$core$IFn$_invoke$arity$6(a0,a1,a2,a3,a4,a5); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5); +} +} else { +var a6 = cljs.core._first(next_5); +var next_6 = cljs.core.next(next_5); +if((next_6 == null)){ +if(f.cljs$core$IFn$_invoke$arity$7){ +return f.cljs$core$IFn$_invoke$arity$7(a0,a1,a2,a3,a4,a5,a6); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6); +} +} else { +var a7 = cljs.core._first(next_6); +var next_7 = cljs.core.next(next_6); +if((next_7 == null)){ +if(f.cljs$core$IFn$_invoke$arity$8){ +return f.cljs$core$IFn$_invoke$arity$8(a0,a1,a2,a3,a4,a5,a6,a7); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7); +} +} else { +var a8 = cljs.core._first(next_7); +var next_8 = cljs.core.next(next_7); +if((next_8 == null)){ +if(f.cljs$core$IFn$_invoke$arity$9){ +return f.cljs$core$IFn$_invoke$arity$9(a0,a1,a2,a3,a4,a5,a6,a7,a8); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8); +} +} else { +var a9 = cljs.core._first(next_8); +var next_9 = cljs.core.next(next_8); +if((next_9 == null)){ +if(f.cljs$core$IFn$_invoke$arity$10){ +return f.cljs$core$IFn$_invoke$arity$10(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9); +} +} else { +var a10 = cljs.core._first(next_9); +var next_10 = cljs.core.next(next_9); +if((next_10 == null)){ +if(f.cljs$core$IFn$_invoke$arity$11){ +return f.cljs$core$IFn$_invoke$arity$11(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); +} +} else { +var a11 = cljs.core._first(next_10); +var next_11 = cljs.core.next(next_10); +if((next_11 == null)){ +if(f.cljs$core$IFn$_invoke$arity$12){ +return f.cljs$core$IFn$_invoke$arity$12(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); +} +} else { +var a12 = cljs.core._first(next_11); +var next_12 = cljs.core.next(next_11); +if((next_12 == null)){ +if(f.cljs$core$IFn$_invoke$arity$13){ +return f.cljs$core$IFn$_invoke$arity$13(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); +} +} else { +var a13 = cljs.core._first(next_12); +var next_13 = cljs.core.next(next_12); +if((next_13 == null)){ +if(f.cljs$core$IFn$_invoke$arity$14){ +return f.cljs$core$IFn$_invoke$arity$14(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); +} +} else { +var a14 = cljs.core._first(next_13); +var next_14 = cljs.core.next(next_13); +if((next_14 == null)){ +if(f.cljs$core$IFn$_invoke$arity$15){ +return f.cljs$core$IFn$_invoke$arity$15(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); +} +} else { +var a15 = cljs.core._first(next_14); +var next_15 = cljs.core.next(next_14); +if((next_15 == null)){ +if(f.cljs$core$IFn$_invoke$arity$16){ +return f.cljs$core$IFn$_invoke$arity$16(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); +} +} else { +var a16 = cljs.core._first(next_15); +var next_16 = cljs.core.next(next_15); +if((next_16 == null)){ +if(f.cljs$core$IFn$_invoke$arity$17){ +return f.cljs$core$IFn$_invoke$arity$17(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); +} +} else { +var a17 = cljs.core._first(next_16); +var next_17 = cljs.core.next(next_16); +if((next_17 == null)){ +if(f.cljs$core$IFn$_invoke$arity$18){ +return f.cljs$core$IFn$_invoke$arity$18(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); +} +} else { +var a18 = cljs.core._first(next_17); +var next_18 = cljs.core.next(next_17); +if((next_18 == null)){ +if(f.cljs$core$IFn$_invoke$arity$19){ +return f.cljs$core$IFn$_invoke$arity$19(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); +} +} else { +var a19 = cljs.core._first(next_18); +var next_19 = cljs.core.next(next_18); +if((next_19 == null)){ +if(f.cljs$core$IFn$_invoke$arity$20){ +return f.cljs$core$IFn$_invoke$arity$20(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); +} else { +return f.call(f,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); +} +} else { +var arr__5684__auto__ = [a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19]; +var s__5685__auto___31318 = next_19; +while(true){ +if(s__5685__auto___31318){ +arr__5684__auto__.push(cljs.core._first(s__5685__auto___31318)); + +var G__31319 = cljs.core.next(s__5685__auto___31318); +s__5685__auto___31318 = G__31319; +continue; +} else { +} +break; +} + +return f.apply(f,arr__5684__auto__); +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +})); + +(cljs.core.apply_to_simple.cljs$lang$maxFixedArity = 6); + +/** + * Applies fn f to the argument list formed by prepending intervening arguments to args. + */ +cljs.core.apply = (function cljs$core$apply(var_args){ +var G__27077 = arguments.length; +switch (G__27077) { +case 2: +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.apply.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31327 = arguments.length; +var i__5770__auto___31328 = (0); +while(true){ +if((i__5770__auto___31328 < len__5769__auto___31327)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31328])); + +var G__31329 = (i__5770__auto___31328 + (1)); +i__5770__auto___31328 = G__31329; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((5)),(0),null)); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),argseq__5795__auto__); + +} +}); + +(cljs.core.apply.cljs$core$IFn$_invoke$arity$2 = (function (f,args){ +if(f.cljs$lang$applyTo){ +var fixed_arity = f.cljs$lang$maxFixedArity; +var bc = cljs.core.bounded_count((fixed_arity + (1)),args); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,args); +} else { +return f.cljs$lang$applyTo(args); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$2(f,cljs.core.seq(args)); +} +})); + +(cljs.core.apply.cljs$core$IFn$_invoke$arity$3 = (function (f,x,args){ +if(f.cljs$lang$applyTo){ +var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$2(x,args); +var fixed_arity = f.cljs$lang$maxFixedArity; +var bc = (cljs.core.bounded_count(fixed_arity,args) + (1)); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3(f,x,cljs.core.seq(args)); +} +})); + +(cljs.core.apply.cljs$core$IFn$_invoke$arity$4 = (function (f,x,y,args){ +if(f.cljs$lang$applyTo){ +var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3(x,y,args); +var fixed_arity = f.cljs$lang$maxFixedArity; +var bc = ((2) + cljs.core.bounded_count((fixed_arity - (1)),args)); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4(f,x,y,cljs.core.seq(args)); +} +})); + +(cljs.core.apply.cljs$core$IFn$_invoke$arity$5 = (function (f,x,y,z,args){ +if(f.cljs$lang$applyTo){ +var arglist = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(x,y,z,args); +var fixed_arity = f.cljs$lang$maxFixedArity; +var bc = ((3) + cljs.core.bounded_count((fixed_arity - (2)),args)); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5(f,x,y,z,cljs.core.seq(args)); +} +})); + +(cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic = (function (f,a,b,c,d,args){ +if(f.cljs$lang$applyTo){ +var spread_args = cljs.core.spread(args); +var arglist = cljs.core.cons(a,cljs.core.cons(b,cljs.core.cons(c,cljs.core.cons(d,spread_args)))); +var fixed_arity = f.cljs$lang$maxFixedArity; +var bc = ((4) + cljs.core.bounded_count((fixed_arity - (3)),spread_args)); +if((bc <= fixed_arity)){ +return cljs.core.apply_to(f,bc,arglist); +} else { +return f.cljs$lang$applyTo(arglist); +} +} else { +return cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6(f,a,b,c,d,cljs.core.spread(args)); +} +})); + +/** @this {Function} */ +(cljs.core.apply.cljs$lang$applyTo = (function (seq27071){ +var G__27072 = cljs.core.first(seq27071); +var seq27071__$1 = cljs.core.next(seq27071); +var G__27073 = cljs.core.first(seq27071__$1); +var seq27071__$2 = cljs.core.next(seq27071__$1); +var G__27074 = cljs.core.first(seq27071__$2); +var seq27071__$3 = cljs.core.next(seq27071__$2); +var G__27075 = cljs.core.first(seq27071__$3); +var seq27071__$4 = cljs.core.next(seq27071__$3); +var G__27076 = cljs.core.first(seq27071__$4); +var seq27071__$5 = cljs.core.next(seq27071__$4); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27072,G__27073,G__27074,G__27075,G__27076,seq27071__$5); +})); + +(cljs.core.apply.cljs$lang$maxFixedArity = (5)); + +cljs.core.__destructure_map = (function cljs$core$__destructure_map(gmap){ +if((((!((gmap == null))))?(((((gmap.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === gmap.cljs$core$ISeq$))))?true:false):false)){ +if(cljs.core.next(gmap)){ +return cljs.core.PersistentArrayMap.createAsIfByAssoc(cljs.core.to_array(gmap)); +} else { +if(cljs.core.seq(gmap)){ +return cljs.core.first(gmap); +} else { +return cljs.core.PersistentArrayMap.EMPTY; +} +} +} else { +return gmap; +} +}); +/** + * Returns an object of the same type and value as obj, with + * (apply f (meta obj) args) as its metadata. + */ +cljs.core.vary_meta = (function cljs$core$vary_meta(var_args){ +var G__27087 = arguments.length; +switch (G__27087) { +case 2: +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31344 = arguments.length; +var i__5770__auto___31345 = (0); +while(true){ +if((i__5770__auto___31345 < len__5769__auto___31344)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31345])); + +var G__31348 = (i__5770__auto___31345 + (1)); +i__5770__auto___31345 = G__31348; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((6)),(0),null)); +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),argseq__5795__auto__); + +} +}); + +(cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$2 = (function (obj,f){ +return cljs.core.with_meta(obj,(function (){var G__27088 = cljs.core.meta(obj); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27088) : f.call(null, G__27088)); +})()); +})); + +(cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$3 = (function (obj,f,a){ +return cljs.core.with_meta(obj,(function (){var G__27089 = cljs.core.meta(obj); +var G__27090 = a; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27089,G__27090) : f.call(null, G__27089,G__27090)); +})()); +})); + +(cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$4 = (function (obj,f,a,b){ +return cljs.core.with_meta(obj,(function (){var G__27091 = cljs.core.meta(obj); +var G__27092 = a; +var G__27093 = b; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27091,G__27092,G__27093) : f.call(null, G__27091,G__27092,G__27093)); +})()); +})); + +(cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$5 = (function (obj,f,a,b,c){ +return cljs.core.with_meta(obj,(function (){var G__27094 = cljs.core.meta(obj); +var G__27095 = a; +var G__27096 = b; +var G__27097 = c; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__27094,G__27095,G__27096,G__27097) : f.call(null, G__27094,G__27095,G__27096,G__27097)); +})()); +})); + +(cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$6 = (function (obj,f,a,b,c,d){ +return cljs.core.with_meta(obj,(function (){var G__27098 = cljs.core.meta(obj); +var G__27099 = a; +var G__27100 = b; +var G__27101 = c; +var G__27102 = d; +return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(G__27098,G__27099,G__27100,G__27101,G__27102) : f.call(null, G__27098,G__27099,G__27100,G__27101,G__27102)); +})()); +})); + +(cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$variadic = (function (obj,f,a,b,c,d,args){ +return cljs.core.with_meta(obj,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,cljs.core.meta(obj),a,b,c,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([d,args], 0))); +})); + +/** @this {Function} */ +(cljs.core.vary_meta.cljs$lang$applyTo = (function (seq27080){ +var G__27081 = cljs.core.first(seq27080); +var seq27080__$1 = cljs.core.next(seq27080); +var G__27082 = cljs.core.first(seq27080__$1); +var seq27080__$2 = cljs.core.next(seq27080__$1); +var G__27083 = cljs.core.first(seq27080__$2); +var seq27080__$3 = cljs.core.next(seq27080__$2); +var G__27084 = cljs.core.first(seq27080__$3); +var seq27080__$4 = cljs.core.next(seq27080__$3); +var G__27085 = cljs.core.first(seq27080__$4); +var seq27080__$5 = cljs.core.next(seq27080__$4); +var G__27086 = cljs.core.first(seq27080__$5); +var seq27080__$6 = cljs.core.next(seq27080__$5); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27081,G__27082,G__27083,G__27084,G__27085,G__27086,seq27080__$6); +})); + +(cljs.core.vary_meta.cljs$lang$maxFixedArity = (6)); + +/** + * Same as (not (= obj1 obj2)) + */ +cljs.core.not_EQ_ = (function cljs$core$not_EQ_(var_args){ +var G__27107 = arguments.length; +switch (G__27107) { +case 1: +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31355 = arguments.length; +var i__5770__auto___31356 = (0); +while(true){ +if((i__5770__auto___31356 < len__5769__auto___31355)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31356])); + +var G__31358 = (i__5770__auto___31356 + (1)); +i__5770__auto___31356 = G__31358; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return false; +})); + +(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2 = (function (x,y){ +return (!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y))); +})); + +(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$variadic = (function (x,y,more){ +return cljs.core.not(cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core._EQ_,x,y,more)); +})); + +/** @this {Function} */ +(cljs.core.not_EQ_.cljs$lang$applyTo = (function (seq27104){ +var G__27105 = cljs.core.first(seq27104); +var seq27104__$1 = cljs.core.next(seq27104); +var G__27106 = cljs.core.first(seq27104__$1); +var seq27104__$2 = cljs.core.next(seq27104__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27105,G__27106,seq27104__$2); +})); + +(cljs.core.not_EQ_.cljs$lang$maxFixedArity = (2)); + +/** + * If coll is empty, returns nil, else coll + */ +cljs.core.not_empty = (function cljs$core$not_empty(coll){ +if(cljs.core.seq(coll)){ +return coll; +} else { +return null; +} +}); + +/** +* @constructor + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.t_cljs$core27108 = (function (meta27109){ +this.meta27109 = meta27109; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.t_cljs$core27108.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_27110,meta27109__$1){ +var self__ = this; +var _27110__$1 = this; +return (new cljs.core.t_cljs$core27108(meta27109__$1)); +})); + +(cljs.core.t_cljs$core27108.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_27110){ +var self__ = this; +var _27110__$1 = this; +return self__.meta27109; +})); + +(cljs.core.t_cljs$core27108.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return false; +})); + +(cljs.core.t_cljs$core27108.prototype.next = (function (){ +var self__ = this; +var _ = this; +return (new Error("No such element")); +})); + +(cljs.core.t_cljs$core27108.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.t_cljs$core27108.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta27109","meta27109",-985687261,null)], null); +})); + +(cljs.core.t_cljs$core27108.cljs$lang$type = true); + +(cljs.core.t_cljs$core27108.cljs$lang$ctorStr = "cljs.core/t_cljs$core27108"); + +(cljs.core.t_cljs$core27108.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/t_cljs$core27108"); +})); + +/** + * Positional factory function for cljs.core/t_cljs$core27108. + */ +cljs.core.__GT_t_cljs$core27108 = (function cljs$core$__GT_t_cljs$core27108(meta27109){ +return (new cljs.core.t_cljs$core27108(meta27109)); +}); + + +cljs.core.nil_iter = (function cljs$core$nil_iter(){ +return (new cljs.core.t_cljs$core27108(cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor +*/ +cljs.core.StringIter = (function (s,i){ +this.s = s; +this.i = i; +}); +(cljs.core.StringIter.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (self__.i < self__.s.length); +})); + +(cljs.core.StringIter.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = self__.s.charAt(self__.i); +(self__.i = (self__.i + (1))); + +return ret; +})); + +(cljs.core.StringIter.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.StringIter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"s","s",-948495851,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.StringIter.cljs$lang$type = true); + +(cljs.core.StringIter.cljs$lang$ctorStr = "cljs.core/StringIter"); + +(cljs.core.StringIter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/StringIter"); +})); + +/** + * Positional factory function for cljs.core/StringIter. + */ +cljs.core.__GT_StringIter = (function cljs$core$__GT_StringIter(s,i){ +return (new cljs.core.StringIter(s,i)); +}); + +cljs.core.string_iter = (function cljs$core$string_iter(x){ +return (new cljs.core.StringIter(x,(0))); +}); + +/** +* @constructor +*/ +cljs.core.ArrayIter = (function (arr,i){ +this.arr = arr; +this.i = i; +}); +(cljs.core.ArrayIter.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (self__.i < self__.arr.length); +})); + +(cljs.core.ArrayIter.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = (self__.arr[self__.i]); +(self__.i = (self__.i + (1))); + +return ret; +})); + +(cljs.core.ArrayIter.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.ArrayIter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ArrayIter.cljs$lang$type = true); + +(cljs.core.ArrayIter.cljs$lang$ctorStr = "cljs.core/ArrayIter"); + +(cljs.core.ArrayIter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ArrayIter"); +})); + +/** + * Positional factory function for cljs.core/ArrayIter. + */ +cljs.core.__GT_ArrayIter = (function cljs$core$__GT_ArrayIter(arr,i){ +return (new cljs.core.ArrayIter(arr,i)); +}); + +cljs.core.array_iter = (function cljs$core$array_iter(x){ +return (new cljs.core.ArrayIter(x,(0))); +}); +cljs.core.INIT = ({}); +cljs.core.START = ({}); + +/** +* @constructor +*/ +cljs.core.SeqIter = (function (_seq,_next){ +this._seq = _seq; +this._next = _next; +}); +(cljs.core.SeqIter.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +if((self__._seq === cljs.core.INIT)){ +(self__._seq = cljs.core.START); + +(self__._next = cljs.core.seq(self__._next)); +} else { +if((self__._seq === self__._next)){ +(self__._next = cljs.core.next(self__._seq)); +} else { +} +} + +return (!((self__._next == null))); +})); + +(cljs.core.SeqIter.prototype.next = (function (){ +var self__ = this; +var this$ = this; +if((!(this$.hasNext()))){ +throw (new Error("No such element")); +} else { +(self__._seq = self__._next); + +return cljs.core.first(self__._next); +} +})); + +(cljs.core.SeqIter.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.SeqIter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"_seq","_seq",-449557847,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"_next","_next",101877036,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.SeqIter.cljs$lang$type = true); + +(cljs.core.SeqIter.cljs$lang$ctorStr = "cljs.core/SeqIter"); + +(cljs.core.SeqIter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/SeqIter"); +})); + +/** + * Positional factory function for cljs.core/SeqIter. + */ +cljs.core.__GT_SeqIter = (function cljs$core$__GT_SeqIter(_seq,_next){ +return (new cljs.core.SeqIter(_seq,_next)); +}); + +cljs.core.seq_iter = (function cljs$core$seq_iter(coll){ +return (new cljs.core.SeqIter(cljs.core.INIT,coll)); +}); +cljs.core.iter = (function cljs$core$iter(coll){ +if(cljs.core.iterable_QMARK_(coll)){ +return cljs.core._iterator(coll); +} else { +if((coll == null)){ +return cljs.core.nil_iter(); +} else { +if(typeof coll === 'string'){ +return cljs.core.string_iter(coll); +} else { +if(cljs.core.array_QMARK_(coll)){ +return cljs.core.array_iter(coll); +} else { +if(cljs.core.seqable_QMARK_(coll)){ +return cljs.core.seq_iter(coll); +} else { +throw (new Error(["Cannot create iterator from ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll)].join(''))); + +} +} +} +} +} +}); + +/** +* @constructor +*/ +cljs.core.Many = (function (vals){ +this.vals = vals; +}); +(cljs.core.Many.prototype.add = (function (o){ +var self__ = this; +var this$ = this; +self__.vals.push(o); + +return this$; +})); + +(cljs.core.Many.prototype.remove = (function (){ +var self__ = this; +var this$ = this; +return self__.vals.shift(); +})); + +(cljs.core.Many.prototype.isEmpty = (function (){ +var self__ = this; +var this$ = this; +return (self__.vals.length === (0)); +})); + +(cljs.core.Many.prototype.toString = (function (){ +var self__ = this; +var this$ = this; +return ["Many: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.vals)].join(''); +})); + +(cljs.core.Many.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"vals","vals",-1886377036,null)], null); +})); + +(cljs.core.Many.cljs$lang$type = true); + +(cljs.core.Many.cljs$lang$ctorStr = "cljs.core/Many"); + +(cljs.core.Many.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Many"); +})); + +/** + * Positional factory function for cljs.core/Many. + */ +cljs.core.__GT_Many = (function cljs$core$__GT_Many(vals){ +return (new cljs.core.Many(vals)); +}); + +cljs.core.NONE = ({}); + +/** +* @constructor +*/ +cljs.core.Single = (function (val){ +this.val = val; +}); +(cljs.core.Single.prototype.add = (function (o){ +var self__ = this; +var this$ = this; +if((self__.val === cljs.core.NONE)){ +(self__.val = o); + +return this$; +} else { +return (new cljs.core.Many([self__.val,o])); +} +})); + +(cljs.core.Single.prototype.remove = (function (){ +var self__ = this; +var this$ = this; +if((self__.val === cljs.core.NONE)){ +throw (new Error("Removing object from empty buffer")); +} else { +var ret = self__.val; +(self__.val = cljs.core.NONE); + +return ret; +} +})); + +(cljs.core.Single.prototype.isEmpty = (function (){ +var self__ = this; +var this$ = this; +return (self__.val === cljs.core.NONE); +})); + +(cljs.core.Single.prototype.toString = (function (){ +var self__ = this; +var this$ = this; +return ["Single: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.val)].join(''); +})); + +(cljs.core.Single.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Single.cljs$lang$type = true); + +(cljs.core.Single.cljs$lang$ctorStr = "cljs.core/Single"); + +(cljs.core.Single.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Single"); +})); + +/** + * Positional factory function for cljs.core/Single. + */ +cljs.core.__GT_Single = (function cljs$core$__GT_Single(val){ +return (new cljs.core.Single(val)); +}); + + +/** +* @constructor +*/ +cljs.core.Empty = (function (){ +}); +(cljs.core.Empty.prototype.add = (function (o){ +var self__ = this; +var this$ = this; +return (new cljs.core.Single(o)); +})); + +(cljs.core.Empty.prototype.remove = (function (){ +var self__ = this; +var this$ = this; +throw (new Error("Removing object from empty buffer")); +})); + +(cljs.core.Empty.prototype.isEmpty = (function (){ +var self__ = this; +var this$ = this; +return true; +})); + +(cljs.core.Empty.prototype.toString = (function (){ +var self__ = this; +var this$ = this; +return "Empty"; +})); + +(cljs.core.Empty.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cljs.core.Empty.cljs$lang$type = true); + +(cljs.core.Empty.cljs$lang$ctorStr = "cljs.core/Empty"); + +(cljs.core.Empty.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Empty"); +})); + +/** + * Positional factory function for cljs.core/Empty. + */ +cljs.core.__GT_Empty = (function cljs$core$__GT_Empty(){ +return (new cljs.core.Empty()); +}); + +cljs.core.EMPTY = (new cljs.core.Empty()); + +/** +* @constructor +*/ +cljs.core.MultiIterator = (function (iters){ +this.iters = iters; +}); +(cljs.core.MultiIterator.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +var iters__$1 = cljs.core.seq(self__.iters); +while(true){ +if((!((iters__$1 == null)))){ +var iter = cljs.core.first(iters__$1); +if((!(iter.hasNext()))){ +return false; +} else { +var G__31436 = cljs.core.next(iters__$1); +iters__$1 = G__31436; +continue; +} +} else { +return true; +} +break; +} +})); + +(cljs.core.MultiIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var nexts = []; +var n__5636__auto___31440 = self__.iters.length; +var i_31441 = (0); +while(true){ +if((i_31441 < n__5636__auto___31440)){ +(nexts[i_31441] = (self__.iters[i_31441]).next()); + +var G__31443 = (i_31441 + (1)); +i_31441 = G__31443; +continue; +} else { +} +break; +} + +return cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(nexts,(0)); +})); + +(cljs.core.MultiIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"iters","iters",719353031,null)], null); +})); + +(cljs.core.MultiIterator.cljs$lang$type = true); + +(cljs.core.MultiIterator.cljs$lang$ctorStr = "cljs.core/MultiIterator"); + +(cljs.core.MultiIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/MultiIterator"); +})); + +/** + * Positional factory function for cljs.core/MultiIterator. + */ +cljs.core.__GT_MultiIterator = (function cljs$core$__GT_MultiIterator(iters){ +return (new cljs.core.MultiIterator(iters)); +}); + +cljs.core.chunkIteratorSeq = (function cljs$core$chunkIteratorSeq(iter){ +return (new cljs.core.LazySeq(null,(function (){ +if(iter.hasNext()){ +var arr = []; +var n = (0); +while(true){ +if(cljs.core.truth_((function (){var and__5043__auto__ = iter.hasNext(); +if(cljs.core.truth_(and__5043__auto__)){ +return (n < (32)); +} else { +return and__5043__auto__; +} +})())){ +(arr[n] = iter.next()); + +var G__31446 = (n + (1)); +n = G__31446; +continue; +} else { +return cljs.core.chunk_cons(cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3(arr,(0),n),(cljs.core.chunkIteratorSeq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.chunkIteratorSeq.cljs$core$IFn$_invoke$arity$1(iter) : cljs.core.chunkIteratorSeq.call(null, iter))); +} +break; +} +} else { +return null; +} +}),null,null)); +}); + +/** +* @constructor +*/ +cljs.core.TransformerIterator = (function (buffer,_next,completed,xf,sourceIter,multi){ +this.buffer = buffer; +this._next = _next; +this.completed = completed; +this.xf = xf; +this.sourceIter = sourceIter; +this.multi = multi; +}); +(cljs.core.TransformerIterator.prototype.step = (function (){ +var self__ = this; +var this$ = this; +if((!((self__._next === cljs.core.NONE)))){ +return true; +} else { +while(true){ +if((self__._next === cljs.core.NONE)){ +if(self__.buffer.isEmpty()){ +if(self__.completed){ +return false; +} else { +if(self__.sourceIter.hasNext()){ +var iter = ((self__.multi)?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(self__.xf,cljs.core.cons(null,self__.sourceIter.next())):(function (){var G__27111 = null; +var G__27112 = self__.sourceIter.next(); +return (self__.xf.cljs$core$IFn$_invoke$arity$2 ? self__.xf.cljs$core$IFn$_invoke$arity$2(G__27111,G__27112) : self__.xf.call(null, G__27111,G__27112)); +})()); +if(cljs.core.reduced_QMARK_(iter)){ +(self__.xf.cljs$core$IFn$_invoke$arity$1 ? self__.xf.cljs$core$IFn$_invoke$arity$1(null) : self__.xf.call(null, null)); + +(self__.completed = true); +} else { +} + +continue; +} else { +(self__.xf.cljs$core$IFn$_invoke$arity$1 ? self__.xf.cljs$core$IFn$_invoke$arity$1(null) : self__.xf.call(null, null)); + +(self__.completed = true); + +continue; +} +} +} else { +(self__._next = self__.buffer.remove()); + +continue; +} +} else { +return true; +} +break; +} +} +})); + +(cljs.core.TransformerIterator.prototype.hasNext = (function (){ +var self__ = this; +var this$ = this; +return this$.step(); +})); + +(cljs.core.TransformerIterator.prototype.next = (function (){ +var self__ = this; +var this$ = this; +if(this$.hasNext()){ +var ret = self__._next; +(self__._next = cljs.core.NONE); + +return ret; +} else { +throw (new Error("No such element")); +} +})); + +(cljs.core.TransformerIterator.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.TransformerIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"buffer","buffer",-2037140571,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"_next","_next",101877036,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"completed","completed",1154475024,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"xf","xf",2042434515,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"sourceIter","sourceIter",1068220306,null),new cljs.core.Symbol(null,"multi","multi",1450238522,null)], null); +})); + +(cljs.core.TransformerIterator.cljs$lang$type = true); + +(cljs.core.TransformerIterator.cljs$lang$ctorStr = "cljs.core/TransformerIterator"); + +(cljs.core.TransformerIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/TransformerIterator"); +})); + +/** + * Positional factory function for cljs.core/TransformerIterator. + */ +cljs.core.__GT_TransformerIterator = (function cljs$core$__GT_TransformerIterator(buffer,_next,completed,xf,sourceIter,multi){ +return (new cljs.core.TransformerIterator(buffer,_next,completed,xf,sourceIter,multi)); +}); + +(cljs.core.TransformerIterator.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.transformer_iterator = (function cljs$core$transformer_iterator(xform,sourceIter,multi){ +var iterator = (new cljs.core.TransformerIterator(cljs.core.EMPTY,cljs.core.NONE,false,null,sourceIter,multi)); +(iterator.xf = (function (){var G__27113 = (function() { +var G__31463 = null; +var G__31463__0 = (function (){ +return null; +}); +var G__31463__1 = (function (acc){ +return acc; +}); +var G__31463__2 = (function (acc,o){ +(iterator.buffer = iterator.buffer.add(o)); + +return acc; +}); +G__31463 = function(acc,o){ +switch(arguments.length){ +case 0: +return G__31463__0.call(this); +case 1: +return G__31463__1.call(this,acc); +case 2: +return G__31463__2.call(this,acc,o); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31463.cljs$core$IFn$_invoke$arity$0 = G__31463__0; +G__31463.cljs$core$IFn$_invoke$arity$1 = G__31463__1; +G__31463.cljs$core$IFn$_invoke$arity$2 = G__31463__2; +return G__31463; +})() +; +return (xform.cljs$core$IFn$_invoke$arity$1 ? xform.cljs$core$IFn$_invoke$arity$1(G__27113) : xform.call(null, G__27113)); +})()); + +return iterator; +}); +(cljs.core.TransformerIterator.create = (function (xform,source){ +return cljs.core.transformer_iterator(xform,source,false); +})); +(cljs.core.TransformerIterator.createMulti = (function (xform,sources){ +return cljs.core.transformer_iterator(xform,(new cljs.core.MultiIterator(cljs.core.to_array(sources))),true); +})); +/** + * Coerces coll to a (possibly empty) sequence, if it is not already + * one. Will not force a lazy seq. (sequence nil) yields (), When a + * transducer is supplied, returns a lazy sequence of applications of + * the transform to the items in coll(s), i.e. to the set of first + * items of each coll, followed by the set of second + * items in each coll, until any one of the colls is exhausted. Any + * remaining items in other colls are ignored. The transform should accept + * number-of-colls arguments + */ +cljs.core.sequence = (function cljs$core$sequence(var_args){ +var G__27118 = arguments.length; +switch (G__27118) { +case 1: +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31467 = arguments.length; +var i__5770__auto___31468 = (0); +while(true){ +if((i__5770__auto___31468 < len__5769__auto___31467)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31468])); + +var G__31469 = (i__5770__auto___31468 + (1)); +i__5770__auto___31468 = G__31469; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.sequence.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +if(cljs.core.seq_QMARK_(coll)){ +return coll; +} else { +var or__5045__auto__ = cljs.core.seq(coll); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.List.EMPTY; +} +} +})); + +(cljs.core.sequence.cljs$core$IFn$_invoke$arity$2 = (function (xform,coll){ +var or__5045__auto__ = cljs.core.chunkIteratorSeq(cljs.core.TransformerIterator.create(xform,cljs.core.iter(coll))); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.sequence.cljs$core$IFn$_invoke$arity$variadic = (function (xform,coll,colls){ +var or__5045__auto__ = cljs.core.chunkIteratorSeq(cljs.core.TransformerIterator.createMulti(xform,(function (){var G__27119 = cljs.core.iter; +var G__27120 = cljs.core.cons(coll,colls); +return (cljs.core.map.cljs$core$IFn$_invoke$arity$2 ? cljs.core.map.cljs$core$IFn$_invoke$arity$2(G__27119,G__27120) : cljs.core.map.call(null, G__27119,G__27120)); +})())); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.List.EMPTY; +} +})); + +/** @this {Function} */ +(cljs.core.sequence.cljs$lang$applyTo = (function (seq27115){ +var G__27116 = cljs.core.first(seq27115); +var seq27115__$1 = cljs.core.next(seq27115); +var G__27117 = cljs.core.first(seq27115__$1); +var seq27115__$2 = cljs.core.next(seq27115__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27116,G__27117,seq27115__$2); +})); + +(cljs.core.sequence.cljs$lang$maxFixedArity = (2)); + +/** + * Returns true if (pred x) is logical true for every x in coll, else + * false. + */ +cljs.core.every_QMARK_ = (function cljs$core$every_QMARK_(pred,coll){ +while(true){ +if((cljs.core.seq(coll) == null)){ +return true; +} else { +if(cljs.core.truth_((function (){var G__27121 = cljs.core.first(coll); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__27121) : pred.call(null, G__27121)); +})())){ +var G__31476 = pred; +var G__31477 = cljs.core.next(coll); +pred = G__31476; +coll = G__31477; +continue; +} else { +return false; + +} +} +break; +} +}); +/** + * Returns false if (pred x) is logical true for every x in + * coll, else true. + */ +cljs.core.not_every_QMARK_ = (function cljs$core$not_every_QMARK_(pred,coll){ +return (!(cljs.core.every_QMARK_(pred,coll))); +}); +/** + * Returns the first logical true value of (pred x) for any x in coll, + * else nil. One common idiom is to use a set as pred, for example + * this will return :fred if :fred is in the sequence, otherwise nil: + * (some #{:fred} coll) + */ +cljs.core.some = (function cljs$core$some(pred,coll){ +while(true){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +var or__5045__auto__ = (function (){var G__27122 = cljs.core.first(s); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__27122) : pred.call(null, G__27122)); +})(); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var G__31479 = pred; +var G__31480 = cljs.core.next(s); +pred = G__31479; +coll = G__31480; +continue; +} +} else { +return null; +} +break; +} +}); +/** + * Returns false if (pred x) is logical true for any x in coll, + * else true. + */ +cljs.core.not_any_QMARK_ = (function cljs$core$not_any_QMARK_(pred,coll){ +return cljs.core.not(cljs.core.some(pred,coll)); +}); +/** + * Returns true if n is even, throws an exception if n is not an integer + */ +cljs.core.even_QMARK_ = (function cljs$core$even_QMARK_(n){ +if(cljs.core.integer_QMARK_(n)){ +return ((n & (1)) === (0)); +} else { +throw (new Error(["Argument must be an integer: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)].join(''))); +} +}); +/** + * Returns true if n is odd, throws an exception if n is not an integer + */ +cljs.core.odd_QMARK_ = (function cljs$core$odd_QMARK_(n){ +return (!(cljs.core.even_QMARK_(n))); +}); +/** + * Takes a fn f and returns a fn that takes the same arguments as f, + * has the same effects, if any, and returns the opposite truth value. + */ +cljs.core.complement = (function cljs$core$complement(f){ +return (function() { +var G__31484 = null; +var G__31484__0 = (function (){ +return cljs.core.not((f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, ))); +}); +var G__31484__1 = (function (x){ +return cljs.core.not((f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null, x))); +}); +var G__31484__2 = (function (x,y){ +return cljs.core.not((f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null, x,y))); +}); +var G__31484__3 = (function() { +var G__31486__delegate = function (x,y,zs){ +return cljs.core.not(cljs.core.apply.cljs$core$IFn$_invoke$arity$4(f,x,y,zs)); +}; +var G__31486 = function (x,y,var_args){ +var zs = null; +if (arguments.length > 2) { +var G__31487__i = 0, G__31487__a = new Array(arguments.length - 2); +while (G__31487__i < G__31487__a.length) {G__31487__a[G__31487__i] = arguments[G__31487__i + 2]; ++G__31487__i;} + zs = new cljs.core.IndexedSeq(G__31487__a,0,null); +} +return G__31486__delegate.call(this,x,y,zs);}; +G__31486.cljs$lang$maxFixedArity = 2; +G__31486.cljs$lang$applyTo = (function (arglist__31488){ +var x = cljs.core.first(arglist__31488); +arglist__31488 = cljs.core.next(arglist__31488); +var y = cljs.core.first(arglist__31488); +var zs = cljs.core.rest(arglist__31488); +return G__31486__delegate(x,y,zs); +}); +G__31486.cljs$core$IFn$_invoke$arity$variadic = G__31486__delegate; +return G__31486; +})() +; +G__31484 = function(x,y,var_args){ +var zs = var_args; +switch(arguments.length){ +case 0: +return G__31484__0.call(this); +case 1: +return G__31484__1.call(this,x); +case 2: +return G__31484__2.call(this,x,y); +default: +var G__31492 = null; +if (arguments.length > 2) { +var G__31493__i = 0, G__31493__a = new Array(arguments.length - 2); +while (G__31493__i < G__31493__a.length) {G__31493__a[G__31493__i] = arguments[G__31493__i + 2]; ++G__31493__i;} +G__31492 = new cljs.core.IndexedSeq(G__31493__a,0,null); +} +return G__31484__3.cljs$core$IFn$_invoke$arity$variadic(x,y, G__31492); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31484.cljs$lang$maxFixedArity = 2; +G__31484.cljs$lang$applyTo = G__31484__3.cljs$lang$applyTo; +G__31484.cljs$core$IFn$_invoke$arity$0 = G__31484__0; +G__31484.cljs$core$IFn$_invoke$arity$1 = G__31484__1; +G__31484.cljs$core$IFn$_invoke$arity$2 = G__31484__2; +G__31484.cljs$core$IFn$_invoke$arity$variadic = G__31484__3.cljs$core$IFn$_invoke$arity$variadic; +return G__31484; +})() +}); +/** + * Returns a function that takes any number of arguments and returns x. + */ +cljs.core.constantly = (function cljs$core$constantly(x){ +return (function() { +var G__31495__delegate = function (args){ +return x; +}; +var G__31495 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__31496__i = 0, G__31496__a = new Array(arguments.length - 0); +while (G__31496__i < G__31496__a.length) {G__31496__a[G__31496__i] = arguments[G__31496__i + 0]; ++G__31496__i;} + args = new cljs.core.IndexedSeq(G__31496__a,0,null); +} +return G__31495__delegate.call(this,args);}; +G__31495.cljs$lang$maxFixedArity = 0; +G__31495.cljs$lang$applyTo = (function (arglist__31497){ +var args = cljs.core.seq(arglist__31497); +return G__31495__delegate(args); +}); +G__31495.cljs$core$IFn$_invoke$arity$variadic = G__31495__delegate; +return G__31495; +})() +; +}); +/** + * Takes a set of functions and returns a fn that is the composition + * of those fns. The returned fn takes a variable number of args, + * applies the rightmost of fns to the args, the next + * fn (right-to-left) to the result, etc. + */ +cljs.core.comp = (function cljs$core$comp(var_args){ +var G__27128 = arguments.length; +switch (G__27128) { +case 0: +return cljs.core.comp.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.comp.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.comp.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.comp.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31504 = arguments.length; +var i__5770__auto___31505 = (0); +while(true){ +if((i__5770__auto___31505 < len__5769__auto___31504)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31505])); + +var G__31506 = (i__5770__auto___31505 + (1)); +i__5770__auto___31505 = G__31506; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.comp.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.comp.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.identity; +})); + +(cljs.core.comp.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return f; +})); + +(cljs.core.comp.cljs$core$IFn$_invoke$arity$2 = (function (f,g){ +return (function() { +var G__31510 = null; +var G__31510__0 = (function (){ +var G__27129 = (g.cljs$core$IFn$_invoke$arity$0 ? g.cljs$core$IFn$_invoke$arity$0() : g.call(null, )); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27129) : f.call(null, G__27129)); +}); +var G__31510__1 = (function (x){ +var G__27130 = (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(x) : g.call(null, x)); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27130) : f.call(null, G__27130)); +}); +var G__31510__2 = (function (x,y){ +var G__27131 = (g.cljs$core$IFn$_invoke$arity$2 ? g.cljs$core$IFn$_invoke$arity$2(x,y) : g.call(null, x,y)); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27131) : f.call(null, G__27131)); +}); +var G__31510__3 = (function (x,y,z){ +var G__27132 = (g.cljs$core$IFn$_invoke$arity$3 ? g.cljs$core$IFn$_invoke$arity$3(x,y,z) : g.call(null, x,y,z)); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27132) : f.call(null, G__27132)); +}); +var G__31510__4 = (function() { +var G__31514__delegate = function (x,y,z,args){ +var G__27133 = cljs.core.apply.cljs$core$IFn$_invoke$arity$5(g,x,y,z,args); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27133) : f.call(null, G__27133)); +}; +var G__31514 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31515__i = 0, G__31515__a = new Array(arguments.length - 3); +while (G__31515__i < G__31515__a.length) {G__31515__a[G__31515__i] = arguments[G__31515__i + 3]; ++G__31515__i;} + args = new cljs.core.IndexedSeq(G__31515__a,0,null); +} +return G__31514__delegate.call(this,x,y,z,args);}; +G__31514.cljs$lang$maxFixedArity = 3; +G__31514.cljs$lang$applyTo = (function (arglist__31516){ +var x = cljs.core.first(arglist__31516); +arglist__31516 = cljs.core.next(arglist__31516); +var y = cljs.core.first(arglist__31516); +arglist__31516 = cljs.core.next(arglist__31516); +var z = cljs.core.first(arglist__31516); +var args = cljs.core.rest(arglist__31516); +return G__31514__delegate(x,y,z,args); +}); +G__31514.cljs$core$IFn$_invoke$arity$variadic = G__31514__delegate; +return G__31514; +})() +; +G__31510 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__31510__0.call(this); +case 1: +return G__31510__1.call(this,x); +case 2: +return G__31510__2.call(this,x,y); +case 3: +return G__31510__3.call(this,x,y,z); +default: +var G__31517 = null; +if (arguments.length > 3) { +var G__31518__i = 0, G__31518__a = new Array(arguments.length - 3); +while (G__31518__i < G__31518__a.length) {G__31518__a[G__31518__i] = arguments[G__31518__i + 3]; ++G__31518__i;} +G__31517 = new cljs.core.IndexedSeq(G__31518__a,0,null); +} +return G__31510__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31517); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31510.cljs$lang$maxFixedArity = 3; +G__31510.cljs$lang$applyTo = G__31510__4.cljs$lang$applyTo; +G__31510.cljs$core$IFn$_invoke$arity$0 = G__31510__0; +G__31510.cljs$core$IFn$_invoke$arity$1 = G__31510__1; +G__31510.cljs$core$IFn$_invoke$arity$2 = G__31510__2; +G__31510.cljs$core$IFn$_invoke$arity$3 = G__31510__3; +G__31510.cljs$core$IFn$_invoke$arity$variadic = G__31510__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31510; +})() +})); + +(cljs.core.comp.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ +return (function() { +var G__31519 = null; +var G__31519__0 = (function (){ +var G__27134 = (function (){var G__27135 = (h.cljs$core$IFn$_invoke$arity$0 ? h.cljs$core$IFn$_invoke$arity$0() : h.call(null, )); +return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__27135) : g.call(null, G__27135)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27134) : f.call(null, G__27134)); +}); +var G__31519__1 = (function (x){ +var G__27136 = (function (){var G__27137 = (h.cljs$core$IFn$_invoke$arity$1 ? h.cljs$core$IFn$_invoke$arity$1(x) : h.call(null, x)); +return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__27137) : g.call(null, G__27137)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27136) : f.call(null, G__27136)); +}); +var G__31519__2 = (function (x,y){ +var G__27138 = (function (){var G__27139 = (h.cljs$core$IFn$_invoke$arity$2 ? h.cljs$core$IFn$_invoke$arity$2(x,y) : h.call(null, x,y)); +return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__27139) : g.call(null, G__27139)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27138) : f.call(null, G__27138)); +}); +var G__31519__3 = (function (x,y,z){ +var G__27140 = (function (){var G__27141 = (h.cljs$core$IFn$_invoke$arity$3 ? h.cljs$core$IFn$_invoke$arity$3(x,y,z) : h.call(null, x,y,z)); +return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__27141) : g.call(null, G__27141)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27140) : f.call(null, G__27140)); +}); +var G__31519__4 = (function() { +var G__31525__delegate = function (x,y,z,args){ +var G__27142 = (function (){var G__27143 = cljs.core.apply.cljs$core$IFn$_invoke$arity$5(h,x,y,z,args); +return (g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(G__27143) : g.call(null, G__27143)); +})(); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27142) : f.call(null, G__27142)); +}; +var G__31525 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31527__i = 0, G__31527__a = new Array(arguments.length - 3); +while (G__31527__i < G__31527__a.length) {G__31527__a[G__31527__i] = arguments[G__31527__i + 3]; ++G__31527__i;} + args = new cljs.core.IndexedSeq(G__31527__a,0,null); +} +return G__31525__delegate.call(this,x,y,z,args);}; +G__31525.cljs$lang$maxFixedArity = 3; +G__31525.cljs$lang$applyTo = (function (arglist__31528){ +var x = cljs.core.first(arglist__31528); +arglist__31528 = cljs.core.next(arglist__31528); +var y = cljs.core.first(arglist__31528); +arglist__31528 = cljs.core.next(arglist__31528); +var z = cljs.core.first(arglist__31528); +var args = cljs.core.rest(arglist__31528); +return G__31525__delegate(x,y,z,args); +}); +G__31525.cljs$core$IFn$_invoke$arity$variadic = G__31525__delegate; +return G__31525; +})() +; +G__31519 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__31519__0.call(this); +case 1: +return G__31519__1.call(this,x); +case 2: +return G__31519__2.call(this,x,y); +case 3: +return G__31519__3.call(this,x,y,z); +default: +var G__31535 = null; +if (arguments.length > 3) { +var G__31536__i = 0, G__31536__a = new Array(arguments.length - 3); +while (G__31536__i < G__31536__a.length) {G__31536__a[G__31536__i] = arguments[G__31536__i + 3]; ++G__31536__i;} +G__31535 = new cljs.core.IndexedSeq(G__31536__a,0,null); +} +return G__31519__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31535); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31519.cljs$lang$maxFixedArity = 3; +G__31519.cljs$lang$applyTo = G__31519__4.cljs$lang$applyTo; +G__31519.cljs$core$IFn$_invoke$arity$0 = G__31519__0; +G__31519.cljs$core$IFn$_invoke$arity$1 = G__31519__1; +G__31519.cljs$core$IFn$_invoke$arity$2 = G__31519__2; +G__31519.cljs$core$IFn$_invoke$arity$3 = G__31519__3; +G__31519.cljs$core$IFn$_invoke$arity$variadic = G__31519__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31519; +})() +})); + +(cljs.core.comp.cljs$core$IFn$_invoke$arity$variadic = (function (f1,f2,f3,fs){ +var fs__$1 = cljs.core.reverse(cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(f1,f2,f3,fs)); +return (function() { +var G__31537__delegate = function (args){ +var ret = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.first(fs__$1),args); +var fs__$2 = cljs.core.next(fs__$1); +while(true){ +if(fs__$2){ +var G__31538 = (function (){var fexpr__27144 = cljs.core.first(fs__$2); +return (fexpr__27144.cljs$core$IFn$_invoke$arity$1 ? fexpr__27144.cljs$core$IFn$_invoke$arity$1(ret) : fexpr__27144.call(null, ret)); +})(); +var G__31539 = cljs.core.next(fs__$2); +ret = G__31538; +fs__$2 = G__31539; +continue; +} else { +return ret; +} +break; +} +}; +var G__31537 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__31540__i = 0, G__31540__a = new Array(arguments.length - 0); +while (G__31540__i < G__31540__a.length) {G__31540__a[G__31540__i] = arguments[G__31540__i + 0]; ++G__31540__i;} + args = new cljs.core.IndexedSeq(G__31540__a,0,null); +} +return G__31537__delegate.call(this,args);}; +G__31537.cljs$lang$maxFixedArity = 0; +G__31537.cljs$lang$applyTo = (function (arglist__31541){ +var args = cljs.core.seq(arglist__31541); +return G__31537__delegate(args); +}); +G__31537.cljs$core$IFn$_invoke$arity$variadic = G__31537__delegate; +return G__31537; +})() +; +})); + +/** @this {Function} */ +(cljs.core.comp.cljs$lang$applyTo = (function (seq27124){ +var G__27125 = cljs.core.first(seq27124); +var seq27124__$1 = cljs.core.next(seq27124); +var G__27126 = cljs.core.first(seq27124__$1); +var seq27124__$2 = cljs.core.next(seq27124__$1); +var G__27127 = cljs.core.first(seq27124__$2); +var seq27124__$3 = cljs.core.next(seq27124__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27125,G__27126,G__27127,seq27124__$3); +})); + +(cljs.core.comp.cljs$lang$maxFixedArity = (3)); + +/** + * Takes a function f and fewer than the normal arguments to f, and + * returns a fn that takes a variable number of additional args. When + * called, the returned function calls f with args + additional args. + */ +cljs.core.partial = (function cljs$core$partial(var_args){ +var G__27151 = arguments.length; +switch (G__27151) { +case 1: +return cljs.core.partial.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.partial.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.partial.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.partial.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31557 = arguments.length; +var i__5770__auto___31558 = (0); +while(true){ +if((i__5770__auto___31558 < len__5769__auto___31557)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31558])); + +var G__31559 = (i__5770__auto___31558 + (1)); +i__5770__auto___31558 = G__31559; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((4)),(0),null)); +return cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__5795__auto__); + +} +}); + +(cljs.core.partial.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return f; +})); + +(cljs.core.partial.cljs$core$IFn$_invoke$arity$2 = (function (f,arg1){ +return (function() { +var G__31560 = null; +var G__31560__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(arg1) : f.call(null, arg1)); +}); +var G__31560__1 = (function (x){ +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(arg1,x) : f.call(null, arg1,x)); +}); +var G__31560__2 = (function (x,y){ +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(arg1,x,y) : f.call(null, arg1,x,y)); +}); +var G__31560__3 = (function (x,y,z){ +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(arg1,x,y,z) : f.call(null, arg1,x,y,z)); +}); +var G__31560__4 = (function() { +var G__31567__delegate = function (x,y,z,args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,x,y,z,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([args], 0)); +}; +var G__31567 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31568__i = 0, G__31568__a = new Array(arguments.length - 3); +while (G__31568__i < G__31568__a.length) {G__31568__a[G__31568__i] = arguments[G__31568__i + 3]; ++G__31568__i;} + args = new cljs.core.IndexedSeq(G__31568__a,0,null); +} +return G__31567__delegate.call(this,x,y,z,args);}; +G__31567.cljs$lang$maxFixedArity = 3; +G__31567.cljs$lang$applyTo = (function (arglist__31569){ +var x = cljs.core.first(arglist__31569); +arglist__31569 = cljs.core.next(arglist__31569); +var y = cljs.core.first(arglist__31569); +arglist__31569 = cljs.core.next(arglist__31569); +var z = cljs.core.first(arglist__31569); +var args = cljs.core.rest(arglist__31569); +return G__31567__delegate(x,y,z,args); +}); +G__31567.cljs$core$IFn$_invoke$arity$variadic = G__31567__delegate; +return G__31567; +})() +; +G__31560 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__31560__0.call(this); +case 1: +return G__31560__1.call(this,x); +case 2: +return G__31560__2.call(this,x,y); +case 3: +return G__31560__3.call(this,x,y,z); +default: +var G__31576 = null; +if (arguments.length > 3) { +var G__31577__i = 0, G__31577__a = new Array(arguments.length - 3); +while (G__31577__i < G__31577__a.length) {G__31577__a[G__31577__i] = arguments[G__31577__i + 3]; ++G__31577__i;} +G__31576 = new cljs.core.IndexedSeq(G__31577__a,0,null); +} +return G__31560__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31576); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31560.cljs$lang$maxFixedArity = 3; +G__31560.cljs$lang$applyTo = G__31560__4.cljs$lang$applyTo; +G__31560.cljs$core$IFn$_invoke$arity$0 = G__31560__0; +G__31560.cljs$core$IFn$_invoke$arity$1 = G__31560__1; +G__31560.cljs$core$IFn$_invoke$arity$2 = G__31560__2; +G__31560.cljs$core$IFn$_invoke$arity$3 = G__31560__3; +G__31560.cljs$core$IFn$_invoke$arity$variadic = G__31560__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31560; +})() +})); + +(cljs.core.partial.cljs$core$IFn$_invoke$arity$3 = (function (f,arg1,arg2){ +return (function() { +var G__31578 = null; +var G__31578__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(arg1,arg2) : f.call(null, arg1,arg2)); +}); +var G__31578__1 = (function (x){ +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(arg1,arg2,x) : f.call(null, arg1,arg2,x)); +}); +var G__31578__2 = (function (x,y){ +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(arg1,arg2,x,y) : f.call(null, arg1,arg2,x,y)); +}); +var G__31578__3 = (function (x,y,z){ +return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(arg1,arg2,x,y,z) : f.call(null, arg1,arg2,x,y,z)); +}); +var G__31578__4 = (function() { +var G__31580__delegate = function (x,y,z,args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,arg2,x,y,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([z,args], 0)); +}; +var G__31580 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31581__i = 0, G__31581__a = new Array(arguments.length - 3); +while (G__31581__i < G__31581__a.length) {G__31581__a[G__31581__i] = arguments[G__31581__i + 3]; ++G__31581__i;} + args = new cljs.core.IndexedSeq(G__31581__a,0,null); +} +return G__31580__delegate.call(this,x,y,z,args);}; +G__31580.cljs$lang$maxFixedArity = 3; +G__31580.cljs$lang$applyTo = (function (arglist__31586){ +var x = cljs.core.first(arglist__31586); +arglist__31586 = cljs.core.next(arglist__31586); +var y = cljs.core.first(arglist__31586); +arglist__31586 = cljs.core.next(arglist__31586); +var z = cljs.core.first(arglist__31586); +var args = cljs.core.rest(arglist__31586); +return G__31580__delegate(x,y,z,args); +}); +G__31580.cljs$core$IFn$_invoke$arity$variadic = G__31580__delegate; +return G__31580; +})() +; +G__31578 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__31578__0.call(this); +case 1: +return G__31578__1.call(this,x); +case 2: +return G__31578__2.call(this,x,y); +case 3: +return G__31578__3.call(this,x,y,z); +default: +var G__31587 = null; +if (arguments.length > 3) { +var G__31588__i = 0, G__31588__a = new Array(arguments.length - 3); +while (G__31588__i < G__31588__a.length) {G__31588__a[G__31588__i] = arguments[G__31588__i + 3]; ++G__31588__i;} +G__31587 = new cljs.core.IndexedSeq(G__31588__a,0,null); +} +return G__31578__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31587); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31578.cljs$lang$maxFixedArity = 3; +G__31578.cljs$lang$applyTo = G__31578__4.cljs$lang$applyTo; +G__31578.cljs$core$IFn$_invoke$arity$0 = G__31578__0; +G__31578.cljs$core$IFn$_invoke$arity$1 = G__31578__1; +G__31578.cljs$core$IFn$_invoke$arity$2 = G__31578__2; +G__31578.cljs$core$IFn$_invoke$arity$3 = G__31578__3; +G__31578.cljs$core$IFn$_invoke$arity$variadic = G__31578__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31578; +})() +})); + +(cljs.core.partial.cljs$core$IFn$_invoke$arity$4 = (function (f,arg1,arg2,arg3){ +return (function() { +var G__31589 = null; +var G__31589__0 = (function (){ +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(arg1,arg2,arg3) : f.call(null, arg1,arg2,arg3)); +}); +var G__31589__1 = (function (x){ +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(arg1,arg2,arg3,x) : f.call(null, arg1,arg2,arg3,x)); +}); +var G__31589__2 = (function (x,y){ +return (f.cljs$core$IFn$_invoke$arity$5 ? f.cljs$core$IFn$_invoke$arity$5(arg1,arg2,arg3,x,y) : f.call(null, arg1,arg2,arg3,x,y)); +}); +var G__31589__3 = (function (x,y,z){ +return (f.cljs$core$IFn$_invoke$arity$6 ? f.cljs$core$IFn$_invoke$arity$6(arg1,arg2,arg3,x,y,z) : f.call(null, arg1,arg2,arg3,x,y,z)); +}); +var G__31589__4 = (function() { +var G__31590__delegate = function (x,y,z,args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,arg1,arg2,arg3,x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([y,z,args], 0)); +}; +var G__31590 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31591__i = 0, G__31591__a = new Array(arguments.length - 3); +while (G__31591__i < G__31591__a.length) {G__31591__a[G__31591__i] = arguments[G__31591__i + 3]; ++G__31591__i;} + args = new cljs.core.IndexedSeq(G__31591__a,0,null); +} +return G__31590__delegate.call(this,x,y,z,args);}; +G__31590.cljs$lang$maxFixedArity = 3; +G__31590.cljs$lang$applyTo = (function (arglist__31592){ +var x = cljs.core.first(arglist__31592); +arglist__31592 = cljs.core.next(arglist__31592); +var y = cljs.core.first(arglist__31592); +arglist__31592 = cljs.core.next(arglist__31592); +var z = cljs.core.first(arglist__31592); +var args = cljs.core.rest(arglist__31592); +return G__31590__delegate(x,y,z,args); +}); +G__31590.cljs$core$IFn$_invoke$arity$variadic = G__31590__delegate; +return G__31590; +})() +; +G__31589 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__31589__0.call(this); +case 1: +return G__31589__1.call(this,x); +case 2: +return G__31589__2.call(this,x,y); +case 3: +return G__31589__3.call(this,x,y,z); +default: +var G__31593 = null; +if (arguments.length > 3) { +var G__31594__i = 0, G__31594__a = new Array(arguments.length - 3); +while (G__31594__i < G__31594__a.length) {G__31594__a[G__31594__i] = arguments[G__31594__i + 3]; ++G__31594__i;} +G__31593 = new cljs.core.IndexedSeq(G__31594__a,0,null); +} +return G__31589__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31593); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31589.cljs$lang$maxFixedArity = 3; +G__31589.cljs$lang$applyTo = G__31589__4.cljs$lang$applyTo; +G__31589.cljs$core$IFn$_invoke$arity$0 = G__31589__0; +G__31589.cljs$core$IFn$_invoke$arity$1 = G__31589__1; +G__31589.cljs$core$IFn$_invoke$arity$2 = G__31589__2; +G__31589.cljs$core$IFn$_invoke$arity$3 = G__31589__3; +G__31589.cljs$core$IFn$_invoke$arity$variadic = G__31589__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31589; +})() +})); + +(cljs.core.partial.cljs$core$IFn$_invoke$arity$variadic = (function (f,arg1,arg2,arg3,more){ +return (function() { +var G__31598__delegate = function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,arg1,arg2,arg3,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(more,args)); +}; +var G__31598 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__31599__i = 0, G__31599__a = new Array(arguments.length - 0); +while (G__31599__i < G__31599__a.length) {G__31599__a[G__31599__i] = arguments[G__31599__i + 0]; ++G__31599__i;} + args = new cljs.core.IndexedSeq(G__31599__a,0,null); +} +return G__31598__delegate.call(this,args);}; +G__31598.cljs$lang$maxFixedArity = 0; +G__31598.cljs$lang$applyTo = (function (arglist__31600){ +var args = cljs.core.seq(arglist__31600); +return G__31598__delegate(args); +}); +G__31598.cljs$core$IFn$_invoke$arity$variadic = G__31598__delegate; +return G__31598; +})() +; +})); + +/** @this {Function} */ +(cljs.core.partial.cljs$lang$applyTo = (function (seq27146){ +var G__27147 = cljs.core.first(seq27146); +var seq27146__$1 = cljs.core.next(seq27146); +var G__27148 = cljs.core.first(seq27146__$1); +var seq27146__$2 = cljs.core.next(seq27146__$1); +var G__27149 = cljs.core.first(seq27146__$2); +var seq27146__$3 = cljs.core.next(seq27146__$2); +var G__27150 = cljs.core.first(seq27146__$3); +var seq27146__$4 = cljs.core.next(seq27146__$3); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27147,G__27148,G__27149,G__27150,seq27146__$4); +})); + +(cljs.core.partial.cljs$lang$maxFixedArity = (4)); + +/** + * Takes a function f, and returns a function that calls f, replacing + * a nil first argument to f with the supplied value x. Higher arity + * versions can replace arguments in the second and third + * positions (y, z). Note that the function f can take any number of + * arguments, not just the one(s) being nil-patched. + */ +cljs.core.fnil = (function cljs$core$fnil(var_args){ +var G__27153 = arguments.length; +switch (G__27153) { +case 2: +return cljs.core.fnil.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.fnil.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.fnil.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.fnil.cljs$core$IFn$_invoke$arity$2 = (function (f,x){ +return (function() { +var G__31607 = null; +var G__31607__1 = (function (a){ +var G__27154 = (((a == null))?x:a); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27154) : f.call(null, G__27154)); +}); +var G__31607__2 = (function (a,b){ +var G__27155 = (((a == null))?x:a); +var G__27156 = b; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27155,G__27156) : f.call(null, G__27155,G__27156)); +}); +var G__31607__3 = (function (a,b,c){ +var G__27157 = (((a == null))?x:a); +var G__27158 = b; +var G__27159 = c; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27157,G__27158,G__27159) : f.call(null, G__27157,G__27158,G__27159)); +}); +var G__31607__4 = (function() { +var G__31609__delegate = function (a,b,c,ds){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,(((a == null))?x:a),b,c,ds); +}; +var G__31609 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__31611__i = 0, G__31611__a = new Array(arguments.length - 3); +while (G__31611__i < G__31611__a.length) {G__31611__a[G__31611__i] = arguments[G__31611__i + 3]; ++G__31611__i;} + ds = new cljs.core.IndexedSeq(G__31611__a,0,null); +} +return G__31609__delegate.call(this,a,b,c,ds);}; +G__31609.cljs$lang$maxFixedArity = 3; +G__31609.cljs$lang$applyTo = (function (arglist__31612){ +var a = cljs.core.first(arglist__31612); +arglist__31612 = cljs.core.next(arglist__31612); +var b = cljs.core.first(arglist__31612); +arglist__31612 = cljs.core.next(arglist__31612); +var c = cljs.core.first(arglist__31612); +var ds = cljs.core.rest(arglist__31612); +return G__31609__delegate(a,b,c,ds); +}); +G__31609.cljs$core$IFn$_invoke$arity$variadic = G__31609__delegate; +return G__31609; +})() +; +G__31607 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 1: +return G__31607__1.call(this,a); +case 2: +return G__31607__2.call(this,a,b); +case 3: +return G__31607__3.call(this,a,b,c); +default: +var G__31613 = null; +if (arguments.length > 3) { +var G__31614__i = 0, G__31614__a = new Array(arguments.length - 3); +while (G__31614__i < G__31614__a.length) {G__31614__a[G__31614__i] = arguments[G__31614__i + 3]; ++G__31614__i;} +G__31613 = new cljs.core.IndexedSeq(G__31614__a,0,null); +} +return G__31607__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__31613); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31607.cljs$lang$maxFixedArity = 3; +G__31607.cljs$lang$applyTo = G__31607__4.cljs$lang$applyTo; +G__31607.cljs$core$IFn$_invoke$arity$1 = G__31607__1; +G__31607.cljs$core$IFn$_invoke$arity$2 = G__31607__2; +G__31607.cljs$core$IFn$_invoke$arity$3 = G__31607__3; +G__31607.cljs$core$IFn$_invoke$arity$variadic = G__31607__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31607; +})() +})); + +(cljs.core.fnil.cljs$core$IFn$_invoke$arity$3 = (function (f,x,y){ +return (function() { +var G__31615 = null; +var G__31615__2 = (function (a,b){ +var G__27160 = (((a == null))?x:a); +var G__27161 = (((b == null))?y:b); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27160,G__27161) : f.call(null, G__27160,G__27161)); +}); +var G__31615__3 = (function (a,b,c){ +var G__27162 = (((a == null))?x:a); +var G__27163 = (((b == null))?y:b); +var G__27164 = c; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27162,G__27163,G__27164) : f.call(null, G__27162,G__27163,G__27164)); +}); +var G__31615__4 = (function() { +var G__31616__delegate = function (a,b,c,ds){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,(((a == null))?x:a),(((b == null))?y:b),c,ds); +}; +var G__31616 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__31617__i = 0, G__31617__a = new Array(arguments.length - 3); +while (G__31617__i < G__31617__a.length) {G__31617__a[G__31617__i] = arguments[G__31617__i + 3]; ++G__31617__i;} + ds = new cljs.core.IndexedSeq(G__31617__a,0,null); +} +return G__31616__delegate.call(this,a,b,c,ds);}; +G__31616.cljs$lang$maxFixedArity = 3; +G__31616.cljs$lang$applyTo = (function (arglist__31618){ +var a = cljs.core.first(arglist__31618); +arglist__31618 = cljs.core.next(arglist__31618); +var b = cljs.core.first(arglist__31618); +arglist__31618 = cljs.core.next(arglist__31618); +var c = cljs.core.first(arglist__31618); +var ds = cljs.core.rest(arglist__31618); +return G__31616__delegate(a,b,c,ds); +}); +G__31616.cljs$core$IFn$_invoke$arity$variadic = G__31616__delegate; +return G__31616; +})() +; +G__31615 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 2: +return G__31615__2.call(this,a,b); +case 3: +return G__31615__3.call(this,a,b,c); +default: +var G__31619 = null; +if (arguments.length > 3) { +var G__31620__i = 0, G__31620__a = new Array(arguments.length - 3); +while (G__31620__i < G__31620__a.length) {G__31620__a[G__31620__i] = arguments[G__31620__i + 3]; ++G__31620__i;} +G__31619 = new cljs.core.IndexedSeq(G__31620__a,0,null); +} +return G__31615__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__31619); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31615.cljs$lang$maxFixedArity = 3; +G__31615.cljs$lang$applyTo = G__31615__4.cljs$lang$applyTo; +G__31615.cljs$core$IFn$_invoke$arity$2 = G__31615__2; +G__31615.cljs$core$IFn$_invoke$arity$3 = G__31615__3; +G__31615.cljs$core$IFn$_invoke$arity$variadic = G__31615__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31615; +})() +})); + +(cljs.core.fnil.cljs$core$IFn$_invoke$arity$4 = (function (f,x,y,z){ +return (function() { +var G__31621 = null; +var G__31621__2 = (function (a,b){ +var G__27165 = (((a == null))?x:a); +var G__27166 = (((b == null))?y:b); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27165,G__27166) : f.call(null, G__27165,G__27166)); +}); +var G__31621__3 = (function (a,b,c){ +var G__27167 = (((a == null))?x:a); +var G__27168 = (((b == null))?y:b); +var G__27169 = (((c == null))?z:c); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27167,G__27168,G__27169) : f.call(null, G__27167,G__27168,G__27169)); +}); +var G__31621__4 = (function() { +var G__31623__delegate = function (a,b,c,ds){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,(((a == null))?x:a),(((b == null))?y:b),(((c == null))?z:c),ds); +}; +var G__31623 = function (a,b,c,var_args){ +var ds = null; +if (arguments.length > 3) { +var G__31624__i = 0, G__31624__a = new Array(arguments.length - 3); +while (G__31624__i < G__31624__a.length) {G__31624__a[G__31624__i] = arguments[G__31624__i + 3]; ++G__31624__i;} + ds = new cljs.core.IndexedSeq(G__31624__a,0,null); +} +return G__31623__delegate.call(this,a,b,c,ds);}; +G__31623.cljs$lang$maxFixedArity = 3; +G__31623.cljs$lang$applyTo = (function (arglist__31625){ +var a = cljs.core.first(arglist__31625); +arglist__31625 = cljs.core.next(arglist__31625); +var b = cljs.core.first(arglist__31625); +arglist__31625 = cljs.core.next(arglist__31625); +var c = cljs.core.first(arglist__31625); +var ds = cljs.core.rest(arglist__31625); +return G__31623__delegate(a,b,c,ds); +}); +G__31623.cljs$core$IFn$_invoke$arity$variadic = G__31623__delegate; +return G__31623; +})() +; +G__31621 = function(a,b,c,var_args){ +var ds = var_args; +switch(arguments.length){ +case 2: +return G__31621__2.call(this,a,b); +case 3: +return G__31621__3.call(this,a,b,c); +default: +var G__31627 = null; +if (arguments.length > 3) { +var G__31628__i = 0, G__31628__a = new Array(arguments.length - 3); +while (G__31628__i < G__31628__a.length) {G__31628__a[G__31628__i] = arguments[G__31628__i + 3]; ++G__31628__i;} +G__31627 = new cljs.core.IndexedSeq(G__31628__a,0,null); +} +return G__31621__4.cljs$core$IFn$_invoke$arity$variadic(a,b,c, G__31627); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31621.cljs$lang$maxFixedArity = 3; +G__31621.cljs$lang$applyTo = G__31621__4.cljs$lang$applyTo; +G__31621.cljs$core$IFn$_invoke$arity$2 = G__31621__2; +G__31621.cljs$core$IFn$_invoke$arity$3 = G__31621__3; +G__31621.cljs$core$IFn$_invoke$arity$variadic = G__31621__4.cljs$core$IFn$_invoke$arity$variadic; +return G__31621; +})() +})); + +(cljs.core.fnil.cljs$lang$maxFixedArity = 4); + +/** + * Returns a lazy sequence consisting of the result of applying f to 0 + * and the first item of coll, followed by applying f to 1 and the second + * item in coll, etc, until coll is exhausted. Thus function f should + * accept 2 arguments, index and item. Returns a stateful transducer when + * no collection is provided. + */ +cljs.core.map_indexed = (function cljs$core$map_indexed(var_args){ +var G__27171 = arguments.length; +switch (G__27171) { +case 1: +return cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +var i = (cljs.core.volatile_BANG_.cljs$core$IFn$_invoke$arity$1 ? cljs.core.volatile_BANG_.cljs$core$IFn$_invoke$arity$1((-1)) : cljs.core.volatile_BANG_.call(null, (-1))); +return (function() { +var G__31631 = null; +var G__31631__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31631__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31631__2 = (function (result,input){ +var G__27172 = result; +var G__27173 = (function (){var G__27174 = cljs.core._vreset_BANG_(i,(cljs.core._deref(i) + (1))); +var G__27175 = input; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27174,G__27175) : f.call(null, G__27174,G__27175)); +})(); +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__27172,G__27173) : rf.call(null, G__27172,G__27173)); +}); +G__31631 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31631__0.call(this); +case 1: +return G__31631__1.call(this,result); +case 2: +return G__31631__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31631.cljs$core$IFn$_invoke$arity$0 = G__31631__0; +G__31631.cljs$core$IFn$_invoke$arity$1 = G__31631__1; +G__31631.cljs$core$IFn$_invoke$arity$2 = G__31631__2; +return G__31631; +})() +}); +})); + +(cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +var mapi = (function cljs$core$mapi(idx,coll__$1){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll__$1); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s)){ +var c = cljs.core.chunk_first(s); +var size = cljs.core.count(c); +var b = cljs.core.chunk_buffer(size); +var n__5636__auto___31634 = size; +var i_31635 = (0); +while(true){ +if((i_31635 < n__5636__auto___31634)){ +cljs.core.chunk_append(b,(function (){var G__27180 = (idx + i_31635); +var G__27181 = cljs.core._nth(c,i_31635); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27180,G__27181) : f.call(null, G__27180,G__27181)); +})()); + +var G__31636 = (i_31635 + (1)); +i_31635 = G__31636; +continue; +} else { +} +break; +} + +return cljs.core.chunk_cons(cljs.core.chunk(b),cljs$core$mapi((idx + size),cljs.core.chunk_rest(s))); +} else { +return cljs.core.cons((function (){var G__27182 = idx; +var G__27183 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27182,G__27183) : f.call(null, G__27182,G__27183)); +})(),cljs$core$mapi((idx + (1)),cljs.core.rest(s))); +} +} else { +return null; +} +}),null,null)); +}); +return mapi((0),coll); +})); + +(cljs.core.map_indexed.cljs$lang$maxFixedArity = 2); + +/** + * Returns a lazy sequence of the non-nil results of (f item). Note, + * this means false return values will be included. f must be free of + * side-effects. Returns a transducer when no collection is provided. + */ +cljs.core.keep = (function cljs$core$keep(var_args){ +var G__27185 = arguments.length; +switch (G__27185) { +case 1: +return cljs.core.keep.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.keep.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.keep.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +return (function() { +var G__31640 = null; +var G__31640__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31640__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31640__2 = (function (result,input){ +var v = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(input) : f.call(null, input)); +if((v == null)){ +return result; +} else { +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null, result,v)); +} +}); +G__31640 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31640__0.call(this); +case 1: +return G__31640__1.call(this,result); +case 2: +return G__31640__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31640.cljs$core$IFn$_invoke$arity$0 = G__31640__0; +G__31640.cljs$core$IFn$_invoke$arity$1 = G__31640__1; +G__31640.cljs$core$IFn$_invoke$arity$2 = G__31640__2; +return G__31640; +})() +}); +})); + +(cljs.core.keep.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s)){ +var c = cljs.core.chunk_first(s); +var size = cljs.core.count(c); +var b = cljs.core.chunk_buffer(size); +var n__5636__auto___31642 = size; +var i_31643 = (0); +while(true){ +if((i_31643 < n__5636__auto___31642)){ +var x_31644 = (function (){var G__27186 = cljs.core._nth(c,i_31643); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27186) : f.call(null, G__27186)); +})(); +if((x_31644 == null)){ +} else { +cljs.core.chunk_append(b,x_31644); +} + +var G__31645 = (i_31643 + (1)); +i_31643 = G__31645; +continue; +} else { +} +break; +} + +return cljs.core.chunk_cons(cljs.core.chunk(b),cljs.core.keep.cljs$core$IFn$_invoke$arity$2(f,cljs.core.chunk_rest(s))); +} else { +var x = (function (){var G__27187 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27187) : f.call(null, G__27187)); +})(); +if((x == null)){ +return cljs.core.keep.cljs$core$IFn$_invoke$arity$2(f,cljs.core.rest(s)); +} else { +return cljs.core.cons(x,cljs.core.keep.cljs$core$IFn$_invoke$arity$2(f,cljs.core.rest(s))); +} +} +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.keep.cljs$lang$maxFixedArity = 2); + + +/** +* @constructor + * @implements {cljs.core.IWatchable} + * @implements {cljs.core.IAtom} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IDeref} +*/ +cljs.core.Atom = (function (state,meta,validator,watches){ +this.state = state; +this.meta = meta; +this.validator = validator; +this.watches = watches; +this.cljs$lang$protocol_mask$partition1$ = 16386; +this.cljs$lang$protocol_mask$partition0$ = 6455296; +}); +(cljs.core.Atom.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.Atom.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ +var self__ = this; +var o__$1 = this; +return (o__$1 === other); +})); + +(cljs.core.Atom.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.state; +})); + +(cljs.core.Atom.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.meta; +})); + +(cljs.core.Atom.prototype.cljs$core$IWatchable$_notify_watches$arity$3 = (function (this$,oldval,newval){ +var self__ = this; +var this$__$1 = this; +var seq__27188 = cljs.core.seq(self__.watches); +var chunk__27189 = null; +var count__27190 = (0); +var i__27191 = (0); +while(true){ +if((i__27191 < count__27190)){ +var vec__27198 = chunk__27189.cljs$core$IIndexed$_nth$arity$2(null, i__27191); +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27198,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27198,(1),null); +(f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(key,this$__$1,oldval,newval) : f.call(null, key,this$__$1,oldval,newval)); + + +var G__31648 = seq__27188; +var G__31649 = chunk__27189; +var G__31650 = count__27190; +var G__31651 = (i__27191 + (1)); +seq__27188 = G__31648; +chunk__27189 = G__31649; +count__27190 = G__31650; +i__27191 = G__31651; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27188); +if(temp__5823__auto__){ +var seq__27188__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27188__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27188__$1); +var G__31652 = cljs.core.chunk_rest(seq__27188__$1); +var G__31653 = c__5568__auto__; +var G__31654 = cljs.core.count(c__5568__auto__); +var G__31655 = (0); +seq__27188 = G__31652; +chunk__27189 = G__31653; +count__27190 = G__31654; +i__27191 = G__31655; +continue; +} else { +var vec__27201 = cljs.core.first(seq__27188__$1); +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27201,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27201,(1),null); +(f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(key,this$__$1,oldval,newval) : f.call(null, key,this$__$1,oldval,newval)); + + +var G__31658 = cljs.core.next(seq__27188__$1); +var G__31659 = null; +var G__31660 = (0); +var G__31661 = (0); +seq__27188 = G__31658; +chunk__27189 = G__31659; +count__27190 = G__31660; +i__27191 = G__31661; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs.core.Atom.prototype.cljs$core$IWatchable$_add_watch$arity$3 = (function (this$,key,f){ +var self__ = this; +var this$__$1 = this; +(this$__$1.watches = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.watches,key,f)); + +return this$__$1; +})); + +(cljs.core.Atom.prototype.cljs$core$IWatchable$_remove_watch$arity$2 = (function (this$,key){ +var self__ = this; +var this$__$1 = this; +return (this$__$1.watches = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.watches,key)); +})); + +(cljs.core.Atom.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return goog.getUid(this$__$1); +})); + +(cljs.core.Atom.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"state","state",-348086572,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"validator","validator",-325659154,null),new cljs.core.Symbol(null,"watches","watches",1367433992,null)], null); +})); + +(cljs.core.Atom.cljs$lang$type = true); + +(cljs.core.Atom.cljs$lang$ctorStr = "cljs.core/Atom"); + +(cljs.core.Atom.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Atom"); +})); + +/** + * Positional factory function for cljs.core/Atom. + */ +cljs.core.__GT_Atom = (function cljs$core$__GT_Atom(state,meta,validator,watches){ +return (new cljs.core.Atom(state,meta,validator,watches)); +}); + +/** + * Creates and returns an Atom with an initial value of x and zero or + * more options (in any order): + * + * :meta metadata-map + * + * :validator validate-fn + * + * If metadata-map is supplied, it will become the metadata on the + * atom. validate-fn must be nil or a side-effect-free fn of one + * argument, which will be passed the intended new state on any state + * change. If the new state is unacceptable, the validate-fn should + * return false or throw an Error. If either of these error conditions + * occur, then the value of the atom will not change. + */ +cljs.core.atom = (function cljs$core$atom(var_args){ +var G__27207 = arguments.length; +switch (G__27207) { +case 1: +return cljs.core.atom.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31663 = arguments.length; +var i__5770__auto___31664 = (0); +while(true){ +if((i__5770__auto___31664 < len__5769__auto___31663)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31664])); + +var G__31665 = (i__5770__auto___31664 + (1)); +i__5770__auto___31664 = G__31665; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs.core.atom.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs.core.atom.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (new cljs.core.Atom(x,null,null,null)); +})); + +(cljs.core.atom.cljs$core$IFn$_invoke$arity$variadic = (function (x,p__27208){ +var map__27209 = p__27208; +var map__27209__$1 = cljs.core.__destructure_map(map__27209); +var meta = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__27209__$1,new cljs.core.Keyword(null,"meta","meta",1499536964)); +var validator = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__27209__$1,new cljs.core.Keyword(null,"validator","validator",-1966190681)); +return (new cljs.core.Atom(x,meta,validator,null)); +})); + +/** @this {Function} */ +(cljs.core.atom.cljs$lang$applyTo = (function (seq27205){ +var G__27206 = cljs.core.first(seq27205); +var seq27205__$1 = cljs.core.next(seq27205); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27206,seq27205__$1); +})); + +(cljs.core.atom.cljs$lang$maxFixedArity = (1)); + +/** + * Sets the value of atom to newval without regard for the + * current value. Returns new-value. + */ +cljs.core.reset_BANG_ = (function cljs$core$reset_BANG_(a,new_value){ +if((a instanceof cljs.core.Atom)){ +var validate = a.validator; +if((validate == null)){ +} else { +if(cljs.core.truth_((validate.cljs$core$IFn$_invoke$arity$1 ? validate.cljs$core$IFn$_invoke$arity$1(new_value) : validate.call(null, new_value)))){ +} else { +throw (new Error("Validator rejected reference state")); +} +} + +var old_value = a.state; +(a.state = new_value); + +if((a.watches == null)){ +} else { +a.cljs$core$IWatchable$_notify_watches$arity$3(null, old_value,new_value); +} + +return new_value; +} else { +return cljs.core._reset_BANG_(a,new_value); +} +}); +/** + * Sets the value of atom to newval. Returns [old new], the value of the + * atom before and after the reset. + */ +cljs.core.reset_vals_BANG_ = (function cljs$core$reset_vals_BANG_(a,new_value){ +var validate = a.validator; +if((validate == null)){ +} else { +if(cljs.core.truth_((validate.cljs$core$IFn$_invoke$arity$1 ? validate.cljs$core$IFn$_invoke$arity$1(new_value) : validate.call(null, new_value)))){ +} else { +throw (new Error("Validator rejected reference state")); +} +} + +var old_value = a.state; +(a.state = new_value); + +if((a.watches == null)){ +} else { +cljs.core._notify_watches(a,old_value,new_value); +} + +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [old_value,new_value], null); +}); +/** + * Atomically swaps the value of atom to be: + * (apply f current-value-of-atom args). Note that f may be called + * multiple times, and thus should be free of side effects. Returns + * the value that was swapped in. + */ +cljs.core.swap_BANG_ = (function cljs$core$swap_BANG_(var_args){ +var G__27216 = arguments.length; +switch (G__27216) { +case 2: +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31668 = arguments.length; +var i__5770__auto___31669 = (0); +while(true){ +if((i__5770__auto___31669 < len__5769__auto___31668)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31669])); + +var G__31670 = (i__5770__auto___31669 + (1)); +i__5770__auto___31669 = G__31670; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((4)),(0),null)); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__5795__auto__); + +} +}); + +(cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (a,f){ +if((a instanceof cljs.core.Atom)){ +return cljs.core.reset_BANG_(a,(function (){var G__27217 = a.state; +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27217) : f.call(null, G__27217)); +})()); +} else { +return cljs.core._swap_BANG_(a,f); +} +})); + +(cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (a,f,x){ +if((a instanceof cljs.core.Atom)){ +return cljs.core.reset_BANG_(a,(function (){var G__27218 = a.state; +var G__27219 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27218,G__27219) : f.call(null, G__27218,G__27219)); +})()); +} else { +return cljs.core._swap_BANG_(a,f,x); +} +})); + +(cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (a,f,x,y){ +if((a instanceof cljs.core.Atom)){ +return cljs.core.reset_BANG_(a,(function (){var G__27220 = a.state; +var G__27221 = x; +var G__27222 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27220,G__27221,G__27222) : f.call(null, G__27220,G__27221,G__27222)); +})()); +} else { +return cljs.core._swap_BANG_(a,f,x,y); +} +})); + +(cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (a,f,x,y,more){ +if((a instanceof cljs.core.Atom)){ +return cljs.core.reset_BANG_(a,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,a.state,x,y,more)); +} else { +return cljs.core._swap_BANG_(a,f,x,y,more); +} +})); + +/** @this {Function} */ +(cljs.core.swap_BANG_.cljs$lang$applyTo = (function (seq27211){ +var G__27212 = cljs.core.first(seq27211); +var seq27211__$1 = cljs.core.next(seq27211); +var G__27213 = cljs.core.first(seq27211__$1); +var seq27211__$2 = cljs.core.next(seq27211__$1); +var G__27214 = cljs.core.first(seq27211__$2); +var seq27211__$3 = cljs.core.next(seq27211__$2); +var G__27215 = cljs.core.first(seq27211__$3); +var seq27211__$4 = cljs.core.next(seq27211__$3); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27212,G__27213,G__27214,G__27215,seq27211__$4); +})); + +(cljs.core.swap_BANG_.cljs$lang$maxFixedArity = (4)); + +/** + * Atomically swaps the value of atom to be: + * (apply f current-value-of-atom args). Note that f may be called + * multiple times, and thus should be free of side effects. + * Returns [old new], the value of the atom before and after the swap. + */ +cljs.core.swap_vals_BANG_ = (function cljs$core$swap_vals_BANG_(var_args){ +var G__27229 = arguments.length; +switch (G__27229) { +case 2: +return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31679 = arguments.length; +var i__5770__auto___31680 = (0); +while(true){ +if((i__5770__auto___31680 < len__5769__auto___31679)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31680])); + +var G__31682 = (i__5770__auto___31680 + (1)); +i__5770__auto___31680 = G__31682; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((4)),(0),null)); +return cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__5795__auto__); + +} +}); + +(cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (a,f){ +return cljs.core.reset_vals_BANG_(a,(function (){var G__27230 = a.state; +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27230) : f.call(null, G__27230)); +})()); +})); + +(cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (a,f,x){ +return cljs.core.reset_vals_BANG_(a,(function (){var G__27231 = a.state; +var G__27232 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27231,G__27232) : f.call(null, G__27231,G__27232)); +})()); +})); + +(cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$4 = (function (a,f,x,y){ +return cljs.core.reset_vals_BANG_(a,(function (){var G__27233 = a.state; +var G__27234 = x; +var G__27235 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27233,G__27234,G__27235) : f.call(null, G__27233,G__27234,G__27235)); +})()); +})); + +(cljs.core.swap_vals_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (a,f,x,y,more){ +return cljs.core.reset_vals_BANG_(a,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,a.state,x,y,more)); +})); + +/** @this {Function} */ +(cljs.core.swap_vals_BANG_.cljs$lang$applyTo = (function (seq27224){ +var G__27225 = cljs.core.first(seq27224); +var seq27224__$1 = cljs.core.next(seq27224); +var G__27226 = cljs.core.first(seq27224__$1); +var seq27224__$2 = cljs.core.next(seq27224__$1); +var G__27227 = cljs.core.first(seq27224__$2); +var seq27224__$3 = cljs.core.next(seq27224__$2); +var G__27228 = cljs.core.first(seq27224__$3); +var seq27224__$4 = cljs.core.next(seq27224__$3); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27225,G__27226,G__27227,G__27228,seq27224__$4); +})); + +(cljs.core.swap_vals_BANG_.cljs$lang$maxFixedArity = (4)); + +/** + * Atomically sets the value of atom to newval if and only if the + * current value of the atom is equal to oldval. Returns true if + * set happened, else false. + */ +cljs.core.compare_and_set_BANG_ = (function cljs$core$compare_and_set_BANG_(a,oldval,newval){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(a.cljs$core$IDeref$_deref$arity$1(null, ),oldval)){ +cljs.core.reset_BANG_(a,newval); + +return true; +} else { +return false; +} +}); +/** + * Sets the validator-fn for an atom. validator-fn must be nil or a + * side-effect-free fn of one argument, which will be passed the intended + * new state on any state change. If the new state is unacceptable, the + * validator-fn should return false or throw an Error. If the current state + * is not acceptable to the new validator, an Error will be thrown and the + * validator will not be changed. + */ +cljs.core.set_validator_BANG_ = (function cljs$core$set_validator_BANG_(iref,val){ +if((((!((val == null)))) && (cljs.core.not((function (){var G__27236 = cljs.core._deref(iref); +return (val.cljs$core$IFn$_invoke$arity$1 ? val.cljs$core$IFn$_invoke$arity$1(G__27236) : val.call(null, G__27236)); +})())))){ +throw (new Error("Validator rejected reference state")); +} else { +} + +return (iref.validator = val); +}); +/** + * Gets the validator-fn for a var/ref/agent/atom. + */ +cljs.core.get_validator = (function cljs$core$get_validator(iref){ +return iref.validator; +}); + +/** +* @constructor + * @implements {cljs.core.IVolatile} + * @implements {cljs.core.IDeref} +*/ +cljs.core.Volatile = (function (state){ +this.state = state; +this.cljs$lang$protocol_mask$partition0$ = 32768; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.Volatile.prototype.cljs$core$IVolatile$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Volatile.prototype.cljs$core$IVolatile$_vreset_BANG_$arity$2 = (function (_,new_state){ +var self__ = this; +var ___$1 = this; +return (self__.state = new_state); +})); + +(cljs.core.Volatile.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.state; +})); + +(cljs.core.Volatile.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"state","state",-348086572,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Volatile.cljs$lang$type = true); + +(cljs.core.Volatile.cljs$lang$ctorStr = "cljs.core/Volatile"); + +(cljs.core.Volatile.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Volatile"); +})); + +/** + * Positional factory function for cljs.core/Volatile. + */ +cljs.core.__GT_Volatile = (function cljs$core$__GT_Volatile(state){ +return (new cljs.core.Volatile(state)); +}); + +/** + * Creates and returns a Volatile with an initial value of val. + */ +cljs.core.volatile_BANG_ = (function cljs$core$volatile_BANG_(val){ +return (new cljs.core.Volatile(val)); +}); +/** + * Returns true if x is a volatile. + */ +cljs.core.volatile_QMARK_ = (function cljs$core$volatile_QMARK_(x){ +return (x instanceof cljs.core.Volatile); +}); +/** + * Sets the value of volatile to newval without regard for the + * current value. Returns newval. + */ +cljs.core.vreset_BANG_ = (function cljs$core$vreset_BANG_(vol,newval){ +return cljs.core._vreset_BANG_(vol,newval); +}); +/** + * Returns a lazy sequence of the non-nil results of (f index item). Note, + * this means false return values will be included. f must be free of + * side-effects. Returns a stateful transducer when no collection is + * provided. + */ +cljs.core.keep_indexed = (function cljs$core$keep_indexed(var_args){ +var G__27238 = arguments.length; +switch (G__27238) { +case 1: +return cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +var ia = cljs.core.volatile_BANG_((-1)); +return (function() { +var G__31694 = null; +var G__31694__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31694__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31694__2 = (function (result,input){ +var i = ia.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, (ia.cljs$core$IDeref$_deref$arity$1(null, ) + (1))); +var v = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(i,input) : f.call(null, i,input)); +if((v == null)){ +return result; +} else { +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null, result,v)); +} +}); +G__31694 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31694__0.call(this); +case 1: +return G__31694__1.call(this,result); +case 2: +return G__31694__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31694.cljs$core$IFn$_invoke$arity$0 = G__31694__0; +G__31694.cljs$core$IFn$_invoke$arity$1 = G__31694__1; +G__31694.cljs$core$IFn$_invoke$arity$2 = G__31694__2; +return G__31694; +})() +}); +})); + +(cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +var keepi = (function cljs$core$keepi(idx,coll__$1){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll__$1); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s)){ +var c = cljs.core.chunk_first(s); +var size = cljs.core.count(c); +var b = cljs.core.chunk_buffer(size); +var n__5636__auto___31695 = size; +var i_31696 = (0); +while(true){ +if((i_31696 < n__5636__auto___31695)){ +var x_31697 = (function (){var G__27243 = (idx + i_31696); +var G__27244 = cljs.core._nth(c,i_31696); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27243,G__27244) : f.call(null, G__27243,G__27244)); +})(); +if((x_31697 == null)){ +} else { +cljs.core.chunk_append(b,x_31697); +} + +var G__31699 = (i_31696 + (1)); +i_31696 = G__31699; +continue; +} else { +} +break; +} + +return cljs.core.chunk_cons(cljs.core.chunk(b),cljs$core$keepi((idx + size),cljs.core.chunk_rest(s))); +} else { +var x = (function (){var G__27245 = idx; +var G__27246 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27245,G__27246) : f.call(null, G__27245,G__27246)); +})(); +if((x == null)){ +return cljs$core$keepi((idx + (1)),cljs.core.rest(s)); +} else { +return cljs.core.cons(x,cljs$core$keepi((idx + (1)),cljs.core.rest(s))); +} +} +} else { +return null; +} +}),null,null)); +}); +return keepi((0),coll); +})); + +(cljs.core.keep_indexed.cljs$lang$maxFixedArity = 2); + +/** + * Takes a set of predicates and returns a function f that returns true if all of its + * composing predicates return a logical true value against all of its arguments, else it returns + * false. Note that f is short-circuiting in that it will stop execution on the first + * argument that triggers a logical false result against the original predicates. + */ +cljs.core.every_pred = (function cljs$core$every_pred(var_args){ +var G__27258 = arguments.length; +switch (G__27258) { +case 1: +return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31701 = arguments.length; +var i__5770__auto___31702 = (0); +while(true){ +if((i__5770__auto___31702 < len__5769__auto___31701)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31702])); + +var G__31703 = (i__5770__auto___31702 + (1)); +i__5770__auto___31702 = G__31703; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.every_pred.cljs$core$IFn$_invoke$arity$1 = (function (p){ +return (function() { +var cljs$core$ep1 = null; +var cljs$core$ep1__0 = (function (){ +return true; +}); +var cljs$core$ep1__1 = (function (x){ +return cljs.core.boolean$((p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null, x))); +}); +var cljs$core$ep1__2 = (function (x,y){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null, y)); +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep1__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$1)){ +return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(z) : p.call(null, z)); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep1__4 = (function() { +var G__31708__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__5043__auto__ = cljs$core$ep1.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.every_QMARK_(p,args); +} else { +return and__5043__auto__; +} +})()); +}; +var G__31708 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31709__i = 0, G__31709__a = new Array(arguments.length - 3); +while (G__31709__i < G__31709__a.length) {G__31709__a[G__31709__i] = arguments[G__31709__i + 3]; ++G__31709__i;} + args = new cljs.core.IndexedSeq(G__31709__a,0,null); +} +return G__31708__delegate.call(this,x,y,z,args);}; +G__31708.cljs$lang$maxFixedArity = 3; +G__31708.cljs$lang$applyTo = (function (arglist__31710){ +var x = cljs.core.first(arglist__31710); +arglist__31710 = cljs.core.next(arglist__31710); +var y = cljs.core.first(arglist__31710); +arglist__31710 = cljs.core.next(arglist__31710); +var z = cljs.core.first(arglist__31710); +var args = cljs.core.rest(arglist__31710); +return G__31708__delegate(x,y,z,args); +}); +G__31708.cljs$core$IFn$_invoke$arity$variadic = G__31708__delegate; +return G__31708; +})() +; +cljs$core$ep1 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$ep1__0.call(this); +case 1: +return cljs$core$ep1__1.call(this,x); +case 2: +return cljs$core$ep1__2.call(this,x,y); +case 3: +return cljs$core$ep1__3.call(this,x,y,z); +default: +var G__31712 = null; +if (arguments.length > 3) { +var G__31713__i = 0, G__31713__a = new Array(arguments.length - 3); +while (G__31713__i < G__31713__a.length) {G__31713__a[G__31713__i] = arguments[G__31713__i + 3]; ++G__31713__i;} +G__31712 = new cljs.core.IndexedSeq(G__31713__a,0,null); +} +return cljs$core$ep1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31712); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$ep1.cljs$lang$maxFixedArity = 3; +cljs$core$ep1.cljs$lang$applyTo = cljs$core$ep1__4.cljs$lang$applyTo; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep1__0; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep1__1; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep1__2; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep1__3; +cljs$core$ep1.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep1__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$ep1; +})() +})); + +(cljs.core.every_pred.cljs$core$IFn$_invoke$arity$2 = (function (p1,p2){ +return (function() { +var cljs$core$ep2 = null; +var cljs$core$ep2__0 = (function (){ +return true; +}); +var cljs$core$ep2__1 = (function (x){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep2__2 = (function (x,y){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$1)){ +var and__5043__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(and__5043__auto____$2)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep2__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$1)){ +var and__5043__auto____$2 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null, z)); +if(cljs.core.truth_(and__5043__auto____$2)){ +var and__5043__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(and__5043__auto____$3)){ +var and__5043__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$4)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null, z)); +} else { +return and__5043__auto____$4; +} +} else { +return and__5043__auto____$3; +} +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep2__4 = (function() { +var G__31717__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__5043__auto__ = cljs$core$ep2.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.every_QMARK_((function (p1__27247_SHARP_){ +var and__5043__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__27247_SHARP_) : p1.call(null, p1__27247_SHARP_)); +if(cljs.core.truth_(and__5043__auto____$1)){ +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__27247_SHARP_) : p2.call(null, p1__27247_SHARP_)); +} else { +return and__5043__auto____$1; +} +}),args); +} else { +return and__5043__auto__; +} +})()); +}; +var G__31717 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31719__i = 0, G__31719__a = new Array(arguments.length - 3); +while (G__31719__i < G__31719__a.length) {G__31719__a[G__31719__i] = arguments[G__31719__i + 3]; ++G__31719__i;} + args = new cljs.core.IndexedSeq(G__31719__a,0,null); +} +return G__31717__delegate.call(this,x,y,z,args);}; +G__31717.cljs$lang$maxFixedArity = 3; +G__31717.cljs$lang$applyTo = (function (arglist__31720){ +var x = cljs.core.first(arglist__31720); +arglist__31720 = cljs.core.next(arglist__31720); +var y = cljs.core.first(arglist__31720); +arglist__31720 = cljs.core.next(arglist__31720); +var z = cljs.core.first(arglist__31720); +var args = cljs.core.rest(arglist__31720); +return G__31717__delegate(x,y,z,args); +}); +G__31717.cljs$core$IFn$_invoke$arity$variadic = G__31717__delegate; +return G__31717; +})() +; +cljs$core$ep2 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$ep2__0.call(this); +case 1: +return cljs$core$ep2__1.call(this,x); +case 2: +return cljs$core$ep2__2.call(this,x,y); +case 3: +return cljs$core$ep2__3.call(this,x,y,z); +default: +var G__31721 = null; +if (arguments.length > 3) { +var G__31722__i = 0, G__31722__a = new Array(arguments.length - 3); +while (G__31722__i < G__31722__a.length) {G__31722__a[G__31722__i] = arguments[G__31722__i + 3]; ++G__31722__i;} +G__31721 = new cljs.core.IndexedSeq(G__31722__a,0,null); +} +return cljs$core$ep2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31721); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$ep2.cljs$lang$maxFixedArity = 3; +cljs$core$ep2.cljs$lang$applyTo = cljs$core$ep2__4.cljs$lang$applyTo; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep2__0; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep2__1; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep2__2; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep2__3; +cljs$core$ep2.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep2__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$ep2; +})() +})); + +(cljs.core.every_pred.cljs$core$IFn$_invoke$arity$3 = (function (p1,p2,p3){ +return (function() { +var cljs$core$ep3 = null; +var cljs$core$ep3__0 = (function (){ +return true; +}); +var cljs$core$ep3__1 = (function (x){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(and__5043__auto____$1)){ +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null, x)); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep3__2 = (function (x,y){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$1)){ +var and__5043__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(and__5043__auto____$2)){ +var and__5043__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$3)){ +var and__5043__auto____$4 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null, x)); +if(cljs.core.truth_(and__5043__auto____$4)){ +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null, y)); +} else { +return and__5043__auto____$4; +} +} else { +return and__5043__auto____$3; +} +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep3__3 = (function (x,y,z){ +return cljs.core.boolean$((function (){var and__5043__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$1)){ +var and__5043__auto____$2 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null, z)); +if(cljs.core.truth_(and__5043__auto____$2)){ +var and__5043__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(and__5043__auto____$3)){ +var and__5043__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$4)){ +var and__5043__auto____$5 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null, z)); +if(cljs.core.truth_(and__5043__auto____$5)){ +var and__5043__auto____$6 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null, x)); +if(cljs.core.truth_(and__5043__auto____$6)){ +var and__5043__auto____$7 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$7)){ +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(z) : p3.call(null, z)); +} else { +return and__5043__auto____$7; +} +} else { +return and__5043__auto____$6; +} +} else { +return and__5043__auto____$5; +} +} else { +return and__5043__auto____$4; +} +} else { +return and__5043__auto____$3; +} +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})()); +}); +var cljs$core$ep3__4 = (function() { +var G__31729__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__5043__auto__ = cljs$core$ep3.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.every_QMARK_((function (p1__27248_SHARP_){ +var and__5043__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__27248_SHARP_) : p1.call(null, p1__27248_SHARP_)); +if(cljs.core.truth_(and__5043__auto____$1)){ +var and__5043__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__27248_SHARP_) : p2.call(null, p1__27248_SHARP_)); +if(cljs.core.truth_(and__5043__auto____$2)){ +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__27248_SHARP_) : p3.call(null, p1__27248_SHARP_)); +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +}),args); +} else { +return and__5043__auto__; +} +})()); +}; +var G__31729 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31731__i = 0, G__31731__a = new Array(arguments.length - 3); +while (G__31731__i < G__31731__a.length) {G__31731__a[G__31731__i] = arguments[G__31731__i + 3]; ++G__31731__i;} + args = new cljs.core.IndexedSeq(G__31731__a,0,null); +} +return G__31729__delegate.call(this,x,y,z,args);}; +G__31729.cljs$lang$maxFixedArity = 3; +G__31729.cljs$lang$applyTo = (function (arglist__31732){ +var x = cljs.core.first(arglist__31732); +arglist__31732 = cljs.core.next(arglist__31732); +var y = cljs.core.first(arglist__31732); +arglist__31732 = cljs.core.next(arglist__31732); +var z = cljs.core.first(arglist__31732); +var args = cljs.core.rest(arglist__31732); +return G__31729__delegate(x,y,z,args); +}); +G__31729.cljs$core$IFn$_invoke$arity$variadic = G__31729__delegate; +return G__31729; +})() +; +cljs$core$ep3 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$ep3__0.call(this); +case 1: +return cljs$core$ep3__1.call(this,x); +case 2: +return cljs$core$ep3__2.call(this,x,y); +case 3: +return cljs$core$ep3__3.call(this,x,y,z); +default: +var G__31733 = null; +if (arguments.length > 3) { +var G__31734__i = 0, G__31734__a = new Array(arguments.length - 3); +while (G__31734__i < G__31734__a.length) {G__31734__a[G__31734__i] = arguments[G__31734__i + 3]; ++G__31734__i;} +G__31733 = new cljs.core.IndexedSeq(G__31734__a,0,null); +} +return cljs$core$ep3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31733); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$ep3.cljs$lang$maxFixedArity = 3; +cljs$core$ep3.cljs$lang$applyTo = cljs$core$ep3__4.cljs$lang$applyTo; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$0 = cljs$core$ep3__0; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$1 = cljs$core$ep3__1; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$2 = cljs$core$ep3__2; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$3 = cljs$core$ep3__3; +cljs$core$ep3.cljs$core$IFn$_invoke$arity$variadic = cljs$core$ep3__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$ep3; +})() +})); + +(cljs.core.every_pred.cljs$core$IFn$_invoke$arity$variadic = (function (p1,p2,p3,ps){ +var ps__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(p1,p2,p3,ps); +return (function() { +var cljs$core$epn = null; +var cljs$core$epn__0 = (function (){ +return true; +}); +var cljs$core$epn__1 = (function (x){ +return cljs.core.every_QMARK_((function (p1__27249_SHARP_){ +return (p1__27249_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27249_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__27249_SHARP_.call(null, x)); +}),ps__$1); +}); +var cljs$core$epn__2 = (function (x,y){ +return cljs.core.every_QMARK_((function (p1__27250_SHARP_){ +var and__5043__auto__ = (p1__27250_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27250_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__27250_SHARP_.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +return (p1__27250_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27250_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__27250_SHARP_.call(null, y)); +} else { +return and__5043__auto__; +} +}),ps__$1); +}); +var cljs$core$epn__3 = (function (x,y,z){ +return cljs.core.every_QMARK_((function (p1__27251_SHARP_){ +var and__5043__auto__ = (p1__27251_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27251_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__27251_SHARP_.call(null, x)); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = (p1__27251_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27251_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__27251_SHARP_.call(null, y)); +if(cljs.core.truth_(and__5043__auto____$1)){ +return (p1__27251_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27251_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__27251_SHARP_.call(null, z)); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +}),ps__$1); +}); +var cljs$core$epn__4 = (function() { +var G__31736__delegate = function (x,y,z,args){ +return cljs.core.boolean$((function (){var and__5043__auto__ = cljs$core$epn.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.every_QMARK_((function (p1__27252_SHARP_){ +return cljs.core.every_QMARK_(p1__27252_SHARP_,args); +}),ps__$1); +} else { +return and__5043__auto__; +} +})()); +}; +var G__31736 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31737__i = 0, G__31737__a = new Array(arguments.length - 3); +while (G__31737__i < G__31737__a.length) {G__31737__a[G__31737__i] = arguments[G__31737__i + 3]; ++G__31737__i;} + args = new cljs.core.IndexedSeq(G__31737__a,0,null); +} +return G__31736__delegate.call(this,x,y,z,args);}; +G__31736.cljs$lang$maxFixedArity = 3; +G__31736.cljs$lang$applyTo = (function (arglist__31738){ +var x = cljs.core.first(arglist__31738); +arglist__31738 = cljs.core.next(arglist__31738); +var y = cljs.core.first(arglist__31738); +arglist__31738 = cljs.core.next(arglist__31738); +var z = cljs.core.first(arglist__31738); +var args = cljs.core.rest(arglist__31738); +return G__31736__delegate(x,y,z,args); +}); +G__31736.cljs$core$IFn$_invoke$arity$variadic = G__31736__delegate; +return G__31736; +})() +; +cljs$core$epn = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$epn__0.call(this); +case 1: +return cljs$core$epn__1.call(this,x); +case 2: +return cljs$core$epn__2.call(this,x,y); +case 3: +return cljs$core$epn__3.call(this,x,y,z); +default: +var G__31741 = null; +if (arguments.length > 3) { +var G__31742__i = 0, G__31742__a = new Array(arguments.length - 3); +while (G__31742__i < G__31742__a.length) {G__31742__a[G__31742__i] = arguments[G__31742__i + 3]; ++G__31742__i;} +G__31741 = new cljs.core.IndexedSeq(G__31742__a,0,null); +} +return cljs$core$epn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31741); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$epn.cljs$lang$maxFixedArity = 3; +cljs$core$epn.cljs$lang$applyTo = cljs$core$epn__4.cljs$lang$applyTo; +cljs$core$epn.cljs$core$IFn$_invoke$arity$0 = cljs$core$epn__0; +cljs$core$epn.cljs$core$IFn$_invoke$arity$1 = cljs$core$epn__1; +cljs$core$epn.cljs$core$IFn$_invoke$arity$2 = cljs$core$epn__2; +cljs$core$epn.cljs$core$IFn$_invoke$arity$3 = cljs$core$epn__3; +cljs$core$epn.cljs$core$IFn$_invoke$arity$variadic = cljs$core$epn__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$epn; +})() +})); + +/** @this {Function} */ +(cljs.core.every_pred.cljs$lang$applyTo = (function (seq27254){ +var G__27255 = cljs.core.first(seq27254); +var seq27254__$1 = cljs.core.next(seq27254); +var G__27256 = cljs.core.first(seq27254__$1); +var seq27254__$2 = cljs.core.next(seq27254__$1); +var G__27257 = cljs.core.first(seq27254__$2); +var seq27254__$3 = cljs.core.next(seq27254__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27255,G__27256,G__27257,seq27254__$3); +})); + +(cljs.core.every_pred.cljs$lang$maxFixedArity = (3)); + +/** + * Takes a set of predicates and returns a function f that returns the first logical true value + * returned by one of its composing predicates against any of its arguments, else it returns + * logical false. Note that f is short-circuiting in that it will stop execution on the first + * argument that triggers a logical true result against the original predicates. + */ +cljs.core.some_fn = (function cljs$core$some_fn(var_args){ +var G__27270 = arguments.length; +switch (G__27270) { +case 1: +return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31744 = arguments.length; +var i__5770__auto___31745 = (0); +while(true){ +if((i__5770__auto___31745 < len__5769__auto___31744)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31745])); + +var G__31746 = (i__5770__auto___31745 + (1)); +i__5770__auto___31745 = G__31746; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.some_fn.cljs$core$IFn$_invoke$arity$1 = (function (p){ +return (function() { +var cljs$core$sp1 = null; +var cljs$core$sp1__0 = (function (){ +return null; +}); +var cljs$core$sp1__1 = (function (x){ +return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null, x)); +}); +var cljs$core$sp1__2 = (function (x,y){ +var or__5045__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null, y)); +} +}); +var cljs$core$sp1__3 = (function (x,y,z){ +var or__5045__auto__ = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(x) : p.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(y) : p.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return (p.cljs$core$IFn$_invoke$arity$1 ? p.cljs$core$IFn$_invoke$arity$1(z) : p.call(null, z)); +} +} +}); +var cljs$core$sp1__4 = (function() { +var G__31749__delegate = function (x,y,z,args){ +var or__5045__auto__ = cljs$core$sp1.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.some(p,args); +} +}; +var G__31749 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31751__i = 0, G__31751__a = new Array(arguments.length - 3); +while (G__31751__i < G__31751__a.length) {G__31751__a[G__31751__i] = arguments[G__31751__i + 3]; ++G__31751__i;} + args = new cljs.core.IndexedSeq(G__31751__a,0,null); +} +return G__31749__delegate.call(this,x,y,z,args);}; +G__31749.cljs$lang$maxFixedArity = 3; +G__31749.cljs$lang$applyTo = (function (arglist__31752){ +var x = cljs.core.first(arglist__31752); +arglist__31752 = cljs.core.next(arglist__31752); +var y = cljs.core.first(arglist__31752); +arglist__31752 = cljs.core.next(arglist__31752); +var z = cljs.core.first(arglist__31752); +var args = cljs.core.rest(arglist__31752); +return G__31749__delegate(x,y,z,args); +}); +G__31749.cljs$core$IFn$_invoke$arity$variadic = G__31749__delegate; +return G__31749; +})() +; +cljs$core$sp1 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$sp1__0.call(this); +case 1: +return cljs$core$sp1__1.call(this,x); +case 2: +return cljs$core$sp1__2.call(this,x,y); +case 3: +return cljs$core$sp1__3.call(this,x,y,z); +default: +var G__31753 = null; +if (arguments.length > 3) { +var G__31754__i = 0, G__31754__a = new Array(arguments.length - 3); +while (G__31754__i < G__31754__a.length) {G__31754__a[G__31754__i] = arguments[G__31754__i + 3]; ++G__31754__i;} +G__31753 = new cljs.core.IndexedSeq(G__31754__a,0,null); +} +return cljs$core$sp1__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31753); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$sp1.cljs$lang$maxFixedArity = 3; +cljs$core$sp1.cljs$lang$applyTo = cljs$core$sp1__4.cljs$lang$applyTo; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp1__0; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp1__1; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp1__2; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp1__3; +cljs$core$sp1.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp1__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$sp1; +})() +})); + +(cljs.core.some_fn.cljs$core$IFn$_invoke$arity$2 = (function (p1,p2){ +return (function() { +var cljs$core$sp2 = null; +var cljs$core$sp2__0 = (function (){ +return null; +}); +var cljs$core$sp2__1 = (function (x){ +var or__5045__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +} +}); +var cljs$core$sp2__2 = (function (x,y){ +var or__5045__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +var or__5045__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(or__5045__auto____$2)){ +return or__5045__auto____$2; +} else { +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +} +} +} +}); +var cljs$core$sp2__3 = (function (x,y,z){ +var or__5045__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +var or__5045__auto____$2 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null, z)); +if(cljs.core.truth_(or__5045__auto____$2)){ +return or__5045__auto____$2; +} else { +var or__5045__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(or__5045__auto____$3)){ +return or__5045__auto____$3; +} else { +var or__5045__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$4)){ +return or__5045__auto____$4; +} else { +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null, z)); +} +} +} +} +} +}); +var cljs$core$sp2__4 = (function() { +var G__31755__delegate = function (x,y,z,args){ +var or__5045__auto__ = cljs$core$sp2.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.some((function (p1__27259_SHARP_){ +var or__5045__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__27259_SHARP_) : p1.call(null, p1__27259_SHARP_)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__27259_SHARP_) : p2.call(null, p1__27259_SHARP_)); +} +}),args); +} +}; +var G__31755 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31756__i = 0, G__31756__a = new Array(arguments.length - 3); +while (G__31756__i < G__31756__a.length) {G__31756__a[G__31756__i] = arguments[G__31756__i + 3]; ++G__31756__i;} + args = new cljs.core.IndexedSeq(G__31756__a,0,null); +} +return G__31755__delegate.call(this,x,y,z,args);}; +G__31755.cljs$lang$maxFixedArity = 3; +G__31755.cljs$lang$applyTo = (function (arglist__31757){ +var x = cljs.core.first(arglist__31757); +arglist__31757 = cljs.core.next(arglist__31757); +var y = cljs.core.first(arglist__31757); +arglist__31757 = cljs.core.next(arglist__31757); +var z = cljs.core.first(arglist__31757); +var args = cljs.core.rest(arglist__31757); +return G__31755__delegate(x,y,z,args); +}); +G__31755.cljs$core$IFn$_invoke$arity$variadic = G__31755__delegate; +return G__31755; +})() +; +cljs$core$sp2 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$sp2__0.call(this); +case 1: +return cljs$core$sp2__1.call(this,x); +case 2: +return cljs$core$sp2__2.call(this,x,y); +case 3: +return cljs$core$sp2__3.call(this,x,y,z); +default: +var G__31759 = null; +if (arguments.length > 3) { +var G__31760__i = 0, G__31760__a = new Array(arguments.length - 3); +while (G__31760__i < G__31760__a.length) {G__31760__a[G__31760__i] = arguments[G__31760__i + 3]; ++G__31760__i;} +G__31759 = new cljs.core.IndexedSeq(G__31760__a,0,null); +} +return cljs$core$sp2__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31759); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$sp2.cljs$lang$maxFixedArity = 3; +cljs$core$sp2.cljs$lang$applyTo = cljs$core$sp2__4.cljs$lang$applyTo; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp2__0; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp2__1; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp2__2; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp2__3; +cljs$core$sp2.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp2__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$sp2; +})() +})); + +(cljs.core.some_fn.cljs$core$IFn$_invoke$arity$3 = (function (p1,p2,p3){ +return (function() { +var cljs$core$sp3 = null; +var cljs$core$sp3__0 = (function (){ +return null; +}); +var cljs$core$sp3__1 = (function (x){ +var or__5045__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null, x)); +} +} +}); +var cljs$core$sp3__2 = (function (x,y){ +var or__5045__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +var or__5045__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(or__5045__auto____$2)){ +return or__5045__auto____$2; +} else { +var or__5045__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$3)){ +return or__5045__auto____$3; +} else { +var or__5045__auto____$4 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null, x)); +if(cljs.core.truth_(or__5045__auto____$4)){ +return or__5045__auto____$4; +} else { +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null, y)); +} +} +} +} +} +}); +var cljs$core$sp3__3 = (function (x,y,z){ +var or__5045__auto__ = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(x) : p1.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(y) : p1.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +var or__5045__auto____$2 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(z) : p1.call(null, z)); +if(cljs.core.truth_(or__5045__auto____$2)){ +return or__5045__auto____$2; +} else { +var or__5045__auto____$3 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(x) : p2.call(null, x)); +if(cljs.core.truth_(or__5045__auto____$3)){ +return or__5045__auto____$3; +} else { +var or__5045__auto____$4 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(y) : p2.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$4)){ +return or__5045__auto____$4; +} else { +var or__5045__auto____$5 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(z) : p2.call(null, z)); +if(cljs.core.truth_(or__5045__auto____$5)){ +return or__5045__auto____$5; +} else { +var or__5045__auto____$6 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(x) : p3.call(null, x)); +if(cljs.core.truth_(or__5045__auto____$6)){ +return or__5045__auto____$6; +} else { +var or__5045__auto____$7 = (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(y) : p3.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$7)){ +return or__5045__auto____$7; +} else { +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(z) : p3.call(null, z)); +} +} +} +} +} +} +} +} +}); +var cljs$core$sp3__4 = (function() { +var G__31787__delegate = function (x,y,z,args){ +var or__5045__auto__ = cljs$core$sp3.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.some((function (p1__27260_SHARP_){ +var or__5045__auto____$1 = (p1.cljs$core$IFn$_invoke$arity$1 ? p1.cljs$core$IFn$_invoke$arity$1(p1__27260_SHARP_) : p1.call(null, p1__27260_SHARP_)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +var or__5045__auto____$2 = (p2.cljs$core$IFn$_invoke$arity$1 ? p2.cljs$core$IFn$_invoke$arity$1(p1__27260_SHARP_) : p2.call(null, p1__27260_SHARP_)); +if(cljs.core.truth_(or__5045__auto____$2)){ +return or__5045__auto____$2; +} else { +return (p3.cljs$core$IFn$_invoke$arity$1 ? p3.cljs$core$IFn$_invoke$arity$1(p1__27260_SHARP_) : p3.call(null, p1__27260_SHARP_)); +} +} +}),args); +} +}; +var G__31787 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31789__i = 0, G__31789__a = new Array(arguments.length - 3); +while (G__31789__i < G__31789__a.length) {G__31789__a[G__31789__i] = arguments[G__31789__i + 3]; ++G__31789__i;} + args = new cljs.core.IndexedSeq(G__31789__a,0,null); +} +return G__31787__delegate.call(this,x,y,z,args);}; +G__31787.cljs$lang$maxFixedArity = 3; +G__31787.cljs$lang$applyTo = (function (arglist__31790){ +var x = cljs.core.first(arglist__31790); +arglist__31790 = cljs.core.next(arglist__31790); +var y = cljs.core.first(arglist__31790); +arglist__31790 = cljs.core.next(arglist__31790); +var z = cljs.core.first(arglist__31790); +var args = cljs.core.rest(arglist__31790); +return G__31787__delegate(x,y,z,args); +}); +G__31787.cljs$core$IFn$_invoke$arity$variadic = G__31787__delegate; +return G__31787; +})() +; +cljs$core$sp3 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$sp3__0.call(this); +case 1: +return cljs$core$sp3__1.call(this,x); +case 2: +return cljs$core$sp3__2.call(this,x,y); +case 3: +return cljs$core$sp3__3.call(this,x,y,z); +default: +var G__31791 = null; +if (arguments.length > 3) { +var G__31792__i = 0, G__31792__a = new Array(arguments.length - 3); +while (G__31792__i < G__31792__a.length) {G__31792__a[G__31792__i] = arguments[G__31792__i + 3]; ++G__31792__i;} +G__31791 = new cljs.core.IndexedSeq(G__31792__a,0,null); +} +return cljs$core$sp3__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31791); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$sp3.cljs$lang$maxFixedArity = 3; +cljs$core$sp3.cljs$lang$applyTo = cljs$core$sp3__4.cljs$lang$applyTo; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$0 = cljs$core$sp3__0; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$1 = cljs$core$sp3__1; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$2 = cljs$core$sp3__2; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$3 = cljs$core$sp3__3; +cljs$core$sp3.cljs$core$IFn$_invoke$arity$variadic = cljs$core$sp3__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$sp3; +})() +})); + +(cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic = (function (p1,p2,p3,ps){ +var ps__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(p1,p2,p3,ps); +return (function() { +var cljs$core$spn = null; +var cljs$core$spn__0 = (function (){ +return null; +}); +var cljs$core$spn__1 = (function (x){ +return cljs.core.some((function (p1__27261_SHARP_){ +return (p1__27261_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27261_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__27261_SHARP_.call(null, x)); +}),ps__$1); +}); +var cljs$core$spn__2 = (function (x,y){ +return cljs.core.some((function (p1__27262_SHARP_){ +var or__5045__auto__ = (p1__27262_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27262_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__27262_SHARP_.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (p1__27262_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27262_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__27262_SHARP_.call(null, y)); +} +}),ps__$1); +}); +var cljs$core$spn__3 = (function (x,y,z){ +return cljs.core.some((function (p1__27263_SHARP_){ +var or__5045__auto__ = (p1__27263_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27263_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p1__27263_SHARP_.call(null, x)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (p1__27263_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27263_SHARP_.cljs$core$IFn$_invoke$arity$1(y) : p1__27263_SHARP_.call(null, y)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return (p1__27263_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p1__27263_SHARP_.cljs$core$IFn$_invoke$arity$1(z) : p1__27263_SHARP_.call(null, z)); +} +} +}),ps__$1); +}); +var cljs$core$spn__4 = (function() { +var G__31798__delegate = function (x,y,z,args){ +var or__5045__auto__ = cljs$core$spn.cljs$core$IFn$_invoke$arity$3(x,y,z); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.some((function (p1__27264_SHARP_){ +return cljs.core.some(p1__27264_SHARP_,args); +}),ps__$1); +} +}; +var G__31798 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__31799__i = 0, G__31799__a = new Array(arguments.length - 3); +while (G__31799__i < G__31799__a.length) {G__31799__a[G__31799__i] = arguments[G__31799__i + 3]; ++G__31799__i;} + args = new cljs.core.IndexedSeq(G__31799__a,0,null); +} +return G__31798__delegate.call(this,x,y,z,args);}; +G__31798.cljs$lang$maxFixedArity = 3; +G__31798.cljs$lang$applyTo = (function (arglist__31800){ +var x = cljs.core.first(arglist__31800); +arglist__31800 = cljs.core.next(arglist__31800); +var y = cljs.core.first(arglist__31800); +arglist__31800 = cljs.core.next(arglist__31800); +var z = cljs.core.first(arglist__31800); +var args = cljs.core.rest(arglist__31800); +return G__31798__delegate(x,y,z,args); +}); +G__31798.cljs$core$IFn$_invoke$arity$variadic = G__31798__delegate; +return G__31798; +})() +; +cljs$core$spn = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return cljs$core$spn__0.call(this); +case 1: +return cljs$core$spn__1.call(this,x); +case 2: +return cljs$core$spn__2.call(this,x,y); +case 3: +return cljs$core$spn__3.call(this,x,y,z); +default: +var G__31801 = null; +if (arguments.length > 3) { +var G__31802__i = 0, G__31802__a = new Array(arguments.length - 3); +while (G__31802__i < G__31802__a.length) {G__31802__a[G__31802__i] = arguments[G__31802__i + 3]; ++G__31802__i;} +G__31801 = new cljs.core.IndexedSeq(G__31802__a,0,null); +} +return cljs$core$spn__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__31801); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +cljs$core$spn.cljs$lang$maxFixedArity = 3; +cljs$core$spn.cljs$lang$applyTo = cljs$core$spn__4.cljs$lang$applyTo; +cljs$core$spn.cljs$core$IFn$_invoke$arity$0 = cljs$core$spn__0; +cljs$core$spn.cljs$core$IFn$_invoke$arity$1 = cljs$core$spn__1; +cljs$core$spn.cljs$core$IFn$_invoke$arity$2 = cljs$core$spn__2; +cljs$core$spn.cljs$core$IFn$_invoke$arity$3 = cljs$core$spn__3; +cljs$core$spn.cljs$core$IFn$_invoke$arity$variadic = cljs$core$spn__4.cljs$core$IFn$_invoke$arity$variadic; +return cljs$core$spn; +})() +})); + +/** @this {Function} */ +(cljs.core.some_fn.cljs$lang$applyTo = (function (seq27266){ +var G__27267 = cljs.core.first(seq27266); +var seq27266__$1 = cljs.core.next(seq27266); +var G__27268 = cljs.core.first(seq27266__$1); +var seq27266__$2 = cljs.core.next(seq27266__$1); +var G__27269 = cljs.core.first(seq27266__$2); +var seq27266__$3 = cljs.core.next(seq27266__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27267,G__27268,G__27269,seq27266__$3); +})); + +(cljs.core.some_fn.cljs$lang$maxFixedArity = (3)); + +/** + * Returns a lazy sequence consisting of the result of applying f to + * the set of first items of each coll, followed by applying f to the + * set of second items in each coll, until any one of the colls is + * exhausted. Any remaining items in other colls are ignored. Function + * f should accept number-of-colls arguments. Returns a transducer when + * no collection is provided. + */ +cljs.core.map = (function cljs$core$map(var_args){ +var G__27278 = arguments.length; +switch (G__27278) { +case 1: +return cljs.core.map.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.map.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.map.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31806 = arguments.length; +var i__5770__auto___31807 = (0); +while(true){ +if((i__5770__auto___31807 < len__5769__auto___31806)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31807])); + +var G__31808 = (i__5770__auto___31807 + (1)); +i__5770__auto___31807 = G__31808; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((4)),(0),null)); +return cljs.core.map.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__5795__auto__); + +} +}); + +(cljs.core.map.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +return (function() { +var G__31809 = null; +var G__31809__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31809__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31809__2 = (function (result,input){ +var G__27279 = result; +var G__27280 = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(input) : f.call(null, input)); +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__27279,G__27280) : rf.call(null, G__27279,G__27280)); +}); +var G__31809__3 = (function() { +var G__31810__delegate = function (result,input,inputs){ +var G__27281 = result; +var G__27282 = cljs.core.apply.cljs$core$IFn$_invoke$arity$3(f,input,inputs); +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__27281,G__27282) : rf.call(null, G__27281,G__27282)); +}; +var G__31810 = function (result,input,var_args){ +var inputs = null; +if (arguments.length > 2) { +var G__31811__i = 0, G__31811__a = new Array(arguments.length - 2); +while (G__31811__i < G__31811__a.length) {G__31811__a[G__31811__i] = arguments[G__31811__i + 2]; ++G__31811__i;} + inputs = new cljs.core.IndexedSeq(G__31811__a,0,null); +} +return G__31810__delegate.call(this,result,input,inputs);}; +G__31810.cljs$lang$maxFixedArity = 2; +G__31810.cljs$lang$applyTo = (function (arglist__31812){ +var result = cljs.core.first(arglist__31812); +arglist__31812 = cljs.core.next(arglist__31812); +var input = cljs.core.first(arglist__31812); +var inputs = cljs.core.rest(arglist__31812); +return G__31810__delegate(result,input,inputs); +}); +G__31810.cljs$core$IFn$_invoke$arity$variadic = G__31810__delegate; +return G__31810; +})() +; +G__31809 = function(result,input,var_args){ +var inputs = var_args; +switch(arguments.length){ +case 0: +return G__31809__0.call(this); +case 1: +return G__31809__1.call(this,result); +case 2: +return G__31809__2.call(this,result,input); +default: +var G__31814 = null; +if (arguments.length > 2) { +var G__31815__i = 0, G__31815__a = new Array(arguments.length - 2); +while (G__31815__i < G__31815__a.length) {G__31815__a[G__31815__i] = arguments[G__31815__i + 2]; ++G__31815__i;} +G__31814 = new cljs.core.IndexedSeq(G__31815__a,0,null); +} +return G__31809__3.cljs$core$IFn$_invoke$arity$variadic(result,input, G__31814); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31809.cljs$lang$maxFixedArity = 2; +G__31809.cljs$lang$applyTo = G__31809__3.cljs$lang$applyTo; +G__31809.cljs$core$IFn$_invoke$arity$0 = G__31809__0; +G__31809.cljs$core$IFn$_invoke$arity$1 = G__31809__1; +G__31809.cljs$core$IFn$_invoke$arity$2 = G__31809__2; +G__31809.cljs$core$IFn$_invoke$arity$variadic = G__31809__3.cljs$core$IFn$_invoke$arity$variadic; +return G__31809; +})() +}); +})); + +(cljs.core.map.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s)){ +var c = cljs.core.chunk_first(s); +var size = cljs.core.count(c); +var b = cljs.core.chunk_buffer(size); +var n__5636__auto___31818 = size; +var i_31819 = (0); +while(true){ +if((i_31819 < n__5636__auto___31818)){ +cljs.core.chunk_append(b,(function (){var G__27283 = cljs.core._nth(c,i_31819); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27283) : f.call(null, G__27283)); +})()); + +var G__31820 = (i_31819 + (1)); +i_31819 = G__31820; +continue; +} else { +} +break; +} + +return cljs.core.chunk_cons(cljs.core.chunk(b),cljs.core.map.cljs$core$IFn$_invoke$arity$2(f,cljs.core.chunk_rest(s))); +} else { +return cljs.core.cons((function (){var G__27284 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27284) : f.call(null, G__27284)); +})(),cljs.core.map.cljs$core$IFn$_invoke$arity$2(f,cljs.core.rest(s))); +} +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.map.cljs$core$IFn$_invoke$arity$3 = (function (f,c1,c2){ +return (new cljs.core.LazySeq(null,(function (){ +var s1 = cljs.core.seq(c1); +var s2 = cljs.core.seq(c2); +if(((s1) && (s2))){ +return cljs.core.cons((function (){var G__27285 = cljs.core.first(s1); +var G__27286 = cljs.core.first(s2); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27285,G__27286) : f.call(null, G__27285,G__27286)); +})(),cljs.core.map.cljs$core$IFn$_invoke$arity$3(f,cljs.core.rest(s1),cljs.core.rest(s2))); +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.map.cljs$core$IFn$_invoke$arity$4 = (function (f,c1,c2,c3){ +return (new cljs.core.LazySeq(null,(function (){ +var s1 = cljs.core.seq(c1); +var s2 = cljs.core.seq(c2); +var s3 = cljs.core.seq(c3); +if(((s1) && (((s2) && (s3))))){ +return cljs.core.cons((function (){var G__27287 = cljs.core.first(s1); +var G__27288 = cljs.core.first(s2); +var G__27289 = cljs.core.first(s3); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27287,G__27288,G__27289) : f.call(null, G__27287,G__27288,G__27289)); +})(),cljs.core.map.cljs$core$IFn$_invoke$arity$4(f,cljs.core.rest(s1),cljs.core.rest(s2),cljs.core.rest(s3))); +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.map.cljs$core$IFn$_invoke$arity$variadic = (function (f,c1,c2,c3,colls){ +var step = (function cljs$core$step(cs){ +return (new cljs.core.LazySeq(null,(function (){ +var ss = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.seq,cs); +if(cljs.core.every_QMARK_(cljs.core.identity,ss)){ +return cljs.core.cons(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.first,ss),cljs$core$step(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.rest,ss))); +} else { +return null; +} +}),null,null)); +}); +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__27271_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,p1__27271_SHARP_); +}),step(cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(colls,c3,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([c2,c1], 0)))); +})); + +/** @this {Function} */ +(cljs.core.map.cljs$lang$applyTo = (function (seq27273){ +var G__27274 = cljs.core.first(seq27273); +var seq27273__$1 = cljs.core.next(seq27273); +var G__27275 = cljs.core.first(seq27273__$1); +var seq27273__$2 = cljs.core.next(seq27273__$1); +var G__27276 = cljs.core.first(seq27273__$2); +var seq27273__$3 = cljs.core.next(seq27273__$2); +var G__27277 = cljs.core.first(seq27273__$3); +var seq27273__$4 = cljs.core.next(seq27273__$3); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27274,G__27275,G__27276,G__27277,seq27273__$4); +})); + +(cljs.core.map.cljs$lang$maxFixedArity = (4)); + +/** + * Returns a lazy sequence of the first n items in coll, or all items if + * there are fewer than n. Returns a stateful transducer when + * no collection is provided. + */ +cljs.core.take = (function cljs$core$take(var_args){ +var G__27291 = arguments.length; +switch (G__27291) { +case 1: +return cljs.core.take.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.take.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.take.cljs$core$IFn$_invoke$arity$1 = (function (n){ +if(typeof n === 'number'){ +} else { +throw (new Error("Assert failed: (number? n)")); +} + +return (function (rf){ +var na = cljs.core.volatile_BANG_(n); +return (function() { +var G__31843 = null; +var G__31843__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31843__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31843__2 = (function (result,input){ +var n__$1 = cljs.core.deref(na); +var nn = na.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, (na.cljs$core$IDeref$_deref$arity$1(null, ) - (1))); +var result__$1 = (((n__$1 > (0)))?(rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)):result); +if((!((nn > (0))))){ +return cljs.core.ensure_reduced(result__$1); +} else { +return result__$1; +} +}); +G__31843 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31843__0.call(this); +case 1: +return G__31843__1.call(this,result); +case 2: +return G__31843__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31843.cljs$core$IFn$_invoke$arity$0 = G__31843__0; +G__31843.cljs$core$IFn$_invoke$arity$1 = G__31843__1; +G__31843.cljs$core$IFn$_invoke$arity$2 = G__31843__2; +return G__31843; +})() +}); +})); + +(cljs.core.take.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ +if(typeof n === 'number'){ +} else { +throw (new Error("Assert failed: (number? n)")); +} + +return (new cljs.core.LazySeq(null,(function (){ +if((n > (0))){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +return cljs.core.cons(cljs.core.first(s),cljs.core.take.cljs$core$IFn$_invoke$arity$2((n - (1)),cljs.core.rest(s))); +} else { +return null; +} +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.take.cljs$lang$maxFixedArity = 2); + +/** + * Returns a lazy sequence of all but the first n items in coll. + * Returns a stateful transducer when no collection is provided. + */ +cljs.core.drop = (function cljs$core$drop(var_args){ +var G__27293 = arguments.length; +switch (G__27293) { +case 1: +return cljs.core.drop.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.drop.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.drop.cljs$core$IFn$_invoke$arity$1 = (function (n){ +if(typeof n === 'number'){ +} else { +throw (new Error("Assert failed: (number? n)")); +} + +return (function (rf){ +var na = cljs.core.volatile_BANG_(n); +return (function() { +var G__31852 = null; +var G__31852__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31852__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31852__2 = (function (result,input){ +var n__$1 = cljs.core.deref(na); +na.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, (na.cljs$core$IDeref$_deref$arity$1(null, ) - (1))); + +if((n__$1 > (0))){ +return result; +} else { +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} +}); +G__31852 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31852__0.call(this); +case 1: +return G__31852__1.call(this,result); +case 2: +return G__31852__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31852.cljs$core$IFn$_invoke$arity$0 = G__31852__0; +G__31852.cljs$core$IFn$_invoke$arity$1 = G__31852__1; +G__31852.cljs$core$IFn$_invoke$arity$2 = G__31852__2; +return G__31852; +})() +}); +})); + +(cljs.core.drop.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ +if(typeof n === 'number'){ +} else { +throw (new Error("Assert failed: (number? n)")); +} + +var step = (function (n__$1,coll__$1){ +while(true){ +var s = cljs.core.seq(coll__$1); +if((((n__$1 > (0))) && (s))){ +var G__31853 = (n__$1 - (1)); +var G__31854 = cljs.core.rest(s); +n__$1 = G__31853; +coll__$1 = G__31854; +continue; +} else { +return s; +} +break; +} +}); +return (new cljs.core.LazySeq(null,(function (){ +return step(n,coll); +}),null,null)); +})); + +(cljs.core.drop.cljs$lang$maxFixedArity = 2); + +/** + * Return a lazy sequence of all but the last n (default 1) items in coll + */ +cljs.core.drop_last = (function cljs$core$drop_last(var_args){ +var G__27295 = arguments.length; +switch (G__27295) { +case 1: +return cljs.core.drop_last.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.drop_last.cljs$core$IFn$_invoke$arity$1 = (function (s){ +return cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2((1),s); +})); + +(cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2 = (function (n,s){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (x,_){ +return x; +}),s,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,s)); +})); + +(cljs.core.drop_last.cljs$lang$maxFixedArity = 2); + +/** + * Returns a seq of the last n items in coll. Depending on the type + * of coll may be no better than linear time. For vectors, see also subvec. + */ +cljs.core.take_last = (function cljs$core$take_last(n,coll){ +var s = cljs.core.seq(coll); +var lead = cljs.core.seq(cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,coll)); +while(true){ +if(lead){ +var G__31856 = cljs.core.next(s); +var G__31857 = cljs.core.next(lead); +s = G__31856; +lead = G__31857; +continue; +} else { +return s; +} +break; +} +}); +/** + * Returns a lazy sequence of the items in coll starting from the + * first item for which (pred item) returns logical false. Returns a + * stateful transducer when no collection is provided. + */ +cljs.core.drop_while = (function cljs$core$drop_while(var_args){ +var G__27297 = arguments.length; +switch (G__27297) { +case 1: +return cljs.core.drop_while.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.drop_while.cljs$core$IFn$_invoke$arity$1 = (function (pred){ +return (function (rf){ +var da = cljs.core.volatile_BANG_(true); +return (function() { +var G__31861 = null; +var G__31861__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31861__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31861__2 = (function (result,input){ +var drop_QMARK_ = cljs.core.deref(da); +if(cljs.core.truth_((function (){var and__5043__auto__ = drop_QMARK_; +if(cljs.core.truth_(and__5043__auto__)){ +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null, input)); +} else { +return and__5043__auto__; +} +})())){ +return result; +} else { +cljs.core.vreset_BANG_(da,null); + +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} +}); +G__31861 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31861__0.call(this); +case 1: +return G__31861__1.call(this,result); +case 2: +return G__31861__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31861.cljs$core$IFn$_invoke$arity$0 = G__31861__0; +G__31861.cljs$core$IFn$_invoke$arity$1 = G__31861__1; +G__31861.cljs$core$IFn$_invoke$arity$2 = G__31861__2; +return G__31861; +})() +}); +})); + +(cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ +var step = (function (pred__$1,coll__$1){ +while(true){ +var s = cljs.core.seq(coll__$1); +if(cljs.core.truth_((function (){var and__5043__auto__ = s; +if(and__5043__auto__){ +var G__27298 = cljs.core.first(s); +return (pred__$1.cljs$core$IFn$_invoke$arity$1 ? pred__$1.cljs$core$IFn$_invoke$arity$1(G__27298) : pred__$1.call(null, G__27298)); +} else { +return and__5043__auto__; +} +})())){ +var G__31863 = pred__$1; +var G__31864 = cljs.core.rest(s); +pred__$1 = G__31863; +coll__$1 = G__31864; +continue; +} else { +return s; +} +break; +} +}); +return (new cljs.core.LazySeq(null,(function (){ +return step(pred,coll); +}),null,null)); +})); + +(cljs.core.drop_while.cljs$lang$maxFixedArity = 2); + + +/** +* @constructor + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IPending} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.Cycle = (function (meta,all,prev,current,_next){ +this.meta = meta; +this.all = all; +this.prev = prev; +this.current = current; +this._next = _next; +this.cljs$lang$protocol_mask$partition0$ = 26083532; +this.cljs$lang$protocol_mask$partition1$ = 1; +}); +(cljs.core.Cycle.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.Cycle.prototype.currentval = (function (){ +var self__ = this; +var coll = this; +if(self__.current){ +} else { +var temp__5821__auto___31866 = cljs.core.next(self__.prev); +if(temp__5821__auto___31866){ +var c_31868 = temp__5821__auto___31866; +(self__.current = c_31868); +} else { +(self__.current = self__.all); +} +} + +return self__.current; +})); + +(cljs.core.Cycle.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.Cycle.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ISeq$_rest$arity$1(null, ); +})); + +(cljs.core.Cycle.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.Cycle.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (!((self__.current == null))); +})); + +(cljs.core.Cycle.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +var s = coll__$1.currentval(); +var ret = cljs.core.first(s); +while(true){ +var s__$1 = (function (){var or__5045__auto__ = cljs.core.next(s); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return self__.all; +} +})(); +var ret__$1 = (function (){var G__27301 = ret; +var G__27302 = cljs.core.first(s__$1); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27301,G__27302) : f.call(null, G__27301,G__27302)); +})(); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__31872 = s__$1; +var G__31873 = ret__$1; +s = G__31872; +ret = G__31873; +continue; +} +break; +} +})); + +(cljs.core.Cycle.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +var s = coll__$1.currentval(); +var ret = start; +while(true){ +var ret__$1 = (function (){var G__27303 = ret; +var G__27304 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27303,G__27304) : f.call(null, G__27303,G__27304)); +})(); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__31874 = (function (){var or__5045__auto__ = cljs.core.next(s); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return self__.all; +} +})(); +var G__31875 = ret__$1; +s = G__31874; +ret = G__31875; +continue; +} +break; +} +})); + +(cljs.core.Cycle.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.first(coll__$1.currentval()); +})); + +(cljs.core.Cycle.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__._next == null)){ +(self__._next = (new cljs.core.Cycle(null,self__.all,coll__$1.currentval(),null,null))); +} else { +} + +return self__._next; +})); + +(cljs.core.Cycle.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.Cycle.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.Cycle(new_meta,self__.all,self__.prev,self__.current,self__._next)); +} +})); + +(cljs.core.Cycle.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.Cycle.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"all","all",-1762306027,null),new cljs.core.Symbol(null,"prev","prev",43462301,null),cljs.core.with_meta(new cljs.core.Symbol(null,"current","current",552492924,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"_next","_next",101877036,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Cycle.cljs$lang$type = true); + +(cljs.core.Cycle.cljs$lang$ctorStr = "cljs.core/Cycle"); + +(cljs.core.Cycle.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Cycle"); +})); + +/** + * Positional factory function for cljs.core/Cycle. + */ +cljs.core.__GT_Cycle = (function cljs$core$__GT_Cycle(meta,all,prev,current,_next){ +return (new cljs.core.Cycle(meta,all,prev,current,_next)); +}); + +/** + * Returns a lazy (infinite!) sequence of repetitions of the items in coll. + */ +cljs.core.cycle = (function cljs$core$cycle(coll){ +var temp__5821__auto__ = cljs.core.seq(coll); +if(temp__5821__auto__){ +var vals = temp__5821__auto__; +return (new cljs.core.Cycle(null,vals,null,vals,null)); +} else { +return cljs.core.List.EMPTY; +} +}); +/** + * Returns a vector of [(take n coll) (drop n coll)] + */ +cljs.core.split_at = (function cljs$core$split_at(n,coll){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,coll),cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,coll)], null); +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IPending} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.Repeat = (function (meta,count,val,next,__hash){ +this.meta = meta; +this.count = count; +this.val = val; +this.next = next; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32374988; +this.cljs$lang$protocol_mask$partition1$ = 1; +}); +(cljs.core.Repeat.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.Repeat.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.Repeat.prototype.indexOf = (function() { +var G__31884 = null; +var G__31884__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__31884__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__31884 = function(x,start){ +switch(arguments.length){ +case 1: +return G__31884__1.call(this,x); +case 2: +return G__31884__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31884.cljs$core$IFn$_invoke$arity$1 = G__31884__1; +G__31884.cljs$core$IFn$_invoke$arity$2 = G__31884__2; +return G__31884; +})() +); + +(cljs.core.Repeat.prototype.lastIndexOf = (function() { +var G__31886 = null; +var G__31886__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,self__.count); +}); +var G__31886__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__31886 = function(x,start){ +switch(arguments.length){ +case 1: +return G__31886__1.call(this,x); +case 2: +return G__31886__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31886.cljs$core$IFn$_invoke$arity$1 = G__31886__1; +G__31886.cljs$core$IFn$_invoke$arity$2 = G__31886__2; +return G__31886; +})() +); + +(cljs.core.Repeat.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.Repeat.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.next == null)){ +if((self__.count > (1))){ +(self__.next = (new cljs.core.Repeat(null,(self__.count - (1)),self__.val,null,null))); + +return self__.next; +} else { +if(((-1) === self__.count)){ +return coll__$1; +} else { +return null; +} +} +} else { +return self__.next; +} +})); + +(cljs.core.Repeat.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.Repeat.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.Repeat.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.Repeat.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return false; +})); + +(cljs.core.Repeat.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +if((self__.count === (-1))){ +var ret = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(self__.val,self__.val) : f.call(null, self__.val,self__.val)); +while(true){ +if(cljs.core.reduced_QMARK_(ret)){ +return cljs.core.deref(ret); +} else { +var G__31896 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null, ret,self__.val)); +ret = G__31896; +continue; +} +break; +} +} else { +var i = (1); +var ret = self__.val; +while(true){ +if((i < self__.count)){ +var ret__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null, ret,self__.val)); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__31898 = (i + (1)); +var G__31899 = ret__$1; +i = G__31898; +ret = G__31899; +continue; +} +} else { +return ret; +} +break; +} +} +})); + +(cljs.core.Repeat.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +if((self__.count === (-1))){ +var ret = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(start,self__.val) : f.call(null, start,self__.val)); +while(true){ +if(cljs.core.reduced_QMARK_(ret)){ +return cljs.core.deref(ret); +} else { +var G__31901 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null, ret,self__.val)); +ret = G__31901; +continue; +} +break; +} +} else { +var i = (0); +var ret = start; +while(true){ +if((i < self__.count)){ +var ret__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,self__.val) : f.call(null, ret,self__.val)); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__31903 = (i + (1)); +var G__31904 = ret__$1; +i = G__31903; +ret = G__31904; +continue; +} +} else { +return ret; +} +break; +} +} +})); + +(cljs.core.Repeat.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.val; +})); + +(cljs.core.Repeat.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.next == null)){ +if((self__.count > (1))){ +(self__.next = (new cljs.core.Repeat(null,(self__.count - (1)),self__.val,null,null))); + +return self__.next; +} else { +if(((-1) === self__.count)){ +return coll__$1; +} else { +return cljs.core.List.EMPTY; +} +} +} else { +return self__.next; +} +})); + +(cljs.core.Repeat.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.Repeat.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.Repeat(new_meta,self__.count,self__.val,self__.next,null)); +} +})); + +(cljs.core.Repeat.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.Repeat.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"count","count",-514511684,null),new cljs.core.Symbol(null,"val","val",1769233139,null),cljs.core.with_meta(new cljs.core.Symbol(null,"next","next",1522830042,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Repeat.cljs$lang$type = true); + +(cljs.core.Repeat.cljs$lang$ctorStr = "cljs.core/Repeat"); + +(cljs.core.Repeat.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Repeat"); +})); + +/** + * Positional factory function for cljs.core/Repeat. + */ +cljs.core.__GT_Repeat = (function cljs$core$__GT_Repeat(meta,count,val,next,__hash){ +return (new cljs.core.Repeat(meta,count,val,next,__hash)); +}); + +/** + * Returns a lazy (infinite!, or length n if supplied) sequence of xs. + */ +cljs.core.repeat = (function cljs$core$repeat(var_args){ +var G__27306 = arguments.length; +switch (G__27306) { +case 1: +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.repeat.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (new cljs.core.Repeat(null,(-1),x,null,null)); +})); + +(cljs.core.repeat.cljs$core$IFn$_invoke$arity$2 = (function (n,x){ +if((n > (0))){ +return (new cljs.core.Repeat(null,n,x,null,null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.repeat.cljs$lang$maxFixedArity = 2); + +/** + * DEPRECATED: Use 'repeat' instead. + * Returns a lazy seq of n xs. + */ +cljs.core.replicate = (function cljs$core$replicate(n,x){ +return cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(x)); +}); +/** + * Takes a function of no args, presumably with side effects, and + * returns an infinite (or length n if supplied) lazy sequence of calls + * to it + */ +cljs.core.repeatedly = (function cljs$core$repeatedly(var_args){ +var G__27308 = arguments.length; +switch (G__27308) { +case 1: +return cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (new cljs.core.LazySeq(null,(function (){ +return cljs.core.cons((f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )),cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1(f)); +}),null,null)); +})); + +(cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$2 = (function (n,f){ +return cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.repeatedly.cljs$core$IFn$_invoke$arity$1(f)); +})); + +(cljs.core.repeatedly.cljs$lang$maxFixedArity = 2); + +cljs.core.UNREALIZED_SEED = ({}); + +/** +* @constructor + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IPending} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.Iterate = (function (meta,f,prev_seed,seed,next){ +this.meta = meta; +this.f = f; +this.prev_seed = prev_seed; +this.seed = seed; +this.next = next; +this.cljs$lang$protocol_mask$partition0$ = 26083532; +this.cljs$lang$protocol_mask$partition1$ = 1; +}); +(cljs.core.Iterate.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.Iterate.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.Iterate.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ISeq$_rest$arity$1(null, ); +})); + +(cljs.core.Iterate.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.Iterate.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (!((self__.seed === cljs.core.UNREALIZED_SEED))); +})); + +(cljs.core.Iterate.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,rf){ +var self__ = this; +var coll__$1 = this; +var first = coll__$1.cljs$core$ISeq$_first$arity$1(null, ); +var v = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(first) : self__.f.call(null, first)); +var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(first,v) : rf.call(null, first,v)); +var v__$1 = v; +while(true){ +if(cljs.core.reduced_QMARK_(ret)){ +return cljs.core.deref(ret); +} else { +var v__$2 = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(v__$1) : self__.f.call(null, v__$1)); +var G__31914 = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(ret,v__$2) : rf.call(null, ret,v__$2)); +var G__31915 = v__$2; +ret = G__31914; +v__$1 = G__31915; +continue; +} +break; +} +})); + +(cljs.core.Iterate.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,rf,start){ +var self__ = this; +var coll__$1 = this; +var v = coll__$1.cljs$core$ISeq$_first$arity$1(null, ); +var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(start,v) : rf.call(null, start,v)); +var v__$1 = v; +while(true){ +if(cljs.core.reduced_QMARK_(ret)){ +return cljs.core.deref(ret); +} else { +var v__$2 = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(v__$1) : self__.f.call(null, v__$1)); +var G__31916 = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(ret,v__$2) : rf.call(null, ret,v__$2)); +var G__31917 = v__$2; +ret = G__31916; +v__$1 = G__31917; +continue; +} +break; +} +})); + +(cljs.core.Iterate.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((cljs.core.UNREALIZED_SEED === self__.seed)){ +(self__.seed = (self__.f.cljs$core$IFn$_invoke$arity$1 ? self__.f.cljs$core$IFn$_invoke$arity$1(self__.prev_seed) : self__.f.call(null, self__.prev_seed))); +} else { +} + +return self__.seed; +})); + +(cljs.core.Iterate.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.next == null)){ +(self__.next = (new cljs.core.Iterate(null,self__.f,coll__$1.cljs$core$ISeq$_first$arity$1(null, ),cljs.core.UNREALIZED_SEED,null))); +} else { +} + +return self__.next; +})); + +(cljs.core.Iterate.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.Iterate.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.Iterate(new_meta,self__.f,self__.prev_seed,self__.seed,self__.next)); +} +})); + +(cljs.core.Iterate.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.Iterate.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.Symbol(null,"prev-seed","prev-seed",2126381367,null),cljs.core.with_meta(new cljs.core.Symbol(null,"seed","seed",1709144854,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next","next",1522830042,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Iterate.cljs$lang$type = true); + +(cljs.core.Iterate.cljs$lang$ctorStr = "cljs.core/Iterate"); + +(cljs.core.Iterate.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Iterate"); +})); + +/** + * Positional factory function for cljs.core/Iterate. + */ +cljs.core.__GT_Iterate = (function cljs$core$__GT_Iterate(meta,f,prev_seed,seed,next){ +return (new cljs.core.Iterate(meta,f,prev_seed,seed,next)); +}); + +/** + * Returns a lazy sequence of x, (f x), (f (f x)) etc. f must be free of side-effects + */ +cljs.core.iterate = (function cljs$core$iterate(f,x){ +return (new cljs.core.Iterate(null,f,null,x,null)); +}); +/** + * Returns a lazy seq of the first item in each coll, then the second etc. + */ +cljs.core.interleave = (function cljs$core$interleave(var_args){ +var G__27313 = arguments.length; +switch (G__27313) { +case 0: +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31931 = arguments.length; +var i__5770__auto___31933 = (0); +while(true){ +if((i__5770__auto___31933 < len__5769__auto___31931)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31933])); + +var G__31934 = (i__5770__auto___31933 + (1)); +i__5770__auto___31933 = G__31934; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return cljs.core.interleave.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(cljs.core.interleave.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.List.EMPTY; +})); + +(cljs.core.interleave.cljs$core$IFn$_invoke$arity$1 = (function (c1){ +return (new cljs.core.LazySeq(null,(function (){ +return c1; +}),null,null)); +})); + +(cljs.core.interleave.cljs$core$IFn$_invoke$arity$2 = (function (c1,c2){ +return (new cljs.core.LazySeq(null,(function (){ +var s1 = cljs.core.seq(c1); +var s2 = cljs.core.seq(c2); +if(((s1) && (s2))){ +return cljs.core.cons(cljs.core.first(s1),cljs.core.cons(cljs.core.first(s2),cljs.core.interleave.cljs$core$IFn$_invoke$arity$2(cljs.core.rest(s1),cljs.core.rest(s2)))); +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.interleave.cljs$core$IFn$_invoke$arity$variadic = (function (c1,c2,colls){ +return (new cljs.core.LazySeq(null,(function (){ +var ss = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.seq,cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(colls,c2,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([c1], 0))); +if(cljs.core.every_QMARK_(cljs.core.identity,ss)){ +return cljs.core.concat.cljs$core$IFn$_invoke$arity$2(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.first,ss),cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.interleave,cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.rest,ss))); +} else { +return null; +} +}),null,null)); +})); + +/** @this {Function} */ +(cljs.core.interleave.cljs$lang$applyTo = (function (seq27310){ +var G__27311 = cljs.core.first(seq27310); +var seq27310__$1 = cljs.core.next(seq27310); +var G__27312 = cljs.core.first(seq27310__$1); +var seq27310__$2 = cljs.core.next(seq27310__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27311,G__27312,seq27310__$2); +})); + +(cljs.core.interleave.cljs$lang$maxFixedArity = (2)); + +/** + * Returns a lazy seq of the elements of coll separated by sep. + * Returns a stateful transducer when no collection is provided. + */ +cljs.core.interpose = (function cljs$core$interpose(var_args){ +var G__27315 = arguments.length; +switch (G__27315) { +case 1: +return cljs.core.interpose.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.interpose.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.interpose.cljs$core$IFn$_invoke$arity$1 = (function (sep){ +return (function (rf){ +var started = cljs.core.volatile_BANG_(false); +return (function() { +var G__31947 = null; +var G__31947__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31947__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31947__2 = (function (result,input){ +if(cljs.core.truth_(cljs.core.deref(started))){ +var sepr = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,sep) : rf.call(null, result,sep)); +if(cljs.core.reduced_QMARK_(sepr)){ +return sepr; +} else { +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(sepr,input) : rf.call(null, sepr,input)); +} +} else { +cljs.core.vreset_BANG_(started,true); + +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} +}); +G__31947 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31947__0.call(this); +case 1: +return G__31947__1.call(this,result); +case 2: +return G__31947__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31947.cljs$core$IFn$_invoke$arity$0 = G__31947__0; +G__31947.cljs$core$IFn$_invoke$arity$1 = G__31947__1; +G__31947.cljs$core$IFn$_invoke$arity$2 = G__31947__2; +return G__31947; +})() +}); +})); + +(cljs.core.interpose.cljs$core$IFn$_invoke$arity$2 = (function (sep,coll){ +return cljs.core.drop.cljs$core$IFn$_invoke$arity$2((1),cljs.core.interleave.cljs$core$IFn$_invoke$arity$2(cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(sep),coll)); +})); + +(cljs.core.interpose.cljs$lang$maxFixedArity = 2); + +/** + * Take a collection of collections, and return a lazy seq + * of items from the inner collection + */ +cljs.core.flatten1 = (function cljs$core$flatten1(colls){ +var cat = (function cljs$core$flatten1_$_cat(coll,colls__$1){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5821__auto__ = cljs.core.seq(coll); +if(temp__5821__auto__){ +var coll__$1 = temp__5821__auto__; +return cljs.core.cons(cljs.core.first(coll__$1),cljs$core$flatten1_$_cat(cljs.core.rest(coll__$1),colls__$1)); +} else { +if(cljs.core.seq(colls__$1)){ +return cljs$core$flatten1_$_cat(cljs.core.first(colls__$1),cljs.core.rest(colls__$1)); +} else { +return null; +} +} +}),null,null)); +}); +return cat(null,colls); +}); +/** + * Returns the result of applying concat to the result of applying map + * to f and colls. Thus function f should return a collection. Returns + * a transducer when no collections are provided + */ +cljs.core.mapcat = (function cljs$core$mapcat(var_args){ +var G__27319 = arguments.length; +switch (G__27319) { +case 1: +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___31968 = arguments.length; +var i__5770__auto___31969 = (0); +while(true){ +if((i__5770__auto___31969 < len__5769__auto___31968)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___31969])); + +var G__31971 = (i__5770__auto___31969 + (1)); +i__5770__auto___31969 = G__31971; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs.core.mapcat.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return cljs.core.comp.cljs$core$IFn$_invoke$arity$2(cljs.core.map.cljs$core$IFn$_invoke$arity$1(f),cljs.core.cat); +})); + +(cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic = (function (f,colls){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.map,f,colls)); +})); + +/** @this {Function} */ +(cljs.core.mapcat.cljs$lang$applyTo = (function (seq27317){ +var G__27318 = cljs.core.first(seq27317); +var seq27317__$1 = cljs.core.next(seq27317); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27318,seq27317__$1); +})); + +(cljs.core.mapcat.cljs$lang$maxFixedArity = (1)); + +/** + * Returns a lazy sequence of the items in coll for which + * (pred item) returns logical true. pred must be free of side-effects. + * Returns a transducer when no collection is provided. + */ +cljs.core.filter = (function cljs$core$filter(var_args){ +var G__27321 = arguments.length; +switch (G__27321) { +case 1: +return cljs.core.filter.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.filter.cljs$core$IFn$_invoke$arity$1 = (function (pred){ +return (function (rf){ +return (function() { +var G__31974 = null; +var G__31974__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__31974__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__31974__2 = (function (result,input){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null, input)))){ +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} else { +return result; +} +}); +G__31974 = function(result,input){ +switch(arguments.length){ +case 0: +return G__31974__0.call(this); +case 1: +return G__31974__1.call(this,result); +case 2: +return G__31974__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__31974.cljs$core$IFn$_invoke$arity$0 = G__31974__0; +G__31974.cljs$core$IFn$_invoke$arity$1 = G__31974__1; +G__31974.cljs$core$IFn$_invoke$arity$2 = G__31974__2; +return G__31974; +})() +}); +})); + +(cljs.core.filter.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s)){ +var c = cljs.core.chunk_first(s); +var size = cljs.core.count(c); +var b = cljs.core.chunk_buffer(size); +var n__5636__auto___31977 = size; +var i_31978 = (0); +while(true){ +if((i_31978 < n__5636__auto___31977)){ +if(cljs.core.truth_((function (){var G__27322 = cljs.core._nth(c,i_31978); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__27322) : pred.call(null, G__27322)); +})())){ +cljs.core.chunk_append(b,cljs.core._nth(c,i_31978)); +} else { +} + +var G__31984 = (i_31978 + (1)); +i_31978 = G__31984; +continue; +} else { +} +break; +} + +return cljs.core.chunk_cons(cljs.core.chunk(b),cljs.core.filter.cljs$core$IFn$_invoke$arity$2(pred,cljs.core.chunk_rest(s))); +} else { +var f = cljs.core.first(s); +var r = cljs.core.rest(s); +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(f) : pred.call(null, f)))){ +return cljs.core.cons(f,cljs.core.filter.cljs$core$IFn$_invoke$arity$2(pred,r)); +} else { +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2(pred,r); +} +} +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.filter.cljs$lang$maxFixedArity = 2); + +/** + * Returns a lazy sequence of the items in coll for which + * (pred item) returns logical false. pred must be free of side-effects. + * Returns a transducer when no collection is provided. + */ +cljs.core.remove = (function cljs$core$remove(var_args){ +var G__27324 = arguments.length; +switch (G__27324) { +case 1: +return cljs.core.remove.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.remove.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.remove.cljs$core$IFn$_invoke$arity$1 = (function (pred){ +return cljs.core.filter.cljs$core$IFn$_invoke$arity$1(cljs.core.complement(pred)); +})); + +(cljs.core.remove.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2(cljs.core.complement(pred),coll); +})); + +(cljs.core.remove.cljs$lang$maxFixedArity = 2); + +/** + * Returns a lazy sequence of the nodes in a tree, via a depth-first walk. + * branch? must be a fn of one arg that returns true if passed a node + * that can have children (but may not). children must be a fn of one + * arg that returns a sequence of the children. Will only be called on + * nodes for which branch? returns true. Root is the root node of the + * tree. + */ +cljs.core.tree_seq = (function cljs$core$tree_seq(branch_QMARK_,children,root){ +var walk = (function cljs$core$tree_seq_$_walk(node){ +return (new cljs.core.LazySeq(null,(function (){ +return cljs.core.cons(node,(cljs.core.truth_((branch_QMARK_.cljs$core$IFn$_invoke$arity$1 ? branch_QMARK_.cljs$core$IFn$_invoke$arity$1(node) : branch_QMARK_.call(null, node)))?cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(cljs$core$tree_seq_$_walk,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(children.cljs$core$IFn$_invoke$arity$1 ? children.cljs$core$IFn$_invoke$arity$1(node) : children.call(null, node))], 0)):null)); +}),null,null)); +}); +return walk(root); +}); +/** + * Takes any nested combination of sequential things (lists, vectors, + * etc.) and returns their contents as a single, flat sequence. + * (flatten nil) returns nil. + */ +cljs.core.flatten = (function cljs$core$flatten(x){ +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__27325_SHARP_){ +return (!(cljs.core.sequential_QMARK_(p1__27325_SHARP_))); +}),cljs.core.rest(cljs.core.tree_seq(cljs.core.sequential_QMARK_,cljs.core.seq,x))); +}); +/** + * Returns a new coll consisting of to-coll with all of the items of + * from-coll conjoined. A transducer may be supplied. + */ +cljs.core.into = (function cljs$core$into(var_args){ +var G__27327 = arguments.length; +switch (G__27327) { +case 0: +return cljs.core.into.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.into.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.into.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.into.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.into.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cljs.core.into.cljs$core$IFn$_invoke$arity$1 = (function (to){ +return to; +})); + +(cljs.core.into.cljs$core$IFn$_invoke$arity$2 = (function (to,from){ +if((!((to == null)))){ +if((((!((to == null))))?(((((to.cljs$lang$protocol_mask$partition1$ & (4))) || ((cljs.core.PROTOCOL_SENTINEL === to.cljs$core$IEditableCollection$))))?true:false):false)){ +return cljs.core._with_meta(cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj_BANG_,cljs.core.transient$(to),from)),cljs.core.meta(to)); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,to,from); +} +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,to,from); +} +})); + +(cljs.core.into.cljs$core$IFn$_invoke$arity$3 = (function (to,xform,from){ +if((((!((to == null))))?(((((to.cljs$lang$protocol_mask$partition1$ & (4))) || ((cljs.core.PROTOCOL_SENTINEL === to.cljs$core$IEditableCollection$))))?true:false):false)){ +var tm = cljs.core.meta(to); +var rf = (function() { +var G__32002 = null; +var G__32002__1 = (function (coll){ +return cljs.core._with_meta(cljs.core.persistent_BANG_(coll),tm); +}); +var G__32002__2 = (function (coll,v){ +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(coll,v); +}); +G__32002 = function(coll,v){ +switch(arguments.length){ +case 1: +return G__32002__1.call(this,coll); +case 2: +return G__32002__2.call(this,coll,v); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32002.cljs$core$IFn$_invoke$arity$1 = G__32002__1; +G__32002.cljs$core$IFn$_invoke$arity$2 = G__32002__2; +return G__32002; +})() +; +return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(xform,rf,cljs.core.transient$(to),from); +} else { +return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(xform,cljs.core.conj,to,from); +} +})); + +(cljs.core.into.cljs$lang$maxFixedArity = 3); + +/** + * Returns a vector consisting of the result of applying f to the + * set of first items of each coll, followed by applying f to the set + * of second items in each coll, until any one of the colls is + * exhausted. Any remaining items in other colls are ignored. Function + * f should accept number-of-colls arguments. + */ +cljs.core.mapv = (function cljs$core$mapv(var_args){ +var G__27336 = arguments.length; +switch (G__27336) { +case 2: +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___32018 = arguments.length; +var i__5770__auto___32019 = (0); +while(true){ +if((i__5770__auto___32019 < len__5769__auto___32018)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___32019])); + +var G__32020 = (i__5770__auto___32019 + (1)); +i__5770__auto___32019 = G__32020; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((4)),(0),null)); +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__5795__auto__); + +} +}); + +(cljs.core.mapv.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (v,o){ +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(v,(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(o) : f.call(null, o))); +}),cljs.core.transient$(cljs.core.PersistentVector.EMPTY),coll)); +})); + +(cljs.core.mapv.cljs$core$IFn$_invoke$arity$3 = (function (f,c1,c2){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$3(f,c1,c2)); +})); + +(cljs.core.mapv.cljs$core$IFn$_invoke$arity$4 = (function (f,c1,c2,c3){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$4(f,c1,c2,c3)); +})); + +(cljs.core.mapv.cljs$core$IFn$_invoke$arity$variadic = (function (f,c1,c2,c3,colls){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(cljs.core.map,f,c1,c2,c3,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([colls], 0))); +})); + +/** @this {Function} */ +(cljs.core.mapv.cljs$lang$applyTo = (function (seq27331){ +var G__27332 = cljs.core.first(seq27331); +var seq27331__$1 = cljs.core.next(seq27331); +var G__27333 = cljs.core.first(seq27331__$1); +var seq27331__$2 = cljs.core.next(seq27331__$1); +var G__27334 = cljs.core.first(seq27331__$2); +var seq27331__$3 = cljs.core.next(seq27331__$2); +var G__27335 = cljs.core.first(seq27331__$3); +var seq27331__$4 = cljs.core.next(seq27331__$3); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27332,G__27333,G__27334,G__27335,seq27331__$4); +})); + +(cljs.core.mapv.cljs$lang$maxFixedArity = (4)); + +/** + * Returns a vector of the items in coll for which + * (pred item) returns logical true. pred must be free of side-effects. + */ +cljs.core.filterv = (function cljs$core$filterv(pred,coll){ +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (v,o){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(o) : pred.call(null, o)))){ +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(v,o); +} else { +return v; +} +}),cljs.core.transient$(cljs.core.PersistentVector.EMPTY),coll)); +}); +/** + * Returns a lazy sequence of lists of n items each, at offsets step + * apart. If step is not supplied, defaults to n, i.e. the partitions + * do not overlap. If a pad collection is supplied, use its elements as + * necessary to complete last partition up to n items. In case there are + * not enough padding elements, return a partition with less than n items. + */ +cljs.core.partition = (function cljs$core$partition(var_args){ +var G__27338 = arguments.length; +switch (G__27338) { +case 2: +return cljs.core.partition.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.partition.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.partition.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.partition.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ +return cljs.core.partition.cljs$core$IFn$_invoke$arity$3(n,n,coll); +})); + +(cljs.core.partition.cljs$core$IFn$_invoke$arity$3 = (function (n,step,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +var p = cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,s); +if((n === cljs.core.count(p))){ +return cljs.core.cons(p,cljs.core.partition.cljs$core$IFn$_invoke$arity$3(n,step,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(step,s))); +} else { +return null; +} +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.partition.cljs$core$IFn$_invoke$arity$4 = (function (n,step,pad,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +var p = cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,s); +if((n === cljs.core.count(p))){ +return cljs.core.cons(p,cljs.core.partition.cljs$core$IFn$_invoke$arity$4(n,step,pad,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(step,s))); +} else { +return (new cljs.core.List(null,cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(p,pad)),null,(1),null)); +} +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.partition.cljs$lang$maxFixedArity = 4); + +/** + * Returns the value in a nested associative structure, + * where ks is a sequence of keys. Returns nil if the key is not present, + * or the not-found value if supplied. + */ +cljs.core.get_in = (function cljs$core$get_in(var_args){ +var G__27340 = arguments.length; +switch (G__27340) { +case 2: +return cljs.core.get_in.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.get_in.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.get_in.cljs$core$IFn$_invoke$arity$2 = (function (m,ks){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.get,m,ks); +})); + +(cljs.core.get_in.cljs$core$IFn$_invoke$arity$3 = (function (m,ks,not_found){ +var sentinel = cljs.core.lookup_sentinel; +var m__$1 = m; +var ks__$1 = cljs.core.seq(ks); +while(true){ +if((!((ks__$1 == null)))){ +var m__$2 = cljs.core.get.cljs$core$IFn$_invoke$arity$3(m__$1,cljs.core.first(ks__$1),sentinel); +if((sentinel === m__$2)){ +return not_found; +} else { +var G__32037 = sentinel; +var G__32038 = m__$2; +var G__32039 = cljs.core.next(ks__$1); +sentinel = G__32037; +m__$1 = G__32038; +ks__$1 = G__32039; +continue; +} +} else { +return m__$1; +} +break; +} +})); + +(cljs.core.get_in.cljs$lang$maxFixedArity = 3); + +/** + * Associates a value in a nested associative structure, where ks is a + * sequence of keys and v is the new value and returns a new nested structure. + * If any levels do not exist, hash-maps will be created. + */ +cljs.core.assoc_in = (function cljs$core$assoc_in(m,p__27341,v){ +var vec__27342 = p__27341; +var seq__27343 = cljs.core.seq(vec__27342); +var first__27344 = cljs.core.first(seq__27343); +var seq__27343__$1 = cljs.core.next(seq__27343); +var k = first__27344; +var ks = seq__27343__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27345 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27346 = ks; +var G__27347 = v; +return (cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3 ? cljs.core.assoc_in.cljs$core$IFn$_invoke$arity$3(G__27345,G__27346,G__27347) : cljs.core.assoc_in.call(null, G__27345,G__27346,G__27347)); +})()); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,v); +} +}); +/** + * 'Updates' a value in a nested associative structure, where ks is a + * sequence of keys and f is a function that will take the old value + * and any supplied args and return the new value, and returns a new + * nested structure. If any levels do not exist, hash-maps will be + * created. + */ +cljs.core.update_in = (function cljs$core$update_in(var_args){ +var G__27356 = arguments.length; +switch (G__27356) { +case 3: +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___32053 = arguments.length; +var i__5770__auto___32055 = (0); +while(true){ +if((i__5770__auto___32055 < len__5769__auto___32053)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___32055])); + +var G__32064 = (i__5770__auto___32055 + (1)); +i__5770__auto___32055 = G__32064; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((6)),(0),null)); +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),argseq__5795__auto__); + +} +}); + +(cljs.core.update_in.cljs$core$IFn$_invoke$arity$3 = (function (m,p__27357,f){ +var vec__27358 = p__27357; +var seq__27359 = cljs.core.seq(vec__27358); +var first__27360 = cljs.core.first(seq__27359); +var seq__27359__$1 = cljs.core.next(seq__27359); +var k = first__27360; +var ks = seq__27359__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$3(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f)); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27361 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27361) : f.call(null, G__27361)); +})()); +} +})); + +(cljs.core.update_in.cljs$core$IFn$_invoke$arity$4 = (function (m,p__27362,f,a){ +var vec__27363 = p__27362; +var seq__27364 = cljs.core.seq(vec__27363); +var first__27365 = cljs.core.first(seq__27364); +var seq__27364__$1 = cljs.core.next(seq__27364); +var k = first__27365; +var ks = seq__27364__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a)); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27366 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27367 = a; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27366,G__27367) : f.call(null, G__27366,G__27367)); +})()); +} +})); + +(cljs.core.update_in.cljs$core$IFn$_invoke$arity$5 = (function (m,p__27368,f,a,b){ +var vec__27369 = p__27368; +var seq__27370 = cljs.core.seq(vec__27369); +var first__27371 = cljs.core.first(seq__27370); +var seq__27370__$1 = cljs.core.next(seq__27370); +var k = first__27371; +var ks = seq__27370__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$5(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a,b)); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27372 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27373 = a; +var G__27374 = b; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27372,G__27373,G__27374) : f.call(null, G__27372,G__27373,G__27374)); +})()); +} +})); + +(cljs.core.update_in.cljs$core$IFn$_invoke$arity$6 = (function (m,p__27375,f,a,b,c){ +var vec__27376 = p__27375; +var seq__27377 = cljs.core.seq(vec__27376); +var first__27378 = cljs.core.first(seq__27377); +var seq__27377__$1 = cljs.core.next(seq__27377); +var k = first__27378; +var ks = seq__27377__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.update_in.cljs$core$IFn$_invoke$arity$6(cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a,b,c)); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27379 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27380 = a; +var G__27381 = b; +var G__27382 = c; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__27379,G__27380,G__27381,G__27382) : f.call(null, G__27379,G__27380,G__27381,G__27382)); +})()); +} +})); + +(cljs.core.update_in.cljs$core$IFn$_invoke$arity$variadic = (function (m,p__27383,f,a,b,c,args){ +var vec__27384 = p__27383; +var seq__27385 = cljs.core.seq(vec__27384); +var first__27386 = cljs.core.first(seq__27385); +var seq__27385__$1 = cljs.core.next(seq__27385); +var k = first__27386; +var ks = seq__27385__$1; +if(ks){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(cljs.core.update_in,cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),ks,f,a,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([b,c,args], 0))); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),a,b,c,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([args], 0))); +} +})); + +/** @this {Function} */ +(cljs.core.update_in.cljs$lang$applyTo = (function (seq27349){ +var G__27350 = cljs.core.first(seq27349); +var seq27349__$1 = cljs.core.next(seq27349); +var G__27351 = cljs.core.first(seq27349__$1); +var seq27349__$2 = cljs.core.next(seq27349__$1); +var G__27352 = cljs.core.first(seq27349__$2); +var seq27349__$3 = cljs.core.next(seq27349__$2); +var G__27353 = cljs.core.first(seq27349__$3); +var seq27349__$4 = cljs.core.next(seq27349__$3); +var G__27354 = cljs.core.first(seq27349__$4); +var seq27349__$5 = cljs.core.next(seq27349__$4); +var G__27355 = cljs.core.first(seq27349__$5); +var seq27349__$6 = cljs.core.next(seq27349__$5); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27350,G__27351,G__27352,G__27353,G__27354,G__27355,seq27349__$6); +})); + +(cljs.core.update_in.cljs$lang$maxFixedArity = (6)); + +/** + * 'Updates' a value in an associative structure, where k is a + * key and f is a function that will take the old value + * and any supplied args and return the new value, and returns a new + * structure. If the key does not exist, nil is passed as the old value. + */ +cljs.core.update = (function cljs$core$update(var_args){ +var G__27395 = arguments.length; +switch (G__27395) { +case 3: +return cljs.core.update.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.update.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.update.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return cljs.core.update.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___32085 = arguments.length; +var i__5770__auto___32086 = (0); +while(true){ +if((i__5770__auto___32086 < len__5769__auto___32085)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___32086])); + +var G__32087 = (i__5770__auto___32086 + (1)); +i__5770__auto___32086 = G__32087; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((6)),(0),null)); +return cljs.core.update.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),argseq__5795__auto__); + +} +}); + +(cljs.core.update.cljs$core$IFn$_invoke$arity$3 = (function (m,k,f){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27396 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__27396) : f.call(null, G__27396)); +})()); +})); + +(cljs.core.update.cljs$core$IFn$_invoke$arity$4 = (function (m,k,f,x){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27397 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27398 = x; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27397,G__27398) : f.call(null, G__27397,G__27398)); +})()); +})); + +(cljs.core.update.cljs$core$IFn$_invoke$arity$5 = (function (m,k,f,x,y){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27399 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27400 = x; +var G__27401 = y; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27399,G__27400,G__27401) : f.call(null, G__27399,G__27400,G__27401)); +})()); +})); + +(cljs.core.update.cljs$core$IFn$_invoke$arity$6 = (function (m,k,f,x,y,z){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27402 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27403 = x; +var G__27404 = y; +var G__27405 = z; +return (f.cljs$core$IFn$_invoke$arity$4 ? f.cljs$core$IFn$_invoke$arity$4(G__27402,G__27403,G__27404,G__27405) : f.call(null, G__27402,G__27403,G__27404,G__27405)); +})()); +})); + +(cljs.core.update.cljs$core$IFn$_invoke$arity$variadic = (function (m,k,f,x,y,z,more){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(f,cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k),x,y,z,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([more], 0))); +})); + +/** @this {Function} */ +(cljs.core.update.cljs$lang$applyTo = (function (seq27388){ +var G__27389 = cljs.core.first(seq27388); +var seq27388__$1 = cljs.core.next(seq27388); +var G__27390 = cljs.core.first(seq27388__$1); +var seq27388__$2 = cljs.core.next(seq27388__$1); +var G__27391 = cljs.core.first(seq27388__$2); +var seq27388__$3 = cljs.core.next(seq27388__$2); +var G__27392 = cljs.core.first(seq27388__$3); +var seq27388__$4 = cljs.core.next(seq27388__$3); +var G__27393 = cljs.core.first(seq27388__$4); +var seq27388__$5 = cljs.core.next(seq27388__$4); +var G__27394 = cljs.core.first(seq27388__$5); +var seq27388__$6 = cljs.core.next(seq27388__$5); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27389,G__27390,G__27391,G__27392,G__27393,G__27394,seq27388__$6); +})); + +(cljs.core.update.cljs$lang$maxFixedArity = (6)); + + +/** +* @constructor +*/ +cljs.core.VectorNode = (function (edit,arr){ +this.edit = edit; +this.arr = arr; +}); + +(cljs.core.VectorNode.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),new cljs.core.Symbol(null,"arr","arr",2115492975,null)], null); +})); + +(cljs.core.VectorNode.cljs$lang$type = true); + +(cljs.core.VectorNode.cljs$lang$ctorStr = "cljs.core/VectorNode"); + +(cljs.core.VectorNode.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/VectorNode"); +})); + +/** + * Positional factory function for cljs.core/VectorNode. + */ +cljs.core.__GT_VectorNode = (function cljs$core$__GT_VectorNode(edit,arr){ +return (new cljs.core.VectorNode(edit,arr)); +}); + +cljs.core.pv_fresh_node = (function cljs$core$pv_fresh_node(edit){ +return (new cljs.core.VectorNode(edit,[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null])); +}); +cljs.core.pv_aget = (function cljs$core$pv_aget(node,idx){ +return (node.arr[idx]); +}); +cljs.core.pv_aset = (function cljs$core$pv_aset(node,idx,val){ +return (node.arr[idx] = val); +}); +cljs.core.pv_clone_node = (function cljs$core$pv_clone_node(node){ +return (new cljs.core.VectorNode(node.edit,cljs.core.aclone(node.arr))); +}); +cljs.core.tail_off = (function cljs$core$tail_off(pv){ +var cnt = pv.cnt; +if((cnt < (32))){ +return (0); +} else { +return (((cnt - (1)) >>> (5)) << (5)); +} +}); +cljs.core.new_path = (function cljs$core$new_path(edit,level,node){ +var ll = level; +var ret = node; +while(true){ +if((ll === (0))){ +return ret; +} else { +var embed = ret; +var r = cljs.core.pv_fresh_node(edit); +var _ = cljs.core.pv_aset(r,(0),embed); +var G__32142 = (ll - (5)); +var G__32143 = r; +ll = G__32142; +ret = G__32143; +continue; +} +break; +} +}); +cljs.core.push_tail = (function cljs$core$push_tail(pv,level,parent,tailnode){ +var ret = cljs.core.pv_clone_node(parent); +var subidx = (((pv.cnt - (1)) >>> level) & (31)); +if(((5) === level)){ +cljs.core.pv_aset(ret,subidx,tailnode); + +return ret; +} else { +var child = cljs.core.pv_aget(parent,subidx); +if((!((child == null)))){ +var node_to_insert = (function (){var G__27406 = pv; +var G__27407 = (level - (5)); +var G__27408 = child; +var G__27409 = tailnode; +return (cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4 ? cljs.core.push_tail.cljs$core$IFn$_invoke$arity$4(G__27406,G__27407,G__27408,G__27409) : cljs.core.push_tail.call(null, G__27406,G__27407,G__27408,G__27409)); +})(); +cljs.core.pv_aset(ret,subidx,node_to_insert); + +return ret; +} else { +var node_to_insert = cljs.core.new_path(null,(level - (5)),tailnode); +cljs.core.pv_aset(ret,subidx,node_to_insert); + +return ret; +} +} +}); +cljs.core.vector_index_out_of_bounds = (function cljs$core$vector_index_out_of_bounds(i,cnt){ +throw (new Error(["No item ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(i)," in vector of length ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cnt)].join(''))); +}); +cljs.core.first_array_for_longvec = (function cljs$core$first_array_for_longvec(pv){ +var node = pv.root; +var level = pv.shift; +while(true){ +if((level > (0))){ +var G__32151 = cljs.core.pv_aget(node,(0)); +var G__32152 = (level - (5)); +node = G__32151; +level = G__32152; +continue; +} else { +return node.arr; +} +break; +} +}); +cljs.core.unchecked_array_for = (function cljs$core$unchecked_array_for(pv,i){ +if((i >= cljs.core.tail_off(pv))){ +return pv.tail; +} else { +var node = pv.root; +var level = pv.shift; +while(true){ +if((level > (0))){ +var G__32155 = cljs.core.pv_aget(node,((i >>> level) & (31))); +var G__32156 = (level - (5)); +node = G__32155; +level = G__32156; +continue; +} else { +return node.arr; +} +break; +} +} +}); +cljs.core.array_for = (function cljs$core$array_for(pv,i){ +if(((((0) <= i)) && ((i < pv.cnt)))){ +return cljs.core.unchecked_array_for(pv,i); +} else { +return cljs.core.vector_index_out_of_bounds(i,pv.cnt); +} +}); +cljs.core.do_assoc = (function cljs$core$do_assoc(pv,level,node,i,val){ +var ret = cljs.core.pv_clone_node(node); +if((level === (0))){ +cljs.core.pv_aset(ret,(i & (31)),val); + +return ret; +} else { +var subidx = ((i >>> level) & (31)); +cljs.core.pv_aset(ret,subidx,(function (){var G__27410 = pv; +var G__27411 = (level - (5)); +var G__27412 = cljs.core.pv_aget(node,subidx); +var G__27413 = i; +var G__27414 = val; +return (cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5 ? cljs.core.do_assoc.cljs$core$IFn$_invoke$arity$5(G__27410,G__27411,G__27412,G__27413,G__27414) : cljs.core.do_assoc.call(null, G__27410,G__27411,G__27412,G__27413,G__27414)); +})()); + +return ret; +} +}); +cljs.core.pop_tail = (function cljs$core$pop_tail(pv,level,node){ +var subidx = (((pv.cnt - (2)) >>> level) & (31)); +if((level > (5))){ +var new_child = (function (){var G__27415 = pv; +var G__27416 = (level - (5)); +var G__27417 = cljs.core.pv_aget(node,subidx); +return (cljs.core.pop_tail.cljs$core$IFn$_invoke$arity$3 ? cljs.core.pop_tail.cljs$core$IFn$_invoke$arity$3(G__27415,G__27416,G__27417) : cljs.core.pop_tail.call(null, G__27415,G__27416,G__27417)); +})(); +if((((new_child == null)) && ((subidx === (0))))){ +return null; +} else { +var ret = cljs.core.pv_clone_node(node); +cljs.core.pv_aset(ret,subidx,new_child); + +return ret; +} +} else { +if((subidx === (0))){ +return null; +} else { +var ret = cljs.core.pv_clone_node(node); +cljs.core.pv_aset(ret,subidx,null); + +return ret; + +} +} +}); + +/** +* @constructor +*/ +cljs.core.RangedIterator = (function (i,base,arr,v,start,end){ +this.i = i; +this.base = base; +this.arr = arr; +this.v = v; +this.start = start; +this.end = end; +}); +(cljs.core.RangedIterator.prototype.hasNext = (function (){ +var self__ = this; +var this$ = this; +return (self__.i < self__.end); +})); + +(cljs.core.RangedIterator.prototype.next = (function (){ +var self__ = this; +var this$ = this; +if(((self__.i - self__.base) === (32))){ +(self__.arr = cljs.core.unchecked_array_for(self__.v,self__.i)); + +(self__.base = (self__.base + (32))); +} else { +} + +var ret = (self__.arr[(self__.i & (31))]); +(self__.i = (self__.i + (1))); + +return ret; +})); + +(cljs.core.RangedIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"base","base",1825810849,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"v","v",1661996586,null),new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"end","end",1372345569,null)], null); +})); + +(cljs.core.RangedIterator.cljs$lang$type = true); + +(cljs.core.RangedIterator.cljs$lang$ctorStr = "cljs.core/RangedIterator"); + +(cljs.core.RangedIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/RangedIterator"); +})); + +/** + * Positional factory function for cljs.core/RangedIterator. + */ +cljs.core.__GT_RangedIterator = (function cljs$core$__GT_RangedIterator(i,base,arr,v,start,end){ +return (new cljs.core.RangedIterator(i,base,arr,v,start,end)); +}); + +cljs.core.ranged_iterator = (function cljs$core$ranged_iterator(v,start,end){ +var i = start; +return (new cljs.core.RangedIterator(i,(i - (i % (32))),(((start < cljs.core.count(v)))?cljs.core.unchecked_array_for(v,i):null),v,start,end)); +}); +cljs.core.pv_reduce = (function cljs$core$pv_reduce(var_args){ +var G__27419 = arguments.length; +switch (G__27419) { +case 4: +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4 = (function (pv,f,start,end){ +if((start < end)){ +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5(pv,f,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(pv,start),(start + (1)),end); +} else { +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +} +})); + +(cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5 = (function (pv,f,init,start,end){ +var acc = init; +var i = start; +var arr = cljs.core.unchecked_array_for(pv,start); +while(true){ +if((i < end)){ +var j = (i & (31)); +var arr__$1 = (((j === (0)))?cljs.core.unchecked_array_for(pv,i):arr); +var nacc = (function (){var G__27420 = acc; +var G__27421 = (arr__$1[j]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27420,G__27421) : f.call(null, G__27420,G__27421)); +})(); +if(cljs.core.reduced_QMARK_(nacc)){ +return cljs.core.deref(nacc); +} else { +var G__32171 = nacc; +var G__32172 = (i + (1)); +var G__32173 = arr__$1; +acc = G__32171; +i = G__32172; +arr = G__32173; +continue; +} +} else { +return acc; +} +break; +} +})); + +(cljs.core.pv_reduce.cljs$lang$maxFixedArity = 5); + + + + + + + + +/** + * Marker protocol + * @interface + */ +cljs.core.APersistentVector = function(){}; + + +/** +* @constructor + * @implements {cljs.core.APersistentVector} + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs.core.PersistentVector = (function (meta,cnt,shift,root,tail,__hash){ +this.meta = meta; +this.cnt = cnt; +this.shift = shift; +this.root = root; +this.tail = tail; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 167666463; +this.cljs$lang$protocol_mask$partition1$ = 139268; +}); +(cljs.core.PersistentVector.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentVector.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.cnt)))){ +return (new cljs.core.MapEntry(n,(cljs.core.unchecked_array_for(coll__$1,n)[(n & (31))]),null)); +} else { +return null; +} +})); + +(cljs.core.PersistentVector.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentVector.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentVector.prototype.indexOf = (function() { +var G__32178 = null; +var G__32178__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__32178__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32178 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32178__1.call(this,x); +case 2: +return G__32178__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32178.cljs$core$IFn$_invoke$arity$1 = G__32178__1; +G__32178.cljs$core$IFn$_invoke$arity$2 = G__32178__2; +return G__32178; +})() +); + +(cljs.core.PersistentVector.prototype.lastIndexOf = (function() { +var G__32180 = null; +var G__32180__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__32180__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32180 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32180__1.call(this,x); +case 2: +return G__32180__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32180.cljs$core$IFn$_invoke$arity$1 = G__32180__1; +G__32180.cljs$core$IFn$_invoke$arity$2 = G__32180__2; +return G__32180; +})() +); + +(cljs.core.PersistentVector.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +if(typeof k === 'number'){ +return coll__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +} else { +return not_found; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (v,f,init){ +var self__ = this; +var v__$1 = this; +var i = (0); +var init__$1 = init; +while(true){ +if((i < self__.cnt)){ +var arr = cljs.core.unchecked_array_for(v__$1,i); +var len = arr.length; +var init__$2 = (function (){var j = (0); +var init__$2 = init__$1; +while(true){ +if((j < len)){ +var init__$3 = (function (){var G__27423 = init__$2; +var G__27424 = (j + i); +var G__27425 = (arr[j]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27423,G__27424,G__27425) : f.call(null, G__27423,G__27424,G__27425)); +})(); +if(cljs.core.reduced_QMARK_(init__$3)){ +return init__$3; +} else { +var G__32188 = (j + (1)); +var G__32189 = init__$3; +j = G__32188; +init__$2 = G__32189; +continue; +} +} else { +return init__$2; +} +break; +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__32190 = (i + len); +var G__32191 = init__$2; +i = G__32190; +init__$1 = G__32191; +continue; +} +} else { +return init__$1; +} +break; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$APersistentVector$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentVector.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.array_for(coll__$1,n)[(n & (31))]); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.cnt)))){ +return (cljs.core.unchecked_array_for(coll__$1,n)[(n & (31))]); +} else { +return not_found; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (coll,n,val){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.cnt)))){ +if((cljs.core.tail_off(coll__$1) <= n)){ +var new_tail = cljs.core.aclone(self__.tail); +(new_tail[(n & (31))] = val); + +return (new cljs.core.PersistentVector(self__.meta,self__.cnt,self__.shift,self__.root,new_tail,null)); +} else { +return (new cljs.core.PersistentVector(self__.meta,self__.cnt,self__.shift,cljs.core.do_assoc(coll__$1,self__.shift,self__.root,n,val),self__.tail,null)); +} +} else { +if((n === self__.cnt)){ +return coll__$1.cljs$core$ICollection$_conj$arity$2(null, val); +} else { +throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds [0,",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.cnt),"]"].join(''))); + +} +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return cljs.core.ranged_iterator(this$__$1,(0),self__.cnt); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentVector.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.PersistentVector(self__.meta,self__.cnt,self__.shift,self__.root,self__.tail,self__.__hash)); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.cnt; +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt > (0))){ +return coll__$1.cljs$core$IIndexed$_nth$arity$2(null, (self__.cnt - (1))); +} else { +return null; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt === (0))){ +throw (new Error("Can't pop empty vector")); +} else { +if(((1) === self__.cnt)){ +return cljs.core._with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); +} else { +if(((1) < (self__.cnt - cljs.core.tail_off(coll__$1)))){ +return (new cljs.core.PersistentVector(self__.meta,(self__.cnt - (1)),self__.shift,self__.root,self__.tail.slice((0),(-1)),null)); +} else { +var new_tail = cljs.core.unchecked_array_for(coll__$1,(self__.cnt - (2))); +var nr = cljs.core.pop_tail(coll__$1,self__.shift,self__.root); +var new_root = (((nr == null))?cljs.core.PersistentVector.EMPTY_NODE:nr); +var cnt_1 = (self__.cnt - (1)); +if(((((5) < self__.shift)) && ((cljs.core.pv_aget(new_root,(1)) == null)))){ +return (new cljs.core.PersistentVector(self__.meta,cnt_1,(self__.shift - (5)),cljs.core.pv_aget(new_root,(0)),new_tail,null)); +} else { +return (new cljs.core.PersistentVector(self__.meta,cnt_1,self__.shift,new_root,new_tail,null)); +} + +} +} +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt > (0))){ +return (new cljs.core.RSeq(coll__$1,(self__.cnt - (1)),null)); +} else { +return null; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +if((other instanceof cljs.core.PersistentVector)){ +if((self__.cnt === cljs.core.count(other))){ +var me_iter = coll__$1.cljs$core$IIterable$_iterator$arity$1(null, ); +var you_iter = other.cljs$core$IIterable$_iterator$arity$1(null, ); +while(true){ +if(me_iter.hasNext()){ +var x = me_iter.next(); +var y = you_iter.next(); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)){ +continue; +} else { +return false; +} +} else { +return true; +} +break; +} +} else { +return false; +} +} else { +return cljs.core.equiv_sequential(coll__$1,other); +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.TransientVector(self__.cnt,self__.shift,(cljs.core.tv_editable_root.cljs$core$IFn$_invoke$arity$1 ? cljs.core.tv_editable_root.cljs$core$IFn$_invoke$arity$1(self__.root) : cljs.core.tv_editable_root.call(null, self__.root)),(cljs.core.tv_editable_tail.cljs$core$IFn$_invoke$arity$1 ? cljs.core.tv_editable_tail.cljs$core$IFn$_invoke$arity$1(self__.tail) : cljs.core.tv_editable_tail.call(null, self__.tail)))); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (v,f){ +var self__ = this; +var v__$1 = this; +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4(v__$1,f,(0),self__.cnt); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (v,f,init){ +var self__ = this; +var v__$1 = this; +var i = (0); +var init__$1 = init; +while(true){ +if((i < self__.cnt)){ +var arr = cljs.core.unchecked_array_for(v__$1,i); +var len = arr.length; +var init__$2 = (function (){var j = (0); +var init__$2 = init__$1; +while(true){ +if((j < len)){ +var init__$3 = (function (){var G__27426 = init__$2; +var G__27427 = (arr[j]); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27426,G__27427) : f.call(null, G__27426,G__27427)); +})(); +if(cljs.core.reduced_QMARK_(init__$3)){ +return init__$3; +} else { +var G__32201 = (j + (1)); +var G__32202 = init__$3; +j = G__32201; +init__$2 = G__32202; +continue; +} +} else { +return init__$2; +} +break; +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__32204 = (i + len); +var G__32205 = init__$2; +i = G__32204; +init__$1 = G__32205; +continue; +} +} else { +return init__$1; +} +break; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ +var self__ = this; +var coll__$1 = this; +if(typeof k === 'number'){ +return coll__$1.cljs$core$IVector$_assoc_n$arity$3(null, k,v); +} else { +throw (new Error("Vector's key for assoc must be a number.")); +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.integer_QMARK_(k)){ +return ((((0) <= k)) && ((k < self__.cnt))); +} else { +return false; +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt === (0))){ +return null; +} else { +if((self__.cnt <= (32))){ +return (new cljs.core.IndexedSeq(self__.tail,(0),null)); +} else { +var G__27428 = coll__$1; +var G__27429 = cljs.core.first_array_for_longvec(coll__$1); +var G__27430 = (0); +var G__27431 = (0); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__27428,G__27429,G__27430,G__27431) : cljs.core.chunked_seq.call(null, G__27428,G__27429,G__27430,G__27431)); + +} +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentVector(new_meta,self__.cnt,self__.shift,self__.root,self__.tail,self__.__hash)); +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +if(((self__.cnt - cljs.core.tail_off(coll__$1)) < (32))){ +var len = self__.tail.length; +var new_tail = (new Array((len + (1)))); +var n__5636__auto___32207 = len; +var i_32208 = (0); +while(true){ +if((i_32208 < n__5636__auto___32207)){ +(new_tail[i_32208] = (self__.tail[i_32208])); + +var G__32209 = (i_32208 + (1)); +i_32208 = G__32209; +continue; +} else { +} +break; +} + +(new_tail[len] = o); + +return (new cljs.core.PersistentVector(self__.meta,(self__.cnt + (1)),self__.shift,self__.root,new_tail,null)); +} else { +var root_overflow_QMARK_ = ((self__.cnt >>> (5)) > ((1) << self__.shift)); +var new_shift = ((root_overflow_QMARK_)?(self__.shift + (5)):self__.shift); +var new_root = ((root_overflow_QMARK_)?(function (){var n_r = cljs.core.pv_fresh_node(null); +cljs.core.pv_aset(n_r,(0),self__.root); + +cljs.core.pv_aset(n_r,(1),cljs.core.new_path(null,self__.shift,(new cljs.core.VectorNode(null,self__.tail)))); + +return n_r; +})():cljs.core.push_tail(coll__$1,self__.shift,self__.root,(new cljs.core.VectorNode(null,self__.tail)))); +return (new cljs.core.PersistentVector(self__.meta,(self__.cnt + (1)),new_shift,new_root,[o],null)); +} +})); + +(cljs.core.PersistentVector.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27432 = (arguments.length - (1)); +switch (G__27432) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.PersistentVector.prototype.apply = (function (self__,args27422){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27422))); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +if(typeof k === 'number'){ +return coll.cljs$core$IIndexed$_nth$arity$2(null, k); +} else { +throw (new Error("Key must be integer")); +} +})); + +(cljs.core.PersistentVector.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"shift","shift",-1657295705,null),new cljs.core.Symbol(null,"root","root",1191874074,null),new cljs.core.Symbol(null,"tail","tail",494507963,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentVector.cljs$lang$type = true); + +(cljs.core.PersistentVector.cljs$lang$ctorStr = "cljs.core/PersistentVector"); + +(cljs.core.PersistentVector.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentVector"); +})); + +/** + * Positional factory function for cljs.core/PersistentVector. + */ +cljs.core.__GT_PersistentVector = (function cljs$core$__GT_PersistentVector(meta,cnt,shift,root,tail,__hash){ +return (new cljs.core.PersistentVector(meta,cnt,shift,root,tail,__hash)); +}); + +(cljs.core.PersistentVector.EMPTY_NODE = (new cljs.core.VectorNode(null,[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]))); +(cljs.core.PersistentVector.EMPTY = (new cljs.core.PersistentVector(null,(0),(5),cljs.core.PersistentVector.EMPTY_NODE,[],cljs.core.empty_ordered_hash))); +(cljs.core.PersistentVector.fromArray = (function (xs,no_clone){ +var l = xs.length; +var xs__$1 = ((no_clone)?xs:cljs.core.aclone(xs)); +if((l < (32))){ +return (new cljs.core.PersistentVector(null,l,(5),cljs.core.PersistentVector.EMPTY_NODE,xs__$1,null)); +} else { +var node = xs__$1.slice((0),(32)); +var v = (new cljs.core.PersistentVector(null,(32),(5),cljs.core.PersistentVector.EMPTY_NODE,node,null)); +var i = (32); +var out = v.cljs$core$IEditableCollection$_as_transient$arity$1(null, ); +while(true){ +if((i < l)){ +var G__32214 = (i + (1)); +var G__32215 = cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(out,(xs__$1[i])); +i = G__32214; +out = G__32215; +continue; +} else { +return cljs.core.persistent_BANG_(out); +} +break; +} +} +})); +(cljs.core.PersistentVector.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Creates a new vector containing the contents of coll. JavaScript arrays + * will be aliased and should not be modified. + */ +cljs.core.vec = (function cljs$core$vec(coll){ +if(cljs.core.truth_((cljs.core.map_entry_QMARK_.cljs$core$IFn$_invoke$arity$1 ? cljs.core.map_entry_QMARK_.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.map_entry_QMARK_.call(null, coll)))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.key.call(null, coll)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.val.call(null, coll))], null); +} else { +if(cljs.core.vector_QMARK_(coll)){ +return cljs.core.with_meta(coll,null); +} else { +if(cljs.core.array_QMARK_(coll)){ +return cljs.core.PersistentVector.fromArray(coll,true); +} else { +return cljs.core._persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj_BANG_,cljs.core._as_transient(cljs.core.PersistentVector.EMPTY),coll)); + +} +} +} +}); +/** + * Creates a new vector containing the args. + */ +cljs.core.vector = (function cljs$core$vector(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32216 = arguments.length; +var i__5770__auto___32217 = (0); +while(true){ +if((i__5770__auto___32217 < len__5769__auto___32216)){ +args__5775__auto__.push((arguments[i__5770__auto___32217])); + +var G__32218 = (i__5770__auto___32217 + (1)); +i__5770__auto___32217 = G__32218; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.vector.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.vector.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +if((((args instanceof cljs.core.IndexedSeq)) && ((args.i === (0))))){ +return cljs.core.PersistentVector.fromArray(args.arr,(!(cljs.core.array_QMARK_(args.arr)))); +} else { +return cljs.core.vec(args); +} +})); + +(cljs.core.vector.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.vector.cljs$lang$applyTo = (function (seq27433){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27433)); +})); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ASeq} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IChunkedNext} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IChunkedSeq} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.ChunkedSeq = (function (vec,node,i,off,meta,__hash){ +this.vec = vec; +this.node = node; +this.i = i; +this.off = off; +this.meta = meta; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32375020; +this.cljs$lang$protocol_mask$partition1$ = 1536; +}); +(cljs.core.ChunkedSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.ChunkedSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.ChunkedSeq.prototype.indexOf = (function() { +var G__32219 = null; +var G__32219__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__32219__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32219 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32219__1.call(this,x); +case 2: +return G__32219__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32219.cljs$core$IFn$_invoke$arity$1 = G__32219__1; +G__32219.cljs$core$IFn$_invoke$arity$2 = G__32219__2; +return G__32219; +})() +); + +(cljs.core.ChunkedSeq.prototype.lastIndexOf = (function() { +var G__32220 = null; +var G__32220__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__32220__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32220 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32220__1.call(this,x); +case 2: +return G__32220__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32220.cljs$core$IFn$_invoke$arity$1 = G__32220__1; +G__32220.cljs$core$IFn$_invoke$arity$2 = G__32220__2; +return G__32220; +})() +); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if(((self__.off + (1)) < self__.node.length)){ +var s = (function (){var G__27434 = self__.vec; +var G__27435 = self__.node; +var G__27436 = self__.i; +var G__27437 = (self__.off + (1)); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__27434,G__27435,G__27436,G__27437) : cljs.core.chunked_seq.call(null, G__27434,G__27435,G__27436,G__27437)); +})(); +if((s == null)){ +return null; +} else { +return s; +} +} else { +return coll__$1.cljs$core$IChunkedNext$_chunked_next$arity$1(null, ); +} +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4(self__.vec,f,(self__.i + self__.off),cljs.core.count(self__.vec)); +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5(self__.vec,f,start,(self__.i + self__.off),cljs.core.count(self__.vec)); +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (self__.node[self__.off]); +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if(((self__.off + (1)) < self__.node.length)){ +var s = (function (){var G__27438 = self__.vec; +var G__27439 = self__.node; +var G__27440 = self__.i; +var G__27441 = (self__.off + (1)); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__27438,G__27439,G__27440,G__27441) : cljs.core.chunked_seq.call(null, G__27438,G__27439,G__27440,G__27441)); +})(); +if((s == null)){ +return cljs.core.List.EMPTY; +} else { +return s; +} +} else { +return coll__$1.cljs$core$IChunkedSeq$_chunked_rest$arity$1(null, ); +} +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedSeq$_chunked_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$2(self__.node,self__.off); +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedSeq$_chunked_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var end = (self__.i + self__.node.length); +if((end < cljs.core._count(self__.vec))){ +var G__27442 = self__.vec; +var G__27443 = cljs.core.unchecked_array_for(self__.vec,end); +var G__27444 = end; +var G__27445 = (0); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__27442,G__27443,G__27444,G__27445) : cljs.core.chunked_seq.call(null, G__27442,G__27443,G__27444,G__27445)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5(self__.vec,self__.node,self__.i,self__.off,new_meta) : cljs.core.chunked_seq.call(null, self__.vec,self__.node,self__.i,self__.off,new_meta)); +} +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IChunkedNext$_chunked_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var end = (self__.i + self__.node.length); +if((end < cljs.core._count(self__.vec))){ +var G__27446 = self__.vec; +var G__27447 = cljs.core.unchecked_array_for(self__.vec,end); +var G__27448 = end; +var G__27449 = (0); +return (cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 ? cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4(G__27446,G__27447,G__27448,G__27449) : cljs.core.chunked_seq.call(null, G__27446,G__27447,G__27448,G__27449)); +} else { +return null; +} +})); + +(cljs.core.ChunkedSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"vec","vec",982683596,null),new cljs.core.Symbol(null,"node","node",-2073234571,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"off","off",-2047994980,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ChunkedSeq.cljs$lang$type = true); + +(cljs.core.ChunkedSeq.cljs$lang$ctorStr = "cljs.core/ChunkedSeq"); + +(cljs.core.ChunkedSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ChunkedSeq"); +})); + +/** + * Positional factory function for cljs.core/ChunkedSeq. + */ +cljs.core.__GT_ChunkedSeq = (function cljs$core$__GT_ChunkedSeq(vec,node,i,off,meta,__hash){ +return (new cljs.core.ChunkedSeq(vec,node,i,off,meta,__hash)); +}); + +(cljs.core.ChunkedSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.chunked_seq = (function cljs$core$chunked_seq(var_args){ +var G__27451 = arguments.length; +switch (G__27451) { +case 3: +return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$3 = (function (vec,i,off){ +return (new cljs.core.ChunkedSeq(vec,cljs.core.array_for(vec,i),i,off,null,null)); +})); + +(cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$4 = (function (vec,node,i,off){ +return (new cljs.core.ChunkedSeq(vec,node,i,off,null,null)); +})); + +(cljs.core.chunked_seq.cljs$core$IFn$_invoke$arity$5 = (function (vec,node,i,off,meta){ +return (new cljs.core.ChunkedSeq(vec,node,i,off,meta,null)); +})); + +(cljs.core.chunked_seq.cljs$lang$maxFixedArity = 5); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs.core.Subvec = (function (meta,v,start,end,__hash){ +this.meta = meta; +this.v = v; +this.start = start; +this.end = end; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 167666463; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.core.Subvec.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Subvec.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +if((n < (0))){ +return null; +} else { +var idx = (self__.start + n); +if((idx < self__.end)){ +return (new cljs.core.MapEntry(n,cljs.core._lookup(self__.v,idx),null)); +} else { +return null; +} +} +})); + +(cljs.core.Subvec.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.Subvec.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.Subvec.prototype.indexOf = (function() { +var G__32278 = null; +var G__32278__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__32278__2 = (function (x,start__$1){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); +}); +G__32278 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__32278__1.call(this,x); +case 2: +return G__32278__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32278.cljs$core$IFn$_invoke$arity$1 = G__32278__1; +G__32278.cljs$core$IFn$_invoke$arity$2 = G__32278__2; +return G__32278; +})() +); + +(cljs.core.Subvec.prototype.lastIndexOf = (function() { +var G__32282 = null; +var G__32282__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__32282__2 = (function (x,start__$1){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); +}); +G__32282 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__32282__1.call(this,x); +case 2: +return G__32282__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32282.cljs$core$IFn$_invoke$arity$1 = G__32282__1; +G__32282.cljs$core$IFn$_invoke$arity$2 = G__32282__2; +return G__32282; +})() +); + +(cljs.core.Subvec.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.Subvec.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +if(typeof k === 'number'){ +return coll__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +} else { +return not_found; +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ +var self__ = this; +var coll__$1 = this; +var i = self__.start; +var j = (0); +var init__$1 = init; +while(true){ +if((i < self__.end)){ +var init__$2 = (function (){var G__27453 = init__$1; +var G__27454 = j; +var G__27455 = cljs.core._nth(self__.v,i); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27453,G__27454,G__27455) : f.call(null, G__27453,G__27454,G__27455)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__32290 = (i + (1)); +var G__32291 = (j + (1)); +var G__32292 = init__$2; +i = G__32290; +j = G__32291; +init__$1 = G__32292; +continue; +} +} else { +return init__$1; +} +break; +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +if((((n < (0))) || ((self__.end <= (self__.start + n))))){ +return cljs.core.vector_index_out_of_bounds(n,(self__.end - self__.start)); +} else { +return cljs.core._nth(self__.v,(self__.start + n)); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ +var self__ = this; +var coll__$1 = this; +if((((n < (0))) || ((self__.end <= (self__.start + n))))){ +return not_found; +} else { +return cljs.core._nth(self__.v,(self__.start + n),not_found); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (coll,n,val){ +var self__ = this; +var coll__$1 = this; +var v_pos = (self__.start + n); +if((((n < (0))) || (((self__.end + (1)) <= v_pos)))){ +throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds [0,",cljs.core.str.cljs$core$IFn$_invoke$arity$1(coll__$1.cljs$core$ICounted$_count$arity$1(null, )),"]"].join(''))); +} else { +var G__27456 = self__.meta; +var G__27457 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.v,v_pos,val); +var G__27458 = self__.start; +var G__27459 = (function (){var x__5130__auto__ = self__.end; +var y__5131__auto__ = (v_pos + (1)); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})(); +var G__27460 = null; +return (cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(G__27456,G__27457,G__27458,G__27459,G__27460) : cljs.core.build_subvec.call(null, G__27456,G__27457,G__27458,G__27459,G__27460)); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((((!((self__.v == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === self__.v.cljs$core$APersistentVector$))))?true:false):false)){ +return cljs.core.ranged_iterator(self__.v,self__.start,self__.end); +} else { +return cljs.core.seq_iter(coll__$1); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.Subvec.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.Subvec(self__.meta,self__.v,self__.start,self__.end,self__.__hash)); +})); + +(cljs.core.Subvec.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (self__.end - self__.start); +})); + +(cljs.core.Subvec.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.start === self__.end)){ +return null; +} else { +return cljs.core._nth(self__.v,(self__.end - (1))); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.start === self__.end)){ +throw (new Error("Can't pop empty vector")); +} else { +var G__27462 = self__.meta; +var G__27463 = self__.v; +var G__27464 = self__.start; +var G__27465 = (self__.end - (1)); +var G__27466 = null; +return (cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(G__27462,G__27463,G__27464,G__27465,G__27466) : cljs.core.build_subvec.call(null, G__27462,G__27463,G__27464,G__27465,G__27466)); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((!((self__.start === self__.end)))){ +return (new cljs.core.RSeq(coll__$1,((self__.end - self__.start) - (1)),null)); +} else { +return null; +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.Subvec.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.PersistentVector.EMPTY,self__.meta); +})); + +(cljs.core.Subvec.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +if((((!((self__.v == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === self__.v.cljs$core$APersistentVector$))))?true:false):false)){ +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$4(self__.v,f,self__.start,self__.end); +} else { +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,init){ +var self__ = this; +var coll__$1 = this; +if((((!((self__.v == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === self__.v.cljs$core$APersistentVector$))))?true:false):false)){ +return cljs.core.pv_reduce.cljs$core$IFn$_invoke$arity$5(self__.v,f,init,self__.start,self__.end); +} else { +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,init); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,key,val){ +var self__ = this; +var coll__$1 = this; +if(typeof key === 'number'){ +return coll__$1.cljs$core$IVector$_assoc_n$arity$3(null, key,val); +} else { +throw (new Error("Subvec's key for assoc must be a number.")); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,key){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.integer_QMARK_(key)){ +return ((((0) <= key)) && ((key < (self__.end - self__.start)))); +} else { +return false; +} +})); + +(cljs.core.Subvec.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var subvec_seq = (function cljs$core$subvec_seq(i){ +if((i === self__.end)){ +return null; +} else { +return cljs.core.cons(cljs.core._nth(self__.v,i),(new cljs.core.LazySeq(null,(function (){ +return cljs$core$subvec_seq((i + (1))); +}),null,null))); +} +}); +return subvec_seq(self__.start); +})); + +(cljs.core.Subvec.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(new_meta,self__.v,self__.start,self__.end,self__.__hash) : cljs.core.build_subvec.call(null, new_meta,self__.v,self__.start,self__.end,self__.__hash)); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +var G__27469 = self__.meta; +var G__27470 = cljs.core._assoc_n(self__.v,self__.end,o); +var G__27471 = self__.start; +var G__27472 = (self__.end + (1)); +var G__27473 = null; +return (cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5 ? cljs.core.build_subvec.cljs$core$IFn$_invoke$arity$5(G__27469,G__27470,G__27471,G__27472,G__27473) : cljs.core.build_subvec.call(null, G__27469,G__27470,G__27471,G__27472,G__27473)); +})); + +(cljs.core.Subvec.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27474 = (arguments.length - (1)); +switch (G__27474) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.Subvec.prototype.apply = (function (self__,args27452){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27452))); +})); + +(cljs.core.Subvec.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$IIndexed$_nth$arity$2(null, k); +})); + +(cljs.core.Subvec.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs.core.Subvec.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"v","v",1661996586,null),new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"end","end",1372345569,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Subvec.cljs$lang$type = true); + +(cljs.core.Subvec.cljs$lang$ctorStr = "cljs.core/Subvec"); + +(cljs.core.Subvec.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Subvec"); +})); + +/** + * Positional factory function for cljs.core/Subvec. + */ +cljs.core.__GT_Subvec = (function cljs$core$__GT_Subvec(meta,v,start,end,__hash){ +return (new cljs.core.Subvec(meta,v,start,end,__hash)); +}); + +(cljs.core.Subvec.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.build_subvec = (function cljs$core$build_subvec(meta,v,start,end,__hash){ +while(true){ +if((v instanceof cljs.core.Subvec)){ +var G__32379 = meta; +var G__32380 = v.v; +var G__32381 = (v.start + start); +var G__32382 = (v.start + end); +var G__32383 = __hash; +meta = G__32379; +v = G__32380; +start = G__32381; +end = G__32382; +__hash = G__32383; +continue; +} else { +if(cljs.core.vector_QMARK_(v)){ +} else { +throw (new Error("v must satisfy IVector")); +} + +if((((start < (0))) || ((((end < start)) || ((end > cljs.core.count(v))))))){ +throw (new Error("Index out of bounds")); +} else { +} + +return (new cljs.core.Subvec(meta,v,start,end,__hash)); +} +break; +} +}); +/** + * Returns a persistent vector of the items in vector from + * start (inclusive) to end (exclusive). If end is not supplied, + * defaults to (count vector). This operation is O(1) and very fast, as + * the resulting vector shares structure with the original and no + * trimming is done. + */ +cljs.core.subvec = (function cljs$core$subvec(var_args){ +var G__27476 = arguments.length; +switch (G__27476) { +case 2: +return cljs.core.subvec.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.subvec.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.subvec.cljs$core$IFn$_invoke$arity$2 = (function (v,start){ +return cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(v,start,cljs.core.count(v)); +})); + +(cljs.core.subvec.cljs$core$IFn$_invoke$arity$3 = (function (v,start,end){ +if((((!((start == null)))) && ((!((end == null)))))){ +} else { +throw (new Error("Assert failed: (and (not (nil? start)) (not (nil? end)))")); +} + +return cljs.core.build_subvec(null,v,(start | (0)),(end | (0)),null); +})); + +(cljs.core.subvec.cljs$lang$maxFixedArity = 3); + +cljs.core.tv_ensure_editable = (function cljs$core$tv_ensure_editable(edit,node){ +if((edit === node.edit)){ +return node; +} else { +return (new cljs.core.VectorNode(edit,cljs.core.aclone(node.arr))); +} +}); +cljs.core.tv_editable_root = (function cljs$core$tv_editable_root(node){ +return (new cljs.core.VectorNode(({}),cljs.core.aclone(node.arr))); +}); +cljs.core.tv_editable_tail = (function cljs$core$tv_editable_tail(tl){ +var ret = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +cljs.core.array_copy(tl,(0),ret,(0),tl.length); + +return ret; +}); +cljs.core.tv_push_tail = (function cljs$core$tv_push_tail(tv,level,parent,tail_node){ +var ret = cljs.core.tv_ensure_editable(tv.root.edit,parent); +var subidx = (((tv.cnt - (1)) >>> level) & (31)); +cljs.core.pv_aset(ret,subidx,(((level === (5)))?tail_node:(function (){var child = cljs.core.pv_aget(ret,subidx); +if((!((child == null)))){ +var G__27479 = tv; +var G__27480 = (level - (5)); +var G__27481 = child; +var G__27482 = tail_node; +return (cljs.core.tv_push_tail.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tv_push_tail.cljs$core$IFn$_invoke$arity$4(G__27479,G__27480,G__27481,G__27482) : cljs.core.tv_push_tail.call(null, G__27479,G__27480,G__27481,G__27482)); +} else { +return cljs.core.new_path(tv.root.edit,(level - (5)),tail_node); +} +})())); + +return ret; +}); +cljs.core.tv_pop_tail = (function cljs$core$tv_pop_tail(tv,level,node){ +var node__$1 = cljs.core.tv_ensure_editable(tv.root.edit,node); +var subidx = (((tv.cnt - (2)) >>> level) & (31)); +if((level > (5))){ +var new_child = (function (){var G__27483 = tv; +var G__27484 = (level - (5)); +var G__27485 = cljs.core.pv_aget(node__$1,subidx); +return (cljs.core.tv_pop_tail.cljs$core$IFn$_invoke$arity$3 ? cljs.core.tv_pop_tail.cljs$core$IFn$_invoke$arity$3(G__27483,G__27484,G__27485) : cljs.core.tv_pop_tail.call(null, G__27483,G__27484,G__27485)); +})(); +if((((new_child == null)) && ((subidx === (0))))){ +return null; +} else { +cljs.core.pv_aset(node__$1,subidx,new_child); + +return node__$1; +} +} else { +if((subidx === (0))){ +return null; +} else { +cljs.core.pv_aset(node__$1,subidx,null); + +return node__$1; + +} +} +}); +cljs.core.unchecked_editable_array_for = (function cljs$core$unchecked_editable_array_for(tv,i){ +if((i >= cljs.core.tail_off(tv))){ +return tv.tail; +} else { +var root = tv.root; +var node = root; +var level = tv.shift; +while(true){ +if((level > (0))){ +var G__32402 = cljs.core.tv_ensure_editable(root.edit,cljs.core.pv_aget(node,((i >>> level) & (31)))); +var G__32403 = (level - (5)); +node = G__32402; +level = G__32403; +continue; +} else { +return node.arr; +} +break; +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ITransientCollection} + * @implements {cljs.core.ITransientVector} + * @implements {cljs.core.ITransientAssociative} + * @implements {cljs.core.ILookup} +*/ +cljs.core.TransientVector = (function (cnt,shift,root,tail){ +this.cnt = cnt; +this.shift = shift; +this.root = root; +this.tail = tail; +this.cljs$lang$protocol_mask$partition1$ = 88; +this.cljs$lang$protocol_mask$partition0$ = 275; +}); +(cljs.core.TransientVector.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ +var self__ = this; +var tcoll__$1 = this; +if(self__.root.edit){ +if(((self__.cnt - cljs.core.tail_off(tcoll__$1)) < (32))){ +(self__.tail[(self__.cnt & (31))] = o); + +(self__.cnt = (self__.cnt + (1))); + +return tcoll__$1; +} else { +var tail_node = (new cljs.core.VectorNode(self__.root.edit,self__.tail)); +var new_tail = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +(new_tail[(0)] = o); + +(self__.tail = new_tail); + +if(((self__.cnt >>> (5)) > ((1) << self__.shift))){ +var new_root_array = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +var new_shift = (self__.shift + (5)); +(new_root_array[(0)] = self__.root); + +(new_root_array[(1)] = cljs.core.new_path(self__.root.edit,self__.shift,tail_node)); + +(self__.root = (new cljs.core.VectorNode(self__.root.edit,new_root_array))); + +(self__.shift = new_shift); + +(self__.cnt = (self__.cnt + (1))); + +return tcoll__$1; +} else { +var new_root = cljs.core.tv_push_tail(tcoll__$1,self__.shift,self__.root,tail_node); +(self__.root = new_root); + +(self__.cnt = (self__.cnt + (1))); + +return tcoll__$1; +} +} +} else { +throw (new Error("conj! after persistent!")); +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +if(self__.root.edit){ +(self__.root.edit = null); + +var len = (self__.cnt - cljs.core.tail_off(tcoll__$1)); +var trimmed_tail = (new Array(len)); +cljs.core.array_copy(self__.tail,(0),trimmed_tail,(0),len); + +return (new cljs.core.PersistentVector(null,self__.cnt,self__.shift,self__.root,trimmed_tail,null)); +} else { +throw (new Error("persistent! called twice")); +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,key,val){ +var self__ = this; +var tcoll__$1 = this; +if(typeof key === 'number'){ +return tcoll__$1.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3(null, key,val); +} else { +throw (new Error("TransientVector's key for assoc! must be a number.")); +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3 = (function (tcoll,n,val){ +var self__ = this; +var tcoll__$1 = this; +if(self__.root.edit){ +if(((((0) <= n)) && ((n < self__.cnt)))){ +if((cljs.core.tail_off(tcoll__$1) <= n)){ +(self__.tail[(n & (31))] = val); + +return tcoll__$1; +} else { +var new_root = (function cljs$core$go(level,node){ +var node__$1 = cljs.core.tv_ensure_editable(self__.root.edit,node); +if((level === (0))){ +cljs.core.pv_aset(node__$1,(n & (31)),val); + +return node__$1; +} else { +var subidx = ((n >>> level) & (31)); +cljs.core.pv_aset(node__$1,subidx,cljs$core$go((level - (5)),cljs.core.pv_aget(node__$1,subidx))); + +return node__$1; +} +})(self__.shift,self__.root); +(self__.root = new_root); + +return tcoll__$1; +} +} else { +if((n === self__.cnt)){ +return tcoll__$1.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null, val); +} else { +throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds for TransientVector of length",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.cnt)].join(''))); + +} +} +} else { +throw (new Error("assoc! after persistent!")); +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$ITransientVector$_pop_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +if(self__.root.edit){ +if((self__.cnt === (0))){ +throw (new Error("Can't pop empty vector")); +} else { +if(((1) === self__.cnt)){ +(self__.cnt = (0)); + +return tcoll__$1; +} else { +if((((self__.cnt - (1)) & (31)) > (0))){ +(self__.cnt = (self__.cnt - (1))); + +return tcoll__$1; +} else { +var new_tail = cljs.core.unchecked_editable_array_for(tcoll__$1,(self__.cnt - (2))); +var new_root = (function (){var nr = cljs.core.tv_pop_tail(tcoll__$1,self__.shift,self__.root); +if((!((nr == null)))){ +return nr; +} else { +return (new cljs.core.VectorNode(self__.root.edit,[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null])); +} +})(); +if(((((5) < self__.shift)) && ((cljs.core.pv_aget(new_root,(1)) == null)))){ +var new_root__$1 = cljs.core.tv_ensure_editable(self__.root.edit,cljs.core.pv_aget(new_root,(0))); +(self__.root = new_root__$1); + +(self__.shift = (self__.shift - (5))); + +(self__.cnt = (self__.cnt - (1))); + +(self__.tail = new_tail); + +return tcoll__$1; +} else { +(self__.root = new_root); + +(self__.cnt = (self__.cnt - (1))); + +(self__.tail = new_tail); + +return tcoll__$1; +} + +} +} +} +} else { +throw (new Error("pop! after persistent!")); +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if(self__.root.edit){ +return self__.cnt; +} else { +throw (new Error("count after persistent!")); +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +if(self__.root.edit){ +return (cljs.core.array_for(coll__$1,n)[(n & (31))]); +} else { +throw (new Error("nth after persistent!")); +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.cnt)))){ +return coll__$1.cljs$core$IIndexed$_nth$arity$2(null, n); +} else { +return not_found; +} +})); + +(cljs.core.TransientVector.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.TransientVector.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +if((!(self__.root.edit))){ +throw (new Error("lookup after persistent!")); +} else { +if(typeof k === 'number'){ +return coll__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +} else { +return not_found; + +} +} +})); + +(cljs.core.TransientVector.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27487 = (arguments.length - (1)); +switch (G__27487) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.TransientVector.prototype.apply = (function (self__,args27486){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27486))); +})); + +(cljs.core.TransientVector.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs.core.TransientVector.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.TransientVector.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"shift","shift",-1657295705,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"root","root",1191874074,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"tail","tail",494507963,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.TransientVector.cljs$lang$type = true); + +(cljs.core.TransientVector.cljs$lang$ctorStr = "cljs.core/TransientVector"); + +(cljs.core.TransientVector.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/TransientVector"); +})); + +/** + * Positional factory function for cljs.core/TransientVector. + */ +cljs.core.__GT_TransientVector = (function cljs$core$__GT_TransientVector(cnt,shift,root,tail){ +return (new cljs.core.TransientVector(cnt,shift,root,tail)); +}); + + +/** +* @constructor +*/ +cljs.core.PersistentQueueIter = (function (fseq,riter){ +this.fseq = fseq; +this.riter = riter; +}); +(cljs.core.PersistentQueueIter.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +var or__5045__auto__ = (((!((self__.fseq == null)))) && (cljs.core.seq(self__.fseq))); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = (!((self__.riter == null))); +if(and__5043__auto__){ +return self__.riter.hasNext(); +} else { +return and__5043__auto__; +} +} +})); + +(cljs.core.PersistentQueueIter.prototype.next = (function (){ +var self__ = this; +var _ = this; +if((!((self__.fseq == null)))){ +var ret = cljs.core.first(self__.fseq); +(self__.fseq = cljs.core.next(self__.fseq)); + +return ret; +} else { +if((((!((self__.riter == null)))) && (self__.riter.hasNext()))){ +return self__.riter.next(); +} else { +throw (new Error("No such element")); + +} +} +})); + +(cljs.core.PersistentQueueIter.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.PersistentQueueIter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"fseq","fseq",-1466412450,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"riter","riter",-237834262,null)], null); +})); + +(cljs.core.PersistentQueueIter.cljs$lang$type = true); + +(cljs.core.PersistentQueueIter.cljs$lang$ctorStr = "cljs.core/PersistentQueueIter"); + +(cljs.core.PersistentQueueIter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentQueueIter"); +})); + +/** + * Positional factory function for cljs.core/PersistentQueueIter. + */ +cljs.core.__GT_PersistentQueueIter = (function cljs$core$__GT_PersistentQueueIter(fseq,riter){ +return (new cljs.core.PersistentQueueIter(fseq,riter)); +}); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.PersistentQueueSeq = (function (meta,front,rear,__hash){ +this.meta = meta; +this.front = front; +this.rear = rear; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 31850700; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.PersistentQueueSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentQueueSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentQueueSeq.prototype.indexOf = (function() { +var G__32494 = null; +var G__32494__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__32494__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32494 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32494__1.call(this,x); +case 2: +return G__32494__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32494.cljs$core$IFn$_invoke$arity$1 = G__32494__1; +G__32494.cljs$core$IFn$_invoke$arity$2 = G__32494__2; +return G__32494; +})() +); + +(cljs.core.PersistentQueueSeq.prototype.lastIndexOf = (function() { +var G__32496 = null; +var G__32496__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__32496__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32496 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32496__1.call(this,x); +case 2: +return G__32496__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32496.cljs$core$IFn$_invoke$arity$1 = G__32496__1; +G__32496.cljs$core$IFn$_invoke$arity$2 = G__32496__2; +return G__32496; +})() +); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var temp__5821__auto__ = cljs.core.next(self__.front); +if(temp__5821__auto__){ +var f1 = temp__5821__auto__; +return (new cljs.core.PersistentQueueSeq(self__.meta,f1,self__.rear,null)); +} else { +if((!((self__.rear == null)))){ +return (new cljs.core.PersistentQueueSeq(self__.meta,self__.rear,null,null)); +} else { +return null; +} +} +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.List.EMPTY,self__.meta); +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.first(self__.front); +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var temp__5821__auto__ = cljs.core.next(self__.front); +if(temp__5821__auto__){ +var f1 = temp__5821__auto__; +return (new cljs.core.PersistentQueueSeq(self__.meta,f1,self__.rear,null)); +} else { +if((self__.rear == null)){ +return coll__$1.cljs$core$IEmptyableCollection$_empty$arity$1(null, ); +} else { +return (new cljs.core.PersistentQueueSeq(self__.meta,self__.rear,null,null)); +} +} +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentQueueSeq(new_meta,self__.front,self__.rear,self__.__hash)); +} +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.PersistentQueueSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"front","front",117022539,null),new cljs.core.Symbol(null,"rear","rear",-900164830,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentQueueSeq.cljs$lang$type = true); + +(cljs.core.PersistentQueueSeq.cljs$lang$ctorStr = "cljs.core/PersistentQueueSeq"); + +(cljs.core.PersistentQueueSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentQueueSeq"); +})); + +/** + * Positional factory function for cljs.core/PersistentQueueSeq. + */ +cljs.core.__GT_PersistentQueueSeq = (function cljs$core$__GT_PersistentQueueSeq(meta,front,rear,__hash){ +return (new cljs.core.PersistentQueueSeq(meta,front,rear,__hash)); +}); + +(cljs.core.PersistentQueueSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} +*/ +cljs.core.PersistentQueue = (function (meta,count,front,rear,__hash){ +this.meta = meta; +this.count = count; +this.front = front; +this.rear = rear; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition1$ = 139264; +this.cljs$lang$protocol_mask$partition0$ = 31858766; +}); +(cljs.core.PersistentQueue.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentQueue.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentQueue.prototype.indexOf = (function() { +var G__32518 = null; +var G__32518__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__32518__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32518 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32518__1.call(this,x); +case 2: +return G__32518__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32518.cljs$core$IFn$_invoke$arity$1 = G__32518__1; +G__32518.cljs$core$IFn$_invoke$arity$2 = G__32518__2; +return G__32518; +})() +); + +(cljs.core.PersistentQueue.prototype.lastIndexOf = (function() { +var G__32519 = null; +var G__32519__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(self__.count.cljs$core$IFn$_invoke$arity$1 ? self__.count.cljs$core$IFn$_invoke$arity$1(coll) : self__.count.call(null, coll))); +}); +var G__32519__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32519 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32519__1.call(this,x); +case 2: +return G__32519__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32519.cljs$core$IFn$_invoke$arity$1 = G__32519__1; +G__32519.cljs$core$IFn$_invoke$arity$2 = G__32519__2; +return G__32519; +})() +); + +(cljs.core.PersistentQueue.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentQueueIter(self__.front,cljs.core._iterator(self__.rear))); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentQueue(self__.meta,self__.count,self__.front,self__.rear,self__.__hash)); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.count; +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.first(self__.front); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.truth_(self__.front)){ +var temp__5821__auto__ = cljs.core.next(self__.front); +if(temp__5821__auto__){ +var f1 = temp__5821__auto__; +return (new cljs.core.PersistentQueue(self__.meta,(self__.count - (1)),f1,self__.rear,null)); +} else { +return (new cljs.core.PersistentQueue(self__.meta,(self__.count - (1)),cljs.core.seq(self__.rear),cljs.core.PersistentVector.EMPTY,null)); +} +} else { +return coll__$1; +} +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.PersistentQueue.EMPTY,self__.meta); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.first(self__.front); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.rest(cljs.core.seq(coll__$1)); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var rear__$1 = cljs.core.seq(self__.rear); +if(cljs.core.truth_((function (){var or__5045__auto__ = self__.front; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return rear__$1; +} +})())){ +return (new cljs.core.PersistentQueueSeq(null,self__.front,cljs.core.seq(rear__$1),null)); +} else { +return null; +} +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentQueue(new_meta,self__.count,self__.front,self__.rear,self__.__hash)); +} +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.truth_(self__.front)){ +return (new cljs.core.PersistentQueue(self__.meta,(self__.count + (1)),self__.front,cljs.core.conj.cljs$core$IFn$_invoke$arity$2((function (){var or__5045__auto__ = self__.rear; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.PersistentVector.EMPTY; +} +})(),o),null)); +} else { +return (new cljs.core.PersistentQueue(self__.meta,(self__.count + (1)),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(self__.front,o),cljs.core.PersistentVector.EMPTY,null)); +} +})); + +(cljs.core.PersistentQueue.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"count","count",-514511684,null),new cljs.core.Symbol(null,"front","front",117022539,null),new cljs.core.Symbol(null,"rear","rear",-900164830,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentQueue.cljs$lang$type = true); + +(cljs.core.PersistentQueue.cljs$lang$ctorStr = "cljs.core/PersistentQueue"); + +(cljs.core.PersistentQueue.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentQueue"); +})); + +/** + * Positional factory function for cljs.core/PersistentQueue. + */ +cljs.core.__GT_PersistentQueue = (function cljs$core$__GT_PersistentQueue(meta,count,front,rear,__hash){ +return (new cljs.core.PersistentQueue(meta,count,front,rear,__hash)); +}); + +(cljs.core.PersistentQueue.EMPTY = (new cljs.core.PersistentQueue(null,(0),null,cljs.core.PersistentVector.EMPTY,cljs.core.empty_ordered_hash))); +(cljs.core.PersistentQueue.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IEquiv} +*/ +cljs.core.NeverEquiv = (function (){ +this.cljs$lang$protocol_mask$partition0$ = 2097152; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.NeverEquiv.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.NeverEquiv.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (o,other){ +var self__ = this; +var o__$1 = this; +return false; +})); + +(cljs.core.NeverEquiv.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cljs.core.NeverEquiv.cljs$lang$type = true); + +(cljs.core.NeverEquiv.cljs$lang$ctorStr = "cljs.core/NeverEquiv"); + +(cljs.core.NeverEquiv.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/NeverEquiv"); +})); + +/** + * Positional factory function for cljs.core/NeverEquiv. + */ +cljs.core.__GT_NeverEquiv = (function cljs$core$__GT_NeverEquiv(){ +return (new cljs.core.NeverEquiv()); +}); + +cljs.core.never_equiv = (new cljs.core.NeverEquiv()); +/** + * Test map equivalence. Returns true if x equals y, otherwise returns false. + */ +cljs.core.equiv_map = (function cljs$core$equiv_map(x,y){ +return cljs.core.boolean$(((((cljs.core.map_QMARK_(y)) && ((!(cljs.core.record_QMARK_(y))))))?(((cljs.core.count(x) === cljs.core.count(y)))?(((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition0$ & (1048576))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IKVReduce$))))?true:(((!x.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IKVReduce,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IKVReduce,x)))?cljs.core.reduce_kv((function (_,k,v){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(y,k,cljs.core.never_equiv),v)){ +return true; +} else { +return cljs.core.reduced(false); +} +}),true,x):cljs.core.every_QMARK_((function (xkv){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(y,cljs.core.first(xkv),cljs.core.never_equiv),cljs.core.second(xkv)); +}),x)):null):null)); +}); +cljs.core.scan_array = (function cljs$core$scan_array(incr,k,array){ +var len = array.length; +var i = (0); +while(true){ +if((i < len)){ +if((k === (array[i]))){ +return i; +} else { +var G__32576 = (i + incr); +i = G__32576; +continue; +} +} else { +return null; +} +break; +} +}); +cljs.core.obj_map_compare_keys = (function cljs$core$obj_map_compare_keys(a,b){ +var a__$1 = cljs.core.hash(a); +var b__$1 = cljs.core.hash(b); +if((a__$1 < b__$1)){ +return (-1); +} else { +if((a__$1 > b__$1)){ +return (1); +} else { +return (0); + +} +} +}); +cljs.core.obj_map__GT_hash_map = (function cljs$core$obj_map__GT_hash_map(m,k,v){ +var ks = m.keys; +var len = ks.length; +var so = m.strobj; +var mm = cljs.core.meta(m); +var i = (0); +var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); +while(true){ +if((i < len)){ +var k__$1 = (ks[i]); +var G__32581 = (i + (1)); +var G__32582 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,k__$1,cljs.core.goog$module$goog$object.get(so,k__$1)); +i = G__32581; +out = G__32582; +continue; +} else { +return cljs.core._with_meta(cljs.core.persistent_BANG_(cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,k,v)),mm); +} +break; +} +}); +cljs.core.obj_clone = (function cljs$core$obj_clone(obj,ks){ +var new_obj = ({}); +var l = ks.length; +var i_32584 = (0); +while(true){ +if((i_32584 < l)){ +var k_32585 = (ks[i_32584]); +cljs.core.goog$module$goog$object.set(new_obj,k_32585,cljs.core.goog$module$goog$object.get(obj,k_32585)); + +var G__32587 = (i_32584 + (1)); +i_32584 = G__32587; +continue; +} else { +} +break; +} + +return new_obj; +}); + +/** +* @constructor + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.core.ObjMap = (function (meta,keys,strobj,update_count,__hash){ +this.meta = meta; +this.keys = keys; +this.strobj = strobj; +this.update_count = update_count; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 16123663; +this.cljs$lang$protocol_mask$partition1$ = 4; +}); +(cljs.core.ObjMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ObjMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +if(((typeof k === 'string') && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ +return (new cljs.core.MapEntry(k,(self__.strobj[k]),null)); +} else { +return null; +} +})); + +(cljs.core.ObjMap.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.ObjMap.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.ObjMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.ObjMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +if(((typeof k === 'string') && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ +return (self__.strobj[k]); +} else { +return not_found; +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ +var self__ = this; +var coll__$1 = this; +var len = self__.keys.length; +var keys__$1 = self__.keys.sort(cljs.core.obj_map_compare_keys); +var init__$1 = init; +while(true){ +if(cljs.core.seq(keys__$1)){ +var k = cljs.core.first(keys__$1); +var init__$2 = (function (){var G__27493 = init__$1; +var G__27494 = k; +var G__27495 = (self__.strobj[k]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27493,G__27494,G__27495) : f.call(null, G__27493,G__27494,G__27495)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__32598 = cljs.core.rest(keys__$1); +var G__32599 = init__$2; +keys__$1 = G__32598; +init__$1 = G__32599; +continue; +} +} else { +return init__$1; +} +break; +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.ObjMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.keys.length; +})); + +(cljs.core.ObjMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_map(coll__$1,other); +})); + +(cljs.core.ObjMap.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.transient$(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentHashMap.EMPTY,coll__$1)); +})); + +(cljs.core.ObjMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.ObjMap.EMPTY,self__.meta); +})); + +(cljs.core.ObjMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +if(((typeof k === 'string') && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ +var new_keys = cljs.core.aclone(self__.keys); +var new_strobj = cljs.core.obj_clone(self__.strobj,self__.keys); +new_keys.splice(cljs.core.scan_array((1),k,new_keys),(1)); + +delete new_strobj[k]; + +return (new cljs.core.ObjMap(self__.meta,new_keys,new_strobj,(self__.update_count + (1)),null)); +} else { +return coll__$1; +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ +var self__ = this; +var coll__$1 = this; +if(typeof k === 'string'){ +if((((self__.update_count > cljs.core.ObjMap.HASHMAP_THRESHOLD)) || ((self__.keys.length >= cljs.core.ObjMap.HASHMAP_THRESHOLD)))){ +return cljs.core.obj_map__GT_hash_map(coll__$1,k,v); +} else { +if((!((cljs.core.scan_array((1),k,self__.keys) == null)))){ +var new_strobj = cljs.core.obj_clone(self__.strobj,self__.keys); +cljs.core.goog$module$goog$object.set(new_strobj,k,v); + +return (new cljs.core.ObjMap(self__.meta,self__.keys,new_strobj,(self__.update_count + (1)),null)); +} else { +var new_strobj = cljs.core.obj_clone(self__.strobj,self__.keys); +var new_keys = cljs.core.aclone(self__.keys); +cljs.core.goog$module$goog$object.set(new_strobj,k,v); + +new_keys.push(k); + +return (new cljs.core.ObjMap(self__.meta,new_keys,new_strobj,(self__.update_count + (1)),null)); +} +} +} else { +return cljs.core.obj_map__GT_hash_map(coll__$1,k,v); +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +if(((typeof k === 'string') && ((!((cljs.core.scan_array((1),k,self__.keys) == null)))))){ +return true; +} else { +return false; +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.keys.length > (0))){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__27491_SHARP_){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__27491_SHARP_,(self__.strobj[p1__27491_SHARP_])],null)); +}),self__.keys.sort(cljs.core.obj_map_compare_keys)); +} else { +return null; +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.ObjMap(new_meta,self__.keys,self__.strobj,self__.update_count,self__.__hash)); +} +})); + +(cljs.core.ObjMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.vector_QMARK_(entry)){ +return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry,(0)),cljs.core._nth(entry,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,coll__$1,entry); +} +})); + +(cljs.core.ObjMap.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27496 = (arguments.length - (1)); +switch (G__27496) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.ObjMap.prototype.apply = (function (self__,args27492){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27492))); +})); + +(cljs.core.ObjMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs.core.ObjMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.ObjMap.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"keys","keys",-1586012071,null),new cljs.core.Symbol(null,"strobj","strobj",1088091283,null),new cljs.core.Symbol(null,"update-count","update-count",-411982269,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ObjMap.cljs$lang$type = true); + +(cljs.core.ObjMap.cljs$lang$ctorStr = "cljs.core/ObjMap"); + +(cljs.core.ObjMap.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ObjMap"); +})); + +/** + * Positional factory function for cljs.core/ObjMap. + */ +cljs.core.__GT_ObjMap = (function cljs$core$__GT_ObjMap(meta,keys,strobj,update_count,__hash){ +return (new cljs.core.ObjMap(meta,keys,strobj,update_count,__hash)); +}); + +(cljs.core.ObjMap.EMPTY = (new cljs.core.ObjMap(null,[],({}),(0),cljs.core.empty_unordered_hash))); +(cljs.core.ObjMap.HASHMAP_THRESHOLD = (8)); +(cljs.core.ObjMap.fromObject = (function (ks,obj){ +return (new cljs.core.ObjMap(null,ks,obj,(0),null)); +})); + +/** +* @constructor +*/ +cljs.core.RecordIter = (function (i,record,base_count,fields,ext_map_iter){ +this.i = i; +this.record = record; +this.base_count = base_count; +this.fields = fields; +this.ext_map_iter = ext_map_iter; +}); +(cljs.core.RecordIter.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +var or__5045__auto__ = (self__.i < self__.base_count); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return self__.ext_map_iter.hasNext(); +} +})); + +(cljs.core.RecordIter.prototype.next = (function (){ +var self__ = this; +var _ = this; +if((self__.i < self__.base_count)){ +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(self__.fields,self__.i); +(self__.i = (self__.i + (1))); + +return (new cljs.core.MapEntry(k,cljs.core._lookup(self__.record,k),null)); +} else { +return self__.ext_map_iter.next(); +} +})); + +(cljs.core.RecordIter.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.RecordIter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"record","record",861424668,null),new cljs.core.Symbol(null,"base-count","base-count",-1180647182,null),new cljs.core.Symbol(null,"fields","fields",-291534703,null),new cljs.core.Symbol(null,"ext-map-iter","ext-map-iter",-1215982757,null)], null); +})); + +(cljs.core.RecordIter.cljs$lang$type = true); + +(cljs.core.RecordIter.cljs$lang$ctorStr = "cljs.core/RecordIter"); + +(cljs.core.RecordIter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/RecordIter"); +})); + +/** + * Positional factory function for cljs.core/RecordIter. + */ +cljs.core.__GT_RecordIter = (function cljs$core$__GT_RecordIter(i,record,base_count,fields,ext_map_iter){ +return (new cljs.core.RecordIter(i,record,base_count,fields,ext_map_iter)); +}); + + +/** +* @constructor +*/ +cljs.core.ES6EntriesIterator = (function (s){ +this.s = s; +}); +(cljs.core.ES6EntriesIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +if((!((self__.s == null)))){ +var vec__27499 = cljs.core.first(self__.s); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27499,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27499,(1),null); +(self__.s = cljs.core.next(self__.s)); + +return ({"value": [k,v], "done": false}); +} else { +return ({"value": null, "done": true}); +} +})); + +(cljs.core.ES6EntriesIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ES6EntriesIterator.cljs$lang$type = true); + +(cljs.core.ES6EntriesIterator.cljs$lang$ctorStr = "cljs.core/ES6EntriesIterator"); + +(cljs.core.ES6EntriesIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ES6EntriesIterator"); +})); + +/** + * Positional factory function for cljs.core/ES6EntriesIterator. + */ +cljs.core.__GT_ES6EntriesIterator = (function cljs$core$__GT_ES6EntriesIterator(s){ +return (new cljs.core.ES6EntriesIterator(s)); +}); + +cljs.core.es6_entries_iterator = (function cljs$core$es6_entries_iterator(coll){ +return (new cljs.core.ES6EntriesIterator(cljs.core.seq(coll))); +}); + +/** +* @constructor +*/ +cljs.core.ES6SetEntriesIterator = (function (s){ +this.s = s; +}); +(cljs.core.ES6SetEntriesIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +if((!((self__.s == null)))){ +var x = cljs.core.first(self__.s); +(self__.s = cljs.core.next(self__.s)); + +return ({"value": [x,x], "done": false}); +} else { +return ({"value": null, "done": true}); +} +})); + +(cljs.core.ES6SetEntriesIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"s","s",-948495851,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ES6SetEntriesIterator.cljs$lang$type = true); + +(cljs.core.ES6SetEntriesIterator.cljs$lang$ctorStr = "cljs.core/ES6SetEntriesIterator"); + +(cljs.core.ES6SetEntriesIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ES6SetEntriesIterator"); +})); + +/** + * Positional factory function for cljs.core/ES6SetEntriesIterator. + */ +cljs.core.__GT_ES6SetEntriesIterator = (function cljs$core$__GT_ES6SetEntriesIterator(s){ +return (new cljs.core.ES6SetEntriesIterator(s)); +}); + +cljs.core.es6_set_entries_iterator = (function cljs$core$es6_set_entries_iterator(coll){ +return (new cljs.core.ES6SetEntriesIterator(cljs.core.seq(coll))); +}); +cljs.core.array_index_of_nil_QMARK_ = (function cljs$core$array_index_of_nil_QMARK_(arr){ +var len = arr.length; +var i = (0); +while(true){ +if((len <= i)){ +return (-1); +} else { +if(((arr[i]) == null)){ +return i; +} else { +var G__32662 = (i + (2)); +i = G__32662; +continue; + +} +} +break; +} +}); +cljs.core.array_index_of_keyword_QMARK_ = (function cljs$core$array_index_of_keyword_QMARK_(arr,k){ +var len = arr.length; +var kstr = k.fqn; +var i = (0); +while(true){ +if((len <= i)){ +return (-1); +} else { +if(((((arr[i]) instanceof cljs.core.Keyword)) && ((kstr === (arr[i]).fqn)))){ +return i; +} else { +var G__32663 = (i + (2)); +i = G__32663; +continue; + +} +} +break; +} +}); +cljs.core.array_index_of_symbol_QMARK_ = (function cljs$core$array_index_of_symbol_QMARK_(arr,k){ +var len = arr.length; +var kstr = k.str; +var i = (0); +while(true){ +if((len <= i)){ +return (-1); +} else { +if(((((arr[i]) instanceof cljs.core.Symbol)) && ((kstr === (arr[i]).str)))){ +return i; +} else { +var G__32696 = (i + (2)); +i = G__32696; +continue; + +} +} +break; +} +}); +cljs.core.array_index_of_identical_QMARK_ = (function cljs$core$array_index_of_identical_QMARK_(arr,k){ +var len = arr.length; +var i = (0); +while(true){ +if((len <= i)){ +return (-1); +} else { +if((k === (arr[i]))){ +return i; +} else { +var G__32697 = (i + (2)); +i = G__32697; +continue; + +} +} +break; +} +}); +cljs.core.array_index_of_equiv_QMARK_ = (function cljs$core$array_index_of_equiv_QMARK_(arr,k){ +var len = arr.length; +var i = (0); +while(true){ +if((len <= i)){ +return (-1); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k,(arr[i]))){ +return i; +} else { +var G__32698 = (i + (2)); +i = G__32698; +continue; + +} +} +break; +} +}); +cljs.core.array_index_of = (function cljs$core$array_index_of(arr,k){ +if((k instanceof cljs.core.Keyword)){ +return cljs.core.array_index_of_keyword_QMARK_(arr,k); +} else { +if(((typeof k === 'string') || (typeof k === 'number'))){ +return cljs.core.array_index_of_identical_QMARK_(arr,k); +} else { +if((k instanceof cljs.core.Symbol)){ +return cljs.core.array_index_of_symbol_QMARK_(arr,k); +} else { +if((k == null)){ +return cljs.core.array_index_of_nil_QMARK_(arr); +} else { +return cljs.core.array_index_of_equiv_QMARK_(arr,k); + +} +} +} +} +}); +cljs.core.array_map_index_of = (function cljs$core$array_map_index_of(m,k){ +return cljs.core.array_index_of(m.arr,k); +}); +cljs.core.array_extend_kv = (function cljs$core$array_extend_kv(arr,k,v){ +var l = arr.length; +var narr = (new Array((l + (2)))); +var i_32710 = (0); +while(true){ +if((i_32710 < l)){ +(narr[i_32710] = (arr[i_32710])); + +var G__32711 = (i_32710 + (1)); +i_32710 = G__32711; +continue; +} else { +} +break; +} + +(narr[l] = k); + +(narr[(l + (1))] = v); + +return narr; +}); +cljs.core.array_map_extend_kv = (function cljs$core$array_map_extend_kv(m,k,v){ +return cljs.core.array_extend_kv(m.arr,k,v); +}); + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IMapEntry} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs.core.MapEntry = (function (key,val,__hash){ +this.key = key; +this.val = val; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 166619935; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.MapEntry.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.MapEntry.prototype.cljs$core$IFind$_find$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +var G__27503 = k; +switch (G__27503) { +case (0): +return (new cljs.core.MapEntry((0),self__.key,null)); + +break; +case (1): +return (new cljs.core.MapEntry((1),self__.val,null)); + +break; +default: +return null; + +} +})); + +(cljs.core.MapEntry.prototype.indexOf = (function() { +var G__32720 = null; +var G__32720__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__32720__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32720 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32720__1.call(this,x); +case 2: +return G__32720__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32720.cljs$core$IFn$_invoke$arity$1 = G__32720__1; +G__32720.cljs$core$IFn$_invoke$arity$2 = G__32720__2; +return G__32720; +})() +); + +(cljs.core.MapEntry.prototype.lastIndexOf = (function() { +var G__32726 = null; +var G__32726__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__32726__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32726 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32726__1.call(this,x); +case 2: +return G__32726__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32726.cljs$core$IFn$_invoke$arity$1 = G__32726__1; +G__32726.cljs$core$IFn$_invoke$arity$2 = G__32726__2; +return G__32726; +})() +); + +(cljs.core.MapEntry.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +return node__$1.cljs$core$IIndexed$_nth$arity$3(null, k,null); +})); + +(cljs.core.MapEntry.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (node,k,not_found){ +var self__ = this; +var node__$1 = this; +return node__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (node,n){ +var self__ = this; +var node__$1 = this; +if((n === (0))){ +return self__.key; +} else { +if((n === (1))){ +return self__.val; +} else { +throw (new Error("Index out of bounds")); + +} +} +})); + +(cljs.core.MapEntry.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (node,n,not_found){ +var self__ = this; +var node__$1 = this; +if((n === (0))){ +return self__.key; +} else { +if((n === (1))){ +return self__.val; +} else { +return not_found; + +} +} +})); + +(cljs.core.MapEntry.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (node,n,v){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null).cljs$core$IVector$_assoc_n$arity$3(null, n,v); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IMeta$_meta$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return null; +})); + +(cljs.core.MapEntry.prototype.cljs$core$ICounted$_count$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (2); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IMapEntry$_key$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.key; +})); + +(cljs.core.MapEntry.prototype.cljs$core$IMapEntry$_val$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.val; +})); + +(cljs.core.MapEntry.prototype.cljs$core$IStack$_peek$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.val; +})); + +(cljs.core.MapEntry.prototype.cljs$core$IStack$_pop$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key], null); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (new cljs.core.IndexedSeq([self__.val,self__.key],(0),null)); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.MapEntry.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return null; +})); + +(cljs.core.MapEntry.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (node,f){ +var self__ = this; +var node__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(node__$1,f); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (node,f,start){ +var self__ = this; +var node__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(node__$1,f,start); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (node,k,v){ +var self__ = this; +var node__$1 = this; +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),k,v); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +return (((k === (0))) || ((k === (1)))); +})); + +(cljs.core.MapEntry.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (new cljs.core.IndexedSeq([self__.key,self__.val],(0),null)); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (node,meta){ +var self__ = this; +var node__$1 = this; +return cljs.core.with_meta(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),meta); +})); + +(cljs.core.MapEntry.prototype.cljs$core$ICollection$_conj$arity$2 = (function (node,o){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val,o], null); +})); + +(cljs.core.MapEntry.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27504 = (arguments.length - (1)); +switch (G__27504) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.MapEntry.prototype.apply = (function (self__,args27502){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27502))); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var node = this; +return node.cljs$core$IIndexed$_nth$arity$2(null, k); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var node = this; +return node.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs.core.MapEntry.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),new cljs.core.Symbol(null,"val","val",1769233139,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.MapEntry.cljs$lang$type = true); + +(cljs.core.MapEntry.cljs$lang$ctorStr = "cljs.core/MapEntry"); + +(cljs.core.MapEntry.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/MapEntry"); +})); + +/** + * Positional factory function for cljs.core/MapEntry. + */ +cljs.core.__GT_MapEntry = (function cljs$core$__GT_MapEntry(key,val,__hash){ +return (new cljs.core.MapEntry(key,val,__hash)); +}); + +/** + * Returns true if x satisfies IMapEntry + */ +cljs.core.map_entry_QMARK_ = (function cljs$core$map_entry_QMARK_(x){ +if((!((x == null)))){ +if((((x.cljs$lang$protocol_mask$partition0$ & (2048))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IMapEntry$)))){ +return true; +} else { +return false; +} +} else { +return false; +} +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.PersistentArrayMapSeq = (function (arr,i,_meta){ +this.arr = arr; +this.i = i; +this._meta = _meta; +this.cljs$lang$protocol_mask$partition0$ = 32374990; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.PersistentArrayMapSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.indexOf = (function() { +var G__32897 = null; +var G__32897__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__32897__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32897 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32897__1.call(this,x); +case 2: +return G__32897__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32897.cljs$core$IFn$_invoke$arity$1 = G__32897__1; +G__32897.cljs$core$IFn$_invoke$arity$2 = G__32897__2; +return G__32897; +})() +); + +(cljs.core.PersistentArrayMapSeq.prototype.lastIndexOf = (function() { +var G__32900 = null; +var G__32900__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__32900__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__32900 = function(x,start){ +switch(arguments.length){ +case 1: +return G__32900__1.call(this,x); +case 2: +return G__32900__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__32900.cljs$core$IFn$_invoke$arity$1 = G__32900__1; +G__32900.cljs$core$IFn$_invoke$arity$2 = G__32900__2; +return G__32900; +})() +); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__._meta; +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.i < (self__.arr.length - (2)))){ +return (new cljs.core.PersistentArrayMapSeq(self__.arr,(self__.i + (2)),null)); +} else { +return null; +} +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return ((self__.arr.length - self__.i) / (2)); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.MapEntry((self__.arr[self__.i]),(self__.arr[(self__.i + (1))]),null)); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.i < (self__.arr.length - (2)))){ +return (new cljs.core.PersistentArrayMapSeq(self__.arr,(self__.i + (2)),null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__._meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentArrayMapSeq(self__.arr,self__.i,new_meta)); +} +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.PersistentArrayMapSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); +})); + +(cljs.core.PersistentArrayMapSeq.cljs$lang$type = true); + +(cljs.core.PersistentArrayMapSeq.cljs$lang$ctorStr = "cljs.core/PersistentArrayMapSeq"); + +(cljs.core.PersistentArrayMapSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentArrayMapSeq"); +})); + +/** + * Positional factory function for cljs.core/PersistentArrayMapSeq. + */ +cljs.core.__GT_PersistentArrayMapSeq = (function cljs$core$__GT_PersistentArrayMapSeq(arr,i,_meta){ +return (new cljs.core.PersistentArrayMapSeq(arr,i,_meta)); +}); + +(cljs.core.PersistentArrayMapSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.persistent_array_map_seq = (function cljs$core$persistent_array_map_seq(arr,i,_meta){ +if((i <= (arr.length - (2)))){ +return (new cljs.core.PersistentArrayMapSeq(arr,i,_meta)); +} else { +return null; +} +}); + + +/** +* @constructor +*/ +cljs.core.PersistentArrayMapIterator = (function (arr,i,cnt){ +this.arr = arr; +this.i = i; +this.cnt = cnt; +}); +(cljs.core.PersistentArrayMapIterator.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (self__.i < self__.cnt); +})); + +(cljs.core.PersistentArrayMapIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = (new cljs.core.MapEntry((self__.arr[self__.i]),(self__.arr[(self__.i + (1))]),null)); +(self__.i = (self__.i + (2))); + +return ret; +})); + +(cljs.core.PersistentArrayMapIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null)], null); +})); + +(cljs.core.PersistentArrayMapIterator.cljs$lang$type = true); + +(cljs.core.PersistentArrayMapIterator.cljs$lang$ctorStr = "cljs.core/PersistentArrayMapIterator"); + +(cljs.core.PersistentArrayMapIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentArrayMapIterator"); +})); + +/** + * Positional factory function for cljs.core/PersistentArrayMapIterator. + */ +cljs.core.__GT_PersistentArrayMapIterator = (function cljs$core$__GT_PersistentArrayMapIterator(arr,i,cnt){ +return (new cljs.core.PersistentArrayMapIterator(arr,i,cnt)); +}); + + +/** +* @constructor + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs.core.PersistentArrayMap = (function (meta,cnt,arr,__hash){ +this.meta = meta; +this.cnt = cnt; +this.arr = arr; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 16647951; +this.cljs$lang$protocol_mask$partition1$ = 139268; +}); +(cljs.core.PersistentArrayMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +var idx = cljs.core.array_map_index_of(coll__$1,k); +if((idx === (-1))){ +return null; +} else { +return (new cljs.core.MapEntry((self__.arr[idx]),(self__.arr[(idx + (1))]),null)); +} +})); + +(cljs.core.PersistentArrayMap.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentArrayMap.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentArrayMap.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.keys.cljs$core$IFn$_invoke$arity$1 ? cljs.core.keys.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.keys.call(null, coll))); +})); + +(cljs.core.PersistentArrayMap.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentArrayMap.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.vals.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vals.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.vals.call(null, coll))); +})); + +(cljs.core.PersistentArrayMap.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +})); + +(cljs.core.PersistentArrayMap.prototype.get = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentArrayMap.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__27507 = cljs.core.seq(coll); +var chunk__27508 = null; +var count__27509 = (0); +var i__27510 = (0); +while(true){ +if((i__27510 < count__27509)){ +var vec__27517 = chunk__27508.cljs$core$IIndexed$_nth$arity$2(null, i__27510); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27517,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27517,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__32932 = seq__27507; +var G__32933 = chunk__27508; +var G__32934 = count__27509; +var G__32935 = (i__27510 + (1)); +seq__27507 = G__32932; +chunk__27508 = G__32933; +count__27509 = G__32934; +i__27510 = G__32935; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27507); +if(temp__5823__auto__){ +var seq__27507__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27507__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27507__$1); +var G__32939 = cljs.core.chunk_rest(seq__27507__$1); +var G__32940 = c__5568__auto__; +var G__32941 = cljs.core.count(c__5568__auto__); +var G__32942 = (0); +seq__27507 = G__32939; +chunk__27508 = G__32940; +count__27509 = G__32941; +i__27510 = G__32942; +continue; +} else { +var vec__27520 = cljs.core.first(seq__27507__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27520,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27520,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__32945 = cljs.core.next(seq__27507__$1); +var G__32946 = null; +var G__32947 = (0); +var G__32948 = (0); +seq__27507 = G__32945; +chunk__27508 = G__32946; +count__27509 = G__32947; +i__27510 = G__32948; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +var idx = cljs.core.array_map_index_of(coll__$1,k); +if((idx === (-1))){ +return not_found; +} else { +return (self__.arr[(idx + (1))]); +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ +var self__ = this; +var coll__$1 = this; +var len = self__.arr.length; +var i = (0); +var init__$1 = init; +while(true){ +if((i < len)){ +var init__$2 = (function (){var G__27523 = init__$1; +var G__27524 = (self__.arr[i]); +var G__27525 = (self__.arr[(i + (1))]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27523,G__27524,G__27525) : f.call(null, G__27523,G__27524,G__27525)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__32954 = (i + (2)); +var G__32955 = init__$2; +i = G__32954; +init__$1 = G__32955; +continue; +} +} else { +return init__$1; +} +break; +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return (new cljs.core.PersistentArrayMapIterator(self__.arr,(0),(self__.cnt * (2)))); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.PersistentArrayMap(self__.meta,self__.cnt,self__.arr,self__.__hash)); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.cnt; +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +if(((cljs.core.map_QMARK_(other)) && ((!(cljs.core.record_QMARK_(other)))))){ +var alen = self__.arr.length; +var other__$1 = other; +if((self__.cnt === other__$1.cljs$core$ICounted$_count$arity$1(null, ))){ +var i = (0); +while(true){ +if((i < alen)){ +var v = other__$1.cljs$core$ILookup$_lookup$arity$3(null, (self__.arr[i]),cljs.core.lookup_sentinel); +if((!((v === cljs.core.lookup_sentinel)))){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((self__.arr[(i + (1))]),v)){ +var G__32961 = (i + (2)); +i = G__32961; +continue; +} else { +return false; +} +} else { +return false; +} +} else { +return true; +} +break; +} +} else { +return false; +} +} else { +return false; +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.TransientArrayMap(({}),self__.arr.length,cljs.core.aclone(self__.arr))); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.PersistentArrayMap.EMPTY,self__.meta); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,start); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +var idx = cljs.core.array_map_index_of(coll__$1,k); +if((idx >= (0))){ +var len = self__.arr.length; +var new_len = (len - (2)); +if((new_len === (0))){ +return coll__$1.cljs$core$IEmptyableCollection$_empty$arity$1(null, ); +} else { +var new_arr = (new Array(new_len)); +var s = (0); +var d = (0); +while(true){ +if((s >= len)){ +return (new cljs.core.PersistentArrayMap(self__.meta,(self__.cnt - (1)),new_arr,null)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k,(self__.arr[s]))){ +var G__32968 = (s + (2)); +var G__32969 = d; +s = G__32968; +d = G__32969; +continue; +} else { +(new_arr[d] = (self__.arr[s])); + +(new_arr[(d + (1))] = (self__.arr[(s + (1))])); + +var G__32970 = (s + (2)); +var G__32971 = (d + (2)); +s = G__32970; +d = G__32971; +continue; + +} +} +break; +} +} +} else { +return coll__$1; +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ +var self__ = this; +var coll__$1 = this; +var idx = cljs.core.array_map_index_of(coll__$1,k); +if((idx === (-1))){ +if((self__.cnt < cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD)){ +var arr__$1 = cljs.core.array_map_extend_kv(coll__$1,k,v); +return (new cljs.core.PersistentArrayMap(self__.meta,(self__.cnt + (1)),arr__$1,null)); +} else { +return cljs.core._with_meta(cljs.core._assoc(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentHashMap.EMPTY,coll__$1),k,v),self__.meta); +} +} else { +if((v === (self__.arr[(idx + (1))]))){ +return coll__$1; +} else { +var arr__$1 = (function (){var G__27528 = cljs.core.aclone(self__.arr); +(G__27528[(idx + (1))] = v); + +return G__27528; +})(); +return (new cljs.core.PersistentArrayMap(self__.meta,self__.cnt,arr__$1,null)); + +} +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return (!((cljs.core.array_map_index_of(coll__$1,k) === (-1)))); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.persistent_array_map_seq(self__.arr,(0),null); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentArrayMap(new_meta,self__.cnt,self__.arr,self__.__hash)); +} +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.vector_QMARK_(entry)){ +return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry,(0)),cljs.core._nth(entry,(1))); +} else { +var ret = coll__$1; +var es = cljs.core.seq(entry); +while(true){ +if((es == null)){ +return ret; +} else { +var e = cljs.core.first(es); +if(cljs.core.vector_QMARK_(e)){ +var G__32979 = cljs.core._assoc(ret,cljs.core._nth(e,(0)),cljs.core._nth(e,(1))); +var G__32980 = cljs.core.next(es); +ret = G__32979; +es = G__32980; +continue; +} else { +throw (new Error("conj on a map takes map entries or seqables of map entries")); +} +} +break; +} +} +})); + +(cljs.core.PersistentArrayMap.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27529 = (arguments.length - (1)); +switch (G__27529) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.PersistentArrayMap.prototype.apply = (function (self__,args27506){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27506))); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentArrayMap.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentArrayMap.cljs$lang$type = true); + +(cljs.core.PersistentArrayMap.cljs$lang$ctorStr = "cljs.core/PersistentArrayMap"); + +(cljs.core.PersistentArrayMap.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentArrayMap"); +})); + +/** + * Positional factory function for cljs.core/PersistentArrayMap. + */ +cljs.core.__GT_PersistentArrayMap = (function cljs$core$__GT_PersistentArrayMap(meta,cnt,arr,__hash){ +return (new cljs.core.PersistentArrayMap(meta,cnt,arr,__hash)); +}); + +(cljs.core.PersistentArrayMap.EMPTY = (new cljs.core.PersistentArrayMap(null,(0),[],cljs.core.empty_unordered_hash))); +(cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD = (8)); +(cljs.core.PersistentArrayMap.fromArray = (function (arr,no_clone,no_check){ +var arr__$1 = ((no_clone)?arr:cljs.core.aclone(arr)); +var arr__$2 = ((no_check)?arr__$1:(function (){var ret = []; +var i_32985 = (0); +while(true){ +if((i_32985 < arr__$1.length)){ +var k_32987 = (arr__$1[i_32985]); +var v_32988 = (arr__$1[(i_32985 + (1))]); +var idx_32989 = cljs.core.array_index_of(ret,k_32987); +if((idx_32989 === (-1))){ +ret.push(k_32987); + +ret.push(v_32988); +} else { +} + +var G__32990 = (i_32985 + (2)); +i_32985 = G__32990; +continue; +} else { +} +break; +} + +return ret; +})()); +var cnt = (arr__$2.length / (2)); +return (new cljs.core.PersistentArrayMap(null,cnt,arr__$2,null)); +})); +(cljs.core.PersistentArrayMap.createWithCheck = (function (arr){ +var ret = []; +var i_32992 = (0); +while(true){ +if((i_32992 < arr.length)){ +var k_32993 = (arr[i_32992]); +var v_32994 = (arr[(i_32992 + (1))]); +var idx_32995 = cljs.core.array_index_of(ret,k_32993); +if((idx_32995 === (-1))){ +var G__27530_32996 = ret; +G__27530_32996.push(k_32993); + +G__27530_32996.push(v_32994); + +} else { +throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(k_32993)].join(''))); +} + +var G__32998 = (i_32992 + (2)); +i_32992 = G__32998; +continue; +} else { +} +break; +} + +var cnt = (arr.length / (2)); +return (new cljs.core.PersistentArrayMap(null,cnt,arr,null)); +})); +cljs.core.key_test = (function cljs$core$key_test(key,other){ +if((key === other)){ +return true; +} else { +if(cljs.core.keyword_identical_QMARK_(key,other)){ +return true; +} else { +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(key,other); + +} +} +}); +cljs.core.pam_dupes_QMARK_ = (function cljs$core$pam_dupes_QMARK_(arr){ +var i = (0); +while(true){ +if((i < arr.length)){ +var dupe_QMARK_ = (function (){var j = (0); +while(true){ +if((j < i)){ +var or__5045__auto__ = cljs.core.key_test((arr[i]),(arr[j])); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var G__33001 = ((2) + j); +j = G__33001; +continue; +} +} else { +return false; +} +break; +} +})(); +var or__5045__auto__ = dupe_QMARK_; +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var G__33002 = ((2) + i); +i = G__33002; +continue; +} +} else { +return false; +} +break; +} +}); +cljs.core.pam_new_size = (function cljs$core$pam_new_size(arr){ +var i = (0); +var n = (0); +while(true){ +if((i < arr.length)){ +var dupe_QMARK_ = (function (){var j = (0); +while(true){ +if((j < i)){ +var or__5045__auto__ = cljs.core.key_test((arr[i]),(arr[j])); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var G__33007 = ((2) + j); +j = G__33007; +continue; +} +} else { +return false; +} +break; +} +})(); +var G__33008 = ((2) + i); +var G__33009 = ((dupe_QMARK_)?n:(n + (2))); +i = G__33008; +n = G__33009; +continue; +} else { +return n; +} +break; +} +}); +cljs.core.pam_grow_seed_array = (function cljs$core$pam_grow_seed_array(seed,trailing){ +var seed_cnt = (seed.length - (1)); +var extra_kvs = cljs.core.seq(trailing); +var ret = (new Array((seed_cnt + ((2) * cljs.core.count(extra_kvs))))); +var ret__$1 = cljs.core.array_copy(seed,(0),ret,(0),seed_cnt); +var i = seed_cnt; +var extra_kvs__$1 = extra_kvs; +while(true){ +if(extra_kvs__$1){ +var kv = cljs.core.first(extra_kvs__$1); +(ret__$1[i] = cljs.core._key(kv)); + +(ret__$1[(i + (1))] = cljs.core._val(kv)); + +var G__33013 = ((2) + seed_cnt); +var G__33014 = cljs.core.next(extra_kvs__$1); +i = G__33013; +extra_kvs__$1 = G__33014; +continue; +} else { +return ret__$1; +} +break; +} +}); +(cljs.core.PersistentArrayMap.createAsIfByAssoc = (function (init){ +var len = init.length; +var has_trailing_QMARK_ = ((1) === (len & (1))); +if((!(((has_trailing_QMARK_) || (cljs.core.pam_dupes_QMARK_(init)))))){ +return (new cljs.core.PersistentArrayMap(null,(len / (2)),init,null)); +} else { +return cljs.core.PersistentArrayMap.createAsIfByAssocComplexPath(init,has_trailing_QMARK_); +} +})); +(cljs.core.PersistentArrayMap.createAsIfByAssocComplexPath = (function (init,has_trailing_QMARK_){ +var init__$1 = ((has_trailing_QMARK_)?cljs.core.pam_grow_seed_array(init,cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,(init[(init.length - (1))]))):init); +var n = cljs.core.pam_new_size(init__$1); +var len = init__$1.length; +if((n < len)){ +var nodups = (new Array(n)); +var i_33018 = (0); +var m_33019 = (0); +while(true){ +if((i_33018 < len)){ +var dupe_QMARK__33020 = (function (){var j = (0); +while(true){ +if((j < m_33019)){ +var or__5045__auto__ = cljs.core.key_test((init__$1[i_33018]),(init__$1[j])); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var G__33023 = ((2) + j); +j = G__33023; +continue; +} +} else { +return false; +} +break; +} +})(); +if((!(dupe_QMARK__33020))){ +var j_33025 = (function (){var j_33025 = (len - (2)); +while(true){ +if((j_33025 >= i_33018)){ +if(cljs.core.key_test((init__$1[i_33018]),(init__$1[j_33025]))){ +return j_33025; +} else { +var G__33027 = (j_33025 - (2)); +j_33025 = G__33027; +continue; +} +} else { +return j_33025; +} +break; +} +})(); +(nodups[m_33019] = (init__$1[i_33018])); + +(nodups[(m_33019 + (1))] = (init__$1[(j_33025 + (1))])); + +var G__33029 = ((2) + i_33018); +var G__33030 = ((2) + m_33019); +i_33018 = G__33029; +m_33019 = G__33030; +continue; +} else { +var G__33031 = ((2) + i_33018); +var G__33032 = m_33019; +i_33018 = G__33031; +m_33019 = G__33032; +continue; +} +} else { +} +break; +} + +return (new cljs.core.PersistentArrayMap(null,(nodups.length / (2)),nodups,null)); +} else { +return (new cljs.core.PersistentArrayMap(null,(init__$1.length / (2)),init__$1,null)); +} +})); +(cljs.core.PersistentArrayMap.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IFn} + * @implements {cljs.core.ITransientMap} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ITransientCollection} + * @implements {cljs.core.ITransientAssociative} + * @implements {cljs.core.ILookup} +*/ +cljs.core.TransientArrayMap = (function (editable_QMARK_,len,arr){ +this.editable_QMARK_ = editable_QMARK_; +this.len = len; +this.arr = arr; +this.cljs$lang$protocol_mask$partition0$ = 259; +this.cljs$lang$protocol_mask$partition1$ = 56; +}); +(cljs.core.TransientArrayMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +return cljs.core.quot(self__.len,(2)); +} else { +throw (new Error("count after persistent!")); +} +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (tcoll,k){ +var self__ = this; +var tcoll__$1 = this; +return tcoll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (tcoll,k,not_found){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +var idx = cljs.core.array_map_index_of(tcoll__$1,k); +if((idx === (-1))){ +return not_found; +} else { +return (self__.arr[(idx + (1))]); +} +} else { +throw (new Error("lookup after persistent!")); +} +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +if(cljs.core.map_entry_QMARK_(o)){ +return tcoll__$1.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null, (cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.key.call(null, o)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.val.call(null, o))); +} else { +if(cljs.core.vector_QMARK_(o)){ +return tcoll__$1.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null, (o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((0)) : o.call(null, (0))),(o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((1)) : o.call(null, (1)))); +} else { +var es = cljs.core.seq(o); +var tcoll__$2 = tcoll__$1; +while(true){ +var temp__5821__auto__ = cljs.core.first(es); +if(cljs.core.truth_(temp__5821__auto__)){ +var e = temp__5821__auto__; +var G__33036 = cljs.core.next(es); +var G__33037 = cljs.core._assoc_BANG_(tcoll__$2,(cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.key.call(null, e)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.val.call(null, e))); +es = G__33036; +tcoll__$2 = G__33037; +continue; +} else { +return tcoll__$2; +} +break; +} + +} +} +} else { +throw (new Error("conj! after persistent!")); +} +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +(self__.editable_QMARK_ = false); + +return (new cljs.core.PersistentArrayMap(null,cljs.core.quot(self__.len,(2)),self__.arr,null)); +} else { +throw (new Error("persistent! called twice")); +} +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,key,val){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +var idx = cljs.core.array_map_index_of(tcoll__$1,key); +if((idx === (-1))){ +if(((self__.len + (2)) <= ((2) * cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD))){ +(self__.len = (self__.len + (2))); + +self__.arr.push(key); + +self__.arr.push(val); + +return tcoll__$1; +} else { +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3((cljs.core.array__GT_transient_hash_map.cljs$core$IFn$_invoke$arity$2 ? cljs.core.array__GT_transient_hash_map.cljs$core$IFn$_invoke$arity$2(self__.len,self__.arr) : cljs.core.array__GT_transient_hash_map.call(null, self__.len,self__.arr)),key,val); +} +} else { +if((val === (self__.arr[(idx + (1))]))){ +return tcoll__$1; +} else { +(self__.arr[(idx + (1))] = val); + +return tcoll__$1; +} +} +} else { +throw (new Error("assoc! after persistent!")); +} +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 = (function (tcoll,key){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +var idx = cljs.core.array_map_index_of(tcoll__$1,key); +if((idx >= (0))){ +(self__.arr[idx] = (self__.arr[(self__.len - (2))])); + +(self__.arr[(idx + (1))] = (self__.arr[(self__.len - (1))])); + +var G__27532_33038 = self__.arr; +G__27532_33038.pop(); + +G__27532_33038.pop(); + + +(self__.len = (self__.len - (2))); +} else { +} + +return tcoll__$1; +} else { +throw (new Error("dissoc! after persistent!")); +} +})); + +(cljs.core.TransientArrayMap.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27533 = (arguments.length - (1)); +switch (G__27533) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.TransientArrayMap.prototype.apply = (function (self__,args27531){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27531))); +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (key){ +var self__ = this; +var tcoll = this; +return tcoll.cljs$core$ILookup$_lookup$arity$3(null, key,null); +})); + +(cljs.core.TransientArrayMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (key,not_found){ +var self__ = this; +var tcoll = this; +return tcoll.cljs$core$ILookup$_lookup$arity$3(null, key,not_found); +})); + +(cljs.core.TransientArrayMap.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"editable?","editable?",-164945806,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"len","len",-1230778691,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"arr","arr",2115492975,null)], null); +})); + +(cljs.core.TransientArrayMap.cljs$lang$type = true); + +(cljs.core.TransientArrayMap.cljs$lang$ctorStr = "cljs.core/TransientArrayMap"); + +(cljs.core.TransientArrayMap.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/TransientArrayMap"); +})); + +/** + * Positional factory function for cljs.core/TransientArrayMap. + */ +cljs.core.__GT_TransientArrayMap = (function cljs$core$__GT_TransientArrayMap(editable_QMARK_,len,arr){ +return (new cljs.core.TransientArrayMap(editable_QMARK_,len,arr)); +}); + +cljs.core.array__GT_transient_hash_map = (function cljs$core$array__GT_transient_hash_map(len,arr){ +var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); +var i = (0); +while(true){ +if((i < len)){ +var G__33040 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,(arr[i]),(arr[(i + (1))])); +var G__33041 = (i + (2)); +out = G__33040; +i = G__33041; +continue; +} else { +return out; +} +break; +} +}); + +/** +* @constructor +*/ +cljs.core.Box = (function (val){ +this.val = val; +}); + +(cljs.core.Box.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Box.cljs$lang$type = true); + +(cljs.core.Box.cljs$lang$ctorStr = "cljs.core/Box"); + +(cljs.core.Box.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Box"); +})); + +/** + * Positional factory function for cljs.core/Box. + */ +cljs.core.__GT_Box = (function cljs$core$__GT_Box(val){ +return (new cljs.core.Box(val)); +}); + + + + + + +cljs.core.mask = (function cljs$core$mask(hash,shift){ +return ((hash >>> shift) & (31)); +}); +cljs.core.clone_and_set = (function cljs$core$clone_and_set(var_args){ +var G__27535 = arguments.length; +switch (G__27535) { +case 3: +return cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 5: +return cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3 = (function (arr,i,a){ +var G__27536 = cljs.core.aclone(arr); +(G__27536[i] = a); + +return G__27536; +})); + +(cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5 = (function (arr,i,a,j,b){ +var G__27537 = cljs.core.aclone(arr); +(G__27537[i] = a); + +(G__27537[j] = b); + +return G__27537; +})); + +(cljs.core.clone_and_set.cljs$lang$maxFixedArity = 5); + +cljs.core.remove_pair = (function cljs$core$remove_pair(arr,i){ +var new_arr = (new Array((arr.length - (2)))); +cljs.core.array_copy(arr,(0),new_arr,(0),((2) * i)); + +cljs.core.array_copy(arr,((2) * (i + (1))),new_arr,((2) * i),(new_arr.length - ((2) * i))); + +return new_arr; +}); +cljs.core.bitmap_indexed_node_index = (function cljs$core$bitmap_indexed_node_index(bitmap,bit){ +return cljs.core.bit_count((bitmap & (bit - (1)))); +}); +cljs.core.bitpos = (function cljs$core$bitpos(hash,shift){ +return ((1) << ((hash >>> shift) & 0x01f)); +}); +cljs.core.edit_and_set = (function cljs$core$edit_and_set(var_args){ +var G__27539 = arguments.length; +switch (G__27539) { +case 4: +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 6: +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4 = (function (inode,edit,i,a){ +var editable = inode.ensure_editable(edit); +(editable.arr[i] = a); + +return editable; +})); + +(cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6 = (function (inode,edit,i,a,j,b){ +var editable = inode.ensure_editable(edit); +(editable.arr[i] = a); + +(editable.arr[j] = b); + +return editable; +})); + +(cljs.core.edit_and_set.cljs$lang$maxFixedArity = 6); + +cljs.core.inode_kv_reduce = (function cljs$core$inode_kv_reduce(arr,f,init){ +var len = arr.length; +var i = (0); +var init__$1 = init; +while(true){ +if((i < len)){ +var init__$2 = (function (){var k = (arr[i]); +if((!((k == null)))){ +var G__27540 = init__$1; +var G__27541 = k; +var G__27542 = (arr[(i + (1))]); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27540,G__27541,G__27542) : f.call(null, G__27540,G__27541,G__27542)); +} else { +var node = (arr[(i + (1))]); +if((!((node == null)))){ +return node.kv_reduce(f,init__$1); +} else { +return init__$1; +} +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return init__$2; +} else { +var G__33122 = (i + (2)); +var G__33123 = init__$2; +i = G__33122; +init__$1 = G__33123; +continue; +} +} else { +return init__$1; +} +break; +} +}); + +/** +* @constructor +*/ +cljs.core.NodeIterator = (function (arr,i,next_entry,next_iter){ +this.arr = arr; +this.i = i; +this.next_entry = next_entry; +this.next_iter = next_iter; +}); +(cljs.core.NodeIterator.prototype.advance = (function (){ +var self__ = this; +var this$ = this; +var len = self__.arr.length; +while(true){ +if((self__.i < len)){ +var key = (self__.arr[self__.i]); +var node_or_val = (self__.arr[(self__.i + (1))]); +var found = (((!((key == null))))?(self__.next_entry = (new cljs.core.MapEntry(key,node_or_val,null))):(((!((node_or_val == null))))?(function (){var new_iter = cljs.core._iterator(node_or_val); +if(new_iter.hasNext()){ +return (self__.next_iter = new_iter); +} else { +return false; +} +})():false +)); +(self__.i = (self__.i + (2))); + +if(found){ +return true; +} else { +continue; +} +} else { +return false; +} +break; +} +})); + +(cljs.core.NodeIterator.prototype.hasNext = (function (){ +var self__ = this; +var this$ = this; +var or__5045__auto__ = (!((self__.next_entry == null))); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (!((self__.next_iter == null))); +if(or__5045__auto____$1){ +return or__5045__auto____$1; +} else { +return this$.advance(); +} +} +})); + +(cljs.core.NodeIterator.prototype.next = (function (){ +var self__ = this; +var this$ = this; +if((!((self__.next_entry == null)))){ +var ret = self__.next_entry; +(self__.next_entry = null); + +return ret; +} else { +if((!((self__.next_iter == null)))){ +var ret = self__.next_iter.next(); +if(self__.next_iter.hasNext()){ +} else { +(self__.next_iter = null); +} + +return ret; +} else { +if(this$.advance()){ +return this$.next(); +} else { +throw (new Error("No such element")); + +} +} +} +})); + +(cljs.core.NodeIterator.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.NodeIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next-entry","next-entry",1091342476,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next-iter","next-iter",1526626239,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.NodeIterator.cljs$lang$type = true); + +(cljs.core.NodeIterator.cljs$lang$ctorStr = "cljs.core/NodeIterator"); + +(cljs.core.NodeIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/NodeIterator"); +})); + +/** + * Positional factory function for cljs.core/NodeIterator. + */ +cljs.core.__GT_NodeIterator = (function cljs$core$__GT_NodeIterator(arr,i,next_entry,next_iter){ +return (new cljs.core.NodeIterator(arr,i,next_entry,next_iter)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIterable} +*/ +cljs.core.BitmapIndexedNode = (function (edit,bitmap,arr){ +this.edit = edit; +this.bitmap = bitmap; +this.arr = arr; +this.cljs$lang$protocol_mask$partition1$ = 131072; +this.cljs$lang$protocol_mask$partition0$ = 0; +}); +(cljs.core.BitmapIndexedNode.prototype.ensure_editable = (function (e){ +var self__ = this; +var inode = this; +if((e === self__.edit)){ +return inode; +} else { +var n = cljs.core.bit_count(self__.bitmap); +var new_arr = (new Array((((n < (0)))?(4):((2) * (n + (1)))))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * n)); + +return (new cljs.core.BitmapIndexedNode(e,self__.bitmap,new_arr)); +} +})); + +(cljs.core.BitmapIndexedNode.prototype.inode_without_BANG_ = (function (edit__$1,shift,hash,key,removed_leaf_QMARK_){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +if(((self__.bitmap & bit) === (0))){ +return inode; +} else { +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +var n = val_or_node.inode_without_BANG_(edit__$1,(shift + (5)),hash,key,removed_leaf_QMARK_); +if((n === val_or_node)){ +return inode; +} else { +if((!((n == null)))){ +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),n); +} else { +if((self__.bitmap === bit)){ +return null; +} else { +return inode.edit_and_remove_pair(edit__$1,bit,idx); + +} +} +} +} else { +if(cljs.core.key_test(key,key_or_nil)){ +(removed_leaf_QMARK_.val = true); + +return inode.edit_and_remove_pair(edit__$1,bit,idx); +} else { +return inode; + +} +} +} +})); + +(cljs.core.BitmapIndexedNode.prototype.edit_and_remove_pair = (function (e,bit,i){ +var self__ = this; +var inode = this; +if((self__.bitmap === bit)){ +return null; +} else { +var editable = inode.ensure_editable(e); +var earr = editable.arr; +var len = earr.length; +(editable.bitmap = (bit ^ editable.bitmap)); + +cljs.core.array_copy(earr,((2) * (i + (1))),earr,((2) * i),(len - ((2) * (i + (1))))); + +(earr[(len - (2))] = null); + +(earr[(len - (1))] = null); + +return editable; +} +})); + +(cljs.core.BitmapIndexedNode.prototype.inode_seq = (function (){ +var self__ = this; +var inode = this; +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1(self__.arr) : cljs.core.create_inode_seq.call(null, self__.arr)); +})); + +(cljs.core.BitmapIndexedNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var inode = this; +return cljs.core.inode_kv_reduce(self__.arr,f,init); +})); + +(cljs.core.BitmapIndexedNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +if(((self__.bitmap & bit) === (0))){ +return not_found; +} else { +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +return val_or_node.inode_lookup((shift + (5)),hash,key,not_found); +} else { +if(cljs.core.key_test(key,key_or_nil)){ +return val_or_node; +} else { +return not_found; + +} +} +} +})); + +(cljs.core.BitmapIndexedNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +if(((self__.bitmap & bit) === (0))){ +var n = cljs.core.bit_count(self__.bitmap); +if((((2) * n) < self__.arr.length)){ +var editable = inode.ensure_editable(edit__$1); +var earr = editable.arr; +(added_leaf_QMARK_.val = true); + +cljs.core.array_copy_downward(earr,((2) * idx),earr,((2) * (idx + (1))),((2) * (n - idx))); + +(earr[((2) * idx)] = key); + +(earr[(((2) * idx) + (1))] = val); + +(editable.bitmap = (editable.bitmap | bit)); + +return editable; +} else { +if((n >= (16))){ +var nodes = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +var jdx = ((hash >>> shift) & 0x01f); +(nodes[jdx] = cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_)); + +var i_33149 = (0); +var j_33150 = (0); +while(true){ +if((i_33149 < (32))){ +if((((self__.bitmap >>> i_33149) & (1)) === (0))){ +var G__33151 = (i_33149 + (1)); +var G__33152 = j_33150; +i_33149 = G__33151; +j_33150 = G__33152; +continue; +} else { +(nodes[i_33149] = (((!(((self__.arr[j_33150]) == null))))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),cljs.core.hash((self__.arr[j_33150])),(self__.arr[j_33150]),(self__.arr[(j_33150 + (1))]),added_leaf_QMARK_):(self__.arr[(j_33150 + (1))]))); + +var G__33153 = (i_33149 + (1)); +var G__33154 = (j_33150 + (2)); +i_33149 = G__33153; +j_33150 = G__33154; +continue; +} +} else { +} +break; +} + +return (new cljs.core.ArrayNode(edit__$1,(n + (1)),nodes)); +} else { +var new_arr = (new Array(((2) * (n + (4))))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * idx)); + +(new_arr[((2) * idx)] = key); + +(new_arr[(((2) * idx) + (1))] = val); + +cljs.core.array_copy(self__.arr,((2) * idx),new_arr,((2) * (idx + (1))),((2) * (n - idx))); + +(added_leaf_QMARK_.val = true); + +var editable = inode.ensure_editable(edit__$1); +(editable.arr = new_arr); + +(editable.bitmap = (editable.bitmap | bit)); + +return editable; + +} +} +} else { +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +var n = val_or_node.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_); +if((n === val_or_node)){ +return inode; +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),n); +} +} else { +if(cljs.core.key_test(key,key_or_nil)){ +if((val === val_or_node)){ +return inode; +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(((2) * idx) + (1)),val); +} +} else { +(added_leaf_QMARK_.val = true); + +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6(inode,edit__$1,((2) * idx),null,(((2) * idx) + (1)),(function (){var G__27543 = edit__$1; +var G__27544 = (shift + (5)); +var G__27545 = key_or_nil; +var G__27546 = val_or_node; +var G__27547 = hash; +var G__27548 = key; +var G__27549 = val; +return (cljs.core.create_node.cljs$core$IFn$_invoke$arity$7 ? cljs.core.create_node.cljs$core$IFn$_invoke$arity$7(G__27543,G__27544,G__27545,G__27546,G__27547,G__27548,G__27549) : cljs.core.create_node.call(null, G__27543,G__27544,G__27545,G__27546,G__27547,G__27548,G__27549)); +})()); + +} +} +} +})); + +(cljs.core.BitmapIndexedNode.prototype.inode_assoc = (function (shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +if(((self__.bitmap & bit) === (0))){ +var n = cljs.core.bit_count(self__.bitmap); +if((n >= (16))){ +var nodes = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +var jdx = ((hash >>> shift) & 0x01f); +(nodes[jdx] = cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_)); + +var i_33165 = (0); +var j_33166 = (0); +while(true){ +if((i_33165 < (32))){ +if((((self__.bitmap >>> i_33165) & (1)) === (0))){ +var G__33167 = (i_33165 + (1)); +var G__33168 = j_33166; +i_33165 = G__33167; +j_33166 = G__33168; +continue; +} else { +(nodes[i_33165] = (((!(((self__.arr[j_33166]) == null))))?cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),cljs.core.hash((self__.arr[j_33166])),(self__.arr[j_33166]),(self__.arr[(j_33166 + (1))]),added_leaf_QMARK_):(self__.arr[(j_33166 + (1))]))); + +var G__33170 = (i_33165 + (1)); +var G__33171 = (j_33166 + (2)); +i_33165 = G__33170; +j_33166 = G__33171; +continue; +} +} else { +} +break; +} + +return (new cljs.core.ArrayNode(null,(n + (1)),nodes)); +} else { +var new_arr = (new Array(((2) * (n + (1))))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * idx)); + +(new_arr[((2) * idx)] = key); + +(new_arr[(((2) * idx) + (1))] = val); + +cljs.core.array_copy(self__.arr,((2) * idx),new_arr,((2) * (idx + (1))),((2) * (n - idx))); + +(added_leaf_QMARK_.val = true); + +return (new cljs.core.BitmapIndexedNode(null,(self__.bitmap | bit),new_arr)); +} +} else { +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +var n = val_or_node.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_); +if((n === val_or_node)){ +return inode; +} else { +return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),n))); +} +} else { +if(cljs.core.key_test(key,key_or_nil)){ +if((val === val_or_node)){ +return inode; +} else { +return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),val))); +} +} else { +(added_leaf_QMARK_.val = true); + +return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$5(self__.arr,((2) * idx),null,(((2) * idx) + (1)),(function (){var G__27550 = (shift + (5)); +var G__27551 = key_or_nil; +var G__27552 = val_or_node; +var G__27553 = hash; +var G__27554 = key; +var G__27555 = val; +return (cljs.core.create_node.cljs$core$IFn$_invoke$arity$6 ? cljs.core.create_node.cljs$core$IFn$_invoke$arity$6(G__27550,G__27551,G__27552,G__27553,G__27554,G__27555) : cljs.core.create_node.call(null, G__27550,G__27551,G__27552,G__27553,G__27554,G__27555)); +})()))); + +} +} +} +})); + +(cljs.core.BitmapIndexedNode.prototype.inode_find = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +if(((self__.bitmap & bit) === (0))){ +return not_found; +} else { +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +return val_or_node.inode_find((shift + (5)),hash,key,not_found); +} else { +if(cljs.core.key_test(key,key_or_nil)){ +return (new cljs.core.MapEntry(key_or_nil,val_or_node,null)); +} else { +return not_found; + +} +} +} +})); + +(cljs.core.BitmapIndexedNode.prototype.inode_without = (function (shift,hash,key){ +var self__ = this; +var inode = this; +var bit = (1 << ((hash >>> shift) & 0x01f)); +if(((self__.bitmap & bit) === (0))){ +return inode; +} else { +var idx = cljs.core.bitmap_indexed_node_index(self__.bitmap,bit); +var key_or_nil = (self__.arr[((2) * idx)]); +var val_or_node = (self__.arr[(((2) * idx) + (1))]); +if((key_or_nil == null)){ +var n = val_or_node.inode_without((shift + (5)),hash,key); +if((n === val_or_node)){ +return inode; +} else { +if((!((n == null)))){ +return (new cljs.core.BitmapIndexedNode(null,self__.bitmap,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(((2) * idx) + (1)),n))); +} else { +if((self__.bitmap === bit)){ +return null; +} else { +return (new cljs.core.BitmapIndexedNode(null,(self__.bitmap ^ bit),cljs.core.remove_pair(self__.arr,idx))); + +} +} +} +} else { +if(cljs.core.key_test(key,key_or_nil)){ +if((self__.bitmap === bit)){ +return null; +} else { +return (new cljs.core.BitmapIndexedNode(null,(self__.bitmap ^ bit),cljs.core.remove_pair(self__.arr,idx))); +} +} else { +return inode; + +} +} +} +})); + +(cljs.core.BitmapIndexedNode.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.NodeIterator(self__.arr,(0),null,null)); +})); + +(cljs.core.BitmapIndexedNode.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),cljs.core.with_meta(new cljs.core.Symbol(null,"bitmap","bitmap",501334601,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.BitmapIndexedNode.cljs$lang$type = true); + +(cljs.core.BitmapIndexedNode.cljs$lang$ctorStr = "cljs.core/BitmapIndexedNode"); + +(cljs.core.BitmapIndexedNode.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/BitmapIndexedNode"); +})); + +/** + * Positional factory function for cljs.core/BitmapIndexedNode. + */ +cljs.core.__GT_BitmapIndexedNode = (function cljs$core$__GT_BitmapIndexedNode(edit,bitmap,arr){ +return (new cljs.core.BitmapIndexedNode(edit,bitmap,arr)); +}); + +(cljs.core.BitmapIndexedNode.EMPTY = (new cljs.core.BitmapIndexedNode(null,(0),[]))); +cljs.core.pack_array_node = (function cljs$core$pack_array_node(array_node,edit,idx){ +var arr = array_node.arr; +var len = arr.length; +var new_arr = (new Array(((2) * (array_node.cnt - (1))))); +var i = (0); +var j = (1); +var bitmap = (0); +while(true){ +if((i < len)){ +if((((!((i === idx)))) && ((!(((arr[i]) == null)))))){ +(new_arr[j] = (arr[i])); + +var G__33177 = (i + (1)); +var G__33178 = (j + (2)); +var G__33179 = (bitmap | ((1) << i)); +i = G__33177; +j = G__33178; +bitmap = G__33179; +continue; +} else { +var G__33180 = (i + (1)); +var G__33181 = j; +var G__33182 = bitmap; +i = G__33180; +j = G__33181; +bitmap = G__33182; +continue; +} +} else { +return (new cljs.core.BitmapIndexedNode(edit,bitmap,new_arr)); +} +break; +} +}); + +/** +* @constructor +*/ +cljs.core.ArrayNodeIterator = (function (arr,i,next_iter){ +this.arr = arr; +this.i = i; +this.next_iter = next_iter; +}); +(cljs.core.ArrayNodeIterator.prototype.hasNext = (function (){ +var self__ = this; +var this$ = this; +var len = self__.arr.length; +while(true){ +if((!((((!((self__.next_iter == null)))) && (self__.next_iter.hasNext()))))){ +if((self__.i < len)){ +var node = (self__.arr[self__.i]); +(self__.i = (self__.i + (1))); + +if((!((node == null)))){ +(self__.next_iter = cljs.core._iterator(node)); +} else { +} + +continue; +} else { +return false; +} +} else { +return true; +} +break; +} +})); + +(cljs.core.ArrayNodeIterator.prototype.next = (function (){ +var self__ = this; +var this$ = this; +if(this$.hasNext()){ +return self__.next_iter.next(); +} else { +throw (new Error("No such element")); +} +})); + +(cljs.core.ArrayNodeIterator.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.ArrayNodeIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"next-iter","next-iter",1526626239,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ArrayNodeIterator.cljs$lang$type = true); + +(cljs.core.ArrayNodeIterator.cljs$lang$ctorStr = "cljs.core/ArrayNodeIterator"); + +(cljs.core.ArrayNodeIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ArrayNodeIterator"); +})); + +/** + * Positional factory function for cljs.core/ArrayNodeIterator. + */ +cljs.core.__GT_ArrayNodeIterator = (function cljs$core$__GT_ArrayNodeIterator(arr,i,next_iter){ +return (new cljs.core.ArrayNodeIterator(arr,i,next_iter)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIterable} +*/ +cljs.core.ArrayNode = (function (edit,cnt,arr){ +this.edit = edit; +this.cnt = cnt; +this.arr = arr; +this.cljs$lang$protocol_mask$partition1$ = 131072; +this.cljs$lang$protocol_mask$partition0$ = 0; +}); +(cljs.core.ArrayNode.prototype.ensure_editable = (function (e){ +var self__ = this; +var inode = this; +if((e === self__.edit)){ +return inode; +} else { +return (new cljs.core.ArrayNode(e,self__.cnt,cljs.core.aclone(self__.arr))); +} +})); + +(cljs.core.ArrayNode.prototype.inode_without_BANG_ = (function (edit__$1,shift,hash,key,removed_leaf_QMARK_){ +var self__ = this; +var inode = this; +var idx = ((hash >>> shift) & 0x01f); +var node = (self__.arr[idx]); +if((node == null)){ +return inode; +} else { +var n = node.inode_without_BANG_(edit__$1,(shift + (5)),hash,key,removed_leaf_QMARK_); +if((n === node)){ +return inode; +} else { +if((n == null)){ +if((self__.cnt <= (8))){ +return cljs.core.pack_array_node(inode,edit__$1,idx); +} else { +var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); +(editable.cnt = (editable.cnt - (1))); + +return editable; +} +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); + +} +} +} +})); + +(cljs.core.ArrayNode.prototype.inode_seq = (function (){ +var self__ = this; +var inode = this; +return (cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1(self__.arr) : cljs.core.create_array_node_seq.call(null, self__.arr)); +})); + +(cljs.core.ArrayNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var inode = this; +var len = self__.arr.length; +var i = (0); +var init__$1 = init; +while(true){ +if((i < len)){ +var node = (self__.arr[i]); +if((!((node == null)))){ +var init__$2 = node.kv_reduce(f,init__$1); +if(cljs.core.reduced_QMARK_(init__$2)){ +return init__$2; +} else { +var G__33191 = (i + (1)); +var G__33192 = init__$2; +i = G__33191; +init__$1 = G__33192; +continue; +} +} else { +var G__33193 = (i + (1)); +var G__33194 = init__$1; +i = G__33193; +init__$1 = G__33194; +continue; +} +} else { +return init__$1; +} +break; +} +})); + +(cljs.core.ArrayNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var idx = ((hash >>> shift) & 0x01f); +var node = (self__.arr[idx]); +if((!((node == null)))){ +return node.inode_lookup((shift + (5)),hash,key,not_found); +} else { +return not_found; +} +})); + +(cljs.core.ArrayNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +var idx = ((hash >>> shift) & 0x01f); +var node = (self__.arr[idx]); +if((node == null)){ +var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_)); +(editable.cnt = (editable.cnt + (1))); + +return editable; +} else { +var n = node.inode_assoc_BANG_(edit__$1,(shift + (5)),hash,key,val,added_leaf_QMARK_); +if((n === node)){ +return inode; +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,idx,n); +} +} +})); + +(cljs.core.ArrayNode.prototype.inode_assoc = (function (shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +var idx = ((hash >>> shift) & 0x01f); +var node = (self__.arr[idx]); +if((node == null)){ +return (new cljs.core.ArrayNode(null,(self__.cnt + (1)),cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,cljs.core.BitmapIndexedNode.EMPTY.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_)))); +} else { +var n = node.inode_assoc((shift + (5)),hash,key,val,added_leaf_QMARK_); +if((n === node)){ +return inode; +} else { +return (new cljs.core.ArrayNode(null,self__.cnt,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,n))); +} +} +})); + +(cljs.core.ArrayNode.prototype.inode_find = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var idx = ((hash >>> shift) & 0x01f); +var node = (self__.arr[idx]); +if((!((node == null)))){ +return node.inode_find((shift + (5)),hash,key,not_found); +} else { +return not_found; +} +})); + +(cljs.core.ArrayNode.prototype.inode_without = (function (shift,hash,key){ +var self__ = this; +var inode = this; +var idx = ((hash >>> shift) & 0x01f); +var node = (self__.arr[idx]); +if((!((node == null)))){ +var n = node.inode_without((shift + (5)),hash,key); +if((n === node)){ +return inode; +} else { +if((n == null)){ +if((self__.cnt <= (8))){ +return cljs.core.pack_array_node(inode,null,idx); +} else { +return (new cljs.core.ArrayNode(null,(self__.cnt - (1)),cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,n))); +} +} else { +return (new cljs.core.ArrayNode(null,self__.cnt,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,idx,n))); + +} +} +} else { +return inode; +} +})); + +(cljs.core.ArrayNode.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.ArrayNodeIterator(self__.arr,(0),null)); +})); + +(cljs.core.ArrayNode.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),cljs.core.with_meta(new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ArrayNode.cljs$lang$type = true); + +(cljs.core.ArrayNode.cljs$lang$ctorStr = "cljs.core/ArrayNode"); + +(cljs.core.ArrayNode.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ArrayNode"); +})); + +/** + * Positional factory function for cljs.core/ArrayNode. + */ +cljs.core.__GT_ArrayNode = (function cljs$core$__GT_ArrayNode(edit,cnt,arr){ +return (new cljs.core.ArrayNode(edit,cnt,arr)); +}); + +cljs.core.hash_collision_node_find_index = (function cljs$core$hash_collision_node_find_index(arr,cnt,key){ +var lim = ((2) * cnt); +var i = (0); +while(true){ +if((i < lim)){ +if(cljs.core.key_test(key,(arr[i]))){ +return i; +} else { +var G__33213 = (i + (2)); +i = G__33213; +continue; +} +} else { +return (-1); +} +break; +} +}); + +/** +* @constructor + * @implements {cljs.core.IIterable} +*/ +cljs.core.HashCollisionNode = (function (edit,collision_hash,cnt,arr){ +this.edit = edit; +this.collision_hash = collision_hash; +this.cnt = cnt; +this.arr = arr; +this.cljs$lang$protocol_mask$partition1$ = 131072; +this.cljs$lang$protocol_mask$partition0$ = 0; +}); +(cljs.core.HashCollisionNode.prototype.ensure_editable = (function (e){ +var self__ = this; +var inode = this; +if((e === self__.edit)){ +return inode; +} else { +var new_arr = (new Array(((2) * (self__.cnt + (1))))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),((2) * self__.cnt)); + +return (new cljs.core.HashCollisionNode(e,self__.collision_hash,self__.cnt,new_arr)); +} +})); + +(cljs.core.HashCollisionNode.prototype.inode_without_BANG_ = (function (edit__$1,shift,hash,key,removed_leaf_QMARK_){ +var self__ = this; +var inode = this; +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx === (-1))){ +return inode; +} else { +(removed_leaf_QMARK_.val = true); + +if((self__.cnt === (1))){ +return null; +} else { +var editable = inode.ensure_editable(edit__$1); +var earr = editable.arr; +(earr[idx] = (earr[(((2) * self__.cnt) - (2))])); + +(earr[(idx + (1))] = (earr[(((2) * self__.cnt) - (1))])); + +(earr[(((2) * self__.cnt) - (1))] = null); + +(earr[(((2) * self__.cnt) - (2))] = null); + +(editable.cnt = (editable.cnt - (1))); + +return editable; +} +} +})); + +(cljs.core.HashCollisionNode.prototype.inode_seq = (function (){ +var self__ = this; +var inode = this; +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1(self__.arr) : cljs.core.create_inode_seq.call(null, self__.arr)); +})); + +(cljs.core.HashCollisionNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var inode = this; +return cljs.core.inode_kv_reduce(self__.arr,f,init); +})); + +(cljs.core.HashCollisionNode.prototype.inode_lookup = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx < (0))){ +return not_found; +} else { +if(cljs.core.key_test(key,(self__.arr[idx]))){ +return (self__.arr[(idx + (1))]); +} else { +return not_found; + +} +} +})); + +(cljs.core.HashCollisionNode.prototype.inode_assoc_BANG_ = (function (edit__$1,shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +if((hash === self__.collision_hash)){ +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx === (-1))){ +if((self__.arr.length > ((2) * self__.cnt))){ +var editable = cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$6(inode,edit__$1,((2) * self__.cnt),key,(((2) * self__.cnt) + (1)),val); +(added_leaf_QMARK_.val = true); + +(editable.cnt = (editable.cnt + (1))); + +return editable; +} else { +var len = self__.arr.length; +var new_arr = (new Array((len + (2)))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),len); + +(new_arr[len] = key); + +(new_arr[(len + (1))] = val); + +(added_leaf_QMARK_.val = true); + +return inode.ensure_editable_array(edit__$1,(self__.cnt + (1)),new_arr); +} +} else { +if(((self__.arr[(idx + (1))]) === val)){ +return inode; +} else { +return cljs.core.edit_and_set.cljs$core$IFn$_invoke$arity$4(inode,edit__$1,(idx + (1)),val); +} +} +} else { +return (new cljs.core.BitmapIndexedNode(edit__$1,(1 << ((self__.collision_hash >>> shift) & 0x01f)),[null,inode,null,null])).inode_assoc_BANG_(edit__$1,shift,hash,key,val,added_leaf_QMARK_); +} +})); + +(cljs.core.HashCollisionNode.prototype.inode_assoc = (function (shift,hash,key,val,added_leaf_QMARK_){ +var self__ = this; +var inode = this; +if((hash === self__.collision_hash)){ +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx === (-1))){ +var len = ((2) * self__.cnt); +var new_arr = (new Array((len + (2)))); +cljs.core.array_copy(self__.arr,(0),new_arr,(0),len); + +(new_arr[len] = key); + +(new_arr[(len + (1))] = val); + +(added_leaf_QMARK_.val = true); + +return (new cljs.core.HashCollisionNode(null,self__.collision_hash,(self__.cnt + (1)),new_arr)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((self__.arr[(idx + (1))]),val)){ +return inode; +} else { +return (new cljs.core.HashCollisionNode(null,self__.collision_hash,self__.cnt,cljs.core.clone_and_set.cljs$core$IFn$_invoke$arity$3(self__.arr,(idx + (1)),val))); +} +} +} else { +return (new cljs.core.BitmapIndexedNode(null,(1 << ((self__.collision_hash >>> shift) & 0x01f)),[null,inode])).inode_assoc(shift,hash,key,val,added_leaf_QMARK_); +} +})); + +(cljs.core.HashCollisionNode.prototype.ensure_editable_array = (function (e,count,array){ +var self__ = this; +var inode = this; +if((e === self__.edit)){ +(self__.arr = array); + +(self__.cnt = count); + +return inode; +} else { +return (new cljs.core.HashCollisionNode(self__.edit,self__.collision_hash,count,array)); +} +})); + +(cljs.core.HashCollisionNode.prototype.inode_find = (function (shift,hash,key,not_found){ +var self__ = this; +var inode = this; +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx < (0))){ +return not_found; +} else { +if(cljs.core.key_test(key,(self__.arr[idx]))){ +return (new cljs.core.MapEntry((self__.arr[idx]),(self__.arr[(idx + (1))]),null)); +} else { +return not_found; + +} +} +})); + +(cljs.core.HashCollisionNode.prototype.inode_without = (function (shift,hash,key){ +var self__ = this; +var inode = this; +var idx = cljs.core.hash_collision_node_find_index(self__.arr,self__.cnt,key); +if((idx === (-1))){ +return inode; +} else { +if((self__.cnt === (1))){ +return null; +} else { +return (new cljs.core.HashCollisionNode(null,self__.collision_hash,(self__.cnt - (1)),cljs.core.remove_pair(self__.arr,cljs.core.quot(idx,(2))))); + +} +} +})); + +(cljs.core.HashCollisionNode.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.NodeIterator(self__.arr,(0),null,null)); +})); + +(cljs.core.HashCollisionNode.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"edit","edit",-1302639,null),cljs.core.with_meta(new cljs.core.Symbol(null,"collision-hash","collision-hash",-35831342,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.HashCollisionNode.cljs$lang$type = true); + +(cljs.core.HashCollisionNode.cljs$lang$ctorStr = "cljs.core/HashCollisionNode"); + +(cljs.core.HashCollisionNode.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/HashCollisionNode"); +})); + +/** + * Positional factory function for cljs.core/HashCollisionNode. + */ +cljs.core.__GT_HashCollisionNode = (function cljs$core$__GT_HashCollisionNode(edit,collision_hash,cnt,arr){ +return (new cljs.core.HashCollisionNode(edit,collision_hash,cnt,arr)); +}); + +cljs.core.create_node = (function cljs$core$create_node(var_args){ +var G__27557 = arguments.length; +switch (G__27557) { +case 6: +return cljs.core.create_node.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +case 7: +return cljs.core.create_node.cljs$core$IFn$_invoke$arity$7((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.create_node.cljs$core$IFn$_invoke$arity$6 = (function (shift,key1,val1,key2hash,key2,val2){ +var key1hash = cljs.core.hash(key1); +if((key1hash === key2hash)){ +return (new cljs.core.HashCollisionNode(null,key1hash,(2),[key1,val1,key2,val2])); +} else { +var added_leaf_QMARK_ = (new cljs.core.Box(false)); +return cljs.core.BitmapIndexedNode.EMPTY.inode_assoc(shift,key1hash,key1,val1,added_leaf_QMARK_).inode_assoc(shift,key2hash,key2,val2,added_leaf_QMARK_); +} +})); + +(cljs.core.create_node.cljs$core$IFn$_invoke$arity$7 = (function (edit,shift,key1,val1,key2hash,key2,val2){ +var key1hash = cljs.core.hash(key1); +if((key1hash === key2hash)){ +return (new cljs.core.HashCollisionNode(null,key1hash,(2),[key1,val1,key2,val2])); +} else { +var added_leaf_QMARK_ = (new cljs.core.Box(false)); +return cljs.core.BitmapIndexedNode.EMPTY.inode_assoc_BANG_(edit,shift,key1hash,key1,val1,added_leaf_QMARK_).inode_assoc_BANG_(edit,shift,key2hash,key2,val2,added_leaf_QMARK_); +} +})); + +(cljs.core.create_node.cljs$lang$maxFixedArity = 7); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.NodeSeq = (function (meta,nodes,i,s,__hash){ +this.meta = meta; +this.nodes = nodes; +this.i = i; +this.s = s; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32374988; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.NodeSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.NodeSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.NodeSeq.prototype.indexOf = (function() { +var G__33237 = null; +var G__33237__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__33237__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33237 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33237__1.call(this,x); +case 2: +return G__33237__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33237.cljs$core$IFn$_invoke$arity$1 = G__33237__1; +G__33237.cljs$core$IFn$_invoke$arity$2 = G__33237__2; +return G__33237; +})() +); + +(cljs.core.NodeSeq.prototype.lastIndexOf = (function() { +var G__33238 = null; +var G__33238__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__33238__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33238 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33238__1.call(this,x); +case 2: +return G__33238__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33238.cljs$core$IFn$_invoke$arity$1 = G__33238__1; +G__33238.cljs$core$IFn$_invoke$arity$2 = G__33238__2; +return G__33238; +})() +); + +(cljs.core.NodeSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.NodeSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.s == null)){ +var G__27558 = self__.nodes; +var G__27559 = (self__.i + (2)); +var G__27560 = null; +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(G__27558,G__27559,G__27560) : cljs.core.create_inode_seq.call(null, G__27558,G__27559,G__27560)); +} else { +var G__27561 = self__.nodes; +var G__27562 = self__.i; +var G__27563 = cljs.core.next(self__.s); +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(G__27561,G__27562,G__27563) : cljs.core.create_inode_seq.call(null, G__27561,G__27562,G__27563)); +} +})); + +(cljs.core.NodeSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.NodeSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.NodeSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.NodeSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.NodeSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.NodeSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.s == null)){ +return (new cljs.core.MapEntry((self__.nodes[self__.i]),(self__.nodes[(self__.i + (1))]),null)); +} else { +return cljs.core.first(self__.s); +} +})); + +(cljs.core.NodeSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var ret = (((self__.s == null))?(function (){var G__27564 = self__.nodes; +var G__27565 = (self__.i + (2)); +var G__27566 = null; +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(G__27564,G__27565,G__27566) : cljs.core.create_inode_seq.call(null, G__27564,G__27565,G__27566)); +})():(function (){var G__27567 = self__.nodes; +var G__27568 = self__.i; +var G__27569 = cljs.core.next(self__.s); +return (cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(G__27567,G__27568,G__27569) : cljs.core.create_inode_seq.call(null, G__27567,G__27568,G__27569)); +})()); +if((!((ret == null)))){ +return ret; +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.NodeSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return this$__$1; +})); + +(cljs.core.NodeSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.NodeSeq(new_meta,self__.nodes,self__.i,self__.s,self__.__hash)); +} +})); + +(cljs.core.NodeSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.NodeSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"nodes","nodes",-459054278,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"s","s",-948495851,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.NodeSeq.cljs$lang$type = true); + +(cljs.core.NodeSeq.cljs$lang$ctorStr = "cljs.core/NodeSeq"); + +(cljs.core.NodeSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/NodeSeq"); +})); + +/** + * Positional factory function for cljs.core/NodeSeq. + */ +cljs.core.__GT_NodeSeq = (function cljs$core$__GT_NodeSeq(meta,nodes,i,s,__hash){ +return (new cljs.core.NodeSeq(meta,nodes,i,s,__hash)); +}); + +(cljs.core.NodeSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.create_inode_seq = (function cljs$core$create_inode_seq(var_args){ +var G__27571 = arguments.length; +switch (G__27571) { +case 1: +return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 3: +return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$1 = (function (nodes){ +return cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3(nodes,(0),null); +})); + +(cljs.core.create_inode_seq.cljs$core$IFn$_invoke$arity$3 = (function (nodes,i,s){ +if((s == null)){ +var len = nodes.length; +var j = i; +while(true){ +if((j < len)){ +if((!(((nodes[j]) == null)))){ +return (new cljs.core.NodeSeq(null,nodes,j,null,null)); +} else { +var temp__5821__auto__ = (nodes[(j + (1))]); +if(cljs.core.truth_(temp__5821__auto__)){ +var node = temp__5821__auto__; +var temp__5821__auto____$1 = node.inode_seq(); +if(cljs.core.truth_(temp__5821__auto____$1)){ +var node_seq = temp__5821__auto____$1; +return (new cljs.core.NodeSeq(null,nodes,(j + (2)),node_seq,null)); +} else { +var G__33252 = (j + (2)); +j = G__33252; +continue; +} +} else { +var G__33253 = (j + (2)); +j = G__33253; +continue; +} +} +} else { +return null; +} +break; +} +} else { +return (new cljs.core.NodeSeq(null,nodes,i,s,null)); +} +})); + +(cljs.core.create_inode_seq.cljs$lang$maxFixedArity = 3); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.ArrayNodeSeq = (function (meta,nodes,i,s,__hash){ +this.meta = meta; +this.nodes = nodes; +this.i = i; +this.s = s; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32374988; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.ArrayNodeSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.ArrayNodeSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.ArrayNodeSeq.prototype.indexOf = (function() { +var G__33254 = null; +var G__33254__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__33254__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33254 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33254__1.call(this,x); +case 2: +return G__33254__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33254.cljs$core$IFn$_invoke$arity$1 = G__33254__1; +G__33254.cljs$core$IFn$_invoke$arity$2 = G__33254__2; +return G__33254; +})() +); + +(cljs.core.ArrayNodeSeq.prototype.lastIndexOf = (function() { +var G__33255 = null; +var G__33255__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__33255__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33255 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33255__1.call(this,x); +case 2: +return G__33255__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33255.cljs$core$IFn$_invoke$arity$1 = G__33255__1; +G__33255.cljs$core$IFn$_invoke$arity$2 = G__33255__2; +return G__33255; +})() +); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var G__27572 = self__.nodes; +var G__27573 = self__.i; +var G__27574 = cljs.core.next(self__.s); +return (cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$3(G__27572,G__27573,G__27574) : cljs.core.create_array_node_seq.call(null, G__27572,G__27573,G__27574)); +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.first(self__.s); +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var ret = (function (){var G__27575 = self__.nodes; +var G__27576 = self__.i; +var G__27577 = cljs.core.next(self__.s); +return (cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$3 ? cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$3(G__27575,G__27576,G__27577) : cljs.core.create_array_node_seq.call(null, G__27575,G__27576,G__27577)); +})(); +if((!((ret == null)))){ +return ret; +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return this$__$1; +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.ArrayNodeSeq(new_meta,self__.nodes,self__.i,self__.s,self__.__hash)); +} +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.ArrayNodeSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"nodes","nodes",-459054278,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"s","s",-948495851,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ArrayNodeSeq.cljs$lang$type = true); + +(cljs.core.ArrayNodeSeq.cljs$lang$ctorStr = "cljs.core/ArrayNodeSeq"); + +(cljs.core.ArrayNodeSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ArrayNodeSeq"); +})); + +/** + * Positional factory function for cljs.core/ArrayNodeSeq. + */ +cljs.core.__GT_ArrayNodeSeq = (function cljs$core$__GT_ArrayNodeSeq(meta,nodes,i,s,__hash){ +return (new cljs.core.ArrayNodeSeq(meta,nodes,i,s,__hash)); +}); + +(cljs.core.ArrayNodeSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.create_array_node_seq = (function cljs$core$create_array_node_seq(var_args){ +var G__27579 = arguments.length; +switch (G__27579) { +case 1: +return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 3: +return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$1 = (function (nodes){ +return cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$3(nodes,(0),null); +})); + +(cljs.core.create_array_node_seq.cljs$core$IFn$_invoke$arity$3 = (function (nodes,i,s){ +if((s == null)){ +var len = nodes.length; +var j = i; +while(true){ +if((j < len)){ +var temp__5821__auto__ = (nodes[j]); +if(cljs.core.truth_(temp__5821__auto__)){ +var nj = temp__5821__auto__; +var temp__5821__auto____$1 = nj.inode_seq(); +if(cljs.core.truth_(temp__5821__auto____$1)){ +var ns = temp__5821__auto____$1; +return (new cljs.core.ArrayNodeSeq(null,nodes,(j + (1)),ns,null)); +} else { +var G__33267 = (j + (1)); +j = G__33267; +continue; +} +} else { +var G__33268 = (j + (1)); +j = G__33268; +continue; +} +} else { +return null; +} +break; +} +} else { +return (new cljs.core.ArrayNodeSeq(null,nodes,i,s,null)); +} +})); + +(cljs.core.create_array_node_seq.cljs$lang$maxFixedArity = 3); + + +/** +* @constructor +*/ +cljs.core.HashMapIter = (function (nil_val,root_iter,seen){ +this.nil_val = nil_val; +this.root_iter = root_iter; +this.seen = seen; +}); +(cljs.core.HashMapIter.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (((!(self__.seen))) || (self__.root_iter.hasNext())); +})); + +(cljs.core.HashMapIter.prototype.next = (function (){ +var self__ = this; +var _ = this; +if((!(self__.seen))){ +(self__.seen = true); + +return (new cljs.core.MapEntry(null,self__.nil_val,null)); +} else { +return self__.root_iter.next(); +} +})); + +(cljs.core.HashMapIter.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.HashMapIter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"nil-val","nil-val",-513933559,null),new cljs.core.Symbol(null,"root-iter","root-iter",1974672108,null),cljs.core.with_meta(new cljs.core.Symbol(null,"seen","seen",1121531738,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.HashMapIter.cljs$lang$type = true); + +(cljs.core.HashMapIter.cljs$lang$ctorStr = "cljs.core/HashMapIter"); + +(cljs.core.HashMapIter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/HashMapIter"); +})); + +/** + * Positional factory function for cljs.core/HashMapIter. + */ +cljs.core.__GT_HashMapIter = (function cljs$core$__GT_HashMapIter(nil_val,root_iter,seen){ +return (new cljs.core.HashMapIter(nil_val,root_iter,seen)); +}); + + +/** +* @constructor + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.core.PersistentHashMap = (function (meta,cnt,root,has_nil_QMARK_,nil_val,__hash){ +this.meta = meta; +this.cnt = cnt; +this.root = root; +this.has_nil_QMARK_ = has_nil_QMARK_; +this.nil_val = nil_val; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 16123663; +this.cljs$lang$protocol_mask$partition1$ = 139268; +}); +(cljs.core.PersistentHashMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +if((k == null)){ +if(self__.has_nil_QMARK_){ +return (new cljs.core.MapEntry(null,self__.nil_val,null)); +} else { +return null; +} +} else { +if((self__.root == null)){ +return null; +} else { +return self__.root.inode_find((0),cljs.core.hash(k),k,null); + +} +} +})); + +(cljs.core.PersistentHashMap.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentHashMap.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentHashMap.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.keys.cljs$core$IFn$_invoke$arity$1 ? cljs.core.keys.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.keys.call(null, coll))); +})); + +(cljs.core.PersistentHashMap.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentHashMap.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.vals.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vals.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.vals.call(null, coll))); +})); + +(cljs.core.PersistentHashMap.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +})); + +(cljs.core.PersistentHashMap.prototype.get = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentHashMap.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__27581 = cljs.core.seq(coll); +var chunk__27582 = null; +var count__27583 = (0); +var i__27584 = (0); +while(true){ +if((i__27584 < count__27583)){ +var vec__27591 = chunk__27582.cljs$core$IIndexed$_nth$arity$2(null, i__27584); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27591,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27591,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33326 = seq__27581; +var G__33327 = chunk__27582; +var G__33328 = count__27583; +var G__33329 = (i__27584 + (1)); +seq__27581 = G__33326; +chunk__27582 = G__33327; +count__27583 = G__33328; +i__27584 = G__33329; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27581); +if(temp__5823__auto__){ +var seq__27581__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27581__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27581__$1); +var G__33332 = cljs.core.chunk_rest(seq__27581__$1); +var G__33333 = c__5568__auto__; +var G__33334 = cljs.core.count(c__5568__auto__); +var G__33335 = (0); +seq__27581 = G__33332; +chunk__27582 = G__33333; +count__27583 = G__33334; +i__27584 = G__33335; +continue; +} else { +var vec__27594 = cljs.core.first(seq__27581__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27594,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27594,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33336 = cljs.core.next(seq__27581__$1); +var G__33337 = null; +var G__33338 = (0); +var G__33339 = (0); +seq__27581 = G__33336; +chunk__27582 = G__33337; +count__27583 = G__33338; +i__27584 = G__33339; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +if((k == null)){ +if(self__.has_nil_QMARK_){ +return self__.nil_val; +} else { +return not_found; +} +} else { +if((self__.root == null)){ +return not_found; +} else { +return self__.root.inode_lookup((0),cljs.core.hash(k),k,not_found); + +} +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ +var self__ = this; +var coll__$1 = this; +var init__$1 = ((self__.has_nil_QMARK_)?(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(init,null,self__.nil_val) : f.call(null, init,null,self__.nil_val)):init); +if(cljs.core.reduced_QMARK_(init__$1)){ +return cljs.core.deref(init__$1); +} else { +if((!((self__.root == null)))){ +return cljs.core.unreduced(self__.root.kv_reduce(f,init__$1)); +} else { +return init__$1; + +} +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var root_iter = ((self__.root)?cljs.core._iterator(self__.root):cljs.core.nil_iter()); +if(self__.has_nil_QMARK_){ +return (new cljs.core.HashMapIter(self__.nil_val,root_iter,false)); +} else { +return root_iter; +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.PersistentHashMap(self__.meta,self__.cnt,self__.root,self__.has_nil_QMARK_,self__.nil_val,self__.__hash)); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.cnt; +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_map(coll__$1,other); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.TransientHashMap(({}),self__.root,self__.cnt,self__.has_nil_QMARK_,self__.nil_val)); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.PersistentHashMap.EMPTY,self__.meta); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +if((k == null)){ +if(self__.has_nil_QMARK_){ +return (new cljs.core.PersistentHashMap(self__.meta,(self__.cnt - (1)),self__.root,false,null,null)); +} else { +return coll__$1; +} +} else { +if((self__.root == null)){ +return coll__$1; +} else { +var new_root = self__.root.inode_without((0),cljs.core.hash(k),k); +if((new_root === self__.root)){ +return coll__$1; +} else { +return (new cljs.core.PersistentHashMap(self__.meta,(self__.cnt - (1)),new_root,self__.has_nil_QMARK_,self__.nil_val,null)); +} + +} +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ +var self__ = this; +var coll__$1 = this; +if((k == null)){ +if(((self__.has_nil_QMARK_) && ((v === self__.nil_val)))){ +return coll__$1; +} else { +return (new cljs.core.PersistentHashMap(self__.meta,((self__.has_nil_QMARK_)?self__.cnt:(self__.cnt + (1))),self__.root,true,v,null)); +} +} else { +var added_leaf_QMARK_ = (new cljs.core.Box(false)); +var new_root = (((self__.root == null))?cljs.core.BitmapIndexedNode.EMPTY:self__.root).inode_assoc((0),cljs.core.hash(k),k,v,added_leaf_QMARK_); +if((new_root === self__.root)){ +return coll__$1; +} else { +return (new cljs.core.PersistentHashMap(self__.meta,((added_leaf_QMARK_.val)?(self__.cnt + (1)):self__.cnt),new_root,self__.has_nil_QMARK_,self__.nil_val,null)); +} +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +if((k == null)){ +return self__.has_nil_QMARK_; +} else { +if((self__.root == null)){ +return false; +} else { +return (!((self__.root.inode_lookup((0),cljs.core.hash(k),k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel))); + +} +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt > (0))){ +var s = (((!((self__.root == null))))?self__.root.inode_seq():null); +if(self__.has_nil_QMARK_){ +return cljs.core.cons((new cljs.core.MapEntry(null,self__.nil_val,null)),s); +} else { +return s; +} +} else { +return null; +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentHashMap(new_meta,self__.cnt,self__.root,self__.has_nil_QMARK_,self__.nil_val,self__.__hash)); +} +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.vector_QMARK_(entry)){ +return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry,(0)),cljs.core._nth(entry,(1))); +} else { +var ret = coll__$1; +var es = cljs.core.seq(entry); +while(true){ +if((es == null)){ +return ret; +} else { +var e = cljs.core.first(es); +if(cljs.core.vector_QMARK_(e)){ +var G__33350 = cljs.core._assoc(ret,cljs.core._nth(e,(0)),cljs.core._nth(e,(1))); +var G__33351 = cljs.core.next(es); +ret = G__33350; +es = G__33351; +continue; +} else { +throw (new Error("conj on a map takes map entries or seqables of map entries")); +} +} +break; +} +} +})); + +(cljs.core.PersistentHashMap.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27599 = (arguments.length - (1)); +switch (G__27599) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.PersistentHashMap.prototype.apply = (function (self__,args27580){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27580))); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentHashMap.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"root","root",1191874074,null),cljs.core.with_meta(new cljs.core.Symbol(null,"has-nil?","has-nil?",825886722,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),new cljs.core.Symbol(null,"nil-val","nil-val",-513933559,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentHashMap.cljs$lang$type = true); + +(cljs.core.PersistentHashMap.cljs$lang$ctorStr = "cljs.core/PersistentHashMap"); + +(cljs.core.PersistentHashMap.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentHashMap"); +})); + +/** + * Positional factory function for cljs.core/PersistentHashMap. + */ +cljs.core.__GT_PersistentHashMap = (function cljs$core$__GT_PersistentHashMap(meta,cnt,root,has_nil_QMARK_,nil_val,__hash){ +return (new cljs.core.PersistentHashMap(meta,cnt,root,has_nil_QMARK_,nil_val,__hash)); +}); + +(cljs.core.PersistentHashMap.EMPTY = (new cljs.core.PersistentHashMap(null,(0),null,false,null,cljs.core.empty_unordered_hash))); +(cljs.core.PersistentHashMap.fromArray = (function (arr,no_clone){ +var arr__$1 = ((no_clone)?arr:cljs.core.aclone(arr)); +var len = arr__$1.length; +var i = (0); +var ret = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); +while(true){ +if((i < len)){ +var G__33363 = (i + (2)); +var G__33364 = cljs.core._assoc_BANG_(ret,(arr__$1[i]),(arr__$1[(i + (1))])); +i = G__33363; +ret = G__33364; +continue; +} else { +return cljs.core._persistent_BANG_(ret); +} +break; +} +})); +(cljs.core.PersistentHashMap.fromArrays = (function (ks,vs){ +var len = ks.length; +var i = (0); +var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); +while(true){ +if((i < len)){ +if((vs.length <= i)){ +throw (new Error(["No value supplied for key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((ks[i]))].join(''))); +} else { +var G__33366 = (i + (1)); +var G__33367 = cljs.core._assoc_BANG_(out,(ks[i]),(vs[i])); +i = G__33366; +out = G__33367; +continue; +} +} else { +return cljs.core.persistent_BANG_(out); +} +break; +} +})); +(cljs.core.PersistentHashMap.createWithCheck = (function (arr){ +var len = arr.length; +var ret = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); +var i_33371 = (0); +while(true){ +if((i_33371 < len)){ +cljs.core._assoc_BANG_(ret,(arr[i_33371]),(arr[(i_33371 + (1))])); + +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core._count(ret),((i_33371 / (2)) + (1)))){ +throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arr[i_33371]))].join(''))); +} else { +var G__33373 = (i_33371 + (2)); +i_33371 = G__33373; +continue; +} +} else { +} +break; +} + +return cljs.core._persistent_BANG_(ret); +})); +(cljs.core.PersistentHashMap.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IFn} + * @implements {cljs.core.ITransientMap} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ITransientCollection} + * @implements {cljs.core.ITransientAssociative} + * @implements {cljs.core.ILookup} +*/ +cljs.core.TransientHashMap = (function (edit,root,count,has_nil_QMARK_,nil_val){ +this.edit = edit; +this.root = root; +this.count = count; +this.has_nil_QMARK_ = has_nil_QMARK_; +this.nil_val = nil_val; +this.cljs$lang$protocol_mask$partition0$ = 259; +this.cljs$lang$protocol_mask$partition1$ = 56; +}); +(cljs.core.TransientHashMap.prototype.conj_BANG_ = (function (o){ +var self__ = this; +var tcoll = this; +if(self__.edit){ +if(cljs.core.map_entry_QMARK_(o)){ +return tcoll.assoc_BANG_((cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.key.call(null, o)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(o) : cljs.core.val.call(null, o))); +} else { +if(cljs.core.vector_QMARK_(o)){ +return tcoll.assoc_BANG_((o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((0)) : o.call(null, (0))),(o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((1)) : o.call(null, (1)))); +} else { +var es = cljs.core.seq(o); +var tcoll__$1 = tcoll; +while(true){ +var temp__5821__auto__ = cljs.core.first(es); +if(cljs.core.truth_(temp__5821__auto__)){ +var e = temp__5821__auto__; +var G__33376 = cljs.core.next(es); +var G__33377 = tcoll__$1.assoc_BANG_((cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.key.call(null, e)),(cljs.core.val.cljs$core$IFn$_invoke$arity$1 ? cljs.core.val.cljs$core$IFn$_invoke$arity$1(e) : cljs.core.val.call(null, e))); +es = G__33376; +tcoll__$1 = G__33377; +continue; +} else { +return tcoll__$1; +} +break; +} + +} +} +} else { +throw (new Error("conj! after persistent")); +} +})); + +(cljs.core.TransientHashMap.prototype.assoc_BANG_ = (function (k,v){ +var self__ = this; +var tcoll = this; +if(self__.edit){ +if((k == null)){ +if((self__.nil_val === v)){ +} else { +(self__.nil_val = v); +} + +if(self__.has_nil_QMARK_){ +} else { +(self__.count = (self__.count + (1))); + +(self__.has_nil_QMARK_ = true); +} + +return tcoll; +} else { +var added_leaf_QMARK_ = (new cljs.core.Box(false)); +var node = (((self__.root == null))?cljs.core.BitmapIndexedNode.EMPTY:self__.root).inode_assoc_BANG_(self__.edit,(0),cljs.core.hash(k),k,v,added_leaf_QMARK_); +if((node === self__.root)){ +} else { +(self__.root = node); +} + +if(added_leaf_QMARK_.val){ +(self__.count = (self__.count + (1))); +} else { +} + +return tcoll; +} +} else { +throw (new Error("assoc! after persistent!")); +} +})); + +(cljs.core.TransientHashMap.prototype.without_BANG_ = (function (k){ +var self__ = this; +var tcoll = this; +if(self__.edit){ +if((k == null)){ +if(self__.has_nil_QMARK_){ +(self__.has_nil_QMARK_ = false); + +(self__.nil_val = null); + +(self__.count = (self__.count - (1))); + +return tcoll; +} else { +return tcoll; +} +} else { +if((self__.root == null)){ +return tcoll; +} else { +var removed_leaf_QMARK_ = (new cljs.core.Box(false)); +var node = self__.root.inode_without_BANG_(self__.edit,(0),cljs.core.hash(k),k,removed_leaf_QMARK_); +if((node === self__.root)){ +} else { +(self__.root = node); +} + +if(removed_leaf_QMARK_.val){ +(self__.count = (self__.count - (1))); +} else { +} + +return tcoll; +} +} +} else { +throw (new Error("dissoc! after persistent!")); +} +})); + +(cljs.core.TransientHashMap.prototype.persistent_BANG_ = (function (){ +var self__ = this; +var tcoll = this; +if(self__.edit){ +(self__.edit = null); + +return (new cljs.core.PersistentHashMap(null,self__.count,self__.root,self__.has_nil_QMARK_,self__.nil_val,null)); +} else { +throw (new Error("persistent! called twice")); +} +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if(self__.edit){ +return self__.count; +} else { +throw (new Error("count after persistent!")); +} +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (tcoll,k){ +var self__ = this; +var tcoll__$1 = this; +if((k == null)){ +if(self__.has_nil_QMARK_){ +return self__.nil_val; +} else { +return null; +} +} else { +if((self__.root == null)){ +return null; +} else { +return self__.root.inode_lookup((0),cljs.core.hash(k),k); +} +} +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (tcoll,k,not_found){ +var self__ = this; +var tcoll__$1 = this; +if((k == null)){ +if(self__.has_nil_QMARK_){ +return self__.nil_val; +} else { +return not_found; +} +} else { +if((self__.root == null)){ +return not_found; +} else { +return self__.root.inode_lookup((0),cljs.core.hash(k),k,not_found); +} +} +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,val){ +var self__ = this; +var tcoll__$1 = this; +return tcoll__$1.conj_BANG_(val); +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +return tcoll__$1.persistent_BANG_(); +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,key,val){ +var self__ = this; +var tcoll__$1 = this; +return tcoll__$1.assoc_BANG_(key,val); +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 = (function (tcoll,key){ +var self__ = this; +var tcoll__$1 = this; +return tcoll__$1.without_BANG_(key); +})); + +(cljs.core.TransientHashMap.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27601 = (arguments.length - (1)); +switch (G__27601) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.TransientHashMap.prototype.apply = (function (self__,args27600){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27600))); +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (key){ +var self__ = this; +var tcoll = this; +return tcoll.cljs$core$ILookup$_lookup$arity$2(null, key); +})); + +(cljs.core.TransientHashMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (key,not_found){ +var self__ = this; +var tcoll = this; +return tcoll.cljs$core$ILookup$_lookup$arity$3(null, key,not_found); +})); + +(cljs.core.TransientHashMap.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"edit","edit",-1302639,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"root","root",1191874074,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"count","count",-514511684,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"has-nil?","has-nil?",825886722,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"nil-val","nil-val",-513933559,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.TransientHashMap.cljs$lang$type = true); + +(cljs.core.TransientHashMap.cljs$lang$ctorStr = "cljs.core/TransientHashMap"); + +(cljs.core.TransientHashMap.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/TransientHashMap"); +})); + +/** + * Positional factory function for cljs.core/TransientHashMap. + */ +cljs.core.__GT_TransientHashMap = (function cljs$core$__GT_TransientHashMap(edit,root,count,has_nil_QMARK_,nil_val){ +return (new cljs.core.TransientHashMap(edit,root,count,has_nil_QMARK_,nil_val)); +}); + +cljs.core.tree_map_seq_push = (function cljs$core$tree_map_seq_push(node,stack,ascending_QMARK_){ +var t = node; +var stack__$1 = stack; +while(true){ +if((!((t == null)))){ +var G__33392 = ((ascending_QMARK_)?t.left:t.right); +var G__33393 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack__$1,t); +t = G__33392; +stack__$1 = G__33393; +continue; +} else { +return stack__$1; +} +break; +} +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.PersistentTreeMapSeq = (function (meta,stack,ascending_QMARK_,cnt,__hash){ +this.meta = meta; +this.stack = stack; +this.ascending_QMARK_ = ascending_QMARK_; +this.cnt = cnt; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32374990; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.PersistentTreeMapSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentTreeMapSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentTreeMapSeq.prototype.indexOf = (function() { +var G__33395 = null; +var G__33395__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__33395__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33395 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33395__1.call(this,x); +case 2: +return G__33395__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33395.cljs$core$IFn$_invoke$arity$1 = G__33395__1; +G__33395.cljs$core$IFn$_invoke$arity$2 = G__33395__2; +return G__33395; +})() +); + +(cljs.core.PersistentTreeMapSeq.prototype.lastIndexOf = (function() { +var G__33397 = null; +var G__33397__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__33397__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33397 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33397__1.call(this,x); +case 2: +return G__33397__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33397.cljs$core$IFn$_invoke$arity$1 = G__33397__1; +G__33397.cljs$core$IFn$_invoke$arity$2 = G__33397__2; +return G__33397; +})() +); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$INext$_next$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +var t = cljs.core.first(self__.stack); +var next_stack = cljs.core.tree_map_seq_push(((self__.ascending_QMARK_)?t.right:t.left),cljs.core.next(self__.stack),self__.ascending_QMARK_); +if((next_stack == null)){ +return null; +} else { +return (new cljs.core.PersistentTreeMapSeq(null,next_stack,self__.ascending_QMARK_,(self__.cnt - (1)),null)); +} +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt < (0))){ +return (cljs.core.count(cljs.core.next(coll__$1)) + (1)); +} else { +return self__.cnt; +} +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return cljs.core.peek(self__.stack); +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +var t = cljs.core.first(self__.stack); +var next_stack = cljs.core.tree_map_seq_push(((self__.ascending_QMARK_)?t.right:t.left),cljs.core.next(self__.stack),self__.ascending_QMARK_); +if((!((next_stack == null)))){ +return (new cljs.core.PersistentTreeMapSeq(null,next_stack,self__.ascending_QMARK_,(self__.cnt - (1)),null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return this$__$1; +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentTreeMapSeq(new_meta,self__.stack,self__.ascending_QMARK_,self__.cnt,self__.__hash)); +} +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.PersistentTreeMapSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"stack","stack",847125597,null),cljs.core.with_meta(new cljs.core.Symbol(null,"ascending?","ascending?",-1938452653,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentTreeMapSeq.cljs$lang$type = true); + +(cljs.core.PersistentTreeMapSeq.cljs$lang$ctorStr = "cljs.core/PersistentTreeMapSeq"); + +(cljs.core.PersistentTreeMapSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentTreeMapSeq"); +})); + +/** + * Positional factory function for cljs.core/PersistentTreeMapSeq. + */ +cljs.core.__GT_PersistentTreeMapSeq = (function cljs$core$__GT_PersistentTreeMapSeq(meta,stack,ascending_QMARK_,cnt,__hash){ +return (new cljs.core.PersistentTreeMapSeq(meta,stack,ascending_QMARK_,cnt,__hash)); +}); + +(cljs.core.PersistentTreeMapSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.create_tree_map_seq = (function cljs$core$create_tree_map_seq(tree,ascending_QMARK_,cnt){ +return (new cljs.core.PersistentTreeMapSeq(null,cljs.core.tree_map_seq_push(tree,null,ascending_QMARK_),ascending_QMARK_,cnt,null)); +}); + +cljs.core.balance_left = (function cljs$core$balance_left(key,val,ins,right){ +if((ins instanceof cljs.core.RedNode)){ +if((ins.left instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.key,ins.val,ins.left.blacken(),(new cljs.core.BlackNode(key,val,ins.right,right,null)),null)); +} else { +if((ins.right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.right.key,ins.right.val,(new cljs.core.BlackNode(ins.key,ins.val,ins.left,ins.right.left,null)),(new cljs.core.BlackNode(key,val,ins.right.right,right,null)),null)); +} else { +return (new cljs.core.BlackNode(key,val,ins,right,null)); + +} +} +} else { +return (new cljs.core.BlackNode(key,val,ins,right,null)); +} +}); +cljs.core.balance_right = (function cljs$core$balance_right(key,val,left,ins){ +if((ins instanceof cljs.core.RedNode)){ +if((ins.right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.key,ins.val,(new cljs.core.BlackNode(key,val,left,ins.left,null)),ins.right.blacken(),null)); +} else { +if((ins.left instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(ins.left.key,ins.left.val,(new cljs.core.BlackNode(key,val,left,ins.left.left,null)),(new cljs.core.BlackNode(ins.key,ins.val,ins.left.right,ins.right,null)),null)); +} else { +return (new cljs.core.BlackNode(key,val,left,ins,null)); + +} +} +} else { +return (new cljs.core.BlackNode(key,val,left,ins,null)); +} +}); +cljs.core.balance_left_del = (function cljs$core$balance_left_del(key,val,del,right){ +if((del instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(key,val,del.blacken(),right,null)); +} else { +if((right instanceof cljs.core.BlackNode)){ +return cljs.core.balance_right(key,val,del,right.redden()); +} else { +if((((right instanceof cljs.core.RedNode)) && ((right.left instanceof cljs.core.BlackNode)))){ +return (new cljs.core.RedNode(right.left.key,right.left.val,(new cljs.core.BlackNode(key,val,del,right.left.left,null)),cljs.core.balance_right(right.key,right.val,right.left.right,right.right.redden()),null)); +} else { +throw (new Error("red-black tree invariant violation")); + +} +} +} +}); +cljs.core.balance_right_del = (function cljs$core$balance_right_del(key,val,left,del){ +if((del instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(key,val,left,del.blacken(),null)); +} else { +if((left instanceof cljs.core.BlackNode)){ +return cljs.core.balance_left(key,val,left.redden(),del); +} else { +if((((left instanceof cljs.core.RedNode)) && ((left.right instanceof cljs.core.BlackNode)))){ +return (new cljs.core.RedNode(left.right.key,left.right.val,cljs.core.balance_left(left.key,left.val,left.left.redden(),left.right.left),(new cljs.core.BlackNode(key,val,left.right.right,del,null)),null)); +} else { +throw (new Error("red-black tree invariant violation")); + +} +} +} +}); +cljs.core.tree_map_kv_reduce = (function cljs$core$tree_map_kv_reduce(node,f,init){ +var init__$1 = (((!((node.left == null))))?(function (){var G__27602 = node.left; +var G__27603 = f; +var G__27604 = init; +return (cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3(G__27602,G__27603,G__27604) : cljs.core.tree_map_kv_reduce.call(null, G__27602,G__27603,G__27604)); +})():init); +if(cljs.core.reduced_QMARK_(init__$1)){ +return init__$1; +} else { +var init__$2 = (function (){var G__27605 = init__$1; +var G__27606 = node.key; +var G__27607 = node.val; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__27605,G__27606,G__27607) : f.call(null, G__27605,G__27606,G__27607)); +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return init__$2; +} else { +if((!((node.right == null)))){ +var G__27608 = node.right; +var G__27609 = f; +var G__27610 = init__$2; +return (cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3 ? cljs.core.tree_map_kv_reduce.cljs$core$IFn$_invoke$arity$3(G__27608,G__27609,G__27610) : cljs.core.tree_map_kv_reduce.call(null, G__27608,G__27609,G__27610)); +} else { +return init__$2; +} +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IMapEntry} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs.core.BlackNode = (function (key,val,left,right,__hash){ +this.key = key; +this.val = val; +this.left = left; +this.right = right; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 166619935; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.BlackNode.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.BlackNode.prototype.cljs$core$IFind$_find$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +var G__27612 = k; +switch (G__27612) { +case (0): +return (new cljs.core.MapEntry((0),self__.key,null)); + +break; +case (1): +return (new cljs.core.MapEntry((1),self__.val,null)); + +break; +default: +return null; + +} +})); + +(cljs.core.BlackNode.prototype.lastIndexOf = (function() { +var G__33457 = null; +var G__33457__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__33457__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33457 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33457__1.call(this,x); +case 2: +return G__33457__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33457.cljs$core$IFn$_invoke$arity$1 = G__33457__1; +G__33457.cljs$core$IFn$_invoke$arity$2 = G__33457__2; +return G__33457; +})() +); + +(cljs.core.BlackNode.prototype.indexOf = (function() { +var G__33458 = null; +var G__33458__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__33458__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33458 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33458__1.call(this,x); +case 2: +return G__33458__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33458.cljs$core$IFn$_invoke$arity$1 = G__33458__1; +G__33458.cljs$core$IFn$_invoke$arity$2 = G__33458__2; +return G__33458; +})() +); + +(cljs.core.BlackNode.prototype.add_right = (function (ins){ +var self__ = this; +var node = this; +return ins.balance_right(node); +})); + +(cljs.core.BlackNode.prototype.redden = (function (){ +var self__ = this; +var node = this; +return (new cljs.core.RedNode(self__.key,self__.val,self__.left,self__.right,null)); +})); + +(cljs.core.BlackNode.prototype.blacken = (function (){ +var self__ = this; +var node = this; +return node; +})); + +(cljs.core.BlackNode.prototype.add_left = (function (ins){ +var self__ = this; +var node = this; +return ins.balance_left(node); +})); + +(cljs.core.BlackNode.prototype.replace = (function (key__$1,val__$1,left__$1,right__$1){ +var self__ = this; +var node = this; +return (new cljs.core.BlackNode(key__$1,val__$1,left__$1,right__$1,null)); +})); + +(cljs.core.BlackNode.prototype.balance_left = (function (parent){ +var self__ = this; +var node = this; +return (new cljs.core.BlackNode(parent.key,parent.val,node,parent.right,null)); +})); + +(cljs.core.BlackNode.prototype.balance_right = (function (parent){ +var self__ = this; +var node = this; +return (new cljs.core.BlackNode(parent.key,parent.val,parent.left,node,null)); +})); + +(cljs.core.BlackNode.prototype.remove_left = (function (del){ +var self__ = this; +var node = this; +return cljs.core.balance_left_del(self__.key,self__.val,del,self__.right); +})); + +(cljs.core.BlackNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var node = this; +return cljs.core.tree_map_kv_reduce(node,f,init); +})); + +(cljs.core.BlackNode.prototype.remove_right = (function (del){ +var self__ = this; +var node = this; +return cljs.core.balance_right_del(self__.key,self__.val,self__.left,del); +})); + +(cljs.core.BlackNode.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +return node__$1.cljs$core$IIndexed$_nth$arity$3(null, k,null); +})); + +(cljs.core.BlackNode.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (node,k,not_found){ +var self__ = this; +var node__$1 = this; +return node__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (node,n){ +var self__ = this; +var node__$1 = this; +if((n === (0))){ +return self__.key; +} else { +if((n === (1))){ +return self__.val; +} else { +throw (new Error("Index out of bounds")); + +} +} +})); + +(cljs.core.BlackNode.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (node,n,not_found){ +var self__ = this; +var node__$1 = this; +if((n === (0))){ +return self__.key; +} else { +if((n === (1))){ +return self__.val; +} else { +return not_found; + +} +} +})); + +(cljs.core.BlackNode.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (node,n,v){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null).cljs$core$IVector$_assoc_n$arity$3(null, n,v); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IMeta$_meta$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return null; +})); + +(cljs.core.BlackNode.prototype.cljs$core$ICounted$_count$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (2); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IMapEntry$_key$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.key; +})); + +(cljs.core.BlackNode.prototype.cljs$core$IMapEntry$_val$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.val; +})); + +(cljs.core.BlackNode.prototype.cljs$core$IStack$_peek$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.val; +})); + +(cljs.core.BlackNode.prototype.cljs$core$IStack$_pop$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key], null); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (new cljs.core.IndexedSeq([self__.val,self__.key],(0),null)); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.BlackNode.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return null; +})); + +(cljs.core.BlackNode.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (node,f){ +var self__ = this; +var node__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(node__$1,f); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (node,f,start){ +var self__ = this; +var node__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(node__$1,f,start); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (node,k,v){ +var self__ = this; +var node__$1 = this; +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),k,v); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +return (((k === (0))) || ((k === (1)))); +})); + +(cljs.core.BlackNode.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (new cljs.core.IndexedSeq([self__.key,self__.val],(0),null)); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (node,meta){ +var self__ = this; +var node__$1 = this; +return cljs.core._with_meta(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),meta); +})); + +(cljs.core.BlackNode.prototype.cljs$core$ICollection$_conj$arity$2 = (function (node,o){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val,o], null); +})); + +(cljs.core.BlackNode.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27613 = (arguments.length - (1)); +switch (G__27613) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.BlackNode.prototype.apply = (function (self__,args27611){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27611))); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var node = this; +return node.cljs$core$IIndexed$_nth$arity$2(null, k); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var node = this; +return node.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs.core.BlackNode.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.Symbol(null,"left","left",1241415590,null),new cljs.core.Symbol(null,"right","right",1187949694,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.BlackNode.cljs$lang$type = true); + +(cljs.core.BlackNode.cljs$lang$ctorStr = "cljs.core/BlackNode"); + +(cljs.core.BlackNode.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/BlackNode"); +})); + +/** + * Positional factory function for cljs.core/BlackNode. + */ +cljs.core.__GT_BlackNode = (function cljs$core$__GT_BlackNode(key,val,left,right,__hash){ +return (new cljs.core.BlackNode(key,val,left,right,__hash)); +}); + +(cljs.core.BlackNode.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IMapEntry} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs.core.RedNode = (function (key,val,left,right,__hash){ +this.key = key; +this.val = val; +this.left = left; +this.right = right; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 166619935; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.RedNode.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.RedNode.prototype.cljs$core$IFind$_find$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +var G__27615 = k; +switch (G__27615) { +case (0): +return (new cljs.core.MapEntry((0),self__.key,null)); + +break; +case (1): +return (new cljs.core.MapEntry((1),self__.val,null)); + +break; +default: +return null; + +} +})); + +(cljs.core.RedNode.prototype.lastIndexOf = (function() { +var G__33473 = null; +var G__33473__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__33473__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33473 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33473__1.call(this,x); +case 2: +return G__33473__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33473.cljs$core$IFn$_invoke$arity$1 = G__33473__1; +G__33473.cljs$core$IFn$_invoke$arity$2 = G__33473__2; +return G__33473; +})() +); + +(cljs.core.RedNode.prototype.indexOf = (function() { +var G__33479 = null; +var G__33479__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__33479__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33479 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33479__1.call(this,x); +case 2: +return G__33479__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33479.cljs$core$IFn$_invoke$arity$1 = G__33479__1; +G__33479.cljs$core$IFn$_invoke$arity$2 = G__33479__2; +return G__33479; +})() +); + +(cljs.core.RedNode.prototype.add_right = (function (ins){ +var self__ = this; +var node = this; +return (new cljs.core.RedNode(self__.key,self__.val,self__.left,ins,null)); +})); + +(cljs.core.RedNode.prototype.redden = (function (){ +var self__ = this; +var node = this; +throw (new Error("red-black tree invariant violation")); +})); + +(cljs.core.RedNode.prototype.blacken = (function (){ +var self__ = this; +var node = this; +return (new cljs.core.BlackNode(self__.key,self__.val,self__.left,self__.right,null)); +})); + +(cljs.core.RedNode.prototype.add_left = (function (ins){ +var self__ = this; +var node = this; +return (new cljs.core.RedNode(self__.key,self__.val,ins,self__.right,null)); +})); + +(cljs.core.RedNode.prototype.replace = (function (key__$1,val__$1,left__$1,right__$1){ +var self__ = this; +var node = this; +return (new cljs.core.RedNode(key__$1,val__$1,left__$1,right__$1,null)); +})); + +(cljs.core.RedNode.prototype.balance_left = (function (parent){ +var self__ = this; +var node = this; +if((self__.left instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(self__.key,self__.val,self__.left.blacken(),(new cljs.core.BlackNode(parent.key,parent.val,self__.right,parent.right,null)),null)); +} else { +if((self__.right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(self__.right.key,self__.right.val,(new cljs.core.BlackNode(self__.key,self__.val,self__.left,self__.right.left,null)),(new cljs.core.BlackNode(parent.key,parent.val,self__.right.right,parent.right,null)),null)); +} else { +return (new cljs.core.BlackNode(parent.key,parent.val,node,parent.right,null)); + +} +} +})); + +(cljs.core.RedNode.prototype.balance_right = (function (parent){ +var self__ = this; +var node = this; +if((self__.right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(self__.key,self__.val,(new cljs.core.BlackNode(parent.key,parent.val,parent.left,self__.left,null)),self__.right.blacken(),null)); +} else { +if((self__.left instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(self__.left.key,self__.left.val,(new cljs.core.BlackNode(parent.key,parent.val,parent.left,self__.left.left,null)),(new cljs.core.BlackNode(self__.key,self__.val,self__.left.right,self__.right,null)),null)); +} else { +return (new cljs.core.BlackNode(parent.key,parent.val,parent.left,node,null)); + +} +} +})); + +(cljs.core.RedNode.prototype.remove_left = (function (del){ +var self__ = this; +var node = this; +return (new cljs.core.RedNode(self__.key,self__.val,del,self__.right,null)); +})); + +(cljs.core.RedNode.prototype.kv_reduce = (function (f,init){ +var self__ = this; +var node = this; +return cljs.core.tree_map_kv_reduce(node,f,init); +})); + +(cljs.core.RedNode.prototype.remove_right = (function (del){ +var self__ = this; +var node = this; +return (new cljs.core.RedNode(self__.key,self__.val,self__.left,del,null)); +})); + +(cljs.core.RedNode.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +return node__$1.cljs$core$IIndexed$_nth$arity$3(null, k,null); +})); + +(cljs.core.RedNode.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (node,k,not_found){ +var self__ = this; +var node__$1 = this; +return node__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs.core.RedNode.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (node,n){ +var self__ = this; +var node__$1 = this; +if((n === (0))){ +return self__.key; +} else { +if((n === (1))){ +return self__.val; +} else { +throw (new Error("Index out of bounds")); + +} +} +})); + +(cljs.core.RedNode.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (node,n,not_found){ +var self__ = this; +var node__$1 = this; +if((n === (0))){ +return self__.key; +} else { +if((n === (1))){ +return self__.val; +} else { +return not_found; + +} +} +})); + +(cljs.core.RedNode.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (node,n,v){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null).cljs$core$IVector$_assoc_n$arity$3(null, n,v); +})); + +(cljs.core.RedNode.prototype.cljs$core$IMeta$_meta$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return null; +})); + +(cljs.core.RedNode.prototype.cljs$core$ICounted$_count$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (2); +})); + +(cljs.core.RedNode.prototype.cljs$core$IMapEntry$_key$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.key; +})); + +(cljs.core.RedNode.prototype.cljs$core$IMapEntry$_val$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.val; +})); + +(cljs.core.RedNode.prototype.cljs$core$IStack$_peek$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return self__.val; +})); + +(cljs.core.RedNode.prototype.cljs$core$IStack$_pop$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key], null); +})); + +(cljs.core.RedNode.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (new cljs.core.IndexedSeq([self__.val,self__.key],(0),null)); +})); + +(cljs.core.RedNode.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.RedNode.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.RedNode.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return null; +})); + +(cljs.core.RedNode.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (node,f){ +var self__ = this; +var node__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(node__$1,f); +})); + +(cljs.core.RedNode.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (node,f,start){ +var self__ = this; +var node__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(node__$1,f,start); +})); + +(cljs.core.RedNode.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (node,k,v){ +var self__ = this; +var node__$1 = this; +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),k,v); +})); + +(cljs.core.RedNode.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (node,k){ +var self__ = this; +var node__$1 = this; +return (((k === (0))) || ((k === (1)))); +})); + +(cljs.core.RedNode.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (node){ +var self__ = this; +var node__$1 = this; +return (new cljs.core.IndexedSeq([self__.key,self__.val],(0),null)); +})); + +(cljs.core.RedNode.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (node,meta){ +var self__ = this; +var node__$1 = this; +return cljs.core._with_meta(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val], null),meta); +})); + +(cljs.core.RedNode.prototype.cljs$core$ICollection$_conj$arity$2 = (function (node,o){ +var self__ = this; +var node__$1 = this; +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [self__.key,self__.val,o], null); +})); + +(cljs.core.RedNode.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27616 = (arguments.length - (1)); +switch (G__27616) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.RedNode.prototype.apply = (function (self__,args27614){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27614))); +})); + +(cljs.core.RedNode.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var node = this; +return node.cljs$core$IIndexed$_nth$arity$2(null, k); +})); + +(cljs.core.RedNode.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var node = this; +return node.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs.core.RedNode.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),new cljs.core.Symbol(null,"val","val",1769233139,null),new cljs.core.Symbol(null,"left","left",1241415590,null),new cljs.core.Symbol(null,"right","right",1187949694,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.RedNode.cljs$lang$type = true); + +(cljs.core.RedNode.cljs$lang$ctorStr = "cljs.core/RedNode"); + +(cljs.core.RedNode.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/RedNode"); +})); + +/** + * Positional factory function for cljs.core/RedNode. + */ +cljs.core.__GT_RedNode = (function cljs$core$__GT_RedNode(key,val,left,right,__hash){ +return (new cljs.core.RedNode(key,val,left,right,__hash)); +}); + +(cljs.core.RedNode.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.tree_map_add = (function cljs$core$tree_map_add(comp,tree,k,v,found){ +if((tree == null)){ +return (new cljs.core.RedNode(k,v,null,null,null)); +} else { +var c = (function (){var G__27617 = k; +var G__27618 = tree.key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__27617,G__27618) : comp.call(null, G__27617,G__27618)); +})(); +if((c === (0))){ +(found[(0)] = tree); + +return null; +} else { +if((c < (0))){ +var ins = (function (){var G__27619 = comp; +var G__27620 = tree.left; +var G__27621 = k; +var G__27622 = v; +var G__27623 = found; +return (cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5 ? cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5(G__27619,G__27620,G__27621,G__27622,G__27623) : cljs.core.tree_map_add.call(null, G__27619,G__27620,G__27621,G__27622,G__27623)); +})(); +if((!((ins == null)))){ +return tree.add_left(ins); +} else { +return null; +} +} else { +var ins = (function (){var G__27624 = comp; +var G__27625 = tree.right; +var G__27626 = k; +var G__27627 = v; +var G__27628 = found; +return (cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5 ? cljs.core.tree_map_add.cljs$core$IFn$_invoke$arity$5(G__27624,G__27625,G__27626,G__27627,G__27628) : cljs.core.tree_map_add.call(null, G__27624,G__27625,G__27626,G__27627,G__27628)); +})(); +if((!((ins == null)))){ +return tree.add_right(ins); +} else { +return null; +} + +} +} +} +}); +cljs.core.tree_map_append = (function cljs$core$tree_map_append(left,right){ +if((left == null)){ +return right; +} else { +if((right == null)){ +return left; +} else { +if((left instanceof cljs.core.RedNode)){ +if((right instanceof cljs.core.RedNode)){ +var app = (function (){var G__27629 = left.right; +var G__27630 = right.left; +return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__27629,G__27630) : cljs.core.tree_map_append.call(null, G__27629,G__27630)); +})(); +if((app instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(app.key,app.val,(new cljs.core.RedNode(left.key,left.val,left.left,app.left,null)),(new cljs.core.RedNode(right.key,right.val,app.right,right.right,null)),null)); +} else { +return (new cljs.core.RedNode(left.key,left.val,left.left,(new cljs.core.RedNode(right.key,right.val,app,right.right,null)),null)); +} +} else { +return (new cljs.core.RedNode(left.key,left.val,left.left,(function (){var G__27631 = left.right; +var G__27632 = right; +return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__27631,G__27632) : cljs.core.tree_map_append.call(null, G__27631,G__27632)); +})(),null)); +} +} else { +if((right instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(right.key,right.val,(function (){var G__27633 = left; +var G__27634 = right.left; +return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__27633,G__27634) : cljs.core.tree_map_append.call(null, G__27633,G__27634)); +})(),right.right,null)); +} else { +var app = (function (){var G__27635 = left.right; +var G__27636 = right.left; +return (cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2 ? cljs.core.tree_map_append.cljs$core$IFn$_invoke$arity$2(G__27635,G__27636) : cljs.core.tree_map_append.call(null, G__27635,G__27636)); +})(); +if((app instanceof cljs.core.RedNode)){ +return (new cljs.core.RedNode(app.key,app.val,(new cljs.core.BlackNode(left.key,left.val,left.left,app.left,null)),(new cljs.core.BlackNode(right.key,right.val,app.right,right.right,null)),null)); +} else { +return cljs.core.balance_left_del(left.key,left.val,left.left,(new cljs.core.BlackNode(right.key,right.val,app,right.right,null))); +} + +} +} +} +} +}); +cljs.core.tree_map_remove = (function cljs$core$tree_map_remove(comp,tree,k,found){ +if((!((tree == null)))){ +var c = (function (){var G__27637 = k; +var G__27638 = tree.key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__27637,G__27638) : comp.call(null, G__27637,G__27638)); +})(); +if((c === (0))){ +(found[(0)] = tree); + +return cljs.core.tree_map_append(tree.left,tree.right); +} else { +if((c < (0))){ +var del = (function (){var G__27639 = comp; +var G__27640 = tree.left; +var G__27641 = k; +var G__27642 = found; +return (cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4(G__27639,G__27640,G__27641,G__27642) : cljs.core.tree_map_remove.call(null, G__27639,G__27640,G__27641,G__27642)); +})(); +if((((!((del == null)))) || ((!(((found[(0)]) == null)))))){ +if((tree.left instanceof cljs.core.BlackNode)){ +return cljs.core.balance_left_del(tree.key,tree.val,del,tree.right); +} else { +return (new cljs.core.RedNode(tree.key,tree.val,del,tree.right,null)); +} +} else { +return null; +} +} else { +var del = (function (){var G__27643 = comp; +var G__27644 = tree.right; +var G__27645 = k; +var G__27646 = found; +return (cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_remove.cljs$core$IFn$_invoke$arity$4(G__27643,G__27644,G__27645,G__27646) : cljs.core.tree_map_remove.call(null, G__27643,G__27644,G__27645,G__27646)); +})(); +if((((!((del == null)))) || ((!(((found[(0)]) == null)))))){ +if((tree.right instanceof cljs.core.BlackNode)){ +return cljs.core.balance_right_del(tree.key,tree.val,tree.left,del); +} else { +return (new cljs.core.RedNode(tree.key,tree.val,tree.left,del,null)); +} +} else { +return null; +} + +} +} +} else { +return null; +} +}); +cljs.core.tree_map_replace = (function cljs$core$tree_map_replace(comp,tree,k,v){ +var tk = tree.key; +var c = (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(k,tk) : comp.call(null, k,tk)); +if((c === (0))){ +return tree.replace(tk,v,tree.left,tree.right); +} else { +if((c < (0))){ +return tree.replace(tk,tree.val,(function (){var G__27647 = comp; +var G__27648 = tree.left; +var G__27649 = k; +var G__27650 = v; +return (cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4(G__27647,G__27648,G__27649,G__27650) : cljs.core.tree_map_replace.call(null, G__27647,G__27648,G__27649,G__27650)); +})(),tree.right); +} else { +return tree.replace(tk,tree.val,tree.left,(function (){var G__27651 = comp; +var G__27652 = tree.right; +var G__27653 = k; +var G__27654 = v; +return (cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4 ? cljs.core.tree_map_replace.cljs$core$IFn$_invoke$arity$4(G__27651,G__27652,G__27653,G__27654) : cljs.core.tree_map_replace.call(null, G__27651,G__27652,G__27653,G__27654)); +})()); + +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISorted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.core.PersistentTreeMap = (function (comp,tree,cnt,meta,__hash){ +this.comp = comp; +this.tree = tree; +this.cnt = cnt; +this.meta = meta; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 418776847; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs.core.PersistentTreeMap.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.entry_at(k); +})); + +(cljs.core.PersistentTreeMap.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__27656 = cljs.core.seq(coll); +var chunk__27657 = null; +var count__27658 = (0); +var i__27659 = (0); +while(true){ +if((i__27659 < count__27658)){ +var vec__27666 = chunk__27657.cljs$core$IIndexed$_nth$arity$2(null, i__27659); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27666,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27666,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33514 = seq__27656; +var G__33515 = chunk__27657; +var G__33516 = count__27658; +var G__33517 = (i__27659 + (1)); +seq__27656 = G__33514; +chunk__27657 = G__33515; +count__27658 = G__33516; +i__27659 = G__33517; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27656); +if(temp__5823__auto__){ +var seq__27656__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27656__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27656__$1); +var G__33518 = cljs.core.chunk_rest(seq__27656__$1); +var G__33519 = c__5568__auto__; +var G__33520 = cljs.core.count(c__5568__auto__); +var G__33521 = (0); +seq__27656 = G__33518; +chunk__27657 = G__33519; +count__27658 = G__33520; +i__27659 = G__33521; +continue; +} else { +var vec__27669 = cljs.core.first(seq__27656__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27669,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27669,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33525 = cljs.core.next(seq__27656__$1); +var G__33526 = null; +var G__33527 = (0); +var G__33528 = (0); +seq__27656 = G__33525; +chunk__27657 = G__33526; +count__27658 = G__33527; +i__27659 = G__33528; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs.core.PersistentTreeMap.prototype.get = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentTreeMap.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentTreeMap.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentTreeMap.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.keys.cljs$core$IFn$_invoke$arity$1 ? cljs.core.keys.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.keys.call(null, coll))); +})); + +(cljs.core.PersistentTreeMap.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator((cljs.core.vals.cljs$core$IFn$_invoke$arity$1 ? cljs.core.vals.cljs$core$IFn$_invoke$arity$1(coll) : cljs.core.vals.call(null, coll))); +})); + +(cljs.core.PersistentTreeMap.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentTreeMap.prototype.entry_at = (function (k){ +var self__ = this; +var coll = this; +var t = self__.tree; +while(true){ +if((!((t == null)))){ +var c = (function (){var G__27672 = k; +var G__27673 = t.key; +return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__27672,G__27673) : self__.comp.call(null, G__27672,G__27673)); +})(); +if((c === (0))){ +return t; +} else { +if((c < (0))){ +var G__33529 = t.left; +t = G__33529; +continue; +} else { +var G__33530 = t.right; +t = G__33530; +continue; + +} +} +} else { +return null; +} +break; +} +})); + +(cljs.core.PersistentTreeMap.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +var n = coll__$1.entry_at(k); +if((!((n == null)))){ +return n.val; +} else { +return not_found; +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (coll,f,init){ +var self__ = this; +var coll__$1 = this; +if((!((self__.tree == null)))){ +return cljs.core.unreduced(cljs.core.tree_map_kv_reduce(self__.tree,f,init)); +} else { +return init; +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.PersistentTreeMap(self__.comp,self__.tree,self__.cnt,self__.meta,self__.__hash)); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.cnt; +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt > (0))){ +return cljs.core.create_tree_map_seq(self__.tree,false,self__.cnt); +} else { +return null; +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_map(coll__$1,other); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentTreeMap(self__.comp,null,(0),self__.meta,(0))); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +var found = [null]; +var t = cljs.core.tree_map_remove(self__.comp,self__.tree,k,found); +if((t == null)){ +if((cljs.core.nth.cljs$core$IFn$_invoke$arity$2(found,(0)) == null)){ +return coll__$1; +} else { +return (new cljs.core.PersistentTreeMap(self__.comp,null,(0),self__.meta,null)); +} +} else { +return (new cljs.core.PersistentTreeMap(self__.comp,t.blacken(),(self__.cnt - (1)),self__.meta,null)); +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ +var self__ = this; +var coll__$1 = this; +var found = [null]; +var t = cljs.core.tree_map_add(self__.comp,self__.tree,k,v,found); +if((t == null)){ +var found_node = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(found,(0)); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(v,found_node.val)){ +return coll__$1; +} else { +return (new cljs.core.PersistentTreeMap(self__.comp,cljs.core.tree_map_replace(self__.comp,self__.tree,k,v),self__.cnt,self__.meta,null)); +} +} else { +return (new cljs.core.PersistentTreeMap(self__.comp,t.blacken(),(self__.cnt + (1)),self__.meta,null)); +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return (!((coll__$1.entry_at(k) == null))); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt > (0))){ +return cljs.core.create_tree_map_seq(self__.tree,true,self__.cnt); +} else { +return null; +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentTreeMap(self__.comp,self__.tree,self__.cnt,new_meta,self__.__hash)); +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +if(cljs.core.vector_QMARK_(entry)){ +return coll__$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry,(0)),cljs.core._nth(entry,(1))); +} else { +var ret = coll__$1; +var es = cljs.core.seq(entry); +while(true){ +if((es == null)){ +return ret; +} else { +var e = cljs.core.first(es); +if(cljs.core.vector_QMARK_(e)){ +var G__33534 = cljs.core._assoc(ret,cljs.core._nth(e,(0)),cljs.core._nth(e,(1))); +var G__33535 = cljs.core.next(es); +ret = G__33534; +es = G__33535; +continue; +} else { +throw (new Error("conj on a map takes map entries or seqables of map entries")); +} +} +break; +} +} +})); + +(cljs.core.PersistentTreeMap.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27674 = (arguments.length - (1)); +switch (G__27674) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.PersistentTreeMap.prototype.apply = (function (self__,args27655){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27655))); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_sorted_seq$arity$2 = (function (coll,ascending_QMARK_){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt > (0))){ +return cljs.core.create_tree_map_seq(self__.tree,ascending_QMARK_,self__.cnt); +} else { +return null; +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_sorted_seq_from$arity$3 = (function (coll,k,ascending_QMARK_){ +var self__ = this; +var coll__$1 = this; +if((self__.cnt > (0))){ +var stack = null; +var t = self__.tree; +while(true){ +if((!((t == null)))){ +var c = (function (){var G__27677 = k; +var G__27678 = t.key; +return (self__.comp.cljs$core$IFn$_invoke$arity$2 ? self__.comp.cljs$core$IFn$_invoke$arity$2(G__27677,G__27678) : self__.comp.call(null, G__27677,G__27678)); +})(); +if((c === (0))){ +return (new cljs.core.PersistentTreeMapSeq(null,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t),ascending_QMARK_,(-1),null)); +} else { +if(cljs.core.truth_(ascending_QMARK_)){ +if((c < (0))){ +var G__33557 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); +var G__33558 = t.left; +stack = G__33557; +t = G__33558; +continue; +} else { +var G__33561 = stack; +var G__33562 = t.right; +stack = G__33561; +t = G__33562; +continue; +} +} else { +if((c > (0))){ +var G__33563 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(stack,t); +var G__33564 = t.right; +stack = G__33563; +t = G__33564; +continue; +} else { +var G__33567 = stack; +var G__33568 = t.left; +stack = G__33567; +t = G__33568; +continue; +} + +} +} +} else { +if((stack == null)){ +return null; +} else { +return (new cljs.core.PersistentTreeMapSeq(null,stack,ascending_QMARK_,(-1),null)); +} +} +break; +} +} else { +return null; +} +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_entry_key$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +return (cljs.core.key.cljs$core$IFn$_invoke$arity$1 ? cljs.core.key.cljs$core$IFn$_invoke$arity$1(entry) : cljs.core.key.call(null, entry)); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$ISorted$_comparator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.comp; +})); + +(cljs.core.PersistentTreeMap.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"comp","comp",-1462482139,null),new cljs.core.Symbol(null,"tree","tree",1444219499,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentTreeMap.cljs$lang$type = true); + +(cljs.core.PersistentTreeMap.cljs$lang$ctorStr = "cljs.core/PersistentTreeMap"); + +(cljs.core.PersistentTreeMap.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentTreeMap"); +})); + +/** + * Positional factory function for cljs.core/PersistentTreeMap. + */ +cljs.core.__GT_PersistentTreeMap = (function cljs$core$__GT_PersistentTreeMap(comp,tree,cnt,meta,__hash){ +return (new cljs.core.PersistentTreeMap(comp,tree,cnt,meta,__hash)); +}); + +(cljs.core.PersistentTreeMap.EMPTY = (new cljs.core.PersistentTreeMap(cljs.core.compare,null,(0),null,cljs.core.empty_unordered_hash))); +(cljs.core.PersistentTreeMap.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * keyval => key val + * Returns a new hash map with supplied mappings. + */ +cljs.core.hash_map = (function cljs$core$hash_map(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33586 = arguments.length; +var i__5770__auto___33588 = (0); +while(true){ +if((i__5770__auto___33588 < len__5769__auto___33586)){ +args__5775__auto__.push((arguments[i__5770__auto___33588])); + +var G__33594 = (i__5770__auto___33588 + (1)); +i__5770__auto___33588 = G__33594; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.hash_map.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.hash_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ +var in$ = cljs.core.seq(keyvals); +var out = cljs.core.transient$(cljs.core.PersistentHashMap.EMPTY); +while(true){ +if(in$){ +var in_SINGLEQUOTE_ = cljs.core.next(in$); +if((in_SINGLEQUOTE_ == null)){ +throw (new Error(["No value supplied for key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(in$))].join(''))); +} else { +var G__33607 = cljs.core.next(in_SINGLEQUOTE_); +var G__33608 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.first(in_SINGLEQUOTE_)); +in$ = G__33607; +out = G__33608; +continue; +} +} else { +return cljs.core.persistent_BANG_(out); +} +break; +} +})); + +(cljs.core.hash_map.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.hash_map.cljs$lang$applyTo = (function (seq27679){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27679)); +})); + +/** + * keyval => key val + * Returns a new array map with supplied mappings. + */ +cljs.core.array_map = (function cljs$core$array_map(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33619 = arguments.length; +var i__5770__auto___33623 = (0); +while(true){ +if((i__5770__auto___33623 < len__5769__auto___33619)){ +args__5775__auto__.push((arguments[i__5770__auto___33623])); + +var G__33629 = (i__5770__auto___33623 + (1)); +i__5770__auto___33623 = G__33629; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.array_map.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.array_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ +var arr = (((((keyvals instanceof cljs.core.IndexedSeq)) && ((keyvals.i === (0)))))?keyvals.arr:cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(keyvals)); +if(cljs.core.odd_QMARK_(arr.length)){ +throw (new Error(["No value supplied for key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.last(arr))].join(''))); +} else { +return cljs.core.PersistentArrayMap.createAsIfByAssoc(arr); +} +})); + +(cljs.core.array_map.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.array_map.cljs$lang$applyTo = (function (seq27680){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27680)); +})); + +/** + * Builds a map from a seq as described in + * https://clojure.org/reference/special_forms#keyword-arguments + */ +cljs.core.seq_to_map_for_destructuring = (function cljs$core$seq_to_map_for_destructuring(s){ +if(cljs.core.next(s)){ +return cljs.core.PersistentArrayMap.createAsIfByAssoc(cljs.core.to_array(s)); +} else { +if(cljs.core.seq(s)){ +return cljs.core.first(s); +} else { +return cljs.core.PersistentArrayMap.EMPTY; +} +} +}); +/** + * keyval => key val + * Returns a new object map with supplied mappings. + */ +cljs.core.obj_map = (function cljs$core$obj_map(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33644 = arguments.length; +var i__5770__auto___33645 = (0); +while(true){ +if((i__5770__auto___33645 < len__5769__auto___33644)){ +args__5775__auto__.push((arguments[i__5770__auto___33645])); + +var G__33647 = (i__5770__auto___33645 + (1)); +i__5770__auto___33645 = G__33647; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.obj_map.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.obj_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ +var ks = []; +var obj = ({}); +var kvs = cljs.core.seq(keyvals); +while(true){ +if(kvs){ +ks.push(cljs.core.first(kvs)); + +cljs.core.goog$module$goog$object.set(obj,cljs.core.first(kvs),cljs.core.second(kvs)); + +var G__33649 = cljs.core.nnext(kvs); +kvs = G__33649; +continue; +} else { +return cljs.core.ObjMap.fromObject(ks,obj); +} +break; +} +})); + +(cljs.core.obj_map.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.obj_map.cljs$lang$applyTo = (function (seq27681){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27681)); +})); + +/** + * keyval => key val + * Returns a new sorted map with supplied mappings. + */ +cljs.core.sorted_map = (function cljs$core$sorted_map(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33651 = arguments.length; +var i__5770__auto___33652 = (0); +while(true){ +if((i__5770__auto___33652 < len__5769__auto___33651)){ +args__5775__auto__.push((arguments[i__5770__auto___33652])); + +var G__33653 = (i__5770__auto___33652 + (1)); +i__5770__auto___33652 = G__33653; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.sorted_map.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.sorted_map.cljs$core$IFn$_invoke$arity$variadic = (function (keyvals){ +var in$ = cljs.core.seq(keyvals); +var out = cljs.core.PersistentTreeMap.EMPTY; +while(true){ +if(in$){ +var G__33655 = cljs.core.nnext(in$); +var G__33656 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__33655; +out = G__33656; +continue; +} else { +return out; +} +break; +} +})); + +(cljs.core.sorted_map.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.sorted_map.cljs$lang$applyTo = (function (seq27684){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27684)); +})); + +/** + * keyval => key val + * Returns a new sorted map with supplied mappings, using the supplied comparator. + */ +cljs.core.sorted_map_by = (function cljs$core$sorted_map_by(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33658 = arguments.length; +var i__5770__auto___33659 = (0); +while(true){ +if((i__5770__auto___33659 < len__5769__auto___33658)){ +args__5775__auto__.push((arguments[i__5770__auto___33659])); + +var G__33660 = (i__5770__auto___33659 + (1)); +i__5770__auto___33659 = G__33660; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.sorted_map_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.sorted_map_by.cljs$core$IFn$_invoke$arity$variadic = (function (comparator,keyvals){ +var in$ = cljs.core.seq(keyvals); +var out = (new cljs.core.PersistentTreeMap(cljs.core.fn__GT_comparator(comparator),null,(0),null,(0))); +while(true){ +if(in$){ +var G__33661 = cljs.core.nnext(in$); +var G__33662 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(out,cljs.core.first(in$),cljs.core.second(in$)); +in$ = G__33661; +out = G__33662; +continue; +} else { +return out; +} +break; +} +})); + +(cljs.core.sorted_map_by.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.sorted_map_by.cljs$lang$applyTo = (function (seq27685){ +var G__27686 = cljs.core.first(seq27685); +var seq27685__$1 = cljs.core.next(seq27685); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27686,seq27685__$1); +})); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.KeySeq = (function (mseq,_meta){ +this.mseq = mseq; +this._meta = _meta; +this.cljs$lang$protocol_mask$partition0$ = 32374988; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.KeySeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.KeySeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.KeySeq.prototype.indexOf = (function() { +var G__33665 = null; +var G__33665__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__33665__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33665 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33665__1.call(this,x); +case 2: +return G__33665__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33665.cljs$core$IFn$_invoke$arity$1 = G__33665__1; +G__33665.cljs$core$IFn$_invoke$arity$2 = G__33665__2; +return G__33665; +})() +); + +(cljs.core.KeySeq.prototype.lastIndexOf = (function() { +var G__33668 = null; +var G__33668__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__33668__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33668 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33668__1.call(this,x); +case 2: +return G__33668__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33668.cljs$core$IFn$_invoke$arity$1 = G__33668__1; +G__33668.cljs$core$IFn$_invoke$arity$2 = G__33668__2; +return G__33668; +})() +); + +(cljs.core.KeySeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__._meta; +})); + +(cljs.core.KeySeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null, ):cljs.core.next(self__.mseq)); +if((nseq == null)){ +return null; +} else { +return (new cljs.core.KeySeq(nseq,null)); +} +})); + +(cljs.core.KeySeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +})); + +(cljs.core.KeySeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.KeySeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.KeySeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.KeySeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.KeySeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var me = self__.mseq.cljs$core$ISeq$_first$arity$1(null, ); +return me.cljs$core$IMapEntry$_key$arity$1(null, ); +})); + +(cljs.core.KeySeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null, ):cljs.core.next(self__.mseq)); +if((!((nseq == null)))){ +return (new cljs.core.KeySeq(nseq,null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.KeySeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.KeySeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__._meta)){ +return coll__$1; +} else { +return (new cljs.core.KeySeq(self__.mseq,new_meta)); +} +})); + +(cljs.core.KeySeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.KeySeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"mseq","mseq",1602647196,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"not-native","not-native",-236392494,null)], null)),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); +})); + +(cljs.core.KeySeq.cljs$lang$type = true); + +(cljs.core.KeySeq.cljs$lang$ctorStr = "cljs.core/KeySeq"); + +(cljs.core.KeySeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/KeySeq"); +})); + +/** + * Positional factory function for cljs.core/KeySeq. + */ +cljs.core.__GT_KeySeq = (function cljs$core$__GT_KeySeq(mseq,_meta){ +return (new cljs.core.KeySeq(mseq,_meta)); +}); + +(cljs.core.KeySeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Returns a sequence of the map's keys, in the same order as (seq map). + */ +cljs.core.keys = (function cljs$core$keys(map){ +var temp__5823__auto__ = cljs.core.seq(map); +if(temp__5823__auto__){ +var mseq = temp__5823__auto__; +return (new cljs.core.KeySeq(mseq,null)); +} else { +return null; +} +}); +/** + * Returns the key of the map entry. + */ +cljs.core.key = (function cljs$core$key(map_entry){ +return cljs.core._key(map_entry); +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.ValSeq = (function (mseq,_meta){ +this.mseq = mseq; +this._meta = _meta; +this.cljs$lang$protocol_mask$partition0$ = 32374988; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.ValSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.ValSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.ValSeq.prototype.indexOf = (function() { +var G__33682 = null; +var G__33682__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__33682__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33682 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33682__1.call(this,x); +case 2: +return G__33682__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33682.cljs$core$IFn$_invoke$arity$1 = G__33682__1; +G__33682.cljs$core$IFn$_invoke$arity$2 = G__33682__2; +return G__33682; +})() +); + +(cljs.core.ValSeq.prototype.lastIndexOf = (function() { +var G__33688 = null; +var G__33688__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__33688__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__33688 = function(x,start){ +switch(arguments.length){ +case 1: +return G__33688__1.call(this,x); +case 2: +return G__33688__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33688.cljs$core$IFn$_invoke$arity$1 = G__33688__1; +G__33688.cljs$core$IFn$_invoke$arity$2 = G__33688__2; +return G__33688; +})() +); + +(cljs.core.ValSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__._meta; +})); + +(cljs.core.ValSeq.prototype.cljs$core$INext$_next$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null, ):cljs.core.next(self__.mseq)); +if((nseq == null)){ +return null; +} else { +return (new cljs.core.ValSeq(nseq,null)); +} +})); + +(cljs.core.ValSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +})); + +(cljs.core.ValSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs.core.ValSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.ValSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,coll__$1); +})); + +(cljs.core.ValSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$3(f,start,coll__$1); +})); + +(cljs.core.ValSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var me = self__.mseq.cljs$core$ISeq$_first$arity$1(null, ); +return me.cljs$core$IMapEntry$_val$arity$1(null, ); +})); + +(cljs.core.ValSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var nseq = (((((!((self__.mseq == null))))?(((((self__.mseq.cljs$lang$protocol_mask$partition0$ & (128))) || ((cljs.core.PROTOCOL_SENTINEL === self__.mseq.cljs$core$INext$))))?true:(((!self__.mseq.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq):false)):cljs.core.native_satisfies_QMARK_(cljs.core.INext,self__.mseq)))?self__.mseq.cljs$core$INext$_next$arity$1(null, ):cljs.core.next(self__.mseq)); +if((!((nseq == null)))){ +return (new cljs.core.ValSeq(nseq,null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs.core.ValSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return coll__$1; +})); + +(cljs.core.ValSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__._meta)){ +return coll__$1; +} else { +return (new cljs.core.ValSeq(self__.mseq,new_meta)); +} +})); + +(cljs.core.ValSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs.core.ValSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"mseq","mseq",1602647196,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"not-native","not-native",-236392494,null)], null)),new cljs.core.Symbol(null,"_meta","_meta",-1716892533,null)], null); +})); + +(cljs.core.ValSeq.cljs$lang$type = true); + +(cljs.core.ValSeq.cljs$lang$ctorStr = "cljs.core/ValSeq"); + +(cljs.core.ValSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ValSeq"); +})); + +/** + * Positional factory function for cljs.core/ValSeq. + */ +cljs.core.__GT_ValSeq = (function cljs$core$__GT_ValSeq(mseq,_meta){ +return (new cljs.core.ValSeq(mseq,_meta)); +}); + +(cljs.core.ValSeq.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Returns a sequence of the map's values, in the same order as (seq map). + */ +cljs.core.vals = (function cljs$core$vals(map){ +var temp__5823__auto__ = cljs.core.seq(map); +if(temp__5823__auto__){ +var mseq = temp__5823__auto__; +return (new cljs.core.ValSeq(mseq,null)); +} else { +return null; +} +}); +/** + * Returns the value in the map entry. + */ +cljs.core.val = (function cljs$core$val(map_entry){ +return cljs.core._val(map_entry); +}); +/** + * Returns a map that consists of the rest of the maps conj-ed onto + * the first. If a key occurs in more than one map, the mapping from + * the latter (left-to-right) will be the mapping in the result. + */ +cljs.core.merge = (function cljs$core$merge(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33717 = arguments.length; +var i__5770__auto___33718 = (0); +while(true){ +if((i__5770__auto___33718 < len__5769__auto___33717)){ +args__5775__auto__.push((arguments[i__5770__auto___33718])); + +var G__33719 = (i__5770__auto___33718 + (1)); +i__5770__auto___33718 = G__33719; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic = (function (maps){ +if(cljs.core.truth_(cljs.core.some(cljs.core.identity,maps))){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$2((function (p1__27691_SHARP_,p2__27692_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2((function (){var or__5045__auto__ = p1__27691_SHARP_; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.PersistentArrayMap.EMPTY; +} +})(),p2__27692_SHARP_); +}),maps); +} else { +return null; +} +})); + +(cljs.core.merge.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.merge.cljs$lang$applyTo = (function (seq27693){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27693)); +})); + +/** + * Returns a map that consists of the rest of the maps conj-ed onto + * the first. If a key occurs in more than one map, the mapping(s) + * from the latter (left-to-right) will be combined with the mapping in + * the result by calling (f val-in-result val-in-latter). + */ +cljs.core.merge_with = (function cljs$core$merge_with(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33721 = arguments.length; +var i__5770__auto___33722 = (0); +while(true){ +if((i__5770__auto___33722 < len__5769__auto___33721)){ +args__5775__auto__.push((arguments[i__5770__auto___33722])); + +var G__33723 = (i__5770__auto___33722 + (1)); +i__5770__auto___33722 = G__33723; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic = (function (f,maps){ +if(cljs.core.truth_(cljs.core.some(cljs.core.identity,maps))){ +var merge_entry = (function (m,e){ +var k = cljs.core.key(e); +var v = cljs.core.val(e); +if(cljs.core.contains_QMARK_(m,k)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,(function (){var G__27696 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +var G__27697 = v; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27696,G__27697) : f.call(null, G__27696,G__27697)); +})()); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,v); +} +}); +var merge2 = (function (m1,m2){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(merge_entry,(function (){var or__5045__auto__ = m1; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.PersistentArrayMap.EMPTY; +} +})(),cljs.core.seq(m2)); +}); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$2(merge2,maps); +} else { +return null; +} +})); + +(cljs.core.merge_with.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.merge_with.cljs$lang$applyTo = (function (seq27694){ +var G__27695 = cljs.core.first(seq27694); +var seq27694__$1 = cljs.core.next(seq27694); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27695,seq27694__$1); +})); + +/** + * Returns a map containing only those entries in map whose key is in keys + */ +cljs.core.select_keys = (function cljs$core$select_keys(map,keyseq){ +var ret = cljs.core.PersistentArrayMap.EMPTY; +var keys = cljs.core.seq(keyseq); +while(true){ +if(keys){ +var key = cljs.core.first(keys); +var entry = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map,key,new cljs.core.Keyword("cljs.core","not-found","cljs.core/not-found",-1572889185)); +var G__33738 = ((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(entry,new cljs.core.Keyword("cljs.core","not-found","cljs.core/not-found",-1572889185)))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,key,entry):ret); +var G__33739 = cljs.core.next(keys); +ret = G__33738; +keys = G__33739; +continue; +} else { +return cljs.core._with_meta(ret,cljs.core.meta(map)); +} +break; +} +}); + +/** +* @constructor +*/ +cljs.core.HashSetIter = (function (iter){ +this.iter = iter; +}); +(cljs.core.HashSetIter.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return self__.iter.hasNext(); +})); + +(cljs.core.HashSetIter.prototype.next = (function (){ +var self__ = this; +var _ = this; +if(self__.iter.hasNext()){ +return self__.iter.next().key; +} else { +throw (new Error("No such element")); +} +})); + +(cljs.core.HashSetIter.prototype.remove = (function (){ +var self__ = this; +var _ = this; +return (new Error("Unsupported operation")); +})); + +(cljs.core.HashSetIter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"iter","iter",-1346195486,null)], null); +})); + +(cljs.core.HashSetIter.cljs$lang$type = true); + +(cljs.core.HashSetIter.cljs$lang$ctorStr = "cljs.core/HashSetIter"); + +(cljs.core.HashSetIter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/HashSetIter"); +})); + +/** + * Positional factory function for cljs.core/HashSetIter. + */ +cljs.core.__GT_HashSetIter = (function cljs$core$__GT_HashSetIter(iter){ +return (new cljs.core.HashSetIter(iter)); +}); + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.ISet} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.ILookup} +*/ +cljs.core.PersistentHashSet = (function (meta,hash_map,__hash){ +this.meta = meta; +this.hash_map = hash_map; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 15077647; +this.cljs$lang$protocol_mask$partition1$ = 139268; +}); +(cljs.core.PersistentHashSet.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentHashSet.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentHashSet.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentHashSet.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_set_entries_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentHashSet.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentHashSet.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +})); + +(cljs.core.PersistentHashSet.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__27701 = cljs.core.seq(coll); +var chunk__27702 = null; +var count__27703 = (0); +var i__27704 = (0); +while(true){ +if((i__27704 < count__27703)){ +var vec__27711 = chunk__27702.cljs$core$IIndexed$_nth$arity$2(null, i__27704); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27711,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27711,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33763 = seq__27701; +var G__33764 = chunk__27702; +var G__33765 = count__27703; +var G__33766 = (i__27704 + (1)); +seq__27701 = G__33763; +chunk__27702 = G__33764; +count__27703 = G__33765; +i__27704 = G__33766; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27701); +if(temp__5823__auto__){ +var seq__27701__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27701__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27701__$1); +var G__33768 = cljs.core.chunk_rest(seq__27701__$1); +var G__33769 = c__5568__auto__; +var G__33770 = cljs.core.count(c__5568__auto__); +var G__33771 = (0); +seq__27701 = G__33768; +chunk__27702 = G__33769; +count__27703 = G__33770; +i__27704 = G__33771; +continue; +} else { +var vec__27714 = cljs.core.first(seq__27701__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27714,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27714,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33773 = cljs.core.next(seq__27701__$1); +var G__33774 = null; +var G__33775 = (0); +var G__33776 = (0); +seq__27701 = G__33773; +chunk__27702 = G__33774; +count__27703 = G__33775; +i__27704 = G__33776; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,v){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, v,null); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,v,not_found){ +var self__ = this; +var coll__$1 = this; +var temp__5821__auto__ = cljs.core._find(self__.hash_map,v); +if(cljs.core.truth_(temp__5821__auto__)){ +var entry = temp__5821__auto__; +return cljs.core.key(entry); +} else { +return not_found; +} +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.HashSetIter(cljs.core._iterator(self__.hash_map))); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.PersistentHashSet(self__.meta,self__.hash_map,self__.__hash)); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._count(self__.hash_map); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +var and__5043__auto__ = cljs.core.set_QMARK_(other); +if(and__5043__auto__){ +var and__5043__auto____$1 = (cljs.core.count(coll__$1) === cljs.core.count(other)); +if(and__5043__auto____$1){ +try{return cljs.core.reduce_kv((function (p1__27699_SHARP_,p2__27698_SHARP_){ +var or__5045__auto__ = cljs.core.contains_QMARK_(other,p2__27698_SHARP_); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.reduced(false); +} +}),true,self__.hash_map); +}catch (e27717){if((e27717 instanceof Error)){ +var ex = e27717; +return false; +} else { +throw e27717; + +} +}} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.TransientHashSet(cljs.core._as_transient(self__.hash_map))); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._with_meta(cljs.core.PersistentHashSet.EMPTY,self__.meta); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$ISet$_disjoin$arity$2 = (function (coll,v){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentHashSet(self__.meta,cljs.core._dissoc(self__.hash_map,v),null)); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.keys(self__.hash_map); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentHashSet(new_meta,self__.hash_map,self__.__hash)); +} +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentHashSet(self__.meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.hash_map,o,null),null)); +})); + +(cljs.core.PersistentHashSet.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27718 = (arguments.length - (1)); +switch (G__27718) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.PersistentHashSet.prototype.apply = (function (self__,args27700){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27700))); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentHashSet.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"hash-map","hash-map",-439030950,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentHashSet.cljs$lang$type = true); + +(cljs.core.PersistentHashSet.cljs$lang$ctorStr = "cljs.core/PersistentHashSet"); + +(cljs.core.PersistentHashSet.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentHashSet"); +})); + +/** + * Positional factory function for cljs.core/PersistentHashSet. + */ +cljs.core.__GT_PersistentHashSet = (function cljs$core$__GT_PersistentHashSet(meta,hash_map,__hash){ +return (new cljs.core.PersistentHashSet(meta,hash_map,__hash)); +}); + +(cljs.core.PersistentHashSet.EMPTY = (new cljs.core.PersistentHashSet(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.empty_unordered_hash))); +(cljs.core.PersistentHashSet.fromArray = (function (items,no_clone){ +var len = items.length; +if((len <= cljs.core.PersistentArrayMap.HASHMAP_THRESHOLD)){ +var arr = ((no_clone)?items:cljs.core.aclone(items)); +var i = (0); +var out = cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY); +while(true){ +if((i < len)){ +var G__33792 = (i + (1)); +var G__33793 = cljs.core._assoc_BANG_(out,(items[i]),null); +i = G__33792; +out = G__33793; +continue; +} else { +return (new cljs.core.PersistentHashSet(null,cljs.core._persistent_BANG_(out),null)); +} +break; +} +} else { +var i = (0); +var out = cljs.core.transient$(cljs.core.PersistentHashSet.EMPTY); +while(true){ +if((i < len)){ +var G__33795 = (i + (1)); +var G__33796 = cljs.core._conj_BANG_(out,(items[i])); +i = G__33795; +out = G__33796; +continue; +} else { +return cljs.core._persistent_BANG_(out); +} +break; +} +} +})); +(cljs.core.PersistentHashSet.createWithCheck = (function (items){ +var len = items.length; +var t = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); +var n__5636__auto___33807 = len; +var i_33808 = (0); +while(true){ +if((i_33808 < n__5636__auto___33807)){ +cljs.core._conj_BANG_(t,(items[i_33808])); + +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(t),(i_33808 + (1)))){ +} else { +throw (new Error(["Duplicate key: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((items[i_33808]))].join(''))); +} + +var G__33810 = (i_33808 + (1)); +i_33808 = G__33810; +continue; +} else { +} +break; +} + +return cljs.core._persistent_BANG_(t); +})); +(cljs.core.PersistentHashSet.createAsIfByAssoc = (function (items){ +var len = items.length; +var t = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); +var n__5636__auto___33811 = len; +var i_33812 = (0); +while(true){ +if((i_33812 < n__5636__auto___33811)){ +cljs.core._conj_BANG_(t,(items[i_33812])); + +var G__33813 = (i_33812 + (1)); +i_33812 = G__33813; +continue; +} else { +} +break; +} + +return cljs.core._persistent_BANG_(t); +})); +(cljs.core.PersistentHashSet.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.ITransientSet} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ITransientCollection} + * @implements {cljs.core.ILookup} +*/ +cljs.core.TransientHashSet = (function (transient_map){ +this.transient_map = transient_map; +this.cljs$lang$protocol_mask$partition1$ = 136; +this.cljs$lang$protocol_mask$partition0$ = 259; +}); +(cljs.core.TransientHashSet.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ +var self__ = this; +var tcoll__$1 = this; +(self__.transient_map = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(self__.transient_map,o,null)); + +return tcoll__$1; +})); + +(cljs.core.TransientHashSet.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +return (new cljs.core.PersistentHashSet(null,cljs.core.persistent_BANG_(self__.transient_map),null)); +})); + +(cljs.core.TransientHashSet.prototype.cljs$core$ITransientSet$_disjoin_BANG_$arity$2 = (function (tcoll,v){ +var self__ = this; +var tcoll__$1 = this; +(self__.transient_map = cljs.core.dissoc_BANG_.cljs$core$IFn$_invoke$arity$2(self__.transient_map,v)); + +return tcoll__$1; +})); + +(cljs.core.TransientHashSet.prototype.cljs$core$ICounted$_count$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +return cljs.core.count(self__.transient_map); +})); + +(cljs.core.TransientHashSet.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (tcoll,v){ +var self__ = this; +var tcoll__$1 = this; +return tcoll__$1.cljs$core$ILookup$_lookup$arity$3(null, v,null); +})); + +(cljs.core.TransientHashSet.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (tcoll,v,not_found){ +var self__ = this; +var tcoll__$1 = this; +if((cljs.core._lookup(self__.transient_map,v,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ +return not_found; +} else { +return v; +} +})); + +(cljs.core.TransientHashSet.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27720 = (arguments.length - (1)); +switch (G__27720) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.TransientHashSet.prototype.apply = (function (self__,args27719){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27719))); +})); + +(cljs.core.TransientHashSet.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var tcoll = this; +if((cljs.core._lookup(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ +return null; +} else { +return k; +} +})); + +(cljs.core.TransientHashSet.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var tcoll = this; +if((cljs.core._lookup(self__.transient_map,k,cljs.core.lookup_sentinel) === cljs.core.lookup_sentinel)){ +return not_found; +} else { +return k; +} +})); + +(cljs.core.TransientHashSet.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"transient-map","transient-map",351764893,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.TransientHashSet.cljs$lang$type = true); + +(cljs.core.TransientHashSet.cljs$lang$ctorStr = "cljs.core/TransientHashSet"); + +(cljs.core.TransientHashSet.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/TransientHashSet"); +})); + +/** + * Positional factory function for cljs.core/TransientHashSet. + */ +cljs.core.__GT_TransientHashSet = (function cljs$core$__GT_TransientHashSet(transient_map){ +return (new cljs.core.TransientHashSet(transient_map)); +}); + + +/** +* @constructor + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ISet} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISorted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.ILookup} +*/ +cljs.core.PersistentTreeSet = (function (meta,tree_map,__hash){ +this.meta = meta; +this.tree_map = tree_map; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 417730831; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs.core.PersistentTreeSet.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.PersistentTreeSet.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.PersistentTreeSet.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentTreeSet.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_set_entries_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentTreeSet.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator(cljs.core.seq(coll)); +})); + +(cljs.core.PersistentTreeSet.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +})); + +(cljs.core.PersistentTreeSet.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__27724 = cljs.core.seq(coll); +var chunk__27725 = null; +var count__27726 = (0); +var i__27727 = (0); +while(true){ +if((i__27727 < count__27726)){ +var vec__27734 = chunk__27725.cljs$core$IIndexed$_nth$arity$2(null, i__27727); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27734,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27734,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33821 = seq__27724; +var G__33822 = chunk__27725; +var G__33823 = count__27726; +var G__33824 = (i__27727 + (1)); +seq__27724 = G__33821; +chunk__27725 = G__33822; +count__27726 = G__33823; +i__27727 = G__33824; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27724); +if(temp__5823__auto__){ +var seq__27724__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27724__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27724__$1); +var G__33825 = cljs.core.chunk_rest(seq__27724__$1); +var G__33826 = c__5568__auto__; +var G__33827 = cljs.core.count(c__5568__auto__); +var G__33828 = (0); +seq__27724 = G__33825; +chunk__27725 = G__33826; +count__27726 = G__33827; +i__27727 = G__33828; +continue; +} else { +var vec__27737 = cljs.core.first(seq__27724__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27737,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27737,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__33829 = cljs.core.next(seq__27724__$1); +var G__33830 = null; +var G__33831 = (0); +var G__33832 = (0); +seq__27724 = G__33829; +chunk__27725 = G__33830; +count__27726 = G__33831; +i__27727 = G__33832; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,v){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, v,null); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,v,not_found){ +var self__ = this; +var coll__$1 = this; +var n = self__.tree_map.entry_at(v); +if((!((n == null)))){ +return n.key; +} else { +return not_found; +} +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.PersistentTreeSet(self__.meta,self__.tree_map,self__.__hash)); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.count(self__.tree_map); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((cljs.core.count(self__.tree_map) > (0))){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.key,cljs.core.rseq(self__.tree_map)); +} else { +return null; +} +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +var and__5043__auto__ = cljs.core.set_QMARK_(other); +if(and__5043__auto__){ +var and__5043__auto____$1 = (cljs.core.count(coll__$1) === cljs.core.count(other)); +if(and__5043__auto____$1){ +try{return cljs.core.reduce_kv((function (p1__27722_SHARP_,p2__27721_SHARP_){ +var or__5045__auto__ = cljs.core.contains_QMARK_(other,p2__27721_SHARP_); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.reduced(false); +} +}),true,self__.tree_map); +}catch (e27740){if((e27740 instanceof Error)){ +var ex = e27740; +return false; +} else { +throw e27740; + +} +}} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentTreeSet(self__.meta,cljs.core._empty(self__.tree_map),(0))); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ISet$_disjoin$arity$2 = (function (coll,v){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentTreeSet(self__.meta,cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.tree_map,v),null)); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.keys(self__.tree_map); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs.core.PersistentTreeSet(new_meta,self__.tree_map,self__.__hash)); +} +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return (new cljs.core.PersistentTreeSet(self__.meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.tree_map,o,null),null)); +})); + +(cljs.core.PersistentTreeSet.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__27741 = (arguments.length - (1)); +switch (G__27741) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.PersistentTreeSet.prototype.apply = (function (self__,args27723){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args27723))); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_sorted_seq$arity$2 = (function (coll,ascending_QMARK_){ +var self__ = this; +var coll__$1 = this; +return cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.key,cljs.core._sorted_seq(self__.tree_map,ascending_QMARK_)); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_sorted_seq_from$arity$3 = (function (coll,k,ascending_QMARK_){ +var self__ = this; +var coll__$1 = this; +return cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.key,cljs.core._sorted_seq_from(self__.tree_map,k,ascending_QMARK_)); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_entry_key$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +return entry; +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$ISorted$_comparator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core._comparator(self__.tree_map); +})); + +(cljs.core.PersistentTreeSet.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"tree-map","tree-map",1373073049,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.PersistentTreeSet.cljs$lang$type = true); + +(cljs.core.PersistentTreeSet.cljs$lang$ctorStr = "cljs.core/PersistentTreeSet"); + +(cljs.core.PersistentTreeSet.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/PersistentTreeSet"); +})); + +/** + * Positional factory function for cljs.core/PersistentTreeSet. + */ +cljs.core.__GT_PersistentTreeSet = (function cljs$core$__GT_PersistentTreeSet(meta,tree_map,__hash){ +return (new cljs.core.PersistentTreeSet(meta,tree_map,__hash)); +}); + +(cljs.core.PersistentTreeSet.EMPTY = (new cljs.core.PersistentTreeSet(null,cljs.core.PersistentTreeMap.EMPTY,cljs.core.empty_unordered_hash))); +(cljs.core.PersistentTreeSet.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +cljs.core.set_from_indexed_seq = (function cljs$core$set_from_indexed_seq(iseq){ +var arr = iseq.arr; +var ret = (function (){var a__5633__auto__ = arr; +var l__5634__auto__ = a__5633__auto__.length; +var i = (0); +var res = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); +while(true){ +if((i < l__5634__auto__)){ +var G__33847 = (i + (1)); +var G__33848 = cljs.core._conj_BANG_(res,(arr[i])); +i = G__33847; +res = G__33848; +continue; +} else { +return res; +} +break; +} +})(); +return ret.cljs$core$ITransientCollection$_persistent_BANG_$arity$1(null, ); +}); +/** + * Returns a set of the distinct elements of coll. + */ +cljs.core.set = (function cljs$core$set(coll){ +if(cljs.core.set_QMARK_(coll)){ +return cljs.core.with_meta(coll,null); +} else { +var in$ = cljs.core.seq(coll); +if((in$ == null)){ +return cljs.core.PersistentHashSet.EMPTY; +} else { +if((((in$ instanceof cljs.core.IndexedSeq)) && ((in$.i === (0))))){ +return cljs.core.PersistentHashSet.createAsIfByAssoc(in$.arr); +} else { +var in$__$1 = in$; +var out = cljs.core._as_transient(cljs.core.PersistentHashSet.EMPTY); +while(true){ +if((!((in$__$1 == null)))){ +var G__33865 = cljs.core.next(in$__$1); +var G__33866 = cljs.core._conj_BANG_(out,cljs.core._first(in$__$1)); +in$__$1 = G__33865; +out = G__33866; +continue; +} else { +return cljs.core.persistent_BANG_(out); +} +break; +} + +} +} +} +}); +/** + * Returns a new hash set with supplied keys. Any equal keys are + * handled as if by repeated uses of conj. + */ +cljs.core.hash_set = (function cljs$core$hash_set(var_args){ +var G__27744 = arguments.length; +switch (G__27744) { +case 0: +return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$0(); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___33868 = arguments.length; +var i__5770__auto___33869 = (0); +while(true){ +if((i__5770__auto___33869 < len__5769__auto___33868)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___33869])); + +var G__33870 = (i__5770__auto___33869 + (1)); +i__5770__auto___33869 = G__33870; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((0)),(0),null)); +return cljs.core.hash_set.cljs$core$IFn$_invoke$arity$variadic(argseq__5795__auto__); + +} +}); + +(cljs.core.hash_set.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.PersistentHashSet.EMPTY; +})); + +(cljs.core.hash_set.cljs$core$IFn$_invoke$arity$variadic = (function (keys){ +return cljs.core.set(keys); +})); + +/** @this {Function} */ +(cljs.core.hash_set.cljs$lang$applyTo = (function (seq27743){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27743)); +})); + +(cljs.core.hash_set.cljs$lang$maxFixedArity = (0)); + +/** + * Returns a new sorted set with supplied keys. + */ +cljs.core.sorted_set = (function cljs$core$sorted_set(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33872 = arguments.length; +var i__5770__auto___33873 = (0); +while(true){ +if((i__5770__auto___33873 < len__5769__auto___33872)){ +args__5775__auto__.push((arguments[i__5770__auto___33873])); + +var G__33874 = (i__5770__auto___33873 + (1)); +i__5770__auto___33873 = G__33874; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.sorted_set.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.sorted_set.cljs$core$IFn$_invoke$arity$variadic = (function (keys){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,cljs.core.PersistentTreeSet.EMPTY,keys); +})); + +(cljs.core.sorted_set.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.sorted_set.cljs$lang$applyTo = (function (seq27745){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27745)); +})); + +/** + * Returns a new sorted set with supplied keys, using the supplied comparator. + */ +cljs.core.sorted_set_by = (function cljs$core$sorted_set_by(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___33875 = arguments.length; +var i__5770__auto___33876 = (0); +while(true){ +if((i__5770__auto___33876 < len__5769__auto___33875)){ +args__5775__auto__.push((arguments[i__5770__auto___33876])); + +var G__33878 = (i__5770__auto___33876 + (1)); +i__5770__auto___33876 = G__33878; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.sorted_set_by.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.sorted_set_by.cljs$core$IFn$_invoke$arity$variadic = (function (comparator,keys){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,(new cljs.core.PersistentTreeSet(null,cljs.core.sorted_map_by(comparator),(0))),keys); +})); + +(cljs.core.sorted_set_by.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.sorted_set_by.cljs$lang$applyTo = (function (seq27746){ +var G__27747 = cljs.core.first(seq27746); +var seq27746__$1 = cljs.core.next(seq27746); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27747,seq27746__$1); +})); + +/** + * Given a map of replacement pairs and a vector/collection, returns a + * vector/seq with any elements = a key in smap replaced with the + * corresponding val in smap. Returns a transducer when no collection + * is provided. + */ +cljs.core.replace = (function cljs$core$replace(var_args){ +var G__27751 = arguments.length; +switch (G__27751) { +case 1: +return cljs.core.replace.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.replace.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.replace.cljs$core$IFn$_invoke$arity$1 = (function (smap){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$1((function (p1__27748_SHARP_){ +var temp__5821__auto__ = cljs.core.find(smap,p1__27748_SHARP_); +if(cljs.core.truth_(temp__5821__auto__)){ +var e = temp__5821__auto__; +return cljs.core.val(e); +} else { +return p1__27748_SHARP_; +} +})); +})); + +(cljs.core.replace.cljs$core$IFn$_invoke$arity$2 = (function (smap,coll){ +if(cljs.core.vector_QMARK_(coll)){ +var n = cljs.core.count(coll); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (v,i){ +var temp__5821__auto__ = cljs.core.find(smap,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(v,i)); +if(cljs.core.truth_(temp__5821__auto__)){ +var e = temp__5821__auto__; +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(v,i,cljs.core.second(e)); +} else { +return v; +} +}),coll,cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,cljs.core.iterate(cljs.core.inc,(0)))); +} else { +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__27749_SHARP_){ +var temp__5821__auto__ = cljs.core.find(smap,p1__27749_SHARP_); +if(cljs.core.truth_(temp__5821__auto__)){ +var e = temp__5821__auto__; +return cljs.core.second(e); +} else { +return p1__27749_SHARP_; +} +}),coll); +} +})); + +(cljs.core.replace.cljs$lang$maxFixedArity = 2); + +/** + * Returns a lazy sequence of the elements of coll with duplicates removed. + * Returns a stateful transducer when no collection is provided. + */ +cljs.core.distinct = (function cljs$core$distinct(var_args){ +var G__27753 = arguments.length; +switch (G__27753) { +case 0: +return cljs.core.distinct.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.distinct.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.distinct.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (function (rf){ +var seen = cljs.core.volatile_BANG_(cljs.core.PersistentHashSet.EMPTY); +return (function() { +var G__33888 = null; +var G__33888__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__33888__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__33888__2 = (function (result,input){ +if(cljs.core.contains_QMARK_(cljs.core.deref(seen),input)){ +return result; +} else { +seen.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, cljs.core.conj.cljs$core$IFn$_invoke$arity$2(seen.cljs$core$IDeref$_deref$arity$1(null, ),input)); + +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} +}); +G__33888 = function(result,input){ +switch(arguments.length){ +case 0: +return G__33888__0.call(this); +case 1: +return G__33888__1.call(this,result); +case 2: +return G__33888__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33888.cljs$core$IFn$_invoke$arity$0 = G__33888__0; +G__33888.cljs$core$IFn$_invoke$arity$1 = G__33888__1; +G__33888.cljs$core$IFn$_invoke$arity$2 = G__33888__2; +return G__33888; +})() +}); +})); + +(cljs.core.distinct.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +var step = (function cljs$core$step(xs,seen){ +return (new cljs.core.LazySeq(null,(function (){ +return (function (p__27754,seen__$1){ +while(true){ +var vec__27755 = p__27754; +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27755,(0),null); +var xs__$1 = vec__27755; +var temp__5823__auto__ = cljs.core.seq(xs__$1); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +if(cljs.core.contains_QMARK_(seen__$1,f)){ +var G__33896 = cljs.core.rest(s); +var G__33897 = seen__$1; +p__27754 = G__33896; +seen__$1 = G__33897; +continue; +} else { +return cljs.core.cons(f,cljs$core$step(cljs.core.rest(s),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(seen__$1,f))); +} +} else { +return null; +} +break; +} +})(xs,seen); +}),null,null)); +}); +return step(coll,cljs.core.PersistentHashSet.EMPTY); +})); + +(cljs.core.distinct.cljs$lang$maxFixedArity = 1); + +/** + * Return a seq of all but the last item in coll, in linear time + */ +cljs.core.butlast = (function cljs$core$butlast(s){ +var ret = cljs.core.PersistentVector.EMPTY; +var s__$1 = s; +while(true){ +if(cljs.core.next(s__$1)){ +var G__33904 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,cljs.core.first(s__$1)); +var G__33905 = cljs.core.next(s__$1); +ret = G__33904; +s__$1 = G__33905; +continue; +} else { +return cljs.core.seq(ret); +} +break; +} +}); +/** + * Returns the name String of a string, symbol or keyword. + */ +cljs.core.name = (function cljs$core$name(x){ +if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition1$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$INamed$))))?true:false):false)){ +return x.cljs$core$INamed$_name$arity$1(null, ); +} else { +if(typeof x === 'string'){ +return x; +} else { +throw (new Error(["Doesn't support name: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join(''))); +} +} +}); +/** + * Returns a map with the keys mapped to the corresponding vals. + */ +cljs.core.zipmap = (function cljs$core$zipmap(keys,vals){ +var map = cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY); +var ks = cljs.core.seq(keys); +var vs = cljs.core.seq(vals); +while(true){ +if(((ks) && (vs))){ +var G__33925 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(map,cljs.core.first(ks),cljs.core.first(vs)); +var G__33926 = cljs.core.next(ks); +var G__33927 = cljs.core.next(vs); +map = G__33925; +ks = G__33926; +vs = G__33927; +continue; +} else { +return cljs.core.persistent_BANG_(map); +} +break; +} +}); +/** + * Returns the x for which (k x), a number, is greatest. + * + * If there are multiple such xs, the last one is returned. + */ +cljs.core.max_key = (function cljs$core$max_key(var_args){ +var G__27766 = arguments.length; +switch (G__27766) { +case 2: +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___33938 = arguments.length; +var i__5770__auto___33939 = (0); +while(true){ +if((i__5770__auto___33939 < len__5769__auto___33938)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___33939])); + +var G__33942 = (i__5770__auto___33939 + (1)); +i__5770__auto___33939 = G__33942; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.max_key.cljs$core$IFn$_invoke$arity$2 = (function (k,x){ +return x; +})); + +(cljs.core.max_key.cljs$core$IFn$_invoke$arity$3 = (function (k,x,y){ +if(((k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(x) : k.call(null, x)) > (k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(y) : k.call(null, y)))){ +return x; +} else { +return y; +} +})); + +(cljs.core.max_key.cljs$core$IFn$_invoke$arity$variadic = (function (k,x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27759_SHARP_,p2__27760_SHARP_){ +return cljs.core.max_key.cljs$core$IFn$_invoke$arity$3(k,p1__27759_SHARP_,p2__27760_SHARP_); +}),cljs.core.max_key.cljs$core$IFn$_invoke$arity$3(k,x,y),more); +})); + +/** @this {Function} */ +(cljs.core.max_key.cljs$lang$applyTo = (function (seq27762){ +var G__27763 = cljs.core.first(seq27762); +var seq27762__$1 = cljs.core.next(seq27762); +var G__27764 = cljs.core.first(seq27762__$1); +var seq27762__$2 = cljs.core.next(seq27762__$1); +var G__27765 = cljs.core.first(seq27762__$2); +var seq27762__$3 = cljs.core.next(seq27762__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27763,G__27764,G__27765,seq27762__$3); +})); + +(cljs.core.max_key.cljs$lang$maxFixedArity = (3)); + +/** + * Returns the x for which (k x), a number, is least. + * + * If there are multiple such xs, the last one is returned. + */ +cljs.core.min_key = (function cljs$core$min_key(var_args){ +var G__27774 = arguments.length; +switch (G__27774) { +case 2: +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___33945 = arguments.length; +var i__5770__auto___33946 = (0); +while(true){ +if((i__5770__auto___33946 < len__5769__auto___33945)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___33946])); + +var G__33947 = (i__5770__auto___33946 + (1)); +i__5770__auto___33946 = G__33947; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.min_key.cljs$core$IFn$_invoke$arity$2 = (function (k,x){ +return x; +})); + +(cljs.core.min_key.cljs$core$IFn$_invoke$arity$3 = (function (k,x,y){ +if(((k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(x) : k.call(null, x)) < (k.cljs$core$IFn$_invoke$arity$1 ? k.cljs$core$IFn$_invoke$arity$1(y) : k.call(null, y)))){ +return x; +} else { +return y; +} +})); + +(cljs.core.min_key.cljs$core$IFn$_invoke$arity$variadic = (function (k,x,y,more){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27767_SHARP_,p2__27768_SHARP_){ +return cljs.core.min_key.cljs$core$IFn$_invoke$arity$3(k,p1__27767_SHARP_,p2__27768_SHARP_); +}),cljs.core.min_key.cljs$core$IFn$_invoke$arity$3(k,x,y),more); +})); + +/** @this {Function} */ +(cljs.core.min_key.cljs$lang$applyTo = (function (seq27770){ +var G__27771 = cljs.core.first(seq27770); +var seq27770__$1 = cljs.core.next(seq27770); +var G__27772 = cljs.core.first(seq27770__$1); +var seq27770__$2 = cljs.core.next(seq27770__$1); +var G__27773 = cljs.core.first(seq27770__$2); +var seq27770__$3 = cljs.core.next(seq27770__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27771,G__27772,G__27773,seq27770__$3); +})); + +(cljs.core.min_key.cljs$lang$maxFixedArity = (3)); + + +/** +* @constructor +*/ +cljs.core.ArrayList = (function (arr){ +this.arr = arr; +}); +(cljs.core.ArrayList.prototype.add = (function (x){ +var self__ = this; +var _ = this; +return self__.arr.push(x); +})); + +(cljs.core.ArrayList.prototype.size = (function (){ +var self__ = this; +var _ = this; +return self__.arr.length; +})); + +(cljs.core.ArrayList.prototype.clear = (function (){ +var self__ = this; +var _ = this; +return (self__.arr = []); +})); + +(cljs.core.ArrayList.prototype.isEmpty = (function (){ +var self__ = this; +var _ = this; +return (self__.arr.length === (0)); +})); + +(cljs.core.ArrayList.prototype.toArray = (function (){ +var self__ = this; +var _ = this; +return self__.arr; +})); + +(cljs.core.ArrayList.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.ArrayList.cljs$lang$type = true); + +(cljs.core.ArrayList.cljs$lang$ctorStr = "cljs.core/ArrayList"); + +(cljs.core.ArrayList.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/ArrayList"); +})); + +/** + * Positional factory function for cljs.core/ArrayList. + */ +cljs.core.__GT_ArrayList = (function cljs$core$__GT_ArrayList(arr){ +return (new cljs.core.ArrayList(arr)); +}); + +cljs.core.array_list = (function cljs$core$array_list(){ +return (new cljs.core.ArrayList([])); +}); +/** + * Returns a lazy sequence of lists like partition, but may include + * partitions with fewer than n items at the end. Returns a stateful + * transducer when no collection is provided. + */ +cljs.core.partition_all = (function cljs$core$partition_all(var_args){ +var G__27776 = arguments.length; +switch (G__27776) { +case 1: +return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.partition_all.cljs$core$IFn$_invoke$arity$1 = (function (n){ +return (function (rf){ +var a = cljs.core.array_list(); +return (function() { +var G__33961 = null; +var G__33961__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__33961__1 = (function (result){ +var result__$1 = (cljs.core.truth_(a.isEmpty())?result:(function (){var v = cljs.core.vec(a.toArray()); +a.clear(); + +return cljs.core.unreduced((rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null, result,v))); +})()); +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result__$1) : rf.call(null, result__$1)); +}); +var G__33961__2 = (function (result,input){ +a.add(input); + +if((n === a.size())){ +var v = cljs.core.vec(a.toArray()); +a.clear(); + +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null, result,v)); +} else { +return result; +} +}); +G__33961 = function(result,input){ +switch(arguments.length){ +case 0: +return G__33961__0.call(this); +case 1: +return G__33961__1.call(this,result); +case 2: +return G__33961__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33961.cljs$core$IFn$_invoke$arity$0 = G__33961__0; +G__33961.cljs$core$IFn$_invoke$arity$1 = G__33961__1; +G__33961.cljs$core$IFn$_invoke$arity$2 = G__33961__2; +return G__33961; +})() +}); +})); + +(cljs.core.partition_all.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ +return cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3(n,n,coll); +})); + +(cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3 = (function (n,step,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +return cljs.core.cons(cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,s),cljs.core.partition_all.cljs$core$IFn$_invoke$arity$3(n,step,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(step,s))); +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.partition_all.cljs$lang$maxFixedArity = 3); + +/** + * Returns a lazy sequence of successive items from coll while + * (pred item) returns logical true. pred must be free of side-effects. + * Returns a transducer when no collection is provided. + */ +cljs.core.take_while = (function cljs$core$take_while(var_args){ +var G__27778 = arguments.length; +switch (G__27778) { +case 1: +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.take_while.cljs$core$IFn$_invoke$arity$1 = (function (pred){ +return (function (rf){ +return (function() { +var G__33973 = null; +var G__33973__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__33973__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__33973__2 = (function (result,input){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null, input)))){ +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} else { +return cljs.core.reduced(result); +} +}); +G__33973 = function(result,input){ +switch(arguments.length){ +case 0: +return G__33973__0.call(this); +case 1: +return G__33973__1.call(this,result); +case 2: +return G__33973__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__33973.cljs$core$IFn$_invoke$arity$0 = G__33973__0; +G__33973.cljs$core$IFn$_invoke$arity$1 = G__33973__1; +G__33973.cljs$core$IFn$_invoke$arity$2 = G__33973__2; +return G__33973; +})() +}); +})); + +(cljs.core.take_while.cljs$core$IFn$_invoke$arity$2 = (function (pred,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +if(cljs.core.truth_((function (){var G__27779 = cljs.core.first(s); +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(G__27779) : pred.call(null, G__27779)); +})())){ +return cljs.core.cons(cljs.core.first(s),cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(pred,cljs.core.rest(s))); +} else { +return null; +} +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.take_while.cljs$lang$maxFixedArity = 2); + +cljs.core.mk_bound_fn = (function cljs$core$mk_bound_fn(sc,test,key){ +return (function (e){ +var comp = cljs.core._comparator(sc); +var G__27780 = (function (){var G__27782 = cljs.core._entry_key(sc,e); +var G__27783 = key; +return (comp.cljs$core$IFn$_invoke$arity$2 ? comp.cljs$core$IFn$_invoke$arity$2(G__27782,G__27783) : comp.call(null, G__27782,G__27783)); +})(); +var G__27781 = (0); +return (test.cljs$core$IFn$_invoke$arity$2 ? test.cljs$core$IFn$_invoke$arity$2(G__27780,G__27781) : test.call(null, G__27780,G__27781)); +}); +}); +/** + * sc must be a sorted collection, test(s) one of <, <=, > or + * >=. Returns a seq of those entries with keys ek for + * which (test (.. sc comparator (compare ek key)) 0) is true + */ +cljs.core.subseq = (function cljs$core$subseq(var_args){ +var G__27785 = arguments.length; +switch (G__27785) { +case 3: +return cljs.core.subseq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 5: +return cljs.core.subseq.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.subseq.cljs$core$IFn$_invoke$arity$3 = (function (sc,test,key){ +var include = cljs.core.mk_bound_fn(sc,test,key); +if(cljs.core.truth_((function (){var fexpr__27786 = cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._GT_,cljs.core._GT__EQ_]); +return (fexpr__27786.cljs$core$IFn$_invoke$arity$1 ? fexpr__27786.cljs$core$IFn$_invoke$arity$1(test) : fexpr__27786.call(null, test)); +})())){ +var temp__5823__auto__ = cljs.core._sorted_seq_from(sc,key,true); +if(cljs.core.truth_(temp__5823__auto__)){ +var vec__27787 = temp__5823__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27787,(0),null); +var s = vec__27787; +if(cljs.core.truth_(include(e))){ +return s; +} else { +return cljs.core.next(s); +} +} else { +return null; +} +} else { +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(include,cljs.core._sorted_seq(sc,true)); +} +})); + +(cljs.core.subseq.cljs$core$IFn$_invoke$arity$5 = (function (sc,start_test,start_key,end_test,end_key){ +var temp__5823__auto__ = cljs.core._sorted_seq_from(sc,start_key,true); +if(cljs.core.truth_(temp__5823__auto__)){ +var vec__27790 = temp__5823__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27790,(0),null); +var s = vec__27790; +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,end_test,end_key),(cljs.core.truth_(cljs.core.mk_bound_fn(sc,start_test,start_key)(e))?s:cljs.core.next(s))); +} else { +return null; +} +})); + +(cljs.core.subseq.cljs$lang$maxFixedArity = 5); + +/** + * sc must be a sorted collection, test(s) one of <, <=, > or + * >=. Returns a reverse seq of those entries with keys ek for + * which (test (.. sc comparator (compare ek key)) 0) is true + */ +cljs.core.rsubseq = (function cljs$core$rsubseq(var_args){ +var G__27794 = arguments.length; +switch (G__27794) { +case 3: +return cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 5: +return cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$3 = (function (sc,test,key){ +var include = cljs.core.mk_bound_fn(sc,test,key); +if(cljs.core.truth_((function (){var fexpr__27795 = cljs.core.PersistentHashSet.createAsIfByAssoc([cljs.core._LT_,cljs.core._LT__EQ_]); +return (fexpr__27795.cljs$core$IFn$_invoke$arity$1 ? fexpr__27795.cljs$core$IFn$_invoke$arity$1(test) : fexpr__27795.call(null, test)); +})())){ +var temp__5823__auto__ = cljs.core._sorted_seq_from(sc,key,false); +if(cljs.core.truth_(temp__5823__auto__)){ +var vec__27796 = temp__5823__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27796,(0),null); +var s = vec__27796; +if(cljs.core.truth_(include(e))){ +return s; +} else { +return cljs.core.next(s); +} +} else { +return null; +} +} else { +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(include,cljs.core._sorted_seq(sc,false)); +} +})); + +(cljs.core.rsubseq.cljs$core$IFn$_invoke$arity$5 = (function (sc,start_test,start_key,end_test,end_key){ +var temp__5823__auto__ = cljs.core._sorted_seq_from(sc,end_key,false); +if(cljs.core.truth_(temp__5823__auto__)){ +var vec__27799 = temp__5823__auto__; +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27799,(0),null); +var s = vec__27799; +return cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(cljs.core.mk_bound_fn(sc,start_test,start_key),(cljs.core.truth_(cljs.core.mk_bound_fn(sc,end_test,end_key)(e))?s:cljs.core.next(s))); +} else { +return null; +} +})); + +(cljs.core.rsubseq.cljs$lang$maxFixedArity = 5); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.IChunk} +*/ +cljs.core.IntegerRangeChunk = (function (start,step,count){ +this.start = start; +this.step = step; +this.count = count; +this.cljs$lang$protocol_mask$partition0$ = 82; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.IntegerRangeChunk.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.count; +})); + +(cljs.core.IntegerRangeChunk.prototype.cljs$core$ISeq$_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.start; +})); + +(cljs.core.IntegerRangeChunk.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,i){ +var self__ = this; +var coll__$1 = this; +return (self__.start + (i * self__.step)); +})); + +(cljs.core.IntegerRangeChunk.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,i,not_found){ +var self__ = this; +var coll__$1 = this; +if((((i >= (0))) && ((i < self__.count)))){ +return (self__.start + (i * self__.step)); +} else { +return not_found; +} +})); + +(cljs.core.IntegerRangeChunk.prototype.cljs$core$IChunk$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.IntegerRangeChunk.prototype.cljs$core$IChunk$_drop_first$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.count <= (1))){ +throw (new Error("-drop-first of empty chunk")); +} else { +return (new cljs.core.IntegerRangeChunk((self__.start + self__.step),self__.step,(self__.count - (1)))); +} +})); + +(cljs.core.IntegerRangeChunk.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"step","step",-1365547645,null),new cljs.core.Symbol(null,"count","count",-514511684,null)], null); +})); + +(cljs.core.IntegerRangeChunk.cljs$lang$type = true); + +(cljs.core.IntegerRangeChunk.cljs$lang$ctorStr = "cljs.core/IntegerRangeChunk"); + +(cljs.core.IntegerRangeChunk.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/IntegerRangeChunk"); +})); + +/** + * Positional factory function for cljs.core/IntegerRangeChunk. + */ +cljs.core.__GT_IntegerRangeChunk = (function cljs$core$__GT_IntegerRangeChunk(start,step,count){ +return (new cljs.core.IntegerRangeChunk(start,step,count)); +}); + + +/** +* @constructor +*/ +cljs.core.RangeIterator = (function (i,end,step){ +this.i = i; +this.end = end; +this.step = step; +}); +(cljs.core.RangeIterator.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +if((self__.step > (0))){ +return (self__.i < self__.end); +} else { +return (self__.i > self__.end); +} +})); + +(cljs.core.RangeIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = self__.i; +(self__.i = (self__.i + self__.step)); + +return ret; +})); + +(cljs.core.RangeIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"end","end",1372345569,null),new cljs.core.Symbol(null,"step","step",-1365547645,null)], null); +})); + +(cljs.core.RangeIterator.cljs$lang$type = true); + +(cljs.core.RangeIterator.cljs$lang$ctorStr = "cljs.core/RangeIterator"); + +(cljs.core.RangeIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/RangeIterator"); +})); + +/** + * Positional factory function for cljs.core/RangeIterator. + */ +cljs.core.__GT_RangeIterator = (function cljs$core$__GT_RangeIterator(i,end,step){ +return (new cljs.core.RangeIterator(i,end,step)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IChunkedNext} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IChunkedSeq} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.IntegerRange = (function (meta,start,end,step,chunk,chunk_next,__hash){ +this.meta = meta; +this.start = start; +this.end = end; +this.step = step; +this.chunk = chunk; +this.chunk_next = chunk_next; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 32375006; +this.cljs$lang$protocol_mask$partition1$ = 140800; +}); +(cljs.core.IntegerRange.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.IntegerRange.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.IntegerRange.prototype.indexOf = (function() { +var G__34000 = null; +var G__34000__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__34000__2 = (function (x,start__$1){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); +}); +G__34000 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__34000__1.call(this,x); +case 2: +return G__34000__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34000.cljs$core$IFn$_invoke$arity$1 = G__34000__1; +G__34000.cljs$core$IFn$_invoke$arity$2 = G__34000__2; +return G__34000; +})() +); + +(cljs.core.IntegerRange.prototype.lastIndexOf = (function() { +var G__34002 = null; +var G__34002__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__34002__2 = (function (x,start__$1){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); +}); +G__34002 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__34002__1.call(this,x); +case 2: +return G__34002__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34002.cljs$core$IFn$_invoke$arity$1 = G__34002__1; +G__34002.cljs$core$IFn$_invoke$arity$2 = G__34002__2; +return G__34002; +})() +); + +(cljs.core.IntegerRange.prototype.forceChunk = (function (){ +var self__ = this; +var coll = this; +if((self__.chunk == null)){ +var count = coll.cljs$core$ICounted$_count$arity$1(null, ); +if((count > (32))){ +(self__.chunk_next = (new cljs.core.IntegerRange(null,(self__.start + (self__.step * (32))),self__.end,self__.step,null,null,null))); + +return (self__.chunk = (new cljs.core.IntegerRangeChunk(self__.start,self__.step,(32)))); +} else { +return (self__.chunk = (new cljs.core.IntegerRangeChunk(self__.start,self__.step,count))); +} +} else { +return null; +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (rng,n){ +var self__ = this; +var rng__$1 = this; +if(((((0) <= n)) && ((n < rng__$1.cljs$core$ICounted$_count$arity$1(null, ))))){ +return (self__.start + (n * self__.step)); +} else { +if(((((0) <= n)) && ((((self__.start > self__.end)) && ((self__.step === (0))))))){ +return self__.start; +} else { +throw (new Error("Index out of bounds")); +} +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (rng,n,not_found){ +var self__ = this; +var rng__$1 = this; +if(((((0) <= n)) && ((n < rng__$1.cljs$core$ICounted$_count$arity$1(null, ))))){ +return (self__.start + (n * self__.step)); +} else { +if(((((0) <= n)) && ((((self__.start > self__.end)) && ((self__.step === (0))))))){ +return self__.start; +} else { +return not_found; +} +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.RangeIterator(self__.start,self__.end,self__.step)); +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IMeta$_meta$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return self__.meta; +})); + +(cljs.core.IntegerRange.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.IntegerRange(self__.meta,self__.start,self__.end,self__.step,self__.chunk,self__.chunk_next,self__.__hash)); +})); + +(cljs.core.IntegerRange.prototype.cljs$core$INext$_next$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +if((self__.step > (0))){ +if(((self__.start + self__.step) < self__.end)){ +return (new cljs.core.IntegerRange(null,(self__.start + self__.step),self__.end,self__.step,null,null,null)); +} else { +return null; +} +} else { +if(((self__.start + self__.step) > self__.end)){ +return (new cljs.core.IntegerRange(null,(self__.start + self__.step),self__.end,self__.step,null,null,null)); +} else { +return null; +} +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$ICounted$_count$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return Math.ceil(((self__.end - self__.start) / self__.step)); +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IHash$_hash$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(rng__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (rng,other){ +var self__ = this; +var rng__$1 = this; +return cljs.core.equiv_sequential(rng__$1,other); +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (rng,f){ +var self__ = this; +var rng__$1 = this; +return cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(rng__$1,f); +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (rng,f,init){ +var self__ = this; +var rng__$1 = this; +var i = self__.start; +var ret = init; +while(true){ +if((((self__.step > (0)))?(i < self__.end):(i > self__.end))){ +var ret__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,i) : f.call(null, ret,i)); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__34022 = (i + self__.step); +var G__34023 = ret__$1; +i = G__34022; +ret = G__34023; +continue; +} +} else { +return ret; +} +break; +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$ISeq$_first$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return self__.start; +})); + +(cljs.core.IntegerRange.prototype.cljs$core$ISeq$_rest$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +var s = rng__$1.cljs$core$INext$_next$arity$1(null, ); +if((s == null)){ +return cljs.core.List.EMPTY; +} else { +return s; +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return rng__$1; +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IChunkedSeq$_chunked_first$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +rng__$1.forceChunk(); + +return self__.chunk; +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IChunkedSeq$_chunked_rest$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +rng__$1.forceChunk(); + +if((self__.chunk_next == null)){ +return cljs.core.List.EMPTY; +} else { +return self__.chunk_next; +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (rng,new_meta){ +var self__ = this; +var rng__$1 = this; +if((new_meta === self__.meta)){ +return rng__$1; +} else { +return (new cljs.core.IntegerRange(new_meta,self__.start,self__.end,self__.step,self__.chunk,self__.chunk_next,self__.__hash)); +} +})); + +(cljs.core.IntegerRange.prototype.cljs$core$ICollection$_conj$arity$2 = (function (rng,o){ +var self__ = this; +var rng__$1 = this; +return cljs.core.cons(o,rng__$1); +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IChunkedNext$_chunked_next$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return cljs.core.seq(rng__$1.cljs$core$IChunkedSeq$_chunked_rest$arity$1(null, )); +})); + +(cljs.core.IntegerRange.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"end","end",1372345569,null),new cljs.core.Symbol(null,"step","step",-1365547645,null),cljs.core.with_meta(new cljs.core.Symbol(null,"chunk","chunk",449371907,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"chunk-next","chunk-next",-547810434,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.IntegerRange.cljs$lang$type = true); + +(cljs.core.IntegerRange.cljs$lang$ctorStr = "cljs.core/IntegerRange"); + +(cljs.core.IntegerRange.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/IntegerRange"); +})); + +/** + * Positional factory function for cljs.core/IntegerRange. + */ +cljs.core.__GT_IntegerRange = (function cljs$core$__GT_IntegerRange(meta,start,end,step,chunk,chunk_next,__hash){ +return (new cljs.core.IntegerRange(meta,start,end,step,chunk,chunk_next,__hash)); +}); + +(cljs.core.IntegerRange.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IChunkedNext} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IChunkedSeq} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.Range = (function (meta,start,end,step,chunk,chunk_next,__hash){ +this.meta = meta; +this.start = start; +this.end = end; +this.step = step; +this.chunk = chunk; +this.chunk_next = chunk_next; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition1$ = 140800; +this.cljs$lang$protocol_mask$partition0$ = 32374988; +}); +(cljs.core.Range.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.Range.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.Range.prototype.indexOf = (function() { +var G__34049 = null; +var G__34049__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__34049__2 = (function (x,start__$1){ +var self__ = this; +var coll = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); +}); +G__34049 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__34049__1.call(this,x); +case 2: +return G__34049__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34049.cljs$core$IFn$_invoke$arity$1 = G__34049__1; +G__34049.cljs$core$IFn$_invoke$arity$2 = G__34049__2; +return G__34049; +})() +); + +(cljs.core.Range.prototype.lastIndexOf = (function() { +var G__34051 = null; +var G__34051__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__34051__2 = (function (x,start__$1){ +var self__ = this; +var coll = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start__$1); +}); +G__34051 = function(x,start__$1){ +switch(arguments.length){ +case 1: +return G__34051__1.call(this,x); +case 2: +return G__34051__2.call(this,x,start__$1); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34051.cljs$core$IFn$_invoke$arity$1 = G__34051__1; +G__34051.cljs$core$IFn$_invoke$arity$2 = G__34051__2; +return G__34051; +})() +); + +(cljs.core.Range.prototype.forceChunk = (function (){ +var self__ = this; +var coll = this; +if((self__.chunk == null)){ +var arr = [null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]; +var val = (function (){var n = (0); +var val = self__.start; +while(true){ +if((n < (32))){ +(arr[n] = val); + +var n__$1 = (n + (1)); +var val__$1 = (val + self__.step); +if((((self__.step > (0)))?(val__$1 < self__.end):(val__$1 > self__.end))){ +var G__34062 = n__$1; +var G__34063 = val__$1; +n = G__34062; +val = G__34063; +continue; +} else { +return (self__.chunk = cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3(arr,(0),n__$1)); +} +} else { +return val; +} +break; +} +})(); +if((self__.chunk == null)){ +(self__.chunk = cljs.core.array_chunk.cljs$core$IFn$_invoke$arity$3(arr,(0),(32))); + +if((((self__.step > (0)))?(val < self__.end):(val > self__.end))){ +return (self__.chunk_next = (new cljs.core.Range(null,val,self__.end,self__.step,null,null,null))); +} else { +return null; +} +} else { +return null; +} +} else { +return null; +} +})); + +(cljs.core.Range.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.RangeIterator(self__.start,self__.end,self__.step)); +})); + +(cljs.core.Range.prototype.cljs$core$IMeta$_meta$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return self__.meta; +})); + +(cljs.core.Range.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs.core.Range(self__.meta,self__.start,self__.end,self__.step,self__.chunk,self__.chunk_next,self__.__hash)); +})); + +(cljs.core.Range.prototype.cljs$core$INext$_next$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +if((self__.step > (0))){ +if(((self__.start + self__.step) < self__.end)){ +return (new cljs.core.Range(null,(self__.start + self__.step),self__.end,self__.step,null,null,null)); +} else { +return null; +} +} else { +if(((self__.start + self__.step) > self__.end)){ +return (new cljs.core.Range(null,(self__.start + self__.step),self__.end,self__.step,null,null,null)); +} else { +return null; +} +} +})); + +(cljs.core.Range.prototype.cljs$core$IHash$_hash$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(rng__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.core.Range.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (rng,other){ +var self__ = this; +var rng__$1 = this; +return cljs.core.equiv_sequential(rng__$1,other); +})); + +(cljs.core.Range.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs.core.Range.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (rng,f){ +var self__ = this; +var rng__$1 = this; +return cljs.core.seq_reduce.cljs$core$IFn$_invoke$arity$2(f,rng__$1); +})); + +(cljs.core.Range.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (rng,f,init){ +var self__ = this; +var rng__$1 = this; +var i = self__.start; +var ret = init; +while(true){ +if((((self__.step > (0)))?(i < self__.end):(i > self__.end))){ +var ret__$1 = (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(ret,i) : f.call(null, ret,i)); +if(cljs.core.reduced_QMARK_(ret__$1)){ +return cljs.core.deref(ret__$1); +} else { +var G__34090 = (i + self__.step); +var G__34091 = ret__$1; +i = G__34090; +ret = G__34091; +continue; +} +} else { +return ret; +} +break; +} +})); + +(cljs.core.Range.prototype.cljs$core$ISeq$_first$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return self__.start; +})); + +(cljs.core.Range.prototype.cljs$core$ISeq$_rest$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +var s = rng__$1.cljs$core$INext$_next$arity$1(null, ); +if((s == null)){ +return cljs.core.List.EMPTY; +} else { +return s; +} +})); + +(cljs.core.Range.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return rng__$1; +})); + +(cljs.core.Range.prototype.cljs$core$IChunkedSeq$_chunked_first$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +rng__$1.forceChunk(); + +return self__.chunk; +})); + +(cljs.core.Range.prototype.cljs$core$IChunkedSeq$_chunked_rest$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +rng__$1.forceChunk(); + +if((self__.chunk_next == null)){ +return cljs.core.List.EMPTY; +} else { +return self__.chunk_next; +} +})); + +(cljs.core.Range.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (rng,new_meta){ +var self__ = this; +var rng__$1 = this; +if((new_meta === self__.meta)){ +return rng__$1; +} else { +return (new cljs.core.Range(new_meta,self__.start,self__.end,self__.step,self__.chunk,self__.chunk_next,self__.__hash)); +} +})); + +(cljs.core.Range.prototype.cljs$core$ICollection$_conj$arity$2 = (function (rng,o){ +var self__ = this; +var rng__$1 = this; +return cljs.core.cons(o,rng__$1); +})); + +(cljs.core.Range.prototype.cljs$core$IChunkedNext$_chunked_next$arity$1 = (function (rng){ +var self__ = this; +var rng__$1 = this; +return cljs.core.seq(rng__$1.cljs$core$IChunkedSeq$_chunked_rest$arity$1(null, )); +})); + +(cljs.core.Range.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"start","start",1285322546,null),new cljs.core.Symbol(null,"end","end",1372345569,null),new cljs.core.Symbol(null,"step","step",-1365547645,null),cljs.core.with_meta(new cljs.core.Symbol(null,"chunk","chunk",449371907,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"chunk-next","chunk-next",-547810434,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Range.cljs$lang$type = true); + +(cljs.core.Range.cljs$lang$ctorStr = "cljs.core/Range"); + +(cljs.core.Range.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Range"); +})); + +/** + * Positional factory function for cljs.core/Range. + */ +cljs.core.__GT_Range = (function cljs$core$__GT_Range(meta,start,end,step,chunk,chunk_next,__hash){ +return (new cljs.core.Range(meta,start,end,step,chunk,chunk_next,__hash)); +}); + +(cljs.core.Range.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Returns a lazy seq of nums from start (inclusive) to end + * (exclusive), by step, where start defaults to 0, step to 1, + * and end to infinity. + */ +cljs.core.range = (function cljs$core$range(var_args){ +var G__27803 = arguments.length; +switch (G__27803) { +case 0: +return cljs.core.range.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.range.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.range.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.range.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.range.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.range.cljs$core$IFn$_invoke$arity$3((0),Number.MAX_VALUE,(1)); +})); + +(cljs.core.range.cljs$core$IFn$_invoke$arity$1 = (function (end){ +return cljs.core.range.cljs$core$IFn$_invoke$arity$3((0),end,(1)); +})); + +(cljs.core.range.cljs$core$IFn$_invoke$arity$2 = (function (start,end){ +return cljs.core.range.cljs$core$IFn$_invoke$arity$3(start,end,(1)); +})); + +(cljs.core.range.cljs$core$IFn$_invoke$arity$3 = (function (start,end,step){ +if((step > (0))){ +if((end <= start)){ +return cljs.core.List.EMPTY; +} else { +if(((cljs.core.integer_QMARK_(start)) && (((cljs.core.integer_QMARK_(end)) && (cljs.core.integer_QMARK_(step)))))){ +return (new cljs.core.IntegerRange(null,start,end,step,null,null,null)); +} else { +return (new cljs.core.Range(null,start,end,step,null,null,null)); +} +} +} else { +if((step < (0))){ +if((end >= start)){ +return cljs.core.List.EMPTY; +} else { +if(((cljs.core.integer_QMARK_(start)) && (((cljs.core.integer_QMARK_(end)) && (cljs.core.integer_QMARK_(step)))))){ +return (new cljs.core.IntegerRange(null,start,end,step,null,null,null)); +} else { +return (new cljs.core.Range(null,start,end,step,null,null,null)); +} +} +} else { +if((end === start)){ +return cljs.core.List.EMPTY; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(start); +} + +} +} +})); + +(cljs.core.range.cljs$lang$maxFixedArity = 3); + +/** + * Returns a lazy seq of every nth item in coll. Returns a stateful + * transducer when no collection is provided. + */ +cljs.core.take_nth = (function cljs$core$take_nth(var_args){ +var G__27805 = arguments.length; +switch (G__27805) { +case 1: +return cljs.core.take_nth.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.take_nth.cljs$core$IFn$_invoke$arity$1 = (function (n){ +if(typeof n === 'number'){ +} else { +throw (new Error("Assert failed: (number? n)")); +} + +return (function (rf){ +var ia = cljs.core.volatile_BANG_((-1)); +return (function() { +var G__34126 = null; +var G__34126__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__34126__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__34126__2 = (function (result,input){ +var i = ia.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, (ia.cljs$core$IDeref$_deref$arity$1(null, ) + (1))); +if((cljs.core.rem(i,n) === (0))){ +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} else { +return result; +} +}); +G__34126 = function(result,input){ +switch(arguments.length){ +case 0: +return G__34126__0.call(this); +case 1: +return G__34126__1.call(this,result); +case 2: +return G__34126__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34126.cljs$core$IFn$_invoke$arity$0 = G__34126__0; +G__34126.cljs$core$IFn$_invoke$arity$1 = G__34126__1; +G__34126.cljs$core$IFn$_invoke$arity$2 = G__34126__2; +return G__34126; +})() +}); +})); + +(cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ +if(typeof n === 'number'){ +} else { +throw (new Error("Assert failed: (number? n)")); +} + +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +return cljs.core.cons(cljs.core.first(s),cljs.core.take_nth.cljs$core$IFn$_invoke$arity$2(n,cljs.core.drop.cljs$core$IFn$_invoke$arity$2(n,s))); +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.take_nth.cljs$lang$maxFixedArity = 2); + +/** + * Returns a vector of [(take-while pred coll) (drop-while pred coll)] + */ +cljs.core.split_with = (function cljs$core$split_with(pred,coll){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.take_while.cljs$core$IFn$_invoke$arity$2(pred,coll),cljs.core.drop_while.cljs$core$IFn$_invoke$arity$2(pred,coll)], null); +}); +/** + * Applies f to each value in coll, splitting it each time f returns a + * new value. Returns a lazy seq of partitions. Returns a stateful + * transducer when no collection is provided. + */ +cljs.core.partition_by = (function cljs$core$partition_by(var_args){ +var G__27808 = arguments.length; +switch (G__27808) { +case 1: +return cljs.core.partition_by.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.partition_by.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function (rf){ +var a = cljs.core.array_list(); +var pa = cljs.core.volatile_BANG_(new cljs.core.Keyword("cljs.core","none","cljs.core/none",926646439)); +return (function() { +var G__34137 = null; +var G__34137__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__34137__1 = (function (result){ +var result__$1 = (cljs.core.truth_(a.isEmpty())?result:(function (){var v = cljs.core.vec(a.toArray()); +a.clear(); + +return cljs.core.unreduced((rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null, result,v))); +})()); +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result__$1) : rf.call(null, result__$1)); +}); +var G__34137__2 = (function (result,input){ +var pval = cljs.core.deref(pa); +var val = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(input) : f.call(null, input)); +cljs.core.vreset_BANG_(pa,val); + +if(((cljs.core.keyword_identical_QMARK_(pval,new cljs.core.Keyword("cljs.core","none","cljs.core/none",926646439))) || (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(val,pval)))){ +a.add(input); + +return result; +} else { +var v = cljs.core.vec(a.toArray()); +a.clear(); + +var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,v) : rf.call(null, result,v)); +if(cljs.core.reduced_QMARK_(ret)){ +} else { +a.add(input); +} + +return ret; +} +}); +G__34137 = function(result,input){ +switch(arguments.length){ +case 0: +return G__34137__0.call(this); +case 1: +return G__34137__1.call(this,result); +case 2: +return G__34137__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34137.cljs$core$IFn$_invoke$arity$0 = G__34137__0; +G__34137.cljs$core$IFn$_invoke$arity$1 = G__34137__1; +G__34137.cljs$core$IFn$_invoke$arity$2 = G__34137__2; +return G__34137; +})() +}); +})); + +(cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +var fst = cljs.core.first(s); +var fv = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(fst) : f.call(null, fst)); +var run = cljs.core.cons(fst,cljs.core.take_while.cljs$core$IFn$_invoke$arity$2((function (p1__27806_SHARP_){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(fv,(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(p1__27806_SHARP_) : f.call(null, p1__27806_SHARP_))); +}),cljs.core.next(s))); +return cljs.core.cons(run,cljs.core.partition_by.cljs$core$IFn$_invoke$arity$2(f,(new cljs.core.LazySeq(null,(function (){ +return cljs.core.drop.cljs$core$IFn$_invoke$arity$2(cljs.core.count(run),s); +}),null,null)))); +} else { +return null; +} +}),null,null)); +})); + +(cljs.core.partition_by.cljs$lang$maxFixedArity = 2); + +/** + * Returns a map from distinct items in coll to the number of times + * they appear. + */ +cljs.core.frequencies = (function cljs$core$frequencies(coll){ +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (counts,x){ +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(counts,x,(cljs.core.get.cljs$core$IFn$_invoke$arity$3(counts,x,(0)) + (1))); +}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),coll)); +}); +/** + * Returns a lazy seq of the intermediate values of the reduction (as + * per reduce) of coll by f, starting with init. + */ +cljs.core.reductions = (function cljs$core$reductions(var_args){ +var G__27810 = arguments.length; +switch (G__27810) { +case 2: +return cljs.core.reductions.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.reductions.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.reductions.cljs$core$IFn$_invoke$arity$2 = (function (f,coll){ +return (new cljs.core.LazySeq(null,(function (){ +var temp__5821__auto__ = cljs.core.seq(coll); +if(temp__5821__auto__){ +var s = temp__5821__auto__; +return cljs.core.reductions.cljs$core$IFn$_invoke$arity$3(f,cljs.core.first(s),cljs.core.rest(s)); +} else { +return (new cljs.core.List(null,(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )),null,(1),null)); +} +}),null,null)); +})); + +(cljs.core.reductions.cljs$core$IFn$_invoke$arity$3 = (function (f,init,coll){ +if(cljs.core.reduced_QMARK_(init)){ +return (new cljs.core.List(null,cljs.core.deref(init),null,(1),null)); +} else { +return cljs.core.cons(init,(new cljs.core.LazySeq(null,(function (){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +return cljs.core.reductions.cljs$core$IFn$_invoke$arity$3(f,(function (){var G__27811 = init; +var G__27812 = cljs.core.first(s); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__27811,G__27812) : f.call(null, G__27811,G__27812)); +})(),cljs.core.rest(s)); +} else { +return null; +} +}),null,null))); +} +})); + +(cljs.core.reductions.cljs$lang$maxFixedArity = 3); + +/** + * Takes a set of functions and returns a fn that is the juxtaposition + * of those fns. The returned fn takes a variable number of args, and + * returns a vector containing the result of applying each fn to the + * args (left-to-right). + * ((juxt a b c) x) => [(a x) (b x) (c x)] + */ +cljs.core.juxt = (function cljs$core$juxt(var_args){ +var G__27828 = arguments.length; +switch (G__27828) { +case 1: +return cljs.core.juxt.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.juxt.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.juxt.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___34158 = arguments.length; +var i__5770__auto___34159 = (0); +while(true){ +if((i__5770__auto___34159 < len__5769__auto___34158)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___34159])); + +var G__34160 = (i__5770__auto___34159 + (1)); +i__5770__auto___34159 = G__34160; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((3)),(0),null)); +return cljs.core.juxt.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__5795__auto__); + +} +}); + +(cljs.core.juxt.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return (function() { +var G__34161 = null; +var G__34161__0 = (function (){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, ))],null)); +}); +var G__34161__1 = (function (x){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null, x))],null)); +}); +var G__34161__2 = (function (x,y){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null, x,y))],null)); +}); +var G__34161__3 = (function (x,y,z){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(x,y,z) : f.call(null, x,y,z))],null)); +}); +var G__34161__4 = (function() { +var G__34166__delegate = function (x,y,z,args){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,x,y,z,args)],null)); +}; +var G__34166 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__34168__i = 0, G__34168__a = new Array(arguments.length - 3); +while (G__34168__i < G__34168__a.length) {G__34168__a[G__34168__i] = arguments[G__34168__i + 3]; ++G__34168__i;} + args = new cljs.core.IndexedSeq(G__34168__a,0,null); +} +return G__34166__delegate.call(this,x,y,z,args);}; +G__34166.cljs$lang$maxFixedArity = 3; +G__34166.cljs$lang$applyTo = (function (arglist__34169){ +var x = cljs.core.first(arglist__34169); +arglist__34169 = cljs.core.next(arglist__34169); +var y = cljs.core.first(arglist__34169); +arglist__34169 = cljs.core.next(arglist__34169); +var z = cljs.core.first(arglist__34169); +var args = cljs.core.rest(arglist__34169); +return G__34166__delegate(x,y,z,args); +}); +G__34166.cljs$core$IFn$_invoke$arity$variadic = G__34166__delegate; +return G__34166; +})() +; +G__34161 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__34161__0.call(this); +case 1: +return G__34161__1.call(this,x); +case 2: +return G__34161__2.call(this,x,y); +case 3: +return G__34161__3.call(this,x,y,z); +default: +var G__34172 = null; +if (arguments.length > 3) { +var G__34174__i = 0, G__34174__a = new Array(arguments.length - 3); +while (G__34174__i < G__34174__a.length) {G__34174__a[G__34174__i] = arguments[G__34174__i + 3]; ++G__34174__i;} +G__34172 = new cljs.core.IndexedSeq(G__34174__a,0,null); +} +return G__34161__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__34172); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34161.cljs$lang$maxFixedArity = 3; +G__34161.cljs$lang$applyTo = G__34161__4.cljs$lang$applyTo; +G__34161.cljs$core$IFn$_invoke$arity$0 = G__34161__0; +G__34161.cljs$core$IFn$_invoke$arity$1 = G__34161__1; +G__34161.cljs$core$IFn$_invoke$arity$2 = G__34161__2; +G__34161.cljs$core$IFn$_invoke$arity$3 = G__34161__3; +G__34161.cljs$core$IFn$_invoke$arity$variadic = G__34161__4.cljs$core$IFn$_invoke$arity$variadic; +return G__34161; +})() +})); + +(cljs.core.juxt.cljs$core$IFn$_invoke$arity$2 = (function (f,g){ +return (function() { +var G__34182 = null; +var G__34182__0 = (function (){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )),(g.cljs$core$IFn$_invoke$arity$0 ? g.cljs$core$IFn$_invoke$arity$0() : g.call(null, ))],null)); +}); +var G__34182__1 = (function (x){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null, x)),(g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(x) : g.call(null, x))],null)); +}); +var G__34182__2 = (function (x,y){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null, x,y)),(g.cljs$core$IFn$_invoke$arity$2 ? g.cljs$core$IFn$_invoke$arity$2(x,y) : g.call(null, x,y))],null)); +}); +var G__34182__3 = (function (x,y,z){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(x,y,z) : f.call(null, x,y,z)),(g.cljs$core$IFn$_invoke$arity$3 ? g.cljs$core$IFn$_invoke$arity$3(x,y,z) : g.call(null, x,y,z))],null)); +}); +var G__34182__4 = (function() { +var G__34184__delegate = function (x,y,z,args){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,x,y,z,args),cljs.core.apply.cljs$core$IFn$_invoke$arity$5(g,x,y,z,args)],null)); +}; +var G__34184 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__34187__i = 0, G__34187__a = new Array(arguments.length - 3); +while (G__34187__i < G__34187__a.length) {G__34187__a[G__34187__i] = arguments[G__34187__i + 3]; ++G__34187__i;} + args = new cljs.core.IndexedSeq(G__34187__a,0,null); +} +return G__34184__delegate.call(this,x,y,z,args);}; +G__34184.cljs$lang$maxFixedArity = 3; +G__34184.cljs$lang$applyTo = (function (arglist__34188){ +var x = cljs.core.first(arglist__34188); +arglist__34188 = cljs.core.next(arglist__34188); +var y = cljs.core.first(arglist__34188); +arglist__34188 = cljs.core.next(arglist__34188); +var z = cljs.core.first(arglist__34188); +var args = cljs.core.rest(arglist__34188); +return G__34184__delegate(x,y,z,args); +}); +G__34184.cljs$core$IFn$_invoke$arity$variadic = G__34184__delegate; +return G__34184; +})() +; +G__34182 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__34182__0.call(this); +case 1: +return G__34182__1.call(this,x); +case 2: +return G__34182__2.call(this,x,y); +case 3: +return G__34182__3.call(this,x,y,z); +default: +var G__34189 = null; +if (arguments.length > 3) { +var G__34190__i = 0, G__34190__a = new Array(arguments.length - 3); +while (G__34190__i < G__34190__a.length) {G__34190__a[G__34190__i] = arguments[G__34190__i + 3]; ++G__34190__i;} +G__34189 = new cljs.core.IndexedSeq(G__34190__a,0,null); +} +return G__34182__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__34189); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34182.cljs$lang$maxFixedArity = 3; +G__34182.cljs$lang$applyTo = G__34182__4.cljs$lang$applyTo; +G__34182.cljs$core$IFn$_invoke$arity$0 = G__34182__0; +G__34182.cljs$core$IFn$_invoke$arity$1 = G__34182__1; +G__34182.cljs$core$IFn$_invoke$arity$2 = G__34182__2; +G__34182.cljs$core$IFn$_invoke$arity$3 = G__34182__3; +G__34182.cljs$core$IFn$_invoke$arity$variadic = G__34182__4.cljs$core$IFn$_invoke$arity$variadic; +return G__34182; +})() +})); + +(cljs.core.juxt.cljs$core$IFn$_invoke$arity$3 = (function (f,g,h){ +return (function() { +var G__34191 = null; +var G__34191__0 = (function (){ +return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )),(g.cljs$core$IFn$_invoke$arity$0 ? g.cljs$core$IFn$_invoke$arity$0() : g.call(null, )),(h.cljs$core$IFn$_invoke$arity$0 ? h.cljs$core$IFn$_invoke$arity$0() : h.call(null, ))],null)); +}); +var G__34191__1 = (function (x){ +return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null, x)),(g.cljs$core$IFn$_invoke$arity$1 ? g.cljs$core$IFn$_invoke$arity$1(x) : g.call(null, x)),(h.cljs$core$IFn$_invoke$arity$1 ? h.cljs$core$IFn$_invoke$arity$1(x) : h.call(null, x))],null)); +}); +var G__34191__2 = (function (x,y){ +return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(x,y) : f.call(null, x,y)),(g.cljs$core$IFn$_invoke$arity$2 ? g.cljs$core$IFn$_invoke$arity$2(x,y) : g.call(null, x,y)),(h.cljs$core$IFn$_invoke$arity$2 ? h.cljs$core$IFn$_invoke$arity$2(x,y) : h.call(null, x,y))],null)); +}); +var G__34191__3 = (function (x,y,z){ +return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[(f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(x,y,z) : f.call(null, x,y,z)),(g.cljs$core$IFn$_invoke$arity$3 ? g.cljs$core$IFn$_invoke$arity$3(x,y,z) : g.call(null, x,y,z)),(h.cljs$core$IFn$_invoke$arity$3 ? h.cljs$core$IFn$_invoke$arity$3(x,y,z) : h.call(null, x,y,z))],null)); +}); +var G__34191__4 = (function() { +var G__34193__delegate = function (x,y,z,args){ +return (new cljs.core.PersistentVector(null,3,(5),cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,x,y,z,args),cljs.core.apply.cljs$core$IFn$_invoke$arity$5(g,x,y,z,args),cljs.core.apply.cljs$core$IFn$_invoke$arity$5(h,x,y,z,args)],null)); +}; +var G__34193 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__34195__i = 0, G__34195__a = new Array(arguments.length - 3); +while (G__34195__i < G__34195__a.length) {G__34195__a[G__34195__i] = arguments[G__34195__i + 3]; ++G__34195__i;} + args = new cljs.core.IndexedSeq(G__34195__a,0,null); +} +return G__34193__delegate.call(this,x,y,z,args);}; +G__34193.cljs$lang$maxFixedArity = 3; +G__34193.cljs$lang$applyTo = (function (arglist__34196){ +var x = cljs.core.first(arglist__34196); +arglist__34196 = cljs.core.next(arglist__34196); +var y = cljs.core.first(arglist__34196); +arglist__34196 = cljs.core.next(arglist__34196); +var z = cljs.core.first(arglist__34196); +var args = cljs.core.rest(arglist__34196); +return G__34193__delegate(x,y,z,args); +}); +G__34193.cljs$core$IFn$_invoke$arity$variadic = G__34193__delegate; +return G__34193; +})() +; +G__34191 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__34191__0.call(this); +case 1: +return G__34191__1.call(this,x); +case 2: +return G__34191__2.call(this,x,y); +case 3: +return G__34191__3.call(this,x,y,z); +default: +var G__34198 = null; +if (arguments.length > 3) { +var G__34199__i = 0, G__34199__a = new Array(arguments.length - 3); +while (G__34199__i < G__34199__a.length) {G__34199__a[G__34199__i] = arguments[G__34199__i + 3]; ++G__34199__i;} +G__34198 = new cljs.core.IndexedSeq(G__34199__a,0,null); +} +return G__34191__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__34198); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34191.cljs$lang$maxFixedArity = 3; +G__34191.cljs$lang$applyTo = G__34191__4.cljs$lang$applyTo; +G__34191.cljs$core$IFn$_invoke$arity$0 = G__34191__0; +G__34191.cljs$core$IFn$_invoke$arity$1 = G__34191__1; +G__34191.cljs$core$IFn$_invoke$arity$2 = G__34191__2; +G__34191.cljs$core$IFn$_invoke$arity$3 = G__34191__3; +G__34191.cljs$core$IFn$_invoke$arity$variadic = G__34191__4.cljs$core$IFn$_invoke$arity$variadic; +return G__34191; +})() +})); + +(cljs.core.juxt.cljs$core$IFn$_invoke$arity$variadic = (function (f,g,h,fs){ +var fs__$1 = cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$4(f,g,h,fs); +return (function() { +var G__34200 = null; +var G__34200__0 = (function (){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27813_SHARP_,p2__27814_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__27813_SHARP_,(p2__27814_SHARP_.cljs$core$IFn$_invoke$arity$0 ? p2__27814_SHARP_.cljs$core$IFn$_invoke$arity$0() : p2__27814_SHARP_.call(null, ))); +}),cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__34200__1 = (function (x){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27815_SHARP_,p2__27816_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__27815_SHARP_,(p2__27816_SHARP_.cljs$core$IFn$_invoke$arity$1 ? p2__27816_SHARP_.cljs$core$IFn$_invoke$arity$1(x) : p2__27816_SHARP_.call(null, x))); +}),cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__34200__2 = (function (x,y){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27817_SHARP_,p2__27818_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__27817_SHARP_,(p2__27818_SHARP_.cljs$core$IFn$_invoke$arity$2 ? p2__27818_SHARP_.cljs$core$IFn$_invoke$arity$2(x,y) : p2__27818_SHARP_.call(null, x,y))); +}),cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__34200__3 = (function (x,y,z){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27819_SHARP_,p2__27820_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__27819_SHARP_,(p2__27820_SHARP_.cljs$core$IFn$_invoke$arity$3 ? p2__27820_SHARP_.cljs$core$IFn$_invoke$arity$3(x,y,z) : p2__27820_SHARP_.call(null, x,y,z))); +}),cljs.core.PersistentVector.EMPTY,fs__$1); +}); +var G__34200__4 = (function() { +var G__34201__delegate = function (x,y,z,args){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27821_SHARP_,p2__27822_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__27821_SHARP_,cljs.core.apply.cljs$core$IFn$_invoke$arity$5(p2__27822_SHARP_,x,y,z,args)); +}),cljs.core.PersistentVector.EMPTY,fs__$1); +}; +var G__34201 = function (x,y,z,var_args){ +var args = null; +if (arguments.length > 3) { +var G__34202__i = 0, G__34202__a = new Array(arguments.length - 3); +while (G__34202__i < G__34202__a.length) {G__34202__a[G__34202__i] = arguments[G__34202__i + 3]; ++G__34202__i;} + args = new cljs.core.IndexedSeq(G__34202__a,0,null); +} +return G__34201__delegate.call(this,x,y,z,args);}; +G__34201.cljs$lang$maxFixedArity = 3; +G__34201.cljs$lang$applyTo = (function (arglist__34203){ +var x = cljs.core.first(arglist__34203); +arglist__34203 = cljs.core.next(arglist__34203); +var y = cljs.core.first(arglist__34203); +arglist__34203 = cljs.core.next(arglist__34203); +var z = cljs.core.first(arglist__34203); +var args = cljs.core.rest(arglist__34203); +return G__34201__delegate(x,y,z,args); +}); +G__34201.cljs$core$IFn$_invoke$arity$variadic = G__34201__delegate; +return G__34201; +})() +; +G__34200 = function(x,y,z,var_args){ +var args = var_args; +switch(arguments.length){ +case 0: +return G__34200__0.call(this); +case 1: +return G__34200__1.call(this,x); +case 2: +return G__34200__2.call(this,x,y); +case 3: +return G__34200__3.call(this,x,y,z); +default: +var G__34204 = null; +if (arguments.length > 3) { +var G__34205__i = 0, G__34205__a = new Array(arguments.length - 3); +while (G__34205__i < G__34205__a.length) {G__34205__a[G__34205__i] = arguments[G__34205__i + 3]; ++G__34205__i;} +G__34204 = new cljs.core.IndexedSeq(G__34205__a,0,null); +} +return G__34200__4.cljs$core$IFn$_invoke$arity$variadic(x,y,z, G__34204); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34200.cljs$lang$maxFixedArity = 3; +G__34200.cljs$lang$applyTo = G__34200__4.cljs$lang$applyTo; +G__34200.cljs$core$IFn$_invoke$arity$0 = G__34200__0; +G__34200.cljs$core$IFn$_invoke$arity$1 = G__34200__1; +G__34200.cljs$core$IFn$_invoke$arity$2 = G__34200__2; +G__34200.cljs$core$IFn$_invoke$arity$3 = G__34200__3; +G__34200.cljs$core$IFn$_invoke$arity$variadic = G__34200__4.cljs$core$IFn$_invoke$arity$variadic; +return G__34200; +})() +})); + +/** @this {Function} */ +(cljs.core.juxt.cljs$lang$applyTo = (function (seq27824){ +var G__27825 = cljs.core.first(seq27824); +var seq27824__$1 = cljs.core.next(seq27824); +var G__27826 = cljs.core.first(seq27824__$1); +var seq27824__$2 = cljs.core.next(seq27824__$1); +var G__27827 = cljs.core.first(seq27824__$2); +var seq27824__$3 = cljs.core.next(seq27824__$2); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27825,G__27826,G__27827,seq27824__$3); +})); + +(cljs.core.juxt.cljs$lang$maxFixedArity = (3)); + +/** + * When lazy sequences are produced via functions that have side + * effects, any effects other than those needed to produce the first + * element in the seq do not occur until the seq is consumed. dorun can + * be used to force any effects. Walks through the successive nexts of + * the seq, does not retain the head and returns nil. + */ +cljs.core.dorun = (function cljs$core$dorun(var_args){ +var G__27830 = arguments.length; +switch (G__27830) { +case 1: +return cljs.core.dorun.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.dorun.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.dorun.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +while(true){ +var temp__5823__auto__ = cljs.core.seq(coll); +if(temp__5823__auto__){ +var s = temp__5823__auto__; +var G__34237 = cljs.core.next(s); +coll = G__34237; +continue; +} else { +return null; +} +break; +} +})); + +(cljs.core.dorun.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ +while(true){ +if(((cljs.core.seq(coll)) && ((n > (0))))){ +var G__34240 = (n - (1)); +var G__34241 = cljs.core.next(coll); +n = G__34240; +coll = G__34241; +continue; +} else { +return null; +} +break; +} +})); + +(cljs.core.dorun.cljs$lang$maxFixedArity = 2); + +/** + * When lazy sequences are produced via functions that have side + * effects, any effects other than those needed to produce the first + * element in the seq do not occur until the seq is consumed. doall can + * be used to force any effects. Walks through the successive nexts of + * the seq, retains the head and returns it, thus causing the entire + * seq to reside in memory at one time. + */ +cljs.core.doall = (function cljs$core$doall(var_args){ +var G__27832 = arguments.length; +switch (G__27832) { +case 1: +return cljs.core.doall.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.doall.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.doall.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +cljs.core.dorun.cljs$core$IFn$_invoke$arity$1(coll); + +return coll; +})); + +(cljs.core.doall.cljs$core$IFn$_invoke$arity$2 = (function (n,coll){ +cljs.core.dorun.cljs$core$IFn$_invoke$arity$2(n,coll); + +return coll; +})); + +(cljs.core.doall.cljs$lang$maxFixedArity = 2); + +/** + * Returns true if x is a JavaScript RegExp instance. + */ +cljs.core.regexp_QMARK_ = (function cljs$core$regexp_QMARK_(x){ +return (x instanceof RegExp); +}); +/** + * Returns the result of (re-find re s) if re fully matches s. + */ +cljs.core.re_matches = (function cljs$core$re_matches(re,s){ +if(typeof s === 'string'){ +var matches = re.exec(s); +if((((!((matches == null)))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((matches[(0)]),s)))){ +if((((matches).length) === (1))){ +return (matches[(0)]); +} else { +return cljs.core.vec(matches); +} +} else { +return null; +} +} else { +throw (new TypeError("re-matches must match against a string.")); +} +}); +/** + * Returns the first regex match, if any, of s to re, using + * re.exec(s). Returns a vector, containing first the matching + * substring, then any capturing groups if the regular expression contains + * capturing groups. + */ +cljs.core.re_find = (function cljs$core$re_find(re,s){ +if(typeof s === 'string'){ +var matches = re.exec(s); +if((matches == null)){ +return null; +} else { +if((((matches).length) === (1))){ +return (matches[(0)]); +} else { +return cljs.core.vec(matches); +} +} +} else { +throw (new TypeError("re-find must match against a string.")); +} +}); +cljs.core.re_seq_STAR_ = (function cljs$core$re_seq_STAR_(re,s){ +var temp__5827__auto__ = re.exec(s); +if((temp__5827__auto__ == null)){ +return null; +} else { +var matches = temp__5827__auto__; +var match_str = (matches[(0)]); +var match_vals = (((matches.length === (1)))?match_str:cljs.core.vec(matches)); +return cljs.core.cons(match_vals,(new cljs.core.LazySeq(null,(function (){ +var post_idx = (matches.index + (function (){var x__5130__auto__ = (1); +var y__5131__auto__ = match_str.length; +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})()); +if((post_idx <= s.length)){ +var G__27833 = re; +var G__27834 = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,post_idx); +return (cljs.core.re_seq_STAR_.cljs$core$IFn$_invoke$arity$2 ? cljs.core.re_seq_STAR_.cljs$core$IFn$_invoke$arity$2(G__27833,G__27834) : cljs.core.re_seq_STAR_.call(null, G__27833,G__27834)); +} else { +return null; +} +}),null,null))); +} +}); +/** + * Returns a lazy sequence of successive matches of re in s. + */ +cljs.core.re_seq = (function cljs$core$re_seq(re,s){ +if(typeof s === 'string'){ +return cljs.core.re_seq_STAR_(re,s); +} else { +throw (new TypeError("re-seq must match against a string.")); +} +}); +/** + * Returns an instance of RegExp which has compiled the provided string. + */ +cljs.core.re_pattern = (function cljs$core$re_pattern(s){ +if((s instanceof RegExp)){ +return s; +} else { +var vec__27835 = cljs.core.re_find(/^\(\?([idmsux]*)\)/,s); +var prefix = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27835,(0),null); +var flags = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27835,(1),null); +var pattern = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(((prefix == null))?(0):((prefix).length))); +return (new RegExp(pattern,(function (){var or__5045__auto__ = flags; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return ""; +} +})())); +} +}); +cljs.core.pr_sequential_writer = (function cljs$core$pr_sequential_writer(writer,print_one,begin,sep,end,opts,coll){ +var _STAR_print_level_STAR__orig_val__27838 = cljs.core._STAR_print_level_STAR_; +var _STAR_print_level_STAR__temp_val__27839 = (((cljs.core._STAR_print_level_STAR_ == null))?null:(cljs.core._STAR_print_level_STAR_ - (1))); +(cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR__temp_val__27839); + +try{if((((!((cljs.core._STAR_print_level_STAR_ == null)))) && ((cljs.core._STAR_print_level_STAR_ < (0))))){ +return cljs.core._write(writer,"#"); +} else { +cljs.core._write(writer,begin); + +if((new cljs.core.Keyword(null,"print-length","print-length",1931866356).cljs$core$IFn$_invoke$arity$1(opts) === (0))){ +if(cljs.core.seq(coll)){ +cljs.core._write(writer,(function (){var or__5045__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return "..."; +} +})()); +} else { +} +} else { +if(cljs.core.seq(coll)){ +var G__27840_34266 = cljs.core.first(coll); +var G__27841_34267 = writer; +var G__27842_34268 = opts; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__27840_34266,G__27841_34267,G__27842_34268) : print_one.call(null, G__27840_34266,G__27841_34267,G__27842_34268)); +} else { +} + +var coll_34270__$1 = cljs.core.next(coll); +var n_34271 = (new cljs.core.Keyword(null,"print-length","print-length",1931866356).cljs$core$IFn$_invoke$arity$1(opts) - (1)); +while(true){ +if(((coll_34270__$1) && ((((n_34271 == null)) || ((!((n_34271 === (0))))))))){ +cljs.core._write(writer,sep); + +var G__27843_34272 = cljs.core.first(coll_34270__$1); +var G__27844_34273 = writer; +var G__27845_34274 = opts; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__27843_34272,G__27844_34273,G__27845_34274) : print_one.call(null, G__27843_34272,G__27844_34273,G__27845_34274)); + +var G__34275 = cljs.core.next(coll_34270__$1); +var G__34276 = (n_34271 - (1)); +coll_34270__$1 = G__34275; +n_34271 = G__34276; +continue; +} else { +if(((cljs.core.seq(coll_34270__$1)) && ((n_34271 === (0))))){ +cljs.core._write(writer,sep); + +cljs.core._write(writer,(function (){var or__5045__auto__ = new cljs.core.Keyword(null,"more-marker","more-marker",-14717935).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return "..."; +} +})()); +} else { +} +} +break; +} +} + +return cljs.core._write(writer,end); +} +}finally {(cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR__orig_val__27838); +}}); +cljs.core.write_all = (function cljs$core$write_all(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34279 = arguments.length; +var i__5770__auto___34280 = (0); +while(true){ +if((i__5770__auto___34280 < len__5769__auto___34279)){ +args__5775__auto__.push((arguments[i__5770__auto___34280])); + +var G__34281 = (i__5770__auto___34280 + (1)); +i__5770__auto___34280 = G__34281; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic = (function (writer,ss){ +var seq__27848 = cljs.core.seq(ss); +var chunk__27849 = null; +var count__27850 = (0); +var i__27851 = (0); +while(true){ +if((i__27851 < count__27850)){ +var s = chunk__27849.cljs$core$IIndexed$_nth$arity$2(null, i__27851); +cljs.core._write(writer,s); + + +var G__34293 = seq__27848; +var G__34294 = chunk__27849; +var G__34295 = count__27850; +var G__34296 = (i__27851 + (1)); +seq__27848 = G__34293; +chunk__27849 = G__34294; +count__27850 = G__34295; +i__27851 = G__34296; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27848); +if(temp__5823__auto__){ +var seq__27848__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27848__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27848__$1); +var G__34298 = cljs.core.chunk_rest(seq__27848__$1); +var G__34299 = c__5568__auto__; +var G__34300 = cljs.core.count(c__5568__auto__); +var G__34301 = (0); +seq__27848 = G__34298; +chunk__27849 = G__34299; +count__27850 = G__34300; +i__27851 = G__34301; +continue; +} else { +var s = cljs.core.first(seq__27848__$1); +cljs.core._write(writer,s); + + +var G__34302 = cljs.core.next(seq__27848__$1); +var G__34303 = null; +var G__34304 = (0); +var G__34305 = (0); +seq__27848 = G__34302; +chunk__27849 = G__34303; +count__27850 = G__34304; +i__27851 = G__34305; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs.core.write_all.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.write_all.cljs$lang$applyTo = (function (seq27846){ +var G__27847 = cljs.core.first(seq27846); +var seq27846__$1 = cljs.core.next(seq27846); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27847,seq27846__$1); +})); + +cljs.core.string_print = (function cljs$core$string_print(x){ +if((cljs.core._STAR_print_fn_STAR_ == null)){ +throw (new Error("No *print-fn* fn set for evaluation environment")); +} else { +} + +cljs.core._STAR_print_fn_STAR_.call(null, x); + +return null; +}); +cljs.core.flush = (function cljs$core$flush(){ +return null; +}); +cljs.core.char_escapes = (function (){var obj27853 = ({"\"":"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"}); +return obj27853; +})(); +cljs.core.quote_string = (function cljs$core$quote_string(s){ +return ["\"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(s.replace(RegExp("[\\\\\"\b\f\n\r\t]","g"),(function (match){ +return (cljs.core.char_escapes[match]); +}))),"\""].join(''); +}); +cljs.core.print_meta_QMARK_ = (function cljs$core$print_meta_QMARK_(opts,obj){ +var and__5043__auto__ = cljs.core.boolean$(cljs.core.get.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"meta","meta",1499536964))); +if(and__5043__auto__){ +var and__5043__auto____$1 = (((!((obj == null))))?(((((obj.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === obj.cljs$core$IMeta$))))?true:false):false); +if(and__5043__auto____$1){ +return (!((cljs.core.meta(obj) == null))); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +}); +cljs.core.pr_writer_impl = (function cljs$core$pr_writer_impl(obj,writer,opts){ +if((obj == null)){ +return cljs.core._write(writer,"nil"); +} else { +if(cljs.core.print_meta_QMARK_(opts,obj)){ +cljs.core._write(writer,"^"); + +var G__27855_34317 = cljs.core.meta(obj); +var G__27856_34318 = writer; +var G__27857_34320 = opts; +(cljs.core.pr_writer.cljs$core$IFn$_invoke$arity$3 ? cljs.core.pr_writer.cljs$core$IFn$_invoke$arity$3(G__27855_34317,G__27856_34318,G__27857_34320) : cljs.core.pr_writer.call(null, G__27855_34317,G__27856_34318,G__27857_34320)); + +cljs.core._write(writer," "); +} else { +} + +if(obj.cljs$lang$type){ +return obj.cljs$lang$ctorPrWriter(obj,writer,opts); +} else { +if((((!((obj == null))))?(((((obj.cljs$lang$protocol_mask$partition0$ & (2147483648))) || ((cljs.core.PROTOCOL_SENTINEL === obj.cljs$core$IPrintWithWriter$))))?true:(((!obj.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IPrintWithWriter,obj):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IPrintWithWriter,obj))){ +return cljs.core._pr_writer(obj,writer,opts); +} else { +if(((obj === true) || (obj === false))){ +return cljs.core._write(writer,cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj)); +} else { +if(typeof obj === 'number'){ +return cljs.core._write(writer,((isNaN(obj))?"##NaN":(((obj === Number.POSITIVE_INFINITY))?"##Inf":(((obj === Number.NEGATIVE_INFINITY))?"##-Inf":cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj) +)))); +} else { +if(cljs.core.object_QMARK_(obj)){ +cljs.core._write(writer,"#js "); + +var G__27859 = cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (k){ +return (new cljs.core.MapEntry((function (){var G__27863 = k; +if((!((cljs.core.re_matches(/[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*/,k) == null)))){ +return cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(G__27863); +} else { +return G__27863; +} +})(),(obj[k]),null)); +}),cljs.core.js_keys(obj)); +var G__27860 = cljs.core.pr_writer; +var G__27861 = writer; +var G__27862 = opts; +return (cljs.core.print_map.cljs$core$IFn$_invoke$arity$4 ? cljs.core.print_map.cljs$core$IFn$_invoke$arity$4(G__27859,G__27860,G__27861,G__27862) : cljs.core.print_map.call(null, G__27859,G__27860,G__27861,G__27862)); +} else { +if(cljs.core.array_QMARK_(obj)){ +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#js ["," ","]",opts,obj); +} else { +if(typeof obj === 'string'){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"readably","readably",1129599760).cljs$core$IFn$_invoke$arity$1(opts))){ +return cljs.core._write(writer,cljs.core.quote_string(obj)); +} else { +return cljs.core._write(writer,obj); +} +} else { +if(typeof obj === 'function'){ +var name = obj.name; +var name__$1 = (cljs.core.truth_((function (){var or__5045__auto__ = (name == null); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return goog.string.isEmpty(name); +} +})())?"Function":name); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",name__$1,(cljs.core.truth_(cljs.core._STAR_print_fn_bodies_STAR_)?[" \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj),"\""].join(''):""),"]"], 0)); +} else { +if((obj instanceof Date)){ +var normalize = (function (n,len){ +var ns = cljs.core.str.cljs$core$IFn$_invoke$arity$1(n); +while(true){ +if((((ns).length) < len)){ +var G__34327 = ["0",ns].join(''); +ns = G__34327; +continue; +} else { +return ns; +} +break; +} +}); +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#inst \"",normalize(obj.getUTCFullYear(),(4)),"-",normalize((obj.getUTCMonth() + (1)),(2)),"-",normalize(obj.getUTCDate(),(2)),"T",normalize(obj.getUTCHours(),(2)),":",normalize(obj.getUTCMinutes(),(2)),":",normalize(obj.getUTCSeconds(),(2)),".",normalize(obj.getUTCMilliseconds(),(3)),"-","00:00\""], 0)); +} else { +if(cljs.core.regexp_QMARK_(obj)){ +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#\"",obj.source,"\""], 0)); +} else { +if(cljs.core.js_symbol_QMARK_(obj)){ +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",obj.toString(),"]"], 0)); +} else { +if(cljs.core.truth_((function (){var G__27864 = obj; +var G__27864__$1 = (((G__27864 == null))?null:G__27864.constructor); +if((G__27864__$1 == null)){ +return null; +} else { +return G__27864__$1.cljs$lang$ctorStr; +} +})())){ +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",obj.constructor.cljs$lang$ctorStr.replace((new RegExp("/","g")),"."),"]"], 0)); +} else { +var name = (function (){var G__27865 = obj; +var G__27865__$1 = (((G__27865 == null))?null:G__27865.constructor); +if((G__27865__$1 == null)){ +return null; +} else { +return G__27865__$1.name; +} +})(); +var name__$1 = (cljs.core.truth_((function (){var or__5045__auto__ = (name == null); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return goog.string.isEmpty(name); +} +})())?"Object":name); +if((obj.constructor == null)){ +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",name__$1,"]"], 0)); +} else { +return cljs.core.write_all.cljs$core$IFn$_invoke$arity$variadic(writer,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["#object[",name__$1," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj),"]"], 0)); +} +} + +} +} +} +} +} +} +} +} +} +} +} + +} +}); +/** + * Prefer this to pr-seq, because it makes the printing function + * configurable, allowing efficient implementations such as appending + * to a StringBuffer. + */ +cljs.core.pr_writer = (function cljs$core$pr_writer(obj,writer,opts){ +var temp__5821__auto__ = new cljs.core.Keyword(null,"alt-impl","alt-impl",670969595).cljs$core$IFn$_invoke$arity$1(opts); +if(cljs.core.truth_(temp__5821__auto__)){ +var alt_impl = temp__5821__auto__; +var G__27866 = obj; +var G__27867 = writer; +var G__27868 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(opts,new cljs.core.Keyword(null,"fallback-impl","fallback-impl",-1501286995),cljs.core.pr_writer_impl); +return (alt_impl.cljs$core$IFn$_invoke$arity$3 ? alt_impl.cljs$core$IFn$_invoke$arity$3(G__27866,G__27867,G__27868) : alt_impl.call(null, G__27866,G__27867,G__27868)); +} else { +return cljs.core.pr_writer_impl(obj,writer,opts); +} +}); +cljs.core.pr_seq_writer = (function cljs$core$pr_seq_writer(objs,writer,opts){ +cljs.core.pr_writer(cljs.core.first(objs),writer,opts); + +var seq__27869 = cljs.core.seq(cljs.core.next(objs)); +var chunk__27870 = null; +var count__27871 = (0); +var i__27872 = (0); +while(true){ +if((i__27872 < count__27871)){ +var obj = chunk__27870.cljs$core$IIndexed$_nth$arity$2(null, i__27872); +cljs.core._write(writer," "); + +cljs.core.pr_writer(obj,writer,opts); + + +var G__34344 = seq__27869; +var G__34345 = chunk__27870; +var G__34346 = count__27871; +var G__34347 = (i__27872 + (1)); +seq__27869 = G__34344; +chunk__27870 = G__34345; +count__27871 = G__34346; +i__27872 = G__34347; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__27869); +if(temp__5823__auto__){ +var seq__27869__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__27869__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__27869__$1); +var G__34348 = cljs.core.chunk_rest(seq__27869__$1); +var G__34349 = c__5568__auto__; +var G__34350 = cljs.core.count(c__5568__auto__); +var G__34351 = (0); +seq__27869 = G__34348; +chunk__27870 = G__34349; +count__27871 = G__34350; +i__27872 = G__34351; +continue; +} else { +var obj = cljs.core.first(seq__27869__$1); +cljs.core._write(writer," "); + +cljs.core.pr_writer(obj,writer,opts); + + +var G__34352 = cljs.core.next(seq__27869__$1); +var G__34353 = null; +var G__34354 = (0); +var G__34355 = (0); +seq__27869 = G__34352; +chunk__27870 = G__34353; +count__27871 = G__34354; +i__27872 = G__34355; +continue; +} +} else { +return null; +} +} +break; +} +}); +cljs.core.pr_sb_with_opts = (function cljs$core$pr_sb_with_opts(objs,opts){ +var sb = (new goog.string.StringBuffer()); +var writer = (new cljs.core.StringBufferWriter(sb)); +cljs.core.pr_seq_writer(objs,writer,opts); + +writer.cljs$core$IWriter$_flush$arity$1(null, ); + +return sb; +}); +/** + * Prints a sequence of objects to a string, observing all the + * options given in opts + */ +cljs.core.pr_str_with_opts = (function cljs$core$pr_str_with_opts(objs,opts){ +if(cljs.core.empty_QMARK_(objs)){ +return ""; +} else { +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.pr_sb_with_opts(objs,opts)); +} +}); +/** + * Same as pr-str-with-opts followed by (newline) + */ +cljs.core.prn_str_with_opts = (function cljs$core$prn_str_with_opts(objs,opts){ +if(cljs.core.empty_QMARK_(objs)){ +return "\n"; +} else { +var sb = cljs.core.pr_sb_with_opts(objs,opts); +sb.append("\n"); + +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb); +} +}); +/** + * Prints a sequence of objects using string-print, observing all + * the options given in opts + */ +cljs.core.pr_with_opts = (function cljs$core$pr_with_opts(objs,opts){ +return cljs.core.string_print(cljs.core.pr_str_with_opts(objs,opts)); +}); +/** + * Prints a newline using *print-fn* + */ +cljs.core.newline = (function cljs$core$newline(var_args){ +var G__27874 = arguments.length; +switch (G__27874) { +case 0: +return cljs.core.newline.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.newline.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.newline.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.newline.cljs$core$IFn$_invoke$arity$1(null); +})); + +(cljs.core.newline.cljs$core$IFn$_invoke$arity$1 = (function (opts){ +cljs.core.string_print("\n"); + +if(cljs.core.truth_(cljs.core.get.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"flush-on-newline","flush-on-newline",-151457939)))){ +return cljs.core.flush(); +} else { +return null; +} +})); + +(cljs.core.newline.cljs$lang$maxFixedArity = 1); + +/** + * pr to a string, returning it. Fundamental entrypoint to IPrintWithWriter. + */ +cljs.core.pr_str = (function cljs$core$pr_str(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34363 = arguments.length; +var i__5770__auto___34364 = (0); +while(true){ +if((i__5770__auto___34364 < len__5769__auto___34363)){ +args__5775__auto__.push((arguments[i__5770__auto___34364])); + +var G__34365 = (i__5770__auto___34364 + (1)); +i__5770__auto___34364 = G__34365; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ +return cljs.core.pr_str_with_opts(objs,cljs.core.pr_opts()); +})); + +(cljs.core.pr_str.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.pr_str.cljs$lang$applyTo = (function (seq27875){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27875)); +})); + +/** + * Same as pr-str followed by (newline) + */ +cljs.core.prn_str = (function cljs$core$prn_str(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34371 = arguments.length; +var i__5770__auto___34372 = (0); +while(true){ +if((i__5770__auto___34372 < len__5769__auto___34371)){ +args__5775__auto__.push((arguments[i__5770__auto___34372])); + +var G__34373 = (i__5770__auto___34372 + (1)); +i__5770__auto___34372 = G__34373; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.prn_str.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.prn_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ +return cljs.core.prn_str_with_opts(objs,cljs.core.pr_opts()); +})); + +(cljs.core.prn_str.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.prn_str.cljs$lang$applyTo = (function (seq27876){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27876)); +})); + +/** + * Prints the object(s) using string-print. Prints the + * object(s), separated by spaces if there is more than one. + * By default, pr and prn print in a way that objects can be + * read by the reader + */ +cljs.core.pr = (function cljs$core$pr(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34374 = arguments.length; +var i__5770__auto___34375 = (0); +while(true){ +if((i__5770__auto___34375 < len__5769__auto___34374)){ +args__5775__auto__.push((arguments[i__5770__auto___34375])); + +var G__34376 = (i__5770__auto___34375 + (1)); +i__5770__auto___34375 = G__34376; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ +return cljs.core.pr_with_opts(objs,cljs.core.pr_opts()); +})); + +(cljs.core.pr.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.pr.cljs$lang$applyTo = (function (seq27877){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27877)); +})); + +/** + * Prints the object(s) using string-print. + * print and println produce output for human consumption. + * @param {...*} var_args + */ +cljs.core.print = (function() { +var cljs$core$cljs_core_print__delegate = function (objs){ +return cljs.core.pr_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); +}; +var cljs$core$cljs_core_print = function (var_args){ +var objs = null; +if (arguments.length > 0) { +var G__34377__i = 0, G__34377__a = new Array(arguments.length - 0); +while (G__34377__i < G__34377__a.length) {G__34377__a[G__34377__i] = arguments[G__34377__i + 0]; ++G__34377__i;} + objs = new cljs.core.IndexedSeq(G__34377__a,0,null); +} +return cljs$core$cljs_core_print__delegate.call(this,objs);}; +cljs$core$cljs_core_print.cljs$lang$maxFixedArity = 0; +cljs$core$cljs_core_print.cljs$lang$applyTo = (function (arglist__34378){ +var objs = cljs.core.seq(arglist__34378); +return cljs$core$cljs_core_print__delegate(objs); +}); +cljs$core$cljs_core_print.cljs$core$IFn$_invoke$arity$variadic = cljs$core$cljs_core_print__delegate; +return cljs$core$cljs_core_print; +})() +; +/** + * print to a string, returning it + */ +cljs.core.print_str = (function cljs$core$print_str(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34379 = arguments.length; +var i__5770__auto___34380 = (0); +while(true){ +if((i__5770__auto___34380 < len__5769__auto___34379)){ +args__5775__auto__.push((arguments[i__5770__auto___34380])); + +var G__34381 = (i__5770__auto___34380 + (1)); +i__5770__auto___34380 = G__34381; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.print_str.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.print_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ +return cljs.core.pr_str_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); +})); + +(cljs.core.print_str.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.print_str.cljs$lang$applyTo = (function (seq27878){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27878)); +})); + +/** + * Same as print followed by (newline) + */ +cljs.core.println = (function cljs$core$println(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34383 = arguments.length; +var i__5770__auto___34385 = (0); +while(true){ +if((i__5770__auto___34385 < len__5769__auto___34383)){ +args__5775__auto__.push((arguments[i__5770__auto___34385])); + +var G__34386 = (i__5770__auto___34385 + (1)); +i__5770__auto___34385 = G__34386; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.println.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ +cljs.core.pr_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); + +if(cljs.core.truth_(cljs.core._STAR_print_newline_STAR_)){ +return cljs.core.newline.cljs$core$IFn$_invoke$arity$1(cljs.core.pr_opts()); +} else { +return null; +} +})); + +(cljs.core.println.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.println.cljs$lang$applyTo = (function (seq27879){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27879)); +})); + +/** + * println to a string, returning it + */ +cljs.core.println_str = (function cljs$core$println_str(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34390 = arguments.length; +var i__5770__auto___34391 = (0); +while(true){ +if((i__5770__auto___34391 < len__5769__auto___34390)){ +args__5775__auto__.push((arguments[i__5770__auto___34391])); + +var G__34392 = (i__5770__auto___34391 + (1)); +i__5770__auto___34391 = G__34392; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.println_str.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.println_str.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ +return cljs.core.prn_str_with_opts(objs,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.pr_opts(),new cljs.core.Keyword(null,"readably","readably",1129599760),false)); +})); + +(cljs.core.println_str.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.println_str.cljs$lang$applyTo = (function (seq27880){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27880)); +})); + +/** + * Same as pr followed by (newline). + */ +cljs.core.prn = (function cljs$core$prn(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34396 = arguments.length; +var i__5770__auto___34397 = (0); +while(true){ +if((i__5770__auto___34397 < len__5769__auto___34396)){ +args__5775__auto__.push((arguments[i__5770__auto___34397])); + +var G__34398 = (i__5770__auto___34397 + (1)); +i__5770__auto___34397 = G__34398; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic = (function (objs){ +cljs.core.pr_with_opts(objs,cljs.core.pr_opts()); + +if(cljs.core.truth_(cljs.core._STAR_print_newline_STAR_)){ +return cljs.core.newline.cljs$core$IFn$_invoke$arity$1(cljs.core.pr_opts()); +} else { +return null; +} +})); + +(cljs.core.prn.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.prn.cljs$lang$applyTo = (function (seq27881){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27881)); +})); + +cljs.core.strip_ns = (function cljs$core$strip_ns(named){ +if((named instanceof cljs.core.Symbol)){ +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(null,cljs.core.name(named)); +} else { +return cljs.core.keyword.cljs$core$IFn$_invoke$arity$2(null,cljs.core.name(named)); +} +}); +/** + * Returns [lifted-ns lifted-map] or nil if m can't be lifted. + */ +cljs.core.lift_ns = (function cljs$core$lift_ns(m){ +if(cljs.core.truth_(cljs.core._STAR_print_namespace_maps_STAR_)){ +var ns = null; +var G__27888 = cljs.core.seq(m); +var vec__27889 = G__27888; +var seq__27890 = cljs.core.seq(vec__27889); +var first__27891 = cljs.core.first(seq__27890); +var seq__27890__$1 = cljs.core.next(seq__27890); +var vec__27892 = first__27891; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27892,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27892,(1),null); +var entry = vec__27892; +var entries = seq__27890__$1; +var lm = cljs.core.empty(m); +var ns__$1 = ns; +var G__27888__$1 = G__27888; +var lm__$1 = lm; +while(true){ +var ns__$2 = ns__$1; +var vec__27901 = G__27888__$1; +var seq__27902 = cljs.core.seq(vec__27901); +var first__27903 = cljs.core.first(seq__27902); +var seq__27902__$1 = cljs.core.next(seq__27902); +var vec__27904 = first__27903; +var k__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27904,(0),null); +var v__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27904,(1),null); +var entry__$1 = vec__27904; +var entries__$1 = seq__27902__$1; +var lm__$2 = lm__$1; +if(cljs.core.truth_(entry__$1)){ +if((((k__$1 instanceof cljs.core.Keyword)) || ((k__$1 instanceof cljs.core.Symbol)))){ +if(cljs.core.truth_(ns__$2)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ns__$2,cljs.core.namespace(k__$1))){ +var G__34414 = ns__$2; +var G__34415 = entries__$1; +var G__34416 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); +ns__$1 = G__34414; +G__27888__$1 = G__34415; +lm__$1 = G__34416; +continue; +} else { +return null; +} +} else { +var temp__5823__auto__ = cljs.core.namespace(k__$1); +if(cljs.core.truth_(temp__5823__auto__)){ +var new_ns = temp__5823__auto__; +var G__34417 = new_ns; +var G__34418 = entries__$1; +var G__34419 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(lm__$2,cljs.core.strip_ns(k__$1),v__$1); +ns__$1 = G__34417; +G__27888__$1 = G__34418; +lm__$1 = G__34419; +continue; +} else { +return null; +} +} +} else { +return null; +} +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [ns__$2,lm__$2], null); +} +break; +} +} else { +return null; +} +}); +cljs.core.print_prefix_map = (function cljs$core$print_prefix_map(prefix,m,print_one,writer,opts){ +return cljs.core.pr_sequential_writer(writer,(function (e,w,opts__$1){ +var G__27907_34420 = cljs.core.key(e); +var G__27908_34421 = w; +var G__27909_34422 = opts__$1; +(print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__27907_34420,G__27908_34421,G__27909_34422) : print_one.call(null, G__27907_34420,G__27908_34421,G__27909_34422)); + +cljs.core._write(w," "); + +var G__27910 = cljs.core.val(e); +var G__27911 = w; +var G__27912 = opts__$1; +return (print_one.cljs$core$IFn$_invoke$arity$3 ? print_one.cljs$core$IFn$_invoke$arity$3(G__27910,G__27911,G__27912) : print_one.call(null, G__27910,G__27911,G__27912)); +}),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prefix),"{"].join(''),", ","}",opts,cljs.core.seq(m)); +}); +cljs.core.print_map = (function cljs$core$print_map(m,print_one,writer,opts){ +var vec__27913 = ((cljs.core.map_QMARK_(m))?cljs.core.lift_ns(m):null); +var ns = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27913,(0),null); +var lift_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27913,(1),null); +if(cljs.core.truth_(ns)){ +return cljs.core.print_prefix_map(["#:",cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)].join(''),lift_map,print_one,writer,opts); +} else { +return cljs.core.print_prefix_map(null,m,print_one,writer,opts); +} +}); +(cljs.core.Volatile.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Volatile.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (a,writer,opts){ +var a__$1 = this; +cljs.core._write(writer,"#object[cljs.core.Volatile "); + +cljs.core.pr_writer(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"val","val",128701612),a__$1.state], null),writer,opts); + +return cljs.core._write(writer,"]"); +})); + +(cljs.core.Var.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Var.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (a,writer,opts){ +var a__$1 = this; +cljs.core._write(writer,"#'"); + +return cljs.core.pr_writer(a__$1.sym,writer,opts); +})); + +(cljs.core.IndexedSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.IndexedSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.LazySeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.LazySeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.MapEntry.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.MapEntry.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); +})); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentTreeMapSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.NodeSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.NodeSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.BlackNode.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.BlackNode.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); +})); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentArrayMapSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.ES6IteratorSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ES6IteratorSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentTreeSet.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#{"," ","}",opts,coll__$1); +})); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ChunkedSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.ObjMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ObjMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); +})); + +(cljs.core.Cons.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Cons.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.Iterate.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Iterate.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.RSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.RSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.IntegerRange.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.IntegerRange.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentHashMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); +})); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ArrayNodeSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.Subvec.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Subvec.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); +})); + +(cljs.core.Cycle.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Cycle.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentTreeMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentHashSet.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#{"," ","}",opts,coll__$1); +})); + +(cljs.core.ChunkedCons.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ChunkedCons.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.Atom.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Atom.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (a,writer,opts){ +var a__$1 = this; +cljs.core._write(writer,"#object[cljs.core.Atom "); + +cljs.core.pr_writer(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"val","val",128701612),a__$1.state], null),writer,opts); + +return cljs.core._write(writer,"]"); +})); + +(cljs.core.ValSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ValSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.RedNode.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.RedNode.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); +})); + +(cljs.core.Repeat.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Repeat.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentVector.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); +})); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentQueueSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.EmptyList.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.EmptyList.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core._write(writer,"()"); +})); + +(cljs.core.PersistentQueue.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentQueue.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"#queue ["," ","]",opts,cljs.core.seq(coll__$1)); +})); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentArrayMap.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); +})); + +(cljs.core.Range.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Range.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.TransformerIterator.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.TransformerIterator.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.KeySeq.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.KeySeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs.core.List.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.List.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); +(cljs.core.Symbol.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Symbol.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var x__$1 = this; +if((y instanceof cljs.core.Symbol)){ +return cljs.core.compare_symbols(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); + +(cljs.core.Keyword.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Keyword.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var x__$1 = this; +if((y instanceof cljs.core.Keyword)){ +return cljs.core.compare_keywords(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); + +(cljs.core.Subvec.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Subvec.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var x__$1 = this; +if(cljs.core.vector_QMARK_(y)){ +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); + +(cljs.core.PersistentVector.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentVector.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var x__$1 = this; +if(cljs.core.vector_QMARK_(y)){ +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); + +(cljs.core.MapEntry.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.MapEntry.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var x__$1 = this; +if(cljs.core.vector_QMARK_(y)){ +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); + +(cljs.core.BlackNode.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.BlackNode.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var x__$1 = this; +if(cljs.core.vector_QMARK_(y)){ +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); + +(cljs.core.RedNode.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.RedNode.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var x__$1 = this; +if(cljs.core.vector_QMARK_(y)){ +return cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); +/** + * Atomically sets the metadata for a namespace/var/ref/agent/atom to be: + * + * (apply f its-current-meta args) + * + * f must be free of side-effects + */ +cljs.core.alter_meta_BANG_ = (function cljs$core$alter_meta_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34518 = arguments.length; +var i__5770__auto___34519 = (0); +while(true){ +if((i__5770__auto___34519 < len__5769__auto___34518)){ +args__5775__auto__.push((arguments[i__5770__auto___34519])); + +var G__34521 = (i__5770__auto___34519 + (1)); +i__5770__auto___34519 = G__34521; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return cljs.core.alter_meta_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(cljs.core.alter_meta_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (iref,f,args){ +return (iref.meta = cljs.core.apply.cljs$core$IFn$_invoke$arity$3(f,iref.meta,args)); +})); + +(cljs.core.alter_meta_BANG_.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(cljs.core.alter_meta_BANG_.cljs$lang$applyTo = (function (seq27916){ +var G__27917 = cljs.core.first(seq27916); +var seq27916__$1 = cljs.core.next(seq27916); +var G__27918 = cljs.core.first(seq27916__$1); +var seq27916__$2 = cljs.core.next(seq27916__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27917,G__27918,seq27916__$2); +})); + +/** + * Atomically resets the metadata for an atom + */ +cljs.core.reset_meta_BANG_ = (function cljs$core$reset_meta_BANG_(iref,m){ +return (iref.meta = m); +}); +/** + * Adds a watch function to an atom reference. The watch fn must be a + * fn of 4 args: a key, the reference, its old-state, its + * new-state. Whenever the reference's state might have been changed, + * any registered watches will have their functions called. The watch + * fn will be called synchronously. Note that an atom's state + * may have changed again prior to the fn call, so use old/new-state + * rather than derefing the reference. Keys must be unique per + * reference, and can be used to remove the watch with remove-watch, + * but are otherwise considered opaque by the watch mechanism. Bear in + * mind that regardless of the result or action of the watch fns the + * atom's value will change. Example: + * + * (def a (atom 0)) + * (add-watch a :inc (fn [k r o n] (assert (== 0 n)))) + * (swap! a inc) + * ;; Assertion Error + * (deref a) + * ;=> 1 + */ +cljs.core.add_watch = (function cljs$core$add_watch(iref,key,f){ +cljs.core._add_watch(iref,key,f); + +return iref; +}); +/** + * Removes a watch (set by add-watch) from a reference + */ +cljs.core.remove_watch = (function cljs$core$remove_watch(iref,key){ +cljs.core._remove_watch(iref,key); + +return iref; +}); +/** + * @type {*} + */ +cljs.core.gensym_counter = null; +/** + * Returns a new symbol with a unique name. If a prefix string is + * supplied, the name is prefix# where # is some unique number. If + * prefix is not supplied, the prefix is 'G__'. + */ +cljs.core.gensym = (function cljs$core$gensym(var_args){ +var G__27920 = arguments.length; +switch (G__27920) { +case 0: +return cljs.core.gensym.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.gensym.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.gensym.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.gensym.cljs$core$IFn$_invoke$arity$1("G__"); +})); + +(cljs.core.gensym.cljs$core$IFn$_invoke$arity$1 = (function (prefix_string){ +if((cljs.core.gensym_counter == null)){ +(cljs.core.gensym_counter = cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0))); +} else { +} + +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1([cljs.core.str.cljs$core$IFn$_invoke$arity$1(prefix_string),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(cljs.core.gensym_counter,cljs.core.inc))].join('')); +})); + +(cljs.core.gensym.cljs$lang$maxFixedArity = 1); + + +/** +* @constructor + * @implements {cljs.core.IPending} + * @implements {cljs.core.IDeref} + * @implements {cljs.core.IPrintWithWriter} +*/ +cljs.core.Delay = (function (f,value){ +this.f = f; +this.value = value; +this.cljs$lang$protocol_mask$partition0$ = 2147516416; +this.cljs$lang$protocol_mask$partition1$ = 1; +}); +(cljs.core.Delay.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.f)){ +(self__.value = (self__.f.cljs$core$IFn$_invoke$arity$0 ? self__.f.cljs$core$IFn$_invoke$arity$0() : self__.f.call(null, ))); + +(self__.f = null); +} else { +} + +return self__.value; +})); + +(cljs.core.Delay.prototype.cljs$core$IPending$_realized_QMARK_$arity$1 = (function (x){ +var self__ = this; +var x__$1 = this; +return cljs.core.not(self__.f); +})); + +(cljs.core.Delay.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (x,writer,opts){ +var self__ = this; +var x__$1 = this; +cljs.core._write(writer,"#object[cljs.core.Delay "); + +cljs.core.pr_writer(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"status","status",-1997798413),(((self__.f == null))?new cljs.core.Keyword(null,"ready","ready",1086465795):new cljs.core.Keyword(null,"pending","pending",-220036727)),new cljs.core.Keyword(null,"val","val",128701612),self__.value], null),writer,opts); + +return cljs.core._write(writer,"]"); +})); + +(cljs.core.Delay.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"f","f",43394975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"value","value",1946509744,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.Delay.cljs$lang$type = true); + +(cljs.core.Delay.cljs$lang$ctorStr = "cljs.core/Delay"); + +(cljs.core.Delay.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Delay"); +})); + +/** + * Positional factory function for cljs.core/Delay. + */ +cljs.core.__GT_Delay = (function cljs$core$__GT_Delay(f,value){ +return (new cljs.core.Delay(f,value)); +}); + +/** + * returns true if x is a Delay created with delay + */ +cljs.core.delay_QMARK_ = (function cljs$core$delay_QMARK_(x){ +return (x instanceof cljs.core.Delay); +}); +/** + * If x is a Delay, returns the (possibly cached) value of its expression, else returns x + */ +cljs.core.force = (function cljs$core$force(x){ +if(cljs.core.delay_QMARK_(x)){ +return cljs.core.deref(x); +} else { +return x; +} +}); +/** + * Returns true if a value has been produced for a delay or lazy sequence. + */ +cljs.core.realized_QMARK_ = (function cljs$core$realized_QMARK_(x){ +return cljs.core._realized_QMARK_(x); +}); +cljs.core.preserving_reduced = (function cljs$core$preserving_reduced(rf){ +return (function (p1__27921_SHARP_,p2__27922_SHARP_){ +var ret = (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(p1__27921_SHARP_,p2__27922_SHARP_) : rf.call(null, p1__27921_SHARP_,p2__27922_SHARP_)); +if(cljs.core.reduced_QMARK_(ret)){ +return cljs.core.reduced(ret); +} else { +return ret; +} +}); +}); +/** + * A transducer which concatenates the contents of each input, which must be a + * collection, into the reduction. + */ +cljs.core.cat = (function cljs$core$cat(rf){ +var rf1 = cljs.core.preserving_reduced(rf); +return (function() { +var G__34532 = null; +var G__34532__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__34532__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__34532__2 = (function (result,input){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(rf1,result,input); +}); +G__34532 = function(result,input){ +switch(arguments.length){ +case 0: +return G__34532__0.call(this); +case 1: +return G__34532__1.call(this,result); +case 2: +return G__34532__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34532.cljs$core$IFn$_invoke$arity$0 = G__34532__0; +G__34532.cljs$core$IFn$_invoke$arity$1 = G__34532__1; +G__34532.cljs$core$IFn$_invoke$arity$2 = G__34532__2; +return G__34532; +})() +}); +/** + * Returns a transducer that ends transduction when pred returns true + * for an input. When retf is supplied it must be a fn of 2 arguments - + * it will be passed the (completed) result so far and the input that + * triggered the predicate, and its return value (if it does not throw + * an exception) will be the return value of the transducer. If retf + * is not supplied, the input that triggered the predicate will be + * returned. If the predicate never returns true the transduction is + * unaffected. + */ +cljs.core.halt_when = (function cljs$core$halt_when(var_args){ +var G__27924 = arguments.length; +switch (G__27924) { +case 1: +return cljs.core.halt_when.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.halt_when.cljs$core$IFn$_invoke$arity$1 = (function (pred){ +return cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2(pred,null); +})); + +(cljs.core.halt_when.cljs$core$IFn$_invoke$arity$2 = (function (pred,retf){ +return (function (rf){ +return (function() { +var G__34537 = null; +var G__34537__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__34537__1 = (function (result){ +if(((cljs.core.map_QMARK_(result)) && (cljs.core.contains_QMARK_(result,new cljs.core.Keyword("cljs.core","halt","cljs.core/halt",-1049036715))))){ +return new cljs.core.Keyword("cljs.core","halt","cljs.core/halt",-1049036715).cljs$core$IFn$_invoke$arity$1(result); +} else { +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +} +}); +var G__34537__2 = (function (result,input){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(input) : pred.call(null, input)))){ +return cljs.core.reduced(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword("cljs.core","halt","cljs.core/halt",-1049036715),(cljs.core.truth_(retf)?(function (){var G__27925 = (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +var G__27926 = input; +return (retf.cljs$core$IFn$_invoke$arity$2 ? retf.cljs$core$IFn$_invoke$arity$2(G__27925,G__27926) : retf.call(null, G__27925,G__27926)); +})():input)], null)); +} else { +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} +}); +G__34537 = function(result,input){ +switch(arguments.length){ +case 0: +return G__34537__0.call(this); +case 1: +return G__34537__1.call(this,result); +case 2: +return G__34537__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34537.cljs$core$IFn$_invoke$arity$0 = G__34537__0; +G__34537.cljs$core$IFn$_invoke$arity$1 = G__34537__1; +G__34537.cljs$core$IFn$_invoke$arity$2 = G__34537__2; +return G__34537; +})() +}); +})); + +(cljs.core.halt_when.cljs$lang$maxFixedArity = 2); + +/** + * Returns a lazy sequence removing consecutive duplicates in coll. + * Returns a transducer when no collection is provided. + */ +cljs.core.dedupe = (function cljs$core$dedupe(var_args){ +var G__27928 = arguments.length; +switch (G__27928) { +case 0: +return cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.dedupe.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (function (rf){ +var pa = cljs.core.volatile_BANG_(new cljs.core.Keyword("cljs.core","none","cljs.core/none",926646439)); +return (function() { +var G__34573 = null; +var G__34573__0 = (function (){ +return (rf.cljs$core$IFn$_invoke$arity$0 ? rf.cljs$core$IFn$_invoke$arity$0() : rf.call(null, )); +}); +var G__34573__1 = (function (result){ +return (rf.cljs$core$IFn$_invoke$arity$1 ? rf.cljs$core$IFn$_invoke$arity$1(result) : rf.call(null, result)); +}); +var G__34573__2 = (function (result,input){ +var prior = cljs.core.deref(pa); +cljs.core.vreset_BANG_(pa,input); + +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(prior,input)){ +return result; +} else { +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(result,input) : rf.call(null, result,input)); +} +}); +G__34573 = function(result,input){ +switch(arguments.length){ +case 0: +return G__34573__0.call(this); +case 1: +return G__34573__1.call(this,result); +case 2: +return G__34573__2.call(this,result,input); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34573.cljs$core$IFn$_invoke$arity$0 = G__34573__0; +G__34573.cljs$core$IFn$_invoke$arity$1 = G__34573__1; +G__34573.cljs$core$IFn$_invoke$arity$2 = G__34573__2; +return G__34573; +})() +}); +})); + +(cljs.core.dedupe.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$2(cljs.core.dedupe.cljs$core$IFn$_invoke$arity$0(),coll); +})); + +(cljs.core.dedupe.cljs$lang$maxFixedArity = 1); + +/** + * Returns items from coll with random probability of prob (0.0 - + * 1.0). Returns a transducer when no collection is provided. + */ +cljs.core.random_sample = (function cljs$core$random_sample(var_args){ +var G__27930 = arguments.length; +switch (G__27930) { +case 1: +return cljs.core.random_sample.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.random_sample.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.random_sample.cljs$core$IFn$_invoke$arity$1 = (function (prob){ +return cljs.core.filter.cljs$core$IFn$_invoke$arity$1((function (_){ +return ((cljs.core.rand.cljs$core$IFn$_invoke$arity$0 ? cljs.core.rand.cljs$core$IFn$_invoke$arity$0() : cljs.core.rand.call(null, )) < prob); +})); +})); + +(cljs.core.random_sample.cljs$core$IFn$_invoke$arity$2 = (function (prob,coll){ +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (_){ +return ((cljs.core.rand.cljs$core$IFn$_invoke$arity$0 ? cljs.core.rand.cljs$core$IFn$_invoke$arity$0() : cljs.core.rand.call(null, )) < prob); +}),coll); +})); + +(cljs.core.random_sample.cljs$lang$maxFixedArity = 2); + + +/** +* @constructor + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IReduce} +*/ +cljs.core.Eduction = (function (xform,coll){ +this.xform = xform; +this.coll = coll; +this.cljs$lang$protocol_mask$partition0$ = 2173173760; +this.cljs$lang$protocol_mask$partition1$ = 131072; +}); +(cljs.core.Eduction.prototype.indexOf = (function() { +var G__34616 = null; +var G__34616__1 = (function (x){ +var self__ = this; +var coll__$1 = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,(0)); +}); +var G__34616__2 = (function (x,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,start); +}); +G__34616 = function(x,start){ +switch(arguments.length){ +case 1: +return G__34616__1.call(this,x); +case 2: +return G__34616__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34616.cljs$core$IFn$_invoke$arity$1 = G__34616__1; +G__34616.cljs$core$IFn$_invoke$arity$2 = G__34616__2; +return G__34616; +})() +); + +(cljs.core.Eduction.prototype.lastIndexOf = (function() { +var G__34619 = null; +var G__34619__1 = (function (x){ +var self__ = this; +var coll__$1 = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,cljs.core.count(coll__$1)); +}); +var G__34619__2 = (function (x,start){ +var self__ = this; +var coll__$1 = this; +return cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll__$1,x,start); +}); +G__34619 = function(x,start){ +switch(arguments.length){ +case 1: +return G__34619__1.call(this,x); +case 2: +return G__34619__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__34619.cljs$core$IFn$_invoke$arity$1 = G__34619__1; +G__34619.cljs$core$IFn$_invoke$arity$2 = G__34619__2; +return G__34619; +})() +); + +(cljs.core.Eduction.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.TransformerIterator.create(self__.xform,cljs.core.iter(self__.coll)); +})); + +(cljs.core.Eduction.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.seq(cljs.core.sequence.cljs$core$IFn$_invoke$arity$2(self__.xform,self__.coll)); +})); + +(cljs.core.Eduction.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (_,f){ +var self__ = this; +var ___$1 = this; +return cljs.core.transduce.cljs$core$IFn$_invoke$arity$3(self__.xform,cljs.core.completing.cljs$core$IFn$_invoke$arity$1(f),self__.coll); +})); + +(cljs.core.Eduction.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (_,f,init){ +var self__ = this; +var ___$1 = this; +return cljs.core.transduce.cljs$core$IFn$_invoke$arity$4(self__.xform,cljs.core.completing.cljs$core$IFn$_invoke$arity$1(f),init,self__.coll); +})); + +(cljs.core.Eduction.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll__$1,writer,opts){ +var self__ = this; +var coll__$2 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$2); +})); + +(cljs.core.Eduction.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"xform","xform",-85179481,null),new cljs.core.Symbol(null,"coll","coll",-1006698606,null)], null); +})); + +(cljs.core.Eduction.cljs$lang$type = true); + +(cljs.core.Eduction.cljs$lang$ctorStr = "cljs.core/Eduction"); + +(cljs.core.Eduction.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Eduction"); +})); + +/** + * Positional factory function for cljs.core/Eduction. + */ +cljs.core.__GT_Eduction = (function cljs$core$__GT_Eduction(xform,coll){ +return (new cljs.core.Eduction(xform,coll)); +}); + +(cljs.core.Eduction.prototype[cljs.core.ITER_SYMBOL] = (function (){ +var this__5698__auto__ = this; +return cljs.core.es6_iterator(this__5698__auto__); +})); +/** + * Returns a reducible/iterable application of the transducers + * to the items in coll. Transducers are applied in order as if + * combined with comp. Note that these applications will be + * performed every time reduce/iterator is called. + */ +cljs.core.eduction = (function cljs$core$eduction(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34622 = arguments.length; +var i__5770__auto___34623 = (0); +while(true){ +if((i__5770__auto___34623 < len__5769__auto___34622)){ +args__5775__auto__.push((arguments[i__5770__auto___34623])); + +var G__34624 = (i__5770__auto___34623 + (1)); +i__5770__auto___34623 = G__34624; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.core.eduction.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.core.eduction.cljs$core$IFn$_invoke$arity$variadic = (function (xforms){ +return (new cljs.core.Eduction(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.comp,cljs.core.butlast(xforms)),cljs.core.last(xforms))); +})); + +(cljs.core.eduction.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.core.eduction.cljs$lang$applyTo = (function (seq27931){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq27931)); +})); + +/** + * Runs the supplied procedure (via reduce), for purposes of side + * effects, on successive items in the collection. Returns nil + */ +cljs.core.run_BANG_ = (function cljs$core$run_BANG_(proc,coll){ +cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27933_SHARP_,p2__27932_SHARP_){ +return (proc.cljs$core$IFn$_invoke$arity$1 ? proc.cljs$core$IFn$_invoke$arity$1(p2__27932_SHARP_) : proc.call(null, p2__27932_SHARP_)); +}),null,coll); + +return null; +}); + +/** +* @constructor + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs.core.t_cljs$core27938 = (function (step,p__27936,map__27937,somef,vf,kf,initk,meta27939){ +this.step = step; +this.p__27936 = p__27936; +this.map__27937 = map__27937; +this.somef = somef; +this.vf = vf; +this.kf = kf; +this.initk = initk; +this.meta27939 = meta27939; +this.cljs$lang$protocol_mask$partition0$ = 9306112; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.t_cljs$core27938.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_27940,meta27939__$1){ +var self__ = this; +var _27940__$1 = this; +return (new cljs.core.t_cljs$core27938(self__.step,self__.p__27936,self__.map__27937,self__.somef,self__.vf,self__.kf,self__.initk,meta27939__$1)); +})); + +(cljs.core.t_cljs$core27938.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_27940){ +var self__ = this; +var _27940__$1 = this; +return self__.meta27939; +})); + +(cljs.core.t_cljs$core27938.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (function cljs$core$next(ret){ +if(cljs.core.truth_((self__.somef.cljs$core$IFn$_invoke$arity$1 ? self__.somef.cljs$core$IFn$_invoke$arity$1(ret) : self__.somef.call(null, ret)))){ +return cljs.core.cons((self__.vf.cljs$core$IFn$_invoke$arity$1 ? self__.vf.cljs$core$IFn$_invoke$arity$1(ret) : self__.vf.call(null, ret)),(function (){var temp__5827__auto__ = (self__.kf.cljs$core$IFn$_invoke$arity$1 ? self__.kf.cljs$core$IFn$_invoke$arity$1(ret) : self__.kf.call(null, ret)); +if((temp__5827__auto__ == null)){ +return null; +} else { +var k = temp__5827__auto__; +return (new cljs.core.LazySeq(null,(function (){ +return cljs$core$next((self__.step.cljs$core$IFn$_invoke$arity$1 ? self__.step.cljs$core$IFn$_invoke$arity$1(k) : self__.step.call(null, k))); +}),null,null)); +} +})()); +} else { +return null; +} +})((self__.step.cljs$core$IFn$_invoke$arity$1 ? self__.step.cljs$core$IFn$_invoke$arity$1(self__.initk) : self__.step.call(null, self__.initk))); +})); + +(cljs.core.t_cljs$core27938.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (_,rf,init){ +var self__ = this; +var ___$1 = this; +var acc = init; +var ret = (self__.step.cljs$core$IFn$_invoke$arity$1 ? self__.step.cljs$core$IFn$_invoke$arity$1(self__.initk) : self__.step.call(null, self__.initk)); +while(true){ +if(cljs.core.truth_((self__.somef.cljs$core$IFn$_invoke$arity$1 ? self__.somef.cljs$core$IFn$_invoke$arity$1(ret) : self__.somef.call(null, ret)))){ +var acc__$1 = (function (){var G__27941 = acc; +var G__27942 = (self__.vf.cljs$core$IFn$_invoke$arity$1 ? self__.vf.cljs$core$IFn$_invoke$arity$1(ret) : self__.vf.call(null, ret)); +return (rf.cljs$core$IFn$_invoke$arity$2 ? rf.cljs$core$IFn$_invoke$arity$2(G__27941,G__27942) : rf.call(null, G__27941,G__27942)); +})(); +if(cljs.core.reduced_QMARK_(acc__$1)){ +return cljs.core.deref(acc__$1); +} else { +var temp__5825__auto__ = (self__.kf.cljs$core$IFn$_invoke$arity$1 ? self__.kf.cljs$core$IFn$_invoke$arity$1(ret) : self__.kf.call(null, ret)); +if((temp__5825__auto__ == null)){ +return acc__$1; +} else { +var k = temp__5825__auto__; +var G__34634 = acc__$1; +var G__34635 = (self__.step.cljs$core$IFn$_invoke$arity$1 ? self__.step.cljs$core$IFn$_invoke$arity$1(k) : self__.step.call(null, k)); +acc = G__34634; +ret = G__34635; +continue; +} +} +} else { +return acc; +} +break; +} +})); + +(cljs.core.t_cljs$core27938.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"step","step",-1365547645,null),new cljs.core.Symbol(null,"p__27936","p__27936",-1195909548,null),new cljs.core.Symbol(null,"map__27937","map__27937",-835858449,null),new cljs.core.Symbol(null,"somef","somef",1017941162,null),new cljs.core.Symbol(null,"vf","vf",1319108258,null),new cljs.core.Symbol(null,"kf","kf",-1046348180,null),new cljs.core.Symbol(null,"initk","initk",-52811460,null),new cljs.core.Symbol(null,"meta27939","meta27939",-1901148023,null)], null); +})); + +(cljs.core.t_cljs$core27938.cljs$lang$type = true); + +(cljs.core.t_cljs$core27938.cljs$lang$ctorStr = "cljs.core/t_cljs$core27938"); + +(cljs.core.t_cljs$core27938.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/t_cljs$core27938"); +})); + +/** + * Positional factory function for cljs.core/t_cljs$core27938. + */ +cljs.core.__GT_t_cljs$core27938 = (function cljs$core$__GT_t_cljs$core27938(step,p__27936,map__27937,somef,vf,kf,initk,meta27939){ +return (new cljs.core.t_cljs$core27938(step,p__27936,map__27937,somef,vf,kf,initk,meta27939)); +}); + + +/** + * Creates a seqable/reducible via repeated calls to step, + * a function of some (continuation token) 'k'. The first call to step + * will be passed initk, returning 'ret'. Iff (somef ret) is true, + * (vf ret) will be included in the iteration, else iteration will + * terminate and vf/kf will not be called. If (kf ret) is non-nil it + * will be passed to the next step call, else iteration will terminate. + * This can be used e.g. to consume APIs that return paginated or batched data. + * step - (possibly impure) fn of 'k' -> 'ret' + * :somef - fn of 'ret' -> logical true/false, default 'some?' + * :vf - fn of 'ret' -> 'v', a value produced by the iteration, default 'identity' + * :kf - fn of 'ret' -> 'next-k' or nil (signaling 'do not continue'), default 'identity' + * :initk - the first value passed to step, default 'nil' + * It is presumed that step with non-initk is unreproducible/non-idempotent. + * If step with initk is unreproducible it is on the consumer to not consume twice. + */ +cljs.core.iteration = (function cljs$core$iteration(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34639 = arguments.length; +var i__5770__auto___34640 = (0); +while(true){ +if((i__5770__auto___34640 < len__5769__auto___34639)){ +args__5775__auto__.push((arguments[i__5770__auto___34640])); + +var G__34641 = (i__5770__auto___34640 + (1)); +i__5770__auto___34640 = G__34641; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.iteration.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.iteration.cljs$core$IFn$_invoke$arity$variadic = (function (step,p__27936){ +var map__27937 = p__27936; +var map__27937__$1 = cljs.core.__destructure_map(map__27937); +var somef = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__27937__$1,new cljs.core.Keyword(null,"somef","somef",-622590365),cljs.core.some_QMARK_); +var vf = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__27937__$1,new cljs.core.Keyword(null,"vf","vf",-321423269),cljs.core.identity); +var kf = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__27937__$1,new cljs.core.Keyword(null,"kf","kf",1608087589),cljs.core.identity); +var initk = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__27937__$1,new cljs.core.Keyword(null,"initk","initk",-1693342987),null); +return (new cljs.core.t_cljs$core27938(step,p__27936,map__27937__$1,somef,vf,kf,initk,cljs.core.PersistentArrayMap.EMPTY)); +})); + +(cljs.core.iteration.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.iteration.cljs$lang$applyTo = (function (seq27934){ +var G__27935 = cljs.core.first(seq27934); +var seq27934__$1 = cljs.core.next(seq27934); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27935,seq27934__$1); +})); + + +/** + * @interface + */ +cljs.core.IEncodeJS = function(){}; + +var cljs$core$IEncodeJS$_clj__GT_js$dyn_34644 = (function (x){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (cljs.core._clj__GT_js[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5394__auto__.call(null, x)); +} else { +var m__5392__auto__ = (cljs.core._clj__GT_js["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5392__auto__.call(null, x)); +} else { +throw cljs.core.missing_protocol("IEncodeJS.-clj->js",x); +} +} +}); +/** + * Recursively transforms clj values to JavaScript + */ +cljs.core._clj__GT_js = (function cljs$core$_clj__GT_js(x){ +if((((!((x == null)))) && ((!((x.cljs$core$IEncodeJS$_clj__GT_js$arity$1 == null)))))){ +return x.cljs$core$IEncodeJS$_clj__GT_js$arity$1(x); +} else { +return cljs$core$IEncodeJS$_clj__GT_js$dyn_34644(x); +} +}); + +var cljs$core$IEncodeJS$_key__GT_js$dyn_34646 = (function (x){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (cljs.core._key__GT_js[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5394__auto__.call(null, x)); +} else { +var m__5392__auto__ = (cljs.core._key__GT_js["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5392__auto__.call(null, x)); +} else { +throw cljs.core.missing_protocol("IEncodeJS.-key->js",x); +} +} +}); +/** + * Transforms map keys to valid JavaScript keys. Arbitrary keys are + * encoded to their string representation via (pr-str x) + */ +cljs.core._key__GT_js = (function cljs$core$_key__GT_js(x){ +if((((!((x == null)))) && ((!((x.cljs$core$IEncodeJS$_key__GT_js$arity$1 == null)))))){ +return x.cljs$core$IEncodeJS$_key__GT_js$arity$1(x); +} else { +return cljs$core$IEncodeJS$_key__GT_js$dyn_34646(x); +} +}); + +cljs.core.key__GT_js = (function cljs$core$key__GT_js(var_args){ +var G__27944 = arguments.length; +switch (G__27944) { +case 1: +return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$1 = (function (k){ +return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2(k,cljs.core.clj__GT_js); +})); + +(cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2 = (function (k,primitive_fn){ +if((((!((k == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === k.cljs$core$IEncodeJS$))))?true:(((!k.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,k):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,k))){ +return cljs.core._clj__GT_js(k); +} else { +if(((typeof k === 'string') || (((typeof k === 'number') || ((((k instanceof cljs.core.Keyword)) || ((k instanceof cljs.core.Symbol)))))))){ +return (primitive_fn.cljs$core$IFn$_invoke$arity$1 ? primitive_fn.cljs$core$IFn$_invoke$arity$1(k) : primitive_fn.call(null, k)); +} else { +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([k], 0)); + +} +} +})); + +(cljs.core.key__GT_js.cljs$lang$maxFixedArity = 2); + +/** + * Recursively transforms ClojureScript values to JavaScript. + * sets/vectors/lists become Arrays, Keywords and Symbol become Strings, + * Maps become Objects. Arbitrary keys are encoded to by `key->js`. + * Options is a key-value pair, where the only valid key is + * :keyword-fn, which should point to a single-argument function to be + * called on keyword keys. Default to `name`. + */ +cljs.core.clj__GT_js = (function cljs$core$clj__GT_js(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34658 = arguments.length; +var i__5770__auto___34659 = (0); +while(true){ +if((i__5770__auto___34659 < len__5769__auto___34658)){ +args__5775__auto__.push((arguments[i__5770__auto___34659])); + +var G__34660 = (i__5770__auto___34659 + (1)); +i__5770__auto___34659 = G__34660; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic = (function (x,p__27948){ +var map__27949 = p__27948; +var map__27949__$1 = cljs.core.__destructure_map(map__27949); +var options = map__27949__$1; +var keyword_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__27949__$1,new cljs.core.Keyword(null,"keyword-fn","keyword-fn",-64566675),cljs.core.name); +var keyfn = (function cljs$core$keyfn(k){ +return cljs.core.key__GT_js.cljs$core$IFn$_invoke$arity$2(k,thisfn); +}); +var thisfn = (function cljs$core$thisfn(x__$1){ +if((x__$1 == null)){ +return null; +} else { +if((((!((x__$1 == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === x__$1.cljs$core$IEncodeJS$))))?true:(((!x__$1.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,x__$1):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeJS,x__$1))){ +return cljs.core._clj__GT_js(x__$1); +} else { +if((x__$1 instanceof cljs.core.Keyword)){ +return (keyword_fn.cljs$core$IFn$_invoke$arity$1 ? keyword_fn.cljs$core$IFn$_invoke$arity$1(x__$1) : keyword_fn.call(null, x__$1)); +} else { +if((x__$1 instanceof cljs.core.Symbol)){ +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1); +} else { +if(cljs.core.map_QMARK_(x__$1)){ +var m = ({}); +var seq__27976_34663 = cljs.core.seq(x__$1); +var chunk__27977_34664 = null; +var count__27978_34665 = (0); +var i__27979_34666 = (0); +while(true){ +if((i__27979_34666 < count__27978_34665)){ +var vec__27986_34667 = chunk__27977_34664.cljs$core$IIndexed$_nth$arity$2(null, i__27979_34666); +var k_34668 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27986_34667,(0),null); +var v_34669 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27986_34667,(1),null); +cljs.core.goog$module$goog$object.set(m,keyfn(k_34668),cljs$core$thisfn(v_34669)); + + +var G__34671 = seq__27976_34663; +var G__34672 = chunk__27977_34664; +var G__34673 = count__27978_34665; +var G__34674 = (i__27979_34666 + (1)); +seq__27976_34663 = G__34671; +chunk__27977_34664 = G__34672; +count__27978_34665 = G__34673; +i__27979_34666 = G__34674; +continue; +} else { +var temp__5823__auto___34675 = cljs.core.seq(seq__27976_34663); +if(temp__5823__auto___34675){ +var seq__27976_34676__$1 = temp__5823__auto___34675; +if(cljs.core.chunked_seq_QMARK_(seq__27976_34676__$1)){ +var c__5568__auto___34677 = cljs.core.chunk_first(seq__27976_34676__$1); +var G__34679 = cljs.core.chunk_rest(seq__27976_34676__$1); +var G__34680 = c__5568__auto___34677; +var G__34681 = cljs.core.count(c__5568__auto___34677); +var G__34682 = (0); +seq__27976_34663 = G__34679; +chunk__27977_34664 = G__34680; +count__27978_34665 = G__34681; +i__27979_34666 = G__34682; +continue; +} else { +var vec__27989_34683 = cljs.core.first(seq__27976_34676__$1); +var k_34684 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27989_34683,(0),null); +var v_34685 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__27989_34683,(1),null); +cljs.core.goog$module$goog$object.set(m,keyfn(k_34684),cljs$core$thisfn(v_34685)); + + +var G__34688 = cljs.core.next(seq__27976_34676__$1); +var G__34689 = null; +var G__34690 = (0); +var G__34691 = (0); +seq__27976_34663 = G__34688; +chunk__27977_34664 = G__34689; +count__27978_34665 = G__34690; +i__27979_34666 = G__34691; +continue; +} +} else { +} +} +break; +} + +return m; +} else { +if(cljs.core.coll_QMARK_(x__$1)){ +var arr = []; +var seq__27992_34693 = cljs.core.seq(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs$core$thisfn,x__$1)); +var chunk__27993_34694 = null; +var count__27994_34695 = (0); +var i__27995_34696 = (0); +while(true){ +if((i__27995_34696 < count__27994_34695)){ +var x_34700__$2 = chunk__27993_34694.cljs$core$IIndexed$_nth$arity$2(null, i__27995_34696); +arr.push(x_34700__$2); + + +var G__34701 = seq__27992_34693; +var G__34702 = chunk__27993_34694; +var G__34703 = count__27994_34695; +var G__34704 = (i__27995_34696 + (1)); +seq__27992_34693 = G__34701; +chunk__27993_34694 = G__34702; +count__27994_34695 = G__34703; +i__27995_34696 = G__34704; +continue; +} else { +var temp__5823__auto___34705 = cljs.core.seq(seq__27992_34693); +if(temp__5823__auto___34705){ +var seq__27992_34707__$1 = temp__5823__auto___34705; +if(cljs.core.chunked_seq_QMARK_(seq__27992_34707__$1)){ +var c__5568__auto___34708 = cljs.core.chunk_first(seq__27992_34707__$1); +var G__34709 = cljs.core.chunk_rest(seq__27992_34707__$1); +var G__34710 = c__5568__auto___34708; +var G__34711 = cljs.core.count(c__5568__auto___34708); +var G__34712 = (0); +seq__27992_34693 = G__34709; +chunk__27993_34694 = G__34710; +count__27994_34695 = G__34711; +i__27995_34696 = G__34712; +continue; +} else { +var x_34714__$2 = cljs.core.first(seq__27992_34707__$1); +arr.push(x_34714__$2); + + +var G__34715 = cljs.core.next(seq__27992_34707__$1); +var G__34716 = null; +var G__34717 = (0); +var G__34718 = (0); +seq__27992_34693 = G__34715; +chunk__27993_34694 = G__34716; +count__27994_34695 = G__34717; +i__27995_34696 = G__34718; +continue; +} +} else { +} +} +break; +} + +return arr; +} else { +return x__$1; + +} +} +} +} +} +} +}); +return thisfn(x); +})); + +(cljs.core.clj__GT_js.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.clj__GT_js.cljs$lang$applyTo = (function (seq27946){ +var G__27947 = cljs.core.first(seq27946); +var seq27946__$1 = cljs.core.next(seq27946); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__27947,seq27946__$1); +})); + + +/** + * @interface + */ +cljs.core.IEncodeClojure = function(){}; + +var cljs$core$IEncodeClojure$_js__GT_clj$dyn_34721 = (function (x,options){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (cljs.core._js__GT_clj[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(x,options) : m__5394__auto__.call(null, x,options)); +} else { +var m__5392__auto__ = (cljs.core._js__GT_clj["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(x,options) : m__5392__auto__.call(null, x,options)); +} else { +throw cljs.core.missing_protocol("IEncodeClojure.-js->clj",x); +} +} +}); +/** + * Transforms JavaScript values to Clojure + */ +cljs.core._js__GT_clj = (function cljs$core$_js__GT_clj(x,options){ +if((((!((x == null)))) && ((!((x.cljs$core$IEncodeClojure$_js__GT_clj$arity$2 == null)))))){ +return x.cljs$core$IEncodeClojure$_js__GT_clj$arity$2(x,options); +} else { +return cljs$core$IEncodeClojure$_js__GT_clj$dyn_34721(x,options); +} +}); + +/** + * Recursively transforms JavaScript arrays into ClojureScript + * vectors, and JavaScript objects into ClojureScript maps. With + * option ':keywordize-keys true' will convert object fields from + * strings to keywords. + */ +cljs.core.js__GT_clj = (function cljs$core$js__GT_clj(var_args){ +var G__28001 = arguments.length; +switch (G__28001) { +case 1: +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___34725 = arguments.length; +var i__5770__auto___34726 = (0); +while(true){ +if((i__5770__auto___34726 < len__5769__auto___34725)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___34726])); + +var G__34728 = (i__5770__auto___34726 + (1)); +i__5770__auto___34726 = G__34728; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic(x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"keywordize-keys","keywordize-keys",1310784252),false], 0)); +})); + +(cljs.core.js__GT_clj.cljs$core$IFn$_invoke$arity$variadic = (function (x,opts){ +var map__28002 = opts; +var map__28002__$1 = cljs.core.__destructure_map(map__28002); +var keywordize_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28002__$1,new cljs.core.Keyword(null,"keywordize-keys","keywordize-keys",1310784252)); +var keyfn = (cljs.core.truth_(keywordize_keys)?cljs.core.keyword:cljs.core.str); +var f = (function cljs$core$thisfn(x__$1){ +if((((!((x__$1 == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === x__$1.cljs$core$IEncodeClojure$))))?true:(((!x__$1.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeClojure,x__$1):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IEncodeClojure,x__$1))){ +return cljs.core._js__GT_clj(x__$1,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.array_map,opts)); +} else { +if(cljs.core.seq_QMARK_(x__$1)){ +return cljs.core.doall.cljs$core$IFn$_invoke$arity$1(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs$core$thisfn,x__$1)); +} else { +if(cljs.core.map_entry_QMARK_(x__$1)){ +return (new cljs.core.MapEntry(cljs$core$thisfn(cljs.core.key(x__$1)),cljs$core$thisfn(cljs.core.val(x__$1)),null)); +} else { +if(cljs.core.coll_QMARK_(x__$1)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$3(cljs.core.empty(x__$1),cljs.core.map.cljs$core$IFn$_invoke$arity$1(cljs$core$thisfn),x__$1); +} else { +if(cljs.core.array_QMARK_(x__$1)){ +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__27996_SHARP_,p2__27997_SHARP_){ +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(p1__27996_SHARP_,cljs$core$thisfn(p2__27997_SHARP_)); +}),cljs.core.transient$(cljs.core.PersistentVector.EMPTY),x__$1)); +} else { +if((cljs.core.type(x__$1) === Object)){ +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (r,k){ +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(r,(keyfn.cljs$core$IFn$_invoke$arity$1 ? keyfn.cljs$core$IFn$_invoke$arity$1(k) : keyfn.call(null, k)),cljs$core$thisfn(cljs.core.goog$module$goog$object.get(x__$1,k))); +}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),cljs.core.js_keys(x__$1))); +} else { +return x__$1; + +} +} +} +} +} +} +}); +return f(x); +})); + +/** @this {Function} */ +(cljs.core.js__GT_clj.cljs$lang$applyTo = (function (seq27999){ +var G__28000 = cljs.core.first(seq27999); +var seq27999__$1 = cljs.core.next(seq27999); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28000,seq27999__$1); +})); + +(cljs.core.js__GT_clj.cljs$lang$maxFixedArity = (1)); + +/** + * Returns a memoized version of a referentially transparent function. The + * memoized version of the function keeps a cache of the mapping from arguments + * to results and, when calls with the same arguments are repeated often, has + * higher performance at the expense of higher memory use. + */ +cljs.core.memoize = (function cljs$core$memoize(f){ +var mem = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +return (function() { +var G__34736__delegate = function (args){ +var v = cljs.core.get.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(mem),args,cljs.core.lookup_sentinel); +if((v === cljs.core.lookup_sentinel)){ +var ret = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,args); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(mem,cljs.core.assoc,args,ret); + +return ret; +} else { +return v; +} +}; +var G__34736 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__34742__i = 0, G__34742__a = new Array(arguments.length - 0); +while (G__34742__i < G__34742__a.length) {G__34742__a[G__34742__i] = arguments[G__34742__i + 0]; ++G__34742__i;} + args = new cljs.core.IndexedSeq(G__34742__a,0,null); +} +return G__34736__delegate.call(this,args);}; +G__34736.cljs$lang$maxFixedArity = 0; +G__34736.cljs$lang$applyTo = (function (arglist__34744){ +var args = cljs.core.seq(arglist__34744); +return G__34736__delegate(args); +}); +G__34736.cljs$core$IFn$_invoke$arity$variadic = G__34736__delegate; +return G__34736; +})() +; +}); +/** + * trampoline can be used to convert algorithms requiring mutual + * recursion without stack consumption. Calls f with supplied args, if + * any. If f returns a fn, calls that fn with no arguments, and + * continues to repeat, until the return value is not a fn, then + * returns that non-fn value. Note that if you want to return a fn as a + * final value, you must wrap it in some data structure and unpack it + * after trampoline returns. + */ +cljs.core.trampoline = (function cljs$core$trampoline(var_args){ +var G__28007 = arguments.length; +switch (G__28007) { +case 1: +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___34747 = arguments.length; +var i__5770__auto___34748 = (0); +while(true){ +if((i__5770__auto___34748 < len__5769__auto___34747)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___34748])); + +var G__34749 = (i__5770__auto___34748 + (1)); +i__5770__auto___34748 = G__34749; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1 = (function (f){ +while(true){ +var ret = (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +if(cljs.core.fn_QMARK_(ret)){ +var G__34751 = ret; +f = G__34751; +continue; +} else { +return ret; +} +break; +} +})); + +(cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic = (function (f,args){ +return cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1((function (){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,args); +})); +})); + +/** @this {Function} */ +(cljs.core.trampoline.cljs$lang$applyTo = (function (seq28005){ +var G__28006 = cljs.core.first(seq28005); +var seq28005__$1 = cljs.core.next(seq28005); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28006,seq28005__$1); +})); + +(cljs.core.trampoline.cljs$lang$maxFixedArity = (1)); + +/** + * Returns a random floating point number between 0 (inclusive) and + * n (default 1) (exclusive). + */ +cljs.core.rand = (function cljs$core$rand(var_args){ +var G__28009 = arguments.length; +switch (G__28009) { +case 0: +return cljs.core.rand.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs.core.rand.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.rand.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.rand.cljs$core$IFn$_invoke$arity$1((1)); +})); + +(cljs.core.rand.cljs$core$IFn$_invoke$arity$1 = (function (n){ +return (Math.random() * n); +})); + +(cljs.core.rand.cljs$lang$maxFixedArity = 1); + +/** + * Returns a random integer between 0 (inclusive) and n (exclusive). + */ +cljs.core.rand_int = (function cljs$core$rand_int(n){ +return Math.floor((Math.random() * n)); +}); +/** + * Return a random element of the (sequential) collection. Will have + * the same performance characteristics as nth for the given + * collection. + */ +cljs.core.rand_nth = (function cljs$core$rand_nth(coll){ +return cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,cljs.core.rand_int(cljs.core.count(coll))); +}); +/** + * Returns a map of the elements of coll keyed by the result of + * f on each element. The value at each key will be a vector of the + * corresponding elements, in the order they appeared in coll. + */ +cljs.core.group_by = (function cljs$core$group_by(f,coll){ +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,x){ +var k = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(x) : f.call(null, x)); +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(ret,k,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(ret,k,cljs.core.PersistentVector.EMPTY),x)); +}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),coll)); +}); +/** + * Creates a hierarchy object for use with derive, isa? etc. + */ +cljs.core.make_hierarchy = (function cljs$core$make_hierarchy(){ +return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"parents","parents",-2027538891),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"descendants","descendants",1824886031),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"ancestors","ancestors",-776045424),cljs.core.PersistentArrayMap.EMPTY], null); +}); +/** + * @type {*} + */ +cljs.core._global_hierarchy = null; +cljs.core.get_global_hierarchy = (function cljs$core$get_global_hierarchy(){ +if((cljs.core._global_hierarchy == null)){ +(cljs.core._global_hierarchy = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.make_hierarchy())); +} else { +} + +return cljs.core._global_hierarchy; +}); +cljs.core.swap_global_hierarchy_BANG_ = (function cljs$core$swap_global_hierarchy_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___34763 = arguments.length; +var i__5770__auto___34764 = (0); +while(true){ +if((i__5770__auto___34764 < len__5769__auto___34763)){ +args__5775__auto__.push((arguments[i__5770__auto___34764])); + +var G__34766 = (i__5770__auto___34764 + (1)); +i__5770__auto___34764 = G__34766; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (f,args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.swap_BANG_,cljs.core.get_global_hierarchy(),f,args); +})); + +(cljs.core.swap_global_hierarchy_BANG_.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.core.swap_global_hierarchy_BANG_.cljs$lang$applyTo = (function (seq28010){ +var G__28011 = cljs.core.first(seq28010); +var seq28010__$1 = cljs.core.next(seq28010); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28011,seq28010__$1); +})); + +/** + * Returns true if (= child parent), or child is directly or indirectly derived from + * parent, either via a JavaScript type inheritance relationship or a + * relationship established via derive. h must be a hierarchy obtained + * from make-hierarchy, if not supplied defaults to the global + * hierarchy + */ +cljs.core.isa_QMARK_ = (function cljs$core$isa_QMARK_(var_args){ +var G__28013 = arguments.length; +switch (G__28013) { +case 2: +return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$2 = (function (child,parent){ +return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs.core.get_global_hierarchy()),child,parent); +})); + +(cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3 = (function (h,child,parent){ +var or__5045__auto__ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(child,parent); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = cljs.core.contains_QMARK_((function (){var fexpr__28014 = new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h); +return (fexpr__28014.cljs$core$IFn$_invoke$arity$1 ? fexpr__28014.cljs$core$IFn$_invoke$arity$1(child) : fexpr__28014.call(null, child)); +})(),parent); +if(or__5045__auto____$1){ +return or__5045__auto____$1; +} else { +var and__5043__auto__ = cljs.core.vector_QMARK_(parent); +if(and__5043__auto__){ +var and__5043__auto____$1 = cljs.core.vector_QMARK_(child); +if(and__5043__auto____$1){ +var and__5043__auto____$2 = (cljs.core.count(parent) === cljs.core.count(child)); +if(and__5043__auto____$2){ +var ret = true; +var i = (0); +while(true){ +if((((!(ret))) || ((i === cljs.core.count(parent))))){ +return ret; +} else { +var G__34768 = cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(h,(child.cljs$core$IFn$_invoke$arity$1 ? child.cljs$core$IFn$_invoke$arity$1(i) : child.call(null, i)),(parent.cljs$core$IFn$_invoke$arity$1 ? parent.cljs$core$IFn$_invoke$arity$1(i) : parent.call(null, i))); +var G__34769 = (i + (1)); +ret = G__34768; +i = G__34769; +continue; +} +break; +} +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +} +} +})); + +(cljs.core.isa_QMARK_.cljs$lang$maxFixedArity = 3); + +/** + * Returns the immediate parents of tag, either via a JavaScript type + * inheritance relationship or a relationship established via derive. h + * must be a hierarchy obtained from make-hierarchy, if not supplied + * defaults to the global hierarchy + */ +cljs.core.parents = (function cljs$core$parents(var_args){ +var G__28016 = arguments.length; +switch (G__28016) { +case 1: +return cljs.core.parents.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.parents.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.parents.cljs$core$IFn$_invoke$arity$1 = (function (tag){ +return cljs.core.parents.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.get_global_hierarchy()),tag); +})); + +(cljs.core.parents.cljs$core$IFn$_invoke$arity$2 = (function (h,tag){ +return cljs.core.not_empty(cljs.core.get.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h),tag)); +})); + +(cljs.core.parents.cljs$lang$maxFixedArity = 2); + +/** + * Returns the immediate and indirect parents of tag, either via a JavaScript type + * inheritance relationship or a relationship established via derive. h + * must be a hierarchy obtained from make-hierarchy, if not supplied + * defaults to the global hierarchy + */ +cljs.core.ancestors = (function cljs$core$ancestors(var_args){ +var G__28018 = arguments.length; +switch (G__28018) { +case 1: +return cljs.core.ancestors.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.ancestors.cljs$core$IFn$_invoke$arity$1 = (function (tag){ +return cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.get_global_hierarchy()),tag); +})); + +(cljs.core.ancestors.cljs$core$IFn$_invoke$arity$2 = (function (h,tag){ +return cljs.core.not_empty(cljs.core.get.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h),tag)); +})); + +(cljs.core.ancestors.cljs$lang$maxFixedArity = 2); + +/** + * Returns the immediate and indirect children of tag, through a + * relationship established via derive. h must be a hierarchy obtained + * from make-hierarchy, if not supplied defaults to the global + * hierarchy. Note: does not work on JavaScript type inheritance + * relationships. + */ +cljs.core.descendants = (function cljs$core$descendants(var_args){ +var G__28020 = arguments.length; +switch (G__28020) { +case 1: +return cljs.core.descendants.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.descendants.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.descendants.cljs$core$IFn$_invoke$arity$1 = (function (tag){ +return cljs.core.descendants.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.get_global_hierarchy()),tag); +})); + +(cljs.core.descendants.cljs$core$IFn$_invoke$arity$2 = (function (h,tag){ +return cljs.core.not_empty(cljs.core.get.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"descendants","descendants",1824886031).cljs$core$IFn$_invoke$arity$1(h),tag)); +})); + +(cljs.core.descendants.cljs$lang$maxFixedArity = 2); + +/** + * Establishes a parent/child relationship between parent and + * tag. Parent must be a namespace-qualified symbol or keyword and + * child can be either a namespace-qualified symbol or keyword or a + * class. h must be a hierarchy obtained from make-hierarchy, if not + * supplied defaults to, and modifies, the global hierarchy. + */ +cljs.core.derive = (function cljs$core$derive(var_args){ +var G__28022 = arguments.length; +switch (G__28022) { +case 2: +return cljs.core.derive.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.derive.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.derive.cljs$core$IFn$_invoke$arity$2 = (function (tag,parent){ +if(cljs.core.truth_(cljs.core.namespace(parent))){ +} else { +throw (new Error("Assert failed: (namespace parent)")); +} + +cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.derive,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([tag,parent], 0)); + +return null; +})); + +(cljs.core.derive.cljs$core$IFn$_invoke$arity$3 = (function (h,tag,parent){ +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(tag,parent)){ +} else { +throw (new Error("Assert failed: (not= tag parent)")); +} + +var tp = new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h); +var td = new cljs.core.Keyword(null,"descendants","descendants",1824886031).cljs$core$IFn$_invoke$arity$1(h); +var ta = new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h); +var tf = (function (m,source,sources,target,targets){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,k){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,k,cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,cljs.core.get.cljs$core$IFn$_invoke$arity$3(targets,k,cljs.core.PersistentHashSet.EMPTY),cljs.core.cons(target,(targets.cljs$core$IFn$_invoke$arity$1 ? targets.cljs$core$IFn$_invoke$arity$1(target) : targets.call(null, target))))); +}),m,cljs.core.cons(source,(sources.cljs$core$IFn$_invoke$arity$1 ? sources.cljs$core$IFn$_invoke$arity$1(source) : sources.call(null, source)))); +}); +var or__5045__auto__ = ((cljs.core.contains_QMARK_((tp.cljs$core$IFn$_invoke$arity$1 ? tp.cljs$core$IFn$_invoke$arity$1(tag) : tp.call(null, tag)),parent))?null:(function (){ +if(cljs.core.contains_QMARK_((ta.cljs$core$IFn$_invoke$arity$1 ? ta.cljs$core$IFn$_invoke$arity$1(tag) : ta.call(null, tag)),parent)){ +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),"already has",cljs.core.str.cljs$core$IFn$_invoke$arity$1(parent),"as ancestor"].join(''))); +} else { +} + +if(cljs.core.contains_QMARK_((ta.cljs$core$IFn$_invoke$arity$1 ? ta.cljs$core$IFn$_invoke$arity$1(parent) : ta.call(null, parent)),tag)){ +throw (new Error(["Cyclic derivation:",cljs.core.str.cljs$core$IFn$_invoke$arity$1(parent),"has",cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),"as ancestor"].join(''))); +} else { +} + +return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"parents","parents",-2027538891),cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h),tag,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(tp,tag,cljs.core.PersistentHashSet.EMPTY),parent)),new cljs.core.Keyword(null,"ancestors","ancestors",-776045424),tf(new cljs.core.Keyword(null,"ancestors","ancestors",-776045424).cljs$core$IFn$_invoke$arity$1(h),tag,td,parent,ta),new cljs.core.Keyword(null,"descendants","descendants",1824886031),tf(new cljs.core.Keyword(null,"descendants","descendants",1824886031).cljs$core$IFn$_invoke$arity$1(h),parent,ta,tag,td)], null); +})() +); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return h; +} +})); + +(cljs.core.derive.cljs$lang$maxFixedArity = 3); + +/** + * Removes a parent/child relationship between parent and + * tag. h must be a hierarchy obtained from make-hierarchy, if not + * supplied defaults to, and modifies, the global hierarchy. + */ +cljs.core.underive = (function cljs$core$underive(var_args){ +var G__28027 = arguments.length; +switch (G__28027) { +case 2: +return cljs.core.underive.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.underive.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.underive.cljs$core$IFn$_invoke$arity$2 = (function (tag,parent){ +cljs.core.swap_global_hierarchy_BANG_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.underive,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([tag,parent], 0)); + +return null; +})); + +(cljs.core.underive.cljs$core$IFn$_invoke$arity$3 = (function (h,tag,parent){ +var parentMap = new cljs.core.Keyword(null,"parents","parents",-2027538891).cljs$core$IFn$_invoke$arity$1(h); +var childsParents = (cljs.core.truth_((parentMap.cljs$core$IFn$_invoke$arity$1 ? parentMap.cljs$core$IFn$_invoke$arity$1(tag) : parentMap.call(null, tag)))?cljs.core.disj.cljs$core$IFn$_invoke$arity$2((parentMap.cljs$core$IFn$_invoke$arity$1 ? parentMap.cljs$core$IFn$_invoke$arity$1(tag) : parentMap.call(null, tag)),parent):cljs.core.PersistentHashSet.EMPTY); +var newParents = (cljs.core.truth_(cljs.core.not_empty(childsParents))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(parentMap,tag,childsParents):cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(parentMap,tag)); +var deriv_seq = cljs.core.flatten(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__28023_SHARP_){ +return cljs.core.cons(cljs.core.first(p1__28023_SHARP_),cljs.core.interpose.cljs$core$IFn$_invoke$arity$2(cljs.core.first(p1__28023_SHARP_),cljs.core.second(p1__28023_SHARP_))); +}),cljs.core.seq(newParents))); +if(cljs.core.contains_QMARK_((parentMap.cljs$core$IFn$_invoke$arity$1 ? parentMap.cljs$core$IFn$_invoke$arity$1(tag) : parentMap.call(null, tag)),parent)){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__28024_SHARP_,p2__28025_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.derive,p1__28024_SHARP_,p2__28025_SHARP_); +}),cljs.core.make_hierarchy(),cljs.core.partition.cljs$core$IFn$_invoke$arity$2((2),deriv_seq)); +} else { +return h; +} +})); + +(cljs.core.underive.cljs$lang$maxFixedArity = 3); + +cljs.core.reset_cache = (function cljs$core$reset_cache(method_cache,method_table,cached_hierarchy,hierarchy){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(method_cache,(function (_){ +return cljs.core.deref(method_table); +})); + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(cached_hierarchy,(function (_){ +return cljs.core.deref(hierarchy); +})); +}); +cljs.core.prefers_STAR_ = (function cljs$core$prefers_STAR_(x,y,prefer_table){ +var xprefs = (function (){var fexpr__28028 = cljs.core.deref(prefer_table); +return (fexpr__28028.cljs$core$IFn$_invoke$arity$1 ? fexpr__28028.cljs$core$IFn$_invoke$arity$1(x) : fexpr__28028.call(null, x)); +})(); +var or__5045__auto__ = (cljs.core.truth_((function (){var and__5043__auto__ = xprefs; +if(cljs.core.truth_(and__5043__auto__)){ +return (xprefs.cljs$core$IFn$_invoke$arity$1 ? xprefs.cljs$core$IFn$_invoke$arity$1(y) : xprefs.call(null, y)); +} else { +return and__5043__auto__; +} +})())?true:null); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (function (){var ps = cljs.core.parents.cljs$core$IFn$_invoke$arity$1(y); +while(true){ +if((cljs.core.count(ps) > (0))){ +if(cljs.core.truth_((function (){var G__28029 = x; +var G__28030 = cljs.core.first(ps); +var G__28031 = prefer_table; +return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__28029,G__28030,G__28031) : cljs.core.prefers_STAR_.call(null, G__28029,G__28030,G__28031)); +})())){ +} else { +} + +var G__34836 = cljs.core.rest(ps); +ps = G__34836; +continue; +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +var or__5045__auto____$2 = (function (){var ps = cljs.core.parents.cljs$core$IFn$_invoke$arity$1(x); +while(true){ +if((cljs.core.count(ps) > (0))){ +if(cljs.core.truth_((function (){var G__28032 = cljs.core.first(ps); +var G__28033 = y; +var G__28034 = prefer_table; +return (cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3 ? cljs.core.prefers_STAR_.cljs$core$IFn$_invoke$arity$3(G__28032,G__28033,G__28034) : cljs.core.prefers_STAR_.call(null, G__28032,G__28033,G__28034)); +})())){ +} else { +} + +var G__34838 = cljs.core.rest(ps); +ps = G__34838; +continue; +} else { +return null; +} +break; +} +})(); +if(cljs.core.truth_(or__5045__auto____$2)){ +return or__5045__auto____$2; +} else { +return false; +} +} +} +}); +cljs.core.dominates = (function cljs$core$dominates(x,y,prefer_table,hierarchy){ +var or__5045__auto__ = cljs.core.prefers_STAR_(x,y,prefer_table); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(hierarchy,x,y); +} +}); +cljs.core.find_and_cache_best_method = (function cljs$core$find_and_cache_best_method(name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy,default_dispatch_val){ +var best_entry = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (be,p__28035){ +var vec__28036 = p__28035; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28036,(0),null); +var _ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28036,(1),null); +var e = vec__28036; +if(cljs.core.isa_QMARK_.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(hierarchy),dispatch_val,k)){ +var be2 = (((((be == null)) || (cljs.core.dominates(k,cljs.core.first(be),prefer_table,cljs.core.deref(hierarchy)))))?e:be); +if(cljs.core.dominates(cljs.core.first(be2),k,prefer_table,cljs.core.deref(hierarchy))){ +} else { +throw (new Error(["Multiple methods in multimethod '",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name),"' match dispatch value: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val)," -> ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(k)," and ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(be2)),", and neither is preferred"].join(''))); +} + +return be2; +} else { +return be; +} +}),null,cljs.core.deref(method_table)); +var best_entry__$1 = (function (){var temp__5821__auto__ = (function (){var and__5043__auto__ = (best_entry == null); +if(and__5043__auto__){ +var fexpr__28039 = cljs.core.deref(method_table); +return (fexpr__28039.cljs$core$IFn$_invoke$arity$1 ? fexpr__28039.cljs$core$IFn$_invoke$arity$1(default_dispatch_val) : fexpr__28039.call(null, default_dispatch_val)); +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.truth_(temp__5821__auto__)){ +var entry = temp__5821__auto__; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [default_dispatch_val,entry], null); +} else { +return best_entry; +} +})(); +if(cljs.core.truth_(best_entry__$1)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cached_hierarchy),cljs.core.deref(hierarchy))){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(method_cache,cljs.core.assoc,dispatch_val,cljs.core.second(best_entry__$1)); + +return cljs.core.second(best_entry__$1); +} else { +cljs.core.reset_cache(method_cache,method_table,cached_hierarchy,hierarchy); + +return (cljs.core.find_and_cache_best_method.cljs$core$IFn$_invoke$arity$8 ? cljs.core.find_and_cache_best_method.cljs$core$IFn$_invoke$arity$8(name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy,default_dispatch_val) : cljs.core.find_and_cache_best_method.call(null, name,dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy,default_dispatch_val)); +} +} else { +return null; +} +}); + +/** + * @interface + */ +cljs.core.IMultiFn = function(){}; + +var cljs$core$IMultiFn$_reset$dyn_34858 = (function (mf){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._reset[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5394__auto__.call(null, mf)); +} else { +var m__5392__auto__ = (cljs.core._reset["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5392__auto__.call(null, mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-reset",mf); +} +} +}); +cljs.core._reset = (function cljs$core$_reset(mf){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_reset$arity$1 == null)))))){ +return mf.cljs$core$IMultiFn$_reset$arity$1(mf); +} else { +return cljs$core$IMultiFn$_reset$dyn_34858(mf); +} +}); + +var cljs$core$IMultiFn$_add_method$dyn_34862 = (function (mf,dispatch_val,method){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._add_method[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__5394__auto__.call(null, mf,dispatch_val,method)); +} else { +var m__5392__auto__ = (cljs.core._add_method["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,method) : m__5392__auto__.call(null, mf,dispatch_val,method)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-add-method",mf); +} +} +}); +cljs.core._add_method = (function cljs$core$_add_method(mf,dispatch_val,method){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_add_method$arity$3 == null)))))){ +return mf.cljs$core$IMultiFn$_add_method$arity$3(mf,dispatch_val,method); +} else { +return cljs$core$IMultiFn$_add_method$dyn_34862(mf,dispatch_val,method); +} +}); + +var cljs$core$IMultiFn$_remove_method$dyn_34864 = (function (mf,dispatch_val){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._remove_method[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__5394__auto__.call(null, mf,dispatch_val)); +} else { +var m__5392__auto__ = (cljs.core._remove_method["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__5392__auto__.call(null, mf,dispatch_val)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-remove-method",mf); +} +} +}); +cljs.core._remove_method = (function cljs$core$_remove_method(mf,dispatch_val){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_remove_method$arity$2 == null)))))){ +return mf.cljs$core$IMultiFn$_remove_method$arity$2(mf,dispatch_val); +} else { +return cljs$core$IMultiFn$_remove_method$dyn_34864(mf,dispatch_val); +} +}); + +var cljs$core$IMultiFn$_prefer_method$dyn_34867 = (function (mf,dispatch_val,dispatch_val_y){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._prefer_method[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__5394__auto__.call(null, mf,dispatch_val,dispatch_val_y)); +} else { +var m__5392__auto__ = (cljs.core._prefer_method["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(mf,dispatch_val,dispatch_val_y) : m__5392__auto__.call(null, mf,dispatch_val,dispatch_val_y)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-prefer-method",mf); +} +} +}); +cljs.core._prefer_method = (function cljs$core$_prefer_method(mf,dispatch_val,dispatch_val_y){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_prefer_method$arity$3 == null)))))){ +return mf.cljs$core$IMultiFn$_prefer_method$arity$3(mf,dispatch_val,dispatch_val_y); +} else { +return cljs$core$IMultiFn$_prefer_method$dyn_34867(mf,dispatch_val,dispatch_val_y); +} +}); + +var cljs$core$IMultiFn$_get_method$dyn_34872 = (function (mf,dispatch_val){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._get_method[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__5394__auto__.call(null, mf,dispatch_val)); +} else { +var m__5392__auto__ = (cljs.core._get_method["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(mf,dispatch_val) : m__5392__auto__.call(null, mf,dispatch_val)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-get-method",mf); +} +} +}); +cljs.core._get_method = (function cljs$core$_get_method(mf,dispatch_val){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_get_method$arity$2 == null)))))){ +return mf.cljs$core$IMultiFn$_get_method$arity$2(mf,dispatch_val); +} else { +return cljs$core$IMultiFn$_get_method$dyn_34872(mf,dispatch_val); +} +}); + +var cljs$core$IMultiFn$_methods$dyn_34873 = (function (mf){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._methods[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5394__auto__.call(null, mf)); +} else { +var m__5392__auto__ = (cljs.core._methods["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5392__auto__.call(null, mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-methods",mf); +} +} +}); +cljs.core._methods = (function cljs$core$_methods(mf){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_methods$arity$1 == null)))))){ +return mf.cljs$core$IMultiFn$_methods$arity$1(mf); +} else { +return cljs$core$IMultiFn$_methods$dyn_34873(mf); +} +}); + +var cljs$core$IMultiFn$_prefers$dyn_34878 = (function (mf){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._prefers[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5394__auto__.call(null, mf)); +} else { +var m__5392__auto__ = (cljs.core._prefers["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5392__auto__.call(null, mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-prefers",mf); +} +} +}); +cljs.core._prefers = (function cljs$core$_prefers(mf){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_prefers$arity$1 == null)))))){ +return mf.cljs$core$IMultiFn$_prefers$arity$1(mf); +} else { +return cljs$core$IMultiFn$_prefers$dyn_34878(mf); +} +}); + +var cljs$core$IMultiFn$_default_dispatch_val$dyn_34890 = (function (mf){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._default_dispatch_val[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5394__auto__.call(null, mf)); +} else { +var m__5392__auto__ = (cljs.core._default_dispatch_val["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5392__auto__.call(null, mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-default-dispatch-val",mf); +} +} +}); +cljs.core._default_dispatch_val = (function cljs$core$_default_dispatch_val(mf){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_default_dispatch_val$arity$1 == null)))))){ +return mf.cljs$core$IMultiFn$_default_dispatch_val$arity$1(mf); +} else { +return cljs$core$IMultiFn$_default_dispatch_val$dyn_34890(mf); +} +}); + +var cljs$core$IMultiFn$_dispatch_fn$dyn_34913 = (function (mf){ +var x__5393__auto__ = (((mf == null))?null:mf); +var m__5394__auto__ = (cljs.core._dispatch_fn[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5394__auto__.call(null, mf)); +} else { +var m__5392__auto__ = (cljs.core._dispatch_fn["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(mf) : m__5392__auto__.call(null, mf)); +} else { +throw cljs.core.missing_protocol("IMultiFn.-dispatch-fn",mf); +} +} +}); +cljs.core._dispatch_fn = (function cljs$core$_dispatch_fn(mf){ +if((((!((mf == null)))) && ((!((mf.cljs$core$IMultiFn$_dispatch_fn$arity$1 == null)))))){ +return mf.cljs$core$IMultiFn$_dispatch_fn$arity$1(mf); +} else { +return cljs$core$IMultiFn$_dispatch_fn$dyn_34913(mf); +} +}); + +cljs.core.throw_no_method_error = (function cljs$core$throw_no_method_error(name,dispatch_val){ +throw (new Error(["No method in multimethod '",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name),"' for dispatch value: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val)].join(''))); +}); + +/** +* @constructor + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.IMultiFn} + * @implements {cljs.core.INamed} +*/ +cljs.core.MultiFn = (function (name,dispatch_fn,default_dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy){ +this.name = name; +this.dispatch_fn = dispatch_fn; +this.default_dispatch_val = default_dispatch_val; +this.hierarchy = hierarchy; +this.method_table = method_table; +this.prefer_table = prefer_table; +this.method_cache = method_cache; +this.cached_hierarchy = cached_hierarchy; +this.cljs$lang$protocol_mask$partition0$ = 4194305; +this.cljs$lang$protocol_mask$partition1$ = 4352; +}); +(cljs.core.MultiFn.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__28041 = (arguments.length - (1)); +switch (G__28041) { +case (0): +return self__.cljs$core$IFn$_invoke$arity$0(); + +break; +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +case (3): +return self__.cljs$core$IFn$_invoke$arity$3((arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case (4): +return self__.cljs$core$IFn$_invoke$arity$4((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case (5): +return self__.cljs$core$IFn$_invoke$arity$5((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +case (6): +return self__.cljs$core$IFn$_invoke$arity$6((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)])); + +break; +case (7): +return self__.cljs$core$IFn$_invoke$arity$7((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)])); + +break; +case (8): +return self__.cljs$core$IFn$_invoke$arity$8((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)])); + +break; +case (9): +return self__.cljs$core$IFn$_invoke$arity$9((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)])); + +break; +case (10): +return self__.cljs$core$IFn$_invoke$arity$10((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)])); + +break; +case (11): +return self__.cljs$core$IFn$_invoke$arity$11((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)])); + +break; +case (12): +return self__.cljs$core$IFn$_invoke$arity$12((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)])); + +break; +case (13): +return self__.cljs$core$IFn$_invoke$arity$13((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)])); + +break; +case (14): +return self__.cljs$core$IFn$_invoke$arity$14((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)])); + +break; +case (15): +return self__.cljs$core$IFn$_invoke$arity$15((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)])); + +break; +case (16): +return self__.cljs$core$IFn$_invoke$arity$16((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)])); + +break; +case (17): +return self__.cljs$core$IFn$_invoke$arity$17((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)])); + +break; +case (18): +return self__.cljs$core$IFn$_invoke$arity$18((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)])); + +break; +case (19): +return self__.cljs$core$IFn$_invoke$arity$19((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)])); + +break; +case (20): +return self__.cljs$core$IFn$_invoke$arity$20((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)])); + +break; +case (21): +return self__.cljs$core$IFn$_invoke$arity$21((arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),(arguments[(6)]),(arguments[(7)]),(arguments[(8)]),(arguments[(9)]),(arguments[(10)]),(arguments[(11)]),(arguments[(12)]),(arguments[(13)]),(arguments[(14)]),(arguments[(15)]),(arguments[(16)]),(arguments[(17)]),(arguments[(18)]),(arguments[(19)]),(arguments[(20)]),(arguments[(21)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs.core.MultiFn.prototype.apply = (function (self__,args28040){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args28040))); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$0 = (function (){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$0 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$0() : self__.dispatch_fn.call(null, )); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$0 ? target_fn.cljs$core$IFn$_invoke$arity$0() : target_fn.call(null, )); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$1 = (function (a){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$1 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$1(a) : self__.dispatch_fn.call(null, a)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$1 ? target_fn.cljs$core$IFn$_invoke$arity$1(a) : target_fn.call(null, a)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$2 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$2(a,b) : self__.dispatch_fn.call(null, a,b)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$2 ? target_fn.cljs$core$IFn$_invoke$arity$2(a,b) : target_fn.call(null, a,b)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$3 = (function (a,b,c){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$3 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$3(a,b,c) : self__.dispatch_fn.call(null, a,b,c)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$3 ? target_fn.cljs$core$IFn$_invoke$arity$3(a,b,c) : target_fn.call(null, a,b,c)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$4 = (function (a,b,c,d){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$4 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : self__.dispatch_fn.call(null, a,b,c,d)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$4 ? target_fn.cljs$core$IFn$_invoke$arity$4(a,b,c,d) : target_fn.call(null, a,b,c,d)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$5 = (function (a,b,c,d,e){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$5 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : self__.dispatch_fn.call(null, a,b,c,d,e)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$5 ? target_fn.cljs$core$IFn$_invoke$arity$5(a,b,c,d,e) : target_fn.call(null, a,b,c,d,e)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$6 = (function (a,b,c,d,e,f){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$6 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : self__.dispatch_fn.call(null, a,b,c,d,e,f)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$6 ? target_fn.cljs$core$IFn$_invoke$arity$6(a,b,c,d,e,f) : target_fn.call(null, a,b,c,d,e,f)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$7 = (function (a,b,c,d,e,f,g){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$7 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$7 ? target_fn.cljs$core$IFn$_invoke$arity$7(a,b,c,d,e,f,g) : target_fn.call(null, a,b,c,d,e,f,g)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$8 = (function (a,b,c,d,e,f,g,h){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$8 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$8 ? target_fn.cljs$core$IFn$_invoke$arity$8(a,b,c,d,e,f,g,h) : target_fn.call(null, a,b,c,d,e,f,g,h)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$9 = (function (a,b,c,d,e,f,g,h,i){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$9 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$9 ? target_fn.cljs$core$IFn$_invoke$arity$9(a,b,c,d,e,f,g,h,i) : target_fn.call(null, a,b,c,d,e,f,g,h,i)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$10 = (function (a,b,c,d,e,f,g,h,i,j){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$10 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$10 ? target_fn.cljs$core$IFn$_invoke$arity$10(a,b,c,d,e,f,g,h,i,j) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$11 = (function (a,b,c,d,e,f,g,h,i,j,k){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$11 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$11 ? target_fn.cljs$core$IFn$_invoke$arity$11(a,b,c,d,e,f,g,h,i,j,k) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$12 = (function (a,b,c,d,e,f,g,h,i,j,k,l){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$12 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$12 ? target_fn.cljs$core$IFn$_invoke$arity$12(a,b,c,d,e,f,g,h,i,j,k,l) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$13 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$13 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$13 ? target_fn.cljs$core$IFn$_invoke$arity$13(a,b,c,d,e,f,g,h,i,j,k,l,m) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$14 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$14 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$14 ? target_fn.cljs$core$IFn$_invoke$arity$14(a,b,c,d,e,f,g,h,i,j,k,l,m,n) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$15 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$15 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$15 ? target_fn.cljs$core$IFn$_invoke$arity$15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$16 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$16 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$16 ? target_fn.cljs$core$IFn$_invoke$arity$16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$17 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$17 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$17 ? target_fn.cljs$core$IFn$_invoke$arity$17(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$18 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$18 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$18 ? target_fn.cljs$core$IFn$_invoke$arity$18(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$19 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$19 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$19 ? target_fn.cljs$core$IFn$_invoke$arity$19(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$20 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){ +var self__ = this; +var mf = this; +var dispatch_val = (self__.dispatch_fn.cljs$core$IFn$_invoke$arity$20 ? self__.dispatch_fn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : self__.dispatch_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return (target_fn.cljs$core$IFn$_invoke$arity$20 ? target_fn.cljs$core$IFn$_invoke$arity$20(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) : target_fn.call(null, a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$21 = (function (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest){ +var self__ = this; +var mf = this; +var dispatch_val = cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(self__.dispatch_fn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); +var target_fn = mf.cljs$core$IMultiFn$_get_method$arity$2(null, dispatch_val); +if(cljs.core.truth_(target_fn)){ +} else { +cljs.core.throw_no_method_error(self__.name,dispatch_val); +} + +return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(target_fn,a,b,c,d,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,rest], 0)); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_prefer_method$arity$3 = (function (mf,dispatch_val_x,dispatch_val_y){ +var self__ = this; +var mf__$1 = this; +if(cljs.core.truth_(cljs.core.prefers_STAR_(dispatch_val_y,dispatch_val_x,self__.prefer_table))){ +throw (new Error(["Preference conflict in multimethod '",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.name),"': ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val_y)," is already preferred to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(dispatch_val_x)].join(''))); +} else { +} + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.prefer_table,(function (old){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(old,dispatch_val_x,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(old,dispatch_val_x,cljs.core.PersistentHashSet.EMPTY),dispatch_val_y)); +})); + +return cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_default_dispatch_val$arity$1 = (function (mf){ +var self__ = this; +var mf__$1 = this; +return self__.default_dispatch_val; +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_remove_method$arity$2 = (function (mf,dispatch_val){ +var self__ = this; +var mf__$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(self__.method_table,cljs.core.dissoc,dispatch_val); + +cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); + +return mf__$1; +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_methods$arity$1 = (function (mf){ +var self__ = this; +var mf__$1 = this; +return cljs.core.deref(self__.method_table); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_prefers$arity$1 = (function (mf){ +var self__ = this; +var mf__$1 = this; +return cljs.core.deref(self__.prefer_table); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_dispatch_fn$arity$1 = (function (mf){ +var self__ = this; +var mf__$1 = this; +return self__.dispatch_fn; +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_add_method$arity$3 = (function (mf,dispatch_val,method){ +var self__ = this; +var mf__$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(self__.method_table,cljs.core.assoc,dispatch_val,method); + +cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); + +return mf__$1; +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_reset$arity$1 = (function (mf){ +var self__ = this; +var mf__$1 = this; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.method_table,(function (mf__$2){ +return cljs.core.PersistentArrayMap.EMPTY; +})); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.method_cache,(function (mf__$2){ +return cljs.core.PersistentArrayMap.EMPTY; +})); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.prefer_table,(function (mf__$2){ +return cljs.core.PersistentArrayMap.EMPTY; +})); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(self__.cached_hierarchy,(function (mf__$2){ +return null; +})); + +return mf__$1; +})); + +(cljs.core.MultiFn.prototype.cljs$core$IMultiFn$_get_method$arity$2 = (function (mf,dispatch_val){ +var self__ = this; +var mf__$1 = this; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(self__.cached_hierarchy),cljs.core.deref(self__.hierarchy))){ +} else { +cljs.core.reset_cache(self__.method_cache,self__.method_table,self__.cached_hierarchy,self__.hierarchy); +} + +var temp__5821__auto__ = (function (){var fexpr__28042 = cljs.core.deref(self__.method_cache); +return (fexpr__28042.cljs$core$IFn$_invoke$arity$1 ? fexpr__28042.cljs$core$IFn$_invoke$arity$1(dispatch_val) : fexpr__28042.call(null, dispatch_val)); +})(); +if(cljs.core.truth_(temp__5821__auto__)){ +var target_fn = temp__5821__auto__; +return target_fn; +} else { +return cljs.core.find_and_cache_best_method(self__.name,dispatch_val,self__.hierarchy,self__.method_table,self__.prefer_table,self__.method_cache,self__.cached_hierarchy,self__.default_dispatch_val); +} +})); + +(cljs.core.MultiFn.prototype.cljs$core$INamed$_name$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return cljs.core._name(self__.name); +})); + +(cljs.core.MultiFn.prototype.cljs$core$INamed$_namespace$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return cljs.core._namespace(self__.name); +})); + +(cljs.core.MultiFn.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return goog.getUid(this$__$1); +})); + +(cljs.core.MultiFn.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"name","name",-810760592,null),new cljs.core.Symbol(null,"dispatch-fn","dispatch-fn",-1401088155,null),new cljs.core.Symbol(null,"default-dispatch-val","default-dispatch-val",-1231201266,null),new cljs.core.Symbol(null,"hierarchy","hierarchy",587061186,null),new cljs.core.Symbol(null,"method-table","method-table",-1878263165,null),new cljs.core.Symbol(null,"prefer-table","prefer-table",462168584,null),new cljs.core.Symbol(null,"method-cache","method-cache",1230193905,null),new cljs.core.Symbol(null,"cached-hierarchy","cached-hierarchy",-1085460203,null)], null); +})); + +(cljs.core.MultiFn.cljs$lang$type = true); + +(cljs.core.MultiFn.cljs$lang$ctorStr = "cljs.core/MultiFn"); + +(cljs.core.MultiFn.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/MultiFn"); +})); + +/** + * Positional factory function for cljs.core/MultiFn. + */ +cljs.core.__GT_MultiFn = (function cljs$core$__GT_MultiFn(name,dispatch_fn,default_dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy){ +return (new cljs.core.MultiFn(name,dispatch_fn,default_dispatch_val,hierarchy,method_table,prefer_table,method_cache,cached_hierarchy)); +}); + +/** + * Removes all of the methods of multimethod. + */ +cljs.core.remove_all_methods = (function cljs$core$remove_all_methods(multifn){ +return cljs.core._reset(multifn); +}); +/** + * Removes the method of multimethod associated with dispatch-value. + */ +cljs.core.remove_method = (function cljs$core$remove_method(multifn,dispatch_val){ +return cljs.core._remove_method(multifn,dispatch_val); +}); +/** + * Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y + * when there is a conflict + */ +cljs.core.prefer_method = (function cljs$core$prefer_method(multifn,dispatch_val_x,dispatch_val_y){ +return cljs.core._prefer_method(multifn,dispatch_val_x,dispatch_val_y); +}); +/** + * Given a multimethod, returns a map of dispatch values -> dispatch fns + */ +cljs.core.methods$ = (function cljs$core$methods(multifn){ +return cljs.core._methods(multifn); +}); +/** + * Given a multimethod and a dispatch value, returns the dispatch fn + * that would apply to that value, or nil if none apply and no default + */ +cljs.core.get_method = (function cljs$core$get_method(multifn,dispatch_val){ +return cljs.core._get_method(multifn,dispatch_val); +}); +/** + * Given a multimethod, returns a map of preferred value -> set of other values + */ +cljs.core.prefers = (function cljs$core$prefers(multifn){ +return cljs.core._prefers(multifn); +}); +/** + * Given a multimethod, return its default-dispatch-val. + */ +cljs.core.default_dispatch_val = (function cljs$core$default_dispatch_val(multifn){ +return cljs.core._default_dispatch_val(multifn); +}); +/** + * Given a multimethod, return its dispatch-fn. + */ +cljs.core.dispatch_fn = (function cljs$core$dispatch_fn(multifn){ +return cljs.core._dispatch_fn(multifn); +}); + +/** + * A marker protocol for UUIDs + * @interface + */ +cljs.core.IUUID = function(){}; + + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IComparable} + * @implements {cljs.core.IUUID} +*/ +cljs.core.UUID = (function (uuid,__hash){ +this.uuid = uuid; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2153775104; +this.cljs$lang$protocol_mask$partition1$ = 2048; +}); +(cljs.core.UUID.prototype.cljs$core$IUUID$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.UUID.prototype.toString = (function (){ +var self__ = this; +var _ = this; +return self__.uuid; +})); + +(cljs.core.UUID.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs.core.UUID.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ +var self__ = this; +var ___$1 = this; +var and__5043__auto__ = (((!((other == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === other.cljs$core$IUUID$))))?true:false):false); +if(and__5043__auto__){ +return (self__.uuid === other.uuid); +} else { +return and__5043__auto__; +} +})); + +(cljs.core.UUID.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (_,writer,___$1){ +var self__ = this; +var ___$2 = this; +return cljs.core._write(writer,["#uuid \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.uuid),"\""].join('')); +})); + +(cljs.core.UUID.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((self__.__hash == null)){ +(self__.__hash = cljs.core.hash(self__.uuid)); +} else { +} + +return self__.__hash; +})); + +(cljs.core.UUID.prototype.cljs$core$IComparable$_compare$arity$2 = (function (this$,other){ +var self__ = this; +var this$__$1 = this; +if((other instanceof cljs.core.UUID)){ +return cljs.core.goog$module$goog$array.defaultCompare(self__.uuid,other.uuid); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(other)].join(''))); +} +})); + +(cljs.core.UUID.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"uuid","uuid",-504564192,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.core.UUID.cljs$lang$type = true); + +(cljs.core.UUID.cljs$lang$ctorStr = "cljs.core/UUID"); + +(cljs.core.UUID.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/UUID"); +})); + +/** + * Positional factory function for cljs.core/UUID. + */ +cljs.core.__GT_UUID = (function cljs$core$__GT_UUID(uuid,__hash){ +return (new cljs.core.UUID(uuid,__hash)); +}); + +/** + * Returns a UUID consistent with the string s. + */ +cljs.core.uuid = (function cljs$core$uuid(s){ +if(typeof s === 'string'){ +} else { +throw (new Error("Assert failed: (string? s)")); +} + +return (new cljs.core.UUID(s.toLowerCase(),null)); +}); +/** + * Returns a pseudo-randomly generated UUID instance (i.e. type 4). + */ +cljs.core.random_uuid = (function cljs$core$random_uuid(){ +var hex = (function cljs$core$random_uuid_$_hex(){ +return cljs.core.rand_int((16)).toString((16)); +}); +var rhex = ((8) | ((3) & cljs.core.rand_int((16)))).toString((16)); +return cljs.core.uuid([cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-","4",cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(rhex),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),"-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex()),cljs.core.str.cljs$core$IFn$_invoke$arity$1(hex())].join('')); +}); +/** + * Return true if x is a UUID. + */ +cljs.core.uuid_QMARK_ = (function cljs$core$uuid_QMARK_(x){ +if((!((x == null)))){ +if(((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IUUID$)))){ +return true; +} else { +return false; +} +} else { +return false; +} +}); +cljs.core.pr_writer_ex_info = (function cljs$core$pr_writer_ex_info(obj,writer,opts){ +cljs.core._write(writer,"#error {:message "); + +cljs.core.pr_writer(obj.message,writer,opts); + +if(cljs.core.truth_(obj.data)){ +cljs.core._write(writer,", :data "); + +cljs.core.pr_writer(obj.data,writer,opts); +} else { +} + +if(cljs.core.truth_(obj.cause)){ +cljs.core._write(writer,", :cause "); + +cljs.core.pr_writer(obj.cause,writer,opts); +} else { +} + +return cljs.core._write(writer,"}"); +}); +/** + * @constructor + */ +cljs.core.ExceptionInfo = (function cljs$core$ExceptionInfo(message,data,cause){ +var e = (new Error(message)); +var this$ = this; +(this$.message = message); + +(this$.data = data); + +(this$.cause = cause); + +(this$.name = e.name); + +(this$.description = e.description); + +(this$.number = e.number); + +(this$.fileName = e.fileName); + +(this$.lineNumber = e.lineNumber); + +(this$.columnNumber = e.columnNumber); + +(this$.stack = e.stack); + +return this$; +}); +(cljs.core.ExceptionInfo.prototype.__proto__ = Error.prototype); +(cljs.core.ExceptionInfo.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.ExceptionInfo.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (obj,writer,opts){ +var obj__$1 = this; +return cljs.core.pr_writer_ex_info(obj__$1,writer,opts); +})); +(cljs.core.ExceptionInfo.prototype.toString = (function (){ +var this$ = this; +return cljs.core.pr_str_STAR_(this$); +})); +/** + * Create an instance of ExceptionInfo, an Error type that carries a + * map of additional data. + */ +cljs.core.ex_info = (function cljs$core$ex_info(var_args){ +var G__28046 = arguments.length; +switch (G__28046) { +case 2: +return cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2 = (function (msg,data){ +return cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3(msg,data,null); +})); + +(cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 = (function (msg,data,cause){ +return (new cljs.core.ExceptionInfo(msg,data,cause)); +})); + +(cljs.core.ex_info.cljs$lang$maxFixedArity = 3); + +/** + * Returns exception data (a map) if ex is an ExceptionInfo. + * Otherwise returns nil. + */ +cljs.core.ex_data = (function cljs$core$ex_data(ex){ +if((ex instanceof cljs.core.ExceptionInfo)){ +return ex.data; +} else { +return null; +} +}); +/** + * Returns the message attached to the given Error / ExceptionInfo object. + * For non-Errors returns nil. + */ +cljs.core.ex_message = (function cljs$core$ex_message(ex){ +if((ex instanceof Error)){ +return ex.message; +} else { +return null; +} +}); +/** + * Returns exception cause (an Error / ExceptionInfo) if ex is an + * ExceptionInfo. + * Otherwise returns nil. + */ +cljs.core.ex_cause = (function cljs$core$ex_cause(ex){ +if((ex instanceof cljs.core.ExceptionInfo)){ +return ex.cause; +} else { +return null; +} +}); +/** + * Returns an JavaScript compatible comparator based upon pred. + */ +cljs.core.comparator = (function cljs$core$comparator(pred){ +return (function (x,y){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$2 ? pred.cljs$core$IFn$_invoke$arity$2(x,y) : pred.call(null, x,y)))){ +return (-1); +} else { +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$2 ? pred.cljs$core$IFn$_invoke$arity$2(y,x) : pred.call(null, y,x)))){ +return (1); +} else { +return (0); + +} +} +}); +}); +/** + * Returns true if x names a special form + */ +cljs.core.special_symbol_QMARK_ = (function cljs$core$special_symbol_QMARK_(x){ +return cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 24, [new cljs.core.Symbol(null,"&","&",-2144855648,null),"null",new cljs.core.Symbol(null,"case*","case*",-1938255072,null),"null",new cljs.core.Symbol(null,"defrecord*","defrecord*",-1936366207,null),"null",new cljs.core.Symbol(null,"try","try",-1273693247,null),"null",new cljs.core.Symbol(null,"ns*","ns*",1840949383,null),"null",new cljs.core.Symbol(null,"finally","finally",-1065347064,null),"null",new cljs.core.Symbol(null,"loop*","loop*",615029416,null),"null",new cljs.core.Symbol(null,"do","do",1686842252,null),"null",new cljs.core.Symbol(null,"letfn*","letfn*",-110097810,null),"null",new cljs.core.Symbol(null,"if","if",1181717262,null),"null",new cljs.core.Symbol(null,"new","new",-444906321,null),"null",new cljs.core.Symbol(null,"ns","ns",2082130287,null),"null",new cljs.core.Symbol(null,"deftype*","deftype*",962659890,null),"null",new cljs.core.Symbol(null,"let*","let*",1920721458,null),"null",new cljs.core.Symbol(null,"js*","js*",-1134233646,null),"null",new cljs.core.Symbol(null,"fn*","fn*",-752876845,null),"null",new cljs.core.Symbol(null,"recur","recur",1202958259,null),"null",new cljs.core.Symbol(null,"set!","set!",250714521,null),"null",new cljs.core.Symbol(null,".",".",1975675962,null),"null",new cljs.core.Symbol(null,"var","var",870848730,null),"null",new cljs.core.Symbol(null,"quote","quote",1377916282,null),"null",new cljs.core.Symbol(null,"catch","catch",-1616370245,null),"null",new cljs.core.Symbol(null,"throw","throw",595905694,null),"null",new cljs.core.Symbol(null,"def","def",597100991,null),"null"], null), null),x); +}); +/** + * test [v] finds fn at key :test in var metadata and calls it, + * presuming failure will throw exception + */ +cljs.core.test = (function cljs$core$test(v){ +var f = v.cljs$lang$test; +if(cljs.core.truth_(f)){ +(f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); + +return new cljs.core.Keyword(null,"ok","ok",967785236); +} else { +return new cljs.core.Keyword(null,"no-test","no-test",-1679482642); +} +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.ILookup} +*/ +cljs.core.TaggedLiteral = (function (tag,form){ +this.tag = tag; +this.form = form; +this.cljs$lang$protocol_mask$partition0$ = 2153775360; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.TaggedLiteral.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs.core.TaggedLiteral.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var self__ = this; +var this$__$1 = this; +return (((other instanceof cljs.core.TaggedLiteral)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(self__.tag,other.tag)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(self__.form,other.form))))); +})); + +(cljs.core.TaggedLiteral.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return (((31) * cljs.core.hash(self__.tag)) + cljs.core.hash(self__.form)); +})); + +(cljs.core.TaggedLiteral.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this$,v){ +var self__ = this; +var this$__$1 = this; +return this$__$1.cljs$core$ILookup$_lookup$arity$3(null, v,null); +})); + +(cljs.core.TaggedLiteral.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this$,v,not_found){ +var self__ = this; +var this$__$1 = this; +var G__28047 = v; +var G__28047__$1 = (((G__28047 instanceof cljs.core.Keyword))?G__28047.fqn:null); +switch (G__28047__$1) { +case "tag": +return self__.tag; + +break; +case "form": +return self__.form; + +break; +default: +return not_found; + +} +})); + +(cljs.core.TaggedLiteral.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (o,writer,opts){ +var self__ = this; +var o__$1 = this; +cljs.core._write(writer,["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.tag)," "].join('')); + +return cljs.core.pr_writer(self__.form,writer,opts); +})); + +(cljs.core.TaggedLiteral.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"tag","tag",350170304,null),new cljs.core.Symbol(null,"form","form",16469056,null)], null); +})); + +(cljs.core.TaggedLiteral.cljs$lang$type = true); + +(cljs.core.TaggedLiteral.cljs$lang$ctorStr = "cljs.core/TaggedLiteral"); + +(cljs.core.TaggedLiteral.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/TaggedLiteral"); +})); + +/** + * Positional factory function for cljs.core/TaggedLiteral. + */ +cljs.core.__GT_TaggedLiteral = (function cljs$core$__GT_TaggedLiteral(tag,form){ +return (new cljs.core.TaggedLiteral(tag,form)); +}); + +/** + * Return true if the value is the data representation of a tagged literal + */ +cljs.core.tagged_literal_QMARK_ = (function cljs$core$tagged_literal_QMARK_(value){ +return (value instanceof cljs.core.TaggedLiteral); +}); +/** + * Construct a data representation of a tagged literal from a + * tag symbol and a form. + */ +cljs.core.tagged_literal = (function cljs$core$tagged_literal(tag,form){ +if((tag instanceof cljs.core.Symbol)){ +} else { +throw (new Error("Assert failed: (symbol? tag)")); +} + +return (new cljs.core.TaggedLiteral(tag,form)); +}); +/** + * @type {*} + */ +cljs.core.js_reserved_arr = ["arguments","abstract","await","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","export","extends","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","native","new","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","try","typeof","var","void","volatile","while","with","yield","methods","null","constructor"]; +/** + * @type {null|Object} + */ +cljs.core.js_reserved = null; +cljs.core.js_reserved_QMARK_ = (function cljs$core$js_reserved_QMARK_(x){ +if((cljs.core.js_reserved == null)){ +(cljs.core.js_reserved = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__28048_SHARP_,p2__28049_SHARP_){ +cljs.core.goog$module$goog$object.set(p1__28048_SHARP_,p2__28049_SHARP_,true); + +return p1__28048_SHARP_; +}),({}),cljs.core.js_reserved_arr)); +} else { +} + +return cljs.core.js_reserved.hasOwnProperty(x); +}); +cljs.core.demunge_pattern = (function cljs$core$demunge_pattern(){ +if(cljs.core.truth_(cljs.core.DEMUNGE_PATTERN)){ +} else { +(cljs.core.DEMUNGE_PATTERN = (function (){var ks = cljs.core.sort.cljs$core$IFn$_invoke$arity$2((function (a,b){ +return (b.length - a.length); +}),cljs.core.js_keys(cljs.core.DEMUNGE_MAP)); +var ks__$1 = ks; +var ret = ""; +while(true){ +if(cljs.core.seq(ks__$1)){ +var G__35150 = cljs.core.next(ks__$1); +var G__35151 = [(function (){var G__28053 = ret; +if((!((ret === "")))){ +return [G__28053,"|"].join(''); +} else { +return G__28053; +} +})(),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(ks__$1))].join(''); +ks__$1 = G__35150; +ret = G__35151; +continue; +} else { +return [ret,"|\\$"].join(''); +} +break; +} +})()); +} + +return cljs.core.DEMUNGE_PATTERN; +}); +cljs.core.munge_str = (function cljs$core$munge_str(name){ +var sb = (new goog.string.StringBuffer()); +var i_35152 = (0); +while(true){ +if((i_35152 < name.length)){ +var c_35153 = name.charAt(i_35152); +var sub_35154 = cljs.core.goog$module$goog$object.get(cljs.core.CHAR_MAP,c_35153); +if((!((sub_35154 == null)))){ +sb.append(sub_35154); +} else { +sb.append(c_35153); +} + +var G__35159 = (i_35152 + (1)); +i_35152 = G__35159; +continue; +} else { +} +break; +} + +return sb.toString(); +}); +cljs.core.munge = (function cljs$core$munge(name){ +var name_SINGLEQUOTE_ = cljs.core.munge_str(cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)); +var name_SINGLEQUOTE___$1 = (((name_SINGLEQUOTE_ === ".."))?"_DOT__DOT_":(cljs.core.truth_(cljs.core.js_reserved_QMARK_(name_SINGLEQUOTE_))?[name_SINGLEQUOTE_,"$"].join(''):name_SINGLEQUOTE_ +)); +if((name instanceof cljs.core.Symbol)){ +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(name_SINGLEQUOTE___$1); +} else { +return name_SINGLEQUOTE___$1; +} +}); +cljs.core.demunge_str = (function cljs$core$demunge_str(munged_name){ +var r = (new RegExp(cljs.core.demunge_pattern(),"g")); +var munged_name__$1 = (cljs.core.truth_(goog.string.endsWith(munged_name,"$"))?munged_name.substring((0),(munged_name.length - (1))):munged_name); +var ret = ""; +var last_match_end = (0); +while(true){ +var temp__5821__auto__ = r.exec(munged_name__$1); +if(cljs.core.truth_(temp__5821__auto__)){ +var match = temp__5821__auto__; +var vec__28057 = match; +var x = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28057,(0),null); +var G__35170 = [ret,cljs.core.str.cljs$core$IFn$_invoke$arity$1(munged_name__$1.substring(last_match_end,(r.lastIndex - x.length))),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((x === "$"))?"/":cljs.core.goog$module$goog$object.get(cljs.core.DEMUNGE_MAP,x)))].join(''); +var G__35171 = r.lastIndex; +ret = G__35170; +last_match_end = G__35171; +continue; +} else { +return [ret,cljs.core.str.cljs$core$IFn$_invoke$arity$1(munged_name__$1.substring(last_match_end,munged_name__$1.length))].join(''); +} +break; +} +}); +cljs.core.demunge = (function cljs$core$demunge(name){ +var G__28061 = (function (){var name_SINGLEQUOTE_ = cljs.core.str.cljs$core$IFn$_invoke$arity$1(name); +if((name_SINGLEQUOTE_ === "_DOT__DOT_")){ +return ".."; +} else { +return cljs.core.demunge_str(name_SINGLEQUOTE_); +} +})(); +var fexpr__28060 = (((name instanceof cljs.core.Symbol))?cljs.core.symbol:cljs.core.str); +return (fexpr__28060.cljs$core$IFn$_invoke$arity$1 ? fexpr__28060.cljs$core$IFn$_invoke$arity$1(G__28061) : fexpr__28060.call(null, G__28061)); +}); +if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.tapset !== 'undefined')){ +} else { +/** + * @type {*} + */ +cljs.core.tapset = null; +} +cljs.core.maybe_init_tapset = (function cljs$core$maybe_init_tapset(){ +if((cljs.core.tapset == null)){ +return (cljs.core.tapset = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentHashSet.EMPTY)); +} else { +return null; +} +}); +/** + * Adds f, a fn of one argument, to the tap set. This function will be called with + * anything sent via tap>. Remember f in order to remove-tap + */ +cljs.core.add_tap = (function cljs$core$add_tap(f){ +cljs.core.maybe_init_tapset(); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs.core.tapset,cljs.core.conj,f); + +return null; +}); +/** + * Remove f from the tap set. + */ +cljs.core.remove_tap = (function cljs$core$remove_tap(f){ +cljs.core.maybe_init_tapset(); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs.core.tapset,cljs.core.disj,f); + +return null; +}); +/** + * Sends x to any taps. Returns the result of *exec-tap-fn*, a Boolean value. + */ +cljs.core.tap_GT_ = (function cljs$core$tap_GT_(x){ +cljs.core.maybe_init_tapset(); + +return cljs.core._STAR_exec_tap_fn_STAR_.call(null, (function (){ +var seq__28062 = cljs.core.seq(cljs.core.deref(cljs.core.tapset)); +var chunk__28063 = null; +var count__28064 = (0); +var i__28065 = (0); +while(true){ +if((i__28065 < count__28064)){ +var tap = chunk__28063.cljs$core$IIndexed$_nth$arity$2(null, i__28065); +try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null, x)); +}catch (e28068){if((e28068 instanceof Error)){ +var ex_35204 = e28068; +} else { +throw e28068; + +} +} + +var G__35205 = seq__28062; +var G__35206 = chunk__28063; +var G__35207 = count__28064; +var G__35208 = (i__28065 + (1)); +seq__28062 = G__35205; +chunk__28063 = G__35206; +count__28064 = G__35207; +i__28065 = G__35208; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__28062); +if(temp__5823__auto__){ +var seq__28062__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__28062__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__28062__$1); +var G__35213 = cljs.core.chunk_rest(seq__28062__$1); +var G__35214 = c__5568__auto__; +var G__35215 = cljs.core.count(c__5568__auto__); +var G__35216 = (0); +seq__28062 = G__35213; +chunk__28063 = G__35214; +count__28064 = G__35215; +i__28065 = G__35216; +continue; +} else { +var tap = cljs.core.first(seq__28062__$1); +try{(tap.cljs$core$IFn$_invoke$arity$1 ? tap.cljs$core$IFn$_invoke$arity$1(x) : tap.call(null, x)); +}catch (e28069){if((e28069 instanceof Error)){ +var ex_35217 = e28069; +} else { +throw e28069; + +} +} + +var G__35218 = cljs.core.next(seq__28062__$1); +var G__35219 = null; +var G__35220 = (0); +var G__35221 = (0); +seq__28062 = G__35218; +chunk__28063 = G__35219; +count__28064 = G__35220; +i__28065 = G__35221; +continue; +} +} else { +return null; +} +} +break; +} +})); +}); +/** + * m f => {k (f v) ...} + * Given a map m and a function f of 1-argument, returns a new map where the keys of m + * are mapped to result of applying f to the corresponding values of m. + */ +cljs.core.update_vals = (function cljs$core$update_vals(m,f){ +return cljs.core.with_meta(cljs.core.persistent_BANG_(cljs.core.reduce_kv((function (acc,k,v){ +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(acc,k,(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(v) : f.call(null, v))); +}),(((((!((m == null))))?(((((m.cljs$lang$protocol_mask$partition1$ & (4))) || ((cljs.core.PROTOCOL_SENTINEL === m.cljs$core$IEditableCollection$))))?true:false):false))?cljs.core.transient$(m):cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY)),m)),cljs.core.meta(m)); +}); +/** + * m f => {(f k) v ...} + * Given a map m and a function f of 1-argument, returns a new map whose + * keys are the result of applying f to the keys of m, mapped to the + * corresponding values of m. + * f must return a unique key for each key of m, else the behavior is undefined. + */ +cljs.core.update_keys = (function cljs$core$update_keys(m,f){ +var ret = cljs.core.persistent_BANG_(cljs.core.reduce_kv((function (acc,k,v){ +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(acc,(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(k) : f.call(null, k)),v); +}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),m)); +return cljs.core.with_meta(ret,cljs.core.meta(m)); +}); +/** + * Bootstrap only. + */ +cljs.core.ns_lookup = (function cljs$core$ns_lookup(ns_obj,k){ +return (function (){ +return cljs.core.goog$module$goog$object.get(ns_obj,k); +}); +}); + +/** +* @constructor + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} +*/ +cljs.core.Namespace = (function (obj,name){ +this.obj = obj; +this.name = name; +this.cljs$lang$protocol_mask$partition0$ = 6291456; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.core.Namespace.prototype.findInternedVar = (function (sym){ +var self__ = this; +var this$ = this; +var k = cljs.core.munge(cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)); +if(cljs.core.goog$module$goog$object.containsKey(self__.obj,k)){ +var var_sym = cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.name),cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym)); +var var_meta = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"ns","ns",441598760),this$], null); +return (new cljs.core.Var(cljs.core.ns_lookup(self__.obj,k),var_sym,var_meta)); +} else { +return null; +} +})); + +(cljs.core.Namespace.prototype.getName = (function (){ +var self__ = this; +var _ = this; +return self__.name; +})); + +(cljs.core.Namespace.prototype.toString = (function (){ +var self__ = this; +var _ = this; +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.name); +})); + +(cljs.core.Namespace.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (_,other){ +var self__ = this; +var ___$1 = this; +if((other instanceof cljs.core.Namespace)){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(self__.name,other.name); +} else { +return false; +} +})); + +(cljs.core.Namespace.prototype.cljs$core$IHash$_hash$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.hash(self__.name); +})); + +(cljs.core.Namespace.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"obj","obj",-1672671807,null),new cljs.core.Symbol(null,"name","name",-810760592,null)], null); +})); + +(cljs.core.Namespace.cljs$lang$type = true); + +(cljs.core.Namespace.cljs$lang$ctorStr = "cljs.core/Namespace"); + +(cljs.core.Namespace.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.core/Namespace"); +})); + +/** + * Positional factory function for cljs.core/Namespace. + */ +cljs.core.__GT_Namespace = (function cljs$core$__GT_Namespace(obj,name){ +return (new cljs.core.Namespace(obj,name)); +}); + +/** + * Bootstrap only. + * @type {*} + */ +cljs.core.NS_CACHE = null; +/** + * Bootstrap only. + */ +cljs.core.find_ns_obj_STAR_ = (function cljs$core$find_ns_obj_STAR_(ctxt,xs){ +while(true){ +if((ctxt == null)){ +return null; +} else { +if((xs == null)){ +return ctxt; +} else { +var G__35265 = cljs.core.goog$module$goog$object.get(ctxt,cljs.core.first(xs)); +var G__35266 = cljs.core.next(xs); +ctxt = G__35265; +xs = G__35266; +continue; + +} +} +break; +} +}); +/** + * Bootstrap only. + */ +cljs.core.find_ns_obj = (function cljs$core$find_ns_obj(ns){ +var munged_ns = cljs.core.munge(cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns)); +var segs = munged_ns.split("."); +var G__28071 = cljs.core._STAR_target_STAR_; +switch (G__28071) { +case "nodejs": +if(COMPILED){ +return cljs.core.find_ns_obj_STAR_((function (){try{var ctxt = eval(cljs.core.first(segs)); +if(cljs.core.truth_((function (){var and__5043__auto__ = ctxt; +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.object_QMARK_(ctxt); +} else { +return and__5043__auto__; +} +})())){ +return ctxt; +} else { +return null; +} +}catch (e28072){if((e28072 instanceof ReferenceError)){ +var e = e28072; +return null; +} else { +throw e28072; + +} +}})(),cljs.core.next(segs)); +} else { +return cljs.core.find_ns_obj_STAR_(goog.global,segs); +} + +break; +case "default": +case "webworker": +return cljs.core.find_ns_obj_STAR_(goog.global,segs); + +break; +default: +throw (new Error(["find-ns-obj not supported for target ",cljs.core._STAR_target_STAR_].join(''))); + +} +}); +/** + * Returns a map of the intern mappings for the namespace. + * Bootstrap only. + */ +cljs.core.ns_interns_STAR_ = (function cljs$core$ns_interns_STAR_(sym){ +var ns_obj = cljs.core.find_ns_obj(sym); +var ns = (new cljs.core.Namespace(ns_obj,sym)); +var step = (function cljs$core$ns_interns_STAR__$_step(ret,k){ +var var_sym = cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(cljs.core.demunge(k)); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,var_sym,(new cljs.core.Var((function (){ +return cljs.core.goog$module$goog$object.get(ns_obj,k); +}),cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(cljs.core.str.cljs$core$IFn$_invoke$arity$1(sym),cljs.core.str.cljs$core$IFn$_invoke$arity$1(var_sym)),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"ns","ns",441598760),ns], null)))); +}); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(step,cljs.core.PersistentArrayMap.EMPTY,cljs.core.js_keys(ns_obj)); +}); +/** + * Create a new namespace named by the symbol. Bootstrap only. + */ +cljs.core.create_ns = (function cljs$core$create_ns(var_args){ +var G__28074 = arguments.length; +switch (G__28074) { +case 1: +return cljs.core.create_ns.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.core.create_ns.cljs$core$IFn$_invoke$arity$1 = (function (sym){ +return cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2(sym,cljs.core.find_ns_obj(sym)); +})); + +(cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2 = (function (sym,ns_obj){ +return (new cljs.core.Namespace(ns_obj,sym)); +})); + +(cljs.core.create_ns.cljs$lang$maxFixedArity = 2); + +/** + * Returns the namespace named by the symbol or nil if it doesn't exist. + * Bootstrap only. + */ +cljs.core.find_ns = (function cljs$core$find_ns(ns){ +if((cljs.core.NS_CACHE == null)){ +(cljs.core.NS_CACHE = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY)); +} else { +} + +var the_ns = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.NS_CACHE),ns); +if((!((the_ns == null)))){ +return the_ns; +} else { +var ns_obj = cljs.core.find_ns_obj(ns); +if((ns_obj == null)){ +return null; +} else { +var new_ns = cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2(ns,ns_obj); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.NS_CACHE,cljs.core.assoc,ns,new_ns); + +return new_ns; +} +} +}); +/** + * Returns the macros namespace named by the symbol or nil if it doesn't exist. + * Bootstrap only. + */ +cljs.core.find_macros_ns = (function cljs$core$find_macros_ns(ns){ +if((cljs.core.NS_CACHE == null)){ +(cljs.core.NS_CACHE = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY)); +} else { +} + +var ns_str = cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns); +var ns__$1 = (((!(goog.string.contains(ns_str,"$macros"))))?cljs.core.symbol.cljs$core$IFn$_invoke$arity$1([ns_str,"$macros"].join('')):ns); +var the_ns = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.core.NS_CACHE),ns__$1); +if((!((the_ns == null)))){ +return the_ns; +} else { +var ns_obj = cljs.core.find_ns_obj(ns__$1); +if((ns_obj == null)){ +return null; +} else { +var new_ns = cljs.core.create_ns.cljs$core$IFn$_invoke$arity$2(ns__$1,ns_obj); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.NS_CACHE,cljs.core.assoc,ns__$1,new_ns); + +return new_ns; +} +} +}); +/** + * Returns the name of the namespace, a Namespace object. + * Bootstrap only. + */ +cljs.core.ns_name = (function cljs$core$ns_name(ns_obj){ +return ns_obj.name; +}); +/** + * Returns true x is a goog.Uri instance. + */ +cljs.core.uri_QMARK_ = (function cljs$core$uri_QMARK_(x){ +return (x instanceof goog.Uri); +}); +/** + * Returns true if num is NaN, else false + */ +cljs.core.NaN_QMARK_ = (function cljs$core$NaN_QMARK_(val){ +return isNaN(val); +}); +/** + * Construct message for parsing for non-string parsing error + */ +cljs.core.parsing_err = (function cljs$core$parsing_err(val){ +return ["Expected string, got: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((((val == null))?"nil":goog.typeOf(val)))].join(''); +}); +/** + * Parse string of decimal digits with optional leading -/+ and return an + * integer value, or nil if parse fails + */ +cljs.core.parse_long = (function cljs$core$parse_long(s){ +if(typeof s === 'string'){ +var and__5043__auto__ = cljs.core.re_matches(/[+-]?\d+/,s); +if(cljs.core.truth_(and__5043__auto__)){ +var i = parseInt(s); +if((((i <= Number.MAX_SAFE_INTEGER)) && ((i >= Number.MIN_SAFE_INTEGER)))){ +return i; +} else { +return null; +} +} else { +return and__5043__auto__; +} +} else { +throw (new Error(cljs.core.parsing_err(s))); +} +}); +/** + * Parse string with floating point components and return a floating point value, + * or nil if parse fails. + * Grammar: https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html#valueOf-java.lang.String- + */ +cljs.core.parse_double = (function cljs$core$parse_double(s){ +if(typeof s === 'string'){ +if(cljs.core.re_matches(/[\x00-\x20]*[+-]?NaN[\x00-\x20]*/,s)){ +return NaN; +} else { +if(cljs.core.re_matches(/[\x00-\x20]*[+-]?(Infinity|((\d+\.?\d*|\.\d+)([eE][+-]?\d+)?)[dDfF]?)[\x00-\x20]*/,s)){ +return parseFloat(s); +} else { +return null; + +} +} +} else { +throw (new Error(cljs.core.parsing_err(s))); +} +}); +cljs.core.uuid_regex = /^[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]$/; +/** + * Parse a string representing a UUID and return a UUID instance, + * or nil if parse fails. + * Grammar: https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html#toString-- + */ +cljs.core.parse_uuid = (function cljs$core$parse_uuid(s){ +if(typeof s === 'string'){ +if(cljs.core.re_matches(cljs.core.uuid_regex,s)){ +return cljs.core.uuid(s); +} else { +return null; +} +} else { +throw (new Error(cljs.core.parsing_err(s))); +} +}); +/** + * Parse strings "true" or "false" and return a boolean, or nil if invalid. Note that this explicitly + * excludes strings with different cases, or space characters. + */ +cljs.core.parse_boolean = (function cljs$core$parse_boolean(s){ +if(typeof s === 'string'){ +var G__28075 = s; +switch (G__28075) { +case "true": +return true; + +break; +case "false": +return false; + +break; +default: +return null; + +} +} else { +throw (new Error(cljs.core.parsing_err(s))); +} +}); +cljs.core.maybe_enable_print_BANG_ = (function cljs$core$maybe_enable_print_BANG_(){ +if((typeof console !== 'undefined')){ +return cljs.core.enable_console_print_BANG_(); +} else { +if((((cljs.core._STAR_target_STAR_ === "nashorn")) || ((cljs.core._STAR_target_STAR_ === "graaljs")))){ +var system = Java.type("java.lang.System"); +(cljs.core._STAR_print_newline_STAR_ = false); + +cljs.core.set_print_fn_BANG_((function (){ +var xs = arguments; +var s = cljs.core.goog$module$goog$array.clone(xs).join(""); +return system.out.println(s); +})); + +return cljs.core.set_print_err_fn_BANG_((function (){ +var xs = arguments; +var s = cljs.core.goog$module$goog$array.clone(xs).join(""); +return system.error.println(s); +})); +} else { +return null; +} +} +}); +cljs.core.maybe_enable_print_BANG_(); +if((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core._STAR_eval_STAR_ !== 'undefined')){ +} else { +/** + * Runtime environments may provide a way to evaluate ClojureScript + * forms. Whatever function *eval* is bound to will be passed any forms which + * should be evaluated. + */ +cljs.core._STAR_eval_STAR_ = (function cljs$core$_STAR_eval_STAR_(_){ +throw (new Error("cljs.core/*eval* not bound")); +}); +} +/** + * Evaluates the form data structure (not text!) and returns the result. + * Delegates to cljs.core/*eval*. Intended for use in self-hosted ClojureScript, + * which sets up an implementation of cljs.core/*eval* for that environment. + */ +cljs.core.eval = (function cljs$core$eval(form){ +return cljs.core._STAR_eval_STAR_.call(null, form); +}); +if(COMPILED){ +if(("nodejs" === cljs.core._STAR_target_STAR_)){ +(goog.global = global); +} else { +} + +if(("window" === cljs.core._STAR_global_STAR_)){ +(goog.global = window); +} else { +if(("self" === cljs.core._STAR_global_STAR_)){ +(goog.global = self); +} else { +if(("global" === cljs.core._STAR_global_STAR_)){ +(goog.global = global); +} else { +} +} +} +} else { +} + +cljs.core.enable_console_print_BANG_(); + +//# sourceMappingURL=cljs.core.js.map diff --git a/out/cljs-runtime/cljs.core.js.map b/out/cljs-runtime/cljs.core.js.map new file mode 100644 index 0000000..4ad2552 --- /dev/null +++ b/out/cljs-runtime/cljs.core.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/core.cljs"],"mappings":";;;;;;AAkBA,8CAAA,9CAAKA;AAOL,qCAAA,rCAAKC;AAIL,yCAAA,zCAAKC;AAGL,sCAAA,tCAAKC;AAEL,AAEA,GAAA,QAAAC,iCAAAC,sCAAAC;AAAA;AAAA,AAAA,8BAAA,9BAASC;;AAET,wBAAA,xBAAKC;AACL,yBAAA,zBAAKC;AAEL;;;;;;;+BAAA,AAAAC,YAAA,+BAAA,1EAMEC;AAEF;;;;;+BAAA,AAAAD,YAAA,+BAAA,1EAIEE;AAEF;;;;2BAAA,3BAIEC;AAEF;;;4BAAA,5BAGEC;AAEF,+BAAA,/BAEEC;AAEF,GAAA,QAAAX,iCAAAC,sCAAAW;AAAA;AAAA,AAAA;;;;;iCAAA,jCAIEC;;AAEF,AAAA,AAEA;;;;oCAAA,pCAEEC,gFACCC;AAHH,AAIE,IAAAC,oBACE,QAAAC;AADF,AAAA,GAAAD;AAGE,IAAAE,WAAS,aAAA,bAACD,WAAcF;AAAxB,AAAA,4GAAAG,0CAAAA,9IAACC,mDAAAA,6DAAAA;;AAHHH;;;AAKF,GAAA,QAAAhB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escript-version*","cljs.core/*unchecked-if*","cljs.core/*unchecked-arrays*","cljs.core/*warn-on-infer*","js/cljs","js/cljs.core","js/cljs.core.PROTOCOL_SENTINEL","cljs.core/PROTOCOL_SENTINEL","cljs.core/MODULE_URIS","cljs.core/MODULE_INFOS","js/goog.define","cljs.core/*target*","cljs.core/*global*","cljs.core/*ns*","cljs.core/*out*","cljs.core/*assert*","js/cljs.core.*print-fn*","cljs.core/*print-fn*","cljs.core/*exec-tap-fn*","f","and__5043__auto__","js/setTimeout","G__26606","cljs.core/boolean","js/cljs.core.*print-err-fn*","cljs.core/*print-err-fn*","cljs.core/set-print-fn!","cljs.core/set-print-err-fn!","cljs.core/*flush-on-newline*","cljs.core/*print-newline*","cljs.core/*print-readably*","cljs.core/*print-meta*","cljs.core/*print-dup*","cljs.core/*print-namespace-maps*","cljs.core/*print-length*","cljs.core/*print-level*","cljs.core/*print-fn-bodies*","js/cljs.core.*loaded-libs*","cljs.core/*loaded-libs*","cljs.core/pr-opts","cljs.core/enable-console-print!","xs","js/console","cljs.core.goog$module$goog$array.clone","cljs.core/truth_","x","cljs.core/not-native","cljs.core/identical?","y","cljs.core/nil?","cljs.core/array?","js/Array","cljs.core/number?","cljs.core/not","cljs.core/some?","cljs.core/object?","js/Object","cljs.core/string?","goog/typeOf","cljs.core/char?","cljs.core/any?","cljs.core/native-satisfies?","p","cljs.core/is_proto_","cljs.core/*main-cli-fn*","cljs.core/*command-line-args*","cljs.core/type","cljs.core/missing-protocol","proto","obj","ty","js/Error","cljs.core/type->str","temp__5821__auto__","s","cljs.core/load-file","file","js/COMPILED","goog/nodeGlobalRequire","js/Symbol","cljs.core/ITER_SYMBOL","cljs.core/CHAR_MAP","cljs.core/DEMUNGE_MAP","cljs.core/DEMUNGE_PATTERN","cljs.core/system-time","js/performance","js/process","t","js/Date","var_args","G__26611","cljs.core/make-array","args-arr__5794__auto__","len__5769__auto__","i__5770__auto__","argseq__5795__auto__","cljs.core/IndexedSeq","seq26608","G__26609","cljs.core/first","cljs.core/next","G__26610","self__5754__auto__","size","type","more-sizes","dims","dimarray","n__5636__auto__","i","cljs.core/apply","cljs.core/aclone","arr","len","new-arr","cljs.core/array","var-args","a","cljs.core/maybe-warn","e","G__26616","cljs.core/checked-aget","seq26613","G__26614","G__26615","array","idx","e26617","or__5045__auto__","goog/isArrayLike","idxs","G__26618","G__26619","G__26620","cljs.core.checked_aget","G__26626","cljs.core/checked-aset","seq26622","G__26623","G__26624","G__26625","val","e26627","idx2","idxv","G__26628","G__26629","G__26630","G__26631","G__26636","cljs.core/checked-aget'","seq26633","G__26634","G__26635","G__26637","G__26638","G__26639","cljs.core.checked_aget_SINGLEQUOTE_","G__26645","cljs.core/checked-aset'","seq26641","G__26642","G__26643","G__26644","G__26646","G__26647","G__26648","G__26649","G__26654","cljs.core/aget","seq26651","G__26652","G__26653","G__26655","G__26656","G__26657","G__26663","cljs.core/aset","seq26659","G__26660","G__26661","G__26662","G__26664","G__26665","G__26666","G__26667","cljs.core/alength","G__26669","cljs.core/into-array","aseq","cljs.core.into_array","G__26670","G__26671","G__26672","cljs.core/reduce","args__5775__auto__","argseq__5776__auto__","cljs.core/js-invoke","seq26673","G__26674","G__26675","args","cljs.core/js-symbol?","cljs.core/Fn","cljs$core$IFn$_invoke$dyn","x__5393__auto__","m__5394__auto__","cljs.core/-invoke","m__5392__auto__","G__26677","cljs.core/IFn","this","b","c","d","g","h","j","k","l","m","n","o","q","r","rest","cljs$core$ICloneable$_clone$dyn","cljs.core/-clone","cljs.core/ICloneable","value","cljs$core$ICounted$_count$dyn","cljs.core/-count","cljs.core/ICounted","coll","cljs$core$IEmptyableCollection$_empty$dyn","cljs.core/-empty","cljs.core/IEmptyableCollection","cljs$core$ICollection$_conj$dyn","cljs.core/-conj","cljs.core/ICollection","cljs$core$IIndexed$_nth$dyn","cljs.core/-nth","G__26679","cljs.core/IIndexed","not-found","cljs.core/ASeq","cljs$core$ISeq$_first$dyn","cljs.core/-first","cljs$core$ISeq$_rest$dyn","cljs.core/-rest","cljs.core/ISeq","cljs$core$INext$_next$dyn","cljs.core/-next","cljs.core/INext","cljs$core$ILookup$_lookup$dyn","cljs.core/-lookup","G__26681","cljs.core/ILookup","cljs$core$IAssociative$_contains_key_QMARK_$dyn","cljs.core/-contains-key?","cljs$core$IAssociative$_assoc$dyn","cljs.core/-assoc","cljs.core/IAssociative","v","cljs$core$IFind$_find$dyn","cljs.core/-find","cljs.core/IFind","cljs$core$IMap$_dissoc$dyn","cljs.core/-dissoc","cljs.core/IMap","cljs$core$IMapEntry$_key$dyn","cljs.core/-key","cljs$core$IMapEntry$_val$dyn","cljs.core/-val","cljs.core/IMapEntry","cljs$core$ISet$_disjoin$dyn","cljs.core/-disjoin","cljs.core/ISet","cljs$core$IStack$_peek$dyn","cljs.core/-peek","cljs$core$IStack$_pop$dyn","cljs.core/-pop","cljs.core/IStack","cljs$core$IVector$_assoc_n$dyn","cljs.core/-assoc-n","cljs.core/IVector","cljs$core$IDeref$_deref$dyn","cljs.core/-deref","cljs.core/IDeref","cljs$core$IDerefWithTimeout$_deref_with_timeout$dyn","cljs.core/-deref-with-timeout","cljs.core/IDerefWithTimeout","msec","timeout-val","cljs$core$IMeta$_meta$dyn","cljs.core/-meta","cljs.core/IMeta","cljs$core$IWithMeta$_with_meta$dyn","cljs.core/-with-meta","cljs.core/IWithMeta","meta","cljs$core$IReduce$_reduce$dyn","cljs.core/-reduce","G__26683","cljs.core/IReduce","start","cljs$core$IKVReduce$_kv_reduce$dyn","cljs.core/-kv-reduce","cljs.core/IKVReduce","init","cljs$core$IEquiv$_equiv$dyn","cljs.core/-equiv","cljs.core/IEquiv","other","cljs$core$IHash$_hash$dyn","cljs.core/-hash","cljs.core/IHash","cljs$core$ISeqable$_seq$dyn","cljs.core/-seq","cljs.core/ISeqable","cljs.core/ISequential","cljs.core/IList","cljs.core/IRecord","cljs$core$IReversible$_rseq$dyn","cljs.core/-rseq","cljs.core/IReversible","cljs$core$ISorted$_sorted_seq$dyn","cljs.core/-sorted-seq","cljs$core$ISorted$_sorted_seq_from$dyn","cljs.core/-sorted-seq-from","cljs$core$ISorted$_entry_key$dyn","cljs.core/-entry-key","cljs$core$ISorted$_comparator$dyn","cljs.core/-comparator","cljs.core/ISorted","ascending?","entry","cljs$core$IWriter$_write$dyn","cljs.core/-write","cljs$core$IWriter$_flush$dyn","cljs.core/-flush","cljs.core/IWriter","writer","cljs$core$IPrintWithWriter$_pr_writer$dyn","cljs.core/-pr-writer","cljs.core/IPrintWithWriter","opts","cljs$core$IPending$_realized_QMARK_$dyn","cljs.core/-realized?","cljs.core/IPending","cljs$core$IWatchable$_notify_watches$dyn","cljs.core/-notify-watches","cljs$core$IWatchable$_add_watch$dyn","cljs.core/-add-watch","cljs$core$IWatchable$_remove_watch$dyn","cljs.core/-remove-watch","cljs.core/IWatchable","oldval","newval","key","cljs$core$IEditableCollection$_as_transient$dyn","cljs.core/-as-transient","cljs.core/IEditableCollection","cljs$core$ITransientCollection$_conj_BANG_$dyn","cljs.core/-conj!","cljs$core$ITransientCollection$_persistent_BANG_$dyn","cljs.core/-persistent!","cljs.core/ITransientCollection","tcoll","cljs$core$ITransientAssociative$_assoc_BANG_$dyn","cljs.core/-assoc!","cljs.core/ITransientAssociative","cljs$core$ITransientMap$_dissoc_BANG_$dyn","cljs.core/-dissoc!","cljs.core/ITransientMap","cljs$core$ITransientVector$_assoc_n_BANG_$dyn","cljs.core/-assoc-n!","cljs$core$ITransientVector$_pop_BANG_$dyn","cljs.core/-pop!","cljs.core/ITransientVector","cljs$core$ITransientSet$_disjoin_BANG_$dyn","cljs.core/-disjoin!","cljs.core/ITransientSet","cljs$core$IComparable$_compare$dyn","cljs.core/-compare","cljs.core/IComparable","cljs$core$IChunk$_drop_first$dyn","cljs.core/-drop-first","cljs.core/IChunk","cljs$core$IChunkedSeq$_chunked_first$dyn","cljs.core/-chunked-first","cljs$core$IChunkedSeq$_chunked_rest$dyn","cljs.core/-chunked-rest","cljs.core/IChunkedSeq","cljs$core$IChunkedNext$_chunked_next$dyn","cljs.core/-chunked-next","cljs.core/IChunkedNext","cljs$core$INamed$_name$dyn","cljs.core/-name","cljs$core$INamed$_namespace$dyn","cljs.core/-namespace","cljs.core/INamed","cljs.core/IAtom","cljs$core$IReset$_reset_BANG_$dyn","cljs.core/-reset!","cljs.core/IReset","new-value","cljs$core$ISwap$_swap_BANG_$dyn","cljs.core/-swap!","G__26685","cljs.core/ISwap","cljs$core$IVolatile$_vreset_BANG_$dyn","cljs.core/-vreset!","cljs.core/IVolatile","cljs$core$IIterable$_iterator$dyn","cljs.core/-iterator","cljs.core/IIterable","this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cljs.core/StringBufferWriter","cljs.core/->StringBufferWriter","sb","_","cljs.core/pr-str*","js/goog.string.StringBuffer","cljs.core/int-rotate-left","js/Math","js/Math.imul","Math/imul","cljs.core/imul","ah","al","bh","bl","cljs.core/m3-seed","cljs.core/m3-C1","cljs.core/m3-C2","cljs.core/m3-mix-K1","k1","cljs.core/m3-mix-H1","h1","cljs.core/m3-fmix","cljs.core/m3-hash-int","in","cljs.core/m3-hash-unencoded-chars","cljs.core/string-hash-cache","cljs.core/string-hash-cache-count","cljs.core/hash-string*","hash","cljs.core/add-to-string-hash-cache","cljs.core.goog$module$goog$object.set","cljs.core/hash-string","cljs.core/hash","js/isFinite","Math/floor","G__26691","cljs.core/hash-combine","seed","cljs.core/instance?","cljs.core/symbol?","cljs.core/Symbol","cljs.core/hash-symbol","sym","cljs.core/compare-symbols","nsc","cljs.core.goog$module$goog$array.defaultCompare","unused__11796__auto__","self__","G__26693","args26692","cljs.core/->Symbol","ns","name","str","_hash","_meta","cljs.core/get","new-meta","h__5154__auto__","cljs.core/var?","cljs.core/Var","G__26695","cljs.core/symbol","cljs.core.symbol","cljs.core/Keyword","sym-str","G__26699","args26696","cljs.core/->Var","G__26697","G__26698","cljs.core/=","fexpr__26700","fexpr__26701","fexpr__26702","fexpr__26703","fexpr__26704","fexpr__26705","fexpr__26706","fexpr__26707","fexpr__26708","fexpr__26709","fexpr__26710","fexpr__26711","fexpr__26712","fexpr__26713","fexpr__26714","fexpr__26715","fexpr__26716","fexpr__26717","fexpr__26718","fexpr__26719","fexpr__26720","G__26721","G__26722","G__26723","G__26724","G__26725","G__26726","G__26727","G__26728","G__26729","G__26730","G__26731","G__26732","G__26733","G__26734","G__26735","G__26736","G__26737","G__26738","G__26739","G__26740","G__26741","G__26742","cljs.core/iterable?","cljs.core/js-iterable?","cljs.core/clone","cljs.core/cloneable?","cljs.core/seq","G__26746","cljs.core/es6-iterator-seq","cljs.core.goog$module$goog$object.get","cljs.core/rest","G__26754","seq26751","G__26752","G__26753","more","cljs.core._EQ_","cljs.core/ES6Iterator","cljs.core/->ES6Iterator","cljs.core/es6-iterator","cljs.core/ES6IteratorSeq","cljs.core/->ES6IteratorSeq","iter","_rest","cljs.core/mix-collection-hash","hash-basis","count","cljs.core/hash-ordered-coll","hash-code","cljs.core/empty-ordered-hash","cljs.core/hash-unordered-coll","cljs.core/empty-unordered-hash","cljs$core$Inst$inst_ms_STAR_$dyn","cljs.core/inst-ms*","cljs.core/Inst","inst","cljs.core/inst-ms","cljs.core/inst?","goog/getUid","cljs.core/inc","cljs.core/Reduced","cljs.core/->Reduced","cljs.core/reduced","cljs.core/reduced?","cljs.core/ensure-reduced","cljs.core/unreduced","cljs.core/deref","G__26757","cljs.core/ci-reduce","cicoll","cnt","nval","G__26758","G__26759","G__26760","G__26761","G__26763","cljs.core/array-reduce","G__26764","G__26765","G__26766","G__26767","G__26768","G__26769","cljs.core/counted?","cljs.core/indexed?","G__26773","cljs.core/-indexOf","cljs.core._indexOf","cljs.core/count","x__5130__auto__","y__5131__auto__","cljs.core/nth","G__26775","cljs.core/-lastIndexOf","cljs.core._lastIndexOf","x__5133__auto__","y__5134__auto__","cljs.core/IndexedSeqIterator","cljs.core/->IndexedSeqIterator","ret","cljs.core/->IndexedSeq","cljs.core/equiv-sequential","cljs.core/cons","cljs.core/List","cljs.core.array_reduce","cljs.core/RSeq","this__5698__auto__","G__26777","cljs.core/prim-seq","prim","cljs.core.prim_seq","G__26779","cljs.core/array-seq","cljs.core/->RSeq","ci","col","cljs.core/seq-reduce","cljs.core/second","cljs.core/ffirst","cljs.core/nfirst","cljs.core/fnext","cljs.core/nnext","cljs.core/last","sn","G__26784","cljs.core/conj","seq26781","G__26782","G__26783","cljs.core.conj","cljs.core/empty","cljs.core/accumulating-seq-count","acc","G__26790","cljs.core/linear-traversal-nth","G__26792","cljs.core.linear_traversal_nth","cljs.core/nthrest","G__26800","G__26808","cljs.core/assoc","seq26804","G__26805","G__26806","G__26807","cljs.core/PersistentArrayMap","kvs","cljs.core.assoc","G__26814","cljs.core/dissoc","seq26811","G__26812","G__26813","ks","cljs.core.dissoc","cljs.core/fn?","G__26817","args26816","cljs.core/MetaFn","cljs.core/->MetaFn","afn","cljs.core/with-meta","cljs.core/meta","cljs.core/peek","cljs.core/pop","G__26823","cljs.core/disj","seq26820","G__26821","G__26822","cljs.core.disj","cljs.core/empty?","cljs.core/coll?","cljs.core/set?","cljs.core/associative?","cljs.core/ifind?","cljs.core/sequential?","cljs.core/sorted?","cljs.core/reduceable?","cljs.core/map?","cljs.core/record?","cljs.core/vector?","cljs.core/chunked-seq?","G__26837","cljs.core/js-obj","seq26836","self__5755__auto__","keyvals","cljs.core.goog$module$goog$object.create","cljs.core/js-keys","cljs.core.goog$module$goog$object.getKeys","cljs.core/js-delete","cljs.core/array-copy","from","to","cljs.core/array-copy-downward","cljs.core/lookup-sentinel","cljs.core/false?","cljs.core/true?","cljs.core/boolean?","cljs.core/undefined?","cljs.core/seq?","cljs.core/seqable?","cljs.core/ifn?","cljs.core/integer?","js/isNaN","js/Infinity","js/parseFloat","js/parseInt","cljs.core/LongImpl","cljs.core.goog$module$goog$math$Long","cljs.core/int?","js/goog.math.Integer","cljs.core/pos-int?","cljs.core/neg-int?","cljs.core/nat-int?","cljs.core/float?","cljs.core/double?","cljs.core/infinite?","js/Number.POSITIVE_INFINITY","js/Number.NEGATIVE_INFINITY","cljs.core/contains?","cljs.core.get","cljs.core/find","cljs.core/MapEntry","G__26850","cljs.core/distinct?","seq26847","G__26848","G__26849","etc","cljs.core/compare","G__26853","cljs.core/compare-indexed","ys","xl","yl","cljs.core.compare_indexed","cljs.core.nth","cljs.core/fn->comparator","G__26855","cljs.core/sort","cljs.core.sort","comp","cljs.core/to-array","cljs.core.goog$module$goog$array.stableSort","G__26857","cljs.core/sort-by","keyfn","cljs.core.sort_by","G__26859","G__26860","fexpr__26858","G__26862","G__26863","G__26864","G__26865","G__26866","G__26867","cljs.core/shuffle","cljs.core.goog$module$goog$array.shuffle","cljs.core/vec","G__26869","cljs.core/iter-reduce","nacc","G__26870","G__26871","G__26872","G__26873","G__26875","cljs.core.iter_reduce","cljs.core.seq_reduce","cljs.core/reduce-kv","cljs.core/identity","G__26879","cljs.core/completing","cljs.core.completing","cf","G__26881","cljs.core/transduce","xform","cljs.core.transduce","cljs.core.reduce","G__26886","cljs.core/+","seq26883","G__26884","G__26885","G__26891","cljs.core/-","seq26888","G__26889","G__26890","G__26896","cljs.core/*","seq26893","G__26894","G__26895","cljs.core//","G__26901","seq26898","G__26899","G__26900","G__26906","cljs.core/<","seq26903","G__26904","G__26905","G__26911","cljs.core/<=","seq26908","G__26909","G__26910","G__26916","cljs.core/>","seq26913","G__26914","G__26915","G__26921","cljs.core/>=","seq26918","G__26919","G__26920","cljs.core/dec","cljs.core/abs","Math/abs","G__26926","cljs.core/max","seq26923","G__26924","G__26925","G__26931","cljs.core/min","seq26928","G__26929","G__26930","cljs.core/byte","cljs.core/char","js/String","cljs.core/short","cljs.core/float","cljs.core/double","cljs.core/unchecked-byte","cljs.core/unchecked-char","cljs.core/unchecked-short","cljs.core/unchecked-float","cljs.core/unchecked-double","G__26936","cljs.core/unchecked-add","seq26933","G__26934","G__26935","G__26941","cljs.core/unchecked-add-int","seq26938","G__26939","G__26940","cljs.core/unchecked-dec","cljs.core/unchecked-dec-int","G__26946","cljs.core/unchecked-divide-int","seq26943","G__26944","G__26945","cljs.core/unchecked-inc","cljs.core/unchecked-inc-int","G__26951","cljs.core/unchecked-multiply","seq26948","G__26949","G__26950","G__26956","cljs.core/unchecked-multiply-int","seq26953","G__26954","G__26955","cljs.core/unchecked-negate","cljs.core/unchecked-negate-int","cljs.core/unchecked-remainder-int","cljs.core/mod","G__26961","cljs.core/unchecked-subtract","seq26958","G__26959","G__26960","G__26966","cljs.core/unchecked-subtract-int","seq26963","G__26964","G__26965","cljs.core/fix","Math/ceil","cljs.core/int","cljs.core/unchecked-int","cljs.core/long","cljs.core/unchecked-long","cljs.core/booleans","cljs.core/bytes","cljs.core/chars","cljs.core/shorts","cljs.core/ints","cljs.core/floats","cljs.core/doubles","cljs.core/longs","cljs.core/js-mod","cljs.core/quot","rem","cljs.core/rem","G__26971","cljs.core/bit-xor","seq26968","G__26969","G__26970","G__26976","cljs.core/bit-and","seq26973","G__26974","G__26975","G__26981","cljs.core/bit-or","seq26978","G__26979","G__26980","G__26986","cljs.core/bit-and-not","seq26983","G__26984","G__26985","cljs.core/bit-clear","cljs.core/bit-flip","cljs.core/bit-not","cljs.core/bit-set","cljs.core/bit-test","cljs.core/bit-shift-left","cljs.core/bit-shift-right","cljs.core/bit-shift-right-zero-fill","cljs.core/unsigned-bit-shift-right","cljs.core/bit-count","G__26991","cljs.core/==","seq26988","G__26989","G__26990","cljs.core/pos?","cljs.core/zero?","cljs.core/neg?","cljs.core/nthnext","G__26995","cljs.core/str","seq26993","G__26994","G__26997","cljs.core/subs","end","cljs.core/hash-coll","res","cljs.core/hash-imap","cljs.core/key","cljs.core/val","cljs.core/hash-iset","cljs.core/extend-object!","fn-map","seq__26998","chunk__26999","count__27000","i__27001","vec__27008","temp__5823__auto__","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","vec__27011","key-name","str-name","cljs.core/name","cljs.core/->List","first","__hash","cljs.core/list?","cljs.core/EmptyList","cljs.core/->EmptyList","cljs.core/reversible?","cljs.core/rseq","rev","cljs.core/reverse","cljs.core/list","seq27016","cljs.core/Cons","cljs.core/->Cons","cljs.core/hash-keyword","cljs.core/compare-keywords","G__27019","args27018","cljs.core/->Keyword","fqn","kw","cljs.core/keyword?","cljs.core/keyword-identical?","cljs.core/symbol-identical?","cljs.core/namespace","cljs.core/ident?","cljs.core/simple-ident?","cljs.core/qualified-ident?","cljs.core/simple-symbol?","cljs.core/qualified-symbol?","cljs.core/simple-keyword?","cljs.core/qualified-keyword?","G__27022","cljs.core/keyword","parts","cljs.core/LazySeq","cljs.core/->LazySeq","fn","ls","cljs.core/ChunkBuffer","cljs.core/->ChunkBuffer","buf","cljs.core/ArrayChunk","cljs.core/chunk-buffer","capacity","cljs.core/->ArrayChunk","off","G__27024","cljs.core/array-chunk","cljs.core/ChunkedCons","cljs.core/->ChunkedCons","chunk","cljs.core/chunk-cons","cljs.core/chunk-append","cljs.core/chunk","cljs.core/chunk-next","ary","cljs.core/to-array-2d","G__27027","cljs.core/int-array","size-or-seq","cljs.core.int_array","init-val-or-seq","G__27029","cljs.core/long-array","cljs.core.long_array","G__27031","cljs.core/double-array","cljs.core.double_array","G__27033","cljs.core/object-array","cljs.core.object_array","cljs.core/bounded-count","cljs.core/spread","arglist","G__27038","cljs.core/concat","seq27035","G__27036","G__27037","cljs.core.concat","zs","cat","xys","G__27045","cljs.core/list*","seq27040","G__27041","G__27042","G__27043","G__27044","cljs.core/transient","cljs.core/persistent!","G__27050","cljs.core/conj!","seq27047","G__27048","G__27049","vals","ntcoll","G__27056","cljs.core/assoc!","seq27052","G__27053","G__27054","G__27055","G__27061","cljs.core/dissoc!","seq27058","G__27059","G__27060","cljs.core/pop!","G__27066","cljs.core/disj!","seq27063","G__27064","G__27065","cljs.core/apply-to","argc","a265","b266","c267","d268","e269","f270","g271","h272","i273","j274","k275","l276","m277","n278","o279","p280","q281","r282","s283","t284","cljs.core/next*","G__27069","cljs.core/apply-to-simple","cljs.core.apply_to_simple","a0","a1","a2","a3","a4","next_4","a5","next_5","a6","next_6","a7","next_7","a8","next_8","a9","next_9","a10","next_10","a11","next_11","a12","next_12","a13","next_13","a14","next_14","a15","next_15","a16","next_16","a17","next_17","a18","next_18","a19","next_19","arr__5684__auto__","s__5685__auto__","G__27077","seq27071","G__27072","G__27073","G__27074","G__27075","G__27076","fixed-arity","bc","cljs.core.list_STAR_","z","spread-args","cljs.core/--destructure-map","gmap","G__27087","cljs.core/vary-meta","seq27080","G__27081","G__27082","G__27083","G__27084","G__27085","G__27086","G__27088","G__27089","G__27090","G__27091","G__27092","G__27093","G__27094","G__27095","G__27096","G__27097","G__27098","G__27099","G__27100","G__27101","G__27102","cljs.core.apply","G__27107","cljs.core/not=","seq27104","G__27105","G__27106","cljs.core/not-empty","cljs.core/nil-iter","cljs.core/t_cljs$core27108","cljs.core/StringIter","cljs.core/->StringIter","cljs.core/string-iter","cljs.core/ArrayIter","cljs.core/->ArrayIter","cljs.core/array-iter","cljs.core/INIT","cljs.core/START","cljs.core/SeqIter","cljs.core/->SeqIter","_seq","_next","cljs.core/seq-iter","cljs.core/iter","cljs.core/Many","cljs.core/->Many","cljs.core/NONE","cljs.core/Single","cljs.core/->Single","cljs.core/Empty","cljs.core/->Empty","cljs.core/EMPTY","cljs.core/MultiIterator","cljs.core/->MultiIterator","iters","nexts","cljs.core/chunkIteratorSeq","cljs.core.array_chunk","cljs.core/TransformerIterator","cljs.core/->TransformerIterator","buffer","completed","xf","sourceIter","multi","G__27111","G__27112","cljs.core/transformer-iterator","iterator","G__27113","source","sources","G__27118","cljs.core/sequence","seq27115","G__27116","G__27117","colls","G__27119","G__27120","cljs.core/map","cljs.core/every?","pred","G__27121","cljs.core/not-every?","cljs.core/some","G__27122","cljs.core/not-any?","cljs.core/even?","cljs.core/odd?","cljs.core/complement","cljs.core/constantly","G__27128","cljs.core/comp","seq27124","G__27125","G__27126","G__27127","G__27129","G__27130","G__27131","G__27132","G__27133","G__27134","G__27135","G__27136","G__27137","G__27138","G__27139","G__27140","G__27141","G__27142","G__27143","f1","f2","f3","fs","fexpr__27144","G__27151","cljs.core/partial","seq27146","G__27147","G__27148","G__27149","G__27150","arg1","arg2","arg3","G__27153","cljs.core/fnil","G__27154","G__27155","G__27156","G__27157","G__27158","G__27159","ds","G__27160","G__27161","G__27162","G__27163","G__27164","G__27165","G__27166","G__27167","G__27168","G__27169","G__27171","cljs.core/map-indexed","rf","cljs.core/volatile!","result","input","G__27172","G__27173","G__27174","G__27175","G__27180","G__27181","mapi","G__27182","G__27183","G__27185","cljs.core/keep","G__27186","cljs.core.keep","G__27187","cljs.core/Atom","cljs.core/->Atom","state","validator","watches","seq__27188","chunk__27189","count__27190","i__27191","vec__27198","vec__27201","G__27207","cljs.core/atom","p__27208","map__27209","seq27205","G__27206","cljs.core/reset!","validate","old-value","cljs.core/reset-vals!","G__27216","cljs.core/swap!","seq27211","G__27212","G__27213","G__27214","G__27215","G__27217","G__27218","G__27219","G__27220","G__27221","G__27222","G__27229","cljs.core/swap-vals!","seq27224","G__27225","G__27226","G__27227","G__27228","G__27230","G__27231","G__27232","G__27233","G__27234","G__27235","cljs.core/compare-and-set!","cljs.core/set-validator!","iref","G__27236","cljs.core/get-validator","cljs.core/Volatile","cljs.core/->Volatile","new-state","cljs.core/volatile?","cljs.core/vreset!","vol","G__27238","cljs.core/keep-indexed","ia","G__27243","G__27244","keepi","G__27245","G__27246","G__27258","cljs.core/every-pred","seq27254","G__27255","G__27256","G__27257","cljs$core$ep1","p1","p2","cljs$core$ep2","p1__27247#","p3","cljs$core$ep3","p1__27248#","ps","p1__27249#","p1__27250#","p1__27251#","cljs$core$epn","p1__27252#","G__27270","cljs.core/some-fn","seq27266","G__27267","G__27268","G__27269","cljs$core$sp1","cljs$core$sp2","p1__27259#","cljs$core$sp3","p1__27260#","p1__27261#","p1__27262#","p1__27263#","cljs$core$spn","p1__27264#","G__27278","seq27273","G__27274","G__27275","G__27276","G__27277","G__27279","G__27280","inputs","G__27281","G__27282","G__27283","cljs.core.map","G__27284","c1","c2","s1","s2","G__27285","G__27286","c3","s3","G__27287","G__27288","G__27289","step","cs","ss","p1__27271#","G__27291","cljs.core/take","na","nn","cljs.core.take","G__27293","cljs.core/drop","G__27295","cljs.core/drop-last","cljs.core.drop_last","cljs.core.drop","cljs.core/take-last","lead","G__27297","cljs.core/drop-while","da","drop?","G__27298","cljs.core/Cycle","cljs.core/->Cycle","all","prev","current","G__27301","G__27302","G__27303","G__27304","cljs.core/cycle","cljs.core/split-at","cljs.core/Repeat","cljs.core/->Repeat","next","G__27306","cljs.core/repeat","cljs.core/replicate","cljs.core.repeat","G__27308","cljs.core/repeatedly","cljs.core.repeatedly","cljs.core/UNREALIZED-SEED","cljs.core/Iterate","cljs.core/->Iterate","prev-seed","cljs.core/iterate","G__27313","cljs.core/interleave","seq27310","G__27311","G__27312","cljs.core.interleave","G__27315","cljs.core/interpose","sep","started","sepr","cljs.core/flatten1","G__27319","cljs.core/mapcat","seq27317","G__27318","cljs.core.comp","cljs.core/cat","G__27321","cljs.core/filter","G__27322","cljs.core.filter","G__27324","cljs.core/remove","cljs.core/tree-seq","branch?","children","root","walk","node","cljs.core.mapcat","cljs.core/flatten","p1__27325#","G__27327","cljs.core/into","tm","cljs.core.conj_BANG_","G__27336","cljs.core/mapv","seq27331","G__27332","G__27333","G__27334","G__27335","cljs.core.into","cljs.core/filterv","G__27338","cljs.core/partition","cljs.core.partition","pad","G__27340","cljs.core/get-in","sentinel","p__27341","vec__27342","seq__27343","first__27344","cljs.core/assoc-in","G__27345","G__27346","G__27347","G__27356","cljs.core/update-in","p__27357","vec__27358","seq__27359","first__27360","p__27362","vec__27363","seq__27364","first__27365","p__27368","vec__27369","seq__27370","first__27371","p__27375","vec__27376","seq__27377","first__27378","p__27383","vec__27384","seq__27385","first__27386","seq27349","G__27350","G__27351","G__27352","G__27353","G__27354","G__27355","cljs.core.update_in","G__27361","G__27366","G__27367","G__27372","G__27373","G__27374","G__27379","G__27380","G__27381","G__27382","G__27395","cljs.core/update","seq27388","G__27389","G__27390","G__27391","G__27392","G__27393","G__27394","G__27396","G__27397","G__27398","G__27399","G__27400","G__27401","G__27402","G__27403","G__27404","G__27405","cljs.core/VectorNode","cljs.core/->VectorNode","edit","cljs.core/pv-fresh-node","cljs.core/pv-aget","cljs.core/pv-aset","cljs.core/pv-clone-node","cljs.core/tail-off","pv","cljs.core/new-path","level","ll","embed","cljs.core/push-tail","parent","tailnode","subidx","child","node-to-insert","G__27406","G__27407","G__27408","G__27409","cljs.core/vector-index-out-of-bounds","cljs.core/first-array-for-longvec","cljs.core/unchecked-array-for","cljs.core/array-for","cljs.core/do-assoc","G__27410","G__27411","G__27412","G__27413","G__27414","cljs.core/pop-tail","new-child","G__27415","G__27416","G__27417","cljs.core/RangedIterator","cljs.core/->RangedIterator","base","cljs.core/ranged-iterator","G__27419","cljs.core/pv-reduce","cljs.core.pv_reduce","G__27420","G__27421","cljs.core/APersistentVector","G__27432","args27422","cljs.core/PersistentVector","cljs.core/->PersistentVector","shift","tail","new-tail","nr","new-root","cnt-1","root-overflow?","new-shift","n-r","me-iter","you-iter","G__27428","G__27429","G__27430","G__27431","cljs.core/chunked-seq","G__27426","G__27427","G__27423","G__27424","G__27425","cljs.core/TransientVector","cljs.core/tv-editable-root","cljs.core/tv-editable-tail","no-clone","out","cljs.core/map-entry?","cljs.core/vector","seq27433","cljs.core/ChunkedSeq","cljs.core/->ChunkedSeq","vec","G__27438","G__27439","G__27440","G__27441","G__27434","G__27435","G__27436","G__27437","G__27442","G__27443","G__27444","G__27445","G__27446","G__27447","G__27448","G__27449","G__27451","G__27474","args27452","cljs.core/Subvec","cljs.core/->Subvec","cljs.core/build-subvec","G__27462","G__27463","G__27464","G__27465","G__27466","G__27469","G__27470","G__27471","G__27472","G__27473","subvec-seq","v-pos","G__27456","G__27457","G__27458","G__27459","G__27460","cljs.core.ci_reduce","G__27453","G__27454","G__27455","G__27476","cljs.core/subvec","cljs.core.subvec","cljs.core/tv-ensure-editable","tl","cljs.core/tv-push-tail","tv","tail-node","G__27479","G__27480","G__27481","G__27482","cljs.core/tv-pop-tail","G__27483","G__27484","G__27485","cljs.core/unchecked-editable-array-for","G__27487","args27486","cljs.core/->TransientVector","new-root-array","trimmed-tail","go","cljs.core/PersistentQueueIter","cljs.core/->PersistentQueueIter","fseq","riter","cljs.core/PersistentQueueSeq","cljs.core/->PersistentQueueSeq","front","rear","cljs.core/PersistentQueue","cljs.core/->PersistentQueue","cljs.core/NeverEquiv","cljs.core/->NeverEquiv","cljs.core/never-equiv","cljs.core/equiv-map","xkv","cljs.core/scan-array","incr","cljs.core/obj-map-compare-keys","cljs.core/obj-map->hash-map","so","mm","cljs.core/PersistentHashMap","cljs.core.assoc_BANG_","cljs.core/obj-clone","new-obj","G__27496","args27492","cljs.core/ObjMap","cljs.core/->ObjMap","keys","strobj","update-count","p1__27491#","new-strobj","new-keys","G__27493","G__27494","G__27495","cljs.core/RecordIter","cljs.core/->RecordIter","record","base-count","fields","ext-map-iter","cljs.core/ES6EntriesIterator","cljs.core/->ES6EntriesIterator","vec__27499","cljs.core/es6-entries-iterator","cljs.core/ES6SetEntriesIterator","cljs.core/->ES6SetEntriesIterator","cljs.core/es6-set-entries-iterator","cljs.core/array-index-of-nil?","cljs.core/array-index-of-keyword?","kstr","cljs.core/array-index-of-symbol?","cljs.core/array-index-of-identical?","cljs.core/array-index-of-equiv?","cljs.core/array-index-of","cljs.core/array-map-index-of","cljs.core/array-extend-kv","narr","cljs.core/array-map-extend-kv","G__27504","args27502","cljs.core/->MapEntry","G__27503","cljs.core/PersistentArrayMapSeq","cljs.core/->PersistentArrayMapSeq","cljs.core/persistent-array-map-seq","cljs.core/PersistentArrayMapIterator","cljs.core/->PersistentArrayMapIterator","G__27529","args27506","cljs.core/->PersistentArrayMap","cljs.core/keys","cljs.core/vals","seq__27507","chunk__27508","count__27509","i__27510","vec__27517","vec__27520","es","alen","G__27528","new-len","G__27523","G__27524","G__27525","cljs.core/TransientArrayMap","no-check","G__27530","cljs.core/key-test","cljs.core/pam-dupes?","dupe?","cljs.core/pam-new-size","cljs.core/pam-grow-seed-array","trailing","seed-cnt","extra-kvs","kv","has-trailing?","nodups","G__27533","args27531","cljs.core/->TransientArrayMap","editable?","cljs.core/array->transient-hash-map","G__27532","cljs.core/Box","cljs.core/->Box","cljs.core/mask","G__27535","cljs.core/clone-and-set","G__27536","G__27537","cljs.core/remove-pair","cljs.core/bitmap-indexed-node-index","bitmap","bit","cljs.core/bitpos","G__27539","cljs.core/edit-and-set","inode","editable","cljs.core/inode-kv-reduce","G__27540","G__27541","G__27542","cljs.core/NodeIterator","cljs.core/->NodeIterator","next-entry","next-iter","node-or-val","found","new-iter","cljs.core/BitmapIndexedNode","cljs.core/->BitmapIndexedNode","added-leaf?","nodes","jdx","cljs.core/ArrayNode","key-or-nil","val-or-node","cljs.core.clone_and_set","G__27550","G__27551","G__27552","G__27553","G__27554","G__27555","cljs.core/create-node","cljs.core/create-inode-seq","earr","cljs.core.edit_and_set","G__27543","G__27544","G__27545","G__27546","G__27547","G__27548","G__27549","removed-leaf?","cljs.core/pack-array-node","array-node","cljs.core/ArrayNodeIterator","cljs.core/->ArrayNodeIterator","cljs.core/->ArrayNode","cljs.core/create-array-node-seq","cljs.core/hash-collision-node-find-index","lim","cljs.core/HashCollisionNode","cljs.core/->HashCollisionNode","collision-hash","G__27557","key1","val1","key2hash","key2","val2","key1hash","cljs.core/NodeSeq","cljs.core/->NodeSeq","G__27564","G__27565","G__27566","G__27567","G__27568","G__27569","G__27558","G__27559","G__27560","G__27561","G__27562","G__27563","G__27571","cljs.core.create_inode_seq","node-seq","cljs.core/ArrayNodeSeq","cljs.core/->ArrayNodeSeq","G__27575","G__27576","G__27577","G__27572","G__27573","G__27574","G__27579","cljs.core.create_array_node_seq","nj","cljs.core/HashMapIter","cljs.core/->HashMapIter","nil-val","root-iter","seen","G__27599","args27580","cljs.core/->PersistentHashMap","has-nil?","seq__27581","chunk__27582","count__27583","i__27584","vec__27591","vec__27594","cljs.core/TransientHashMap","vs","cljs.core.not_EQ_","G__27601","args27600","cljs.core/->TransientHashMap","cljs.core/tree-map-seq-push","stack","cljs.core/PersistentTreeMapSeq","cljs.core/->PersistentTreeMapSeq","next-stack","cljs.core/create-tree-map-seq","tree","cljs.core/balance-left","ins","right","cljs.core/RedNode","cljs.core/BlackNode","cljs.core/balance-right","left","cljs.core/balance-left-del","del","cljs.core/balance-right-del","cljs.core/tree-map-kv-reduce","G__27602","G__27603","G__27604","G__27605","G__27606","G__27607","G__27608","G__27609","G__27610","G__27613","args27611","cljs.core/->BlackNode","G__27612","G__27616","args27614","cljs.core/->RedNode","G__27615","cljs.core/tree-map-add","G__27617","G__27618","G__27619","G__27620","G__27621","G__27622","G__27623","G__27624","G__27625","G__27626","G__27627","G__27628","cljs.core/tree-map-append","app","G__27629","G__27630","G__27631","G__27632","G__27633","G__27634","G__27635","G__27636","cljs.core/tree-map-remove","G__27637","G__27638","G__27639","G__27640","G__27641","G__27642","G__27643","G__27644","G__27645","G__27646","cljs.core/tree-map-replace","tk","G__27647","G__27648","G__27649","G__27650","G__27651","G__27652","G__27653","G__27654","G__27674","args27655","cljs.core/PersistentTreeMap","cljs.core/->PersistentTreeMap","seq__27656","chunk__27657","count__27658","i__27659","vec__27666","vec__27669","G__27672","G__27673","found-node","G__27677","G__27678","cljs.core/hash-map","seq27679","in'","cljs.core/array-map","seq27680","cljs.core/seq-to-map-for-destructuring","cljs.core/obj-map","seq27681","cljs.core/sorted-map","seq27684","cljs.core/sorted-map-by","seq27685","G__27686","comparator","cljs.core/KeySeq","cljs.core/->KeySeq","mseq","me","nseq","map","map-entry","cljs.core/ValSeq","cljs.core/->ValSeq","cljs.core/merge","seq27693","maps","p1__27691#","p2__27692#","cljs.core/merge-with","seq27694","G__27695","merge-entry","G__27696","G__27697","merge2","m1","m2","cljs.core/select-keys","keyseq","cljs.core/HashSetIter","cljs.core/->HashSetIter","G__27718","args27700","cljs.core/PersistentHashSet","cljs.core/->PersistentHashSet","hash-map","seq__27701","chunk__27702","count__27703","i__27704","vec__27711","vec__27714","e27717","p1__27699#","p2__27698#","ex","cljs.core/TransientHashSet","items","G__27720","args27719","cljs.core/->TransientHashSet","transient-map","cljs.core.dissoc_BANG_","G__27741","args27723","cljs.core/PersistentTreeSet","cljs.core/->PersistentTreeSet","tree-map","seq__27724","chunk__27725","count__27726","i__27727","vec__27734","vec__27737","e27740","p1__27722#","p2__27721#","cljs.core/set-from-indexed-seq","iseq","a__5633__auto__","l__5634__auto__","cljs.core/set","G__27744","cljs.core/hash-set","seq27743","cljs.core/sorted-set","seq27745","cljs.core/sorted-set-by","seq27746","G__27747","G__27751","cljs.core/replace","smap","p1__27748#","p1__27749#","G__27753","cljs.core/distinct","p__27754","vec__27755","cljs.core/butlast","cljs.core/zipmap","G__27766","cljs.core/max-key","seq27762","G__27763","G__27764","G__27765","p1__27759#","p2__27760#","cljs.core.max_key","G__27774","cljs.core/min-key","seq27770","G__27771","G__27772","G__27773","p1__27767#","p2__27768#","cljs.core.min_key","cljs.core/ArrayList","cljs.core/->ArrayList","cljs.core/array-list","G__27776","cljs.core/partition-all","cljs.core.partition_all","G__27778","cljs.core/take-while","G__27779","cljs.core.take_while","cljs.core/mk-bound-fn","sc","test","G__27780","G__27781","G__27782","G__27783","G__27785","cljs.core/subseq","include","fexpr__27786","vec__27787","start-test","start-key","end-test","end-key","vec__27790","G__27794","cljs.core/rsubseq","fexpr__27795","vec__27796","vec__27799","cljs.core/IntegerRangeChunk","cljs.core/->IntegerRangeChunk","cljs.core/RangeIterator","cljs.core/->RangeIterator","cljs.core/IntegerRange","cljs.core/->IntegerRange","chunk-next","rng","cljs.core/Range","cljs.core/->Range","G__27803","cljs.core/range","cljs.core.range","js/Number","G__27805","cljs.core/take-nth","cljs.core.take_nth","cljs.core/split-with","cljs.core.drop_while","G__27808","cljs.core/partition-by","pa","pval","fst","fv","run","p1__27806#","cljs.core.partition_by","cljs.core/frequencies","counts","G__27810","cljs.core/reductions","cljs.core.reductions","G__27811","G__27812","G__27828","cljs.core/juxt","seq27824","G__27825","G__27826","G__27827","p1__27813#","p2__27814#","p1__27815#","p2__27816#","p1__27817#","p2__27818#","p1__27819#","p2__27820#","p1__27821#","p2__27822#","G__27830","cljs.core/dorun","G__27832","cljs.core/doall","cljs.core.dorun","cljs.core/regexp?","js/RegExp","cljs.core/re-matches","re","matches","js/TypeError","cljs.core/re-find","cljs.core/re-seq*","temp__5827__auto__","match-str","match-vals","post-idx","G__27833","G__27834","cljs.core.subs","cljs.core/re-seq","cljs.core/re-pattern","vec__27835","prefix","flags","pattern","cljs.core/pr-sequential-writer","print-one","begin","*print-level*-orig-val__27838","*print-level*-temp-val__27839","G__27840","G__27841","G__27842","G__27843","G__27844","G__27845","cljs.core/write-all","seq27846","G__27847","seq__27848","chunk__27849","count__27850","i__27851","cljs.core/string-print","cljs.core/flush","cljs.core/char-escapes","obj27853","cljs.core/quote-string","match","cljs.core/print-meta?","cljs.core/pr-writer-impl","G__27855","G__27856","G__27857","cljs.core/pr-writer","G__27859","G__27860","G__27861","G__27862","cljs.core/print-map","G__27863","cljs.core.keyword","goog.string/isEmpty","cljs.core.write_all","normalize","G__27864","G__27865","alt-impl","G__27866","G__27867","G__27868","cljs.core/pr-seq-writer","objs","seq__27869","chunk__27870","count__27871","i__27872","cljs.core/pr-sb-with-opts","cljs.core/pr-str-with-opts","cljs.core/prn-str-with-opts","cljs.core/pr-with-opts","G__27874","cljs.core/newline","cljs.core.newline","cljs.core/pr-str","seq27875","cljs.core/prn-str","seq27876","cljs.core/pr","seq27877","cljs.core/print","cljs.core/print-str","seq27878","cljs.core/println","seq27879","cljs.core/println-str","seq27880","cljs.core/prn","seq27881","cljs.core/strip-ns","named","cljs.core/lift-ns","G__27888","vec__27889","seq__27890","first__27891","vec__27892","vec__27901","seq__27902","first__27903","vec__27904","entries","lm","new-ns","cljs.core/print-prefix-map","w","G__27907","G__27908","G__27909","G__27910","G__27911","G__27912","vec__27913","lift-map","cljs.core/alter-meta!","seq27916","G__27917","G__27918","cljs.core/reset-meta!","cljs.core/add-watch","cljs.core/remove-watch","cljs.core/gensym_counter","G__27920","cljs.core/gensym","cljs.core.gensym","prefix-string","cljs.core.atom","cljs.core.swap_BANG_","cljs.core/Delay","cljs.core/->Delay","cljs.core/delay?","cljs.core/force","cljs.core/realized?","p1__27921#","p2__27922#","cljs.core/preserving-reduced","rf1","G__27924","cljs.core/halt-when","cljs.core.halt_when","retf","G__27925","G__27926","G__27928","cljs.core/dedupe","prior","cljs.core.sequence","cljs.core.dedupe","G__27930","cljs.core/random-sample","prob","cljs.core/rand","cljs.core/Eduction","cljs.core/->Eduction","cljs.core/eduction","seq27931","xforms","cljs.core/run!","proc","p1__27933#","p2__27932#","cljs.core/iteration","p__27936","map__27937","seq27934","G__27935","somef","vf","kf","initk","cljs.core/t_cljs$core27938","G__27941","G__27942","temp__5825__auto__","cljs$core$IEncodeJS$_clj__GT_js$dyn","cljs.core/-clj->js","cljs$core$IEncodeJS$_key__GT_js$dyn","cljs.core/-key->js","cljs.core/IEncodeJS","G__27944","cljs.core/key->js","cljs.core.key__GT_js","cljs.core/clj->js","primitive-fn","cljs.core.pr_str","p__27948","map__27949","seq27946","G__27947","keyword-fn","options","thisfn","seq__27976","chunk__27977","count__27978","i__27979","vec__27986","vec__27989","seq__27992","chunk__27993","count__27994","i__27995","cljs$core$IEncodeClojure$_js__GT_clj$dyn","cljs.core/-js->clj","cljs.core/IEncodeClojure","G__28001","cljs.core/js->clj","seq27999","G__28000","cljs.core.js__GT_clj","map__28002","keywordize-keys","cljs.core.doall","p1__27996#","p2__27997#","cljs.core/memoize","mem","G__28007","cljs.core/trampoline","seq28005","G__28006","cljs.core.trampoline","G__28009","cljs.core.rand","Math/random","cljs.core/rand-int","cljs.core/rand-nth","cljs.core/group-by","cljs.core/make-hierarchy","cljs.core/-global-hierarchy","cljs.core/get-global-hierarchy","cljs.core/swap-global-hierarchy!","seq28010","G__28011","G__28013","cljs.core/isa?","cljs.core.isa_QMARK_","fexpr__28014","G__28016","cljs.core/parents","tag","cljs.core.parents","G__28018","cljs.core/ancestors","cljs.core.ancestors","G__28020","cljs.core/descendants","cljs.core.descendants","G__28022","cljs.core/derive","cljs.core.swap_global_hierarchy_BANG_","tp","td","ta","tf","target","targets","G__28027","cljs.core/underive","parentMap","childsParents","newParents","deriv-seq","p1__28023#","cljs.core.interpose","p1__28024#","p2__28025#","cljs.core/reset-cache","method-cache","method-table","cached-hierarchy","hierarchy","cljs.core/prefers*","prefer-table","xprefs","fexpr__28028","G__28029","G__28030","G__28031","G__28032","G__28033","G__28034","cljs.core/dominates","cljs.core/find-and-cache-best-method","dispatch-val","default-dispatch-val","best-entry","p__28035","vec__28036","be","be2","fexpr__28039","cljs$core$IMultiFn$_reset$dyn","cljs.core/-reset","cljs$core$IMultiFn$_add_method$dyn","cljs.core/-add-method","cljs$core$IMultiFn$_remove_method$dyn","cljs.core/-remove-method","cljs$core$IMultiFn$_prefer_method$dyn","cljs.core/-prefer-method","cljs$core$IMultiFn$_get_method$dyn","cljs.core/-get-method","cljs$core$IMultiFn$_methods$dyn","cljs.core/-methods","cljs$core$IMultiFn$_prefers$dyn","cljs.core/-prefers","cljs$core$IMultiFn$_default_dispatch_val$dyn","cljs.core/-default-dispatch-val","cljs$core$IMultiFn$_dispatch_fn$dyn","cljs.core/-dispatch-fn","cljs.core/IMultiFn","mf","method","dispatch-val-y","cljs.core/throw-no-method-error","G__28041","args28040","cljs.core/MultiFn","cljs.core/->MultiFn","dispatch-fn","target-fn","fexpr__28042","dispatch-val-x","old","cljs.core/remove-all-methods","multifn","cljs.core/remove-method","cljs.core/prefer-method","cljs.core/methods","cljs.core/get-method","cljs.core/prefers","cljs.core/default-dispatch-val","cljs.core/dispatch-fn","cljs.core/IUUID","cljs.core/UUID","cljs.core/->UUID","uuid","cljs.core/uuid","cljs.core/random-uuid","rhex","hex","cljs.core/uuid?","cljs.core/pr-writer-ex-info","cljs.core/ExceptionInfo","message","data","cause","js/Error.prototype","G__28046","cljs.core/ex-info","msg","cljs.core.ex_info","cljs.core/ex-data","cljs.core/ex-message","cljs.core/ex-cause","cljs.core/comparator","cljs.core/special-symbol?","cljs.core/test","cljs.core/TaggedLiteral","cljs.core/->TaggedLiteral","form","G__28047","cljs.core/tagged-literal?","cljs.core/tagged-literal","cljs.core/js-reserved-arr","cljs.core/js-reserved","cljs.core/js-reserved?","p1__28048#","p2__28049#","cljs.core/demunge-pattern","G__28053","cljs.core/munge-str","sub","cljs.core/munge","name'","cljs.core/demunge-str","munged-name","goog.string/endsWith","last-match-end","vec__28057","cljs.core/demunge","G__28061","fexpr__28060","js/cljs.core.tapset","cljs.core/tapset","cljs.core/maybe-init-tapset","cljs.core/add-tap","cljs.core/remove-tap","cljs.core/tap>","seq__28062","chunk__28063","count__28064","i__28065","tap","e28068","e28069","cljs.core/update-vals","cljs.core/update-keys","cljs.core/ns-lookup","ns-obj","cljs.core/Namespace","cljs.core/->Namespace","cljs.core.goog$module$goog$object.containsKey","var-sym","var-meta","cljs.core/NS_CACHE","cljs.core/find-ns-obj*","ctxt","cljs.core/find-ns-obj","munged-ns","segs","G__28071","e28072","js/eval","js/ReferenceError","goog/global","cljs.core/ns-interns*","G__28074","cljs.core/create-ns","cljs.core.create_ns","cljs.core/find-ns","the-ns","cljs.core/find-macros-ns","ns-str","goog.string/contains","cljs.core/ns-name","cljs.core/uri?","js/goog.Uri","cljs.core/NaN?","cljs.core/parsing-err","cljs.core/parse-long","js/Number.MAX_SAFE_INTEGER","js/Number.MIN_SAFE_INTEGER","cljs.core/parse-double","cljs.core/uuid-regex","cljs.core/parse-uuid","cljs.core/parse-boolean","G__28075","cljs.core/maybe-enable-print!","system","js/Java","js/cljs.core.*eval*","cljs.core/*eval*","cljs.core/eval","js/global","js/window","js/self"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns cljs.core\n (:require goog.math.Long\n goog.math.Integer\n [goog.string :as gstring]\n [goog.object :as gobject]\n [goog.array :as garray]\n [goog.Uri])\n (:import [goog.string StringBuffer]))\n\n;; next line is auto-generated by the build-script - Do not edit!\n(def *clojurescript-version* \"1.11.60\")\n\n;; Setting of these Vars is in ClojureScript code is associated with intrinsics\n;; that affect compilation state, but otherwise turn into no-ops in the emitted\n;; JavaScript.\n\n;; The scope of *unchecked-if* is controlled by balanced pairs of set! calls.\n(def *unchecked-if* false)\n;; The scope of *unchecked-arrays* is file-scope: In JVM ClojureScript its side-\n;; effect is to set same-named analyzer dynamic Var, which is unset via binding\n;; scopes. In self-hosted it is cleared via cljs.js/post-file-side-effects.\n(def *unchecked-arrays* false)\n;; The scope of *warn-on-infer* is file-scope: Its side effect is to set the\n;; cljs.analyzer/*cljs-warnings* dynamic Var, which is unset via binding scopes.\n(def *warn-on-infer* false)\n\n(set! *unchecked-arrays* true)\n\n(defonce PROTOCOL_SENTINEL #js {})\n\n(def MODULE_URIS nil) ;; set by compiler\n(def MODULE_INFOS nil) ;; set by compiler\n\n(goog-define\n ^{:dynamic true\n :doc \"Var bound to the name value of the compiler build :target option.\n For example, if the compiler build :target is :nodejs, *target* will be bound\n to \\\"nodejs\\\". *target* is a Google Closure define and can be set by compiler\n :closure-defines option.\"}\n *target* \"default\")\n\n(goog-define\n ^{:dynamic true\n :doc \"Manually set the JavaScript global context. Only \\\"window\\\", \\\"self\\\"\n , and \\\"global\\\" supported. \"}\n *global* \"default\")\n\n(def\n ^{:dynamic true\n :doc \"Var bound to the current namespace. Only used for bootstrapping.\"\n :jsdoc [\"@type {*}\"]}\n *ns* nil)\n\n(def\n ^{:dynamic true\n :jsdoc [\"@type {*}\"]}\n *out* nil)\n\n(def\n ^{:dynamic true}\n *assert* true)\n\n(defonce\n ^{:doc \"Each runtime environment provides a different way to print output.\n Whatever function *print-fn* is bound to will be passed any\n Strings which should be printed.\" :dynamic true}\n *print-fn* nil)\n\n(declare boolean)\n\n(defn ^{:doc \"Arranges to have tap functions executed via the supplied f, a\n function of no arguments. Returns true if successful, false otherwise.\" :dynamic true}\n *exec-tap-fn*\n [f]\n (and\n (exists? js/setTimeout)\n ;; See CLJS-3274 - workaround for recent WebKit releases\n (boolean (js/setTimeout f 0))))\n\n(defonce\n ^{:doc \"Each runtime environment provides a different way to print error output.\n Whatever function *print-err-fn* is bound to will be passed any\n Strings which should be printed.\" :dynamic true}\n *print-err-fn* nil)\n\n(defn set-print-fn!\n \"Set *print-fn* to f.\"\n [f] (set! *print-fn* f))\n\n(defn set-print-err-fn!\n \"Set *print-err-fn* to f.\"\n [f] (set! *print-err-fn* f))\n\n(def\n ^{:dynamic true\n :doc \"When set to true, output will be flushed whenever a newline is printed.\n\n Defaults to true.\"}\n *flush-on-newline* true)\n\n(def\n ^{:dynamic true\n :doc \"When set to logical false will drop newlines from printing calls.\n This is to work around the implicit newlines emitted by standard JavaScript\n console objects.\"}\n *print-newline* true)\n\n(def\n ^{:dynamic true\n :doc \"When set to logical false, strings and characters will be printed with\n non-alphanumeric characters converted to the appropriate escape sequences.\n\n Defaults to true\"}\n *print-readably* true)\n\n(def\n ^{:dynamic true\n :doc \"If set to logical true, when printing an object, its metadata will also\n be printed in a form that can be read back by the reader.\n\n Defaults to false.\"}\n *print-meta* false)\n\n(def\n ^{:dynamic true\n :doc \"When set to logical true, objects will be printed in a way that preserves\n their type when read in later.\n\n Defaults to false.\"}\n *print-dup* false)\n\n(def\n ^{:dynamic true\n :doc \"*print-namespace-maps* controls whether the printer will print\n namespace map literal syntax.\n\n Defaults to false, but the REPL binds it to true.\"}\n *print-namespace-maps* false)\n\n(def\n ^{:dynamic true\n :doc \"*print-length* controls how many items of each collection the\n printer will print. If it is bound to logical false, there is no\n limit. Otherwise, it must be bound to an integer indicating the maximum\n number of items of each collection to print. If a collection contains\n more items, the printer will print items up to the limit followed by\n '...' to represent the remaining items. The root binding is nil\n indicating no limit.\"\n :jsdoc [\"@type {null|number}\"]}\n *print-length* nil)\n\n(def\n ^{:dynamic true\n :doc \"*print-level* controls how many levels deep the printer will\n print nested objects. If it is bound to logical false, there is no\n limit. Otherwise, it must be bound to an integer indicating the maximum\n level to print. Each argument to print is at level 0; if an argument is a\n collection, its items are at level 1; and so on. If an object is a\n collection and is at a level greater than or equal to the value bound to\n *print-level*, the printer prints '#' to represent it. The root binding\n is nil indicating no limit.\"\n :jsdoc [\"@type {null|number}\"]}\n *print-level* nil)\n\n(def\n ^{:dynamic true\n :doc \"*print-fns-bodies* controls whether functions print their source or\n only their names.\"}\n *print-fn-bodies* false)\n\n(defonce\n ^{:dynamic true\n :jsdoc [\"@type {*}\"]}\n *loaded-libs* nil)\n\n(defn- pr-opts []\n {:flush-on-newline *flush-on-newline*\n :readably *print-readably*\n :meta *print-meta*\n :dup *print-dup*\n :print-length *print-length*})\n\n(declare into-array)\n\n(defn enable-console-print!\n \"Set *print-fn* to console.log\"\n []\n (set! *print-newline* false)\n (set-print-fn!\n (fn []\n (let [xs (js-arguments)]\n (.apply (.-log js/console) js/console (garray/clone xs)))))\n (set-print-err-fn!\n (fn []\n (let [xs (js-arguments)]\n (.apply (.-error js/console) js/console (garray/clone xs)))))\n nil)\n\n(def\n ^{:doc \"bound in a repl thread to the most recent value printed\"}\n *1)\n\n(def\n ^{:doc \"bound in a repl thread to the second most recent value printed\"}\n *2)\n\n(def\n ^{:doc \"bound in a repl thread to the third most recent value printed\"}\n *3)\n\n(def\n ^{:doc \"bound in a repl thread to the most recent exception caught by the repl\"}\n *e)\n\n(defn truth_\n \"Internal - do not use!\"\n [x]\n (cljs.core/truth_ x))\n\n(def not-native nil)\n\n(declare instance? Keyword)\n\n(defn ^boolean identical?\n \"Tests if 2 arguments are the same object\"\n [x y]\n (cljs.core/identical? x y))\n\n(defn ^boolean nil?\n \"Returns true if x is nil, false otherwise.\"\n [x]\n (coercive-= x nil))\n\n(defn ^boolean array?\n \"Returns true if x is a JavaScript array.\"\n [x]\n (if (identical? *target* \"nodejs\")\n (.isArray js/Array x)\n (instance? js/Array x)))\n\n(defn ^boolean number?\n \"Returns true if x is a JavaScript number.\"\n [x]\n (cljs.core/number? x))\n\n(defn not\n \"Returns true if x is logical false, false otherwise.\"\n [x]\n (cond\n (nil? x) true\n (false? x) true\n :else false))\n\n(defn ^boolean some?\n \"Returns true if x is not nil, false otherwise.\"\n [x] (not (nil? x)))\n\n(defn object?\n \"Returns true if x's constructor is Object\"\n [x]\n (if-not (nil? x)\n (identical? (.-constructor x) js/Object)\n false))\n\n(defn ^boolean string?\n \"Returns true if x is a JavaScript string.\"\n [x]\n (identical? \"string\" (goog/typeOf x)))\n\n(defn char?\n \"Returns true if x is a JavaScript string of length one.\"\n [x]\n (and (string? x) (== 1 (.-length x))))\n\n(defn any?\n \"Returns true if given any argument.\"\n [x] true)\n\n(set! *unchecked-if* true)\n(defn native-satisfies?\n \"Internal - do not use!\"\n [p x]\n (let [x (if (nil? x) nil x)]\n (cond\n (unchecked-get p (goog/typeOf x)) true\n (unchecked-get p \"_\") true\n :else false)))\n(set! *unchecked-if* false)\n\n(defn is_proto_\n [x]\n (identical? (.-prototype (.-constructor x)) x))\n\n(def\n ^{:doc \"When compiled for a command-line target, whatever function\n *main-cli-fn* is set to will be called with the command-line\n argv as arguments\"}\n *main-cli-fn* nil)\n\n(def\n ^{:doc \"A sequence of the supplied command line arguments, or nil if\n none were supplied\"}\n *command-line-args* nil)\n\n(defn type\n \"Return x's constructor.\"\n [x]\n (when-not (nil? x)\n (.-constructor x)))\n\n(defn missing-protocol [proto obj]\n (let [ty (type obj)\n ty (if (and ty (.-cljs$lang$type ty))\n (.-cljs$lang$ctorStr ty)\n (goog/typeOf obj))]\n (js/Error.\n (.join (array \"No protocol method \" proto\n \" defined for type \" ty \": \" obj) \"\"))))\n\n(defn type->str [ty]\n (if-let [s (.-cljs$lang$ctorStr ty)]\n s\n (str ty)))\n\n;; INTERNAL - do not use, only for Node.js\n(defn load-file [file]\n (when-not js/COMPILED\n (cljs.core/load-file* file)))\n\n(if (and (exists? js/Symbol)\n (identical? (goog/typeOf js/Symbol) \"function\"))\n (def ITER_SYMBOL (.-iterator js/Symbol))\n (def ITER_SYMBOL \"@@iterator\"))\n\n(def ^{:jsdoc [\"@enum {string}\"]}\n CHAR_MAP\n #js {\"-\" \"_\"\n \":\" \"_COLON_\"\n \"+\" \"_PLUS_\"\n \">\" \"_GT_\"\n \"<\" \"_LT_\"\n \"=\" \"_EQ_\"\n \"~\" \"_TILDE_\"\n \"!\" \"_BANG_\"\n \"@\" \"_CIRCA_\"\n \"#\" \"_SHARP_\"\n \"'\" \"_SINGLEQUOTE_\"\n \"\\\\\\\"\" \"_DOUBLEQUOTE_\"\n \"%\" \"_PERCENT_\"\n \"^\" \"_CARET_\"\n \"&\" \"_AMPERSAND_\"\n \"*\" \"_STAR_\"\n \"|\" \"_BAR_\"\n \"{\" \"_LBRACE_\"\n \"}\" \"_RBRACE_\"\n \"[\" \"_LBRACK_\"\n \"]\" \"_RBRACK_\"\n \"/\" \"_SLASH_\"\n \"\\\\\\\\\" \"_BSLASH_\"\n \"?\" \"_QMARK_\"})\n\n(def ^{:jsdoc [\"@enum {string}\"]}\n DEMUNGE_MAP\n #js {\"_\" \"-\"\n \"_COLON_\" \":\"\n \"_PLUS_\" \"+\"\n \"_GT_\" \">\"\n \"_LT_\" \"<\"\n \"_EQ_\" \"=\"\n \"_TILDE_\" \"~\"\n \"_BANG_\" \"!\"\n \"_CIRCA_\" \"@\"\n \"_SHARP_\" \"#\"\n \"_SINGLEQUOTE_\" \"'\"\n \"_DOUBLEQUOTE_\" \"\\\\\\\"\"\n \"_PERCENT_\" \"%\"\n \"_CARET_\" \"^\"\n \"_AMPERSAND_\" \"&\"\n \"_STAR_\" \"*\"\n \"_BAR_\" \"|\"\n \"_LBRACE_\" \"{\"\n \"_RBRACE_\" \"}\"\n \"_LBRACK_\" \"[\"\n \"_RBRACK_\" \"]\"\n \"_SLASH_\" \"/\"\n \"_BSLASH_\" \"\\\\\\\\\"\n \"_QMARK_\" \"?\"})\n\n(def DEMUNGE_PATTERN nil)\n\n(defn system-time\n \"Returns highest resolution time offered by host in milliseconds.\"\n []\n (cond\n (and (exists? js/performance)\n (not (nil? (. js/performance -now))))\n (.now js/performance)\n\n (and (exists? js/process)\n (not (nil? (. js/process -hrtime))))\n (let [t (.hrtime js/process)]\n (/ (+ (* (aget t 0) 1e9) (aget t 1)) 1e6))\n\n :else (.getTime (js/Date.))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; arrays ;;;;;;;;;;;;;;;;\n\n(declare apply)\n\n(defn ^array make-array\n \"Construct a JavaScript array of the specified dimensions. Accepts ignored\n type argument for compatibility with Clojure. Note that there is no efficient\n way to allocate multi-dimensional arrays in JavaScript; as such, this function\n will run in polynomial time when called with 3 or more arguments.\"\n ([size]\n (js/Array. size))\n ([type size]\n (make-array size))\n ([type size & more-sizes]\n (let [dims more-sizes\n dimarray (make-array size)]\n (dotimes [i (alength dimarray)]\n (aset dimarray i (apply make-array nil dims)))\n dimarray)))\n\n(defn aclone\n \"Returns a javascript array, cloned from the passed in array\"\n [arr]\n (let [len (alength arr)\n new-arr (make-array len)]\n (dotimes [i len]\n (aset new-arr i (aget arr i)))\n new-arr))\n\n(defn ^array array\n \"Creates a new javascript array.\n@param {...*} var_args\" ;;array is a special case, don't emulate this doc string\n [var-args] ;; [& items]\n (let [a (js/Array. (alength (cljs.core/js-arguments)))]\n (loop [i 0]\n (if (< i (alength a))\n (do\n (aset a i (aget (cljs.core/js-arguments) i))\n (recur (inc i)))\n a))))\n\n(defn- maybe-warn\n [e]\n (when *print-err-fn*\n (*print-err-fn* e)))\n\n(defn- checked-aget\n ([array idx]\n (when-assert\n (try\n (assert (or (array? array) (goog/isArrayLike array)))\n (assert (number? idx))\n (assert (not (neg? idx)))\n (assert (< idx (alength array)))\n (catch :default e\n (maybe-warn e))))\n (unchecked-get array idx))\n ([array idx & idxs]\n (apply checked-aget (checked-aget array idx) idxs)))\n\n(defn- checked-aset\n ([array idx val]\n (when-assert\n (try\n (assert (or (array? array) (goog/isArrayLike array)))\n (assert (number? idx))\n (assert (not (neg? idx)))\n (assert (< idx (alength array)))\n (catch :default e\n (maybe-warn e))))\n (unchecked-set array idx val))\n ([array idx idx2 & idxv]\n (apply checked-aset (checked-aget array idx) idx2 idxv)))\n\n(defn- checked-aget'\n ([array idx]\n {:pre [(or (array? array) (goog/isArrayLike array))\n (number? idx) (not (neg? idx)) (< idx (alength array))]}\n (unchecked-get array idx))\n ([array idx & idxs]\n (apply checked-aget' (checked-aget' array idx) idxs)))\n\n(defn- checked-aset'\n ([array idx val]\n {:pre [(or (array? array) (goog/isArrayLike array))\n (number? idx) (not (neg? idx)) (< idx (alength array))]}\n (unchecked-set array idx val))\n ([array idx idx2 & idxv]\n (apply checked-aset' (checked-aget' array idx) idx2 idxv)))\n\n(defn aget\n \"Returns the value at the index/indices. Works on JavaScript arrays.\"\n ([array idx]\n (cljs.core/aget array idx))\n ([array idx & idxs]\n (apply aget (aget array idx) idxs)))\n\n(defn aset\n \"Sets the value at the index/indices. Works on JavaScript arrays.\n Returns val.\"\n ([array idx val]\n (cljs.core/aset array idx val))\n ([array idx idx2 & idxv]\n (apply aset (aget array idx) idx2 idxv)))\n\n(defn ^number alength\n \"Returns the length of the array. Works on arrays of all types.\"\n [array]\n (cljs.core/alength array))\n\n(declare reduce)\n\n(defn ^array into-array\n \"Returns an array with components set to the values in aseq. Optional type\n argument accepted for compatibility with Clojure.\"\n ([aseq]\n (into-array nil aseq))\n ([type aseq]\n (reduce (fn [a x] (.push a x) a) (array) aseq)))\n\n(defn js-invoke\n \"Invoke JavaScript object method via string. Needed when the\n string is not a valid unquoted property name.\"\n [obj s & args]\n (.apply (unchecked-get obj s) obj (into-array args)))\n\n(defn js-symbol?\n \"Returns true if x is an instance of Symbol\"\n [x]\n (or (identical? (goog/typeOf x) \"symbol\")\n (and (exists? js/Symbol)\n (instance? js/Symbol x))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;; core protocols ;;;;;;;;;;;;;\n\n(defprotocol Fn\n \"Marker protocol\")\n\n(defprotocol IFn\n \"Protocol for adding the ability to invoke an object as a function.\n For example, a vector can also be used to look up a value:\n ([1 2 3 4] 1) => 2\"\n (-invoke\n [this]\n [this a]\n [this a b]\n [this a b c]\n [this a b c d]\n [this a b c d e]\n [this a b c d e f]\n [this a b c d e f g]\n [this a b c d e f g h]\n [this a b c d e f g h i]\n [this a b c d e f g h i j]\n [this a b c d e f g h i j k]\n [this a b c d e f g h i j k l]\n [this a b c d e f g h i j k l m]\n [this a b c d e f g h i j k l m n]\n [this a b c d e f g h i j k l m n o]\n [this a b c d e f g h i j k l m n o p]\n [this a b c d e f g h i j k l m n o p q]\n [this a b c d e f g h i j k l m n o p q r]\n [this a b c d e f g h i j k l m n o p q r s]\n [this a b c d e f g h i j k l m n o p q r s t]\n [this a b c d e f g h i j k l m n o p q r s t rest]))\n\n(defprotocol ICloneable\n \"Protocol for cloning a value.\"\n (^clj -clone [value]\n \"Creates a clone of value.\"))\n\n(defprotocol ICounted\n \"Protocol for adding the ability to count a collection in constant time.\"\n (^number -count [coll]\n \"Calculates the count of coll in constant time. Used by cljs.core/count.\"))\n\n(defprotocol IEmptyableCollection\n \"Protocol for creating an empty collection.\"\n (-empty [coll]\n \"Returns an empty collection of the same category as coll. Used\n by cljs.core/empty.\"))\n\n(defprotocol ICollection\n \"Protocol for adding to a collection.\"\n (^clj -conj [coll o]\n \"Returns a new collection of coll with o added to it. The new item\n should be added to the most efficient place, e.g.\n (conj [1 2 3 4] 5) => [1 2 3 4 5]\n (conj '(2 3 4 5) 1) => '(1 2 3 4 5)\"))\n\n#_(defprotocol IOrdinal\n (-index [coll]))\n\n(defprotocol IIndexed\n \"Protocol for collections to provide indexed-based access to their items.\"\n (-nth [coll n] [coll n not-found]\n \"Returns the value at the index n in the collection coll.\n Returns not-found if index n is out of bounds and not-found is supplied.\"))\n\n(defprotocol ASeq\n \"Marker protocol indicating an array sequence.\")\n\n(defprotocol ISeq\n \"Protocol for collections to provide access to their items as sequences.\"\n (-first [coll]\n \"Returns the first item in the collection coll. Used by cljs.core/first.\")\n (^clj -rest [coll]\n \"Returns a new collection of coll without the first item. It should\n always return a seq, e.g.\n (rest []) => ()\n (rest nil) => ()\"))\n\n(defprotocol INext\n \"Protocol for accessing the next items of a collection.\"\n (^clj-or-nil -next [coll]\n \"Returns a new collection of coll without the first item. In contrast to\n rest, it should return nil if there are no more items, e.g.\n (next []) => nil\n (next nil) => nil\"))\n\n(defprotocol ILookup\n \"Protocol for looking up a value in a data structure.\"\n (-lookup [o k] [o k not-found]\n \"Use k to look up a value in o. If not-found is supplied and k is not\n a valid value that can be used for look up, not-found is returned.\"))\n\n(defprotocol IAssociative\n \"Protocol for adding associativity to collections.\"\n (^boolean -contains-key? [coll k]\n \"Returns true if k is a key in coll.\")\n #_(-entry-at [coll k])\n (^clj -assoc [coll k v]\n \"Returns a new collection of coll with a mapping from key k to\n value v added to it.\"))\n\n(defprotocol IFind\n \"Protocol for implementing entry finding in collections.\"\n (-find [coll k] \"Returns the map entry for key, or nil if key not present.\"))\n\n(defprotocol IMap\n \"Protocol for adding mapping functionality to collections.\"\n #_(-assoc-ex [coll k v])\n (^clj -dissoc [coll k]\n \"Returns a new collection of coll without the mapping for key k.\"))\n\n(defprotocol IMapEntry\n \"Protocol for examining a map entry.\"\n (-key [coll]\n \"Returns the key of the map entry.\")\n (-val [coll]\n \"Returns the value of the map entry.\"))\n\n(defprotocol ISet\n \"Protocol for adding set functionality to a collection.\"\n (^clj -disjoin [coll v]\n \"Returns a new collection of coll that does not contain v.\"))\n\n(defprotocol IStack\n \"Protocol for collections to provide access to their items as stacks. The top\n of the stack should be accessed in the most efficient way for the different\n data structures.\"\n (-peek [coll]\n \"Returns the item from the top of the stack. Is used by cljs.core/peek.\")\n (^clj -pop [coll]\n \"Returns a new stack without the item on top of the stack. Is used\n by cljs.core/pop.\"))\n\n(defprotocol IVector\n \"Protocol for adding vector functionality to collections.\"\n (^clj -assoc-n [coll n val]\n \"Returns a new vector with value val added at position n.\"))\n\n(defprotocol IDeref\n \"Protocol for adding dereference functionality to a reference.\"\n (-deref [o]\n \"Returns the value of the reference o.\"))\n\n(defprotocol IDerefWithTimeout\n (-deref-with-timeout [o msec timeout-val]))\n\n(defprotocol IMeta\n \"Protocol for accessing the metadata of an object.\"\n (^clj-or-nil -meta [o]\n \"Returns the metadata of object o.\"))\n\n(defprotocol IWithMeta\n \"Protocol for adding metadata to an object.\"\n (^clj -with-meta [o meta]\n \"Returns a new object with value of o and metadata meta added to it.\"))\n\n(defprotocol IReduce\n \"Protocol for seq types that can reduce themselves.\n Called by cljs.core/reduce.\"\n (-reduce [coll f] [coll f start]\n \"f should be a function of 2 arguments. If start is not supplied,\n returns the result of applying f to the first 2 items in coll, then\n applying f to that result and the 3rd item, etc.\"))\n\n(defprotocol IKVReduce\n \"Protocol for associative types that can reduce themselves\n via a function of key and val. Called by cljs.core/reduce-kv.\"\n (-kv-reduce [coll f init]\n \"Reduces an associative collection and returns the result. f should be\n a function that takes three arguments.\"))\n\n(defprotocol IEquiv\n \"Protocol for adding value comparison functionality to a type.\"\n (^boolean -equiv [o other]\n \"Returns true if o and other are equal, false otherwise.\"))\n\n(defprotocol IHash\n \"Protocol for adding hashing functionality to a type.\"\n (-hash [o]\n \"Returns the hash code of o.\"))\n\n(defprotocol ISeqable\n \"Protocol for adding the ability to a type to be transformed into a sequence.\"\n (^clj-or-nil -seq [o]\n \"Returns a seq of o, or nil if o is empty.\"))\n\n(defprotocol ISequential\n \"Marker interface indicating a persistent collection of sequential items\")\n\n(defprotocol IList\n \"Marker interface indicating a persistent list\")\n\n(defprotocol IRecord\n \"Marker interface indicating a record object\")\n\n(defprotocol IReversible\n \"Protocol for reversing a seq.\"\n (^clj -rseq [coll]\n \"Returns a seq of the items in coll in reversed order.\"))\n\n(defprotocol ISorted\n \"Protocol for a collection which can represent their items\n in a sorted manner. \"\n (^clj -sorted-seq [coll ascending?]\n \"Returns a sorted seq from coll in either ascending or descending order.\")\n (^clj -sorted-seq-from [coll k ascending?]\n \"Returns a sorted seq from coll in either ascending or descending order.\n If ascending is true, the result should contain all items which are > or >=\n than k. If ascending is false, the result should contain all items which\n are < or <= than k, e.g.\n (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 true) => (3 4 5)\n (-sorted-seq-from (sorted-set 1 2 3 4 5) 3 false) => (3 2 1)\")\n (-entry-key [coll entry]\n \"Returns the key for entry.\")\n (-comparator [coll]\n \"Returns the comparator for coll.\"))\n\n(defprotocol IWriter\n \"Protocol for writing. Currently only implemented by StringBufferWriter.\"\n (-write [writer s]\n \"Writes s with writer and returns the result.\")\n (-flush [writer]\n \"Flush writer.\"))\n\n(defprotocol IPrintWithWriter\n \"The old IPrintable protocol's implementation consisted of building a giant\n list of strings to concatenate. This involved lots of concat calls,\n intermediate vectors, and lazy-seqs, and was very slow in some older JS\n engines. IPrintWithWriter implements printing via the IWriter protocol, so it\n be implemented efficiently in terms of e.g. a StringBuffer append.\"\n (-pr-writer [o writer opts]))\n\n(defprotocol IPending\n \"Protocol for types which can have a deferred realization. Currently only\n implemented by Delay and LazySeq.\"\n (^boolean -realized? [x]\n \"Returns true if a value for x has been produced, false otherwise.\"))\n\n(defprotocol IWatchable\n \"Protocol for types that can be watched. Currently only implemented by Atom.\"\n (-notify-watches [this oldval newval]\n \"Calls all watchers with this, oldval and newval.\")\n (-add-watch [this key f]\n \"Adds a watcher function f to this. Keys must be unique per reference,\n and can be used to remove the watch with -remove-watch.\")\n (-remove-watch [this key]\n \"Removes watcher that corresponds to key from this.\"))\n\n(defprotocol IEditableCollection\n \"Protocol for collections which can transformed to transients.\"\n (^clj -as-transient [coll]\n \"Returns a new, transient version of the collection, in constant time.\"))\n\n(defprotocol ITransientCollection\n \"Protocol for adding basic functionality to transient collections.\"\n (^clj -conj! [tcoll val]\n \"Adds value val to tcoll and returns tcoll.\")\n (^clj -persistent! [tcoll]\n \"Creates a persistent data structure from tcoll and returns it.\"))\n\n(defprotocol ITransientAssociative\n \"Protocol for adding associativity to transient collections.\"\n (^clj -assoc! [tcoll key val]\n \"Returns a new transient collection of tcoll with a mapping from key to\n val added to it.\"))\n\n(defprotocol ITransientMap\n \"Protocol for adding mapping functionality to transient collections.\"\n (^clj -dissoc! [tcoll key]\n \"Returns a new transient collection of tcoll without the mapping for key.\"))\n\n(defprotocol ITransientVector\n \"Protocol for adding vector functionality to transient collections.\"\n (^clj -assoc-n! [tcoll n val]\n \"Returns tcoll with value val added at position n.\")\n (^clj -pop! [tcoll]\n \"Returns tcoll with the last item removed from it.\"))\n\n(defprotocol ITransientSet\n \"Protocol for adding set functionality to a transient collection.\"\n (^clj -disjoin! [tcoll v]\n \"Returns tcoll without v.\"))\n\n(defprotocol IComparable\n \"Protocol for values that can be compared.\"\n (^number -compare [x y]\n \"Returns a negative number, zero, or a positive number when x is logically\n 'less than', 'equal to', or 'greater than' y.\"))\n\n(defprotocol IChunk\n \"Protocol for accessing the items of a chunk.\"\n (-drop-first [coll]\n \"Return a new chunk of coll with the first item removed.\"))\n\n(defprotocol IChunkedSeq\n \"Protocol for accessing a collection as sequential chunks.\"\n (-chunked-first [coll]\n \"Returns the first chunk in coll.\")\n (-chunked-rest [coll]\n \"Return a new collection of coll with the first chunk removed.\"))\n\n(defprotocol IChunkedNext\n \"Protocol for accessing the chunks of a collection.\"\n (-chunked-next [coll]\n \"Returns a new collection of coll without the first chunk.\"))\n\n(defprotocol INamed\n \"Protocol for adding a name.\"\n (^string -name [x]\n \"Returns the name String of x.\")\n ( ^{:tag #{string clj-nil}}-namespace [x]\n \"Returns the namespace String of x.\"))\n\n(defprotocol IAtom\n \"Marker protocol indicating an atom.\")\n\n(defprotocol IReset\n \"Protocol for adding resetting functionality.\"\n (-reset! [o new-value]\n \"Sets the value of o to new-value.\"))\n\n(defprotocol ISwap\n \"Protocol for adding swapping functionality.\"\n (-swap! [o f] [o f a] [o f a b] [o f a b xs]\n \"Swaps the value of o to be (apply f current-value-of-atom args).\"))\n\n(defprotocol IVolatile\n \"Protocol for adding volatile functionality.\"\n (-vreset! [o new-value]\n \"Sets the value of volatile o to new-value without regard for the\n current value. Returns new-value.\"))\n\n(defprotocol IIterable\n \"Protocol for iterating over a collection.\"\n (-iterator [coll]\n \"Returns an iterator for coll.\"))\n\n;; Printing support\n\n(deftype StringBufferWriter [sb]\n IWriter\n (-write [_ s] (.append sb s))\n (-flush [_] nil))\n\n(defn pr-str*\n \"Support so that collections can implement toString without\n loading all the printing machinery.\"\n [^not-native obj]\n (let [sb (StringBuffer.)\n writer (StringBufferWriter. sb)]\n (-pr-writer obj writer (pr-opts))\n (-flush writer)\n (str sb)))\n\n;;;;;;;;;;;;;;;;;;; Murmur3 ;;;;;;;;;;;;;;;\n\n;;http://hg.openjdk.java.net/jdk7u/jdk7u6/jdk/file/8c2c5d63a17e/src/share/classes/java/lang/Integer.java\n(defn ^number int-rotate-left [x n]\n (bit-or\n (bit-shift-left x n)\n (unsigned-bit-shift-right x (- n))))\n\n;; http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul\n(if (and (exists? Math/imul)\n (not (zero? (Math/imul 0xffffffff 5))))\n (defn ^number imul [a b] (Math/imul a b))\n (defn ^number imul [a b]\n (let [ah (bit-and (unsigned-bit-shift-right a 16) 0xffff)\n al (bit-and a 0xffff)\n bh (bit-and (unsigned-bit-shift-right b 16) 0xffff)\n bl (bit-and b 0xffff)]\n (bit-or\n (+ (* al bl)\n (unsigned-bit-shift-right\n (bit-shift-left (+ (* ah bl) (* al bh)) 16) 0)) 0))))\n\n;; http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp\n(def m3-seed 0)\n(def m3-C1 (int 0xcc9e2d51))\n(def m3-C2 (int 0x1b873593))\n\n(defn ^number m3-mix-K1 [k1]\n (-> (int k1) (imul m3-C1) (int-rotate-left 15) (imul m3-C2)))\n\n(defn ^number m3-mix-H1 [h1 k1]\n (int (-> (int h1) (bit-xor (int k1)) (int-rotate-left 13) (imul 5) (+ (int 0xe6546b64)))))\n\n(defn ^number m3-fmix [h1 len]\n (as-> (int h1) h1\n (bit-xor h1 len)\n (bit-xor h1 (unsigned-bit-shift-right h1 16))\n (imul h1 (int 0x85ebca6b))\n (bit-xor h1 (unsigned-bit-shift-right h1 13))\n (imul h1 (int 0xc2b2ae35))\n (bit-xor h1 (unsigned-bit-shift-right h1 16))))\n\n(defn ^number m3-hash-int [in]\n (if (zero? in)\n in\n (let [k1 (m3-mix-K1 in)\n h1 (m3-mix-H1 m3-seed k1)]\n (m3-fmix h1 4))))\n\n(defn ^number m3-hash-unencoded-chars [in]\n (let [h1 (loop [i 1 h1 m3-seed]\n (if (< i (.-length in))\n (recur (+ i 2)\n (m3-mix-H1 h1\n (m3-mix-K1\n (bit-or (.charCodeAt in (dec i))\n (bit-shift-left (.charCodeAt in i) 16)))))\n h1))\n h1 (if (== (bit-and (.-length in) 1) 1)\n (bit-xor h1 (m3-mix-K1 (.charCodeAt in (dec (.-length in)))))\n h1)]\n (m3-fmix h1 (imul 2 (.-length in)))))\n\n;;;;;;;;;;;;;;;;;;; symbols ;;;;;;;;;;;;;;;\n\n(declare list Symbol = compare)\n\n;; Simple caching of string hashcode\n(def string-hash-cache (js-obj))\n(def string-hash-cache-count 0)\n\n;;http://hg.openjdk.java.net/jdk7u/jdk7u6/jdk/file/8c2c5d63a17e/src/share/classes/java/lang/String.java\n(defn hash-string* [s]\n (if-not (nil? s)\n (let [len (.-length s)]\n (if (pos? len)\n (loop [i 0 hash 0]\n (if (< i len)\n (recur (inc i) (+ (imul 31 hash) (.charCodeAt s i)))\n hash))\n 0))\n 0))\n\n(defn add-to-string-hash-cache [k]\n (let [h (hash-string* k)]\n (gobject/set string-hash-cache k h)\n (set! string-hash-cache-count (inc string-hash-cache-count))\n h))\n\n(defn hash-string [k]\n (when (> string-hash-cache-count 255)\n (set! string-hash-cache (js-obj))\n (set! string-hash-cache-count 0))\n (if (nil? k)\n 0\n (let [h (unchecked-get string-hash-cache k)]\n (if (number? h)\n h\n (add-to-string-hash-cache k)))))\n\n(defn hash\n \"Returns the hash code of its argument. Note this is the hash code\n consistent with =.\"\n [o]\n (cond\n (implements? IHash o)\n (bit-xor (-hash o) 0)\n\n (number? o)\n (if ^boolean (js/isFinite o)\n (js-mod (Math/floor o) 2147483647)\n (case o\n ##Inf\n 2146435072\n ##-Inf\n -1048576\n 2146959360))\n\n ;; note: mirrors Clojure's behavior on the JVM, where the hashCode is\n ;; 1231 for true and 1237 for false\n ;; http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html#hashCode%28%29\n (true? o) 1231\n\n (false? o) 1237\n\n (string? o)\n (m3-hash-int (hash-string o))\n\n (instance? js/Date o)\n (bit-xor (.valueOf o) 0)\n\n (nil? o) 0\n\n :else\n (bit-xor (-hash o) 0)))\n\n(defn hash-combine [seed hash]\n ; a la boost\n (bit-xor seed\n (+ hash 0x9e3779b9\n (bit-shift-left seed 6)\n (bit-shift-right seed 2))))\n\n(defn ^boolean instance?\n \"Evaluates x and tests if it is an instance of the type\n c. Returns true or false\"\n [c x]\n (cljs.core/instance? c x))\n\n(defn ^boolean symbol?\n \"Return true if x is a Symbol\"\n [x]\n (instance? Symbol x))\n\n(defn- hash-symbol [sym]\n (hash-combine\n (m3-hash-unencoded-chars (.-name sym))\n (hash-string (.-ns sym))))\n\n(defn- compare-symbols [a b]\n (cond\n (identical? (.-str a) (.-str b)) 0\n (and (not (.-ns a)) (.-ns b)) -1\n (.-ns a) (if-not (.-ns b)\n 1\n (let [nsc (garray/defaultCompare (.-ns a) (.-ns b))]\n (if (== 0 nsc)\n (garray/defaultCompare (.-name a) (.-name b))\n nsc)))\n :default (garray/defaultCompare (.-name a) (.-name b))))\n\n(declare get)\n\n(deftype Symbol [ns name str ^:mutable _hash _meta]\n Object\n (toString [_] str)\n (equiv [this other] (-equiv this other))\n\n IEquiv\n (-equiv [_ other]\n (if (instance? Symbol other)\n (identical? str (.-str other))\n false))\n\n IFn\n (-invoke [sym coll]\n (get coll sym))\n (-invoke [sym coll not-found]\n (get coll sym not-found))\n\n IMeta\n (-meta [_] _meta)\n\n IWithMeta\n (-with-meta [_ new-meta] (Symbol. ns name str _hash new-meta))\n\n IHash\n (-hash [sym]\n (caching-hash sym hash-symbol _hash))\n\n INamed\n (-name [_] name)\n (-namespace [_] ns)\n\n IPrintWithWriter\n (-pr-writer [o writer _] (-write writer str)))\n\n(defn var?\n \"Returns true if v is of type cljs.core.Var\"\n [v]\n (instance? cljs.core.Var v))\n\n(defn symbol\n \"Returns a Symbol with the given namespace and name. Arity-1 works\n on strings, keywords, and vars.\"\n ([name]\n (cond (symbol? name) name\n (string? name) (let [idx (.indexOf name \"/\")]\n (if (< idx 1)\n (symbol nil name)\n (symbol (.substring name 0 idx)\n (.substring name (inc idx) (. name -length)))))\n (var? name) (.-sym name)\n (keyword? name) (recur (.-fqn name))\n :else (throw (new js/Error \"no conversion to symbol\"))))\n ([ns name]\n (let [sym-str (if-not (nil? ns)\n (str ns \"/\" name)\n name)]\n (Symbol. ns name sym-str nil nil))))\n\n(deftype Var [val sym _meta]\n Object\n (isMacro [_]\n (. (val) -cljs$lang$macro))\n (toString [_]\n (str \"#'\" sym))\n IDeref\n (-deref [_] (val))\n IMeta\n (-meta [_] _meta)\n IWithMeta\n (-with-meta [_ new-meta]\n (Var. val sym new-meta))\n IEquiv\n (-equiv [this other]\n (if (instance? Var other)\n (= (.-sym this) (.-sym other))\n false))\n IHash\n (-hash [_]\n (hash-symbol sym))\n Fn\n IFn\n (-invoke [_]\n ((val)))\n (-invoke [_ a]\n ((val) a))\n (-invoke [_ a b]\n ((val) a b))\n (-invoke [_ a b c]\n ((val) a b c))\n (-invoke [_ a b c d]\n ((val) a b c d))\n (-invoke [_ a b c d e]\n ((val) a b c d e))\n (-invoke [_ a b c d e f]\n ((val) a b c d e f))\n (-invoke [_ a b c d e f g]\n ((val) a b c d e f g))\n (-invoke [_ a b c d e f g h]\n ((val) a b c d e f g h))\n (-invoke [_ a b c d e f g h i]\n ((val) a b c d e f g h i))\n (-invoke [_ a b c d e f g h i j]\n ((val) a b c d e f g h i j))\n (-invoke [_ a b c d e f g h i j k]\n ((val) a b c d e f g h i j k))\n (-invoke [_ a b c d e f g h i j k l]\n ((val) a b c d e f g h i j k l))\n (-invoke [_ a b c d e f g h i j k l m]\n ((val) a b c d e f g h i j k l m))\n (-invoke [_ a b c d e f g h i j k l m n]\n ((val) a b c d e f g h i j k l m n))\n (-invoke [_ a b c d e f g h i j k l m n o]\n ((val) a b c d e f g h i j k l m n o))\n (-invoke [_ a b c d e f g h i j k l m n o p]\n ((val) a b c d e f g h i j k l m n o p))\n (-invoke [_ a b c d e f g h i j k l m n o p q]\n ((val) a b c d e f g h i j k l m n o p q))\n (-invoke [_ a b c d e f g h i j k l m n o p q r]\n ((val) a b c d e f g h i j k l m n o p q r))\n (-invoke [_ a b c d e f g h i j k l m n o p q r s]\n ((val) a b c d e f g h i j k l m n o p q r s))\n (-invoke [_ a b c d e f g h i j k l m n o p q r s t]\n ((val) a b c d e f g h i j k l m n o p q r s t))\n (-invoke [_ a b c d e f g h i j k l m n o p q r s t rest]\n (apply (val) a b c d e f g h i j k l m n o p q r s t rest)))\n\n;;;;;;;;;;;;;;;;;;; fundamentals ;;;;;;;;;;;;;;;\n\n(declare array-seq prim-seq IndexedSeq)\n\n(defn iterable?\n \"Return true if x implements IIterable protocol.\"\n [x]\n (satisfies? IIterable x))\n\n(defn js-iterable?\n \"Return true if x has a JavaScript iterator property\"\n [x]\n (and (not (nil? x))\n (not (nil? (js* \"~{}[~{}]\" x ITER_SYMBOL)))))\n\n(defn clone\n \"Clone the supplied value which must implement ICloneable.\"\n [value]\n (-clone value))\n\n(defn cloneable?\n \"Return true if x implements ICloneable protocol.\"\n [value]\n (satisfies? ICloneable value))\n\n(declare es6-iterator-seq)\n\n(defn ^seq seq\n \"Returns a seq on the collection. If the collection is\n empty, returns nil. (seq nil) returns nil. seq also works on\n Strings.\"\n [coll]\n (when-not (nil? coll)\n (cond\n (implements? ISeqable coll)\n (-seq coll)\n\n (array? coll)\n (when-not (zero? (alength coll))\n (IndexedSeq. coll 0 nil))\n\n (string? coll)\n (when-not (zero? (.-length coll))\n (IndexedSeq. coll 0 nil))\n\n (js-iterable? coll)\n (es6-iterator-seq\n (.call (gobject/get coll ITER_SYMBOL) coll))\n\n (native-satisfies? ISeqable coll)\n (-seq coll)\n\n :else (throw (js/Error. (str coll \" is not ISeqable\"))))))\n\n(defn first\n \"Returns the first item in the collection. Calls seq on its\n argument. If coll is nil, returns nil.\"\n [coll]\n (when-not (nil? coll)\n (if (implements? ISeq coll)\n (-first coll)\n (let [s (seq coll)]\n (when-not (nil? s)\n (-first s))))))\n\n(defn ^seq rest\n \"Returns a possibly empty seq of the items after the first. Calls seq on its\n argument.\"\n [coll]\n (if-not (nil? coll)\n (if (implements? ISeq coll)\n (-rest coll)\n (let [s (seq coll)]\n (if s\n (-rest ^not-native s)\n ())))\n ()))\n\n(defn ^seq next\n \"Returns a seq of the items after the first. Calls seq on its\n argument. If there are no more items, returns nil\"\n [coll]\n (when-not (nil? coll)\n (if (implements? INext coll)\n (-next coll)\n (seq (rest coll)))))\n\n(defn ^boolean =\n \"Equality. Returns true if x equals y, false if not. Compares\n numbers and collections in a type-independent manner. Clojure's immutable data\n structures define -equiv (and thus =) as a value, not an identity,\n comparison.\"\n ([x] true)\n ([x y]\n (if (nil? x)\n (nil? y)\n (or (identical? x y)\n ^boolean (-equiv x y))))\n ([x y & more]\n (if (= x y)\n (if (next more)\n (recur y (first more) (next more))\n (= y (first more)))\n false)))\n\n;; EXPERIMENTAL: subject to change\n(deftype ES6Iterator [^:mutable s]\n Object\n (next [_]\n (if-not (nil? s)\n (let [x (first s)]\n (set! s (next s))\n #js {:value x :done false})\n #js {:value nil :done true})))\n\n(defn es6-iterator\n \"EXPERIMENTAL: Return a ES2015 compatible iterator for coll.\"\n [coll]\n (ES6Iterator. (seq coll)))\n\n(deftype ES6IteratorSeq [value iter ^:mutable _rest]\n ISeqable\n (-seq [this] this)\n ISeq\n (-first [_] value)\n (-rest [_]\n (when (nil? _rest)\n (set! _rest (es6-iterator-seq iter)))\n _rest))\n\n(defn es6-iterator-seq\n \"EXPERIMENTAL: Given an ES2015 compatible iterator return a seq.\"\n [iter]\n (let [v (.next iter)]\n (if (.-done v)\n nil\n (ES6IteratorSeq. (.-value v) iter nil))))\n\n;;;;;;;;;;;;;;;;;;; Murmur3 Helpers ;;;;;;;;;;;;;;;;\n\n(defn ^number mix-collection-hash\n \"Mix final collection hash for ordered or unordered collections.\n hash-basis is the combined collection hash, count is the number\n of elements included in the basis. Note this is the hash code\n consistent with =, different from .hashCode.\n See http://clojure.org/data_structures#hash for full algorithms.\"\n [hash-basis count]\n (let [h1 m3-seed\n k1 (m3-mix-K1 hash-basis)\n h1 (m3-mix-H1 h1 k1)]\n (m3-fmix h1 count)))\n\n(defn ^number hash-ordered-coll\n \"Returns the hash code, consistent with =, for an external ordered\n collection implementing Iterable.\n See http://clojure.org/data_structures#hash for full algorithms.\"\n [coll]\n (loop [n 0 hash-code 1 coll (seq coll)]\n (if-not (nil? coll)\n (recur (inc n) (bit-or (+ (imul 31 hash-code) (hash (first coll))) 0)\n (next coll))\n (mix-collection-hash hash-code n))))\n\n(def ^:private empty-ordered-hash\n (mix-collection-hash 1 0))\n\n(defn ^number hash-unordered-coll\n \"Returns the hash code, consistent with =, for an external unordered\n collection implementing Iterable. For maps, the iterator should\n return map entries whose hash is computed as\n (hash-ordered-coll [k v]).\n See http://clojure.org/data_structures#hash for full algorithms.\"\n [coll]\n (loop [n 0 hash-code 0 coll (seq coll)]\n (if-not (nil? coll)\n (recur (inc n) (bit-or (+ hash-code (hash (first coll))) 0) (next coll))\n (mix-collection-hash hash-code n))))\n\n(def ^:private empty-unordered-hash\n (mix-collection-hash 0 0))\n\n;;;;;;;;;;;;;;;;;;; protocols on primitives ;;;;;;;;\n(declare hash-map list equiv-sequential)\n\n(extend-type nil\n ICounted\n (-count [_] 0))\n\n;; TODO: we should remove this and handle date equality checking\n;; by some other means, probably by adding a new primitive type\n;; case to the hash table lookup - David\n\n(extend-type js/Date\n IEquiv\n (-equiv [o other]\n (and (instance? js/Date other)\n (== (.valueOf o) (.valueOf other))))\n\n IComparable\n (-compare [this other]\n (if (instance? js/Date other)\n (garray/defaultCompare (.valueOf this) (.valueOf other))\n (throw (js/Error. (str \"Cannot compare \" this \" to \" other))))))\n\n(defprotocol Inst\n (inst-ms* [inst]))\n\n(extend-protocol Inst\n js/Date\n (inst-ms* [inst] (.getTime inst)))\n\n(defn inst-ms\n \"Return the number of milliseconds since January 1, 1970, 00:00:00 GMT\"\n [inst]\n (inst-ms* inst))\n\n(defn inst?\n \"Return true if x satisfies Inst\"\n [x]\n (satisfies? Inst x))\n\n(extend-type number\n IEquiv\n (-equiv [x o] (identical? x o)))\n\n(declare with-meta)\n\n(extend-type function\n Fn\n IMeta\n (-meta [_] nil))\n\n(extend-type default\n IHash\n (-hash [o]\n (goog/getUid o)))\n\n;;this is primitive because & emits call to array-seq\n(defn inc\n \"Returns a number one greater than num.\"\n [x] (cljs.core/+ x 1))\n\n(declare deref)\n\n(deftype Reduced [val]\n IDeref\n (-deref [o] val))\n\n(defn reduced\n \"Wraps x in a way such that a reduce will terminate with the value x\"\n [x]\n (Reduced. x))\n\n(defn reduced?\n \"Returns true if x is the result of a call to reduced\"\n [r]\n (instance? Reduced r))\n\n(defn ensure-reduced\n \"If x is already reduced?, returns it, else returns (reduced x)\"\n [x]\n (if (reduced? x) x (reduced x)))\n\n(defn unreduced\n \"If x is reduced?, returns (deref x), else returns x\"\n [x]\n (if (reduced? x) (deref x) x))\n\n;; generic to all refs\n;; (but currently hard-coded to atom!)\n(defn deref\n \"Also reader macro: @var/@atom/@delay. Returns the\n most-recently-committed value of ref. When applied to a var\n or atom, returns its current state. When applied to a delay, forces\n it if not already forced. See also - realized?.\"\n [o]\n (-deref o))\n\n(defn- ci-reduce\n \"Accepts any collection which satisfies the ICount and IIndexed protocols and\nreduces them without incurring seq initialization\"\n ([^not-native cicoll f]\n (let [cnt (-count cicoll)]\n (if (zero? cnt)\n (f)\n (loop [val (-nth cicoll 0), n 1]\n (if (< n cnt)\n (let [nval (f val (-nth cicoll n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val)))))\n ([^not-native cicoll f val]\n (let [cnt (-count cicoll)]\n (loop [val val, n 0]\n (if (< n cnt)\n (let [nval (f val (-nth cicoll n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val)))))\n\n(defn- array-reduce\n ([arr f]\n (let [cnt (alength arr)]\n (if (zero? (alength arr))\n (f)\n (loop [val (aget arr 0), n 1]\n (if (< n cnt)\n (let [nval (f val (aget arr n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val)))))\n ([arr f val]\n (let [cnt (alength arr)]\n (loop [val val, n 0]\n (if (< n cnt)\n (let [nval (f val (aget arr n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val))))\n ([arr f val idx]\n (let [cnt (alength arr)]\n (loop [val val, n idx]\n (if (< n cnt)\n (let [nval (f val (aget arr n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val)))))\n\n(declare hash-coll cons drop count nth RSeq List)\n\n(defn counted?\n \"Returns true if coll implements count in constant time\"\n [x] (satisfies? ICounted x))\n\n(defn indexed?\n \"Returns true if coll implements nth in constant time\"\n [x] (satisfies? IIndexed x))\n\n(defn- -indexOf\n ([coll x]\n (-indexOf coll x 0))\n ([coll x start]\n (let [len (count coll)]\n (if (>= start len)\n -1\n (loop [idx (cond\n (pos? start) start\n (neg? start) (max 0 (+ start len))\n :else start)]\n (if (< idx len)\n (if (= (nth coll idx) x)\n idx\n (recur (inc idx)))\n -1))))))\n\n(defn- -lastIndexOf\n ([coll x]\n (-lastIndexOf coll x (count coll)))\n ([coll x start]\n (let [len (count coll)]\n (if (zero? len)\n -1\n (loop [idx (cond\n (pos? start) (min (dec len) start)\n (neg? start) (+ len start)\n :else start)]\n (if (>= idx 0)\n (if (= (nth coll idx) x)\n idx\n (recur (dec idx)))\n -1))))))\n\n(deftype IndexedSeqIterator [arr ^:mutable i]\n Object\n (hasNext [_]\n (< i (alength arr)))\n (next [_]\n (let [ret (aget arr i)]\n (set! i (inc i))\n ret)))\n\n(deftype IndexedSeq [arr i meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n ICloneable\n (-clone [_] (IndexedSeq. arr i meta))\n\n ISeqable\n (-seq [this]\n (when (< i (alength arr))\n this))\n\n IMeta\n (-meta [coll] meta)\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (IndexedSeq. arr i new-meta)))\n\n ASeq\n ISeq\n (-first [_] (aget arr i))\n (-rest [_] (if (< (inc i) (alength arr))\n (IndexedSeq. arr (inc i) nil)\n (list)))\n\n INext\n (-next [_] (if (< (inc i) (alength arr))\n (IndexedSeq. arr (inc i) nil)\n nil))\n\n ICounted\n (-count [_]\n (max 0 (- (alength arr) i)))\n\n IIndexed\n (-nth [coll n]\n (let [i (+ n i)]\n (if (and (<= 0 i) (< i (alength arr)))\n (aget arr i)\n (throw (js/Error. \"Index out of bounds\")))))\n (-nth [coll n not-found]\n (let [i (+ n i)]\n (if (and (<= 0 i) (< i (alength arr)))\n (aget arr i)\n not-found)))\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IIterable\n (-iterator [coll]\n (IndexedSeqIterator. arr i))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IReduce\n (-reduce [coll f]\n (array-reduce arr f (aget arr i) (inc i)))\n (-reduce [coll f start]\n (array-reduce arr f start i))\n\n IHash\n (-hash [coll] (hash-ordered-coll coll))\n\n IReversible\n (-rseq [coll]\n (let [c (-count coll)]\n (if (pos? c)\n (RSeq. coll (dec c) nil)))))\n\n(es6-iterable IndexedSeq)\n\n(defn prim-seq\n \"Create seq from a primitive JavaScript Array-like.\"\n ([prim]\n (prim-seq prim 0))\n ([prim i]\n (when (< i (alength prim))\n (IndexedSeq. prim i nil))))\n\n(defn array-seq\n \"Create a seq from a JavaScript array.\"\n ([array]\n (prim-seq array 0))\n ([array i]\n (prim-seq array i)))\n\n(declare with-meta seq-reduce)\n\n(deftype RSeq [ci i meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n ICloneable\n (-clone [_] (RSeq. ci i meta))\n\n IMeta\n (-meta [coll] meta)\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (RSeq. ci i new-meta)))\n\n ISeqable\n (-seq [coll] coll)\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n ISeq\n (-first [coll]\n (-nth ci i))\n (-rest [coll]\n (if (pos? i)\n (RSeq. ci (dec i) nil)\n ()))\n\n INext\n (-next [coll]\n (when (pos? i)\n (RSeq. ci (dec i) nil)))\n\n ICounted\n (-count [coll] (inc i))\n\n ICollection\n (-conj [coll o]\n (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IHash\n (-hash [coll] (hash-ordered-coll coll))\n\n IReduce\n (-reduce [col f] (seq-reduce f col))\n (-reduce [col f start] (seq-reduce f start col)))\n\n(es6-iterable RSeq)\n\n(defn second\n \"Same as (first (next x))\"\n [coll]\n (first (next coll)))\n\n(defn ffirst\n \"Same as (first (first x))\"\n [coll]\n (first (first coll)))\n\n(defn nfirst\n \"Same as (next (first x))\"\n [coll]\n (next (first coll)))\n\n(defn fnext\n \"Same as (first (next x))\"\n [coll]\n (first (next coll)))\n\n(defn nnext\n \"Same as (next (next x))\"\n [coll]\n (next (next coll)))\n\n(defn last\n \"Return the last item in coll, in linear time\"\n [s]\n (let [sn (next s)]\n (if-not (nil? sn)\n (recur sn)\n (first s))))\n\n(extend-type default\n IEquiv\n (-equiv [x o] (identical? x o)))\n\n(defn conj\n \"conj[oin]. Returns a new collection with the xs\n 'added'. (conj nil item) returns (item).\n (conj coll) returns coll. (conj) returns [].\n The 'addition' may happen at different 'places' depending\n on the concrete type.\"\n ([] [])\n ([coll] coll)\n ([coll x]\n (if-not (nil? coll)\n (-conj coll x)\n (list x)))\n ([coll x & xs]\n (if xs\n (recur (conj coll x) (first xs) (next xs))\n (conj coll x))))\n\n(defn empty\n \"Returns an empty collection of the same category as coll, or nil\"\n [coll]\n (when-not (nil? coll)\n (cond\n (implements? IEmptyableCollection coll)\n (-empty coll)\n\n (satisfies? IEmptyableCollection coll)\n (-empty coll)\n\n :else nil)))\n\n(defn- accumulating-seq-count [coll]\n (loop [s (seq coll) acc 0]\n (if (counted? s) ; assumes nil is counted, which it currently is\n (+ acc (-count s))\n (recur (next s) (inc acc)))))\n\n(defn count\n \"Returns the number of items in the collection. (count nil) returns\n 0. Also works on strings, arrays, and Maps\"\n [coll]\n (if-not (nil? coll)\n (cond\n (implements? ICounted coll)\n (-count coll)\n\n (array? coll)\n (alength coll)\n\n (string? coll)\n ^number (.-length coll)\n\n (implements? ISeqable coll)\n (accumulating-seq-count coll)\n\n :else (-count coll))\n 0))\n\n(defn- linear-traversal-nth\n ([coll n]\n (cond\n (nil? coll) (throw (js/Error. \"Index out of bounds\"))\n (zero? n) (if (seq coll)\n (first coll)\n (throw (js/Error. \"Index out of bounds\")))\n (indexed? coll) (-nth coll n)\n (seq coll) (recur (next coll) (dec n))\n :else (throw (js/Error. \"Index out of bounds\"))))\n ([coll n not-found]\n (cond\n (nil? coll) not-found\n (zero? n) (if (seq coll)\n (first coll)\n not-found)\n (indexed? coll) (-nth coll n not-found)\n (seq coll) (recur (next coll) (dec n) not-found)\n :else not-found)))\n\n(defn nth\n \"Returns the value at the index. get returns nil if index out of\n bounds, nth throws an exception unless not-found is supplied. nth\n also works for strings, arrays, regex Matchers and Lists, and,\n in O(n) time, for sequences.\"\n ([coll n]\n (cond\n (not (number? n))\n (throw (js/Error. \"Index argument to nth must be a number\"))\n\n (nil? coll)\n coll\n\n (implements? IIndexed coll)\n (-nth coll n)\n\n (array? coll)\n (if (and (< -1 n (.-length coll)))\n (aget coll (int n))\n (throw (js/Error. \"Index out of bounds\")))\n\n (string? coll)\n (if (and (< -1 n (.-length coll)))\n (.charAt coll (int n))\n (throw (js/Error. \"Index out of bounds\")))\n\n (or (implements? ISeq coll)\n (implements? ISequential coll))\n (if (neg? n)\n (throw (js/Error. \"Index out of bounds\"))\n (linear-traversal-nth coll n))\n\n (native-satisfies? IIndexed coll)\n (-nth coll n)\n\n :else\n (throw (js/Error. (str \"nth not supported on this type \"\n (type->str (type coll)))))))\n ([coll n not-found]\n (cond\n (not (number? n))\n (throw (js/Error. \"Index argument to nth must be a number.\"))\n\n (nil? coll)\n not-found\n\n (implements? IIndexed coll)\n (-nth coll n not-found)\n\n (array? coll)\n (if (and (< -1 n (.-length coll)))\n (aget coll (int n))\n not-found)\n\n (string? coll)\n (if (and (< -1 n (.-length coll)))\n (.charAt coll (int n))\n not-found)\n\n (or (implements? ISeq coll)\n (implements? ISequential coll))\n (if (neg? n)\n not-found\n (linear-traversal-nth coll n not-found))\n\n (native-satisfies? IIndexed coll)\n (-nth coll n not-found)\n\n :else\n (throw (js/Error. (str \"nth not supported on this type \"\n (type->str (type coll))))))))\n\n(defn nthrest\n \"Returns the nth rest of coll, coll when n is 0.\"\n [coll n]\n (loop [n n xs coll]\n (if-let [xs (and (pos? n) (seq xs))]\n (recur (dec n) (rest xs))\n xs)))\n\n(defn get\n \"Returns the value mapped to key, not-found or nil if key not present\n in associative collection, set, string, array, or ILookup instance.\"\n ([o k]\n (when-not (nil? o)\n (cond\n (implements? ILookup o)\n (-lookup o k)\n\n (array? o)\n (when (and (some? k) (< k (.-length o)))\n (aget o (int k)))\n\n (string? o)\n (when (and (some? k) (< -1 k (.-length o)))\n (.charAt o (int k)))\n\n (native-satisfies? ILookup o)\n (-lookup o k)\n\n :else nil)))\n ([o k not-found]\n (if-not (nil? o)\n (cond\n (implements? ILookup o)\n (-lookup o k not-found)\n\n (array? o)\n (if (and (some? k) (< -1 k (.-length o)))\n (aget o (int k))\n not-found)\n\n (string? o)\n (if (and (some? k) (< -1 k (.-length o)))\n (.charAt o (int k))\n not-found)\n\n (native-satisfies? ILookup o)\n (-lookup o k not-found)\n\n :else not-found)\n not-found)))\n\n(declare PersistentHashMap PersistentArrayMap MapEntry)\n\n(defn assoc\n \"assoc[iate]. When applied to a map, returns a new map of the\n same (hashed/sorted) type, that contains the mapping of key(s) to\n val(s). When applied to a vector, returns a new vector that\n contains val at index. Note - index must be <= (count vector).\"\n ([coll k v]\n (if (implements? IAssociative coll)\n (-assoc coll k v)\n (if-not (nil? coll)\n (-assoc coll k v)\n (array-map k v))))\n ([coll k v & kvs]\n (let [ret (assoc coll k v)]\n (if kvs\n (recur ret (first kvs) (second kvs) (nnext kvs))\n ret))))\n\n(defn dissoc\n \"dissoc[iate]. Returns a new map of the same (hashed/sorted) type,\n that does not contain a mapping for key(s).\"\n ([coll] coll)\n ([coll k]\n (when-not (nil? coll)\n (-dissoc coll k)))\n ([coll k & ks]\n (when-not (nil? coll)\n (let [ret (dissoc coll k)]\n (if ks\n (recur ret (first ks) (next ks))\n ret)))))\n\n(defn fn?\n \"Return true if f is a JavaScript function or satisfies the Fn protocol.\"\n [f]\n (or (js-fn? f) (satisfies? Fn f)))\n\n(deftype MetaFn [afn meta]\n IMeta\n (-meta [_] meta)\n IWithMeta\n (-with-meta [_ new-meta]\n (MetaFn. afn new-meta))\n Fn\n IFn\n (-invoke [_]\n (afn))\n (-invoke [_ a]\n (afn a))\n (-invoke [_ a b]\n (afn a b))\n (-invoke [_ a b c]\n (afn a b c))\n (-invoke [_ a b c d]\n (afn a b c d))\n (-invoke [_ a b c d e]\n (afn a b c d e))\n (-invoke [_ a b c d e f]\n (afn a b c d e f))\n (-invoke [_ a b c d e f g]\n (afn a b c d e f g))\n (-invoke [_ a b c d e f g h]\n (afn a b c d e f g h))\n (-invoke [_ a b c d e f g h i]\n (afn a b c d e f g h i))\n (-invoke [_ a b c d e f g h i j]\n (afn a b c d e f g h i j))\n (-invoke [_ a b c d e f g h i j k]\n (afn a b c d e f g h i j k))\n (-invoke [_ a b c d e f g h i j k l]\n (afn a b c d e f g h i j k l))\n (-invoke [_ a b c d e f g h i j k l m]\n (afn a b c d e f g h i j k l m))\n (-invoke [_ a b c d e f g h i j k l m n]\n (afn a b c d e f g h i j k l m n))\n (-invoke [_ a b c d e f g h i j k l m n o]\n (afn a b c d e f g h i j k l m n o))\n (-invoke [_ a b c d e f g h i j k l m n o p]\n (afn a b c d e f g h i j k l m n o p))\n (-invoke [_ a b c d e f g h i j k l m n o p q]\n (afn a b c d e f g h i j k l m n o p q))\n (-invoke [_ a b c d e f g h i j k l m n o p q r]\n (afn a b c d e f g h i j k l m n o p q r))\n (-invoke [_ a b c d e f g h i j k l m n o p q r s]\n (afn a b c d e f g h i j k l m n o p q r s))\n (-invoke [_ a b c d e f g h i j k l m n o p q r s t]\n (afn a b c d e f g h i j k l m n o p q r s t))\n (-invoke [_ a b c d e f g h i j k l m n o p q r s t rest]\n (apply afn a b c d e f g h i j k l m n o p q r s t rest)))\n\n(defn with-meta\n \"Returns an object of the same type and value as obj, with\n map m as its metadata.\"\n [o meta]\n (if (js-fn? o)\n (MetaFn. o meta)\n (when-not (nil? o)\n (-with-meta o meta))))\n\n(defn meta\n \"Returns the metadata of obj, returns nil if there is no metadata.\"\n [o]\n (when (and (not (nil? o))\n (satisfies? IMeta o))\n (-meta o)))\n\n(defn peek\n \"For a list or queue, same as first, for a vector, same as, but much\n more efficient than, last. If the collection is empty, returns nil.\"\n [coll]\n (when-not (nil? coll)\n (-peek coll)))\n\n(defn pop\n \"For a list or queue, returns a new list/queue without the first\n item, for a vector, returns a new vector without the last item.\n Note - not the same as next/butlast.\"\n [coll]\n (when-not (nil? coll)\n (-pop coll)))\n\n(defn disj\n \"disj[oin]. Returns a new set of the same (hashed/sorted) type, that\n does not contain key(s).\"\n ([coll] coll)\n ([coll k]\n (when-not (nil? coll)\n (-disjoin coll k)))\n ([coll k & ks]\n (when-not (nil? coll)\n (let [ret (disj coll k)]\n (if ks\n (recur ret (first ks) (next ks))\n ret)))))\n\n(defn empty?\n \"Returns true if coll has no items - same as (not (seq coll)).\n Please use the idiom (seq x) rather than (not (empty? x))\"\n [coll] (or (nil? coll)\n (not (seq coll))))\n\n(defn coll?\n \"Returns true if x satisfies ICollection\"\n [x]\n (if (nil? x)\n false\n (satisfies? ICollection x)))\n\n(defn set?\n \"Returns true if x satisfies ISet\"\n [x]\n (if (nil? x)\n false\n (satisfies? ISet x)))\n\n(defn associative?\n \"Returns true if coll implements IAssociative\"\n [x] (satisfies? IAssociative x))\n\n(defn ifind?\n \"Returns true if coll implements IFind\"\n [x] (satisfies? IFind x))\n\n(defn sequential?\n \"Returns true if coll satisfies ISequential\"\n [x] (satisfies? ISequential x))\n\n(defn sorted?\n \"Returns true if coll satisfies ISorted\"\n [x] (satisfies? ISorted x))\n\n(defn reduceable?\n \"Returns true if coll satisfies IReduce\"\n [x] (satisfies? IReduce x))\n\n(defn map?\n \"Return true if x satisfies IMap\"\n [x]\n (if (nil? x)\n false\n (satisfies? IMap x)))\n\n(defn record?\n \"Return true if x satisfies IRecord\"\n [x]\n (satisfies? IRecord x))\n\n(defn vector?\n \"Return true if x satisfies IVector\"\n [x] (satisfies? IVector x))\n\n(declare ChunkedCons ChunkedSeq)\n\n(defn chunked-seq?\n \"Return true if x satisfies IChunkedSeq.\"\n [x] (implements? IChunkedSeq x))\n\n;;;;;;;;;;;;;;;;;;;; js primitives ;;;;;;;;;;;;\n(defn js-obj\n \"Create JavaSript object from an even number arguments representing\n interleaved keys and values.\"\n ([]\n (cljs.core/js-obj))\n ([& keyvals]\n (apply gobject/create keyvals)))\n\n(defn js-keys\n \"Return the JavaScript keys for an object.\"\n [obj]\n (gobject/getKeys obj))\n\n(defn js-delete\n \"Delete a property from a JavaScript object.\n Returns true upon success, false otherwise.\"\n [obj key]\n (cljs.core/js-delete obj key))\n\n(defn- array-copy\n ([from i to j len]\n (loop [i i j j len len]\n (if (zero? len)\n to\n (do (aset to j (aget from i))\n (recur (inc i) (inc j) (dec len)))))))\n\n(defn- array-copy-downward\n ([from i to j len]\n (loop [i (+ i (dec len)) j (+ j (dec len)) len len]\n (if (zero? len)\n to\n (do (aset to j (aget from i))\n (recur (dec i) (dec j) (dec len)))))))\n\n;;;;;;;;;;;;;;;; preds ;;;;;;;;;;;;;;;;;;\n\n(def ^:private lookup-sentinel (js-obj))\n\n(defn ^boolean false?\n \"Returns true if x is the value false, false otherwise.\"\n [x] (cljs.core/false? x))\n\n(defn ^boolean true?\n \"Returns true if x is the value true, false otherwise.\"\n [x] (cljs.core/true? x))\n\n(defn boolean?\n \"Return true if x is a Boolean\"\n [x] (or (cljs.core/true? x) (cljs.core/false? x)))\n\n(defn ^boolean undefined?\n \"Returns true if x identical to the JavaScript undefined value.\"\n [x]\n (cljs.core/undefined? x))\n\n(defn seq?\n \"Return true if s satisfies ISeq\"\n [s]\n (if (nil? s)\n false\n (satisfies? ISeq s)))\n\n(defn seqable?\n \"Return true if the seq function is supported for s\"\n [s]\n (or\n (nil? s)\n (satisfies? ISeqable s)\n (array? s)\n (string? s)))\n\n(defn boolean\n \"Coerce to boolean\"\n [x]\n (cond\n (nil? x) false\n (false? x) false\n :else true))\n\n(defn ifn?\n \"Returns true if f returns true for fn? or satisfies IFn.\"\n [f]\n (or (fn? f) (satisfies? IFn f)))\n\n(defn integer?\n \"Returns true if n is a JavaScript number with no decimal part.\"\n [n]\n (and (number? n)\n (not ^boolean (js/isNaN n))\n (not (identical? n js/Infinity))\n (== (js/parseFloat n) (js/parseInt n 10))))\n\n(def\n ^{:doc \"INTERNAL: do not use\"}\n LongImpl goog.math.Long)\n\n(defn int?\n \"Return true if x satisfies integer? or is an instance of goog.math.Integer\n or goog.math.Long.\"\n [x]\n (or (integer? x)\n (instance? goog.math.Integer x)\n (instance? goog.math.Long x)))\n\n(defn pos-int?\n \"Return true if x satisfies int? and is positive.\"\n [x]\n (cond\n (integer? x) (pos? x)\n\n (instance? goog.math.Integer x)\n (and (not (.isNegative x))\n (not (.isZero x)))\n\n (instance? goog.math.Long x)\n (and (not (.isNegative x))\n (not (.isZero x)))\n\n :else false))\n\n(defn ^boolean neg-int?\n \"Return true if x satisfies int? and is negative.\"\n [x]\n (cond\n (integer? x) (neg? x)\n\n (instance? goog.math.Integer x)\n (.isNegative x)\n\n (instance? goog.math.Long x)\n (.isNegative x)\n\n :else false))\n\n(defn nat-int?\n \"Return true if x satisfies int? and is a natural integer value.\"\n [x]\n (cond\n (integer? x)\n (not (neg? x))\n\n (instance? goog.math.Integer x)\n (not (.isNegative x))\n\n (instance? goog.math.Long x)\n (not (.isNegative x))\n\n :else false))\n\n(defn float?\n \"Returns true for JavaScript numbers, false otherwise.\"\n [x]\n (number? x))\n\n(defn double?\n \"Returns true for JavaScript numbers, false otherwise.\"\n [x]\n (number? x))\n\n(defn infinite?\n \"Returns true for Infinity and -Infinity values.\"\n [x]\n (or (identical? x js/Number.POSITIVE_INFINITY)\n (identical? x js/Number.NEGATIVE_INFINITY)))\n\n(defn contains?\n \"Returns true if key is present in the given collection, otherwise\n returns false. Note that for numerically indexed collections like\n vectors and arrays, this tests if the numeric key is within the\n range of indexes. 'contains?' operates constant or logarithmic time;\n it will not perform a linear search for a value. See also 'some'.\"\n [coll v]\n (cond\n (implements? IAssociative coll)\n (-contains-key? coll v)\n\n (native-satisfies? IAssociative coll)\n (-contains-key? coll v)\n\n (identical? (get coll v lookup-sentinel) lookup-sentinel)\n false\n\n :else\n true))\n\n(defn find\n \"Returns the map entry for key, or nil if key not present.\"\n [coll k]\n (if (ifind? coll)\n (-find coll k)\n (when (and (not (nil? coll))\n (associative? coll)\n (contains? coll k))\n (MapEntry. k (get coll k) nil))))\n\n(defn ^boolean distinct?\n \"Returns true if no two of the arguments are =\"\n ([x] true)\n ([x y] (not (= x y)))\n ([x y & more]\n (if (not (= x y))\n (loop [s #{x y} xs more]\n (let [x (first xs)\n etc (next xs)]\n (if xs\n (if (contains? s x)\n false\n (recur (conj s x) etc))\n true)))\n false)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Seq fns ;;;;;;;;;;;;;;;;\n\n(defn ^number compare\n \"Comparator. Returns a negative number, zero, or a positive number\n when x is logically 'less than', 'equal to', or 'greater than'\n y. Uses IComparable if available and google.array.defaultCompare for objects\n of the same type and special-cases nil to be less than any other object.\"\n [x y]\n (cond\n (identical? x y) 0\n\n (nil? x) -1\n\n (nil? y) 1\n\n (number? x) (if (number? y)\n (garray/defaultCompare x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y))))\n\n (satisfies? IComparable x)\n (-compare x y)\n\n :else\n (if (and (or (string? x) (array? x) (true? x) (false? x))\n (identical? (type x) (type y)))\n (garray/defaultCompare x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y))))))\n\n(defn ^:private compare-indexed\n \"Compare indexed collection.\"\n ([xs ys]\n (let [xl (count xs)\n yl (count ys)]\n (cond\n (< xl yl) -1\n (> xl yl) 1\n (== xl 0) 0\n :else (compare-indexed xs ys xl 0))))\n ([xs ys len n]\n (let [d (compare (nth xs n) (nth ys n))]\n (if (and (zero? d) (< (+ n 1) len))\n (recur xs ys len (inc n))\n d))))\n\n(defn ^:private fn->comparator\n \"Given a fn that might be boolean valued or a comparator,\n return a fn that is a comparator.\"\n [f]\n (if (= f compare)\n compare\n (fn [x y]\n (let [r (f x y)]\n (if (number? r)\n r\n (if r\n -1\n (if (f y x) 1 0)))))))\n\n(declare to-array)\n\n(defn sort\n \"Returns a sorted sequence of the items in coll. Comp can be\n boolean-valued comparison function, or a -/0/+ valued comparator.\n Comp defaults to compare.\"\n ([coll]\n (sort compare coll))\n ([comp coll]\n (if (seq coll)\n (let [a (to-array coll)]\n ;; matching Clojure's stable sort, though docs don't promise it\n (garray/stableSort a (fn->comparator comp))\n (with-meta (seq a) (meta coll)))\n ())))\n\n(defn sort-by\n \"Returns a sorted sequence of the items in coll, where the sort\n order is determined by comparing (keyfn item). Comp can be\n boolean-valued comparison function, or a -/0/+ valued comparator.\n Comp defaults to compare.\"\n ([keyfn coll]\n (sort-by keyfn compare coll))\n ([keyfn comp coll]\n (sort (fn [x y] ((fn->comparator comp) (keyfn x) (keyfn y))) coll)))\n\n; simple reduce based on seqs, used as default\n(defn- seq-reduce\n ([f coll]\n (if-let [s (seq coll)]\n (reduce f (first s) (next s))\n (f)))\n ([f val coll]\n (loop [val val, coll (seq coll)]\n (if coll\n (let [nval (f val (first coll))]\n (if (reduced? nval)\n @nval\n (recur nval (next coll))))\n val))))\n\n(declare vec)\n\n(defn shuffle\n \"Return a random permutation of coll\"\n [coll]\n (let [a (to-array coll)]\n (garray/shuffle a)\n (vec a)))\n\n(defn- iter-reduce\n ([coll f]\n (let [iter (-iterator coll)]\n (if (.hasNext iter)\n (let [init (.next iter)]\n (loop [acc init]\n (if ^boolean (.hasNext iter)\n (let [nacc (f acc (.next iter))]\n (if (reduced? nacc)\n @nacc\n (recur nacc)))\n acc)))\n (f))))\n ([coll f init]\n (let [iter (-iterator coll)]\n (loop [acc init]\n (if ^boolean (.hasNext iter)\n (let [nacc (f acc (.next iter))]\n (if (reduced? nacc)\n @nacc\n (recur nacc)))\n acc)))))\n\n(defn reduce\n \"f should be a function of 2 arguments. If val is not supplied,\n returns the result of applying f to the first 2 items in coll, then\n applying f to that result and the 3rd item, etc. If coll contains no\n items, f must accept no arguments as well, and reduce returns the\n result of calling f with no arguments. If coll has only 1 item, it\n is returned and f is not called. If val is supplied, returns the\n result of applying f to val and the first item in coll, then\n applying f to that result and the 2nd item, etc. If coll contains no\n items, returns val and f is not called.\"\n ([f coll]\n (cond\n (implements? IReduce coll)\n (-reduce coll f)\n\n (array? coll)\n (array-reduce coll f)\n\n (string? coll)\n (array-reduce coll f)\n\n (native-satisfies? IReduce coll)\n (-reduce coll f)\n\n (iterable? coll)\n (iter-reduce coll f)\n\n :else\n (seq-reduce f coll)))\n ([f val coll]\n (cond\n (implements? IReduce coll)\n (-reduce coll f val)\n\n (array? coll)\n (array-reduce coll f val)\n\n (string? coll)\n (array-reduce coll f val)\n\n (native-satisfies? IReduce coll)\n (-reduce coll f val)\n\n (iterable? coll)\n (iter-reduce coll f val)\n\n :else\n (seq-reduce f val coll))))\n\n(defn reduce-kv\n \"Reduces an associative collection. f should be a function of 3\n arguments. Returns the result of applying f to init, the first key\n and the first value in coll, then applying f to that result and the\n 2nd key and value, etc. If coll contains no entries, returns init\n and f is not called. Note that reduce-kv is supported on vectors,\n where the keys will be the ordinals.\"\n ([f init coll]\n (if-not (nil? coll)\n (-kv-reduce coll f init)\n init)))\n\n(defn identity\n \"Returns its argument.\"\n [x] x)\n\n(defn completing\n \"Takes a reducing function f of 2 args and returns a fn suitable for\n transduce by adding an arity-1 signature that calls cf (default -\n identity) on the result argument.\"\n ([f] (completing f identity))\n ([f cf]\n (fn\n ([] (f))\n ([x] (cf x))\n ([x y] (f x y)))))\n\n(defn transduce\n \"reduce with a transformation of f (xf). If init is not\n supplied, (f) will be called to produce it. f should be a reducing\n step function that accepts both 1 and 2 arguments, if it accepts\n only 2 you can add the arity-1 with 'completing'. Returns the result\n of applying (the transformed) xf to init and the first item in coll,\n then applying xf to that result and the 2nd item, etc. If coll\n contains no items, returns init and f is not called. Note that\n certain transforms may inject or skip items.\"\n ([xform f coll] (transduce xform f (f) coll))\n ([xform f init coll]\n (let [f (xform f)\n ret (reduce f init coll)]\n (f ret))))\n\n;;; Math - variadic forms will not work until the following implemented:\n;;; first, next, reduce\n\n(defn ^number +\n \"Returns the sum of nums. (+) returns 0.\"\n ([] 0)\n ([x] x)\n ([x y] (cljs.core/+ x y))\n ([x y & more]\n (reduce + (cljs.core/+ x y) more)))\n\n(defn ^number -\n \"If no ys are supplied, returns the negation of x, else subtracts\n the ys from x and returns the result.\"\n ([x] (cljs.core/- x))\n ([x y] (cljs.core/- x y))\n ([x y & more] (reduce - (cljs.core/- x y) more)))\n\n(defn ^number *\n \"Returns the product of nums. (*) returns 1.\"\n ([] 1)\n ([x] x)\n ([x y] (cljs.core/* x y))\n ([x y & more] (reduce * (cljs.core/* x y) more)))\n\n(declare divide)\n\n(defn ^number /\n \"If no denominators are supplied, returns 1/numerator,\n else returns numerator divided by all of the denominators.\"\n ([x] (/ 1 x))\n ([x y] (cljs.core/divide x y)) ;; FIXME: waiting on cljs.core//\n ([x y & more] (reduce / (/ x y) more)))\n\n(defn ^boolean <\n \"Returns non-nil if nums are in monotonically increasing order,\n otherwise false.\"\n ([x] true)\n ([x y] (cljs.core/< x y))\n ([x y & more]\n (if (cljs.core/< x y)\n (if (next more)\n (recur y (first more) (next more))\n (cljs.core/< y (first more)))\n false)))\n\n(defn ^boolean <=\n \"Returns non-nil if nums are in monotonically non-decreasing order,\n otherwise false.\"\n ([x] true)\n ([x y] (cljs.core/<= x y))\n ([x y & more]\n (if (cljs.core/<= x y)\n (if (next more)\n (recur y (first more) (next more))\n (cljs.core/<= y (first more)))\n false)))\n\n(defn ^boolean >\n \"Returns non-nil if nums are in monotonically decreasing order,\n otherwise false.\"\n ([x] true)\n ([x y] (cljs.core/> x y))\n ([x y & more]\n (if (cljs.core/> x y)\n (if (next more)\n (recur y (first more) (next more))\n (cljs.core/> y (first more)))\n false)))\n\n(defn ^boolean >=\n \"Returns non-nil if nums are in monotonically non-increasing order,\n otherwise false.\"\n ([x] true)\n ([x y] (cljs.core/>= x y))\n ([x y & more]\n (if (cljs.core/>= x y)\n (if (next more)\n (recur y (first more) (next more))\n (cljs.core/>= y (first more)))\n false)))\n\n(defn dec\n \"Returns a number one less than num.\"\n [x] (- x 1))\n\n(defn ^number abs\n {:doc \"Returns the absolute value of a.\"\n :added \"1.11.10\"}\n [a] (Math/abs a))\n\n(defn ^number max\n \"Returns the greatest of the nums.\"\n ([x] x)\n ([x y] (cljs.core/max x y))\n ([x y & more]\n (reduce max (cljs.core/max x y) more)))\n\n(defn ^number min\n \"Returns the least of the nums.\"\n ([x] x)\n ([x y] (cljs.core/min x y))\n ([x y & more]\n (reduce min (cljs.core/min x y) more)))\n\n(defn ^number byte [x] x)\n\n(defn char\n \"Coerce to char\"\n [x]\n (cond\n (number? x) (.fromCharCode js/String x)\n (and (string? x) (== (.-length x) 1)) x\n :else (throw (js/Error. \"Argument to char must be a character or number\"))))\n\n(defn ^number short [x] x)\n(defn ^number float [x] x)\n(defn ^number double [x] x)\n\n(defn ^number unchecked-byte [x] x)\n(defn ^number unchecked-char [x] x)\n(defn ^number unchecked-short [x] x)\n(defn ^number unchecked-float [x] x)\n(defn ^number unchecked-double [x] x)\n\n(defn ^number unchecked-add\n \"Returns the sum of nums. (+) returns 0.\"\n ([] 0)\n ([x] x)\n ([x y] (cljs.core/unchecked-add x y))\n ([x y & more] (reduce unchecked-add (cljs.core/unchecked-add x y) more)))\n\n(defn ^number unchecked-add-int\n \"Returns the sum of nums. (+) returns 0.\"\n ([] 0)\n ([x] x)\n ([x y] (cljs.core/unchecked-add-int x y))\n ([x y & more] (reduce unchecked-add-int (cljs.core/unchecked-add-int x y) more)))\n\n(defn unchecked-dec\n \"Returns a number one less than x, an int.\"\n [x]\n (cljs.core/unchecked-dec x))\n\n(defn unchecked-dec-int\n \"Returns a number one less than x, an int.\"\n [x]\n (cljs.core/unchecked-dec-int x))\n\n(defn ^number unchecked-divide-int\n \"If no denominators are supplied, returns 1/numerator,\n else returns numerator divided by all of the denominators.\"\n ([x] (unchecked-divide-int 1 x))\n ([x y] (cljs.core/divide x y)) ;; FIXME: waiting on cljs.core//\n ([x y & more] (reduce unchecked-divide-int (unchecked-divide-int x y) more)))\n\n(defn unchecked-inc [x]\n (cljs.core/unchecked-inc x))\n\n(defn unchecked-inc-int [x]\n (cljs.core/unchecked-inc-int x))\n\n(defn ^number unchecked-multiply\n \"Returns the product of nums. (*) returns 1.\"\n ([] 1)\n ([x] x)\n ([x y] (cljs.core/unchecked-multiply x y))\n ([x y & more] (reduce unchecked-multiply (cljs.core/unchecked-multiply x y) more)))\n\n(defn ^number unchecked-multiply-int\n \"Returns the product of nums. (*) returns 1.\"\n ([] 1)\n ([x] x)\n ([x y] (cljs.core/unchecked-multiply-int x y))\n ([x y & more] (reduce unchecked-multiply-int (cljs.core/unchecked-multiply-int x y) more)))\n\n(defn unchecked-negate [x]\n (cljs.core/unchecked-negate x))\n\n(defn unchecked-negate-int [x]\n (cljs.core/unchecked-negate-int x))\n\n(declare mod)\n\n(defn unchecked-remainder-int [x n]\n (cljs.core/unchecked-remainder-int x n))\n\n(defn ^number unchecked-subtract\n \"If no ys are supplied, returns the negation of x, else subtracts\n the ys from x and returns the result.\"\n ([x] (cljs.core/unchecked-subtract x))\n ([x y] (cljs.core/unchecked-subtract x y))\n ([x y & more] (reduce unchecked-subtract (cljs.core/unchecked-subtract x y) more)))\n\n(defn ^number unchecked-subtract-int\n \"If no ys are supplied, returns the negation of x, else subtracts\n the ys from x and returns the result.\"\n ([x] (cljs.core/unchecked-subtract-int x))\n ([x y] (cljs.core/unchecked-subtract-int x y))\n ([x y & more] (reduce unchecked-subtract-int (cljs.core/unchecked-subtract-int x y) more)))\n\n(defn- ^number fix [q]\n (if (>= q 0)\n (Math/floor q)\n (Math/ceil q)))\n\n(defn int\n \"Coerce to int by stripping decimal places.\"\n [x]\n (bit-or x 0))\n\n(defn unchecked-int\n \"Coerce to int by stripping decimal places.\"\n [x]\n (fix x))\n\n(defn long\n \"Coerce to long by stripping decimal places. Identical to `int'.\"\n [x]\n (fix x))\n\n(defn unchecked-long\n \"Coerce to long by stripping decimal places. Identical to `int'.\"\n [x]\n (fix x))\n\n(defn booleans [x] x)\n(defn bytes [x] x)\n(defn chars [x] x)\n(defn shorts [x] x)\n(defn ints [x] x)\n(defn floats [x] x)\n(defn doubles [x] x)\n(defn longs [x] x)\n\n(defn js-mod\n \"Modulus of num and div with original javascript behavior. i.e. bug for negative numbers\"\n [n d]\n (cljs.core/js-mod n d))\n\n(defn mod\n \"Modulus of num and div. Truncates toward negative infinity.\"\n [n d]\n (js-mod (+ (js-mod n d) d) d))\n\n(defn quot\n \"quot[ient] of dividing numerator by denominator.\"\n [n d]\n (let [rem (js-mod n d)]\n (fix (/ (- n rem) d))))\n\n(defn rem\n \"remainder of dividing numerator by denominator.\"\n [n d]\n (let [q (quot n d)]\n (- n (* d q))))\n\n(defn bit-xor\n \"Bitwise exclusive or\"\n ([x y] (cljs.core/bit-xor x y))\n ([x y & more]\n (reduce bit-xor (cljs.core/bit-xor x y) more)))\n\n(defn bit-and\n \"Bitwise and\"\n ([x y] (cljs.core/bit-and x y))\n ([x y & more]\n (reduce bit-and (cljs.core/bit-and x y) more)))\n\n(defn bit-or\n \"Bitwise or\"\n ([x y] (cljs.core/bit-or x y))\n ([x y & more]\n (reduce bit-or (cljs.core/bit-or x y) more)))\n\n(defn bit-and-not\n \"Bitwise and with complement\"\n ([x y] (cljs.core/bit-and-not x y))\n ([x y & more]\n (reduce bit-and-not (cljs.core/bit-and-not x y) more)))\n\n(defn bit-clear\n \"Clear bit at index n\"\n [x n]\n (cljs.core/bit-clear x n))\n\n(defn bit-flip\n \"Flip bit at index n\"\n [x n]\n (cljs.core/bit-flip x n))\n\n(defn bit-not\n \"Bitwise complement\"\n [x] (cljs.core/bit-not x))\n\n(defn bit-set\n \"Set bit at index n\"\n [x n]\n (cljs.core/bit-set x n))\n\n(defn ^boolean bit-test\n \"Test bit at index n\"\n [x n]\n (cljs.core/bit-test x n))\n\n(defn bit-shift-left\n \"Bitwise shift left\"\n [x n] (cljs.core/bit-shift-left x n))\n\n(defn bit-shift-right\n \"Bitwise shift right\"\n [x n] (cljs.core/bit-shift-right x n))\n\n(defn bit-shift-right-zero-fill\n \"DEPRECATED: Bitwise shift right with zero fill\"\n [x n] (cljs.core/bit-shift-right-zero-fill x n))\n\n(defn unsigned-bit-shift-right\n \"Bitwise shift right with zero fill\"\n [x n] (cljs.core/unsigned-bit-shift-right x n))\n\n(defn bit-count\n \"Counts the number of bits set in n\"\n [v]\n (let [v (- v (bit-and (bit-shift-right v 1) 0x55555555))\n v (+ (bit-and v 0x33333333) (bit-and (bit-shift-right v 2) 0x33333333))]\n (bit-shift-right (* (bit-and (+ v (bit-shift-right v 4)) 0xF0F0F0F) 0x1010101) 24)))\n\n(defn ^boolean ==\n \"Returns non-nil if nums all have the equivalent\n value, otherwise false. Behavior on non nums is\n undefined.\"\n ([x] true)\n ([x y] (-equiv x y))\n ([x y & more]\n (if (== x y)\n (if (next more)\n (recur y (first more) (next more))\n (== y (first more)))\n false)))\n\n(defn ^boolean pos?\n \"Returns true if num is greater than zero, else false\"\n [x] (cljs.core/pos? x))\n\n(defn ^boolean zero?\n \"Returns true if num is zero, else false\"\n [x]\n (cljs.core/zero? x))\n\n(defn ^boolean neg?\n \"Returns true if num is less than zero, else false\"\n [x] (cljs.core/neg? x))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; protocols for host types ;;;;;;\n\n(defn nthnext\n \"Returns the nth next of coll, (seq coll) when n is 0.\"\n [coll n]\n (loop [n n xs (seq coll)]\n (if (and xs (pos? n))\n (recur (dec n) (next xs))\n xs)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;; basics ;;;;;;;;;;;;;;;;;;\n\n(defn str\n \"With no args, returns the empty string. With one arg x, returns\n x.toString(). (str nil) returns the empty string. With more than\n one arg, returns the concatenation of the str values of the args.\"\n ([] \"\")\n ([x] (if (nil? x)\n \"\"\n (.join #js [x] \"\")))\n ([x & ys]\n (loop [sb (StringBuffer. (str x)) more ys]\n (if more\n (recur (. sb (append (str (first more)))) (next more))\n (.toString sb)))))\n\n(defn subs\n \"Returns the substring of s beginning at start inclusive, and ending\n at end (defaults to length of string), exclusive.\"\n ([s start] ^string (.substring s start))\n ([s start end] ^string (.substring s start end)))\n\n(declare map name)\n\n(defn- equiv-sequential\n \"Assumes x is sequential. Returns true if x equals y, otherwise\n returns false.\"\n [x y]\n (boolean\n (when (sequential? y)\n (if (and (counted? x) (counted? y)\n (not (== (count x) (count y))))\n false\n (loop [xs (seq x) ys (seq y)]\n (cond (nil? xs) (nil? ys)\n (nil? ys) false\n (= (first xs) (first ys)) (recur (next xs) (next ys))\n :else false))))))\n\n(defn- hash-coll [coll]\n (if (seq coll)\n (loop [res (hash (first coll)) s (next coll)]\n (if (nil? s)\n res\n (recur (hash-combine res (hash (first s))) (next s))))\n 0))\n\n(declare key val)\n\n(defn- hash-imap [m]\n ;; a la clojure.lang.APersistentMap\n (loop [h 0 s (seq m)]\n (if s\n (let [e (first s)]\n (recur (js-mod (+ h (bit-xor (hash (key e)) (hash (val e))))\n 4503599627370496)\n (next s)))\n h)))\n\n(defn- hash-iset [s]\n ;; a la clojure.lang.APersistentSet\n (loop [h 0 s (seq s)]\n (if s\n (let [e (first s)]\n (recur (js-mod (+ h (hash e)) 4503599627370496)\n (next s)))\n h)))\n\n(declare name chunk-first chunk-rest)\n\n(defn- extend-object!\n \"Takes a JavaScript object and a map of names to functions and\n attaches said functions as methods on the object. Any references to\n JavaScript's implicit this (via the this-as macro) will resolve to the\n object that the function is attached.\"\n [obj fn-map]\n (doseq [[key-name f] fn-map]\n (let [str-name (name key-name)]\n (gobject/set obj str-name f)))\n obj)\n\n;;;;;;;;;;;;;;;; cons ;;;;;;;;;;;;;;;;\n(deftype List [meta first rest count ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x count))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IList\n\n ICloneable\n (-clone [_] (List. meta first rest count __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (List. new-meta first rest count __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ASeq\n ISeq\n (-first [coll] first)\n (-rest [coll]\n (if (== count 1)\n ()\n rest))\n\n INext\n (-next [coll]\n (if (== count 1)\n nil\n rest))\n\n IStack\n (-peek [coll] first)\n (-pop [coll] (-rest coll))\n\n ICollection\n (-conj [coll o] (List. meta o coll (inc count) nil))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY List) meta))\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll] coll)\n\n ICounted\n (-count [coll] count)\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(defn list?\n \"Returns true if x implements IList\"\n [x]\n (satisfies? IList x))\n\n(es6-iterable List)\n\n(deftype EmptyList [meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IList\n\n ICloneable\n (-clone [_] (EmptyList. meta))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (EmptyList. new-meta)))\n\n IMeta\n (-meta [coll] meta)\n\n ISeq\n (-first [coll] nil)\n (-rest [coll] ())\n\n INext\n (-next [coll] nil)\n\n IStack\n (-peek [coll] nil)\n (-pop [coll] (throw (js/Error. \"Can't pop empty list\")))\n\n ICollection\n (-conj [coll o] (List. meta o nil 1 nil))\n\n IEmptyableCollection\n (-empty [coll] coll)\n\n ISequential\n IEquiv\n (-equiv [coll other]\n (if (or (list? other)\n (sequential? other))\n (nil? (seq other))\n false))\n\n IHash\n (-hash [coll] empty-ordered-hash)\n\n ISeqable\n (-seq [coll] nil)\n\n ICounted\n (-count [coll] 0)\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(set! (.-EMPTY List) (EmptyList. nil))\n\n(es6-iterable EmptyList)\n\n(defn reversible?\n \"Returns true if coll satisfies? IReversible.\"\n [coll]\n (satisfies? IReversible coll))\n\n(defn ^seq rseq\n \"Returns, in constant time, a seq of the items in rev (which\n can be a vector or sorted-map), in reverse order. If rev is empty returns nil\"\n [rev]\n (-rseq rev))\n\n(defn reverse\n \"Returns a seq of the items in coll in reverse order. Not lazy.\"\n [coll]\n (if (reversible? coll)\n (or (rseq coll) ())\n (reduce conj () coll)))\n\n(defn list\n \"Creates a new list containing the items.\"\n [& xs]\n (let [arr (if (and (instance? IndexedSeq xs) (zero? (.-i xs)))\n (.-arr xs)\n (let [arr (array)]\n (loop [^not-native xs xs]\n (if-not (nil? xs)\n (do\n (.push arr (-first xs))\n (recur (-next xs)))\n arr))))]\n (loop [i (alength arr) r ()]\n (if (> i 0)\n (recur (dec i) (-conj r (aget arr (dec i))))\n r))))\n\n(deftype Cons [meta first rest ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IList\n\n ICloneable\n (-clone [_] (Cons. meta first rest __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (Cons. new-meta first rest __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ASeq\n ISeq\n (-first [coll] first)\n (-rest [coll] (if (nil? rest) () rest))\n\n INext\n (-next [coll]\n (if (nil? rest) nil (seq rest)))\n\n ICollection\n (-conj [coll o] (Cons. nil o coll nil))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll] coll)\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable Cons)\n\n(defn cons\n \"Returns a new seq where x is the first element and coll is the rest.\"\n [x coll]\n (cond\n (nil? coll) (List. nil x nil 1 nil)\n (implements? ISeq coll) (Cons. nil x coll nil)\n :default (Cons. nil x (seq coll) nil)))\n\n(defn hash-keyword [k]\n (int (+ (hash-symbol k) 0x9e3779b9)))\n\n(defn- compare-keywords [a b]\n (cond\n (identical? (.-fqn a) (.-fqn b)) 0\n (and (not (.-ns a)) (.-ns b)) -1\n (.-ns a) (if-not (.-ns b)\n 1\n (let [nsc (garray/defaultCompare (.-ns a) (.-ns b))]\n (if (== 0 nsc)\n (garray/defaultCompare (.-name a) (.-name b))\n nsc)))\n :default (garray/defaultCompare (.-name a) (.-name b))))\n\n(deftype Keyword [ns name fqn ^:mutable _hash]\n Object\n (toString [_] (str \":\" fqn))\n (equiv [this other]\n (-equiv this other))\n\n IEquiv\n (-equiv [_ other]\n (if (instance? Keyword other)\n (identical? fqn (.-fqn other))\n false))\n IFn\n (-invoke [kw coll]\n (get coll kw))\n (-invoke [kw coll not-found]\n (get coll kw not-found))\n\n IHash\n (-hash [this]\n (caching-hash this hash-keyword _hash))\n\n INamed\n (-name [_] name)\n (-namespace [_] ns)\n\n IPrintWithWriter\n (-pr-writer [o writer _] (-write writer (str \":\" fqn))))\n\n(defn keyword?\n \"Return true if x is a Keyword\"\n [x]\n (instance? Keyword x))\n\n(defn keyword-identical?\n \"Efficient test to determine that two keywords are identical.\"\n [x y]\n (if (identical? x y)\n true\n (if (and (keyword? x) (keyword? y))\n (identical? (.-fqn x) (.-fqn y))\n false)))\n\n(defn symbol-identical?\n \"Efficient test to determine that two symbols are identical.\"\n [x y]\n (if (identical? x y)\n true\n (if (and (symbol? x) (symbol? y))\n (identical? (.-str x) (.-str y))\n false)))\n\n(defn namespace\n \"Returns the namespace String of a symbol or keyword, or nil if not present.\"\n [x]\n (if (implements? INamed x)\n (-namespace x)\n (throw (js/Error. (str \"Doesn't support namespace: \" x)))))\n\n(defn ident?\n \"Return true if x is a symbol or keyword\"\n [x] (or (keyword? x) (symbol? x)))\n\n(defn simple-ident?\n \"Return true if x is a symbol or keyword without a namespace\"\n [x] (and (ident? x) (nil? (namespace x))))\n\n(defn qualified-ident?\n \"Return true if x is a symbol or keyword with a namespace\"\n [x] (boolean (and (ident? x) (namespace x) true)))\n\n(defn simple-symbol?\n \"Return true if x is a symbol without a namespace\"\n [x] (and (symbol? x) (nil? (namespace x))))\n\n(defn qualified-symbol?\n \"Return true if x is a symbol with a namespace\"\n [x] (boolean (and (symbol? x) (namespace x) true)))\n\n(defn simple-keyword?\n \"Return true if x is a keyword without a namespace\"\n [x] (and (keyword? x) (nil? (namespace x))))\n\n(defn qualified-keyword?\n \"Return true if x is a keyword with a namespace\"\n [x] (boolean (and (keyword? x) (namespace x) true)))\n\n(defn keyword\n \"Returns a Keyword with the given namespace and name. Do not use :\n in the keyword strings, it will be added automatically.\"\n ([name] (cond\n (keyword? name) name\n (symbol? name) (Keyword.\n (cljs.core/namespace name)\n (cljs.core/name name) (.-str name) nil)\n (= \"/\" name) (Keyword. nil name name nil)\n (string? name) (let [parts (.split name \"/\")]\n (if (== (alength parts) 2)\n (Keyword. (aget parts 0) (aget parts 1) name nil)\n (Keyword. nil (aget parts 0) name nil)))))\n ([ns name]\n (let [ns (cond\n (keyword? ns) (cljs.core/name ns)\n (symbol? ns) (cljs.core/name ns)\n :else ns)\n name (cond\n (keyword? name) (cljs.core/name name)\n (symbol? name) (cljs.core/name name)\n :else name)]\n (Keyword. ns name (str (when ns (str ns \"/\")) name) nil))))\n\n\n(deftype LazySeq [meta ^:mutable fn ^:mutable s ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (sval [coll]\n (if (nil? fn)\n s\n (do\n (set! s (fn))\n (set! fn nil)\n s)))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IPending\n (-realized? [coll]\n (not fn))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (LazySeq. new-meta #(-seq coll) nil __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ISeq\n (-first [coll]\n (-seq coll)\n (when-not (nil? s)\n (first s)))\n (-rest [coll]\n (-seq coll)\n (if-not (nil? s)\n (rest s)\n ()))\n\n INext\n (-next [coll]\n (-seq coll)\n (when-not (nil? s)\n (next s)))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY List) meta))\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll]\n (.sval coll)\n (when-not (nil? s)\n (loop [ls s]\n (if (instance? LazySeq ls)\n (recur (.sval ls))\n (do (set! s ls)\n (seq s))))))\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable LazySeq)\n\n(declare ArrayChunk)\n\n(deftype ChunkBuffer [^:mutable buf ^:mutable end]\n Object\n (add [_ o]\n (aset buf end o)\n (set! end (inc end)))\n\n (chunk [_]\n (let [ret (ArrayChunk. buf 0 end)]\n (set! buf nil)\n ret))\n\n ICounted\n (-count [_] end))\n\n(defn chunk-buffer [capacity]\n (ChunkBuffer. (make-array capacity) 0))\n\n(deftype ArrayChunk [arr off end]\n ICounted\n (-count [_] (- end off))\n\n IIndexed\n (-nth [coll i]\n (aget arr (+ off i)))\n (-nth [coll i not-found]\n (if (and (>= i 0) (< i (- end off)))\n (aget arr (+ off i))\n not-found))\n\n IChunk\n (-drop-first [coll]\n (if (== off end)\n (throw (js/Error. \"-drop-first of empty chunk\"))\n (ArrayChunk. arr (inc off) end)))\n\n IReduce\n (-reduce [coll f]\n (array-reduce arr f (aget arr off) (inc off)))\n (-reduce [coll f start]\n (array-reduce arr f start off)))\n\n(defn array-chunk\n ([arr]\n (ArrayChunk. arr 0 (alength arr)))\n ([arr off]\n (ArrayChunk. arr off (alength arr)))\n ([arr off end]\n (ArrayChunk. arr off end)))\n\n(deftype ChunkedCons [chunk more meta ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (ChunkedCons. chunk more new-meta __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n ISeqable\n (-seq [coll] coll)\n\n ASeq\n ISeq\n (-first [coll] (-nth chunk 0))\n (-rest [coll]\n (if (> (-count chunk) 1)\n (ChunkedCons. (-drop-first chunk) more nil nil)\n (if (nil? more)\n ()\n more)))\n\n INext\n (-next [coll]\n (if (> (-count chunk) 1)\n (ChunkedCons. (-drop-first chunk) more nil nil)\n (when-not (nil? more)\n (-seq more))))\n\n IChunkedSeq\n (-chunked-first [coll] chunk)\n (-chunked-rest [coll]\n (if (nil? more)\n ()\n more))\n\n IChunkedNext\n (-chunked-next [coll]\n (if (nil? more)\n nil\n more))\n\n ICollection\n (-conj [this o]\n (cons o this))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash)))\n\n(es6-iterable ChunkedCons)\n\n(defn chunk-cons [chunk rest]\n (if (zero? (-count chunk))\n rest\n (ChunkedCons. chunk rest nil nil)))\n\n(defn chunk-append [b x]\n (.add b x))\n\n(defn chunk [b]\n (.chunk b))\n\n(defn chunk-first [s]\n (-chunked-first s))\n\n(defn chunk-rest [s]\n (-chunked-rest s))\n\n(defn chunk-next [s]\n (if (implements? IChunkedNext s)\n (-chunked-next s)\n (seq (-chunked-rest s))))\n\n;;;;;;;;;;;;;;;;\n\n(defn to-array\n \"Returns an array containing the contents of coll.\"\n [coll]\n (let [ary (array)]\n (loop [s (seq coll)]\n (if-not (nil? s)\n (do (. ary push (first s))\n (recur (next s)))\n ary))))\n\n(defn to-array-2d\n \"Returns a (potentially-ragged) 2-dimensional array\n containing the contents of coll.\"\n [coll]\n (let [ret (make-array (count coll))]\n (loop [i 0 xs (seq coll)]\n (when-not (nil? xs)\n (aset ret i (to-array (first xs)))\n (recur (inc i) (next xs))))\n ret))\n\n(defn int-array\n \"Creates an array of ints. Does not coerce array, provided for compatibility\n with Clojure.\"\n ([size-or-seq]\n (if (number? size-or-seq)\n (int-array size-or-seq nil)\n (into-array size-or-seq)))\n ([size init-val-or-seq]\n (let [a (make-array size)]\n (if (seq? init-val-or-seq)\n (let [s (seq init-val-or-seq)]\n (loop [i 0 s s]\n (if (and s (< i size))\n (do\n (aset a i (first s))\n (recur (inc i) (next s)))\n a)))\n (do\n (dotimes [i size]\n (aset a i init-val-or-seq))\n a)))))\n\n(defn long-array\n \"Creates an array of longs. Does not coerce array, provided for compatibility\n with Clojure.\"\n ([size-or-seq]\n (if (number? size-or-seq)\n (long-array size-or-seq nil)\n (into-array size-or-seq)))\n ([size init-val-or-seq]\n (let [a (make-array size)]\n (if (seq? init-val-or-seq)\n (let [s (seq init-val-or-seq)]\n (loop [i 0 s s]\n (if (and s (< i size))\n (do\n (aset a i (first s))\n (recur (inc i) (next s)))\n a)))\n (do\n (dotimes [i size]\n (aset a i init-val-or-seq))\n a)))))\n\n(defn double-array\n \"Creates an array of doubles. Does not coerce array, provided for compatibility\n with Clojure.\"\n ([size-or-seq]\n (if (number? size-or-seq)\n (double-array size-or-seq nil)\n (into-array size-or-seq)))\n ([size init-val-or-seq]\n (let [a (make-array size)]\n (if (seq? init-val-or-seq)\n (let [s (seq init-val-or-seq)]\n (loop [i 0 s s]\n (if (and s (< i size))\n (do\n (aset a i (first s))\n (recur (inc i) (next s)))\n a)))\n (do\n (dotimes [i size]\n (aset a i init-val-or-seq))\n a)))))\n\n(defn object-array\n \"Creates an array of objects. Does not coerce array, provided for compatibility\n with Clojure.\"\n ([size-or-seq]\n (if (number? size-or-seq)\n (object-array size-or-seq nil)\n (into-array size-or-seq)))\n ([size init-val-or-seq]\n (let [a (make-array size)]\n (if (seq? init-val-or-seq)\n (let [s (seq init-val-or-seq)]\n (loop [i 0 s s]\n (if (and s (< i size))\n (do\n (aset a i (first s))\n (recur (inc i) (next s)))\n a)))\n (do\n (dotimes [i size]\n (aset a i init-val-or-seq))\n a)))))\n\n(defn bounded-count\n \"If coll is counted? returns its count, else will count at most the first n\n elements of coll using its seq\"\n {:added \"1.9\"}\n [n coll]\n (if (counted? coll)\n (count coll)\n (loop [i 0 s (seq coll)]\n (if (and (not (nil? s)) (< i n))\n (recur (inc i) (next s))\n i))))\n\n(defn spread\n [arglist]\n (when-not (nil? arglist)\n (let [n (next arglist)]\n (if (nil? n)\n (seq (first arglist))\n (cons (first arglist)\n (spread n))))))\n\n(defn concat\n \"Returns a lazy seq representing the concatenation of the elements in the supplied colls.\"\n ([] (lazy-seq nil))\n ([x] (lazy-seq x))\n ([x y]\n (lazy-seq\n (let [s (seq x)]\n (if s\n (if (chunked-seq? s)\n (chunk-cons (chunk-first s) (concat (chunk-rest s) y))\n (cons (first s) (concat (rest s) y)))\n y))))\n ([x y & zs]\n (let [cat (fn cat [xys zs]\n (lazy-seq\n (let [xys (seq xys)]\n (if xys\n (if (chunked-seq? xys)\n (chunk-cons (chunk-first xys)\n (cat (chunk-rest xys) zs))\n (cons (first xys) (cat (rest xys) zs)))\n (when zs\n (cat (first zs) (next zs)))))))]\n (cat (concat x y) zs))))\n\n(defn list*\n \"Creates a new list containing the items prepended to the rest, the\n last of which will be treated as a sequence.\"\n ([args] (seq args))\n ([a args] (cons a args))\n ([a b args] (cons a (cons b args)))\n ([a b c args] (cons a (cons b (cons c args))))\n ([a b c d & more]\n (cons a (cons b (cons c (cons d (spread more)))))))\n\n\n;;; Transients\n\n(defn transient\n \"Returns a new, transient version of the collection, in constant time.\"\n [coll]\n (-as-transient coll))\n\n(defn persistent!\n \"Returns a new, persistent version of the transient collection, in\n constant time. The transient collection cannot be used after this\n call, any such use will throw an exception.\"\n [tcoll]\n (-persistent! tcoll))\n\n(defn conj!\n \"Adds val to the transient collection, and return tcoll. The 'addition'\n may happen at different 'places' depending on the concrete type.\"\n ([] (transient []))\n ([tcoll] tcoll)\n ([tcoll val]\n (-conj! tcoll val))\n ([tcoll val & vals]\n (let [ntcoll (-conj! tcoll val)]\n (if vals\n (recur ntcoll (first vals) (next vals))\n ntcoll))))\n\n(defn assoc!\n \"When applied to a transient map, adds mapping of key(s) to\n val(s). When applied to a transient vector, sets the val at index.\n Note - index must be <= (count vector). Returns coll.\"\n ([tcoll key val]\n (-assoc! tcoll key val))\n ([tcoll key val & kvs]\n (let [ntcoll (-assoc! tcoll key val)]\n (if kvs\n (recur ntcoll (first kvs) (second kvs) (nnext kvs))\n ntcoll))))\n\n(defn dissoc!\n \"Returns a transient map that doesn't contain a mapping for key(s).\"\n ([tcoll key]\n (-dissoc! tcoll key))\n ([tcoll key & ks]\n (let [ntcoll (-dissoc! tcoll key)]\n (if ks\n (recur ntcoll (first ks) (next ks))\n ntcoll))))\n\n(defn pop!\n \"Removes the last item from a transient vector. If\n the collection is empty, throws an exception. Returns tcoll\"\n [tcoll]\n (-pop! tcoll))\n\n(defn disj!\n \"disj[oin]. Returns a transient set of the same (hashed/sorted) type, that\n does not contain key(s).\"\n ([tcoll val]\n (-disjoin! tcoll val))\n ([tcoll val & vals]\n (let [ntcoll (-disjoin! tcoll val)]\n (if vals\n (recur ntcoll (first vals) (next vals))\n ntcoll))))\n\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; apply ;;;;;;;;;;;;;;;;\n\n;; see core.clj\n(gen-apply-to)\n\n(set! *unchecked-if* true)\n\n(defn- ^seq next*\n \"Internal. DO NOT USE! Next without the nil? check.\"\n [coll]\n (if (implements? INext coll)\n (-next ^not-native coll)\n (seq (rest coll))))\n\n(defn- apply-to-simple\n \"Internal. DO NOT USE!\n Assumes args was already called with seq beforehand!\"\n ([f ^seq args]\n (if (nil? args)\n (if (.-cljs$core$IFn$_invoke$arity$0 f)\n (.cljs$core$IFn$_invoke$arity$0 f)\n (.call f f))\n (apply-to-simple f (-first args) (next* args))))\n ([f a0 ^seq args]\n (if (nil? args)\n (if (.-cljs$core$IFn$_invoke$arity$1 f)\n (.cljs$core$IFn$_invoke$arity$1 f a0)\n (.call f f a0))\n (apply-to-simple f a0 (-first args) (next* args))))\n ([f a0 a1 ^seq args]\n (if (nil? args)\n (if (.-cljs$core$IFn$_invoke$arity$2 f)\n (.cljs$core$IFn$_invoke$arity$2 f a0 a1)\n (.call f f a0 a1))\n (apply-to-simple f a0 a1 (-first args) (next* args))))\n ([f a0 a1 a2 ^seq args]\n (if (nil? args)\n (if (.-cljs$core$IFn$_invoke$arity$3 f)\n (.cljs$core$IFn$_invoke$arity$3 f a0 a1 a2)\n (.call f f a0 a1 a2))\n (apply-to-simple f a0 a1 a2 (-first args) (next* args))))\n ([f a0 a1 a2 a3 ^seq args]\n (if (nil? args)\n (if (.-cljs$core$IFn$_invoke$arity$4 f)\n (.cljs$core$IFn$_invoke$arity$4 f a0 a1 a2 a3)\n (.call f f a0 a1 a2 a3))\n (gen-apply-to-simple f 4 args))))\n\n(defn apply\n \"Applies fn f to the argument list formed by prepending intervening arguments to args.\"\n ([f args]\n (if (.-cljs$lang$applyTo f)\n (let [fixed-arity (.-cljs$lang$maxFixedArity f)\n bc (bounded-count (inc fixed-arity) args)]\n (if (<= bc fixed-arity)\n (apply-to f bc args)\n (.cljs$lang$applyTo f args)))\n (apply-to-simple f (seq args))))\n ([f x args]\n (if (.-cljs$lang$applyTo f)\n (let [arglist (list* x args)\n fixed-arity (.-cljs$lang$maxFixedArity f)\n bc (inc (bounded-count fixed-arity args))]\n (if (<= bc fixed-arity)\n (apply-to f bc arglist)\n (.cljs$lang$applyTo f arglist)))\n (apply-to-simple f x (seq args))))\n ([f x y args]\n (if (.-cljs$lang$applyTo f)\n (let [arglist (list* x y args)\n fixed-arity (.-cljs$lang$maxFixedArity f)\n bc (+ 2 (bounded-count (dec fixed-arity) args))]\n (if (<= bc fixed-arity)\n (apply-to f bc arglist)\n (.cljs$lang$applyTo f arglist)))\n (apply-to-simple f x y (seq args))))\n ([f x y z args]\n (if (.-cljs$lang$applyTo f)\n (let [arglist (list* x y z args)\n fixed-arity (.-cljs$lang$maxFixedArity f)\n bc (+ 3 (bounded-count (- fixed-arity 2) args))]\n (if (<= bc fixed-arity)\n (apply-to f bc arglist)\n (.cljs$lang$applyTo f arglist)))\n (apply-to-simple f x y z (seq args))))\n ([f a b c d & args]\n (if (.-cljs$lang$applyTo f)\n (let [spread-args (spread args)\n arglist (cons a (cons b (cons c (cons d spread-args))))\n fixed-arity (.-cljs$lang$maxFixedArity f)\n bc (+ 4 (bounded-count (- fixed-arity 3) spread-args))]\n (if (<= bc fixed-arity)\n (apply-to f bc arglist)\n (.cljs$lang$applyTo f arglist)))\n (apply-to-simple f a b c d (spread args)))))\n\n(set! *unchecked-if* false)\n\n;; CLJS-3200: used by destructure macro for maps to reduce amount of repeated code\n;; placed here because it needs apply and hash-map (only declared at this point)\n(defn --destructure-map [gmap]\n (if (implements? ISeq gmap)\n (if (next gmap)\n (.createAsIfByAssoc PersistentArrayMap (to-array gmap))\n (if (seq gmap)\n (first gmap)\n (.-EMPTY PersistentArrayMap)))\n gmap))\n\n(defn vary-meta\n \"Returns an object of the same type and value as obj, with\n (apply f (meta obj) args) as its metadata.\"\n ([obj f]\n (with-meta obj (f (meta obj))))\n ([obj f a]\n (with-meta obj (f (meta obj) a)))\n ([obj f a b]\n (with-meta obj (f (meta obj) a b)))\n ([obj f a b c]\n (with-meta obj (f (meta obj) a b c)))\n ([obj f a b c d]\n (with-meta obj (f (meta obj) a b c d)))\n ([obj f a b c d & args]\n (with-meta obj (apply f (meta obj) a b c d args))))\n\n(defn ^boolean not=\n \"Same as (not (= obj1 obj2))\"\n ([x] false)\n ([x y] (not (= x y)))\n ([x y & more]\n (not (apply = x y more))))\n\n(defn not-empty\n \"If coll is empty, returns nil, else coll\"\n [coll] (when (seq coll) coll))\n\n(defn nil-iter []\n (reify\n Object\n (hasNext [_] false)\n (next [_] (js/Error. \"No such element\"))\n (remove [_] (js/Error. \"Unsupported operation\"))))\n\n(deftype StringIter [s ^:mutable i]\n Object\n (hasNext [_] (< i (.-length s)))\n (next [_]\n (let [ret (.charAt s i)]\n (set! i (inc i))\n ret))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(defn string-iter [x]\n (StringIter. x 0))\n\n(deftype ArrayIter [arr ^:mutable i]\n Object\n (hasNext [_] (< i (alength arr)))\n (next [_]\n (let [ret (aget arr i)]\n (set! i (inc i))\n ret))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(defn array-iter [x]\n (ArrayIter. x 0))\n\n(def INIT #js {})\n(def START #js {})\n\n(deftype SeqIter [^:mutable _seq ^:mutable _next]\n Object\n (hasNext [_]\n (if (identical? _seq INIT)\n (do\n (set! _seq START)\n (set! _next (seq _next)))\n (if (identical? _seq _next)\n (set! _next (next _seq))))\n (not (nil? _next)))\n (next [this]\n (if-not ^boolean (.hasNext this)\n (throw (js/Error. \"No such element\"))\n (do\n (set! _seq _next)\n (first _next))))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(defn seq-iter [coll]\n (SeqIter. INIT coll))\n\n(defn iter [coll]\n (cond\n (iterable? coll) (-iterator coll)\n (nil? coll) (nil-iter)\n (string? coll) (string-iter coll)\n (array? coll) (array-iter coll)\n (seqable? coll) (seq-iter coll)\n :else (throw (js/Error. (str \"Cannot create iterator from \" coll)))))\n\n(deftype Many [vals]\n Object\n (add [this o]\n (.push vals o)\n this)\n (remove [this]\n (.shift vals))\n (isEmpty [this]\n (zero? (.-length vals)))\n (toString [this]\n (str \"Many: \" vals)))\n\n(def ^:private NONE #js {})\n\n(deftype Single [^:mutable val]\n Object\n (add [this o]\n (if (identical? val NONE)\n (do\n (set! val o)\n this)\n (Many. #js [val o])))\n (remove [this]\n (if (identical? val NONE)\n (throw (js/Error. (str \"Removing object from empty buffer\")))\n (let [ret val]\n (set! val NONE)\n ret)))\n (isEmpty [this]\n (identical? val NONE))\n (toString [this]\n (str \"Single: \" val)))\n\n(deftype Empty []\n Object\n (add [this o]\n (Single. o))\n (remove [this]\n (throw (js/Error. (str \"Removing object from empty buffer\"))))\n (isEmpty [this]\n true)\n (toString [this]\n \"Empty\"))\n\n(def ^:private EMPTY (Empty.))\n\n(deftype MultiIterator [iters]\n Object\n (hasNext [_]\n (loop [iters (seq iters)]\n (if-not (nil? iters)\n (let [iter (first iters)]\n (if-not ^boolean (.hasNext iter)\n false\n (recur (next iters))))\n true)))\n (next [_]\n (let [nexts (array)]\n (dotimes [i (alength iters)]\n (aset nexts i (.next (aget iters i))))\n (prim-seq nexts 0))))\n\n(defn- chunkIteratorSeq [iter]\n (lazy-seq\n (when ^boolean (.hasNext iter)\n (let [arr (array)]\n (loop [n 0]\n (if (and (.hasNext iter) (< n 32))\n (do\n (aset arr n (.next iter))\n (recur (inc n)))\n (chunk-cons (array-chunk arr 0 n) (chunkIteratorSeq iter))))))))\n\n(deftype TransformerIterator [^:mutable buffer ^:mutable _next ^:mutable completed ^:mutable xf sourceIter multi]\n Object\n (step [this]\n (if-not (identical? _next NONE)\n true\n (loop []\n (if (identical? _next NONE)\n (if ^boolean (.isEmpty buffer)\n (if ^boolean completed\n false\n (if ^boolean (.hasNext sourceIter)\n (let [iter (if ^boolean multi\n (apply xf (cons nil (.next sourceIter)))\n (xf nil (.next sourceIter)))]\n (when (reduced? iter)\n (xf nil)\n (set! completed true))\n (recur))\n (do\n (xf nil)\n (set! completed true)\n (recur))))\n (do\n (set! _next (.remove buffer))\n (recur)))\n true))))\n (hasNext [this]\n (.step this))\n (next [this]\n (if ^boolean (.hasNext this)\n (let [ret _next]\n (set! _next NONE)\n ret)\n (throw (js/Error. \"No such element\"))))\n (remove [_]\n (js/Error. \"Unsupported operation\")))\n\n(es6-iterable TransformerIterator)\n\n(defn transformer-iterator\n [xform sourceIter multi]\n (let [iterator (TransformerIterator. EMPTY NONE false nil sourceIter multi)]\n (set! (.-xf iterator)\n (xform (fn\n ([] nil)\n ([acc] acc)\n ([acc o]\n (set! (.-buffer iterator) (.add (.-buffer iterator) o))\n acc))))\n iterator))\n\n(set! (.-create TransformerIterator)\n (fn [xform source]\n (transformer-iterator xform source false)))\n\n(set! (.-createMulti TransformerIterator)\n (fn [xform sources]\n (transformer-iterator xform (MultiIterator. (to-array sources)) true)))\n\n(defn sequence\n \"Coerces coll to a (possibly empty) sequence, if it is not already\n one. Will not force a lazy seq. (sequence nil) yields (), When a\n transducer is supplied, returns a lazy sequence of applications of\n the transform to the items in coll(s), i.e. to the set of first\n items of each coll, followed by the set of second\n items in each coll, until any one of the colls is exhausted. Any\n remaining items in other colls are ignored. The transform should accept\n number-of-colls arguments\"\n ([coll]\n (if (seq? coll)\n coll\n (or (seq coll) ())))\n ([xform coll]\n (or (chunkIteratorSeq\n (.create TransformerIterator xform (iter coll)))\n ()))\n ([xform coll & colls]\n (or (chunkIteratorSeq\n (.createMulti TransformerIterator xform (map iter (cons coll colls))))\n ())))\n\n(defn every?\n \"Returns true if (pred x) is logical true for every x in coll, else\n false.\"\n [pred coll]\n (cond\n (nil? (seq coll)) true\n (pred (first coll)) (recur pred (next coll))\n :else false))\n\n(defn not-every?\n \"Returns false if (pred x) is logical true for every x in\n coll, else true.\"\n [pred coll] (not (every? pred coll)))\n\n(defn some\n \"Returns the first logical true value of (pred x) for any x in coll,\n else nil. One common idiom is to use a set as pred, for example\n this will return :fred if :fred is in the sequence, otherwise nil:\n (some #{:fred} coll)\"\n [pred coll]\n (when-let [s (seq coll)]\n (or (pred (first s)) (recur pred (next s)))))\n\n(defn not-any?\n \"Returns false if (pred x) is logical true for any x in coll,\n else true.\"\n [pred coll] (not (some pred coll)))\n\n(defn even?\n \"Returns true if n is even, throws an exception if n is not an integer\"\n [n] (if (integer? n)\n (zero? (bit-and n 1))\n (throw (js/Error. (str \"Argument must be an integer: \" n)))))\n\n(defn odd?\n \"Returns true if n is odd, throws an exception if n is not an integer\"\n [n] (not (even? n)))\n\n(defn complement\n \"Takes a fn f and returns a fn that takes the same arguments as f,\n has the same effects, if any, and returns the opposite truth value.\"\n [f]\n (fn\n ([] (not (f)))\n ([x] (not (f x)))\n ([x y] (not (f x y)))\n ([x y & zs] (not (apply f x y zs)))))\n\n(defn constantly\n \"Returns a function that takes any number of arguments and returns x.\"\n [x] (fn [& args] x))\n\n(defn comp\n \"Takes a set of functions and returns a fn that is the composition\n of those fns. The returned fn takes a variable number of args,\n applies the rightmost of fns to the args, the next\n fn (right-to-left) to the result, etc.\"\n ([] identity)\n ([f] f)\n ([f g]\n (fn\n ([] (f (g)))\n ([x] (f (g x)))\n ([x y] (f (g x y)))\n ([x y z] (f (g x y z)))\n ([x y z & args] (f (apply g x y z args)))))\n ([f g h]\n (fn\n ([] (f (g (h))))\n ([x] (f (g (h x))))\n ([x y] (f (g (h x y))))\n ([x y z] (f (g (h x y z))))\n ([x y z & args] (f (g (apply h x y z args))))))\n ([f1 f2 f3 & fs]\n (let [fs (reverse (list* f1 f2 f3 fs))]\n (fn [& args]\n (loop [ret (apply (first fs) args) fs (next fs)]\n (if fs\n (recur ((first fs) ret) (next fs))\n ret))))))\n\n(defn partial\n \"Takes a function f and fewer than the normal arguments to f, and\n returns a fn that takes a variable number of additional args. When\n called, the returned function calls f with args + additional args.\"\n ([f] f)\n ([f arg1]\n (fn\n ([] (f arg1))\n ([x] (f arg1 x))\n ([x y] (f arg1 x y))\n ([x y z] (f arg1 x y z))\n ([x y z & args] (apply f arg1 x y z args))))\n ([f arg1 arg2]\n (fn\n ([] (f arg1 arg2))\n ([x] (f arg1 arg2 x))\n ([x y] (f arg1 arg2 x y))\n ([x y z] (f arg1 arg2 x y z))\n ([x y z & args] (apply f arg1 arg2 x y z args))))\n ([f arg1 arg2 arg3]\n (fn\n ([] (f arg1 arg2 arg3))\n ([x] (f arg1 arg2 arg3 x))\n ([x y] (f arg1 arg2 arg3 x y))\n ([x y z] (f arg1 arg2 arg3 x y z))\n ([x y z & args] (apply f arg1 arg2 arg3 x y z args))))\n ([f arg1 arg2 arg3 & more]\n (fn [& args] (apply f arg1 arg2 arg3 (concat more args)))))\n\n(defn fnil\n \"Takes a function f, and returns a function that calls f, replacing\n a nil first argument to f with the supplied value x. Higher arity\n versions can replace arguments in the second and third\n positions (y, z). Note that the function f can take any number of\n arguments, not just the one(s) being nil-patched.\"\n ([f x]\n (fn\n ([a] (f (if (nil? a) x a)))\n ([a b] (f (if (nil? a) x a) b))\n ([a b c] (f (if (nil? a) x a) b c))\n ([a b c & ds] (apply f (if (nil? a) x a) b c ds))))\n ([f x y]\n (fn\n ([a b] (f (if (nil? a) x a) (if (nil? b) y b)))\n ([a b c] (f (if (nil? a) x a) (if (nil? b) y b) c))\n ([a b c & ds] (apply f (if (nil? a) x a) (if (nil? b) y b) c ds))))\n ([f x y z]\n (fn\n ([a b] (f (if (nil? a) x a) (if (nil? b) y b)))\n ([a b c] (f (if (nil? a) x a) (if (nil? b) y b) (if (nil? c) z c)))\n ([a b c & ds] (apply f (if (nil? a) x a) (if (nil? b) y b) (if (nil? c) z c) ds)))))\n\n(declare volatile!)\n\n(defn map-indexed\n \"Returns a lazy sequence consisting of the result of applying f to 0\n and the first item of coll, followed by applying f to 1 and the second\n item in coll, etc, until coll is exhausted. Thus function f should\n accept 2 arguments, index and item. Returns a stateful transducer when\n no collection is provided.\"\n ([f]\n (fn [rf]\n (let [i (volatile! -1)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (rf result (f (vswap! i inc) input)))))))\n ([f coll]\n (letfn [(mapi [idx coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (if (chunked-seq? s)\n (let [c (chunk-first s)\n size (count c)\n b (chunk-buffer size)]\n (dotimes [i size]\n (chunk-append b (f (+ idx i) (-nth c i))))\n (chunk-cons (chunk b) (mapi (+ idx size) (chunk-rest s))))\n (cons (f idx (first s)) (mapi (inc idx) (rest s)))))))]\n (mapi 0 coll))))\n\n(defn keep\n \"Returns a lazy sequence of the non-nil results of (f item). Note,\n this means false return values will be included. f must be free of\n side-effects. Returns a transducer when no collection is provided.\"\n ([f]\n (fn [rf]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (let [v (f input)]\n (if (nil? v)\n result\n (rf result v)))))))\n ([f coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (if (chunked-seq? s)\n (let [c (chunk-first s)\n size (count c)\n b (chunk-buffer size)]\n (dotimes [i size]\n (let [x (f (-nth c i))]\n (when-not (nil? x)\n (chunk-append b x))))\n (chunk-cons (chunk b) (keep f (chunk-rest s))))\n (let [x (f (first s))]\n (if (nil? x)\n (keep f (rest s))\n (cons x (keep f (rest s))))))))))\n\n;; =============================================================================\n;; Atom\n\n(deftype Atom [state meta validator watches]\n Object\n (equiv [this other]\n (-equiv this other))\n\n IAtom\n\n IEquiv\n (-equiv [o other] (identical? o other))\n\n IDeref\n (-deref [_] state)\n\n IMeta\n (-meta [_] meta)\n\n IWatchable\n (-notify-watches [this oldval newval]\n (doseq [[key f] watches]\n (f key this oldval newval)))\n (-add-watch [this key f]\n (set! (.-watches this) (assoc watches key f))\n this)\n (-remove-watch [this key]\n (set! (.-watches this) (dissoc watches key)))\n\n IHash\n (-hash [this] (goog/getUid this)))\n\n(defn atom\n \"Creates and returns an Atom with an initial value of x and zero or\n more options (in any order):\n\n :meta metadata-map\n\n :validator validate-fn\n\n If metadata-map is supplied, it will become the metadata on the\n atom. validate-fn must be nil or a side-effect-free fn of one\n argument, which will be passed the intended new state on any state\n change. If the new state is unacceptable, the validate-fn should\n return false or throw an Error. If either of these error conditions\n occur, then the value of the atom will not change.\"\n ([x] (Atom. x nil nil nil))\n ([x & {:keys [meta validator]}] (Atom. x meta validator nil)))\n\n(declare pr-str)\n\n(defn reset!\n \"Sets the value of atom to newval without regard for the\n current value. Returns new-value.\"\n [a new-value]\n (if (instance? Atom a)\n (let [validate (.-validator a)]\n (when-not (nil? validate)\n (when-not (validate new-value)\n (throw (js/Error. \"Validator rejected reference state\"))))\n (let [old-value (.-state a)]\n (set! (.-state a) new-value)\n (when-not (nil? (.-watches a))\n (-notify-watches a old-value new-value))\n new-value))\n (-reset! a new-value)))\n\n(defn reset-vals!\n \"Sets the value of atom to newval. Returns [old new], the value of the\n atom before and after the reset.\"\n {:added \"1.9\"}\n [a new-value]\n (let [validate (.-validator a)]\n (when-not (nil? validate)\n (when-not (validate new-value)\n (throw (js/Error. \"Validator rejected reference state\"))))\n (let [old-value (.-state a)]\n (set! (.-state a) new-value)\n (when-not (nil? (.-watches a))\n (-notify-watches a old-value new-value))\n [old-value new-value])))\n\n(defn swap!\n \"Atomically swaps the value of atom to be:\n (apply f current-value-of-atom args). Note that f may be called\n multiple times, and thus should be free of side effects. Returns\n the value that was swapped in.\"\n ([a f]\n (if (instance? Atom a)\n (reset! a (f (.-state a)))\n (-swap! a f)))\n ([a f x]\n (if (instance? Atom a)\n (reset! a (f (.-state a) x))\n (-swap! a f x)))\n ([a f x y]\n (if (instance? Atom a)\n (reset! a (f (.-state a) x y))\n (-swap! a f x y)))\n ([a f x y & more]\n (if (instance? Atom a)\n (reset! a (apply f (.-state a) x y more))\n (-swap! a f x y more))))\n\n(defn swap-vals!\n \"Atomically swaps the value of atom to be:\n (apply f current-value-of-atom args). Note that f may be called\n multiple times, and thus should be free of side effects.\n Returns [old new], the value of the atom before and after the swap.\"\n {:added \"1.9\"}\n ([a f]\n (reset-vals! a (f (.-state a))))\n ([a f x]\n (reset-vals! a (f (.-state a) x)))\n ([a f x y]\n (reset-vals! a (f (.-state a) x y)))\n ([a f x y & more]\n (reset-vals! a (apply f (.-state a) x y more))))\n\n(defn compare-and-set!\n \"Atomically sets the value of atom to newval if and only if the\n current value of the atom is equal to oldval. Returns true if\n set happened, else false.\"\n [^not-native a oldval newval]\n (if (= (-deref a) oldval)\n (do (reset! a newval) true)\n false))\n\n(defn set-validator!\n \"Sets the validator-fn for an atom. validator-fn must be nil or a\n side-effect-free fn of one argument, which will be passed the intended\n new state on any state change. If the new state is unacceptable, the\n validator-fn should return false or throw an Error. If the current state\n is not acceptable to the new validator, an Error will be thrown and the\n validator will not be changed.\"\n [iref val]\n (when (and (some? val)\n (not (val (-deref iref))))\n (throw (js/Error. \"Validator rejected reference state\")))\n (set! (.-validator iref) val))\n\n(defn get-validator\n \"Gets the validator-fn for a var/ref/agent/atom.\"\n [iref]\n (.-validator iref))\n\n(deftype Volatile [^:mutable state]\n IVolatile\n (-vreset! [_ new-state]\n (set! state new-state))\n\n IDeref\n (-deref [_] state))\n\n(defn volatile!\n \"Creates and returns a Volatile with an initial value of val.\"\n [val]\n (Volatile. val))\n\n(defn volatile?\n \"Returns true if x is a volatile.\"\n [x] (instance? Volatile x))\n\n(defn vreset!\n \"Sets the value of volatile to newval without regard for the\n current value. Returns newval.\"\n [vol newval] (-vreset! vol newval))\n\n(defn keep-indexed\n \"Returns a lazy sequence of the non-nil results of (f index item). Note,\n this means false return values will be included. f must be free of\n side-effects. Returns a stateful transducer when no collection is\n provided.\"\n ([f]\n (fn [rf]\n (let [ia (volatile! -1)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (let [i (vswap! ia inc)\n v (f i input)]\n (if (nil? v)\n result\n (rf result v))))))))\n ([f coll]\n (letfn [(keepi [idx coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (if (chunked-seq? s)\n (let [c (chunk-first s)\n size (count c)\n b (chunk-buffer size)]\n (dotimes [i size]\n (let [x (f (+ idx i) (-nth c i))]\n (when-not (nil? x)\n (chunk-append b x))))\n (chunk-cons (chunk b) (keepi (+ idx size) (chunk-rest s))))\n (let [x (f idx (first s))]\n (if (nil? x)\n (keepi (inc idx) (rest s))\n (cons x (keepi (inc idx) (rest s)))))))))]\n (keepi 0 coll))))\n\n(defn every-pred\n \"Takes a set of predicates and returns a function f that returns true if all of its\n composing predicates return a logical true value against all of its arguments, else it returns\n false. Note that f is short-circuiting in that it will stop execution on the first\n argument that triggers a logical false result against the original predicates.\"\n ([p]\n (fn ep1\n ([] true)\n ([x] (boolean (p x)))\n ([x y] (boolean (and (p x) (p y))))\n ([x y z] (boolean (and (p x) (p y) (p z))))\n ([x y z & args] (boolean (and (ep1 x y z)\n (every? p args))))))\n ([p1 p2]\n (fn ep2\n ([] true)\n ([x] (boolean (and (p1 x) (p2 x))))\n ([x y] (boolean (and (p1 x) (p1 y) (p2 x) (p2 y))))\n ([x y z] (boolean (and (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z))))\n ([x y z & args] (boolean (and (ep2 x y z)\n (every? #(and (p1 %) (p2 %)) args))))))\n ([p1 p2 p3]\n (fn ep3\n ([] true)\n ([x] (boolean (and (p1 x) (p2 x) (p3 x))))\n ([x y] (boolean (and (p1 x) (p1 y) (p2 x) (p2 y) (p3 x) (p3 y))))\n ([x y z] (boolean (and (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z) (p3 x) (p3 y) (p3 z))))\n ([x y z & args] (boolean (and (ep3 x y z)\n (every? #(and (p1 %) (p2 %) (p3 %)) args))))))\n ([p1 p2 p3 & ps]\n (let [ps (list* p1 p2 p3 ps)]\n (fn epn\n ([] true)\n ([x] (every? #(% x) ps))\n ([x y] (every? #(and (% x) (% y)) ps))\n ([x y z] (every? #(and (% x) (% y) (% z)) ps))\n ([x y z & args] (boolean (and (epn x y z)\n (every? #(every? % args) ps))))))))\n\n(defn some-fn\n \"Takes a set of predicates and returns a function f that returns the first logical true value\n returned by one of its composing predicates against any of its arguments, else it returns\n logical false. Note that f is short-circuiting in that it will stop execution on the first\n argument that triggers a logical true result against the original predicates.\"\n ([p]\n (fn sp1\n ([] nil)\n ([x] (p x))\n ([x y] (or (p x) (p y)))\n ([x y z] (or (p x) (p y) (p z)))\n ([x y z & args] (or (sp1 x y z)\n (some p args)))))\n ([p1 p2]\n (fn sp2\n ([] nil)\n ([x] (or (p1 x) (p2 x)))\n ([x y] (or (p1 x) (p1 y) (p2 x) (p2 y)))\n ([x y z] (or (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z)))\n ([x y z & args] (or (sp2 x y z)\n (some #(or (p1 %) (p2 %)) args)))))\n ([p1 p2 p3]\n (fn sp3\n ([] nil)\n ([x] (or (p1 x) (p2 x) (p3 x)))\n ([x y] (or (p1 x) (p1 y) (p2 x) (p2 y) (p3 x) (p3 y)))\n ([x y z] (or (p1 x) (p1 y) (p1 z) (p2 x) (p2 y) (p2 z) (p3 x) (p3 y) (p3 z)))\n ([x y z & args] (or (sp3 x y z)\n (some #(or (p1 %) (p2 %) (p3 %)) args)))))\n ([p1 p2 p3 & ps]\n (let [ps (list* p1 p2 p3 ps)]\n (fn spn\n ([] nil)\n ([x] (some #(% x) ps))\n ([x y] (some #(or (% x) (% y)) ps))\n ([x y z] (some #(or (% x) (% y) (% z)) ps))\n ([x y z & args] (or (spn x y z)\n (some #(some % args) ps)))))))\n\n(defn map\n \"Returns a lazy sequence consisting of the result of applying f to\n the set of first items of each coll, followed by applying f to the\n set of second items in each coll, until any one of the colls is\n exhausted. Any remaining items in other colls are ignored. Function\n f should accept number-of-colls arguments. Returns a transducer when\n no collection is provided.\"\n ([f]\n (fn [rf]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (rf result (f input)))\n ([result input & inputs]\n (rf result (apply f input inputs))))))\n ([f coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (if (chunked-seq? s)\n (let [c (chunk-first s)\n size (count c)\n b (chunk-buffer size)]\n (dotimes [i size]\n (chunk-append b (f (-nth c i))))\n (chunk-cons (chunk b) (map f (chunk-rest s))))\n (cons (f (first s)) (map f (rest s)))))))\n ([f c1 c2]\n (lazy-seq\n (let [s1 (seq c1) s2 (seq c2)]\n (when (and s1 s2)\n (cons (f (first s1) (first s2))\n (map f (rest s1) (rest s2)))))))\n ([f c1 c2 c3]\n (lazy-seq\n (let [s1 (seq c1) s2 (seq c2) s3 (seq c3)]\n (when (and s1 s2 s3)\n (cons (f (first s1) (first s2) (first s3))\n (map f (rest s1) (rest s2) (rest s3)))))))\n ([f c1 c2 c3 & colls]\n (let [step (fn step [cs]\n (lazy-seq\n (let [ss (map seq cs)]\n (when (every? identity ss)\n (cons (map first ss) (step (map rest ss)))))))]\n (map #(apply f %) (step (conj colls c3 c2 c1))))))\n\n(defn take\n \"Returns a lazy sequence of the first n items in coll, or all items if\n there are fewer than n. Returns a stateful transducer when\n no collection is provided.\"\n ([n]\n {:pre [(number? n)]}\n (fn [rf]\n (let [na (volatile! n)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (let [n @na\n nn (vswap! na dec)\n result (if (pos? n)\n (rf result input)\n result)]\n (if (not (pos? nn))\n (ensure-reduced result)\n result)))))))\n ([n coll]\n {:pre [(number? n)]}\n (lazy-seq\n (when (pos? n)\n (when-let [s (seq coll)]\n (cons (first s) (take (dec n) (rest s))))))))\n\n(defn drop\n \"Returns a lazy sequence of all but the first n items in coll.\n Returns a stateful transducer when no collection is provided.\"\n ([n]\n {:pre [(number? n)]}\n (fn [rf]\n (let [na (volatile! n)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (let [n @na]\n (vswap! na dec)\n (if (pos? n)\n result\n (rf result input))))))))\n ([n coll]\n {:pre [(number? n)]}\n (let [step (fn [n coll]\n (let [s (seq coll)]\n (if (and (pos? n) s)\n (recur (dec n) (rest s))\n s)))]\n (lazy-seq (step n coll)))))\n\n(defn drop-last\n \"Return a lazy sequence of all but the last n (default 1) items in coll\"\n ([s] (drop-last 1 s))\n ([n s] (map (fn [x _] x) s (drop n s))))\n\n(defn take-last\n \"Returns a seq of the last n items in coll. Depending on the type\n of coll may be no better than linear time. For vectors, see also subvec.\"\n [n coll]\n (loop [s (seq coll), lead (seq (drop n coll))]\n (if lead\n (recur (next s) (next lead))\n s)))\n\n(defn drop-while\n \"Returns a lazy sequence of the items in coll starting from the\n first item for which (pred item) returns logical false. Returns a\n stateful transducer when no collection is provided.\"\n ([pred]\n (fn [rf]\n (let [da (volatile! true)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (let [drop? @da]\n (if (and drop? (pred input))\n result\n (do\n (vreset! da nil)\n (rf result input)))))))))\n ([pred coll]\n (let [step (fn [pred coll]\n (let [s (seq coll)]\n (if (and s (pred (first s)))\n (recur pred (rest s))\n s)))]\n (lazy-seq (step pred coll)))))\n\n(deftype Cycle [meta all prev ^:mutable current ^:mutable _next]\n Object\n (toString [coll]\n (pr-str* coll))\n (currentval [coll]\n (when-not ^seq current\n (if-let [c (next prev)]\n (set! current c)\n (set! current all)))\n current)\n\n IPending\n (-realized? [coll]\n (some? current))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (Cycle. new-meta all prev current _next)))\n\n IMeta\n (-meta [coll] meta)\n\n ISeq\n (-first [coll]\n (first (.currentval coll)))\n (-rest [coll]\n (when (nil? _next)\n (set! _next (Cycle. nil all (.currentval coll) nil nil)))\n _next)\n\n INext\n (-next [coll]\n (-rest coll))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n ISequential\n ISeqable\n (-seq [coll] coll)\n\n IReduce\n (-reduce [coll f]\n (loop [s (.currentval coll) ret (first s)]\n (let [s (or (next s) all)\n ret (f ret (first s))]\n (if (reduced? ret)\n @ret\n (recur s ret)))))\n (-reduce [coll f start]\n (loop [s (.currentval coll) ret start]\n (let [ret (f ret (first s))]\n (if (reduced? ret)\n @ret\n (recur (or (next s) all) ret))))))\n\n(defn cycle\n \"Returns a lazy (infinite!) sequence of repetitions of the items in coll.\"\n [coll] (if-let [vals (seq coll)]\n (Cycle. nil vals nil vals nil)\n (.-EMPTY List)))\n\n(defn split-at\n \"Returns a vector of [(take n coll) (drop n coll)]\"\n [n coll]\n [(take n coll) (drop n coll)])\n\n(deftype Repeat [meta count val ^:mutable next ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x count))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IPending\n (-realized? [coll] false)\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (Repeat. new-meta count val next nil)))\n\n IMeta\n (-meta [coll] meta)\n\n ISeq\n (-first [coll]\n val)\n (-rest [coll]\n (if (nil? next)\n (if (> count 1)\n (do\n (set! next (Repeat. nil (dec count) val nil nil))\n next)\n (if (== -1 count)\n coll\n ()))\n next))\n\n INext\n (-next [coll]\n (if (nil? next)\n (if (> count 1)\n (do\n (set! next (Repeat. nil (dec count) val nil nil))\n next)\n (if (== -1 count)\n coll\n nil))\n next))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISequential\n ISeqable\n (-seq [coll] coll)\n\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IReduce\n (-reduce [coll f]\n (if (== count -1)\n (loop [ret (f val val)]\n (if (reduced? ret)\n @ret\n (recur (f ret val))))\n (loop [i 1 ret val]\n (if (< i count)\n (let [ret (f ret val)]\n (if (reduced? ret)\n @ret\n (recur (inc i) ret)))\n ret))))\n (-reduce [coll f start]\n (if (== count -1)\n (loop [ret (f start val)]\n (if (reduced? ret)\n @ret\n (recur (f ret val))))\n (loop [i 0 ret start]\n (if (< i count)\n (let [ret (f ret val)]\n (if (reduced? ret)\n @ret\n (recur (inc i) ret)))\n ret)))))\n\n(defn repeat\n \"Returns a lazy (infinite!, or length n if supplied) sequence of xs.\"\n ([x] (Repeat. nil -1 x nil nil))\n ([n x] (if (pos? n)\n (Repeat. nil n x nil nil)\n (.-EMPTY List))))\n\n(defn replicate\n \"DEPRECATED: Use 'repeat' instead.\n Returns a lazy seq of n xs.\"\n [n x] (take n (repeat x)))\n\n(defn repeatedly\n \"Takes a function of no args, presumably with side effects, and\n returns an infinite (or length n if supplied) lazy sequence of calls\n to it\"\n ([f] (lazy-seq (cons (f) (repeatedly f))))\n ([n f] (take n (repeatedly f))))\n\n(def ^:private UNREALIZED-SEED #js {})\n\n(deftype Iterate [meta f prev-seed ^:mutable seed ^:mutable next]\n Object\n (toString [coll]\n (pr-str* coll))\n\n IPending\n (-realized? [coll]\n (not (identical? seed UNREALIZED-SEED)))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (Iterate. new-meta f prev-seed seed next)))\n\n IMeta\n (-meta [coll] meta)\n\n ISeq\n (-first [coll]\n (when (identical? UNREALIZED-SEED seed)\n (set! seed (f prev-seed)))\n seed)\n (-rest [coll]\n (when (nil? next)\n (set! next (Iterate. nil f (-first coll) UNREALIZED-SEED nil)))\n next)\n\n INext\n (-next [coll]\n (-rest coll))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n ISequential\n ISeqable\n (-seq [coll] coll)\n\n IReduce\n (-reduce [coll rf]\n (let [first (-first coll)\n v (f first)]\n (loop [ret (rf first v) v v]\n (if (reduced? ret)\n @ret\n (let [v (f v)]\n (recur (rf ret v) v))))))\n (-reduce [coll rf start]\n (let [v (-first coll)]\n (loop [ret (rf start v) v v]\n (if (reduced? ret)\n @ret\n (let [v (f v)]\n (recur (rf ret v) v)))))))\n\n(defn iterate\n \"Returns a lazy sequence of x, (f x), (f (f x)) etc. f must be free of side-effects\"\n {:added \"1.0\"}\n [f x] (Iterate. nil f nil x nil))\n\n(defn interleave\n \"Returns a lazy seq of the first item in each coll, then the second etc.\"\n ([] ())\n ([c1] (lazy-seq c1))\n ([c1 c2]\n (lazy-seq\n (let [s1 (seq c1) s2 (seq c2)]\n (when (and s1 s2)\n (cons (first s1) (cons (first s2)\n (interleave (rest s1) (rest s2))))))))\n ([c1 c2 & colls]\n (lazy-seq\n (let [ss (map seq (conj colls c2 c1))]\n (when (every? identity ss)\n (concat (map first ss) (apply interleave (map rest ss))))))))\n\n(defn interpose\n \"Returns a lazy seq of the elements of coll separated by sep.\n Returns a stateful transducer when no collection is provided.\"\n ([sep]\n (fn [rf]\n (let [started (volatile! false)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (if @started\n (let [sepr (rf result sep)]\n (if (reduced? sepr)\n sepr\n (rf sepr input)))\n (do\n (vreset! started true)\n (rf result input))))))))\n ([sep coll] (drop 1 (interleave (repeat sep) coll))))\n\n\n\n(defn- flatten1\n \"Take a collection of collections, and return a lazy seq\n of items from the inner collection\"\n [colls]\n (let [cat (fn cat [coll colls]\n (lazy-seq\n (if-let [coll (seq coll)]\n (cons (first coll) (cat (rest coll) colls))\n (when (seq colls)\n (cat (first colls) (rest colls))))))]\n (cat nil colls)))\n\n(declare cat)\n\n(defn mapcat\n \"Returns the result of applying concat to the result of applying map\n to f and colls. Thus function f should return a collection. Returns\n a transducer when no collections are provided\"\n {:added \"1.0\"\n :static true}\n ([f] (comp (map f) cat))\n ([f & colls]\n (apply concat (apply map f colls))))\n\n(defn filter\n \"Returns a lazy sequence of the items in coll for which\n (pred item) returns logical true. pred must be free of side-effects.\n Returns a transducer when no collection is provided.\"\n ([pred]\n (fn [rf]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (if (pred input)\n (rf result input)\n result)))))\n ([pred coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (if (chunked-seq? s)\n (let [c (chunk-first s)\n size (count c)\n b (chunk-buffer size)]\n (dotimes [i size]\n (when (pred (-nth c i))\n (chunk-append b (-nth c i))))\n (chunk-cons (chunk b) (filter pred (chunk-rest s))))\n (let [f (first s) r (rest s)]\n (if (pred f)\n (cons f (filter pred r))\n (filter pred r))))))))\n\n(defn remove\n \"Returns a lazy sequence of the items in coll for which\n (pred item) returns logical false. pred must be free of side-effects.\n Returns a transducer when no collection is provided.\"\n ([pred] (filter (complement pred)))\n ([pred coll]\n (filter (complement pred) coll)))\n\n(defn tree-seq\n \"Returns a lazy sequence of the nodes in a tree, via a depth-first walk.\n branch? must be a fn of one arg that returns true if passed a node\n that can have children (but may not). children must be a fn of one\n arg that returns a sequence of the children. Will only be called on\n nodes for which branch? returns true. Root is the root node of the\n tree.\"\n [branch? children root]\n (let [walk (fn walk [node]\n (lazy-seq\n (cons node\n (when (branch? node)\n (mapcat walk (children node))))))]\n (walk root)))\n\n(defn flatten\n \"Takes any nested combination of sequential things (lists, vectors,\n etc.) and returns their contents as a single, flat sequence.\n (flatten nil) returns nil.\"\n [x]\n (filter #(not (sequential? %))\n (rest (tree-seq sequential? seq x))))\n\n(defn into\n \"Returns a new coll consisting of to-coll with all of the items of\n from-coll conjoined. A transducer may be supplied.\"\n ([] [])\n ([to] to)\n ([to from]\n (if-not (nil? to)\n (if (implements? IEditableCollection to)\n (-with-meta (persistent! (reduce -conj! (transient to) from)) (meta to))\n (reduce -conj to from))\n (reduce conj to from)))\n ([to xform from]\n (if (implements? IEditableCollection to)\n (let [tm (meta to)\n rf (fn\n ([coll] (-> (persistent! coll) (-with-meta tm)))\n ([coll v] (conj! coll v)))]\n (transduce xform rf (transient to) from))\n (transduce xform conj to from))))\n\n(defn mapv\n \"Returns a vector consisting of the result of applying f to the\n set of first items of each coll, followed by applying f to the set\n of second items in each coll, until any one of the colls is\n exhausted. Any remaining items in other colls are ignored. Function\n f should accept number-of-colls arguments.\"\n ([f coll]\n (-> (reduce (fn [v o] (conj! v (f o))) (transient []) coll)\n persistent!))\n ([f c1 c2]\n (into [] (map f c1 c2)))\n ([f c1 c2 c3]\n (into [] (map f c1 c2 c3)))\n ([f c1 c2 c3 & colls]\n (into [] (apply map f c1 c2 c3 colls))))\n\n(defn filterv\n \"Returns a vector of the items in coll for which\n (pred item) returns logical true. pred must be free of side-effects.\"\n [pred coll]\n (-> (reduce (fn [v o] (if (pred o) (conj! v o) v))\n (transient [])\n coll)\n persistent!))\n\n(defn partition\n \"Returns a lazy sequence of lists of n items each, at offsets step\n apart. If step is not supplied, defaults to n, i.e. the partitions\n do not overlap. If a pad collection is supplied, use its elements as\n necessary to complete last partition up to n items. In case there are\n not enough padding elements, return a partition with less than n items.\"\n ([n coll]\n (partition n n coll))\n ([n step coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (let [p (take n s)]\n (when (== n (count p))\n (cons p (partition n step (drop step s))))))))\n ([n step pad coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (let [p (take n s)]\n (if (== n (count p))\n (cons p (partition n step pad (drop step s)))\n (list (take n (concat p pad)))))))))\n\n(defn get-in\n \"Returns the value in a nested associative structure,\n where ks is a sequence of keys. Returns nil if the key is not present,\n or the not-found value if supplied.\"\n {:added \"1.2\"\n :static true}\n ([m ks]\n (reduce get m ks))\n ([m ks not-found]\n (loop [sentinel lookup-sentinel\n m m\n ks (seq ks)]\n (if-not (nil? ks)\n (let [m (get m (first ks) sentinel)]\n (if (identical? sentinel m)\n not-found\n (recur sentinel m (next ks))))\n m))))\n\n(defn assoc-in\n \"Associates a value in a nested associative structure, where ks is a\n sequence of keys and v is the new value and returns a new nested structure.\n If any levels do not exist, hash-maps will be created.\"\n [m [k & ks] v]\n (if ks\n (assoc m k (assoc-in (get m k) ks v))\n (assoc m k v)))\n\n(defn update-in\n \"'Updates' a value in a nested associative structure, where ks is a\n sequence of keys and f is a function that will take the old value\n and any supplied args and return the new value, and returns a new\n nested structure. If any levels do not exist, hash-maps will be\n created.\"\n ([m [k & ks] f]\n (if ks\n (assoc m k (update-in (get m k) ks f))\n (assoc m k (f (get m k)))))\n ([m [k & ks] f a]\n (if ks\n (assoc m k (update-in (get m k) ks f a))\n (assoc m k (f (get m k) a))))\n ([m [k & ks] f a b]\n (if ks\n (assoc m k (update-in (get m k) ks f a b))\n (assoc m k (f (get m k) a b))))\n ([m [k & ks] f a b c]\n (if ks\n (assoc m k (update-in (get m k) ks f a b c))\n (assoc m k (f (get m k) a b c))))\n ([m [k & ks] f a b c & args]\n (if ks\n (assoc m k (apply update-in (get m k) ks f a b c args))\n (assoc m k (apply f (get m k) a b c args)))))\n\n(defn update\n \"'Updates' a value in an associative structure, where k is a\n key and f is a function that will take the old value\n and any supplied args and return the new value, and returns a new\n structure. If the key does not exist, nil is passed as the old value.\"\n ([m k f]\n (assoc m k (f (get m k))))\n ([m k f x]\n (assoc m k (f (get m k) x)))\n ([m k f x y]\n (assoc m k (f (get m k) x y)))\n ([m k f x y z]\n (assoc m k (f (get m k) x y z)))\n ([m k f x y z & more]\n (assoc m k (apply f (get m k) x y z more))))\n\n;;; PersistentVector\n\n(deftype VectorNode [edit arr])\n\n(defn- pv-fresh-node [edit]\n (VectorNode. edit (make-array 32)))\n\n(defn- pv-aget [node idx]\n (aget (.-arr node) idx))\n\n(defn- pv-aset [node idx val]\n (aset (.-arr node) idx val))\n\n(defn- pv-clone-node [node]\n (VectorNode. (.-edit node) (aclone (.-arr node))))\n\n(defn- tail-off [pv]\n (let [cnt (.-cnt pv)]\n (if (< cnt 32)\n 0\n (bit-shift-left (bit-shift-right-zero-fill (dec cnt) 5) 5))))\n\n(defn- new-path [edit level node]\n (loop [ll level\n ret node]\n (if (zero? ll)\n ret\n (let [embed ret\n r (pv-fresh-node edit)\n _ (pv-aset r 0 embed)]\n (recur (- ll 5) r)))))\n\n(defn- push-tail [pv level parent tailnode]\n (let [ret (pv-clone-node parent)\n subidx (bit-and (bit-shift-right-zero-fill (dec (.-cnt pv)) level) 0x01f)]\n (if (== 5 level)\n (do\n (pv-aset ret subidx tailnode)\n ret)\n (let [child (pv-aget parent subidx)]\n (if-not (nil? child)\n (let [node-to-insert (push-tail pv (- level 5) child tailnode)]\n (pv-aset ret subidx node-to-insert)\n ret)\n (let [node-to-insert (new-path nil (- level 5) tailnode)]\n (pv-aset ret subidx node-to-insert)\n ret))))))\n\n(defn- vector-index-out-of-bounds [i cnt]\n (throw (js/Error. (str \"No item \" i \" in vector of length \" cnt))))\n\n(defn- first-array-for-longvec [pv]\n ;; invariants: (count pv) > 32.\n (loop [node (.-root pv)\n level (.-shift pv)]\n (if (pos? level)\n (recur (pv-aget node 0) (- level 5))\n (.-arr node))))\n\n(defn- unchecked-array-for [pv i]\n ;; invariant: i is a valid index of pv (use array-for if unknown).\n (if (>= i (tail-off pv))\n (.-tail pv)\n (loop [node (.-root pv)\n level (.-shift pv)]\n (if (pos? level)\n (recur (pv-aget node (bit-and (bit-shift-right-zero-fill i level) 0x01f))\n (- level 5))\n (.-arr node)))))\n\n(defn- array-for [pv i]\n (if (and (<= 0 i) (< i (.-cnt pv)))\n (unchecked-array-for pv i)\n (vector-index-out-of-bounds i (.-cnt pv))))\n\n(defn- do-assoc [pv level node i val]\n (let [ret (pv-clone-node node)]\n (if (zero? level)\n (do\n (pv-aset ret (bit-and i 0x01f) val)\n ret)\n (let [subidx (bit-and (bit-shift-right-zero-fill i level) 0x01f)]\n (pv-aset ret subidx (do-assoc pv (- level 5) (pv-aget node subidx) i val))\n ret))))\n\n(defn- pop-tail [pv level node]\n (let [subidx (bit-and (bit-shift-right-zero-fill (- (.-cnt pv) 2) level) 0x01f)]\n (cond\n (> level 5) (let [new-child (pop-tail pv (- level 5) (pv-aget node subidx))]\n (if (and (nil? new-child) (zero? subidx))\n nil\n (let [ret (pv-clone-node node)]\n (pv-aset ret subidx new-child)\n ret)))\n (zero? subidx) nil\n :else (let [ret (pv-clone-node node)]\n (pv-aset ret subidx nil)\n ret))))\n\n(deftype RangedIterator [^:mutable i ^:mutable base ^:mutable arr v start end]\n Object\n (hasNext [this]\n (< i end))\n (next [this]\n (when (== (- i base) 32)\n (set! arr (unchecked-array-for v i))\n (set! base (+ base 32)))\n (let [ret (aget arr (bit-and i 0x01f))]\n (set! i (inc i))\n ret)))\n\n(defn ranged-iterator [v start end]\n (let [i start]\n (RangedIterator. i (- i (js-mod i 32))\n (when (< start (count v))\n (unchecked-array-for v i))\n v start end)))\n\n(defn- pv-reduce\n ([pv f start end]\n (if (< start end)\n (pv-reduce pv f (nth pv start) (inc start) end)\n (f)))\n ([pv f init start end]\n (loop [acc init i start arr (unchecked-array-for pv start)]\n (if (< i end)\n (let [j (bit-and i 0x01f)\n arr (if (zero? j) (unchecked-array-for pv i) arr)\n nacc (f acc (aget arr j))]\n (if (reduced? nacc)\n @nacc\n (recur nacc (inc i) arr)))\n acc))))\n\n(declare tv-editable-root tv-editable-tail TransientVector deref\n pr-sequential-writer pr-writer chunked-seq)\n\n(defprotocol APersistentVector\n \"Marker protocol\")\n\n(deftype PersistentVector [meta cnt shift root tail ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n ICloneable\n (-clone [_] (PersistentVector. meta cnt shift root tail __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentVector. new-meta cnt shift root tail __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n IStack\n (-peek [coll]\n (when (> cnt 0)\n (-nth coll (dec cnt))))\n (-pop [coll]\n (cond\n (zero? cnt) (throw (js/Error. \"Can't pop empty vector\"))\n (== 1 cnt) (-with-meta (.-EMPTY PersistentVector) meta)\n (< 1 (- cnt (tail-off coll)))\n (PersistentVector. meta (dec cnt) shift root (.slice tail 0 -1) nil)\n :else (let [new-tail (unchecked-array-for coll (- cnt 2))\n nr (pop-tail coll shift root)\n new-root (if (nil? nr) (.-EMPTY-NODE PersistentVector) nr)\n cnt-1 (dec cnt)]\n (if (and (< 5 shift) (nil? (pv-aget new-root 1)))\n (PersistentVector. meta cnt-1 (- shift 5) (pv-aget new-root 0) new-tail nil)\n (PersistentVector. meta cnt-1 shift new-root new-tail nil)))))\n\n ICollection\n (-conj [coll o]\n (if (< (- cnt (tail-off coll)) 32)\n (let [len (alength tail)\n new-tail (make-array (inc len))]\n (dotimes [i len]\n (aset new-tail i (aget tail i)))\n (aset new-tail len o)\n (PersistentVector. meta (inc cnt) shift root new-tail nil))\n (let [root-overflow? (> (bit-shift-right-zero-fill cnt 5) (bit-shift-left 1 shift))\n new-shift (if root-overflow? (+ shift 5) shift)\n new-root (if root-overflow?\n (let [n-r (pv-fresh-node nil)]\n (pv-aset n-r 0 root)\n (pv-aset n-r 1 (new-path nil shift (VectorNode. nil tail)))\n n-r)\n (push-tail coll shift root (VectorNode. nil tail)))]\n (PersistentVector. meta (inc cnt) new-shift new-root (array o) nil))))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY PersistentVector) meta))\n\n ISequential\n IEquiv\n (-equiv [coll other]\n (if (instance? PersistentVector other)\n (if (== cnt (count other))\n (let [me-iter (-iterator coll)\n you-iter (-iterator other)]\n (loop []\n (if ^boolean (.hasNext me-iter)\n (let [x (.next me-iter)\n y (.next you-iter)]\n (if (= x y)\n (recur)\n false))\n true)))\n false)\n (equiv-sequential coll other)))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll]\n (cond\n (zero? cnt) nil\n (<= cnt 32) (IndexedSeq. tail 0 nil)\n :else (chunked-seq coll (first-array-for-longvec coll) 0 0)))\n\n ICounted\n (-count [coll] cnt)\n\n IIndexed\n (-nth [coll n]\n (aget (array-for coll n) (bit-and n 0x01f)))\n (-nth [coll n not-found]\n (if (and (<= 0 n) (< n cnt))\n (aget (unchecked-array-for coll n) (bit-and n 0x01f))\n not-found))\n\n ILookup\n (-lookup [coll k] (-lookup coll k nil))\n (-lookup [coll k not-found] (if (number? k)\n (-nth coll k not-found)\n not-found))\n\n IAssociative\n (-assoc [coll k v]\n (if (number? k)\n (-assoc-n coll k v)\n (throw (js/Error. \"Vector's key for assoc must be a number.\"))))\n (-contains-key? [coll k]\n (if (integer? k)\n (and (<= 0 k) (< k cnt))\n false))\n\n IFind\n (-find [coll n]\n (when (and (<= 0 n) (< n cnt))\n (MapEntry. n (aget (unchecked-array-for coll n) (bit-and n 0x01f)) nil)))\n\n APersistentVector\n IVector\n (-assoc-n [coll n val]\n (cond\n (and (<= 0 n) (< n cnt))\n (if (<= (tail-off coll) n)\n (let [new-tail (aclone tail)]\n (aset new-tail (bit-and n 0x01f) val)\n (PersistentVector. meta cnt shift root new-tail nil))\n (PersistentVector. meta cnt shift (do-assoc coll shift root n val) tail nil))\n (== n cnt) (-conj coll val)\n :else (throw (js/Error. (str \"Index \" n \" out of bounds [0,\" cnt \"]\")))))\n\n IReduce\n (-reduce [v f]\n (pv-reduce v f 0 cnt))\n (-reduce [v f init]\n (loop [i 0 init init]\n (if (< i cnt)\n (let [arr (unchecked-array-for v i)\n len (alength arr)\n init (loop [j 0 init init]\n (if (< j len)\n (let [init (f init (aget arr j))]\n (if (reduced? init)\n init\n (recur (inc j) init)))\n init))]\n (if (reduced? init)\n @init\n (recur (+ i len) init)))\n init)))\n\n IKVReduce\n (-kv-reduce [v f init]\n (loop [i 0 init init]\n (if (< i cnt)\n (let [arr (unchecked-array-for v i)\n len (alength arr)\n init (loop [j 0 init init]\n (if (< j len)\n (let [init (f init (+ j i) (aget arr j))]\n (if (reduced? init)\n init\n (recur (inc j) init)))\n init))]\n (if (reduced? init)\n @init\n (recur (+ i len) init)))\n init)))\n\n IFn\n (-invoke [coll k]\n (if (number? k)\n (-nth coll k)\n (throw (js/Error. \"Key must be integer\"))))\n\n IEditableCollection\n (-as-transient [coll]\n (TransientVector. cnt shift (tv-editable-root root) (tv-editable-tail tail)))\n\n IReversible\n (-rseq [coll]\n (when (pos? cnt)\n (RSeq. coll (dec cnt) nil)))\n\n IIterable\n (-iterator [this]\n (ranged-iterator this 0 cnt)))\n\n(set! (.-EMPTY-NODE PersistentVector) (VectorNode. nil (make-array 32)))\n\n(set! (.-EMPTY PersistentVector)\n (PersistentVector. nil 0 5 (.-EMPTY-NODE PersistentVector) (array) empty-ordered-hash))\n\n(set! (.-fromArray PersistentVector)\n (fn [xs ^boolean no-clone]\n (let [l (alength xs)\n xs (if no-clone xs (aclone xs))]\n (if (< l 32)\n (PersistentVector. nil l 5 (.-EMPTY-NODE PersistentVector) xs nil)\n (let [node (.slice xs 0 32)\n v (PersistentVector. nil 32 5 (.-EMPTY-NODE PersistentVector) node nil)]\n (loop [i 32 out (-as-transient v)]\n (if (< i l)\n (recur (inc i) (conj! out (aget xs i)))\n (persistent! out))))))))\n\n(es6-iterable PersistentVector)\n\n(declare map-entry?)\n\n(defn vec\n \"Creates a new vector containing the contents of coll. JavaScript arrays\n will be aliased and should not be modified.\"\n [coll]\n (cond\n (map-entry? coll)\n [(key coll) (val coll)]\n\n (vector? coll)\n (with-meta coll nil)\n\n (array? coll)\n (.fromArray PersistentVector coll true)\n\n :else\n (-persistent!\n (reduce -conj!\n (-as-transient (.-EMPTY PersistentVector))\n coll))))\n\n(defn vector\n \"Creates a new vector containing the args.\"\n [& args]\n (if (and (instance? IndexedSeq args) (zero? (.-i args)))\n (.fromArray PersistentVector (.-arr args) (not (array? (.-arr args))))\n (vec args)))\n\n(declare subvec)\n\n(deftype ChunkedSeq [vec node i off meta ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (chunked-seq vec node i off new-meta)))\n IMeta\n (-meta [coll] meta)\n\n ISeqable\n (-seq [coll] coll)\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n ASeq\n ISeq\n (-first [coll]\n (aget node off))\n (-rest [coll]\n (if (< (inc off) (alength node))\n (let [s (chunked-seq vec node i (inc off))]\n (if (nil? s)\n ()\n s))\n (-chunked-rest coll)))\n\n INext\n (-next [coll]\n (if (< (inc off) (alength node))\n (let [s (chunked-seq vec node i (inc off))]\n (if (nil? s)\n nil\n s))\n (-chunked-next coll)))\n\n ICollection\n (-conj [coll o]\n (cons o coll))\n\n IEmptyableCollection\n (-empty [coll]\n ())\n\n IChunkedSeq\n (-chunked-first [coll]\n (array-chunk node off))\n (-chunked-rest [coll]\n (let [end (+ i (alength node))]\n (if (< end (-count vec))\n (chunked-seq vec (unchecked-array-for vec end) end 0)\n ())))\n\n IChunkedNext\n (-chunked-next [coll]\n (let [end (+ i (alength node))]\n (when (< end (-count vec))\n (chunked-seq vec (unchecked-array-for vec end) end 0))))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n IReduce\n (-reduce [coll f]\n (pv-reduce vec f (+ i off) (count vec)))\n\n (-reduce [coll f start]\n (pv-reduce vec f start (+ i off) (count vec))))\n\n(es6-iterable ChunkedSeq)\n\n(defn chunked-seq\n ([vec i off] (ChunkedSeq. vec (array-for vec i) i off nil nil))\n ([vec node i off] (ChunkedSeq. vec node i off nil nil))\n ([vec node i off meta]\n (ChunkedSeq. vec node i off meta nil)))\n\n(declare build-subvec)\n\n(deftype Subvec [meta v start end ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n ICloneable\n (-clone [_] (Subvec. meta v start end __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (build-subvec new-meta v start end __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n IStack\n (-peek [coll]\n (when-not (== start end)\n (-nth v (dec end))))\n (-pop [coll]\n (if (== start end)\n (throw (js/Error. \"Can't pop empty vector\"))\n (build-subvec meta v start (dec end) nil)))\n\n ICollection\n (-conj [coll o]\n (build-subvec meta (-assoc-n v end o) start (inc end) nil))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY PersistentVector) meta))\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll]\n (let [subvec-seq (fn subvec-seq [i]\n (when-not (== i end)\n (cons (-nth v i)\n (lazy-seq\n (subvec-seq (inc i))))))]\n (subvec-seq start)))\n\n IReversible\n (-rseq [coll]\n (if-not (== start end)\n (RSeq. coll (dec (- end start)) nil)))\n\n ICounted\n (-count [coll] (- end start))\n\n IIndexed\n (-nth [coll n]\n (if (or (neg? n) (<= end (+ start n)))\n (vector-index-out-of-bounds n (- end start))\n (-nth v (+ start n))))\n (-nth [coll n not-found]\n (if (or (neg? n) (<= end (+ start n)))\n not-found\n (-nth v (+ start n) not-found)))\n\n ILookup\n (-lookup [coll k] (-lookup coll k nil))\n (-lookup [coll k not-found] (if (number? k)\n (-nth coll k not-found)\n not-found))\n\n IAssociative\n (-assoc [coll key val]\n (if (number? key)\n (-assoc-n coll key val)\n (throw (js/Error. \"Subvec's key for assoc must be a number.\"))))\n (-contains-key? [coll key]\n (if (integer? key)\n (and (<= 0 key) (< key (- end start)))\n false))\n\n IFind\n (-find [coll n]\n (when-not (neg? n)\n (let [idx (+ start n)]\n (when (< idx end)\n (MapEntry. n (-lookup v idx) nil)))))\n\n IVector\n (-assoc-n [coll n val]\n (let [v-pos (+ start n)]\n (if (or (neg? n) (<= (inc end) v-pos))\n (throw (js/Error. (str \"Index \" n \" out of bounds [0,\" (-count coll) \"]\")))\n (build-subvec meta (assoc v v-pos val) start (max end (inc v-pos)) nil))))\n\n IReduce\n (-reduce [coll f]\n (if (implements? APersistentVector v)\n (pv-reduce v f start end)\n (ci-reduce coll f)))\n (-reduce [coll f init]\n (if (implements? APersistentVector v)\n (pv-reduce v f init start end)\n (ci-reduce coll f init)))\n\n IKVReduce\n (-kv-reduce [coll f init]\n (loop [i start j 0 init init]\n (if (< i end)\n (let [init (f init j (-nth v i))]\n (if (reduced? init)\n @init\n (recur (inc i) (inc j) init)))\n init)))\n\n IFn\n (-invoke [coll k]\n (-nth coll k))\n (-invoke [coll k not-found]\n (-nth coll k not-found))\n\n IIterable\n (-iterator [coll]\n (if (implements? APersistentVector v)\n (ranged-iterator v start end)\n (seq-iter coll))))\n\n(es6-iterable Subvec)\n\n(defn- build-subvec [meta v start end __hash]\n (if (instance? Subvec v)\n (recur meta (.-v v) (+ (.-start v) start) (+ (.-start v) end) __hash)\n (do\n (when-not (vector? v)\n (throw (js/Error. \"v must satisfy IVector\")))\n (when (or (neg? start)\n (< end start)\n (> end (count v)))\n (throw (js/Error. \"Index out of bounds\")))\n (Subvec. meta v start end __hash))))\n\n(defn subvec\n \"Returns a persistent vector of the items in vector from\n start (inclusive) to end (exclusive). If end is not supplied,\n defaults to (count vector). This operation is O(1) and very fast, as\n the resulting vector shares structure with the original and no\n trimming is done.\"\n ([v start]\n (subvec v start (count v)))\n ([v start end]\n (assert (and (not (nil? start)) (not (nil? end))))\n (build-subvec nil v (int start) (int end) nil)))\n\n(defn- tv-ensure-editable [edit node]\n (if (identical? edit (.-edit node))\n node\n (VectorNode. edit (aclone (.-arr node)))))\n\n(defn- tv-editable-root [node]\n (VectorNode. (js-obj) (aclone (.-arr node))))\n\n(defn- tv-editable-tail [tl]\n (let [ret (make-array 32)]\n (array-copy tl 0 ret 0 (alength tl))\n ret))\n\n(defn- tv-push-tail [tv level parent tail-node]\n (let [ret (tv-ensure-editable (.. tv -root -edit) parent)\n subidx (bit-and (bit-shift-right-zero-fill (dec (.-cnt tv)) level) 0x01f)]\n (pv-aset ret subidx\n (if (== level 5)\n tail-node\n (let [child (pv-aget ret subidx)]\n (if-not (nil? child)\n (tv-push-tail tv (- level 5) child tail-node)\n (new-path (.. tv -root -edit) (- level 5) tail-node)))))\n ret))\n\n(defn- tv-pop-tail [tv level node]\n (let [node (tv-ensure-editable (.. tv -root -edit) node)\n subidx (bit-and (bit-shift-right-zero-fill (- (.-cnt tv) 2) level) 0x01f)]\n (cond\n (> level 5) (let [new-child (tv-pop-tail\n tv (- level 5) (pv-aget node subidx))]\n (if (and (nil? new-child) (zero? subidx))\n nil\n (do (pv-aset node subidx new-child)\n node)))\n (zero? subidx) nil\n :else (do (pv-aset node subidx nil)\n node))))\n\n(defn- unchecked-editable-array-for [tv i]\n ;; invariant: i is a valid index of tv.\n (if (>= i (tail-off tv))\n (.-tail tv)\n (let [root (.-root tv)]\n (loop [node root\n level (.-shift tv)]\n (if (pos? level)\n (recur (tv-ensure-editable\n (.-edit root)\n (pv-aget node\n (bit-and (bit-shift-right-zero-fill i level)\n 0x01f)))\n (- level 5))\n (.-arr node))))))\n\n(deftype TransientVector [^:mutable cnt\n ^:mutable shift\n ^:mutable root\n ^:mutable tail]\n ITransientCollection\n (-conj! [tcoll o]\n (if ^boolean (.-edit root)\n (if (< (- cnt (tail-off tcoll)) 32)\n (do (aset tail (bit-and cnt 0x01f) o)\n (set! cnt (inc cnt))\n tcoll)\n (let [tail-node (VectorNode. (.-edit root) tail)\n new-tail (make-array 32)]\n (aset new-tail 0 o)\n (set! tail new-tail)\n (if (> (bit-shift-right-zero-fill cnt 5)\n (bit-shift-left 1 shift))\n (let [new-root-array (make-array 32)\n new-shift (+ shift 5)]\n (aset new-root-array 0 root)\n (aset new-root-array 1 (new-path (.-edit root) shift tail-node))\n (set! root (VectorNode. (.-edit root) new-root-array))\n (set! shift new-shift)\n (set! cnt (inc cnt))\n tcoll)\n (let [new-root (tv-push-tail tcoll shift root tail-node)]\n (set! root new-root)\n (set! cnt (inc cnt))\n tcoll))))\n (throw (js/Error. \"conj! after persistent!\"))))\n\n (-persistent! [tcoll]\n (if ^boolean (.-edit root)\n (do (set! (.-edit root) nil)\n (let [len (- cnt (tail-off tcoll))\n trimmed-tail (make-array len)]\n (array-copy tail 0 trimmed-tail 0 len)\n (PersistentVector. nil cnt shift root trimmed-tail nil)))\n (throw (js/Error. \"persistent! called twice\"))))\n\n ITransientAssociative\n (-assoc! [tcoll key val]\n (if (number? key)\n (-assoc-n! tcoll key val)\n (throw (js/Error. \"TransientVector's key for assoc! must be a number.\"))))\n\n ITransientVector\n (-assoc-n! [tcoll n val]\n (if ^boolean (.-edit root)\n (cond\n (and (<= 0 n) (< n cnt))\n (if (<= (tail-off tcoll) n)\n (do (aset tail (bit-and n 0x01f) val)\n tcoll)\n (let [new-root\n ((fn go [level node]\n (let [node (tv-ensure-editable (.-edit root) node)]\n (if (zero? level)\n (do (pv-aset node (bit-and n 0x01f) val)\n node)\n (let [subidx (bit-and (bit-shift-right-zero-fill n level)\n 0x01f)]\n (pv-aset node subidx\n (go (- level 5) (pv-aget node subidx)))\n node))))\n shift root)]\n (set! root new-root)\n tcoll))\n (== n cnt) (-conj! tcoll val)\n :else\n (throw\n (js/Error.\n (str \"Index \" n \" out of bounds for TransientVector of length\" cnt))))\n (throw (js/Error. \"assoc! after persistent!\"))))\n\n (-pop! [tcoll]\n (if ^boolean (.-edit root)\n (cond\n (zero? cnt) (throw (js/Error. \"Can't pop empty vector\"))\n (== 1 cnt) (do (set! cnt 0) tcoll)\n (pos? (bit-and (dec cnt) 0x01f)) (do (set! cnt (dec cnt)) tcoll)\n :else\n (let [new-tail (unchecked-editable-array-for tcoll (- cnt 2))\n new-root (let [nr (tv-pop-tail tcoll shift root)]\n (if-not (nil? nr)\n nr\n (VectorNode. (.-edit root) (make-array 32))))]\n (if (and (< 5 shift) (nil? (pv-aget new-root 1)))\n (let [new-root (tv-ensure-editable (.-edit root) (pv-aget new-root 0))]\n (set! root new-root)\n (set! shift (- shift 5))\n (set! cnt (dec cnt))\n (set! tail new-tail)\n tcoll)\n (do (set! root new-root)\n (set! cnt (dec cnt))\n (set! tail new-tail)\n tcoll))))\n (throw (js/Error. \"pop! after persistent!\"))))\n\n ICounted\n (-count [coll]\n (if ^boolean (.-edit root)\n cnt\n (throw (js/Error. \"count after persistent!\"))))\n\n IIndexed\n (-nth [coll n]\n (if ^boolean (.-edit root)\n (aget (array-for coll n) (bit-and n 0x01f))\n (throw (js/Error. \"nth after persistent!\"))))\n\n (-nth [coll n not-found]\n (if (and (<= 0 n) (< n cnt))\n (-nth coll n)\n not-found))\n\n ILookup\n (-lookup [coll k] (-lookup coll k nil))\n\n (-lookup [coll k not-found]\n (cond\n (not ^boolean (.-edit root)) (throw (js/Error. \"lookup after persistent!\"))\n (number? k) (-nth coll k not-found)\n :else not-found))\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n\n (-invoke [coll k not-found]\n (-lookup coll k not-found)))\n\n;;; PersistentQueue ;;;\n\n(deftype PersistentQueueIter [^:mutable fseq riter]\n Object\n (hasNext [_]\n (or (and (some? fseq) (seq fseq)) (and (some? riter) (.hasNext riter))))\n (next [_]\n (cond\n (some? fseq)\n (let [ret (first fseq)]\n (set! fseq (next fseq))\n ret)\n (and (some? riter) ^boolean (.hasNext riter))\n (.next riter)\n :else (throw (js/Error. \"No such element\"))))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(deftype PersistentQueueSeq [meta front rear ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentQueueSeq. new-meta front rear __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ISeq\n (-first [coll] (first front))\n (-rest [coll]\n (if-let [f1 (next front)]\n (PersistentQueueSeq. meta f1 rear nil)\n (if (nil? rear)\n (-empty coll)\n (PersistentQueueSeq. meta rear nil nil))))\n\n INext\n (-next [coll]\n (if-let [f1 (next front)]\n (PersistentQueueSeq. meta f1 rear nil)\n (when (some? rear)\n (PersistentQueueSeq. meta rear nil nil))))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY List) meta))\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll] coll))\n\n(es6-iterable PersistentQueueSeq)\n\n(deftype PersistentQueue [meta count front rear ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n ICloneable\n (-clone [coll] (PersistentQueue. meta count front rear __hash))\n\n IIterable\n (-iterator [coll]\n (PersistentQueueIter. front (-iterator rear)))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentQueue. new-meta count front rear __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ISeq\n (-first [coll] (first front))\n (-rest [coll] (rest (seq coll)))\n\n IStack\n (-peek [coll] (first front))\n (-pop [coll]\n (if front\n (if-let [f1 (next front)]\n (PersistentQueue. meta (dec count) f1 rear nil)\n (PersistentQueue. meta (dec count) (seq rear) [] nil))\n coll))\n\n ICollection\n (-conj [coll o]\n (if front\n (PersistentQueue. meta (inc count) front (conj (or rear []) o) nil)\n (PersistentQueue. meta (inc count) (conj front o) [] nil)))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY PersistentQueue) meta))\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll]\n (let [rear (seq rear)]\n (if (or front rear)\n (PersistentQueueSeq. nil front (seq rear) nil))))\n\n ICounted\n (-count [coll] count))\n\n(set! (.-EMPTY PersistentQueue) (PersistentQueue. nil 0 nil [] empty-ordered-hash))\n\n(es6-iterable PersistentQueue)\n\n(deftype NeverEquiv []\n Object\n (equiv [this other]\n (-equiv this other))\n IEquiv\n (-equiv [o other] false))\n\n(def ^:private never-equiv (NeverEquiv.))\n\n(defn equiv-map\n \"Test map equivalence. Returns true if x equals y, otherwise returns false.\"\n [x y]\n (boolean\n (when (and (map? y) (not (record? y)))\n ; assume all maps are counted\n (when (== (count x) (count y))\n (if (satisfies? IKVReduce x)\n (reduce-kv\n (fn [_ k v]\n (if (= (get y k never-equiv) v)\n true\n (reduced false)))\n true x)\n (every?\n (fn [xkv]\n (= (get y (first xkv) never-equiv) (second xkv)))\n x))))))\n\n\n(defn- scan-array [incr k array]\n (let [len (alength array)]\n (loop [i 0]\n (when (< i len)\n (if (identical? k (aget array i))\n i\n (recur (+ i incr)))))))\n\n; The keys field is an array of all keys of this map, in no particular\n; order. Any string, keyword, or symbol key is used as a property name\n; to store the value in strobj. If a key is assoc'ed when that same\n; key already exists in strobj, the old value is overwritten. If a\n; non-string key is assoc'ed, return a HashMap object instead.\n\n(defn- obj-map-compare-keys [a b]\n (let [a (hash a)\n b (hash b)]\n (cond\n (< a b) -1\n (> a b) 1\n :else 0)))\n\n(defn- obj-map->hash-map [m k v]\n (let [ks (.-keys m)\n len (alength ks)\n so (.-strobj m)\n mm (meta m)]\n (loop [i 0\n out (transient (.-EMPTY PersistentHashMap))]\n (if (< i len)\n (let [k (aget ks i)]\n (recur (inc i) (assoc! out k (gobject/get so k))))\n (-with-meta (persistent! (assoc! out k v)) mm)))))\n\n;;; ObjMap - DEPRECATED\n\n(defn- obj-clone [obj ks]\n (let [new-obj (js-obj)\n l (alength ks)]\n (loop [i 0]\n (when (< i l)\n (let [k (aget ks i)]\n (gobject/set new-obj k (gobject/get obj k))\n (recur (inc i)))))\n new-obj))\n\n(deftype ObjMap [meta keys strobj update-count ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (ObjMap. new-meta keys strobj update-count __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ICollection\n (-conj [coll entry]\n (if (vector? entry)\n (-assoc coll (-nth entry 0) (-nth entry 1))\n (reduce -conj\n coll\n entry)))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY ObjMap) meta))\n\n IEquiv\n (-equiv [coll other] (equiv-map coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-unordered-coll __hash))\n\n ISeqable\n (-seq [coll]\n (when (pos? (alength keys))\n (map #(vector % (unchecked-get strobj %))\n (.sort keys obj-map-compare-keys))))\n\n ICounted\n (-count [coll] (alength keys))\n\n ILookup\n (-lookup [coll k] (-lookup coll k nil))\n (-lookup [coll k not-found]\n (if (and (string? k)\n (not (nil? (scan-array 1 k keys))))\n (unchecked-get strobj k)\n not-found))\n\n IAssociative\n (-assoc [coll k v]\n (if (string? k)\n (if (or (> update-count (.-HASHMAP_THRESHOLD ObjMap))\n (>= (alength keys) (.-HASHMAP_THRESHOLD ObjMap)))\n (obj-map->hash-map coll k v)\n (if-not (nil? (scan-array 1 k keys))\n (let [new-strobj (obj-clone strobj keys)]\n (gobject/set new-strobj k v)\n (ObjMap. meta keys new-strobj (inc update-count) nil)) ; overwrite\n (let [new-strobj (obj-clone strobj keys) ; append\n new-keys (aclone keys)]\n (gobject/set new-strobj k v)\n (.push new-keys k)\n (ObjMap. meta new-keys new-strobj (inc update-count) nil))))\n ;; non-string key. game over.\n (obj-map->hash-map coll k v)))\n (-contains-key? [coll k]\n (if (and (string? k)\n (not (nil? (scan-array 1 k keys))))\n true\n false))\n\n IFind\n (-find [coll k]\n (when (and (string? k)\n (not (nil? (scan-array 1 k keys))))\n (MapEntry. k (unchecked-get strobj k) nil)))\n\n IKVReduce\n (-kv-reduce [coll f init]\n (let [len (alength keys)]\n (loop [keys (.sort keys obj-map-compare-keys)\n init init]\n (if (seq keys)\n (let [k (first keys)\n init (f init k (unchecked-get strobj k))]\n (if (reduced? init)\n @init\n (recur (rest keys) init)))\n init))))\n\n IMap\n (-dissoc [coll k]\n (if (and (string? k)\n (not (nil? (scan-array 1 k keys))))\n (let [new-keys (aclone keys)\n new-strobj (obj-clone strobj keys)]\n (.splice new-keys (scan-array 1 k new-keys) 1)\n (js-delete new-strobj k)\n (ObjMap. meta new-keys new-strobj (inc update-count) nil))\n coll)) ; key not found, return coll unchanged\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n (-invoke [coll k not-found]\n (-lookup coll k not-found))\n\n IEditableCollection\n (-as-transient [coll]\n (transient (into (hash-map) coll))))\n\n(set! (.-EMPTY ObjMap) (ObjMap. nil (array) (js-obj) 0 empty-unordered-hash))\n\n(set! (.-HASHMAP_THRESHOLD ObjMap) 8)\n\n(set! (.-fromObject ObjMap) (fn [ks obj] (ObjMap. nil ks obj 0 nil)))\n\n;; Record Iterator\n(deftype RecordIter [^:mutable i record base-count fields ext-map-iter]\n Object\n (hasNext [_]\n (or (< i base-count) (.hasNext ext-map-iter)))\n (next [_]\n (if (< i base-count)\n (let [k (nth fields i)]\n (set! i (inc i))\n (MapEntry. k (-lookup record k) nil))\n (.next ext-map-iter)))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n;; EXPERIMENTAL: subject to change\n(deftype ES6EntriesIterator [^:mutable s]\n Object\n (next [_]\n (if-not (nil? s)\n (let [[k v] (first s)]\n (set! s (next s))\n #js {:value #js [k v] :done false})\n #js {:value nil :done true})))\n\n(defn es6-entries-iterator [coll]\n (ES6EntriesIterator. (seq coll)))\n\n;; EXPERIMENTAL: subject to change\n(deftype ES6SetEntriesIterator [^:mutable s]\n Object\n (next [_]\n (if-not (nil? s)\n (let [x (first s)]\n (set! s (next s))\n #js {:value #js [x x] :done false})\n #js {:value nil :done true})))\n\n(defn es6-set-entries-iterator [coll]\n (ES6SetEntriesIterator. (seq coll)))\n\n;;; PersistentArrayMap\n\n(defn- array-index-of-nil? [arr]\n (let [len (alength arr)]\n (loop [i 0]\n (cond\n (<= len i) -1\n (nil? (aget arr i)) i\n :else (recur (+ i 2))))))\n\n(defn- array-index-of-keyword? [arr k]\n (let [len (alength arr)\n kstr (.-fqn k)]\n (loop [i 0]\n (cond\n (<= len i) -1\n (and (keyword? (aget arr i))\n (identical? kstr (.-fqn (aget arr i)))) i\n :else (recur (+ i 2))))))\n\n(defn- array-index-of-symbol? [arr k]\n (let [len (alength arr)\n kstr (.-str k)]\n (loop [i 0]\n (cond\n (<= len i) -1\n (and (symbol? (aget arr i))\n (identical? kstr (.-str (aget arr i)))) i\n :else (recur (+ i 2))))))\n\n(defn- array-index-of-identical? [arr k]\n (let [len (alength arr)]\n (loop [i 0]\n (cond\n (<= len i) -1\n (identical? k (aget arr i)) i\n :else (recur (+ i 2))))))\n\n(defn- array-index-of-equiv? [arr k]\n (let [len (alength arr)]\n (loop [i 0]\n (cond\n (<= len i) -1\n (= k (aget arr i)) i\n :else (recur (+ i 2))))))\n\n(defn array-index-of [arr k]\n (cond\n (keyword? k) (array-index-of-keyword? arr k)\n\n (or (string? k) (number? k))\n (array-index-of-identical? arr k)\n\n (symbol? k) (array-index-of-symbol? arr k)\n\n (nil? k)\n (array-index-of-nil? arr)\n\n :else (array-index-of-equiv? arr k)))\n\n(defn- array-map-index-of [m k]\n (array-index-of (.-arr m) k))\n\n(defn- array-extend-kv [arr k v]\n (let [l (alength arr)\n narr (make-array (+ l 2))]\n (loop [i 0]\n (when (< i l)\n (aset narr i (aget arr i))\n (recur (inc i))))\n (aset narr l k)\n (aset narr (inc l) v)\n narr))\n\n(defn- array-map-extend-kv [m k v]\n (array-extend-kv (.-arr m) k v))\n\n(declare TransientArrayMap)\n\n(deftype MapEntry [key val ^:mutable __hash]\n Object\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMapEntry\n (-key [node] key)\n (-val [node] val)\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IMeta\n (-meta [node] nil)\n\n IWithMeta\n (-with-meta [node meta]\n (with-meta [key val] meta))\n\n IStack\n (-peek [node] val)\n\n (-pop [node] [key])\n\n ICollection\n (-conj [node o] [key val o])\n\n IEmptyableCollection\n (-empty [node] nil)\n\n ISequential\n ISeqable\n (-seq [node] (IndexedSeq. #js [key val] 0 nil))\n\n IReversible\n (-rseq [node] (IndexedSeq. #js [val key] 0 nil))\n\n ICounted\n (-count [node] 2)\n\n IIndexed\n (-nth [node n]\n (cond (== n 0) key\n (== n 1) val\n :else (throw (js/Error. \"Index out of bounds\"))))\n\n (-nth [node n not-found]\n (cond (== n 0) key\n (== n 1) val\n :else not-found))\n\n ILookup\n (-lookup [node k] (-nth node k nil))\n (-lookup [node k not-found] (-nth node k not-found))\n\n IAssociative\n (-assoc [node k v]\n (assoc [key val] k v))\n (-contains-key? [node k]\n (or (== k 0) (== k 1)))\n\n IFind\n (-find [node k]\n (case k\n 0 (MapEntry. 0 key nil)\n 1 (MapEntry. 1 val nil)\n nil))\n\n IVector\n (-assoc-n [node n v]\n (-assoc-n [key val] n v))\n\n IReduce\n (-reduce [node f]\n (ci-reduce node f))\n\n (-reduce [node f start]\n (ci-reduce node f start))\n\n IFn\n (-invoke [node k]\n (-nth node k))\n\n (-invoke [node k not-found]\n (-nth node k not-found)))\n\n(defn map-entry?\n \"Returns true if x satisfies IMapEntry\"\n [x]\n (implements? IMapEntry x))\n\n(deftype PersistentArrayMapSeq [arr i _meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMeta\n (-meta [coll] _meta)\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta _meta)\n coll\n (PersistentArrayMapSeq. arr i new-meta)))\n\n ICounted\n (-count [coll]\n (/ (- (alength arr) i) 2))\n\n ISeqable\n (-seq [coll] coll)\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n ICollection\n (-conj [coll o]\n (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IHash\n (-hash [coll] (hash-ordered-coll coll))\n\n ISeq\n (-first [coll]\n (MapEntry. (aget arr i) (aget arr (inc i)) nil))\n\n (-rest [coll]\n (if (< i (- (alength arr) 2))\n (PersistentArrayMapSeq. arr (+ i 2) nil)\n ()))\n\n INext\n (-next [coll]\n (when (< i (- (alength arr) 2))\n (PersistentArrayMapSeq. arr (+ i 2) nil)))\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable PersistentArrayMapSeq)\n\n(defn persistent-array-map-seq [arr i _meta]\n (when (<= i (- (alength arr) 2))\n (PersistentArrayMapSeq. arr i _meta)))\n\n(declare keys vals)\n\n(deftype PersistentArrayMapIterator [arr ^:mutable i cnt]\n Object\n (hasNext [_]\n (< i cnt))\n (next [_]\n (let [ret (MapEntry. (aget arr i) (aget arr (inc i)) nil)]\n (set! i (+ i 2))\n ret)))\n\n(deftype PersistentArrayMap [meta cnt arr ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n\n ;; EXPERIMENTAL: subject to change\n (keys [coll]\n (es6-iterator (keys coll)))\n (entries [coll]\n (es6-entries-iterator (seq coll)))\n (values [coll]\n (es6-iterator (vals coll)))\n (has [coll k]\n (contains? coll k))\n (get [coll k not-found]\n (-lookup coll k not-found))\n (forEach [coll f]\n (doseq [[k v] coll]\n (f v k)))\n\n ICloneable\n (-clone [_] (PersistentArrayMap. meta cnt arr __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentArrayMap. new-meta cnt arr __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ICollection\n (-conj [coll entry]\n (if (vector? entry)\n (-assoc coll (-nth entry 0) (-nth entry 1))\n (loop [ret coll es (seq entry)]\n (if (nil? es)\n ret\n (let [e (first es)]\n (if (vector? e)\n (recur (-assoc ret (-nth e 0) (-nth e 1))\n (next es))\n (throw (js/Error. \"conj on a map takes map entries or seqables of map entries\"))))))))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY PersistentArrayMap) meta))\n\n IEquiv\n (-equiv [coll other]\n (if (and (map? other) (not (record? other)))\n (let [alen (alength arr)\n ^not-native other other]\n (if (== cnt (-count other))\n (loop [i 0]\n (if (< i alen)\n (let [v (-lookup other (aget arr i) lookup-sentinel)]\n (if-not (identical? v lookup-sentinel)\n (if (= (aget arr (inc i)) v)\n (recur (+ i 2))\n false)\n false))\n true))\n false))\n false))\n\n IHash\n (-hash [coll] (caching-hash coll hash-unordered-coll __hash))\n\n IIterable\n (-iterator [this]\n (PersistentArrayMapIterator. arr 0 (* cnt 2)))\n\n ISeqable\n (-seq [coll]\n (persistent-array-map-seq arr 0 nil))\n\n ICounted\n (-count [coll] cnt)\n\n ILookup\n (-lookup [coll k]\n (-lookup coll k nil))\n\n (-lookup [coll k not-found]\n (let [idx (array-map-index-of coll k)]\n (if (== idx -1)\n not-found\n (aget arr (inc idx)))))\n\n IAssociative\n (-assoc [coll k v]\n (let [idx (array-map-index-of coll k)]\n (cond\n (== idx -1)\n (if (< cnt (.-HASHMAP-THRESHOLD PersistentArrayMap))\n (let [arr (array-map-extend-kv coll k v)]\n (PersistentArrayMap. meta (inc cnt) arr nil))\n (-> (into (.-EMPTY PersistentHashMap) coll)\n (-assoc k v)\n (-with-meta meta)))\n\n (identical? v (aget arr (inc idx)))\n coll\n\n :else\n (let [arr (doto (aclone arr)\n (aset (inc idx) v))]\n (PersistentArrayMap. meta cnt arr nil)))))\n\n (-contains-key? [coll k]\n (not (== (array-map-index-of coll k) -1)))\n\n IFind\n (-find [coll k]\n (let [idx (array-map-index-of coll k)]\n (when-not (== idx -1)\n (MapEntry. (aget arr idx) (aget arr (inc idx)) nil))))\n\n IMap\n (-dissoc [coll k]\n (let [idx (array-map-index-of coll k)]\n (if (>= idx 0)\n (let [len (alength arr)\n new-len (- len 2)]\n (if (zero? new-len)\n (-empty coll)\n (let [new-arr (make-array new-len)]\n (loop [s 0 d 0]\n (cond\n (>= s len) (PersistentArrayMap. meta (dec cnt) new-arr nil)\n (= k (aget arr s)) (recur (+ s 2) d)\n :else (do (aset new-arr d (aget arr s))\n (aset new-arr (inc d) (aget arr (inc s)))\n (recur (+ s 2) (+ d 2))))))))\n coll)))\n\n IKVReduce\n (-kv-reduce [coll f init]\n (let [len (alength arr)]\n (loop [i 0 init init]\n (if (< i len)\n (let [init (f init (aget arr i) (aget arr (inc i)))]\n (if (reduced? init)\n @init\n (recur (+ i 2) init)))\n init))))\n\n IReduce\n (-reduce [coll f]\n (iter-reduce coll f))\n (-reduce [coll f start]\n (iter-reduce coll f start))\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n\n (-invoke [coll k not-found]\n (-lookup coll k not-found))\n\n IEditableCollection\n (-as-transient [coll]\n (TransientArrayMap. (js-obj) (alength arr) (aclone arr))))\n\n(set! (.-EMPTY PersistentArrayMap) (PersistentArrayMap. nil 0 (array) empty-unordered-hash))\n\n(set! (.-HASHMAP-THRESHOLD PersistentArrayMap) 8)\n\n(set! (.-fromArray PersistentArrayMap)\n (fn [arr ^boolean no-clone ^boolean no-check]\n (as-> (if no-clone arr (aclone arr)) arr\n (if no-check\n arr\n (let [ret (array)]\n (loop [i 0]\n (when (< i (alength arr))\n (let [k (aget arr i)\n v (aget arr (inc i))\n idx (array-index-of ret k)]\n (when (== idx -1)\n (.push ret k)\n (.push ret v)))\n (recur (+ i 2))))\n ret))\n (let [cnt (/ (alength arr) 2)]\n (PersistentArrayMap. nil cnt arr nil)))))\n\n(set! (.-createWithCheck PersistentArrayMap)\n (fn [arr]\n (let [ret (array)]\n (loop [i 0]\n (when (< i (alength arr))\n (let [k (aget arr i)\n v (aget arr (inc i))\n idx (array-index-of ret k)]\n (if (== idx -1)\n (doto ret (.push k) (.push v))\n (throw (js/Error. (str \"Duplicate key: \" k)))))\n (recur (+ i 2))))\n (let [cnt (/ (alength arr) 2)]\n (PersistentArrayMap. nil cnt arr nil)))))\n\n(defn key-test [key other]\n (cond\n (identical? key other) true\n (keyword-identical? key other) true\n :else (= key other)))\n\n(defn- ^boolean pam-dupes? [arr]\n (loop [i 0]\n (if (< i (alength arr))\n (let [dupe? (loop [j 0]\n (if (< j i)\n (or\n (key-test (aget arr i) (aget arr j))\n (recur (+ 2 j)))\n false))]\n (or dupe? (recur (+ 2 i))))\n false)))\n\n(defn- pam-new-size [arr]\n (loop [i 0 n 0]\n (if (< i (alength arr))\n (let [dupe? (loop [j 0]\n (if (< j i)\n (or\n (key-test (aget arr i) (aget arr j))\n (recur (+ 2 j)))\n false))]\n (recur (+ 2 i) (if dupe? n (+ n 2))))\n n)))\n\n(defn- pam-grow-seed-array [seed trailing]\n (let [seed-cnt (dec (alength seed))\n extra-kvs (seq trailing)\n ret (make-array (+ seed-cnt (* 2 (count extra-kvs))))\n ret (array-copy seed 0 ret 0 seed-cnt)]\n (loop [i seed-cnt extra-kvs extra-kvs]\n (if extra-kvs\n (let [kv (first extra-kvs)]\n (aset ret i (-key kv))\n (aset ret (inc i) (-val kv))\n (recur (+ 2 seed-cnt) (next extra-kvs)))\n ret))))\n\n(set! (.-createAsIfByAssoc PersistentArrayMap)\n (fn [init]\n ;; check trailing element\n (let [len (alength init)\n has-trailing? (== 1 (bit-and len 1))]\n (if-not (or has-trailing? (pam-dupes? init))\n (PersistentArrayMap. nil (/ len 2) init nil)\n (.createAsIfByAssocComplexPath PersistentArrayMap init has-trailing?)))))\n\n(set! (.-createAsIfByAssocComplexPath PersistentArrayMap)\n (fn [init ^boolean has-trailing?]\n (let [init (if has-trailing?\n (pam-grow-seed-array init\n ;; into {} in case the final element is not a map but something conj-able\n ;; for parity with Clojure implementation of CLJ-2603\n (into {} (aget init (dec (alength init)))))\n init)\n n (pam-new-size init)\n len (alength init)]\n (if (< n len)\n (let [nodups (make-array n)]\n (loop [i 0 m 0]\n (if (< i len)\n (let [dupe? (loop [j 0]\n (if (< j m)\n (or\n (key-test (aget init i) (aget init j))\n (recur (+ 2 j)))\n false))]\n (if-not dupe?\n (let [j (loop [j (- len 2)]\n (if (>= j i)\n (if (key-test (aget init i) (aget init j))\n j\n (recur (- j 2)))\n j))]\n (aset nodups m (aget init i))\n (aset nodups (inc m) (aget init (inc j)))\n (recur (+ 2 i) (+ 2 m)))\n (recur (+ 2 i) m)))))\n (PersistentArrayMap. nil (/ (alength nodups) 2) nodups nil))\n (PersistentArrayMap. nil (/ (alength init) 2) init nil)))))\n\n(es6-iterable PersistentArrayMap)\n\n(declare array->transient-hash-map)\n\n(deftype TransientArrayMap [^:mutable ^boolean editable?\n ^:mutable len\n arr]\n ICounted\n (-count [tcoll]\n (if editable?\n (quot len 2)\n (throw (js/Error. \"count after persistent!\"))))\n\n ILookup\n (-lookup [tcoll k]\n (-lookup tcoll k nil))\n\n (-lookup [tcoll k not-found]\n (if editable?\n (let [idx (array-map-index-of tcoll k)]\n (if (== idx -1)\n not-found\n (aget arr (inc idx))))\n (throw (js/Error. \"lookup after persistent!\"))))\n\n ITransientCollection\n (-conj! [tcoll o]\n (if editable?\n (cond\n (map-entry? o)\n (-assoc! tcoll (key o) (val o))\n\n (vector? o)\n (-assoc! tcoll (o 0) (o 1))\n\n :else\n (loop [es (seq o) tcoll tcoll]\n (if-let [e (first es)]\n (recur (next es)\n (-assoc! tcoll (key e) (val e)))\n tcoll)))\n (throw (js/Error. \"conj! after persistent!\"))))\n\n (-persistent! [tcoll]\n (if editable?\n (do (set! editable? false)\n (PersistentArrayMap. nil (quot len 2) arr nil))\n (throw (js/Error. \"persistent! called twice\"))))\n\n ITransientAssociative\n (-assoc! [tcoll key val]\n (if editable?\n (let [idx (array-map-index-of tcoll key)]\n (if (== idx -1)\n (if (<= (+ len 2) (* 2 (.-HASHMAP-THRESHOLD PersistentArrayMap)))\n (do (set! len (+ len 2))\n (.push arr key)\n (.push arr val)\n tcoll)\n (assoc! (array->transient-hash-map len arr) key val))\n (if (identical? val (aget arr (inc idx)))\n tcoll\n (do (aset arr (inc idx) val)\n tcoll))))\n (throw (js/Error. \"assoc! after persistent!\"))))\n\n ITransientMap\n (-dissoc! [tcoll key]\n (if editable?\n (let [idx (array-map-index-of tcoll key)]\n (when (>= idx 0)\n (aset arr idx (aget arr (- len 2)))\n (aset arr (inc idx) (aget arr (dec len)))\n (doto arr .pop .pop)\n (set! len (- len 2)))\n tcoll)\n (throw (js/Error. \"dissoc! after persistent!\"))))\n\n IFn\n (-invoke [tcoll key]\n (-lookup tcoll key nil))\n (-invoke [tcoll key not-found]\n (-lookup tcoll key not-found)))\n\n(declare TransientHashMap)\n\n(defn- array->transient-hash-map [len arr]\n (loop [out (transient (.-EMPTY PersistentHashMap))\n i 0]\n (if (< i len)\n (recur (assoc! out (aget arr i) (aget arr (inc i))) (+ i 2))\n out)))\n\n;;; PersistentHashMap\n\n(deftype Box [^:mutable val])\n\n(declare create-inode-seq create-array-node-seq reset! create-node atom deref)\n\n(defn- mask [hash shift]\n (bit-and (bit-shift-right-zero-fill hash shift) 0x01f))\n\n(defn- clone-and-set\n ([arr i a]\n (doto (aclone arr)\n (aset i a)))\n ([arr i a j b]\n (doto (aclone arr)\n (aset i a)\n (aset j b))))\n\n(defn- remove-pair [arr i]\n (let [new-arr (make-array (- (alength arr) 2))]\n (array-copy arr 0 new-arr 0 (* 2 i))\n (array-copy arr (* 2 (inc i)) new-arr (* 2 i) (- (alength new-arr) (* 2 i)))\n new-arr))\n\n(defn- bitmap-indexed-node-index [bitmap bit]\n (bit-count (bit-and bitmap (dec bit))))\n\n(defn- bitpos [hash shift]\n (bit-shift-left 1 (mask hash shift)))\n\n(defn- edit-and-set\n ([inode edit i a]\n (let [editable (.ensure-editable inode edit)]\n (aset (.-arr editable) i a)\n editable))\n ([inode edit i a j b]\n (let [editable (.ensure-editable inode edit)]\n (aset (.-arr editable) i a)\n (aset (.-arr editable) j b)\n editable)))\n\n(defn- inode-kv-reduce [arr f init]\n (let [len (alength arr)]\n (loop [i 0 init init]\n (if (< i len)\n (let [init (let [k (aget arr i)]\n (if-not (nil? k)\n (f init k (aget arr (inc i)))\n (let [node (aget arr (inc i))]\n (if-not (nil? node)\n (.kv-reduce node f init)\n init))))]\n (if (reduced? init)\n init\n (recur (+ i 2) init)))\n init))))\n\n(declare ArrayNode)\n\n (deftype NodeIterator [arr ^:mutable i ^:mutable next-entry ^:mutable next-iter]\n Object\n (advance [this]\n (let [len (alength arr)]\n (loop []\n (if (< i len)\n (let [key (aget arr i)\n node-or-val (aget arr (inc i))\n ^boolean found\n (cond (some? key)\n (set! next-entry (MapEntry. key node-or-val nil))\n (some? node-or-val)\n (let [new-iter (-iterator node-or-val)]\n (if ^boolean (.hasNext new-iter)\n (set! next-iter new-iter)\n false))\n :else false)]\n (set! i (+ i 2))\n (if found true (recur)))\n false))))\n (hasNext [this]\n (or (some? next-entry) (some? next-iter) (.advance this)))\n (next [this]\n (cond\n (some? next-entry)\n (let [ret next-entry]\n (set! next-entry nil)\n ret)\n (some? next-iter)\n (let [ret (.next next-iter)]\n (when-not ^boolean (.hasNext next-iter)\n (set! next-iter nil))\n ret)\n ^boolean (.advance this)\n (.next this)\n :else (throw (js/Error. \"No such element\"))))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(deftype BitmapIndexedNode [edit ^:mutable bitmap ^:mutable arr]\n Object\n (inode-assoc [inode shift hash key val added-leaf?]\n (let [bit (bitpos hash shift)\n idx (bitmap-indexed-node-index bitmap bit)]\n (if (zero? (bit-and bitmap bit))\n (let [n (bit-count bitmap)]\n (if (>= n 16)\n (let [nodes (make-array 32)\n jdx (mask hash shift)]\n (aset nodes jdx (.inode-assoc (.-EMPTY BitmapIndexedNode) (+ shift 5) hash key val added-leaf?))\n (loop [i 0 j 0]\n (if (< i 32)\n (if (zero? (bit-and (bit-shift-right-zero-fill bitmap i) 1))\n (recur (inc i) j)\n (do (aset nodes i\n (if-not (nil? (aget arr j))\n (.inode-assoc (.-EMPTY BitmapIndexedNode)\n (+ shift 5) (cljs.core/hash (aget arr j)) (aget arr j) (aget arr (inc j)) added-leaf?)\n (aget arr (inc j))))\n (recur (inc i) (+ j 2))))))\n (ArrayNode. nil (inc n) nodes))\n (let [new-arr (make-array (* 2 (inc n)))]\n (array-copy arr 0 new-arr 0 (* 2 idx))\n (aset new-arr (* 2 idx) key)\n (aset new-arr (inc (* 2 idx)) val)\n (array-copy arr (* 2 idx) new-arr (* 2 (inc idx)) (* 2 (- n idx)))\n (set! (.-val added-leaf?) true)\n (BitmapIndexedNode. nil (bit-or bitmap bit) new-arr))))\n (let [key-or-nil (aget arr (* 2 idx))\n val-or-node (aget arr (inc (* 2 idx)))]\n (cond (nil? key-or-nil)\n (let [n (.inode-assoc val-or-node (+ shift 5) hash key val added-leaf?)]\n (if (identical? n val-or-node)\n inode\n (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) n))))\n\n (key-test key key-or-nil)\n (if (identical? val val-or-node)\n inode\n (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) val)))\n\n :else\n (do (set! (.-val added-leaf?) true)\n (BitmapIndexedNode. nil bitmap\n (clone-and-set arr (* 2 idx) nil (inc (* 2 idx))\n (create-node (+ shift 5) key-or-nil val-or-node hash key val)))))))))\n\n (inode-without [inode shift hash key]\n (let [bit (bitpos hash shift)]\n (if (zero? (bit-and bitmap bit))\n inode\n (let [idx (bitmap-indexed-node-index bitmap bit)\n key-or-nil (aget arr (* 2 idx))\n val-or-node (aget arr (inc (* 2 idx)))]\n (cond (nil? key-or-nil)\n (let [n (.inode-without val-or-node (+ shift 5) hash key)]\n (cond (identical? n val-or-node) inode\n (not (nil? n)) (BitmapIndexedNode. nil bitmap (clone-and-set arr (inc (* 2 idx)) n))\n (== bitmap bit) nil\n :else (BitmapIndexedNode. nil (bit-xor bitmap bit) (remove-pair arr idx))))\n (key-test key key-or-nil)\n (if (== bitmap bit)\n nil\n (BitmapIndexedNode. nil (bit-xor bitmap bit) (remove-pair arr idx)))\n :else inode)))))\n\n (inode-lookup [inode shift hash key not-found]\n (let [bit (bitpos hash shift)]\n (if (zero? (bit-and bitmap bit))\n not-found\n (let [idx (bitmap-indexed-node-index bitmap bit)\n key-or-nil (aget arr (* 2 idx))\n val-or-node (aget arr (inc (* 2 idx)))]\n (cond (nil? key-or-nil) (.inode-lookup val-or-node (+ shift 5) hash key not-found)\n (key-test key key-or-nil) val-or-node\n :else not-found)))))\n\n (inode-find [inode shift hash key not-found]\n (let [bit (bitpos hash shift)]\n (if (zero? (bit-and bitmap bit))\n not-found\n (let [idx (bitmap-indexed-node-index bitmap bit)\n key-or-nil (aget arr (* 2 idx))\n val-or-node (aget arr (inc (* 2 idx)))]\n (cond (nil? key-or-nil) (.inode-find val-or-node (+ shift 5) hash key not-found)\n (key-test key key-or-nil) (MapEntry. key-or-nil val-or-node nil)\n :else not-found)))))\n\n (inode-seq [inode]\n (create-inode-seq arr))\n\n (ensure-editable [inode e]\n (if (identical? e edit)\n inode\n (let [n (bit-count bitmap)\n new-arr (make-array (if (neg? n) 4 (* 2 (inc n))))]\n (array-copy arr 0 new-arr 0 (* 2 n))\n (BitmapIndexedNode. e bitmap new-arr))))\n\n (edit-and-remove-pair [inode e bit i]\n (if (== bitmap bit)\n nil\n (let [editable (.ensure-editable inode e)\n earr (.-arr editable)\n len (alength earr)]\n (set! (.-bitmap editable) (bit-xor bit (.-bitmap editable)))\n (array-copy earr (* 2 (inc i))\n earr (* 2 i)\n (- len (* 2 (inc i))))\n (aset earr (- len 2) nil)\n (aset earr (dec len) nil)\n editable)))\n\n (inode-assoc! [inode edit shift hash key val added-leaf?]\n (let [bit (bitpos hash shift)\n idx (bitmap-indexed-node-index bitmap bit)]\n (if (zero? (bit-and bitmap bit))\n (let [n (bit-count bitmap)]\n (cond\n (< (* 2 n) (alength arr))\n (let [editable (.ensure-editable inode edit)\n earr (.-arr editable)]\n (set! (.-val added-leaf?) true)\n (array-copy-downward earr (* 2 idx)\n earr (* 2 (inc idx))\n (* 2 (- n idx)))\n (aset earr (* 2 idx) key)\n (aset earr (inc (* 2 idx)) val)\n (set! (.-bitmap editable) (bit-or (.-bitmap editable) bit))\n editable)\n\n (>= n 16)\n (let [nodes (make-array 32)\n jdx (mask hash shift)]\n (aset nodes jdx (.inode-assoc! (.-EMPTY BitmapIndexedNode) edit (+ shift 5) hash key val added-leaf?))\n (loop [i 0 j 0]\n (if (< i 32)\n (if (zero? (bit-and (bit-shift-right-zero-fill bitmap i) 1))\n (recur (inc i) j)\n (do (aset nodes i\n (if-not (nil? (aget arr j))\n (.inode-assoc! (.-EMPTY BitmapIndexedNode)\n edit (+ shift 5) (cljs.core/hash (aget arr j)) (aget arr j) (aget arr (inc j)) added-leaf?)\n (aget arr (inc j))))\n (recur (inc i) (+ j 2))))))\n (ArrayNode. edit (inc n) nodes))\n\n :else\n (let [new-arr (make-array (* 2 (+ n 4)))]\n (array-copy arr 0 new-arr 0 (* 2 idx))\n (aset new-arr (* 2 idx) key)\n (aset new-arr (inc (* 2 idx)) val)\n (array-copy arr (* 2 idx) new-arr (* 2 (inc idx)) (* 2 (- n idx)))\n (set! (.-val added-leaf?) true)\n (let [editable (.ensure-editable inode edit)]\n (set! (.-arr editable) new-arr)\n (set! (.-bitmap editable) (bit-or (.-bitmap editable) bit))\n editable))))\n (let [key-or-nil (aget arr (* 2 idx))\n val-or-node (aget arr (inc (* 2 idx)))]\n (cond (nil? key-or-nil)\n (let [n (.inode-assoc! val-or-node edit (+ shift 5) hash key val added-leaf?)]\n (if (identical? n val-or-node)\n inode\n (edit-and-set inode edit (inc (* 2 idx)) n)))\n\n (key-test key key-or-nil)\n (if (identical? val val-or-node)\n inode\n (edit-and-set inode edit (inc (* 2 idx)) val))\n\n :else\n (do (set! (.-val added-leaf?) true)\n (edit-and-set inode edit (* 2 idx) nil (inc (* 2 idx))\n (create-node edit (+ shift 5) key-or-nil val-or-node hash key val))))))))\n\n (inode-without! [inode edit shift hash key removed-leaf?]\n (let [bit (bitpos hash shift)]\n (if (zero? (bit-and bitmap bit))\n inode\n (let [idx (bitmap-indexed-node-index bitmap bit)\n key-or-nil (aget arr (* 2 idx))\n val-or-node (aget arr (inc (* 2 idx)))]\n (cond (nil? key-or-nil)\n (let [n (.inode-without! val-or-node edit (+ shift 5) hash key removed-leaf?)]\n (cond (identical? n val-or-node) inode\n (not (nil? n)) (edit-and-set inode edit (inc (* 2 idx)) n)\n (== bitmap bit) nil\n :else (.edit-and-remove-pair inode edit bit idx)))\n (key-test key key-or-nil)\n (do (set! (.-val removed-leaf?) true)\n (.edit-and-remove-pair inode edit bit idx))\n :else inode)))))\n\n (kv-reduce [inode f init]\n (inode-kv-reduce arr f init))\n\n IIterable\n (-iterator [coll]\n (NodeIterator. arr 0 nil nil)))\n\n(set! (.-EMPTY BitmapIndexedNode) (BitmapIndexedNode. nil 0 (make-array 0)))\n\n(defn- pack-array-node [array-node edit idx]\n (let [arr (.-arr array-node)\n len (alength arr)\n new-arr (make-array (* 2 (dec (.-cnt array-node))))]\n (loop [i 0 j 1 bitmap 0]\n (if (< i len)\n (if (and (not (== i idx))\n (not (nil? (aget arr i))))\n (do (aset new-arr j (aget arr i))\n (recur (inc i) (+ j 2) (bit-or bitmap (bit-shift-left 1 i))))\n (recur (inc i) j bitmap))\n (BitmapIndexedNode. edit bitmap new-arr)))))\n\n(deftype ArrayNodeIterator [arr ^:mutable i ^:mutable next-iter]\n Object\n (hasNext [this]\n (let [len (alength arr)]\n (loop []\n (if-not (and (some? next-iter) ^boolean (.hasNext next-iter))\n (if (< i len)\n (let [node (aget arr i)]\n (set! i (inc i))\n (when (some? node)\n (set! next-iter (-iterator node)))\n (recur))\n false)\n true))))\n (next [this]\n (if ^boolean (.hasNext this)\n (.next next-iter)\n (throw (js/Error. \"No such element\"))))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(deftype ArrayNode [edit ^:mutable cnt ^:mutable arr]\n Object\n (inode-assoc [inode shift hash key val added-leaf?]\n (let [idx (mask hash shift)\n node (aget arr idx)]\n (if (nil? node)\n (ArrayNode. nil (inc cnt) (clone-and-set arr idx (.inode-assoc (.-EMPTY BitmapIndexedNode) (+ shift 5) hash key val added-leaf?)))\n (let [n (.inode-assoc node (+ shift 5) hash key val added-leaf?)]\n (if (identical? n node)\n inode\n (ArrayNode. nil cnt (clone-and-set arr idx n)))))))\n\n (inode-without [inode shift hash key]\n (let [idx (mask hash shift)\n node (aget arr idx)]\n (if-not (nil? node)\n (let [n (.inode-without node (+ shift 5) hash key)]\n (cond\n (identical? n node)\n inode\n\n (nil? n)\n (if (<= cnt 8)\n (pack-array-node inode nil idx)\n (ArrayNode. nil (dec cnt) (clone-and-set arr idx n)))\n\n :else\n (ArrayNode. nil cnt (clone-and-set arr idx n))))\n inode)))\n\n (inode-lookup [inode shift hash key not-found]\n (let [idx (mask hash shift)\n node (aget arr idx)]\n (if-not (nil? node)\n (.inode-lookup node (+ shift 5) hash key not-found)\n not-found)))\n\n (inode-find [inode shift hash key not-found]\n (let [idx (mask hash shift)\n node (aget arr idx)]\n (if-not (nil? node)\n (.inode-find node (+ shift 5) hash key not-found)\n not-found)))\n\n (inode-seq [inode]\n (create-array-node-seq arr))\n\n (ensure-editable [inode e]\n (if (identical? e edit)\n inode\n (ArrayNode. e cnt (aclone arr))))\n\n (inode-assoc! [inode edit shift hash key val added-leaf?]\n (let [idx (mask hash shift)\n node (aget arr idx)]\n (if (nil? node)\n (let [editable (edit-and-set inode edit idx (.inode-assoc! (.-EMPTY BitmapIndexedNode) edit (+ shift 5) hash key val added-leaf?))]\n (set! (.-cnt editable) (inc (.-cnt editable)))\n editable)\n (let [n (.inode-assoc! node edit (+ shift 5) hash key val added-leaf?)]\n (if (identical? n node)\n inode\n (edit-and-set inode edit idx n))))))\n\n (inode-without! [inode edit shift hash key removed-leaf?]\n (let [idx (mask hash shift)\n node (aget arr idx)]\n (if (nil? node)\n inode\n (let [n (.inode-without! node edit (+ shift 5) hash key removed-leaf?)]\n (cond\n (identical? n node)\n inode\n\n (nil? n)\n (if (<= cnt 8)\n (pack-array-node inode edit idx)\n (let [editable (edit-and-set inode edit idx n)]\n (set! (.-cnt editable) (dec (.-cnt editable)))\n editable))\n\n :else\n (edit-and-set inode edit idx n))))))\n\n (kv-reduce [inode f init]\n (let [len (alength arr)] ; actually 32\n (loop [i 0 init init]\n (if (< i len)\n (let [node (aget arr i)]\n (if-not (nil? node)\n (let [init (.kv-reduce node f init)]\n (if (reduced? init)\n init\n (recur (inc i) init)))\n (recur (inc i) init)))\n init))))\n\n IIterable\n (-iterator [coll]\n (ArrayNodeIterator. arr 0 nil)))\n\n(defn- hash-collision-node-find-index [arr cnt key]\n (let [lim (* 2 cnt)]\n (loop [i 0]\n (if (< i lim)\n (if (key-test key (aget arr i))\n i\n (recur (+ i 2)))\n -1))))\n\n(deftype HashCollisionNode [edit\n ^:mutable collision-hash\n ^:mutable cnt\n ^:mutable arr]\n Object\n (inode-assoc [inode shift hash key val added-leaf?]\n (if (== hash collision-hash)\n (let [idx (hash-collision-node-find-index arr cnt key)]\n (if (== idx -1)\n (let [len (* 2 cnt)\n new-arr (make-array (+ len 2))]\n (array-copy arr 0 new-arr 0 len)\n (aset new-arr len key)\n (aset new-arr (inc len) val)\n (set! (.-val added-leaf?) true)\n (HashCollisionNode. nil collision-hash (inc cnt) new-arr))\n (if (= (aget arr (inc idx)) val)\n inode\n (HashCollisionNode. nil collision-hash cnt (clone-and-set arr (inc idx) val)))))\n (.inode-assoc (BitmapIndexedNode. nil (bitpos collision-hash shift) (array nil inode))\n shift hash key val added-leaf?)))\n\n (inode-without [inode shift hash key]\n (let [idx (hash-collision-node-find-index arr cnt key)]\n (cond (== idx -1) inode\n (== cnt 1) nil\n :else (HashCollisionNode. nil collision-hash (dec cnt) (remove-pair arr (quot idx 2))))))\n\n (inode-lookup [inode shift hash key not-found]\n (let [idx (hash-collision-node-find-index arr cnt key)]\n (cond (< idx 0) not-found\n (key-test key (aget arr idx)) (aget arr (inc idx))\n :else not-found)))\n\n (inode-find [inode shift hash key not-found]\n (let [idx (hash-collision-node-find-index arr cnt key)]\n (cond (< idx 0) not-found\n (key-test key (aget arr idx)) (MapEntry. (aget arr idx) (aget arr (inc idx)) nil)\n :else not-found)))\n\n (inode-seq [inode]\n (create-inode-seq arr))\n\n (ensure-editable [inode e]\n (if (identical? e edit)\n inode\n (let [new-arr (make-array (* 2 (inc cnt)))]\n (array-copy arr 0 new-arr 0 (* 2 cnt))\n (HashCollisionNode. e collision-hash cnt new-arr))))\n\n (ensure-editable-array [inode e count array]\n (if (identical? e edit)\n (do (set! arr array)\n (set! cnt count)\n inode)\n (HashCollisionNode. edit collision-hash count array)))\n\n (inode-assoc! [inode edit shift hash key val added-leaf?]\n (if (== hash collision-hash)\n (let [idx (hash-collision-node-find-index arr cnt key)]\n (if (== idx -1)\n (if (> (alength arr) (* 2 cnt))\n (let [editable (edit-and-set inode edit (* 2 cnt) key (inc (* 2 cnt)) val)]\n (set! (.-val added-leaf?) true)\n (set! (.-cnt editable) (inc (.-cnt editable)))\n editable)\n (let [len (alength arr)\n new-arr (make-array (+ len 2))]\n (array-copy arr 0 new-arr 0 len)\n (aset new-arr len key)\n (aset new-arr (inc len) val)\n (set! (.-val added-leaf?) true)\n (.ensure-editable-array inode edit (inc cnt) new-arr)))\n (if (identical? (aget arr (inc idx)) val)\n inode\n (edit-and-set inode edit (inc idx) val))))\n (.inode-assoc! (BitmapIndexedNode. edit (bitpos collision-hash shift) (array nil inode nil nil))\n edit shift hash key val added-leaf?)))\n\n (inode-without! [inode edit shift hash key removed-leaf?]\n (let [idx (hash-collision-node-find-index arr cnt key)]\n (if (== idx -1)\n inode\n (do (set! (.-val removed-leaf?) true)\n (if (== cnt 1)\n nil\n (let [editable (.ensure-editable inode edit)\n earr (.-arr editable)]\n (aset earr idx (aget earr (- (* 2 cnt) 2)))\n (aset earr (inc idx) (aget earr (dec (* 2 cnt))))\n (aset earr (dec (* 2 cnt)) nil)\n (aset earr (- (* 2 cnt) 2) nil)\n (set! (.-cnt editable) (dec (.-cnt editable)))\n editable))))))\n\n (kv-reduce [inode f init]\n (inode-kv-reduce arr f init))\n\n IIterable\n (-iterator [coll]\n (NodeIterator. arr 0 nil nil)))\n\n(defn- create-node\n ([shift key1 val1 key2hash key2 val2]\n (let [key1hash (hash key1)]\n (if (== key1hash key2hash)\n (HashCollisionNode. nil key1hash 2 (array key1 val1 key2 val2))\n (let [added-leaf? (Box. false)]\n (-> (.-EMPTY BitmapIndexedNode)\n (.inode-assoc shift key1hash key1 val1 added-leaf?)\n (.inode-assoc shift key2hash key2 val2 added-leaf?))))))\n ([edit shift key1 val1 key2hash key2 val2]\n (let [key1hash (hash key1)]\n (if (== key1hash key2hash)\n (HashCollisionNode. nil key1hash 2 (array key1 val1 key2 val2))\n (let [added-leaf? (Box. false)]\n (-> (.-EMPTY BitmapIndexedNode)\n (.inode-assoc! edit shift key1hash key1 val1 added-leaf?)\n (.inode-assoc! edit shift key2hash key2 val2 added-leaf?)))))))\n\n(deftype NodeSeq [meta nodes i s ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMeta\n (-meta [coll] meta)\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (NodeSeq. new-meta nodes i s __hash)))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n ISequential\n ISeq\n (-first [coll]\n (if (nil? s)\n (MapEntry. (aget nodes i) (aget nodes (inc i)) nil)\n (first s)))\n\n (-rest [coll]\n (let [ret (if (nil? s)\n (create-inode-seq nodes (+ i 2) nil)\n (create-inode-seq nodes i (next s)))]\n (if-not (nil? ret) ret ())))\n\n INext\n (-next [coll]\n (if (nil? s)\n (create-inode-seq nodes (+ i 2) nil)\n (create-inode-seq nodes i (next s))))\n\n ISeqable\n (-seq [this] this)\n\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable NodeSeq)\n\n(defn- create-inode-seq\n ([nodes]\n (create-inode-seq nodes 0 nil))\n ([nodes i s]\n (if (nil? s)\n (let [len (alength nodes)]\n (loop [j i]\n (if (< j len)\n (if-not (nil? (aget nodes j))\n (NodeSeq. nil nodes j nil nil)\n (if-let [node (aget nodes (inc j))]\n (if-let [node-seq (.inode-seq node)]\n (NodeSeq. nil nodes (+ j 2) node-seq nil)\n (recur (+ j 2)))\n (recur (+ j 2)))))))\n (NodeSeq. nil nodes i s nil))))\n\n(deftype ArrayNodeSeq [meta nodes i s ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMeta\n (-meta [coll] meta)\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (ArrayNodeSeq. new-meta nodes i s __hash)))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n ISequential\n ISeq\n (-first [coll] (first s))\n (-rest [coll]\n (let [ret (create-array-node-seq nodes i (next s))]\n (if-not (nil? ret) ret ())))\n\n INext\n (-next [coll]\n (create-array-node-seq nodes i (next s)))\n\n ISeqable\n (-seq [this] this)\n\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable ArrayNodeSeq)\n\n(defn- create-array-node-seq\n ([nodes] (create-array-node-seq nodes 0 nil))\n ([nodes i s]\n (if (nil? s)\n (let [len (alength nodes)]\n (loop [j i]\n (if (< j len)\n (if-let [nj (aget nodes j)]\n (if-let [ns (.inode-seq nj)]\n (ArrayNodeSeq. nil nodes (inc j) ns nil)\n (recur (inc j)))\n (recur (inc j))))))\n (ArrayNodeSeq. nil nodes i s nil))))\n\n(deftype HashMapIter [nil-val root-iter ^:mutable seen]\n Object\n (hasNext [_]\n (or (not ^boolean seen) ^boolean (.hasNext root-iter)))\n (next [_]\n (if-not ^boolean seen\n (do\n (set! seen true)\n (MapEntry. nil nil-val nil))\n (.next root-iter)))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(deftype PersistentHashMap [meta cnt root ^boolean has-nil? nil-val ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n\n ;; EXPERIMENTAL: subject to change\n (keys [coll]\n (es6-iterator (keys coll)))\n (entries [coll]\n (es6-entries-iterator (seq coll)))\n (values [coll]\n (es6-iterator (vals coll)))\n (has [coll k]\n (contains? coll k))\n (get [coll k not-found]\n (-lookup coll k not-found))\n (forEach [coll f]\n (doseq [[k v] coll]\n (f v k)))\n\n ICloneable\n (-clone [_] (PersistentHashMap. meta cnt root has-nil? nil-val __hash))\n\n IIterable\n (-iterator [coll]\n (let [root-iter (if ^boolean root (-iterator root) (nil-iter))]\n (if has-nil?\n (HashMapIter. nil-val root-iter false)\n root-iter)))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentHashMap. new-meta cnt root has-nil? nil-val __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ICollection\n (-conj [coll entry]\n (if (vector? entry)\n (-assoc coll (-nth entry 0) (-nth entry 1))\n (loop [ret coll es (seq entry)]\n (if (nil? es)\n ret\n (let [e (first es)]\n (if (vector? e)\n (recur (-assoc ret (-nth e 0) (-nth e 1))\n (next es))\n (throw (js/Error. \"conj on a map takes map entries or seqables of map entries\"))))))))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY PersistentHashMap) meta))\n\n IEquiv\n (-equiv [coll other] (equiv-map coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-unordered-coll __hash))\n\n ISeqable\n (-seq [coll]\n (when (pos? cnt)\n (let [s (if-not (nil? root) (.inode-seq root))]\n (if has-nil?\n (cons (MapEntry. nil nil-val nil) s)\n s))))\n\n ICounted\n (-count [coll] cnt)\n\n ILookup\n (-lookup [coll k]\n (-lookup coll k nil))\n\n (-lookup [coll k not-found]\n (cond (nil? k) (if has-nil?\n nil-val\n not-found)\n (nil? root) not-found\n :else (.inode-lookup root 0 (hash k) k not-found)))\n\n IAssociative\n (-assoc [coll k v]\n (if (nil? k)\n (if (and has-nil? (identical? v nil-val))\n coll\n (PersistentHashMap. meta (if has-nil? cnt (inc cnt)) root true v nil))\n (let [added-leaf? (Box. false)\n new-root (-> (if (nil? root)\n (.-EMPTY BitmapIndexedNode)\n root)\n (.inode-assoc 0 (hash k) k v added-leaf?))]\n (if (identical? new-root root)\n coll\n (PersistentHashMap. meta (if ^boolean (.-val added-leaf?) (inc cnt) cnt) new-root has-nil? nil-val nil)))))\n\n (-contains-key? [coll k]\n (cond (nil? k) has-nil?\n (nil? root) false\n :else (not (identical? (.inode-lookup root 0 (hash k) k lookup-sentinel)\n lookup-sentinel))))\n\n IFind\n (-find [coll k]\n (cond\n (nil? k) (when has-nil? (MapEntry. nil nil-val nil))\n (nil? root) nil\n :else (.inode-find root 0 (hash k) k nil)))\n\n IMap\n (-dissoc [coll k]\n (cond (nil? k) (if has-nil?\n (PersistentHashMap. meta (dec cnt) root false nil nil)\n coll)\n (nil? root) coll\n :else\n (let [new-root (.inode-without root 0 (hash k) k)]\n (if (identical? new-root root)\n coll\n (PersistentHashMap. meta (dec cnt) new-root has-nil? nil-val nil)))))\n\n IKVReduce\n (-kv-reduce [coll f init]\n (let [init (if has-nil? (f init nil nil-val) init)]\n (cond\n (reduced? init) @init\n (not (nil? root)) (unreduced (.kv-reduce root f init))\n :else init)))\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n\n (-invoke [coll k not-found]\n (-lookup coll k not-found))\n\n IEditableCollection\n (-as-transient [coll]\n (TransientHashMap. (js-obj) root cnt has-nil? nil-val)))\n\n(set! (.-EMPTY PersistentHashMap) (PersistentHashMap. nil 0 nil false nil empty-unordered-hash))\n\n(set! (.-fromArray PersistentHashMap)\n (fn [arr ^boolean no-clone]\n (let [arr (if no-clone arr (aclone arr))\n len (alength arr)]\n (loop [i 0 ret (transient (.-EMPTY PersistentHashMap))]\n (if (< i len)\n (recur (+ i 2)\n (-assoc! ret (aget arr i) (aget arr (inc i))))\n (-persistent! ret))))))\n\n(set! (.-fromArrays PersistentHashMap)\n (fn [ks vs]\n (let [len (alength ks)]\n (loop [i 0 ^not-native out (transient (.-EMPTY PersistentHashMap))]\n (if (< i len)\n (if (<= (alength vs) i)\n (throw (js/Error. (str \"No value supplied for key: \" (aget ks i))))\n (recur (inc i) (-assoc! out (aget ks i) (aget vs i))))\n (persistent! out))))))\n\n(set! (.-createWithCheck PersistentHashMap)\n (fn [arr]\n (let [len (alength arr)\n ret (transient (.-EMPTY PersistentHashMap))]\n (loop [i 0]\n (when (< i len)\n (-assoc! ret (aget arr i) (aget arr (inc i)))\n (if (not= (-count ret) (inc (/ i 2)))\n (throw (js/Error. (str \"Duplicate key: \" (aget arr i))))\n (recur (+ i 2)))))\n (-persistent! ret))))\n\n(es6-iterable PersistentHashMap)\n\n(deftype TransientHashMap [^:mutable ^boolean edit\n ^:mutable root\n ^:mutable count\n ^:mutable ^boolean has-nil?\n ^:mutable nil-val]\n Object\n (conj! [tcoll o]\n (if edit\n (cond\n (map-entry? o)\n (.assoc! tcoll (key o) (val o))\n\n (vector? o)\n (.assoc! tcoll (o 0) (o 1))\n\n :else\n (loop [es (seq o) tcoll tcoll]\n (if-let [e (first es)]\n (recur (next es)\n (.assoc! tcoll (key e) (val e)))\n tcoll)))\n (throw (js/Error. \"conj! after persistent\"))))\n\n (assoc! [tcoll k v]\n (if edit\n (if (nil? k)\n (do (if (identical? nil-val v)\n nil\n (set! nil-val v))\n (if has-nil?\n nil\n (do (set! count (inc count))\n (set! has-nil? true)))\n tcoll)\n (let [added-leaf? (Box. false)\n node (-> (if (nil? root)\n (.-EMPTY BitmapIndexedNode)\n root)\n (.inode-assoc! edit 0 (hash k) k v added-leaf?))]\n (if (identical? node root)\n nil\n (set! root node))\n (if ^boolean (.-val added-leaf?)\n (set! count (inc count)))\n tcoll))\n (throw (js/Error. \"assoc! after persistent!\"))))\n\n (without! [tcoll k]\n (if edit\n (if (nil? k)\n (if has-nil?\n (do (set! has-nil? false)\n (set! nil-val nil)\n (set! count (dec count))\n tcoll)\n tcoll)\n (if (nil? root)\n tcoll\n (let [removed-leaf? (Box. false)\n node (.inode-without! root edit 0 (hash k) k removed-leaf?)]\n (if (identical? node root)\n nil\n (set! root node))\n (if ^boolean (.-val removed-leaf?)\n (set! count (dec count)))\n tcoll)))\n (throw (js/Error. \"dissoc! after persistent!\"))))\n\n (persistent! [tcoll]\n (if edit\n (do (set! edit nil)\n (PersistentHashMap. nil count root has-nil? nil-val nil))\n (throw (js/Error. \"persistent! called twice\"))))\n\n ICounted\n (-count [coll]\n (if edit\n count\n (throw (js/Error. \"count after persistent!\"))))\n\n ILookup\n (-lookup [tcoll k]\n (if (nil? k)\n (if has-nil?\n nil-val)\n (if (nil? root)\n nil\n (.inode-lookup root 0 (hash k) k))))\n\n (-lookup [tcoll k not-found]\n (if (nil? k)\n (if has-nil?\n nil-val\n not-found)\n (if (nil? root)\n not-found\n (.inode-lookup root 0 (hash k) k not-found))))\n\n ITransientCollection\n (-conj! [tcoll val] (.conj! tcoll val))\n\n (-persistent! [tcoll] (.persistent! tcoll))\n\n ITransientAssociative\n (-assoc! [tcoll key val] (.assoc! tcoll key val))\n\n ITransientMap\n (-dissoc! [tcoll key] (.without! tcoll key))\n\n IFn\n (-invoke [tcoll key]\n (-lookup tcoll key))\n (-invoke [tcoll key not-found]\n (-lookup tcoll key not-found)))\n\n;;; PersistentTreeMap\n\n(defn- tree-map-seq-push [node stack ^boolean ascending?]\n (loop [t node stack stack]\n (if-not (nil? t)\n (recur (if ascending? (.-left t) (.-right t))\n (conj stack t))\n stack)))\n\n(deftype PersistentTreeMapSeq [meta stack ^boolean ascending? cnt ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n ISeqable\n (-seq [this] this)\n\n ISequential\n ISeq\n (-first [this] (peek stack))\n (-rest [this]\n (let [t (first stack)\n next-stack (tree-map-seq-push (if ascending? (.-right t) (.-left t))\n (next stack)\n ascending?)]\n (if-not (nil? next-stack)\n (PersistentTreeMapSeq. nil next-stack ascending? (dec cnt) nil)\n ())))\n INext\n (-next [this]\n (let [t (first stack)\n next-stack (tree-map-seq-push (if ascending? (.-right t) (.-left t))\n (next stack)\n ascending?)]\n (when-not (nil? next-stack)\n (PersistentTreeMapSeq. nil next-stack ascending? (dec cnt) nil))))\n\n ICounted\n (-count [coll]\n (if (neg? cnt)\n (inc (count (next coll)))\n cnt))\n\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n IMeta\n (-meta [coll] meta)\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentTreeMapSeq. new-meta stack ascending? cnt __hash)))\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable PersistentTreeMapSeq)\n\n(defn- create-tree-map-seq [tree ascending? cnt]\n (PersistentTreeMapSeq. nil (tree-map-seq-push tree nil ascending?) ascending? cnt nil))\n\n(declare RedNode BlackNode)\n\n(defn- balance-left [key val ins right]\n (if (instance? RedNode ins)\n (cond\n (instance? RedNode (.-left ins))\n (RedNode. (.-key ins) (.-val ins)\n (.blacken (.-left ins))\n (BlackNode. key val (.-right ins) right nil)\n nil)\n\n (instance? RedNode (.-right ins))\n (RedNode. (.. ins -right -key) (.. ins -right -val)\n (BlackNode. (.-key ins) (.-val ins)\n (.-left ins)\n (.. ins -right -left)\n nil)\n (BlackNode. key val\n (.. ins -right -right)\n right\n nil)\n nil)\n\n :else\n (BlackNode. key val ins right nil))\n (BlackNode. key val ins right nil)))\n\n(defn- balance-right [key val left ins]\n (if (instance? RedNode ins)\n (cond\n (instance? RedNode (.-right ins))\n (RedNode. (.-key ins) (.-val ins)\n (BlackNode. key val left (.-left ins) nil)\n (.blacken (.-right ins))\n nil)\n\n (instance? RedNode (.-left ins))\n (RedNode. (.. ins -left -key) (.. ins -left -val)\n (BlackNode. key val left (.. ins -left -left) nil)\n (BlackNode. (.-key ins) (.-val ins)\n (.. ins -left -right)\n (.-right ins)\n nil)\n nil)\n\n :else\n (BlackNode. key val left ins nil))\n (BlackNode. key val left ins nil)))\n\n(defn- balance-left-del [key val del right]\n (cond\n (instance? RedNode del)\n (RedNode. key val (.blacken del) right nil)\n\n (instance? BlackNode right)\n (balance-right key val del (.redden right))\n\n (and (instance? RedNode right) (instance? BlackNode (.-left right)))\n (RedNode. (.. right -left -key) (.. right -left -val)\n (BlackNode. key val del (.. right -left -left) nil)\n (balance-right (.-key right) (.-val right)\n (.. right -left -right)\n (.redden (.-right right)))\n nil)\n\n :else\n (throw (js/Error. \"red-black tree invariant violation\"))))\n\n(defn- balance-right-del [key val left del]\n (cond\n (instance? RedNode del)\n (RedNode. key val left (.blacken del) nil)\n\n (instance? BlackNode left)\n (balance-left key val (.redden left) del)\n\n (and (instance? RedNode left) (instance? BlackNode (.-right left)))\n (RedNode. (.. left -right -key) (.. left -right -val)\n (balance-left (.-key left) (.-val left)\n (.redden (.-left left))\n (.. left -right -left))\n (BlackNode. key val (.. left -right -right) del nil)\n nil)\n\n :else\n (throw (js/Error. \"red-black tree invariant violation\"))))\n\n(defn- tree-map-kv-reduce [node f init]\n (let [init (if-not (nil? (.-left node))\n (tree-map-kv-reduce (.-left node) f init)\n init)]\n (if (reduced? init)\n init\n (let [init (f init (.-key node) (.-val node))]\n (if (reduced? init)\n init\n (if-not (nil? (.-right node))\n (tree-map-kv-reduce (.-right node) f init)\n init))))))\n\n(deftype BlackNode [key val left right ^:mutable __hash]\n Object\n (add-left [node ins]\n (.balance-left ins node))\n\n (add-right [node ins]\n (.balance-right ins node))\n\n (remove-left [node del]\n (balance-left-del key val del right))\n\n (remove-right [node del]\n (balance-right-del key val left del))\n\n (blacken [node] node)\n\n (redden [node] (RedNode. key val left right nil))\n\n (balance-left [node parent]\n (BlackNode. (.-key parent) (.-val parent) node (.-right parent) nil))\n\n (balance-right [node parent]\n (BlackNode. (.-key parent) (.-val parent) (.-left parent) node nil))\n\n (replace [node key val left right]\n (BlackNode. key val left right nil))\n\n (kv-reduce [node f init]\n (tree-map-kv-reduce node f init))\n\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMapEntry\n (-key [node] key)\n (-val [node] val)\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IMeta\n (-meta [node] nil)\n\n IWithMeta\n (-with-meta [node meta]\n (-with-meta [key val] meta))\n\n IStack\n (-peek [node] val)\n\n (-pop [node] [key])\n\n ICollection\n (-conj [node o] [key val o])\n\n IEmptyableCollection\n (-empty [node] nil)\n\n ISequential\n ISeqable\n (-seq [node] (IndexedSeq. #js [key val] 0 nil))\n\n IReversible\n (-rseq [node] (IndexedSeq. #js [val key] 0 nil))\n\n ICounted\n (-count [node] 2)\n\n IIndexed\n (-nth [node n]\n (cond (== n 0) key\n (== n 1) val\n :else (throw (js/Error. \"Index out of bounds\"))))\n\n (-nth [node n not-found]\n (cond (== n 0) key\n (== n 1) val\n :else not-found))\n\n ILookup\n (-lookup [node k] (-nth node k nil))\n (-lookup [node k not-found] (-nth node k not-found))\n\n IAssociative\n (-assoc [node k v]\n (assoc [key val] k v))\n (-contains-key? [node k]\n (or (== k 0) (== k 1)))\n\n IFind\n (-find [node k]\n (case k\n 0 (MapEntry. 0 key nil)\n 1 (MapEntry. 1 val nil)\n nil))\n\n IVector\n (-assoc-n [node n v]\n (-assoc-n [key val] n v))\n\n IReduce\n (-reduce [node f]\n (ci-reduce node f))\n\n (-reduce [node f start]\n (ci-reduce node f start))\n\n IFn\n (-invoke [node k]\n (-nth node k))\n\n (-invoke [node k not-found]\n (-nth node k not-found)))\n\n(es6-iterable BlackNode)\n\n(deftype RedNode [key val left right ^:mutable __hash]\n Object\n (add-left [node ins]\n (RedNode. key val ins right nil))\n\n (add-right [node ins]\n (RedNode. key val left ins nil))\n\n (remove-left [node del]\n (RedNode. key val del right nil))\n\n (remove-right [node del]\n (RedNode. key val left del nil))\n\n (blacken [node]\n (BlackNode. key val left right nil))\n\n (redden [node]\n (throw (js/Error. \"red-black tree invariant violation\")))\n\n (balance-left [node parent]\n (cond\n (instance? RedNode left)\n (RedNode. key val\n (.blacken left)\n (BlackNode. (.-key parent) (.-val parent) right (.-right parent) nil)\n nil)\n\n (instance? RedNode right)\n (RedNode. (.-key right) (.-val right)\n (BlackNode. key val left (.-left right) nil)\n (BlackNode. (.-key parent) (.-val parent)\n (.-right right)\n (.-right parent)\n nil)\n nil)\n\n :else\n (BlackNode. (.-key parent) (.-val parent) node (.-right parent) nil)))\n\n (balance-right [node parent]\n (cond\n (instance? RedNode right)\n (RedNode. key val\n (BlackNode. (.-key parent) (.-val parent)\n (.-left parent)\n left\n nil)\n (.blacken right)\n nil)\n\n (instance? RedNode left)\n (RedNode. (.-key left) (.-val left)\n (BlackNode. (.-key parent) (.-val parent)\n (.-left parent)\n (.-left left)\n nil)\n (BlackNode. key val (.-right left) right nil)\n nil)\n\n :else\n (BlackNode. (.-key parent) (.-val parent) (.-left parent) node nil)))\n\n (replace [node key val left right]\n (RedNode. key val left right nil))\n\n (kv-reduce [node f init]\n (tree-map-kv-reduce node f init))\n\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMapEntry\n (-key [node] key)\n (-val [node] val)\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n IMeta\n (-meta [node] nil)\n\n IWithMeta\n (-with-meta [node meta]\n (-with-meta [key val] meta))\n\n IStack\n (-peek [node] val)\n\n (-pop [node] [key])\n\n ICollection\n (-conj [node o] [key val o])\n\n IEmptyableCollection\n (-empty [node] nil)\n\n ISequential\n ISeqable\n (-seq [node] (IndexedSeq. #js [key val] 0 nil))\n\n IReversible\n (-rseq [node] (IndexedSeq. #js [val key] 0 nil))\n\n ICounted\n (-count [node] 2)\n\n IIndexed\n (-nth [node n]\n (cond (== n 0) key\n (== n 1) val\n :else (throw (js/Error. \"Index out of bounds\"))))\n\n (-nth [node n not-found]\n (cond (== n 0) key\n (== n 1) val\n :else not-found))\n\n ILookup\n (-lookup [node k] (-nth node k nil))\n (-lookup [node k not-found] (-nth node k not-found))\n\n IAssociative\n (-assoc [node k v]\n (assoc [key val] k v))\n (-contains-key? [node k]\n (or (== k 0) (== k 1)))\n\n IFind\n (-find [node k]\n (case k\n 0 (MapEntry. 0 key nil)\n 1 (MapEntry. 1 val nil)\n nil))\n\n IVector\n (-assoc-n [node n v]\n (-assoc-n [key val] n v))\n\n IReduce\n (-reduce [node f]\n (ci-reduce node f))\n\n (-reduce [node f start]\n (ci-reduce node f start))\n\n IFn\n (-invoke [node k]\n (-nth node k))\n\n (-invoke [node k not-found]\n (-nth node k not-found)))\n\n(es6-iterable RedNode)\n\n(defn- tree-map-add [comp tree k v found]\n (if (nil? tree)\n (RedNode. k v nil nil nil)\n (let [c (comp k (.-key tree))]\n (cond\n (zero? c)\n (do (aset found 0 tree)\n nil)\n\n (neg? c)\n (let [ins (tree-map-add comp (.-left tree) k v found)]\n (if-not (nil? ins)\n (.add-left tree ins)))\n\n :else\n (let [ins (tree-map-add comp (.-right tree) k v found)]\n (if-not (nil? ins)\n (.add-right tree ins)))))))\n\n(defn- tree-map-append [left right]\n (cond\n (nil? left)\n right\n\n (nil? right)\n left\n\n (instance? RedNode left)\n (if (instance? RedNode right)\n (let [app (tree-map-append (.-right left) (.-left right))]\n (if (instance? RedNode app)\n (RedNode. (.-key app) (.-val app)\n (RedNode. (.-key left) (.-val left)\n (.-left left)\n (.-left app)\n nil)\n (RedNode. (.-key right) (.-val right)\n (.-right app)\n (.-right right)\n nil)\n nil)\n (RedNode. (.-key left) (.-val left)\n (.-left left)\n (RedNode. (.-key right) (.-val right) app (.-right right) nil)\n nil)))\n (RedNode. (.-key left) (.-val left)\n (.-left left)\n (tree-map-append (.-right left) right)\n nil))\n\n (instance? RedNode right)\n (RedNode. (.-key right) (.-val right)\n (tree-map-append left (.-left right))\n (.-right right)\n nil)\n\n :else\n (let [app (tree-map-append (.-right left) (.-left right))]\n (if (instance? RedNode app)\n (RedNode. (.-key app) (.-val app)\n (BlackNode. (.-key left) (.-val left)\n (.-left left)\n (.-left app)\n nil)\n (BlackNode. (.-key right) (.-val right)\n (.-right app)\n (.-right right)\n nil)\n nil)\n (balance-left-del (.-key left) (.-val left)\n (.-left left)\n (BlackNode. (.-key right) (.-val right)\n app\n (.-right right)\n nil))))))\n\n(defn- tree-map-remove [comp tree k found]\n (if-not (nil? tree)\n (let [c (comp k (.-key tree))]\n (cond\n (zero? c)\n (do (aset found 0 tree)\n (tree-map-append (.-left tree) (.-right tree)))\n\n (neg? c)\n (let [del (tree-map-remove comp (.-left tree) k found)]\n (if (or (not (nil? del)) (not (nil? (aget found 0))))\n (if (instance? BlackNode (.-left tree))\n (balance-left-del (.-key tree) (.-val tree) del (.-right tree))\n (RedNode. (.-key tree) (.-val tree) del (.-right tree) nil))))\n\n :else\n (let [del (tree-map-remove comp (.-right tree) k found)]\n (if (or (not (nil? del)) (not (nil? (aget found 0))))\n (if (instance? BlackNode (.-right tree))\n (balance-right-del (.-key tree) (.-val tree) (.-left tree) del)\n (RedNode. (.-key tree) (.-val tree) (.-left tree) del nil))))))))\n\n(defn- tree-map-replace [comp tree k v]\n (let [tk (.-key tree)\n c (comp k tk)]\n (cond (zero? c) (.replace tree tk v (.-left tree) (.-right tree))\n (neg? c) (.replace tree tk (.-val tree) (tree-map-replace comp (.-left tree) k v) (.-right tree))\n :else (.replace tree tk (.-val tree) (.-left tree) (tree-map-replace comp (.-right tree) k v)))))\n\n(declare key)\n\n(deftype PersistentTreeMap [comp tree cnt meta ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n\n ;; EXPERIMENTAL: subject to change\n (keys [coll]\n (es6-iterator (keys coll)))\n (entries [coll]\n (es6-entries-iterator (seq coll)))\n (values [coll]\n (es6-iterator (vals coll)))\n (has [coll k]\n (contains? coll k))\n (get [coll k not-found]\n (-lookup coll k not-found))\n (forEach [coll f]\n (doseq [[k v] coll]\n (f v k)))\n\n (entry-at [coll k]\n (loop [t tree]\n (if-not (nil? t)\n (let [c (comp k (.-key t))]\n (cond (zero? c) t\n (neg? c) (recur (.-left t))\n :else (recur (.-right t)))))))\n\n ICloneable\n (-clone [_] (PersistentTreeMap. comp tree cnt meta __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentTreeMap. comp tree cnt new-meta __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ICollection\n (-conj [coll entry]\n (if (vector? entry)\n (-assoc coll (-nth entry 0) (-nth entry 1))\n (loop [ret coll es (seq entry)]\n (if (nil? es)\n ret\n (let [e (first es)]\n (if (vector? e)\n (recur (-assoc ret (-nth e 0) (-nth e 1))\n (next es))\n (throw (js/Error. \"conj on a map takes map entries or seqables of map entries\"))))))))\n\n IEmptyableCollection\n (-empty [coll] (PersistentTreeMap. comp nil 0 meta 0))\n\n IEquiv\n (-equiv [coll other] (equiv-map coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-unordered-coll __hash))\n\n ICounted\n (-count [coll] cnt)\n\n IKVReduce\n (-kv-reduce [coll f init]\n (if-not (nil? tree)\n (unreduced (tree-map-kv-reduce tree f init))\n init))\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n\n (-invoke [coll k not-found]\n (-lookup coll k not-found))\n\n ISeqable\n (-seq [coll]\n (if (pos? cnt)\n (create-tree-map-seq tree true cnt)))\n\n IReversible\n (-rseq [coll]\n (if (pos? cnt)\n (create-tree-map-seq tree false cnt)))\n\n ILookup\n (-lookup [coll k]\n (-lookup coll k nil))\n\n (-lookup [coll k not-found]\n (let [n (.entry-at coll k)]\n (if-not (nil? n)\n (.-val n)\n not-found)))\n\n IAssociative\n (-assoc [coll k v]\n (let [found (array nil)\n t (tree-map-add comp tree k v found)]\n (if (nil? t)\n (let [found-node (nth found 0)]\n (if (= v (.-val found-node))\n coll\n (PersistentTreeMap. comp (tree-map-replace comp tree k v) cnt meta nil)))\n (PersistentTreeMap. comp (.blacken t) (inc cnt) meta nil))))\n\n (-contains-key? [coll k]\n (not (nil? (.entry-at coll k))))\n\n IFind\n (-find [coll k]\n (.entry-at coll k))\n\n IMap\n (-dissoc [coll k]\n (let [found (array nil)\n t (tree-map-remove comp tree k found)]\n (if (nil? t)\n (if (nil? (nth found 0))\n coll\n (PersistentTreeMap. comp nil 0 meta nil))\n (PersistentTreeMap. comp (.blacken t) (dec cnt) meta nil))))\n\n ISorted\n (-sorted-seq [coll ascending?]\n (if (pos? cnt)\n (create-tree-map-seq tree ascending? cnt)))\n\n (-sorted-seq-from [coll k ascending?]\n (if (pos? cnt)\n (loop [stack nil t tree]\n (if-not (nil? t)\n (let [c (comp k (.-key t))]\n (cond\n (zero? c) (PersistentTreeMapSeq. nil (conj stack t) ascending? -1 nil)\n ascending? (if (neg? c)\n (recur (conj stack t) (.-left t))\n (recur stack (.-right t)))\n :else (if (pos? c)\n (recur (conj stack t) (.-right t))\n (recur stack (.-left t)))))\n (when-not (nil? stack)\n (PersistentTreeMapSeq. nil stack ascending? -1 nil))))))\n\n (-entry-key [coll entry] (key entry))\n\n (-comparator [coll] comp))\n\n(set! (.-EMPTY PersistentTreeMap) (PersistentTreeMap. compare nil 0 nil empty-unordered-hash))\n\n(es6-iterable PersistentTreeMap)\n\n(defn hash-map\n \"keyval => key val\n Returns a new hash map with supplied mappings.\"\n [& keyvals]\n (loop [in (seq keyvals), out (transient (.-EMPTY PersistentHashMap))]\n (if in\n (let [in' (next in)]\n (if (nil? in')\n (throw (js/Error. (str \"No value supplied for key: \" (first in))))\n (recur (next in') (assoc! out (first in) (first in')) )))\n (persistent! out))))\n\n(defn array-map\n \"keyval => key val\n Returns a new array map with supplied mappings.\"\n [& keyvals]\n (let [arr (if (and (instance? IndexedSeq keyvals) (zero? (.-i keyvals)))\n (.-arr keyvals)\n (into-array keyvals))]\n (if (odd? (alength arr))\n (throw (js/Error. (str \"No value supplied for key: \" (last arr))))\n (.createAsIfByAssoc PersistentArrayMap arr))))\n\n(defn seq-to-map-for-destructuring\n \"Builds a map from a seq as described in\n https://clojure.org/reference/special_forms#keyword-arguments\"\n [s]\n (if (next s)\n (.createAsIfByAssoc PersistentArrayMap (to-array s))\n (if (seq s) (first s) (.-EMPTY PersistentArrayMap))))\n\n(defn obj-map\n \"keyval => key val\n Returns a new object map with supplied mappings.\"\n [& keyvals]\n (let [ks (array)\n obj (js-obj)]\n (loop [kvs (seq keyvals)]\n (if kvs\n (do (.push ks (first kvs))\n (gobject/set obj (first kvs) (second kvs))\n (recur (nnext kvs)))\n (.fromObject ObjMap ks obj)))))\n\n(defn sorted-map\n \"keyval => key val\n Returns a new sorted map with supplied mappings.\"\n ([& keyvals]\n (loop [in (seq keyvals) out (.-EMPTY PersistentTreeMap)]\n (if in\n (recur (nnext in) (assoc out (first in) (second in)))\n out))))\n\n(defn sorted-map-by\n \"keyval => key val\n Returns a new sorted map with supplied mappings, using the supplied comparator.\"\n ([comparator & keyvals]\n (loop [in (seq keyvals)\n out (PersistentTreeMap. (fn->comparator comparator) nil 0 nil 0)]\n (if in\n (recur (nnext in) (assoc out (first in) (second in)))\n out))))\n\n(deftype KeySeq [^not-native mseq _meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMeta\n (-meta [coll] _meta)\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta _meta)\n coll\n (KeySeq. mseq new-meta)))\n\n ISeqable\n (-seq [coll] coll)\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n ICollection\n (-conj [coll o]\n (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IHash\n (-hash [coll] (hash-ordered-coll coll))\n\n ISeq\n (-first [coll]\n (let [^not-native me (-first mseq)]\n (-key me)))\n\n (-rest [coll]\n (let [nseq (if (satisfies? INext mseq)\n (-next mseq)\n (next mseq))]\n (if-not (nil? nseq)\n (KeySeq. nseq nil)\n ())))\n\n INext\n (-next [coll]\n (let [nseq (if (satisfies? INext mseq)\n (-next mseq)\n (next mseq))]\n (when-not (nil? nseq)\n (KeySeq. nseq nil))))\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable KeySeq)\n\n(defn keys\n \"Returns a sequence of the map's keys, in the same order as (seq map).\"\n [map]\n (when-let [mseq (seq map)]\n (KeySeq. mseq nil)))\n\n(defn key\n \"Returns the key of the map entry.\"\n [map-entry]\n (-key map-entry))\n\n(deftype ValSeq [^not-native mseq _meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n IMeta\n (-meta [coll] _meta)\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta _meta)\n coll\n (ValSeq. mseq new-meta)))\n\n ISeqable\n (-seq [coll] coll)\n\n ISequential\n IEquiv\n (-equiv [coll other] (equiv-sequential coll other))\n\n ICollection\n (-conj [coll o]\n (cons o coll))\n\n IEmptyableCollection\n (-empty [coll] (.-EMPTY List))\n\n IHash\n (-hash [coll] (hash-ordered-coll coll))\n\n ISeq\n (-first [coll]\n (let [^not-native me (-first mseq)]\n (-val me)))\n\n (-rest [coll]\n (let [nseq (if (satisfies? INext mseq)\n (-next mseq)\n (next mseq))]\n (if-not (nil? nseq)\n (ValSeq. nseq nil)\n ())))\n\n INext\n (-next [coll]\n (let [nseq (if (satisfies? INext mseq)\n (-next mseq)\n (next mseq))]\n (when-not (nil? nseq)\n (ValSeq. nseq nil))))\n\n IReduce\n (-reduce [coll f] (seq-reduce f coll))\n (-reduce [coll f start] (seq-reduce f start coll)))\n\n(es6-iterable ValSeq)\n\n(defn vals\n \"Returns a sequence of the map's values, in the same order as (seq map).\"\n [map]\n (when-let [mseq (seq map)]\n (ValSeq. mseq nil)))\n\n(defn val\n \"Returns the value in the map entry.\"\n [map-entry]\n (-val map-entry))\n\n(defn merge\n \"Returns a map that consists of the rest of the maps conj-ed onto\n the first. If a key occurs in more than one map, the mapping from\n the latter (left-to-right) will be the mapping in the result.\"\n [& maps]\n (when (some identity maps)\n (reduce #(conj (or %1 {}) %2) maps)))\n\n(defn merge-with\n \"Returns a map that consists of the rest of the maps conj-ed onto\n the first. If a key occurs in more than one map, the mapping(s)\n from the latter (left-to-right) will be combined with the mapping in\n the result by calling (f val-in-result val-in-latter).\"\n [f & maps]\n (when (some identity maps)\n (let [merge-entry (fn [m e]\n (let [k (key e) v (val e)]\n (if (contains? m k)\n (assoc m k (f (get m k) v))\n (assoc m k v))))\n merge2 (fn [m1 m2]\n (reduce merge-entry (or m1 {}) (seq m2)))]\n (reduce merge2 maps))))\n\n(defn select-keys\n \"Returns a map containing only those entries in map whose key is in keys\"\n [map keyseq]\n (loop [ret {} keys (seq keyseq)]\n (if keys\n (let [key (first keys)\n entry (get map key ::not-found)]\n (recur\n (if (not= entry ::not-found)\n (assoc ret key entry)\n ret)\n (next keys)))\n (-with-meta ret (meta map)))))\n\n;;; PersistentHashSet\n\n(declare TransientHashSet)\n\n(deftype HashSetIter [iter]\n Object\n (hasNext [_]\n (.hasNext iter))\n (next [_]\n (if ^boolean (.hasNext iter)\n (.-key (.next iter))\n (throw (js/Error. \"No such element\"))))\n (remove [_] (js/Error. \"Unsupported operation\")))\n\n(deftype PersistentHashSet [meta hash-map ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n\n ;; EXPERIMENTAL: subject to change\n (keys [coll]\n (es6-iterator (seq coll)))\n (entries [coll]\n (es6-set-entries-iterator (seq coll)))\n (values [coll]\n (es6-iterator (seq coll)))\n (has [coll k]\n (contains? coll k))\n (forEach [coll f]\n (doseq [[k v] coll]\n (f v k)))\n\n ICloneable\n (-clone [_] (PersistentHashSet. meta hash-map __hash))\n\n IIterable\n (-iterator [coll]\n (HashSetIter. (-iterator hash-map)))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentHashSet. new-meta hash-map __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ICollection\n (-conj [coll o]\n (PersistentHashSet. meta (assoc hash-map o nil) nil))\n\n IEmptyableCollection\n (-empty [coll] (-with-meta (.-EMPTY PersistentHashSet) meta))\n\n IEquiv\n (-equiv [coll other]\n (and\n (set? other)\n (== (count coll) (count other))\n ^boolean\n (try\n (reduce-kv\n #(or (contains? other %2) (reduced false))\n true hash-map)\n (catch js/Error ex\n false))))\n\n IHash\n (-hash [coll] (caching-hash coll hash-unordered-coll __hash))\n\n ISeqable\n (-seq [coll] (keys hash-map))\n\n ICounted\n (-count [coll] (-count hash-map))\n\n ILookup\n (-lookup [coll v]\n (-lookup coll v nil))\n (-lookup [coll v not-found]\n (if-let [entry (-find hash-map v)]\n (key entry)\n not-found))\n\n ISet\n (-disjoin [coll v]\n (PersistentHashSet. meta (-dissoc hash-map v) nil))\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n (-invoke [coll k not-found]\n (-lookup coll k not-found))\n\n IEditableCollection\n (-as-transient [coll] (TransientHashSet. (-as-transient hash-map))))\n\n(set! (.-EMPTY PersistentHashSet)\n (PersistentHashSet. nil (.-EMPTY PersistentArrayMap) empty-unordered-hash))\n\n(set! (.-fromArray PersistentHashSet)\n (fn [items ^boolean no-clone]\n (let [len (alength items)]\n (if (<= len (.-HASHMAP-THRESHOLD PersistentArrayMap))\n (let [arr (if no-clone items (aclone items))]\n (loop [i 0\n out (transient (.-EMPTY PersistentArrayMap))]\n (if (< i len)\n (recur (inc i) (-assoc! out (aget items i) nil))\n (PersistentHashSet. nil (-persistent! out) nil))))\n (loop [i 0\n out (transient (.-EMPTY PersistentHashSet))]\n (if (< i len)\n (recur (inc i) (-conj! out (aget items i)))\n (-persistent! out)))))))\n\n(set! (.-createWithCheck PersistentHashSet)\n (fn [items]\n (let [len (alength items)\n t (-as-transient (.-EMPTY PersistentHashSet))]\n (dotimes [i len]\n (-conj! t (aget items i))\n (when-not (= (count t) (inc i))\n (throw (js/Error. (str \"Duplicate key: \" (aget items i))))))\n (-persistent! t))))\n\n(set! (.-createAsIfByAssoc PersistentHashSet)\n (fn [items]\n (let [len (alength items)\n t (-as-transient (.-EMPTY PersistentHashSet))]\n (dotimes [i len] (-conj! t (aget items i)))\n (-persistent! t))))\n\n(es6-iterable PersistentHashSet)\n\n(deftype TransientHashSet [^:mutable transient-map]\n ITransientCollection\n (-conj! [tcoll o]\n (set! transient-map (assoc! transient-map o nil))\n tcoll)\n\n (-persistent! [tcoll]\n (PersistentHashSet. nil (persistent! transient-map) nil))\n\n ITransientSet\n (-disjoin! [tcoll v]\n (set! transient-map (dissoc! transient-map v))\n tcoll)\n\n ICounted\n (-count [tcoll] (count transient-map))\n\n ILookup\n (-lookup [tcoll v]\n (-lookup tcoll v nil))\n\n (-lookup [tcoll v not-found]\n (if (identical? (-lookup transient-map v lookup-sentinel) lookup-sentinel)\n not-found\n v))\n\n IFn\n (-invoke [tcoll k]\n (if (identical? (-lookup transient-map k lookup-sentinel) lookup-sentinel)\n nil\n k))\n\n (-invoke [tcoll k not-found]\n (if (identical? (-lookup transient-map k lookup-sentinel) lookup-sentinel)\n not-found\n k)))\n\n(deftype PersistentTreeSet [meta tree-map ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n\n ;; EXPERIMENTAL: subject to change\n (keys [coll]\n (es6-iterator (seq coll)))\n (entries [coll]\n (es6-set-entries-iterator (seq coll)))\n (values [coll]\n (es6-iterator (seq coll)))\n (has [coll k]\n (contains? coll k))\n (forEach [coll f]\n (doseq [[k v] coll]\n (f v k)))\n\n ICloneable\n (-clone [_] (PersistentTreeSet. meta tree-map __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (PersistentTreeSet. new-meta tree-map __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n ICollection\n (-conj [coll o]\n (PersistentTreeSet. meta (assoc tree-map o nil) nil))\n\n IEmptyableCollection\n (-empty [coll] (PersistentTreeSet. meta (-empty tree-map) 0))\n\n IEquiv\n (-equiv [coll other]\n (and\n (set? other)\n (== (count coll) (count other))\n ^boolean\n (try\n (reduce-kv\n #(or (contains? other %2) (reduced false))\n true tree-map)\n (catch js/Error ex\n false))))\n\n IHash\n (-hash [coll] (caching-hash coll hash-unordered-coll __hash))\n\n ISeqable\n (-seq [coll] (keys tree-map))\n\n ISorted\n (-sorted-seq [coll ascending?]\n (map key (-sorted-seq tree-map ascending?)))\n\n (-sorted-seq-from [coll k ascending?]\n (map key (-sorted-seq-from tree-map k ascending?)))\n\n (-entry-key [coll entry] entry)\n\n (-comparator [coll] (-comparator tree-map))\n\n IReversible\n (-rseq [coll]\n (if (pos? (count tree-map))\n (map key (rseq tree-map))))\n\n ICounted\n (-count [coll] (count tree-map))\n\n ILookup\n (-lookup [coll v]\n (-lookup coll v nil))\n (-lookup [coll v not-found]\n (let [n (.entry-at tree-map v)]\n (if-not (nil? n)\n (.-key n)\n not-found)))\n\n ISet\n (-disjoin [coll v]\n (PersistentTreeSet. meta (dissoc tree-map v) nil))\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n (-invoke [coll k not-found]\n (-lookup coll k not-found)))\n\n(set! (.-EMPTY PersistentTreeSet)\n (PersistentTreeSet. nil (.-EMPTY PersistentTreeMap) empty-unordered-hash))\n\n(es6-iterable PersistentTreeSet)\n\n(defn set-from-indexed-seq [iseq]\n (let [arr (.-arr iseq)\n ret (areduce arr i ^not-native res (-as-transient #{})\n (-conj! res (aget arr i)))]\n (-persistent! ^not-native ret)))\n\n(defn set\n \"Returns a set of the distinct elements of coll.\"\n [coll]\n (if (set? coll)\n (with-meta coll nil)\n (let [in (seq coll)]\n (cond\n (nil? in) #{}\n\n (and (instance? IndexedSeq in) (zero? (.-i in)))\n (.createAsIfByAssoc PersistentHashSet (.-arr in))\n\n :else\n (loop [^not-native in in\n ^not-native out (-as-transient #{})]\n (if-not (nil? in)\n (recur (next in) (-conj! out (-first in)))\n (persistent! out)))))))\n\n(defn hash-set\n \"Returns a new hash set with supplied keys. Any equal keys are\n handled as if by repeated uses of conj.\"\n ([] #{})\n ([& keys] (set keys)))\n\n(defn sorted-set\n \"Returns a new sorted set with supplied keys.\"\n ([& keys]\n (reduce -conj (.-EMPTY PersistentTreeSet) keys)))\n\n(defn sorted-set-by\n \"Returns a new sorted set with supplied keys, using the supplied comparator.\"\n ([comparator & keys]\n (reduce -conj\n (PersistentTreeSet. nil (sorted-map-by comparator) 0)\n keys)))\n\n(defn replace\n \"Given a map of replacement pairs and a vector/collection, returns a\n vector/seq with any elements = a key in smap replaced with the\n corresponding val in smap. Returns a transducer when no collection\n is provided.\"\n ([smap]\n (map #(if-let [e (find smap %)] (val e) %)))\n ([smap coll]\n (if (vector? coll)\n (let [n (count coll)]\n (reduce (fn [v i]\n (if-let [e (find smap (nth v i))]\n (assoc v i (second e))\n v))\n coll (take n (iterate inc 0))))\n (map #(if-let [e (find smap %)] (second e) %) coll))))\n\n(defn distinct\n \"Returns a lazy sequence of the elements of coll with duplicates removed.\n Returns a stateful transducer when no collection is provided.\"\n ([]\n (fn [rf]\n (let [seen (volatile! #{})]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (if (contains? @seen input)\n result\n (do (vswap! seen conj input)\n (rf result input))))))))\n ([coll]\n (let [step (fn step [xs seen]\n (lazy-seq\n ((fn [[f :as xs] seen]\n (when-let [s (seq xs)]\n (if (contains? seen f)\n (recur (rest s) seen)\n (cons f (step (rest s) (conj seen f))))))\n xs seen)))]\n (step coll #{}))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n(defn butlast\n \"Return a seq of all but the last item in coll, in linear time\"\n [s]\n (loop [ret [] s s]\n (if (next s)\n (recur (conj ret (first s)) (next s))\n (seq ret))))\n\n(defn name\n \"Returns the name String of a string, symbol or keyword.\"\n [x]\n (if (implements? INamed x)\n (-name x)\n (if (string? x)\n x\n (throw (js/Error. (str \"Doesn't support name: \" x))))))\n\n(defn zipmap\n \"Returns a map with the keys mapped to the corresponding vals.\"\n [keys vals]\n (loop [map (transient {})\n ks (seq keys)\n vs (seq vals)]\n (if (and ks vs)\n (recur (assoc! map (first ks) (first vs))\n (next ks)\n (next vs))\n (persistent! map))))\n\n(defn max-key\n \"Returns the x for which (k x), a number, is greatest.\n\n If there are multiple such xs, the last one is returned.\"\n ([k x] x)\n ([k x y] (if (> (k x) (k y)) x y))\n ([k x y & more]\n (reduce #(max-key k %1 %2) (max-key k x y) more)))\n\n(defn min-key\n \"Returns the x for which (k x), a number, is least.\n\n If there are multiple such xs, the last one is returned.\"\n ([k x] x)\n ([k x y] (if (< (k x) (k y)) x y))\n ([k x y & more]\n (reduce #(min-key k %1 %2) (min-key k x y) more)))\n\n(deftype ArrayList [^:mutable arr]\n Object\n (add [_ x] (.push arr x))\n (size [_] (alength arr))\n (clear [_] (set! arr (array)))\n (isEmpty [_] (zero? (alength arr)))\n (toArray [_] arr))\n\n(defn array-list []\n (ArrayList. (array)))\n\n(defn partition-all\n \"Returns a lazy sequence of lists like partition, but may include\n partitions with fewer than n items at the end. Returns a stateful\n transducer when no collection is provided.\"\n ([n]\n (fn [rf]\n (let [a (array-list)]\n (fn\n ([] (rf))\n ([result]\n (let [result (if (.isEmpty a)\n result\n (let [v (vec (.toArray a))]\n ;;clear first!\n (.clear a)\n (unreduced (rf result v))))]\n (rf result)))\n ([result input]\n (.add a input)\n (if (== n (.size a))\n (let [v (vec (.toArray a))]\n (.clear a)\n (rf result v))\n result))))))\n ([n coll]\n (partition-all n n coll))\n ([n step coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (cons (take n s) (partition-all n step (drop step s)))))))\n\n(defn take-while\n \"Returns a lazy sequence of successive items from coll while\n (pred item) returns logical true. pred must be free of side-effects.\n Returns a transducer when no collection is provided.\"\n ([pred]\n (fn [rf]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (if (pred input)\n (rf result input)\n (reduced result))))))\n ([pred coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (when (pred (first s))\n (cons (first s) (take-while pred (rest s))))))))\n\n(defn mk-bound-fn\n [sc test key]\n (fn [e]\n (let [comp (-comparator sc)]\n (test (comp (-entry-key sc e) key) 0))))\n\n(defn subseq\n \"sc must be a sorted collection, test(s) one of <, <=, > or\n >=. Returns a seq of those entries with keys ek for\n which (test (.. sc comparator (compare ek key)) 0) is true\"\n ([sc test key]\n (let [include (mk-bound-fn sc test key)]\n (if (#{> >=} test)\n (when-let [[e :as s] (-sorted-seq-from sc key true)]\n (if (include e) s (next s)))\n (take-while include (-sorted-seq sc true)))))\n ([sc start-test start-key end-test end-key]\n (when-let [[e :as s] (-sorted-seq-from sc start-key true)]\n (take-while (mk-bound-fn sc end-test end-key)\n (if ((mk-bound-fn sc start-test start-key) e) s (next s))))))\n\n(defn rsubseq\n \"sc must be a sorted collection, test(s) one of <, <=, > or\n >=. Returns a reverse seq of those entries with keys ek for\n which (test (.. sc comparator (compare ek key)) 0) is true\"\n ([sc test key]\n (let [include (mk-bound-fn sc test key)]\n (if (#{< <=} test)\n (when-let [[e :as s] (-sorted-seq-from sc key false)]\n (if (include e) s (next s)))\n (take-while include (-sorted-seq sc false)))))\n ([sc start-test start-key end-test end-key]\n (when-let [[e :as s] (-sorted-seq-from sc end-key false)]\n (take-while (mk-bound-fn sc start-test start-key)\n (if ((mk-bound-fn sc end-test end-key) e) s (next s))))))\n\n(deftype IntegerRangeChunk [start step count]\n ICounted\n (-count [coll] count)\n\n ISeq\n (-first [coll] start)\n\n IIndexed\n (-nth [coll i]\n (+ start (* i step)))\n (-nth [coll i not-found]\n (if (and (>= i 0) (< i count))\n (+ start (* i step))\n not-found))\n\n IChunk\n (-drop-first [coll]\n (if (<= count 1)\n (throw (js/Error. \"-drop-first of empty chunk\"))\n (IntegerRangeChunk. (+ start step) step (dec count)))))\n\n(deftype RangeIterator [^:mutable i end step]\n Object\n (hasNext [_]\n (if (pos? step)\n (< i end)\n (> i end)))\n (next [_]\n (let [ret i]\n (set! i (+ i step))\n ret)))\n\n(deftype IntegerRange [meta start end step ^:mutable chunk ^:mutable chunk-next ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n (forceChunk [coll]\n (when (nil? chunk)\n (let [count (-count coll)]\n (if (> count 32)\n (do\n (set! chunk-next (IntegerRange. nil (+ start (* step 32)) end step nil nil nil))\n (set! chunk (IntegerRangeChunk. start step 32)))\n (set! chunk (IntegerRangeChunk. start step count))))))\n\n ICloneable\n (-clone [_] (IntegerRange. meta start end step chunk chunk-next __hash))\n\n IWithMeta\n (-with-meta [rng new-meta]\n (if (identical? new-meta meta)\n rng\n (IntegerRange. new-meta start end step chunk chunk-next __hash)))\n\n IMeta\n (-meta [rng] meta)\n\n ISeqable\n (-seq [rng] rng)\n\n ISeq\n (-first [rng] start)\n (-rest [rng]\n (let [s (-next rng)]\n (if (nil? s)\n ()\n s)))\n\n IIterable\n (-iterator [_]\n (RangeIterator. start end step))\n\n INext\n (-next [rng]\n (if (pos? step)\n (when (< (+ start step) end)\n (IntegerRange. nil (+ start step) end step nil nil nil))\n (when (> (+ start step) end)\n (IntegerRange. nil (+ start step) end step nil nil nil))))\n\n IChunkedSeq\n (-chunked-first [rng]\n (.forceChunk rng)\n chunk)\n (-chunked-rest [rng]\n (.forceChunk rng)\n (if (nil? chunk-next)\n ()\n chunk-next))\n\n IChunkedNext\n (-chunked-next [rng]\n (seq (-chunked-rest rng)))\n\n ICollection\n (-conj [rng o] (cons o rng))\n\n IEmptyableCollection\n (-empty [rng] (.-EMPTY List))\n\n ISequential\n IEquiv\n (-equiv [rng other] (equiv-sequential rng other))\n\n IHash\n (-hash [rng] (caching-hash rng hash-ordered-coll __hash))\n\n ICounted\n (-count [rng]\n (Math/ceil (/ (- end start) step)))\n\n IIndexed\n (-nth [rng n]\n (if (and (<= 0 n) (< n (-count rng)))\n (+ start (* n step))\n (if (and (<= 0 n) (> start end) (zero? step))\n start\n (throw (js/Error. \"Index out of bounds\")))))\n (-nth [rng n not-found]\n (if (and (<= 0 n) (< n (-count rng)))\n (+ start (* n step))\n (if (and (<= 0 n) (> start end) (zero? step))\n start\n not-found)))\n\n IReduce\n (-reduce [rng f] (ci-reduce rng f))\n (-reduce [rng f init]\n (loop [i start ret init]\n (if (if (pos? step) (< i end) (> i end))\n (let [ret (f ret i)]\n (if (reduced? ret)\n @ret\n (recur (+ i step) ret)))\n ret))))\n\n(es6-iterable IntegerRange)\n\n(deftype Range [meta start end step ^:mutable chunk ^:mutable chunk-next ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n (forceChunk [coll]\n (when (nil? chunk)\n (let [arr (make-array 32)\n val (loop [n 0 val start]\n (if (< n 32)\n (do\n (aset arr n val)\n (let [n (inc n)\n val (+ val step)]\n (if (if (pos? step) (< val end) (> val end))\n (recur n val)\n (set! chunk (array-chunk arr 0 n)))))\n val))]\n (when (nil? chunk)\n (set! chunk (array-chunk arr 0 32))\n (when (if (pos? step) (< val end) (> val end))\n (set! chunk-next (Range. nil val end step nil nil nil)))))))\n\n ICloneable\n (-clone [_] (Range. meta start end step chunk chunk-next __hash))\n\n IWithMeta\n (-with-meta [rng new-meta]\n (if (identical? new-meta meta)\n rng\n (Range. new-meta start end step chunk chunk-next __hash)))\n\n IMeta\n (-meta [rng] meta)\n\n ISeqable\n (-seq [rng] rng)\n\n ISeq\n (-first [rng] start)\n (-rest [rng]\n (let [s (-next rng)]\n (if (nil? s)\n ()\n s)))\n\n IIterable\n (-iterator [_]\n (RangeIterator. start end step))\n\n INext\n (-next [rng]\n (if (pos? step)\n (when (< (+ start step) end)\n (Range. nil (+ start step) end step nil nil nil))\n (when (> (+ start step) end)\n (Range. nil (+ start step) end step nil nil nil))))\n\n IChunkedSeq\n (-chunked-first [rng]\n (.forceChunk rng)\n chunk)\n (-chunked-rest [rng]\n (.forceChunk rng)\n (if (nil? chunk-next)\n ()\n chunk-next))\n\n IChunkedNext\n (-chunked-next [rng]\n (seq (-chunked-rest rng)))\n\n ICollection\n (-conj [rng o] (cons o rng))\n\n IEmptyableCollection\n (-empty [rng] (.-EMPTY List))\n\n ISequential\n IEquiv\n (-equiv [rng other] (equiv-sequential rng other))\n\n IHash\n (-hash [rng] (caching-hash rng hash-ordered-coll __hash))\n\n IReduce\n (-reduce [rng f] (seq-reduce f rng))\n (-reduce [rng f init]\n (loop [i start ret init]\n (if (if (pos? step) (< i end) (> i end))\n (let [ret (f ret i)]\n (if (reduced? ret)\n @ret\n (recur (+ i step) ret)))\n ret))))\n\n(es6-iterable Range)\n\n(defn range\n \"Returns a lazy seq of nums from start (inclusive) to end\n (exclusive), by step, where start defaults to 0, step to 1,\n and end to infinity.\"\n ([] (range 0 (.-MAX_VALUE js/Number) 1))\n ([end] (range 0 end 1))\n ([start end] (range start end 1))\n ([start end step]\n (cond\n (pos? step)\n (if (<= end start)\n ()\n (if (and (integer? start) (integer? end) (integer? step))\n (IntegerRange. nil start end step nil nil nil)\n (Range. nil start end step nil nil nil)))\n\n (neg? step)\n (if (>= end start)\n ()\n (if (and (integer? start) (integer? end) (integer? step))\n (IntegerRange. nil start end step nil nil nil)\n (Range. nil start end step nil nil nil)))\n\n :else\n (if (== end start)\n ()\n (repeat start)))))\n\n(defn take-nth\n \"Returns a lazy seq of every nth item in coll. Returns a stateful\n transducer when no collection is provided.\"\n ([n]\n {:pre [(number? n)]}\n (fn [rf]\n (let [ia (volatile! -1)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (let [i (vswap! ia inc)]\n (if (zero? (rem i n))\n (rf result input)\n result)))))))\n ([n coll]\n {:pre [(number? n)]}\n (lazy-seq\n (when-let [s (seq coll)]\n (cons (first s) (take-nth n (drop n s)))))))\n\n(defn split-with\n \"Returns a vector of [(take-while pred coll) (drop-while pred coll)]\"\n [pred coll]\n [(take-while pred coll) (drop-while pred coll)])\n\n(defn partition-by\n \"Applies f to each value in coll, splitting it each time f returns a\n new value. Returns a lazy seq of partitions. Returns a stateful\n transducer when no collection is provided.\"\n ([f]\n (fn [rf]\n (let [a (array-list)\n pa (volatile! ::none)]\n (fn\n ([] (rf))\n ([result]\n (let [result (if (.isEmpty a)\n result\n (let [v (vec (.toArray a))]\n ;;clear first!\n (.clear a)\n (unreduced (rf result v))))]\n (rf result)))\n ([result input]\n (let [pval @pa\n val (f input)]\n (vreset! pa val)\n (if (or (keyword-identical? pval ::none)\n (= val pval))\n (do\n (.add a input)\n result)\n (let [v (vec (.toArray a))]\n (.clear a)\n (let [ret (rf result v)]\n (when-not (reduced? ret)\n (.add a input))\n ret)))))))))\n ([f coll]\n (lazy-seq\n (when-let [s (seq coll)]\n (let [fst (first s)\n fv (f fst)\n run (cons fst (take-while #(= fv (f %)) (next s)))]\n (cons run (partition-by f (lazy-seq (drop (count run) s)))))))))\n\n(defn frequencies\n \"Returns a map from distinct items in coll to the number of times\n they appear.\"\n [coll]\n (persistent!\n (reduce (fn [counts x]\n (assoc! counts x (inc (get counts x 0))))\n (transient {}) coll)))\n\n(defn reductions\n \"Returns a lazy seq of the intermediate values of the reduction (as\n per reduce) of coll by f, starting with init.\"\n ([f coll]\n (lazy-seq\n (if-let [s (seq coll)]\n (reductions f (first s) (rest s))\n (list (f)))))\n ([f init coll]\n (if (reduced? init)\n (list @init)\n (cons init\n (lazy-seq\n (when-let [s (seq coll)]\n (reductions f (f init (first s)) (rest s))))))))\n\n(defn juxt\n \"Takes a set of functions and returns a fn that is the juxtaposition\n of those fns. The returned fn takes a variable number of args, and\n returns a vector containing the result of applying each fn to the\n args (left-to-right).\n ((juxt a b c) x) => [(a x) (b x) (c x)]\"\n ([f]\n (fn\n ([] (vector (f)))\n ([x] (vector (f x)))\n ([x y] (vector (f x y)))\n ([x y z] (vector (f x y z)))\n ([x y z & args] (vector (apply f x y z args)))))\n ([f g]\n (fn\n ([] (vector (f) (g)))\n ([x] (vector (f x) (g x)))\n ([x y] (vector (f x y) (g x y)))\n ([x y z] (vector (f x y z) (g x y z)))\n ([x y z & args] (vector (apply f x y z args) (apply g x y z args)))))\n ([f g h]\n (fn\n ([] (vector (f) (g) (h)))\n ([x] (vector (f x) (g x) (h x)))\n ([x y] (vector (f x y) (g x y) (h x y)))\n ([x y z] (vector (f x y z) (g x y z) (h x y z)))\n ([x y z & args] (vector (apply f x y z args) (apply g x y z args) (apply h x y z args)))))\n ([f g h & fs]\n (let [fs (list* f g h fs)]\n (fn\n ([] (reduce #(conj %1 (%2)) [] fs))\n ([x] (reduce #(conj %1 (%2 x)) [] fs))\n ([x y] (reduce #(conj %1 (%2 x y)) [] fs))\n ([x y z] (reduce #(conj %1 (%2 x y z)) [] fs))\n ([x y z & args] (reduce #(conj %1 (apply %2 x y z args)) [] fs))))))\n\n(defn dorun\n \"When lazy sequences are produced via functions that have side\n effects, any effects other than those needed to produce the first\n element in the seq do not occur until the seq is consumed. dorun can\n be used to force any effects. Walks through the successive nexts of\n the seq, does not retain the head and returns nil.\"\n ([coll]\n (when-let [s (seq coll)]\n (recur (next s))))\n ([n coll]\n (when (and (seq coll) (pos? n))\n (recur (dec n) (next coll)))))\n\n(defn doall\n \"When lazy sequences are produced via functions that have side\n effects, any effects other than those needed to produce the first\n element in the seq do not occur until the seq is consumed. doall can\n be used to force any effects. Walks through the successive nexts of\n the seq, retains the head and returns it, thus causing the entire\n seq to reside in memory at one time.\"\n ([coll]\n (dorun coll)\n coll)\n ([n coll]\n (dorun n coll)\n coll))\n\n;;;;;;;;;;;;;;;;;;;;;;;;; Regular Expressions ;;;;;;;;;;\n\n(defn regexp?\n \"Returns true if x is a JavaScript RegExp instance.\"\n [x]\n (instance? js/RegExp x))\n\n(defn re-matches\n \"Returns the result of (re-find re s) if re fully matches s.\"\n [re s]\n (if (string? s)\n (let [matches (.exec re s)]\n (when (and (not (nil? matches))\n (= (aget matches 0) s))\n (if (== (count ^array matches) 1)\n (aget matches 0)\n (vec matches))))\n (throw (js/TypeError. \"re-matches must match against a string.\"))))\n\n\n(defn re-find\n \"Returns the first regex match, if any, of s to re, using\n re.exec(s). Returns a vector, containing first the matching\n substring, then any capturing groups if the regular expression contains\n capturing groups.\"\n [re s]\n (if (string? s)\n (let [matches (.exec re s)]\n (when-not (nil? matches)\n (if (== (count ^array matches) 1)\n (aget matches 0)\n (vec matches))))\n (throw (js/TypeError. \"re-find must match against a string.\"))))\n\n(defn- re-seq* [re s]\n (when-some [matches (.exec re s)]\n (let [match-str (aget matches 0)\n match-vals (if (== (.-length matches) 1)\n match-str\n (vec matches))]\n (cons match-vals\n (lazy-seq\n (let [post-idx (+ (.-index matches)\n (max 1 (.-length match-str)))]\n (when (<= post-idx (.-length s))\n (re-seq* re (subs s post-idx)))))))))\n\n(defn re-seq\n \"Returns a lazy sequence of successive matches of re in s.\"\n [re s]\n (if (string? s)\n (re-seq* re s)\n (throw (js/TypeError. \"re-seq must match against a string.\"))))\n\n(defn re-pattern\n \"Returns an instance of RegExp which has compiled the provided string.\"\n [s]\n (if (instance? js/RegExp s)\n s\n (let [[prefix flags] (re-find #\"^\\(\\?([idmsux]*)\\)\" s)\n pattern (subs s (if (nil? prefix)\n 0\n (count ^string prefix)))]\n (js/RegExp. pattern (or flags \"\")))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Printing ;;;;;;;;;;;;;;;;\n\n(defn pr-sequential-writer [writer print-one begin sep end opts coll]\n (binding [*print-level* (when-not (nil? *print-level*) (dec *print-level*))]\n (if (and (not (nil? *print-level*)) (neg? *print-level*))\n (-write writer \"#\")\n (do\n (-write writer begin)\n (if (zero? (:print-length opts))\n (when (seq coll)\n (-write writer (or (:more-marker opts) \"...\")))\n (do\n (when (seq coll)\n (print-one (first coll) writer opts))\n (loop [coll (next coll) n (dec (:print-length opts))]\n (if (and coll (or (nil? n) (not (zero? n))))\n (do\n (-write writer sep)\n (print-one (first coll) writer opts)\n (recur (next coll) (dec n)))\n (when (and (seq coll) (zero? n))\n (-write writer sep)\n (-write writer (or (:more-marker opts) \"...\")))))))\n (-write writer end)))))\n\n(defn write-all [writer & ss]\n (doseq [s ss]\n (-write writer s)))\n\n(defn string-print [x]\n (when (nil? *print-fn*)\n (throw (js/Error. \"No *print-fn* fn set for evaluation environment\")))\n (*print-fn* x)\n nil)\n\n(defn flush [] ;stub\n nil)\n\n(def ^:private char-escapes\n (js-obj\n \"\\\"\" \"\\\\\\\"\"\n \"\\\\\" \"\\\\\\\\\"\n \"\\b\" \"\\\\b\"\n \"\\f\" \"\\\\f\"\n \"\\n\" \"\\\\n\"\n \"\\r\" \"\\\\r\"\n \"\\t\" \"\\\\t\"))\n\n(defn ^:private quote-string\n [s]\n (str \\\"\n (.replace s (js/RegExp \"[\\\\\\\\\\\"\\b\\f\\n\\r\\t]\" \"g\")\n (fn [match] (unchecked-get char-escapes match)))\n \\\"))\n\n(declare print-map)\n\n(defn print-meta? [opts obj]\n (and (boolean (get opts :meta))\n (implements? IMeta obj)\n (not (nil? (meta obj)))))\n\n(defn- pr-writer-impl\n [obj writer opts]\n (cond\n (nil? obj) (-write writer \"nil\")\n :else\n (do\n (when (print-meta? opts obj)\n (-write writer \"^\")\n (pr-writer (meta obj) writer opts)\n (-write writer \" \"))\n (cond\n ;; handle CLJS ctors\n ^boolean (.-cljs$lang$type obj)\n (.cljs$lang$ctorPrWriter obj obj writer opts)\n\n ; Use the new, more efficient, IPrintWithWriter interface when possible.\n (satisfies? IPrintWithWriter obj)\n (-pr-writer obj writer opts)\n\n (or (true? obj) (false? obj))\n (-write writer (str obj))\n\n (number? obj)\n (-write writer\n (cond\n ^boolean (js/isNaN obj) \"##NaN\"\n (identical? obj js/Number.POSITIVE_INFINITY) \"##Inf\"\n (identical? obj js/Number.NEGATIVE_INFINITY) \"##-Inf\"\n :else (str obj)))\n\n (object? obj)\n (do\n (-write writer \"#js \")\n (print-map\n (map (fn [k]\n (MapEntry. (cond-> k (some? (re-matches #\"[A-Za-z_\\*\\+\\?!\\-'][\\w\\*\\+\\?!\\-']*\" k)) keyword) (unchecked-get obj k) nil))\n (js-keys obj))\n pr-writer writer opts))\n\n (array? obj)\n (pr-sequential-writer writer pr-writer \"#js [\" \" \" \"]\" opts obj)\n\n (string? obj)\n (if (:readably opts)\n (-write writer (quote-string obj))\n (-write writer obj))\n\n (js-fn? obj)\n (let [name (.-name obj)\n name (if (or (nil? name) (gstring/isEmpty name))\n \"Function\"\n name)]\n (write-all writer \"#object[\" name\n (if *print-fn-bodies*\n (str \" \\\"\" (str obj) \"\\\"\")\n \"\")\n \"]\"))\n\n (instance? js/Date obj)\n (let [normalize (fn [n len]\n (loop [ns (str n)]\n (if (< (count ns) len)\n (recur (str \"0\" ns))\n ns)))]\n (write-all writer\n \"#inst \\\"\"\n (normalize (.getUTCFullYear obj) 4) \"-\"\n (normalize (inc (.getUTCMonth obj)) 2) \"-\"\n (normalize (.getUTCDate obj) 2) \"T\"\n (normalize (.getUTCHours obj) 2) \":\"\n (normalize (.getUTCMinutes obj) 2) \":\"\n (normalize (.getUTCSeconds obj) 2) \".\"\n (normalize (.getUTCMilliseconds obj) 3) \"-\"\n \"00:00\\\"\"))\n\n (regexp? obj) (write-all writer \"#\\\"\" (.-source obj) \"\\\"\")\n\n (js-symbol? obj) (write-all writer \"#object[\" (.toString obj) \"]\" )\n\n :else\n (if (some-> obj .-constructor .-cljs$lang$ctorStr)\n (write-all writer\n \"#object[\" (.replace (.. obj -constructor -cljs$lang$ctorStr)\n (js/RegExp. \"/\" \"g\") \".\") \"]\")\n (let [name (some-> obj .-constructor .-name)\n name (if (or (nil? name) (gstring/isEmpty name))\n \"Object\"\n name)]\n (if (nil? (. obj -constructor))\n (write-all writer \"#object[\" name \"]\")\n (write-all writer \"#object[\" name \" \" (str obj) \"]\"))))))))\n\n(defn- pr-writer\n \"Prefer this to pr-seq, because it makes the printing function\n configurable, allowing efficient implementations such as appending\n to a StringBuffer.\"\n [obj writer opts]\n (if-let [alt-impl (:alt-impl opts)]\n (alt-impl obj writer (assoc opts :fallback-impl pr-writer-impl))\n (pr-writer-impl obj writer opts)))\n\n(defn pr-seq-writer [objs writer opts]\n (pr-writer (first objs) writer opts)\n (doseq [obj (next objs)]\n (-write writer \" \")\n (pr-writer obj writer opts)))\n\n(defn- pr-sb-with-opts [objs opts]\n (let [sb (StringBuffer.)\n writer (StringBufferWriter. sb)]\n (pr-seq-writer objs writer opts)\n (-flush writer)\n sb))\n\n(defn pr-str-with-opts\n \"Prints a sequence of objects to a string, observing all the\n options given in opts\"\n [objs opts]\n (if (empty? objs)\n \"\"\n (str (pr-sb-with-opts objs opts))))\n\n(defn prn-str-with-opts\n \"Same as pr-str-with-opts followed by (newline)\"\n [objs opts]\n (if (empty? objs)\n \"\\n\"\n (let [sb (pr-sb-with-opts objs opts)]\n (.append sb \\newline)\n (str sb))))\n\n(defn- pr-with-opts\n \"Prints a sequence of objects using string-print, observing all\n the options given in opts\"\n [objs opts]\n (string-print (pr-str-with-opts objs opts)))\n\n(defn newline\n \"Prints a newline using *print-fn*\"\n ([] (newline nil))\n ([opts]\n (string-print \"\\n\")\n (when (get opts :flush-on-newline)\n (flush))))\n\n(defn pr-str\n \"pr to a string, returning it. Fundamental entrypoint to IPrintWithWriter.\"\n [& objs]\n (pr-str-with-opts objs (pr-opts)))\n\n(defn prn-str\n \"Same as pr-str followed by (newline)\"\n [& objs]\n (prn-str-with-opts objs (pr-opts)))\n\n(defn pr\n \"Prints the object(s) using string-print. Prints the\n object(s), separated by spaces if there is more than one.\n By default, pr and prn print in a way that objects can be\n read by the reader\"\n [& objs]\n (pr-with-opts objs (pr-opts)))\n\n(def ^{:doc\n \"Prints the object(s) using string-print.\n print and println produce output for human consumption.\"}\n print\n (fn cljs-core-print [& objs]\n (pr-with-opts objs (assoc (pr-opts) :readably false))))\n\n(defn print-str\n \"print to a string, returning it\"\n [& objs]\n (pr-str-with-opts objs (assoc (pr-opts) :readably false)))\n\n(defn println\n \"Same as print followed by (newline)\"\n [& objs]\n (pr-with-opts objs (assoc (pr-opts) :readably false))\n (when *print-newline*\n (newline (pr-opts))))\n\n(defn println-str\n \"println to a string, returning it\"\n [& objs]\n (prn-str-with-opts objs (assoc (pr-opts) :readably false)))\n\n(defn prn\n \"Same as pr followed by (newline).\"\n [& objs]\n (pr-with-opts objs (pr-opts))\n (when *print-newline*\n (newline (pr-opts))))\n\n(defn- strip-ns\n [named]\n (if (symbol? named)\n (symbol nil (name named))\n (keyword nil (name named))))\n\n(defn- lift-ns\n \"Returns [lifted-ns lifted-map] or nil if m can't be lifted.\"\n [m]\n (when *print-namespace-maps*\n (loop [ns nil\n [[k v :as entry] & entries] (seq m)\n lm (empty m)]\n (if entry\n (when (or (keyword? k) (symbol? k))\n (if ns\n (when (= ns (namespace k))\n (recur ns entries (assoc lm (strip-ns k) v)))\n (when-let [new-ns (namespace k)]\n (recur new-ns entries (assoc lm (strip-ns k) v)))))\n [ns lm]))))\n\n(defn print-prefix-map [prefix m print-one writer opts]\n (pr-sequential-writer\n writer\n (fn [e w opts]\n (do (print-one (key e) w opts)\n (-write w \\space)\n (print-one (val e) w opts)))\n (str prefix \"{\") \", \" \"}\"\n opts (seq m)))\n\n(defn print-map [m print-one writer opts]\n (let [[ns lift-map] (when (map? m)\n (lift-ns m))]\n (if ns\n (print-prefix-map (str \"#:\" ns) lift-map print-one writer opts)\n (print-prefix-map nil m print-one writer opts))))\n\n(extend-protocol IPrintWithWriter\n LazySeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n TransformerIterator\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n IndexedSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n RSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n PersistentQueue\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"#queue [\" \" \" \"]\" opts (seq coll)))\n\n PersistentQueueSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n PersistentTreeMapSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n NodeSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n ArrayNodeSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n List\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n Cons\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n EmptyList\n (-pr-writer [coll writer opts] (-write writer \"()\"))\n\n PersistentVector\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"[\" \" \" \"]\" opts coll))\n\n ChunkedCons\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n ChunkedSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n Subvec\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"[\" \" \" \"]\" opts coll))\n\n BlackNode\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"[\" \" \" \"]\" opts coll))\n\n RedNode\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"[\" \" \" \"]\" opts coll))\n\n MapEntry\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"[\" \" \" \"]\" opts coll))\n\n ObjMap\n (-pr-writer [coll writer opts]\n (print-map coll pr-writer writer opts))\n\n KeySeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n ValSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n PersistentArrayMapSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n PersistentArrayMap\n (-pr-writer [coll writer opts]\n (print-map coll pr-writer writer opts))\n\n PersistentHashMap\n (-pr-writer [coll writer opts]\n (print-map coll pr-writer writer opts))\n\n PersistentTreeMap\n (-pr-writer [coll writer opts]\n (print-map coll pr-writer writer opts))\n\n PersistentHashSet\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"#{\" \" \" \"}\" opts coll))\n\n PersistentTreeSet\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"#{\" \" \" \"}\" opts coll))\n\n Range\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n IntegerRange\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n Cycle\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n Repeat\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n Iterate\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n ES6IteratorSeq\n (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll))\n\n Atom\n (-pr-writer [a writer opts]\n (-write writer \"#object[cljs.core.Atom \")\n (pr-writer {:val (.-state a)} writer opts)\n (-write writer \"]\"))\n\n Volatile\n (-pr-writer [a writer opts]\n (-write writer \"#object[cljs.core.Volatile \")\n (pr-writer {:val (.-state a)} writer opts)\n (-write writer \"]\"))\n\n Var\n (-pr-writer [a writer opts]\n (-write writer \"#'\")\n (pr-writer (.-sym a) writer opts)))\n\n;; IComparable\n(extend-protocol IComparable\n Symbol\n (-compare [x y]\n (if (symbol? y)\n (compare-symbols x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y)))))\n\n Keyword\n (-compare [x y]\n (if (keyword? y)\n (compare-keywords x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y)))))\n\n Subvec\n (-compare [x y]\n (if (vector? y)\n (compare-indexed x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y)))))\n\n PersistentVector\n (-compare [x y]\n (if (vector? y)\n (compare-indexed x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y)))))\n\n MapEntry\n (-compare [x y]\n (if (vector? y)\n (compare-indexed x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y)))))\n\n BlackNode\n (-compare [x y]\n (if (vector? y)\n (compare-indexed x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y)))))\n\n RedNode\n (-compare [x y]\n (if (vector? y)\n (compare-indexed x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y))))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Reference Types ;;;;;;;;;;;;;;;;\n\n(defn alter-meta!\n \"Atomically sets the metadata for a namespace/var/ref/agent/atom to be:\n\n (apply f its-current-meta args)\n\n f must be free of side-effects\"\n [iref f & args]\n (set! (.-meta iref) (apply f (.-meta iref) args)))\n\n(defn reset-meta!\n \"Atomically resets the metadata for an atom\"\n [iref m]\n (set! (.-meta iref) m))\n\n(defn add-watch\n \"Adds a watch function to an atom reference. The watch fn must be a\n fn of 4 args: a key, the reference, its old-state, its\n new-state. Whenever the reference's state might have been changed,\n any registered watches will have their functions called. The watch\n fn will be called synchronously. Note that an atom's state\n may have changed again prior to the fn call, so use old/new-state\n rather than derefing the reference. Keys must be unique per\n reference, and can be used to remove the watch with remove-watch,\n but are otherwise considered opaque by the watch mechanism. Bear in\n mind that regardless of the result or action of the watch fns the\n atom's value will change. Example:\n\n (def a (atom 0))\n (add-watch a :inc (fn [k r o n] (assert (== 0 n))))\n (swap! a inc)\n ;; Assertion Error\n (deref a)\n ;=> 1\"\n [iref key f]\n (-add-watch iref key f)\n iref)\n\n(defn remove-watch\n \"Removes a watch (set by add-watch) from a reference\"\n [iref key]\n (-remove-watch iref key)\n iref)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gensym ;;;;;;;;;;;;;;;;\n;; Internal - do not use!\n(def\n ^{:jsdoc [\"@type {*}\"]}\n gensym_counter nil)\n\n(defn gensym\n \"Returns a new symbol with a unique name. If a prefix string is\n supplied, the name is prefix# where # is some unique number. If\n prefix is not supplied, the prefix is 'G__'.\"\n ([] (gensym \"G__\"))\n ([prefix-string]\n (when (nil? gensym_counter)\n (set! gensym_counter (atom 0)))\n (symbol (str prefix-string (swap! gensym_counter inc)))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Delay ;;;;;;;;;;;;;;;;;;;;\n\n(deftype Delay [^:mutable f ^:mutable value]\n IDeref\n (-deref [_]\n (when f\n (set! value (f))\n (set! f nil))\n value)\n\n IPending\n (-realized? [x]\n (not f))\n\n IPrintWithWriter\n (-pr-writer [x writer opts]\n (-write writer \"#object[cljs.core.Delay \")\n (pr-writer {:status (if (nil? f) :ready :pending), :val value} writer opts)\n (-write writer \"]\")))\n\n(defn delay?\n \"returns true if x is a Delay created with delay\"\n [x] (instance? Delay x))\n\n(defn force\n \"If x is a Delay, returns the (possibly cached) value of its expression, else returns x\"\n [x]\n (if (delay? x)\n (deref x)\n x))\n\n(defn ^boolean realized?\n \"Returns true if a value has been produced for a delay or lazy sequence.\"\n [x]\n (-realized? x))\n\n(defn- preserving-reduced\n [rf]\n #(let [ret (rf %1 %2)]\n (if (reduced? ret)\n (reduced ret)\n ret)))\n\n(defn cat\n \"A transducer which concatenates the contents of each input, which must be a\n collection, into the reduction.\"\n {:added \"1.7\"}\n [rf]\n (let [rf1 (preserving-reduced rf)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (reduce rf1 result input)))))\n\n(defn halt-when\n \"Returns a transducer that ends transduction when pred returns true\n for an input. When retf is supplied it must be a fn of 2 arguments -\n it will be passed the (completed) result so far and the input that\n triggered the predicate, and its return value (if it does not throw\n an exception) will be the return value of the transducer. If retf\n is not supplied, the input that triggered the predicate will be\n returned. If the predicate never returns true the transduction is\n unaffected.\"\n {:added \"1.9\"}\n ([pred] (halt-when pred nil))\n ([pred retf]\n (fn [rf]\n (fn\n ([] (rf))\n ([result]\n (if (and (map? result) (contains? result ::halt))\n (::halt result)\n (rf result)))\n ([result input]\n (if (pred input)\n (reduced {::halt (if retf (retf (rf result) input) input)})\n (rf result input)))))))\n\n(defn dedupe\n \"Returns a lazy sequence removing consecutive duplicates in coll.\n Returns a transducer when no collection is provided.\"\n ([]\n (fn [rf]\n (let [pa (volatile! ::none)]\n (fn\n ([] (rf))\n ([result] (rf result))\n ([result input]\n (let [prior @pa]\n (vreset! pa input)\n (if (= prior input)\n result\n (rf result input))))))))\n ([coll] (sequence (dedupe) coll)))\n\n(declare rand)\n\n(defn random-sample\n \"Returns items from coll with random probability of prob (0.0 -\n 1.0). Returns a transducer when no collection is provided.\"\n ([prob]\n (filter (fn [_] (< (rand) prob))))\n ([prob coll]\n (filter (fn [_] (< (rand) prob)) coll)))\n\n(deftype Eduction [xform coll]\n Object\n (indexOf [coll x]\n (-indexOf coll x 0))\n (indexOf [coll x start]\n (-indexOf coll x start))\n (lastIndexOf [coll x]\n (-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (-lastIndexOf coll x start))\n\n ISequential\n\n IIterable\n (-iterator [_]\n (.create TransformerIterator xform (iter coll)))\n\n ISeqable\n (-seq [_] (seq (sequence xform coll)))\n\n IReduce\n (-reduce [_ f] (transduce xform (completing f) coll))\n (-reduce [_ f init] (transduce xform (completing f) init coll))\n\n IPrintWithWriter\n (-pr-writer [coll writer opts]\n (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll)))\n\n(es6-iterable Eduction)\n\n(defn eduction\n \"Returns a reducible/iterable application of the transducers\n to the items in coll. Transducers are applied in order as if\n combined with comp. Note that these applications will be\n performed every time reduce/iterator is called.\"\n {:arglists '([xform* coll])}\n [& xforms]\n (Eduction. (apply comp (butlast xforms)) (last xforms)))\n\n(defn run!\n \"Runs the supplied procedure (via reduce), for purposes of side\n effects, on successive items in the collection. Returns nil\"\n [proc coll]\n (reduce #(proc %2) nil coll)\n nil)\n\n(defn iteration\n \"Creates a seqable/reducible via repeated calls to step,\n a function of some (continuation token) 'k'. The first call to step\n will be passed initk, returning 'ret'. Iff (somef ret) is true,\n (vf ret) will be included in the iteration, else iteration will\n terminate and vf/kf will not be called. If (kf ret) is non-nil it\n will be passed to the next step call, else iteration will terminate.\n This can be used e.g. to consume APIs that return paginated or batched data.\n step - (possibly impure) fn of 'k' -> 'ret'\n :somef - fn of 'ret' -> logical true/false, default 'some?'\n :vf - fn of 'ret' -> 'v', a value produced by the iteration, default 'identity'\n :kf - fn of 'ret' -> 'next-k' or nil (signaling 'do not continue'), default 'identity'\n :initk - the first value passed to step, default 'nil'\n It is presumed that step with non-initk is unreproducible/non-idempotent.\n If step with initk is unreproducible it is on the consumer to not consume twice.\"\n {:added \"1.11\"}\n [step & {:keys [somef vf kf initk]\n :or {vf identity\n kf identity\n somef some?\n initk nil}}]\n (reify\n ISeqable\n (-seq [_]\n ((fn next [ret]\n (when (somef ret)\n (cons (vf ret)\n (when-some [k (kf ret)]\n (lazy-seq (next (step k)))))))\n (step initk)))\n IReduce\n (-reduce [_ rf init]\n (loop [acc init\n ret (step initk)]\n (if (somef ret)\n (let [acc (rf acc (vf ret))]\n (if (reduced? acc)\n @acc\n (if-some [k (kf ret)]\n (recur acc (step k))\n acc)))\n acc)))))\n\n(defprotocol IEncodeJS\n (-clj->js [x] \"Recursively transforms clj values to JavaScript\")\n (-key->js [x] \"Transforms map keys to valid JavaScript keys. Arbitrary keys are\n encoded to their string representation via (pr-str x)\"))\n\n(declare clj->js)\n\n(defn key->js\n ([k] (key->js k clj->js))\n ([k primitive-fn]\n (cond\n (satisfies? IEncodeJS k) (-clj->js k)\n (or (string? k)\n (number? k)\n (keyword? k)\n (symbol? k)) (primitive-fn k)\n :default (pr-str k))))\n\n(defn clj->js\n \"Recursively transforms ClojureScript values to JavaScript.\n sets/vectors/lists become Arrays, Keywords and Symbol become Strings,\n Maps become Objects. Arbitrary keys are encoded to by `key->js`.\n Options is a key-value pair, where the only valid key is\n :keyword-fn, which should point to a single-argument function to be\n called on keyword keys. Default to `name`.\"\n [x & {:keys [keyword-fn]\n :or {keyword-fn name}\n :as options}]\n (letfn [(keyfn [k] (key->js k thisfn))\n (thisfn [x] (cond\n (nil? x) nil\n (satisfies? IEncodeJS x) (-clj->js x)\n (keyword? x) (keyword-fn x)\n (symbol? x) (str x)\n (map? x) (let [m (js-obj)]\n (doseq [[k v] x]\n (gobject/set m (keyfn k) (thisfn v)))\n m)\n (coll? x) (let [arr (array)]\n (doseq [x (map thisfn x)]\n (.push arr x))\n arr)\n :else x))]\n (thisfn x)))\n\n\n(defprotocol IEncodeClojure\n (-js->clj [x options] \"Transforms JavaScript values to Clojure\"))\n\n(defn js->clj\n \"Recursively transforms JavaScript arrays into ClojureScript\n vectors, and JavaScript objects into ClojureScript maps. With\n option ':keywordize-keys true' will convert object fields from\n strings to keywords.\"\n ([x] (js->clj x :keywordize-keys false))\n ([x & opts]\n (let [{:keys [keywordize-keys]} opts\n keyfn (if keywordize-keys keyword str)\n f (fn thisfn [x]\n (cond\n (satisfies? IEncodeClojure x)\n (-js->clj x (apply array-map opts))\n\n (seq? x)\n (doall (map thisfn x))\n\n (map-entry? x)\n (MapEntry. (thisfn (key x)) (thisfn (val x)) nil)\n\n (coll? x)\n (into (empty x) (map thisfn) x)\n\n (array? x)\n (persistent!\n (reduce #(conj! %1 (thisfn %2))\n (transient []) x))\n\n (identical? (type x) js/Object)\n (persistent!\n (reduce (fn [r k] (assoc! r (keyfn k) (thisfn (gobject/get x k))))\n (transient {}) (js-keys x)))\n :else x))]\n (f x))))\n\n(defn memoize\n \"Returns a memoized version of a referentially transparent function. The\n memoized version of the function keeps a cache of the mapping from arguments\n to results and, when calls with the same arguments are repeated often, has\n higher performance at the expense of higher memory use.\"\n [f]\n (let [mem (atom {})]\n (fn [& args]\n (let [v (get @mem args lookup-sentinel)]\n (if (identical? v lookup-sentinel)\n (let [ret (apply f args)]\n (swap! mem assoc args ret)\n ret)\n v)))))\n\n(defn trampoline\n \"trampoline can be used to convert algorithms requiring mutual\n recursion without stack consumption. Calls f with supplied args, if\n any. If f returns a fn, calls that fn with no arguments, and\n continues to repeat, until the return value is not a fn, then\n returns that non-fn value. Note that if you want to return a fn as a\n final value, you must wrap it in some data structure and unpack it\n after trampoline returns.\"\n ([f]\n (let [ret (f)]\n (if (fn? ret)\n (recur ret)\n ret)))\n ([f & args]\n (trampoline #(apply f args))))\n\n(defn rand\n \"Returns a random floating point number between 0 (inclusive) and\n n (default 1) (exclusive).\"\n ([] (rand 1))\n ([n] (* (Math/random) n)))\n\n(defn rand-int\n \"Returns a random integer between 0 (inclusive) and n (exclusive).\"\n [n] (Math/floor (* (Math/random) n)))\n\n(defn rand-nth\n \"Return a random element of the (sequential) collection. Will have\n the same performance characteristics as nth for the given\n collection.\"\n [coll]\n (nth coll (rand-int (count coll))))\n\n(defn group-by\n \"Returns a map of the elements of coll keyed by the result of\n f on each element. The value at each key will be a vector of the\n corresponding elements, in the order they appeared in coll.\"\n [f coll]\n (persistent!\n (reduce\n (fn [ret x]\n (let [k (f x)]\n (assoc! ret k (conj (get ret k []) x))))\n (transient {}) coll)))\n\n(defn make-hierarchy\n \"Creates a hierarchy object for use with derive, isa? etc.\"\n [] {:parents {} :descendants {} :ancestors {}})\n\n(def\n ^{:private true\n :jsdoc [\"@type {*}\"]}\n -global-hierarchy nil)\n\n(defn- get-global-hierarchy []\n (when (nil? -global-hierarchy)\n (set! -global-hierarchy (atom (make-hierarchy))))\n -global-hierarchy)\n\n(defn- swap-global-hierarchy! [f & args]\n (apply swap! (get-global-hierarchy) f args))\n\n(defn ^boolean isa?\n \"Returns true if (= child parent), or child is directly or indirectly derived from\n parent, either via a JavaScript type inheritance relationship or a\n relationship established via derive. h must be a hierarchy obtained\n from make-hierarchy, if not supplied defaults to the global\n hierarchy\"\n ([child parent] (isa? @(get-global-hierarchy) child parent))\n ([h child parent]\n (or (= child parent)\n ;; (and (class? parent) (class? child)\n ;; (. ^Class parent isAssignableFrom child))\n (contains? ((:ancestors h) child) parent)\n ;;(and (class? child) (some #(contains? ((:ancestors h) %) parent) (supers child)))\n (and (vector? parent) (vector? child)\n (== (count parent) (count child))\n (loop [ret true i 0]\n (if (or (not ret) (== i (count parent)))\n ret\n (recur (isa? h (child i) (parent i)) (inc i))))))))\n\n(defn parents\n \"Returns the immediate parents of tag, either via a JavaScript type\n inheritance relationship or a relationship established via derive. h\n must be a hierarchy obtained from make-hierarchy, if not supplied\n defaults to the global hierarchy\"\n ([tag] (parents @(get-global-hierarchy) tag))\n ([h tag] (not-empty (get (:parents h) tag))))\n\n(defn ancestors\n \"Returns the immediate and indirect parents of tag, either via a JavaScript type\n inheritance relationship or a relationship established via derive. h\n must be a hierarchy obtained from make-hierarchy, if not supplied\n defaults to the global hierarchy\"\n ([tag] (ancestors @(get-global-hierarchy) tag))\n ([h tag] (not-empty (get (:ancestors h) tag))))\n\n(defn descendants\n \"Returns the immediate and indirect children of tag, through a\n relationship established via derive. h must be a hierarchy obtained\n from make-hierarchy, if not supplied defaults to the global\n hierarchy. Note: does not work on JavaScript type inheritance\n relationships.\"\n ([tag] (descendants @(get-global-hierarchy) tag))\n ([h tag] (not-empty (get (:descendants h) tag))))\n\n(defn derive\n \"Establishes a parent/child relationship between parent and\n tag. Parent must be a namespace-qualified symbol or keyword and\n child can be either a namespace-qualified symbol or keyword or a\n class. h must be a hierarchy obtained from make-hierarchy, if not\n supplied defaults to, and modifies, the global hierarchy.\"\n ([tag parent]\n (assert (namespace parent))\n ;; (assert (or (class? tag) (and (instance? cljs.core.Named tag) (namespace tag))))\n (swap-global-hierarchy! derive tag parent) nil)\n ([h tag parent]\n (assert (not= tag parent))\n ;; (assert (or (class? tag) (instance? clojure.lang.Named tag)))\n ;; (assert (instance? clojure.lang.INamed tag))\n ;; (assert (instance? clojure.lang.INamed parent))\n (let [tp (:parents h)\n td (:descendants h)\n ta (:ancestors h)\n tf (fn [m source sources target targets]\n (reduce (fn [ret k]\n (assoc ret k\n (reduce conj (get targets k #{}) (cons target (targets target)))))\n m (cons source (sources source))))]\n (or\n (when-not (contains? (tp tag) parent)\n (when (contains? (ta tag) parent)\n (throw (js/Error. (str tag \"already has\" parent \"as ancestor\"))))\n (when (contains? (ta parent) tag)\n (throw (js/Error. (str \"Cyclic derivation:\" parent \"has\" tag \"as ancestor\"))))\n {:parents (assoc (:parents h) tag (conj (get tp tag #{}) parent))\n :ancestors (tf (:ancestors h) tag td parent ta)\n :descendants (tf (:descendants h) parent ta tag td)})\n h))))\n\n(defn underive\n \"Removes a parent/child relationship between parent and\n tag. h must be a hierarchy obtained from make-hierarchy, if not\n supplied defaults to, and modifies, the global hierarchy.\"\n ([tag parent]\n (swap-global-hierarchy! underive tag parent)\n nil)\n ([h tag parent]\n (let [parentMap (:parents h)\n childsParents (if (parentMap tag)\n (disj (parentMap tag) parent) #{})\n newParents (if (not-empty childsParents)\n (assoc parentMap tag childsParents)\n (dissoc parentMap tag))\n deriv-seq (flatten (map #(cons (first %) (interpose (first %) (second %)))\n (seq newParents)))]\n (if (contains? (parentMap tag) parent)\n (reduce #(apply derive %1 %2) (make-hierarchy)\n (partition 2 deriv-seq))\n h))))\n\n(defn- reset-cache\n [method-cache method-table cached-hierarchy hierarchy]\n (swap! method-cache (fn [_] (deref method-table)))\n (swap! cached-hierarchy (fn [_] (deref hierarchy))))\n\n(defn- prefers*\n [x y prefer-table]\n (let [xprefs (@prefer-table x)]\n (or\n (when (and xprefs (xprefs y))\n true)\n (loop [ps (parents y)]\n (when (pos? (count ps))\n (when (prefers* x (first ps) prefer-table)\n true)\n (recur (rest ps))))\n (loop [ps (parents x)]\n (when (pos? (count ps))\n (when (prefers* (first ps) y prefer-table)\n true)\n (recur (rest ps))))\n false)))\n\n(defn- dominates\n [x y prefer-table hierarchy]\n (or (prefers* x y prefer-table) (isa? hierarchy x y)))\n\n(defn- find-and-cache-best-method\n [name dispatch-val hierarchy method-table prefer-table method-cache cached-hierarchy default-dispatch-val]\n (let [best-entry (reduce (fn [be [k _ :as e]]\n (if (isa? @hierarchy dispatch-val k)\n (let [be2 (if (or (nil? be) (dominates k (first be) prefer-table @hierarchy))\n e\n be)]\n (when-not (dominates (first be2) k prefer-table @hierarchy)\n (throw (js/Error.\n (str \"Multiple methods in multimethod '\" name\n \"' match dispatch value: \" dispatch-val \" -> \" k\n \" and \" (first be2) \", and neither is preferred\"))))\n be2)\n be))\n nil @method-table)\n best-entry (if-let [entry (and (nil? best-entry) (@method-table default-dispatch-val))]\n [default-dispatch-val entry]\n best-entry)]\n (when best-entry\n (if (= @cached-hierarchy @hierarchy)\n (do\n (swap! method-cache assoc dispatch-val (second best-entry))\n (second best-entry))\n (do\n (reset-cache method-cache method-table cached-hierarchy hierarchy)\n (find-and-cache-best-method name dispatch-val hierarchy method-table prefer-table\n method-cache cached-hierarchy default-dispatch-val))))))\n\n(defprotocol IMultiFn\n (-reset [mf])\n (-add-method [mf dispatch-val method])\n (-remove-method [mf dispatch-val])\n (-prefer-method [mf dispatch-val dispatch-val-y])\n (-get-method [mf dispatch-val])\n (-methods [mf])\n (-prefers [mf])\n (-default-dispatch-val [mf])\n (-dispatch-fn [mf]))\n\n(defn- throw-no-method-error [name dispatch-val]\n (throw (js/Error. (str \"No method in multimethod '\" name \"' for dispatch value: \" dispatch-val))))\n\n(deftype MultiFn [name dispatch-fn default-dispatch-val hierarchy\n method-table prefer-table method-cache cached-hierarchy]\n IFn\n (-invoke [mf]\n (let [dispatch-val (dispatch-fn)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn)))\n (-invoke [mf a]\n (let [dispatch-val (dispatch-fn a)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a)))\n (-invoke [mf a b]\n (let [dispatch-val (dispatch-fn a b)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b)))\n (-invoke [mf a b c]\n (let [dispatch-val (dispatch-fn a b c)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c)))\n (-invoke [mf a b c d]\n (let [dispatch-val (dispatch-fn a b c d)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d)))\n (-invoke [mf a b c d e]\n (let [dispatch-val (dispatch-fn a b c d e)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e)))\n (-invoke [mf a b c d e f]\n (let [dispatch-val (dispatch-fn a b c d e f)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f)))\n (-invoke [mf a b c d e f g]\n (let [dispatch-val (dispatch-fn a b c d e f g)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g)))\n (-invoke [mf a b c d e f g h]\n (let [dispatch-val (dispatch-fn a b c d e f g h)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h)))\n (-invoke [mf a b c d e f g h i]\n (let [dispatch-val (dispatch-fn a b c d e f g h i)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i)))\n (-invoke [mf a b c d e f g h i j]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j)))\n (-invoke [mf a b c d e f g h i j k]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k)))\n (-invoke [mf a b c d e f g h i j k l]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l)))\n (-invoke [mf a b c d e f g h i j k l m]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m)))\n (-invoke [mf a b c d e f g h i j k l m n]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m n)))\n (-invoke [mf a b c d e f g h i j k l m n o]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m n o)))\n (-invoke [mf a b c d e f g h i j k l m n o p]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m n o p)))\n (-invoke [mf a b c d e f g h i j k l m n o p q]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m n o p q)))\n (-invoke [mf a b c d e f g h i j k l m n o p q r]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m n o p q r)))\n (-invoke [mf a b c d e f g h i j k l m n o p q r s]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r s)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m n o p q r s)))\n (-invoke [mf a b c d e f g h i j k l m n o p q r s t]\n (let [dispatch-val (dispatch-fn a b c d e f g h i j k l m n o p q r s t)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (target-fn a b c d e f g h i j k l m n o p q r s t)))\n (-invoke [mf a b c d e f g h i j k l m n o p q r s t rest]\n (let [dispatch-val (apply dispatch-fn a b c d e f g h i j k l m n o p q r s t rest)\n target-fn (-get-method mf dispatch-val)]\n (when-not target-fn\n (throw-no-method-error name dispatch-val))\n (apply target-fn a b c d e f g h i j k l m n o p q r s t rest)))\n\n IMultiFn\n (-reset [mf]\n (swap! method-table (fn [mf] {}))\n (swap! method-cache (fn [mf] {}))\n (swap! prefer-table (fn [mf] {}))\n (swap! cached-hierarchy (fn [mf] nil))\n mf)\n\n (-add-method [mf dispatch-val method]\n (swap! method-table assoc dispatch-val method)\n (reset-cache method-cache method-table cached-hierarchy hierarchy)\n mf)\n\n (-remove-method [mf dispatch-val]\n (swap! method-table dissoc dispatch-val)\n (reset-cache method-cache method-table cached-hierarchy hierarchy)\n mf)\n\n (-get-method [mf dispatch-val]\n (when-not (= @cached-hierarchy @hierarchy)\n (reset-cache method-cache method-table cached-hierarchy hierarchy))\n (if-let [target-fn (@method-cache dispatch-val)]\n target-fn\n (find-and-cache-best-method name dispatch-val hierarchy method-table\n prefer-table method-cache cached-hierarchy default-dispatch-val)))\n\n (-prefer-method [mf dispatch-val-x dispatch-val-y]\n (when (prefers* dispatch-val-y dispatch-val-x prefer-table)\n (throw (js/Error. (str \"Preference conflict in multimethod '\" name \"': \" dispatch-val-y\n \" is already preferred to \" dispatch-val-x))))\n (swap! prefer-table\n (fn [old]\n (assoc old dispatch-val-x\n (conj (get old dispatch-val-x #{})\n dispatch-val-y))))\n (reset-cache method-cache method-table cached-hierarchy hierarchy))\n\n (-methods [mf] @method-table)\n (-prefers [mf] @prefer-table)\n (-default-dispatch-val [mf] default-dispatch-val)\n (-dispatch-fn [mf] dispatch-fn)\n\n INamed\n (-name [this] (-name name))\n (-namespace [this] (-namespace name))\n\n IHash\n (-hash [this] (goog/getUid this)))\n\n(defn remove-all-methods\n \"Removes all of the methods of multimethod.\"\n [multifn]\n (-reset multifn))\n\n(defn remove-method\n \"Removes the method of multimethod associated with dispatch-value.\"\n [multifn dispatch-val]\n (-remove-method multifn dispatch-val))\n\n(defn prefer-method\n \"Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y\n when there is a conflict\"\n [multifn dispatch-val-x dispatch-val-y]\n (-prefer-method multifn dispatch-val-x dispatch-val-y))\n\n(defn methods\n \"Given a multimethod, returns a map of dispatch values -> dispatch fns\"\n [multifn] (-methods multifn))\n\n(defn get-method\n \"Given a multimethod and a dispatch value, returns the dispatch fn\n that would apply to that value, or nil if none apply and no default\"\n [multifn dispatch-val] (-get-method multifn dispatch-val))\n\n(defn prefers\n \"Given a multimethod, returns a map of preferred value -> set of other values\"\n [multifn] (-prefers multifn))\n\n(defn default-dispatch-val\n \"Given a multimethod, return its default-dispatch-val.\"\n [multifn] (-default-dispatch-val multifn))\n\n(defn dispatch-fn\n \"Given a multimethod, return its dispatch-fn.\"\n [multifn] (-dispatch-fn multifn))\n\n;; UUID\n(defprotocol IUUID \"A marker protocol for UUIDs\")\n\n(deftype UUID [uuid ^:mutable __hash]\n IUUID\n\n Object\n (toString [_] uuid)\n (equiv [this other]\n (-equiv this other))\n\n IEquiv\n (-equiv [_ other]\n (and (implements? IUUID other) (identical? uuid (.-uuid other))))\n\n IPrintWithWriter\n (-pr-writer [_ writer _]\n (-write writer (str \"#uuid \\\"\" uuid \"\\\"\")))\n\n IHash\n (-hash [this]\n (when (nil? __hash)\n (set! __hash (hash uuid)))\n __hash)\n\n IComparable\n (-compare [this other]\n (if (instance? UUID other)\n (garray/defaultCompare uuid (.-uuid other))\n (throw (js/Error. (str \"Cannot compare \" this \" to \" other))))))\n\n(defn uuid\n \"Returns a UUID consistent with the string s.\"\n [s]\n (assert (string? s))\n (UUID. (.toLowerCase s) nil))\n\n(defn random-uuid\n \"Returns a pseudo-randomly generated UUID instance (i.e. type 4).\"\n []\n (letfn [(hex [] (.toString (rand-int 16) 16))]\n (let [rhex (.toString (bit-or 0x8 (bit-and 0x3 (rand-int 16))) 16)]\n (uuid\n (str (hex) (hex) (hex) (hex)\n (hex) (hex) (hex) (hex) \"-\"\n (hex) (hex) (hex) (hex) \"-\"\n \"4\" (hex) (hex) (hex) \"-\"\n rhex (hex) (hex) (hex) \"-\"\n (hex) (hex) (hex) (hex)\n (hex) (hex) (hex) (hex)\n (hex) (hex) (hex) (hex))))))\n\n(defn uuid?\n \"Return true if x is a UUID.\"\n [x] (implements? IUUID x))\n\n;;; ExceptionInfo\n\n(defn- pr-writer-ex-info [obj writer opts]\n (-write writer \"#error {:message \")\n (pr-writer (.-message obj) writer opts)\n (when (.-data obj)\n (-write writer \", :data \")\n (pr-writer (.-data obj) writer opts))\n (when (.-cause obj)\n (-write writer \", :cause \")\n (pr-writer (.-cause obj) writer opts))\n (-write writer \"}\"))\n\n(defn ^{:jsdoc [\"@constructor\"]}\n ExceptionInfo [message data cause]\n (let [e (js/Error. message)]\n (this-as this\n (set! (.-message this) message)\n (set! (.-data this) data)\n (set! (.-cause this) cause)\n (do\n (set! (.-name this) (.-name e))\n ;; non-standard\n (set! (.-description this) (.-description e))\n (set! (.-number this) (.-number e))\n (set! (.-fileName this) (.-fileName e))\n (set! (.-lineNumber this) (.-lineNumber e))\n (set! (.-columnNumber this) (.-columnNumber e))\n (set! (.-stack this) (.-stack e)))\n this)))\n\n(set! (.. ExceptionInfo -prototype -__proto__) js/Error.prototype)\n\n(extend-type ExceptionInfo\n IPrintWithWriter\n (-pr-writer [obj writer opts]\n (pr-writer-ex-info obj writer opts)))\n\n(set! (.. ExceptionInfo -prototype -toString)\n (fn []\n (this-as this (pr-str* this))))\n\n(defn ex-info\n \"Create an instance of ExceptionInfo, an Error type that carries a\n map of additional data.\"\n ([msg data] (ex-info msg data nil))\n ([msg data cause]\n (ExceptionInfo. msg data cause)))\n\n(defn ex-data\n \"Returns exception data (a map) if ex is an ExceptionInfo.\n Otherwise returns nil.\"\n [ex]\n (when (instance? ExceptionInfo ex)\n (.-data ex)))\n\n(defn ex-message\n \"Returns the message attached to the given Error / ExceptionInfo object.\n For non-Errors returns nil.\"\n [ex]\n (when (instance? js/Error ex)\n (.-message ex)))\n\n(defn ex-cause\n \"Returns exception cause (an Error / ExceptionInfo) if ex is an\n ExceptionInfo.\n Otherwise returns nil.\"\n [ex]\n (when (instance? ExceptionInfo ex)\n (.-cause ex)))\n\n(defn comparator\n \"Returns an JavaScript compatible comparator based upon pred.\"\n [pred]\n (fn [x y]\n (cond (pred x y) -1 (pred y x) 1 :else 0)))\n\n(defn ^boolean special-symbol?\n \"Returns true if x names a special form\"\n [x]\n (contains?\n '#{if def fn* do let* loop* letfn* throw try catch finally\n recur new set! ns deftype* defrecord* . js* & quote case* var ns*}\n x))\n\n(defn test\n \"test [v] finds fn at key :test in var metadata and calls it,\n presuming failure will throw exception\"\n [v]\n (let [f (.-cljs$lang$test v)]\n (if f\n (do (f) :ok)\n :no-test)))\n\n\n(deftype TaggedLiteral [tag form]\n Object\n (toString [coll]\n (pr-str* coll))\n\n IEquiv\n (-equiv [this other]\n (and (instance? TaggedLiteral other)\n (= tag (.-tag other))\n (= form (.-form other))))\n\n IHash\n (-hash [this]\n (+ (* 31 (hash tag))\n (hash form)))\n\n ILookup\n (-lookup [this v]\n (-lookup this v nil))\n (-lookup [this v not-found]\n (case v\n :tag tag\n :form form\n not-found))\n\n IPrintWithWriter\n (-pr-writer [o writer opts]\n (-write writer (str \"#\" tag \" \"))\n (pr-writer form writer opts)))\n\n(defn tagged-literal?\n \"Return true if the value is the data representation of a tagged literal\"\n [value]\n (instance? TaggedLiteral value))\n\n(defn tagged-literal\n \"Construct a data representation of a tagged literal from a\n tag symbol and a form.\"\n [tag form]\n {:pre [(symbol? tag)]}\n (TaggedLiteral. tag form))\n\n(def\n ^{:private true\n :jsdoc [\"@type {*}\"]}\n js-reserved-arr\n #js [\"arguments\" \"abstract\" \"await\" \"boolean\" \"break\" \"byte\" \"case\"\n \"catch\" \"char\" \"class\" \"const\" \"continue\"\n \"debugger\" \"default\" \"delete\" \"do\" \"double\"\n \"else\" \"enum\" \"export\" \"extends\" \"final\"\n \"finally\" \"float\" \"for\" \"function\" \"goto\" \"if\"\n \"implements\" \"import\" \"in\" \"instanceof\" \"int\"\n \"interface\" \"let\" \"long\" \"native\" \"new\"\n \"package\" \"private\" \"protected\" \"public\"\n \"return\" \"short\" \"static\" \"super\" \"switch\"\n \"synchronized\" \"this\" \"throw\" \"throws\"\n \"transient\" \"try\" \"typeof\" \"var\" \"void\"\n \"volatile\" \"while\" \"with\" \"yield\" \"methods\"\n \"null\" \"constructor\"])\n\n(def\n ^{:jsdoc [\"@type {null|Object}\"]}\n js-reserved nil)\n\n(defn- js-reserved? [x]\n (when (nil? js-reserved)\n (set! js-reserved\n (reduce #(do (gobject/set %1 %2 true) %1)\n #js {} js-reserved-arr)))\n (.hasOwnProperty js-reserved x))\n\n(defn- demunge-pattern []\n (when-not DEMUNGE_PATTERN\n (set! DEMUNGE_PATTERN\n (let [ks (sort (fn [a b] (- (. b -length) (. a -length)))\n (js-keys DEMUNGE_MAP))]\n (loop [ks ks ret \"\"]\n (if (seq ks)\n (recur\n (next ks)\n (str\n (cond-> ret\n (not (identical? ret \"\")) (str \"|\"))\n (first ks)))\n (str ret \"|\\\\$\"))))))\n DEMUNGE_PATTERN)\n\n(defn- ^string munge-str [name]\n (let [sb (StringBuffer.)]\n (loop [i 0]\n (if (< i (. name -length))\n (let [c (.charAt name i)\n sub (gobject/get CHAR_MAP c)]\n (if-not (nil? sub)\n (.append sb sub)\n (.append sb c))\n (recur (inc i)))))\n (.toString sb)))\n\n(defn munge [name]\n (let [name' (munge-str (str name))\n name' (cond\n (identical? name' \"..\") \"_DOT__DOT_\"\n (js-reserved? name') (str name' \"$\")\n :else name')]\n (if (symbol? name)\n (symbol name')\n name')))\n\n(defn- demunge-str [munged-name]\n (let [r (js/RegExp. (demunge-pattern) \"g\")\n munged-name (if (gstring/endsWith munged-name \"$\")\n (.substring munged-name 0 (dec (. munged-name -length)))\n munged-name)]\n (loop [ret \"\" last-match-end 0]\n (if-let [match (.exec r munged-name)]\n (let [[x] match]\n (recur\n (str ret\n (.substring munged-name last-match-end\n (- (. r -lastIndex) (. x -length)))\n (if (identical? x \"$\") \"/\" (gobject/get DEMUNGE_MAP x)))\n (. r -lastIndex)))\n (str ret\n (.substring munged-name last-match-end (.-length munged-name)))))))\n\n(defn demunge [name]\n ((if (symbol? name) symbol str)\n (let [name' (str name)]\n (if (identical? name' \"_DOT__DOT_\")\n \"..\"\n (demunge-str name')))))\n\n(defonce ^{:jsdoc [\"@type {*}\"] :private true}\n tapset nil)\n\n(defn- maybe-init-tapset []\n (when (nil? tapset)\n (set! tapset (atom #{}))))\n\n(defn add-tap\n \"Adds f, a fn of one argument, to the tap set. This function will be called with\n anything sent via tap>. Remember f in order to remove-tap\"\n [f]\n (maybe-init-tapset)\n (swap! tapset conj f)\n nil)\n\n(defn remove-tap\n \"Remove f from the tap set.\"\n [f]\n (maybe-init-tapset)\n (swap! tapset disj f)\n nil)\n\n(defn ^boolean tap>\n \"Sends x to any taps. Returns the result of *exec-tap-fn*, a Boolean value.\"\n [x]\n (maybe-init-tapset)\n (*exec-tap-fn*\n (fn []\n (doseq [tap @tapset]\n (try\n (tap x)\n (catch js/Error ex))))))\n\n(defn update-vals\n \"m f => {k (f v) ...}\n Given a map m and a function f of 1-argument, returns a new map where the keys of m\n are mapped to result of applying f to the corresponding values of m.\"\n {:added \"1.11\"}\n [m f]\n (with-meta\n (persistent!\n (reduce-kv (fn [acc k v] (assoc! acc k (f v)))\n (if (implements? IEditableCollection m)\n (transient m)\n (transient {}))\n m))\n (meta m)))\n\n(defn update-keys\n \"m f => {(f k) v ...}\n Given a map m and a function f of 1-argument, returns a new map whose\n keys are the result of applying f to the keys of m, mapped to the\n corresponding values of m.\n f must return a unique key for each key of m, else the behavior is undefined.\"\n {:added \"1.11\"}\n [m f]\n (let [ret (persistent!\n (reduce-kv (fn [acc k v] (assoc! acc (f k) v))\n (transient {})\n m))]\n (with-meta ret (meta m))))\n\n;; -----------------------------------------------------------------------------\n;; Bootstrap helpers - incompatible with advanced compilation\n\n(defn- ns-lookup\n \"Bootstrap only.\"\n [ns-obj k]\n (fn [] (gobject/get ns-obj k)))\n\n;; Bootstrap only\n(deftype Namespace [obj name]\n Object\n (findInternedVar [this sym]\n (let [k (munge (str sym))]\n (when ^boolean (gobject/containsKey obj k)\n (let [var-sym (symbol (str name) (str sym))\n var-meta {:ns this}]\n (Var. (ns-lookup obj k) var-sym var-meta)))))\n (getName [_] name)\n (toString [_]\n (str name))\n IEquiv\n (-equiv [_ other]\n (if (instance? Namespace other)\n (= name (.-name other))\n false))\n IHash\n (-hash [_]\n (hash name)))\n\n(def\n ^{:doc \"Bootstrap only.\" :jsdoc [\"@type {*}\"]}\n NS_CACHE nil)\n\n(defn- find-ns-obj*\n \"Bootstrap only.\"\n [ctxt xs]\n (cond\n (nil? ctxt) nil\n (nil? xs) ctxt\n :else (recur (gobject/get ctxt (first xs)) (next xs))))\n\n(defn find-ns-obj\n \"Bootstrap only.\"\n [ns]\n (let [munged-ns (munge (str ns))\n segs (.split munged-ns \".\")]\n (case *target*\n \"nodejs\" (if ^boolean js/COMPILED\n ; Under simple optimizations on nodejs, namespaces will be in module\n ; rather than global scope and must be accessed by a direct call to eval.\n ; The first segment may refer to an undefined variable, so its evaluation\n ; may throw ReferenceError.\n (find-ns-obj*\n (try\n (let [ctxt (js/eval (first segs))]\n (when (and ctxt (object? ctxt))\n ctxt))\n (catch js/ReferenceError e\n nil))\n (next segs))\n (find-ns-obj* goog/global segs))\n (\"default\" \"webworker\") (find-ns-obj* goog/global segs)\n (throw (js/Error. (str \"find-ns-obj not supported for target \" *target*))))))\n\n(defn ns-interns*\n \"Returns a map of the intern mappings for the namespace.\n Bootstrap only.\"\n [sym]\n (let [ns-obj (find-ns-obj sym)\n ns (Namespace. ns-obj sym)]\n (letfn [(step [ret k]\n (let [var-sym (symbol (demunge k))]\n (assoc ret\n var-sym (Var. #(gobject/get ns-obj k)\n (symbol (str sym) (str var-sym)) {:ns ns}))))]\n (reduce step {} (js-keys ns-obj)))))\n\n(defn create-ns\n \"Create a new namespace named by the symbol. Bootstrap only.\"\n ([sym]\n (create-ns sym (find-ns-obj sym)))\n ([sym ns-obj]\n (Namespace. ns-obj sym)))\n\n(defn find-ns\n \"Returns the namespace named by the symbol or nil if it doesn't exist.\n Bootstrap only.\"\n [ns]\n (when (nil? NS_CACHE)\n (set! NS_CACHE (atom {})))\n (let [the-ns (get @NS_CACHE ns)]\n (if-not (nil? the-ns)\n the-ns\n (let [ns-obj (find-ns-obj ns)]\n (when-not (nil? ns-obj)\n (let [new-ns (create-ns ns ns-obj)]\n (swap! NS_CACHE assoc ns new-ns)\n new-ns))))))\n\n(defn find-macros-ns\n \"Returns the macros namespace named by the symbol or nil if it doesn't exist.\n Bootstrap only.\"\n [ns]\n (when (nil? NS_CACHE)\n (set! NS_CACHE (atom {})))\n (let [ns-str (str ns)\n ns (if (not ^boolean (gstring/contains ns-str \"$macros\"))\n (symbol (str ns-str \"$macros\"))\n ns)\n the-ns (get @NS_CACHE ns)]\n (if-not (nil? the-ns)\n the-ns\n (let [ns-obj (find-ns-obj ns)]\n (when-not (nil? ns-obj)\n (let [new-ns (create-ns ns ns-obj)]\n (swap! NS_CACHE assoc ns new-ns)\n new-ns))))))\n\n(defn ns-name\n \"Returns the name of the namespace, a Namespace object.\n Bootstrap only.\"\n [ns-obj]\n (.-name ns-obj))\n\n(defn uri?\n \"Returns true x is a goog.Uri instance.\"\n {:added \"1.9\"}\n [x]\n (instance? goog.Uri x))\n\n(defn ^boolean NaN?\n \"Returns true if num is NaN, else false\"\n [val]\n (js/isNaN val))\n\n(defn ^:private parsing-err\n \"Construct message for parsing for non-string parsing error\"\n [val]\n (str \"Expected string, got: \" (if (nil? val) \"nil\" (goog/typeOf val))))\n\n(defn ^number parse-long\n \"Parse string of decimal digits with optional leading -/+ and return an\n integer value, or nil if parse fails\"\n [s]\n (if (string? s)\n (and (re-matches #\"[+-]?\\d+\" s)\n (let [i (js/parseInt s)]\n (when (and (<= i js/Number.MAX_SAFE_INTEGER)\n (>= i js/Number.MIN_SAFE_INTEGER))\n i)))\n (throw (js/Error. (parsing-err s)))))\n\n(defn ^number parse-double\n \"Parse string with floating point components and return a floating point value,\n or nil if parse fails.\n Grammar: https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html#valueOf-java.lang.String-\"\n [s]\n (if (string? s)\n (cond\n ^boolean (re-matches #\"[\\x00-\\x20]*[+-]?NaN[\\x00-\\x20]*\" s) ##NaN\n ^boolean (re-matches\n #\"[\\x00-\\x20]*[+-]?(Infinity|((\\d+\\.?\\d*|\\.\\d+)([eE][+-]?\\d+)?)[dDfF]?)[\\x00-\\x20]*\"\n s) (js/parseFloat s)\n :default nil)\n (throw (js/Error. (parsing-err s)))))\n\n(def ^:private uuid-regex\n #\"^[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]$\")\n\n(defn parse-uuid\n \"Parse a string representing a UUID and return a UUID instance,\n or nil if parse fails.\n Grammar: https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html#toString--\"\n [s]\n (if (string? s)\n (when ^boolean (re-matches uuid-regex s)\n (uuid s))\n (throw (js/Error. (parsing-err s)))))\n\n(defn parse-boolean\n \"Parse strings \\\"true\\\" or \\\"false\\\" and return a boolean, or nil if invalid. Note that this explicitly\n excludes strings with different cases, or space characters.\"\n [s]\n (if (string? s)\n (case s\n \"true\" true\n \"false\" false\n nil)\n (throw (js/Error. (parsing-err s)))))\n\n(defn- maybe-enable-print! []\n (cond\n (exists? js/console)\n (enable-console-print!)\n\n (or (identical? *target* \"nashorn\")\n (identical? *target* \"graaljs\"))\n (let [system (.type js/Java \"java.lang.System\")]\n (set! *print-newline* false)\n (set-print-fn!\n (fn []\n (let [xs (js-arguments)\n s (.join (garray/clone xs) \"\")]\n (.println (.-out system) s))))\n (set-print-err-fn!\n (fn []\n (let [xs (js-arguments)\n s (.join (garray/clone xs) \"\")]\n (.println (.-error system) s)))))))\n\n(maybe-enable-print!)\n\n(defonce\n ^{:doc \"Runtime environments may provide a way to evaluate ClojureScript\n forms. Whatever function *eval* is bound to will be passed any forms which\n should be evaluated.\" :dynamic true}\n *eval*\n (fn [_]\n (throw (js/Error. \"cljs.core/*eval* not bound\"))))\n\n(defn eval\n \"Evaluates the form data structure (not text!) and returns the result.\n Delegates to cljs.core/*eval*. Intended for use in self-hosted ClojureScript,\n which sets up an implementation of cljs.core/*eval* for that environment.\"\n [form]\n (*eval* form))\n\n(when ^boolean js/COMPILED\n (when (identical? \"nodejs\" *target*)\n (set! goog/global js/global))\n (cond\n (identical? \"window\" *global*) (set! goog/global js/window)\n (identical? \"self\" *global*) (set! goog/global js/self)\n (identical? \"global\" *global*) (set! goog/global js/global)))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.pprint.js b/out/cljs-runtime/cljs.pprint.js new file mode 100644 index 0000000..91a2002 --- /dev/null +++ b/out/cljs-runtime/cljs.pprint.js @@ -0,0 +1,8395 @@ +goog.provide('cljs.pprint'); +cljs.pprint.print = (function cljs$pprint$print(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35904 = arguments.length; +var i__5770__auto___35905 = (0); +while(true){ +if((i__5770__auto___35905 < len__5769__auto___35904)){ +args__5775__auto__.push((arguments[i__5770__auto___35905])); + +var G__35906 = (i__5770__auto___35905 + (1)); +i__5770__auto___35905 = G__35906; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +return cljs.core._write(cljs.core._STAR_out_STAR_,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.print_str,more)); +})); + +(cljs.pprint.print.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.pprint.print.cljs$lang$applyTo = (function (seq31349){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31349)); +})); + +cljs.pprint.println = (function cljs$pprint$println(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35908 = arguments.length; +var i__5770__auto___35909 = (0); +while(true){ +if((i__5770__auto___35909 < len__5769__auto___35908)){ +args__5775__auto__.push((arguments[i__5770__auto___35909])); + +var G__35910 = (i__5770__auto___35909 + (1)); +i__5770__auto___35909 = G__35910; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.pprint.println.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.pprint.println.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.pprint.print,more); + +return cljs.core._write(cljs.core._STAR_out_STAR_,"\n"); +})); + +(cljs.pprint.println.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.pprint.println.cljs$lang$applyTo = (function (seq31360){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31360)); +})); + +cljs.pprint.print_char = (function cljs$pprint$print_char(c){ +return cljs.core._write(cljs.core._STAR_out_STAR_,(function (){var pred__31368 = cljs.core._EQ_; +var expr__31369 = c; +if(cljs.core.truth_((function (){var G__31373 = "\b"; +var G__31374 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31373,G__31374) : pred__31368.call(null, G__31373,G__31374)); +})())){ +return "\\backspace"; +} else { +if(cljs.core.truth_((function (){var G__31379 = " "; +var G__31380 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31379,G__31380) : pred__31368.call(null, G__31379,G__31380)); +})())){ +return "\\space"; +} else { +if(cljs.core.truth_((function (){var G__31381 = "\t"; +var G__31382 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31381,G__31382) : pred__31368.call(null, G__31381,G__31382)); +})())){ +return "\\tab"; +} else { +if(cljs.core.truth_((function (){var G__31383 = "\n"; +var G__31384 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31383,G__31384) : pred__31368.call(null, G__31383,G__31384)); +})())){ +return "\\newline"; +} else { +if(cljs.core.truth_((function (){var G__31385 = "\f"; +var G__31386 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31385,G__31386) : pred__31368.call(null, G__31385,G__31386)); +})())){ +return "\\formfeed"; +} else { +if(cljs.core.truth_((function (){var G__31387 = "\r"; +var G__31388 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31387,G__31388) : pred__31368.call(null, G__31387,G__31388)); +})())){ +return "\\return"; +} else { +if(cljs.core.truth_((function (){var G__31389 = "\""; +var G__31390 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31389,G__31390) : pred__31368.call(null, G__31389,G__31390)); +})())){ +return "\\\""; +} else { +if(cljs.core.truth_((function (){var G__31391 = "\\"; +var G__31392 = expr__31369; +return (pred__31368.cljs$core$IFn$_invoke$arity$2 ? pred__31368.cljs$core$IFn$_invoke$arity$2(G__31391,G__31392) : pred__31368.call(null, G__31391,G__31392)); +})())){ +return "\\\\"; +} else { +return ["\\",cljs.core.str.cljs$core$IFn$_invoke$arity$1(c)].join(''); +} +} +} +} +} +} +} +} +})()); +}); +cljs.pprint.pr = (function cljs$pprint$pr(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35914 = arguments.length; +var i__5770__auto___35915 = (0); +while(true){ +if((i__5770__auto___35915 < len__5769__auto___35914)){ +args__5775__auto__.push((arguments[i__5770__auto___35915])); + +var G__35916 = (i__5770__auto___35915 + (1)); +i__5770__auto___35915 = G__35916; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.pprint.pr.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.pprint.pr.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +return cljs.core._write(cljs.core._STAR_out_STAR_,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.pr_str,more)); +})); + +(cljs.pprint.pr.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.pprint.pr.cljs$lang$applyTo = (function (seq31394){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31394)); +})); + +cljs.pprint.prn = (function cljs$pprint$prn(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35919 = arguments.length; +var i__5770__auto___35920 = (0); +while(true){ +if((i__5770__auto___35920 < len__5769__auto___35919)){ +args__5775__auto__.push((arguments[i__5770__auto___35920])); + +var G__35921 = (i__5770__auto___35920 + (1)); +i__5770__auto___35920 = G__35921; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.pprint.prn.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.pprint.prn.cljs$core$IFn$_invoke$arity$variadic = (function (more){ +cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.pprint.pr,more); + +return cljs.core._write(cljs.core._STAR_out_STAR_,"\n"); +})); + +(cljs.pprint.prn.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.pprint.prn.cljs$lang$applyTo = (function (seq31407){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31407)); +})); + +/** + * Returns true if n is an float. + */ +cljs.pprint.float_QMARK_ = (function cljs$pprint$float_QMARK_(n){ +return ((typeof n === 'number') && ((((!(isNaN(n)))) && ((((!((n === Infinity)))) && ((!((parseFloat(n) === parseInt(n,(10))))))))))); +}); +/** + * Convert char to int + */ +cljs.pprint.char_code = (function cljs$pprint$char_code(c){ +if(typeof c === 'number'){ +return c; +} else { +if(((typeof c === 'string') && ((c.length === (1))))){ +return c.charCodeAt((0)); +} else { +throw (new Error("Argument to char must be a character or number")); + +} +} +}); +cljs.pprint.map_passing_context = (function cljs$pprint$map_passing_context(func,initial_context,lis){ +var context = initial_context; +var lis__$1 = lis; +var acc = cljs.core.PersistentVector.EMPTY; +while(true){ +if(cljs.core.empty_QMARK_(lis__$1)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,context], null); +} else { +var this$ = cljs.core.first(lis__$1); +var remainder = cljs.core.next(lis__$1); +var vec__31470 = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(func,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [this$,context], null)); +var result = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31470,(0),null); +var new_context = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31470,(1),null); +var G__35926 = new_context; +var G__35927 = remainder; +var G__35928 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(acc,result); +context = G__35926; +lis__$1 = G__35927; +acc = G__35928; +continue; +} +break; +} +}); +cljs.pprint.consume = (function cljs$pprint$consume(func,initial_context){ +var context = initial_context; +var acc = cljs.core.PersistentVector.EMPTY; +while(true){ +var vec__31489 = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(func,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [context], null)); +var result = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31489,(0),null); +var new_context = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31489,(1),null); +if(cljs.core.not(result)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,new_context], null); +} else { +var G__35929 = new_context; +var G__35930 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(acc,result); +context = G__35929; +acc = G__35930; +continue; +} +break; +} +}); +cljs.pprint.consume_while = (function cljs$pprint$consume_while(func,initial_context){ +var context = initial_context; +var acc = cljs.core.PersistentVector.EMPTY; +while(true){ +var vec__31511 = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(func,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [context], null)); +var result = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31511,(0),null); +var continue$ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31511,(1),null); +var new_context = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31511,(2),null); +if(cljs.core.not(continue$)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,context], null); +} else { +var G__35931 = new_context; +var G__35932 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(acc,result); +context = G__35931; +acc = G__35932; +continue; +} +break; +} +}); +cljs.pprint.unzip_map = (function cljs$pprint$unzip_map(m){ + +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,(function (){var iter__5523__auto__ = (function cljs$pprint$unzip_map_$_iter__31520(s__31521){ +return (new cljs.core.LazySeq(null,(function (){ +var s__31521__$1 = s__31521; +while(true){ +var temp__5823__auto__ = cljs.core.seq(s__31521__$1); +if(temp__5823__auto__){ +var s__31521__$2 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s__31521__$2)){ +var c__5521__auto__ = cljs.core.chunk_first(s__31521__$2); +var size__5522__auto__ = cljs.core.count(c__5521__auto__); +var b__31523 = cljs.core.chunk_buffer(size__5522__auto__); +if((function (){var i__31522 = (0); +while(true){ +if((i__31522 < size__5522__auto__)){ +var vec__31529 = cljs.core._nth(c__5521__auto__,i__31522); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31529,(0),null); +var vec__31532 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31529,(1),null); +var v1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31532,(0),null); +var v2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31532,(1),null); +cljs.core.chunk_append(b__31523,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v1], null)); + +var G__35941 = (i__31522 + (1)); +i__31522 = G__35941; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__31523),cljs$pprint$unzip_map_$_iter__31520(cljs.core.chunk_rest(s__31521__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__31523),null); +} +} else { +var vec__31542 = cljs.core.first(s__31521__$2); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31542,(0),null); +var vec__31545 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31542,(1),null); +var v1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31545,(0),null); +var v2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31545,(1),null); +return cljs.core.cons(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v1], null),cljs$pprint$unzip_map_$_iter__31520(cljs.core.rest(s__31521__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__5523__auto__(m); +})()),cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,(function (){var iter__5523__auto__ = (function cljs$pprint$unzip_map_$_iter__31552(s__31553){ +return (new cljs.core.LazySeq(null,(function (){ +var s__31553__$1 = s__31553; +while(true){ +var temp__5823__auto__ = cljs.core.seq(s__31553__$1); +if(temp__5823__auto__){ +var s__31553__$2 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s__31553__$2)){ +var c__5521__auto__ = cljs.core.chunk_first(s__31553__$2); +var size__5522__auto__ = cljs.core.count(c__5521__auto__); +var b__31555 = cljs.core.chunk_buffer(size__5522__auto__); +if((function (){var i__31554 = (0); +while(true){ +if((i__31554 < size__5522__auto__)){ +var vec__31561 = cljs.core._nth(c__5521__auto__,i__31554); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31561,(0),null); +var vec__31564 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31561,(1),null); +var v1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31564,(0),null); +var v2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31564,(1),null); +cljs.core.chunk_append(b__31555,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v2], null)); + +var G__35948 = (i__31554 + (1)); +i__31554 = G__35948; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__31555),cljs$pprint$unzip_map_$_iter__31552(cljs.core.chunk_rest(s__31553__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__31555),null); +} +} else { +var vec__31570 = cljs.core.first(s__31553__$2); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31570,(0),null); +var vec__31573 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31570,(1),null); +var v1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31573,(0),null); +var v2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31573,(1),null); +return cljs.core.cons(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v2], null),cljs$pprint$unzip_map_$_iter__31552(cljs.core.rest(s__31553__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__5523__auto__(m); +})())], null); +}); +cljs.pprint.tuple_map = (function cljs$pprint$tuple_map(m,v1){ + +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,(function (){var iter__5523__auto__ = (function cljs$pprint$tuple_map_$_iter__31582(s__31583){ +return (new cljs.core.LazySeq(null,(function (){ +var s__31583__$1 = s__31583; +while(true){ +var temp__5823__auto__ = cljs.core.seq(s__31583__$1); +if(temp__5823__auto__){ +var s__31583__$2 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s__31583__$2)){ +var c__5521__auto__ = cljs.core.chunk_first(s__31583__$2); +var size__5522__auto__ = cljs.core.count(c__5521__auto__); +var b__31585 = cljs.core.chunk_buffer(size__5522__auto__); +if((function (){var i__31584 = (0); +while(true){ +if((i__31584 < size__5522__auto__)){ +var vec__31595 = cljs.core._nth(c__5521__auto__,i__31584); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31595,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31595,(1),null); +cljs.core.chunk_append(b__31585,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [v,v1], null)], null)); + +var G__35956 = (i__31584 + (1)); +i__31584 = G__35956; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__31585),cljs$pprint$tuple_map_$_iter__31582(cljs.core.chunk_rest(s__31583__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__31585),null); +} +} else { +var vec__31602 = cljs.core.first(s__31583__$2); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31602,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31602,(1),null); +return cljs.core.cons(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [v,v1], null)], null),cljs$pprint$tuple_map_$_iter__31582(cljs.core.rest(s__31583__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__5523__auto__(m); +})()); +}); +cljs.pprint.rtrim = (function cljs$pprint$rtrim(s,c){ + +var len = cljs.core.count(s); +if((((len > (0))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(s,(cljs.core.count(s) - (1))),c)))){ +var n = (len - (1)); +while(true){ +if((n < (0))){ +return ""; +} else { +if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(s,n),c)))){ +return cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),(n + (1))); +} else { +var G__35966 = (n - (1)); +n = G__35966; +continue; + +} +} +break; +} +} else { +return s; +} +}); +cljs.pprint.ltrim = (function cljs$pprint$ltrim(s,c){ + +var len = cljs.core.count(s); +if((((len > (0))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(s,(0)),c)))){ +var n = (0); +while(true){ +if(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(n,len)) || ((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(s,n),c)))))){ +return cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,n); +} else { +var G__35968 = (n + (1)); +n = G__35968; +continue; +} +break; +} +} else { +return s; +} +}); +cljs.pprint.prefix_count = (function cljs$pprint$prefix_count(aseq,val){ + +var test = ((cljs.core.coll_QMARK_(val))?cljs.core.set(val):cljs.core.PersistentHashSet.createAsIfByAssoc([val])); +var pos = (0); +while(true){ +if(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(pos,cljs.core.count(aseq))) || (cljs.core.not((function (){var G__31633 = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(aseq,pos); +return (test.cljs$core$IFn$_invoke$arity$1 ? test.cljs$core$IFn$_invoke$arity$1(G__31633) : test.call(null, G__31633)); +})())))){ +return pos; +} else { +var G__35971 = (pos + (1)); +pos = G__35971; +continue; +} +break; +} +}); + +/** + * @interface + */ +cljs.pprint.IPrettyFlush = function(){}; + +var cljs$pprint$IPrettyFlush$_ppflush$dyn_35972 = (function (pp){ +var x__5393__auto__ = (((pp == null))?null:pp); +var m__5394__auto__ = (cljs.pprint._ppflush[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(pp) : m__5394__auto__.call(null, pp)); +} else { +var m__5392__auto__ = (cljs.pprint._ppflush["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(pp) : m__5392__auto__.call(null, pp)); +} else { +throw cljs.core.missing_protocol("IPrettyFlush.-ppflush",pp); +} +} +}); +cljs.pprint._ppflush = (function cljs$pprint$_ppflush(pp){ +if((((!((pp == null)))) && ((!((pp.cljs$pprint$IPrettyFlush$_ppflush$arity$1 == null)))))){ +return pp.cljs$pprint$IPrettyFlush$_ppflush$arity$1(pp); +} else { +return cljs$pprint$IPrettyFlush$_ppflush$dyn_35972(pp); +} +}); + +cljs.pprint._STAR_default_page_width_STAR_ = (72); +cljs.pprint.get_field = (function cljs$pprint$get_field(this$,sym){ +var G__31646 = cljs.core.deref(cljs.core.deref(this$)); +return (sym.cljs$core$IFn$_invoke$arity$1 ? sym.cljs$core$IFn$_invoke$arity$1(G__31646) : sym.call(null, G__31646)); +}); +cljs.pprint.set_field = (function cljs$pprint$set_field(this$,sym,new_val){ +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,sym,new_val); +}); +cljs.pprint.get_column = (function cljs$pprint$get_column(this$){ +return cljs.pprint.get_field(this$,new cljs.core.Keyword(null,"cur","cur",1153190599)); +}); +cljs.pprint.get_line = (function cljs$pprint$get_line(this$){ +return cljs.pprint.get_field(this$,new cljs.core.Keyword(null,"line","line",212345235)); +}); +cljs.pprint.get_max_column = (function cljs$pprint$get_max_column(this$){ +return cljs.pprint.get_field(this$,new cljs.core.Keyword(null,"max","max",61366548)); +}); +cljs.pprint.set_max_column = (function cljs$pprint$set_max_column(this$,new_max){ +cljs.pprint.set_field(this$,new cljs.core.Keyword(null,"max","max",61366548),new_max); + +return null; +}); +cljs.pprint.get_writer = (function cljs$pprint$get_writer(this$){ +return cljs.pprint.get_field(this$,new cljs.core.Keyword(null,"base","base",185279322)); +}); +cljs.pprint.c_write_char = (function cljs$pprint$c_write_char(this$,c){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(c,"\n")){ +cljs.pprint.set_field(this$,new cljs.core.Keyword(null,"cur","cur",1153190599),(0)); + +cljs.pprint.set_field(this$,new cljs.core.Keyword(null,"line","line",212345235),(cljs.pprint.get_field(this$,new cljs.core.Keyword(null,"line","line",212345235)) + (1))); +} else { +cljs.pprint.set_field(this$,new cljs.core.Keyword(null,"cur","cur",1153190599),(cljs.pprint.get_field(this$,new cljs.core.Keyword(null,"cur","cur",1153190599)) + (1))); +} + +return cljs.core._write(cljs.pprint.get_field(this$,new cljs.core.Keyword(null,"base","base",185279322)),c); +}); + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IDeref} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint31683 = (function (writer,max_columns,fields,meta31684){ +this.writer = writer; +this.max_columns = max_columns; +this.fields = fields; +this.meta31684 = meta31684; +this.cljs$lang$protocol_mask$partition0$ = 1074167808; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.pprint.t_cljs$pprint31683.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_31685,meta31684__$1){ +var self__ = this; +var _31685__$1 = this; +return (new cljs.pprint.t_cljs$pprint31683(self__.writer,self__.max_columns,self__.fields,meta31684__$1)); +})); + +(cljs.pprint.t_cljs$pprint31683.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_31685){ +var self__ = this; +var _31685__$1 = this; +return self__.meta31684; +})); + +(cljs.pprint.t_cljs$pprint31683.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.fields; +})); + +(cljs.pprint.t_cljs$pprint31683.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush(self__.writer); +})); + +(cljs.pprint.t_cljs$pprint31683.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__31690 = cljs.core._EQ_; +var expr__31691 = cljs.core.type(x); +if(cljs.core.truth_((pred__31690.cljs$core$IFn$_invoke$arity$2 ? pred__31690.cljs$core$IFn$_invoke$arity$2(String,expr__31691) : pred__31690.call(null, String,expr__31691)))){ +var s = x; +var nl = s.lastIndexOf("\n"); +if((nl < (0))){ +cljs.pprint.set_field(this$__$1,new cljs.core.Keyword(null,"cur","cur",1153190599),(cljs.pprint.get_field(this$__$1,new cljs.core.Keyword(null,"cur","cur",1153190599)) + cljs.core.count(s))); +} else { +cljs.pprint.set_field(this$__$1,new cljs.core.Keyword(null,"cur","cur",1153190599),((cljs.core.count(s) - nl) - (1))); + +cljs.pprint.set_field(this$__$1,new cljs.core.Keyword(null,"line","line",212345235),(cljs.pprint.get_field(this$__$1,new cljs.core.Keyword(null,"line","line",212345235)) + cljs.core.count(cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__31672_SHARP_){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p1__31672_SHARP_,"\n"); +}),s)))); +} + +return cljs.core._write(cljs.pprint.get_field(this$__$1,new cljs.core.Keyword(null,"base","base",185279322)),s); +} else { +if(cljs.core.truth_((pred__31690.cljs$core$IFn$_invoke$arity$2 ? pred__31690.cljs$core$IFn$_invoke$arity$2(Number,expr__31691) : pred__31690.call(null, Number,expr__31691)))){ +return cljs.pprint.c_write_char(this$__$1,x); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__31691)].join(''))); +} +} +})); + +(cljs.pprint.t_cljs$pprint31683.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"writer","writer",1362963291,null),new cljs.core.Symbol(null,"max-columns","max-columns",-912112507,null),new cljs.core.Symbol(null,"fields","fields",-291534703,null),new cljs.core.Symbol(null,"meta31684","meta31684",1744681749,null)], null); +})); + +(cljs.pprint.t_cljs$pprint31683.cljs$lang$type = true); + +(cljs.pprint.t_cljs$pprint31683.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint31683"); + +(cljs.pprint.t_cljs$pprint31683.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.pprint/t_cljs$pprint31683"); +})); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint31683. + */ +cljs.pprint.__GT_t_cljs$pprint31683 = (function cljs$pprint$__GT_t_cljs$pprint31683(writer,max_columns,fields,meta31684){ +return (new cljs.pprint.t_cljs$pprint31683(writer,max_columns,fields,meta31684)); +}); + + +cljs.pprint.column_writer = (function cljs$pprint$column_writer(var_args){ +var G__31677 = arguments.length; +switch (G__31677) { +case 1: +return cljs.pprint.column_writer.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.pprint.column_writer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.pprint.column_writer.cljs$core$IFn$_invoke$arity$1 = (function (writer){ +return cljs.pprint.column_writer.cljs$core$IFn$_invoke$arity$2(writer,cljs.pprint._STAR_default_page_width_STAR_); +})); + +(cljs.pprint.column_writer.cljs$core$IFn$_invoke$arity$2 = (function (writer,max_columns){ +var fields = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"max","max",61366548),max_columns,new cljs.core.Keyword(null,"cur","cur",1153190599),(0),new cljs.core.Keyword(null,"line","line",212345235),(0),new cljs.core.Keyword(null,"base","base",185279322),writer], null)); +return (new cljs.pprint.t_cljs$pprint31683(writer,max_columns,fields,cljs.core.PersistentArrayMap.EMPTY)); +})); + +(cljs.pprint.column_writer.cljs$lang$maxFixedArity = 2); + + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.logical_block = (function (parent,section,start_col,indent,done_nl,intra_block_nl,prefix,per_line_prefix,suffix,logical_block_callback,__meta,__extmap,__hash){ +this.parent = parent; +this.section = section; +this.start_col = start_col; +this.indent = indent; +this.done_nl = done_nl; +this.intra_block_nl = intra_block_nl; +this.prefix = prefix; +this.per_line_prefix = per_line_prefix; +this.suffix = suffix; +this.logical_block_callback = logical_block_callback; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.logical_block.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k31705,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__31718 = k31705; +var G__31718__$1 = (((G__31718 instanceof cljs.core.Keyword))?G__31718.fqn:null); +switch (G__31718__$1) { +case "parent": +return self__.parent; + +break; +case "section": +return self__.section; + +break; +case "start-col": +return self__.start_col; + +break; +case "indent": +return self__.indent; + +break; +case "done-nl": +return self__.done_nl; + +break; +case "intra-block-nl": +return self__.intra_block_nl; + +break; +case "prefix": +return self__.prefix; + +break; +case "per-line-prefix": +return self__.per_line_prefix; + +break; +case "suffix": +return self__.suffix; + +break; +case "logical-block-callback": +return self__.logical_block_callback; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k31705,else__5346__auto__); + +} +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__31724){ +var vec__31725 = p__31724; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31725,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31725,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.logical-block{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"parent","parent",-878878779),self__.parent],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"section","section",-300141526),self__.section],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"start-col","start-col",668080143),self__.start_col],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"indent","indent",-148200125),self__.indent],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),self__.done_nl],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),self__.intra_block_nl],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"prefix","prefix",-265908465),self__.prefix],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),self__.per_line_prefix],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"suffix","suffix",367373057),self__.suffix],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194),self__.logical_block_callback],null))], null),self__.__extmap)); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__31704){ +var self__ = this; +var G__31704__$1 = this; +return (new cljs.core.RecordIter((0),G__31704__$1,10,new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"parent","parent",-878878779),new cljs.core.Keyword(null,"section","section",-300141526),new cljs.core.Keyword(null,"start-col","start-col",668080143),new cljs.core.Keyword(null,"indent","indent",-148200125),new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),new cljs.core.Keyword(null,"prefix","prefix",-265908465),new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),new cljs.core.Keyword(null,"suffix","suffix",367373057),new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.logical_block.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (10 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (1977012399 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this31706,other31707){ +var self__ = this; +var this31706__$1 = this; +return (((!((other31707 == null)))) && ((((this31706__$1.constructor === other31707.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.parent,other31707.parent)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.section,other31707.section)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.start_col,other31707.start_col)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.indent,other31707.indent)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.done_nl,other31707.done_nl)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.intra_block_nl,other31707.intra_block_nl)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.prefix,other31707.prefix)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.per_line_prefix,other31707.per_line_prefix)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.suffix,other31707.suffix)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.logical_block_callback,other31707.logical_block_callback)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31706__$1.__extmap,other31707.__extmap))))))))))))))))))))))))); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 10, [new cljs.core.Keyword(null,"suffix","suffix",367373057),null,new cljs.core.Keyword(null,"indent","indent",-148200125),null,new cljs.core.Keyword(null,"parent","parent",-878878779),null,new cljs.core.Keyword(null,"section","section",-300141526),null,new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),null,new cljs.core.Keyword(null,"start-col","start-col",668080143),null,new cljs.core.Keyword(null,"prefix","prefix",-265908465),null,new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),null,new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194),null,new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k31705){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__31762 = k31705; +var G__31762__$1 = (((G__31762 instanceof cljs.core.Keyword))?G__31762.fqn:null); +switch (G__31762__$1) { +case "parent": +case "section": +case "start-col": +case "indent": +case "done-nl": +case "intra-block-nl": +case "prefix": +case "per-line-prefix": +case "suffix": +case "logical-block-callback": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k31705); + +} +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__31704){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__31763 = cljs.core.keyword_identical_QMARK_; +var expr__31764 = k__5352__auto__; +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"parent","parent",-878878779),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"parent","parent",-878878779),expr__31764)))){ +return (new cljs.pprint.logical_block(G__31704,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"section","section",-300141526),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"section","section",-300141526),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,G__31704,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"start-col","start-col",668080143),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"start-col","start-col",668080143),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,G__31704,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"indent","indent",-148200125),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"indent","indent",-148200125),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,G__31704,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,G__31704,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,G__31704,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"prefix","prefix",-265908465),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"prefix","prefix",-265908465),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,G__31704,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,G__31704,self__.suffix,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"suffix","suffix",367373057),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"suffix","suffix",367373057),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,G__31704,self__.logical_block_callback,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31763.cljs$core$IFn$_invoke$arity$2 ? pred__31763.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194),expr__31764) : pred__31763.call(null, new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194),expr__31764)))){ +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,G__31704,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__31704),null)); +} +} +} +} +} +} +} +} +} +} +})); + +(cljs.pprint.logical_block.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"parent","parent",-878878779),self__.parent,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"section","section",-300141526),self__.section,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"start-col","start-col",668080143),self__.start_col,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"indent","indent",-148200125),self__.indent,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),self__.done_nl,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),self__.intra_block_nl,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"prefix","prefix",-265908465),self__.prefix,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),self__.per_line_prefix,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"suffix","suffix",367373057),self__.suffix,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194),self__.logical_block_callback,null))], null),self__.__extmap)); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__31704){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.logical_block(self__.parent,self__.section,self__.start_col,self__.indent,self__.done_nl,self__.intra_block_nl,self__.prefix,self__.per_line_prefix,self__.suffix,self__.logical_block_callback,G__31704,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.logical_block.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.logical_block.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"parent","parent",761652748,null),new cljs.core.Symbol(null,"section","section",1340390001,null),new cljs.core.Symbol(null,"start-col","start-col",-1986355626,null),new cljs.core.Symbol(null,"indent","indent",1492331402,null),new cljs.core.Symbol(null,"done-nl","done-nl",1259507187,null),new cljs.core.Symbol(null,"intra-block-nl","intra-block-nl",-845608894,null),new cljs.core.Symbol(null,"prefix","prefix",1374623062,null),new cljs.core.Symbol(null,"per-line-prefix","per-line-prefix",-1807493956,null),new cljs.core.Symbol(null,"suffix","suffix",2007904584,null),new cljs.core.Symbol(null,"logical-block-callback","logical-block-callback",-1041744575,null)], null); +})); + +(cljs.pprint.logical_block.cljs$lang$type = true); + +(cljs.pprint.logical_block.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/logical-block",null,(1),null)); +})); + +(cljs.pprint.logical_block.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/logical-block"); +})); + +/** + * Positional factory function for cljs.pprint/logical-block. + */ +cljs.pprint.__GT_logical_block = (function cljs$pprint$__GT_logical_block(parent,section,start_col,indent,done_nl,intra_block_nl,prefix,per_line_prefix,suffix,logical_block_callback){ +return (new cljs.pprint.logical_block(parent,section,start_col,indent,done_nl,intra_block_nl,prefix,per_line_prefix,suffix,logical_block_callback,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/logical-block, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_logical_block = (function cljs$pprint$map__GT_logical_block(G__31711){ +var extmap__5385__auto__ = (function (){var G__31766 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__31711,new cljs.core.Keyword(null,"parent","parent",-878878779),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"section","section",-300141526),new cljs.core.Keyword(null,"start-col","start-col",668080143),new cljs.core.Keyword(null,"indent","indent",-148200125),new cljs.core.Keyword(null,"done-nl","done-nl",-381024340),new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875),new cljs.core.Keyword(null,"prefix","prefix",-265908465),new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813),new cljs.core.Keyword(null,"suffix","suffix",367373057),new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194)], 0)); +if(cljs.core.record_QMARK_(G__31711)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__31766); +} else { +return G__31766; +} +})(); +return (new cljs.pprint.logical_block(new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"section","section",-300141526).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"prefix","prefix",-265908465).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"suffix","suffix",367373057).cljs$core$IFn$_invoke$arity$1(G__31711),new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(G__31711),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + +cljs.pprint.ancestor_QMARK_ = (function cljs$pprint$ancestor_QMARK_(parent,child){ +var child__$1 = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(child); +while(true){ +if((child__$1 == null)){ +return false; +} else { +if((parent === child__$1)){ +return true; +} else { +var G__36042 = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(child__$1); +child__$1 = G__36042; +continue; + +} +} +break; +} +}); +cljs.pprint.buffer_length = (function cljs$pprint$buffer_length(l){ +var l__$1 = cljs.core.seq(l); +if(l__$1){ +return (new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(cljs.core.last(l__$1)) - new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(cljs.core.first(l__$1))); +} else { +return (0); +} +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.buffer_blob = (function (type_tag,data,trailing_white_space,start_pos,end_pos,__meta,__extmap,__hash){ +this.type_tag = type_tag; +this.data = data; +this.trailing_white_space = trailing_white_space; +this.start_pos = start_pos; +this.end_pos = end_pos; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.buffer_blob.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k31768,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__31772 = k31768; +var G__31772__$1 = (((G__31772 instanceof cljs.core.Keyword))?G__31772.fqn:null); +switch (G__31772__$1) { +case "type-tag": +return self__.type_tag; + +break; +case "data": +return self__.data; + +break; +case "trailing-white-space": +return self__.trailing_white_space; + +break; +case "start-pos": +return self__.start_pos; + +break; +case "end-pos": +return self__.end_pos; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k31768,else__5346__auto__); + +} +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__31773){ +var vec__31774 = p__31773; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31774,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31774,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.buffer-blob{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"data","data",-232669377),self__.data],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),self__.trailing_white_space],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos],null))], null),self__.__extmap)); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__31767){ +var self__ = this; +var G__31767__$1 = this; +return (new cljs.core.RecordIter((0),G__31767__$1,5,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),new cljs.core.Keyword(null,"data","data",-232669377),new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (5 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (1809113693 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this31769,other31770){ +var self__ = this; +var this31769__$1 = this; +return (((!((other31770 == null)))) && ((((this31769__$1.constructor === other31770.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31769__$1.type_tag,other31770.type_tag)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31769__$1.data,other31770.data)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31769__$1.trailing_white_space,other31770.trailing_white_space)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31769__$1.start_pos,other31770.start_pos)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31769__$1.end_pos,other31770.end_pos)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31769__$1.__extmap,other31770.__extmap))))))))))))))); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),null,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),null,new cljs.core.Keyword(null,"data","data",-232669377),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k31768){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__31777 = k31768; +var G__31777__$1 = (((G__31777 instanceof cljs.core.Keyword))?G__31777.fqn:null); +switch (G__31777__$1) { +case "type-tag": +case "data": +case "trailing-white-space": +case "start-pos": +case "end-pos": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k31768); + +} +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__31767){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__31778 = cljs.core.keyword_identical_QMARK_; +var expr__31779 = k__5352__auto__; +if(cljs.core.truth_((pred__31778.cljs$core$IFn$_invoke$arity$2 ? pred__31778.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__31779) : pred__31778.call(null, new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__31779)))){ +return (new cljs.pprint.buffer_blob(G__31767,self__.data,self__.trailing_white_space,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31778.cljs$core$IFn$_invoke$arity$2 ? pred__31778.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"data","data",-232669377),expr__31779) : pred__31778.call(null, new cljs.core.Keyword(null,"data","data",-232669377),expr__31779)))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,G__31767,self__.trailing_white_space,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31778.cljs$core$IFn$_invoke$arity$2 ? pred__31778.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),expr__31779) : pred__31778.call(null, new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),expr__31779)))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,G__31767,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31778.cljs$core$IFn$_invoke$arity$2 ? pred__31778.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__31779) : pred__31778.call(null, new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__31779)))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,G__31767,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31778.cljs$core$IFn$_invoke$arity$2 ? pred__31778.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__31779) : pred__31778.call(null, new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__31779)))){ +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,self__.start_pos,G__31767,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__31767),null)); +} +} +} +} +} +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"data","data",-232669377),self__.data,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),self__.trailing_white_space,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos,null))], null),self__.__extmap)); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__31767){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.buffer_blob(self__.type_tag,self__.data,self__.trailing_white_space,self__.start_pos,self__.end_pos,G__31767,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.buffer_blob.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.buffer_blob.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"type-tag","type-tag",-233331740,null),new cljs.core.Symbol(null,"data","data",1407862150,null),new cljs.core.Symbol(null,"trailing-white-space","trailing-white-space",-1158428773,null),new cljs.core.Symbol(null,"start-pos","start-pos",-1985646683,null),new cljs.core.Symbol(null,"end-pos","end-pos",-3352399,null)], null); +})); + +(cljs.pprint.buffer_blob.cljs$lang$type = true); + +(cljs.pprint.buffer_blob.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/buffer-blob",null,(1),null)); +})); + +(cljs.pprint.buffer_blob.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/buffer-blob"); +})); + +/** + * Positional factory function for cljs.pprint/buffer-blob. + */ +cljs.pprint.__GT_buffer_blob = (function cljs$pprint$__GT_buffer_blob(type_tag,data,trailing_white_space,start_pos,end_pos){ +return (new cljs.pprint.buffer_blob(type_tag,data,trailing_white_space,start_pos,end_pos,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/buffer-blob, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_buffer_blob = (function cljs$pprint$map__GT_buffer_blob(G__31771){ +var extmap__5385__auto__ = (function (){var G__31781 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__31771,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data","data",-232669377),new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], 0)); +if(cljs.core.record_QMARK_(G__31771)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__31781); +} else { +return G__31781; +} +})(); +return (new cljs.pprint.buffer_blob(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__31771),new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(G__31771),new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(G__31771),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__31771),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__31771),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + + +cljs.pprint.make_buffer_blob = (function cljs$pprint$make_buffer_blob(data,trailing_white_space,start_pos,end_pos){ +return (new cljs.pprint.buffer_blob(new cljs.core.Keyword(null,"buffer-blob","buffer-blob",-1830112173),data,trailing_white_space,start_pos,end_pos,null,null,null)); +}); + +cljs.pprint.buffer_blob_QMARK_ = (function cljs$pprint$buffer_blob_QMARK_(x__31270__auto__){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__31270__auto__),new cljs.core.Keyword(null,"buffer-blob","buffer-blob",-1830112173)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.nl_t = (function (type_tag,type,logical_block,start_pos,end_pos,__meta,__extmap,__hash){ +this.type_tag = type_tag; +this.type = type; +this.logical_block = logical_block; +this.start_pos = start_pos; +this.end_pos = end_pos; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.nl_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k31783,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__31793 = k31783; +var G__31793__$1 = (((G__31793 instanceof cljs.core.Keyword))?G__31793.fqn:null); +switch (G__31793__$1) { +case "type-tag": +return self__.type_tag; + +break; +case "type": +return self__.type; + +break; +case "logical-block": +return self__.logical_block; + +break; +case "start-pos": +return self__.start_pos; + +break; +case "end-pos": +return self__.end_pos; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k31783,else__5346__auto__); + +} +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__31794){ +var vec__31795 = p__31794; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31795,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31795,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.nl-t{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"type","type",1174270348),self__.type],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos],null))], null),self__.__extmap)); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__31782){ +var self__ = this; +var G__31782__$1 = this; +return (new cljs.core.RecordIter((0),G__31782__$1,5,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.nl_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (5 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (-1640656800 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this31784,other31785){ +var self__ = this; +var this31784__$1 = this; +return (((!((other31785 == null)))) && ((((this31784__$1.constructor === other31785.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31784__$1.type_tag,other31785.type_tag)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31784__$1.type,other31785.type)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31784__$1.logical_block,other31785.logical_block)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31784__$1.start_pos,other31785.start_pos)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31784__$1.end_pos,other31785.end_pos)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31784__$1.__extmap,other31785.__extmap))))))))))))))); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),null,new cljs.core.Keyword(null,"type","type",1174270348),null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k31783){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__31844 = k31783; +var G__31844__$1 = (((G__31844 instanceof cljs.core.Keyword))?G__31844.fqn:null); +switch (G__31844__$1) { +case "type-tag": +case "type": +case "logical-block": +case "start-pos": +case "end-pos": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k31783); + +} +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__31782){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__31847 = cljs.core.keyword_identical_QMARK_; +var expr__31848 = k__5352__auto__; +if(cljs.core.truth_((pred__31847.cljs$core$IFn$_invoke$arity$2 ? pred__31847.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__31848) : pred__31847.call(null, new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__31848)))){ +return (new cljs.pprint.nl_t(G__31782,self__.type,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31847.cljs$core$IFn$_invoke$arity$2 ? pred__31847.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type","type",1174270348),expr__31848) : pred__31847.call(null, new cljs.core.Keyword(null,"type","type",1174270348),expr__31848)))){ +return (new cljs.pprint.nl_t(self__.type_tag,G__31782,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31847.cljs$core$IFn$_invoke$arity$2 ? pred__31847.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__31848) : pred__31847.call(null, new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__31848)))){ +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,G__31782,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31847.cljs$core$IFn$_invoke$arity$2 ? pred__31847.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__31848) : pred__31847.call(null, new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__31848)))){ +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,G__31782,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31847.cljs$core$IFn$_invoke$arity$2 ? pred__31847.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__31848) : pred__31847.call(null, new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__31848)))){ +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,self__.start_pos,G__31782,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__31782),null)); +} +} +} +} +} +})); + +(cljs.pprint.nl_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"type","type",1174270348),self__.type,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos,null))], null),self__.__extmap)); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__31782){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.nl_t(self__.type_tag,self__.type,self__.logical_block,self__.start_pos,self__.end_pos,G__31782,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.nl_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.nl_t.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"type-tag","type-tag",-233331740,null),new cljs.core.Symbol(null,"type","type",-1480165421,null),new cljs.core.Symbol(null,"logical-block","logical-block",1059508963,null),new cljs.core.Symbol(null,"start-pos","start-pos",-1985646683,null),new cljs.core.Symbol(null,"end-pos","end-pos",-3352399,null)], null); +})); + +(cljs.pprint.nl_t.cljs$lang$type = true); + +(cljs.pprint.nl_t.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/nl-t",null,(1),null)); +})); + +(cljs.pprint.nl_t.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/nl-t"); +})); + +/** + * Positional factory function for cljs.pprint/nl-t. + */ +cljs.pprint.__GT_nl_t = (function cljs$pprint$__GT_nl_t(type_tag,type,logical_block,start_pos,end_pos){ +return (new cljs.pprint.nl_t(type_tag,type,logical_block,start_pos,end_pos,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/nl-t, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_nl_t = (function cljs$pprint$map__GT_nl_t(G__31786){ +var extmap__5385__auto__ = (function (){var G__31865 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__31786,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], 0)); +if(cljs.core.record_QMARK_(G__31786)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__31865); +} else { +return G__31865; +} +})(); +return (new cljs.pprint.nl_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__31786),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(G__31786),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__31786),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__31786),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__31786),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + + +cljs.pprint.make_nl_t = (function cljs$pprint$make_nl_t(type,logical_block,start_pos,end_pos){ +return (new cljs.pprint.nl_t(new cljs.core.Keyword(null,"nl-t","nl-t",-1608382114),type,logical_block,start_pos,end_pos,null,null,null)); +}); + +cljs.pprint.nl_t_QMARK_ = (function cljs$pprint$nl_t_QMARK_(x__31270__auto__){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__31270__auto__),new cljs.core.Keyword(null,"nl-t","nl-t",-1608382114)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.start_block_t = (function (type_tag,logical_block,start_pos,end_pos,__meta,__extmap,__hash){ +this.type_tag = type_tag; +this.logical_block = logical_block; +this.start_pos = start_pos; +this.end_pos = end_pos; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.start_block_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k31878,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__31887 = k31878; +var G__31887__$1 = (((G__31887 instanceof cljs.core.Keyword))?G__31887.fqn:null); +switch (G__31887__$1) { +case "type-tag": +return self__.type_tag; + +break; +case "logical-block": +return self__.logical_block; + +break; +case "start-pos": +return self__.start_pos; + +break; +case "end-pos": +return self__.end_pos; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k31878,else__5346__auto__); + +} +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__31891){ +var vec__31892 = p__31891; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31892,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31892,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.start-block-t{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos],null))], null),self__.__extmap)); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__31877){ +var self__ = this; +var G__31877__$1 = this; +return (new cljs.core.RecordIter((0),G__31877__$1,4,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (4 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (-414877272 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this31879,other31880){ +var self__ = this; +var this31879__$1 = this; +return (((!((other31880 == null)))) && ((((this31879__$1.constructor === other31880.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31879__$1.type_tag,other31880.type_tag)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31879__$1.logical_block,other31880.logical_block)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31879__$1.start_pos,other31880.start_pos)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31879__$1.end_pos,other31880.end_pos)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31879__$1.__extmap,other31880.__extmap))))))))))))); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k31878){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__31932 = k31878; +var G__31932__$1 = (((G__31932 instanceof cljs.core.Keyword))?G__31932.fqn:null); +switch (G__31932__$1) { +case "type-tag": +case "logical-block": +case "start-pos": +case "end-pos": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k31878); + +} +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__31877){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__31936 = cljs.core.keyword_identical_QMARK_; +var expr__31937 = k__5352__auto__; +if(cljs.core.truth_((pred__31936.cljs$core$IFn$_invoke$arity$2 ? pred__31936.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__31937) : pred__31936.call(null, new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__31937)))){ +return (new cljs.pprint.start_block_t(G__31877,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31936.cljs$core$IFn$_invoke$arity$2 ? pred__31936.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__31937) : pred__31936.call(null, new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__31937)))){ +return (new cljs.pprint.start_block_t(self__.type_tag,G__31877,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31936.cljs$core$IFn$_invoke$arity$2 ? pred__31936.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__31937) : pred__31936.call(null, new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__31937)))){ +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,G__31877,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__31936.cljs$core$IFn$_invoke$arity$2 ? pred__31936.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__31937) : pred__31936.call(null, new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__31937)))){ +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,self__.start_pos,G__31877,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__31877),null)); +} +} +} +} +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos,null))], null),self__.__extmap)); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__31877){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.start_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,G__31877,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.start_block_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.start_block_t.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"type-tag","type-tag",-233331740,null),new cljs.core.Symbol(null,"logical-block","logical-block",1059508963,null),new cljs.core.Symbol(null,"start-pos","start-pos",-1985646683,null),new cljs.core.Symbol(null,"end-pos","end-pos",-3352399,null)], null); +})); + +(cljs.pprint.start_block_t.cljs$lang$type = true); + +(cljs.pprint.start_block_t.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/start-block-t",null,(1),null)); +})); + +(cljs.pprint.start_block_t.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/start-block-t"); +})); + +/** + * Positional factory function for cljs.pprint/start-block-t. + */ +cljs.pprint.__GT_start_block_t = (function cljs$pprint$__GT_start_block_t(type_tag,logical_block,start_pos,end_pos){ +return (new cljs.pprint.start_block_t(type_tag,logical_block,start_pos,end_pos,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/start-block-t, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_start_block_t = (function cljs$pprint$map__GT_start_block_t(G__31881){ +var extmap__5385__auto__ = (function (){var G__31967 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__31881,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], 0)); +if(cljs.core.record_QMARK_(G__31881)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__31967); +} else { +return G__31967; +} +})(); +return (new cljs.pprint.start_block_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__31881),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__31881),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__31881),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__31881),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + + +cljs.pprint.make_start_block_t = (function cljs$pprint$make_start_block_t(logical_block,start_pos,end_pos){ +return (new cljs.pprint.start_block_t(new cljs.core.Keyword(null,"start-block-t","start-block-t",-373430594),logical_block,start_pos,end_pos,null,null,null)); +}); + +cljs.pprint.start_block_t_QMARK_ = (function cljs$pprint$start_block_t_QMARK_(x__31270__auto__){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__31270__auto__),new cljs.core.Keyword(null,"start-block-t","start-block-t",-373430594)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.end_block_t = (function (type_tag,logical_block,start_pos,end_pos,__meta,__extmap,__hash){ +this.type_tag = type_tag; +this.logical_block = logical_block; +this.start_pos = start_pos; +this.end_pos = end_pos; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.end_block_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k31981,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__31995 = k31981; +var G__31995__$1 = (((G__31995 instanceof cljs.core.Keyword))?G__31995.fqn:null); +switch (G__31995__$1) { +case "type-tag": +return self__.type_tag; + +break; +case "logical-block": +return self__.logical_block; + +break; +case "start-pos": +return self__.start_pos; + +break; +case "end-pos": +return self__.end_pos; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k31981,else__5346__auto__); + +} +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__32013){ +var vec__32014 = p__32013; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32014,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32014,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.end-block-t{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos],null))], null),self__.__extmap)); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__31980){ +var self__ = this; +var G__31980__$1 = this; +return (new cljs.core.RecordIter((0),G__31980__$1,4,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (4 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (1365867980 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this31982,other31983){ +var self__ = this; +var this31982__$1 = this; +return (((!((other31983 == null)))) && ((((this31982__$1.constructor === other31983.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31982__$1.type_tag,other31983.type_tag)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31982__$1.logical_block,other31983.logical_block)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31982__$1.start_pos,other31983.start_pos)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31982__$1.end_pos,other31983.end_pos)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this31982__$1.__extmap,other31983.__extmap))))))))))))); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k31981){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__32060 = k31981; +var G__32060__$1 = (((G__32060 instanceof cljs.core.Keyword))?G__32060.fqn:null); +switch (G__32060__$1) { +case "type-tag": +case "logical-block": +case "start-pos": +case "end-pos": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k31981); + +} +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__31980){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__32068 = cljs.core.keyword_identical_QMARK_; +var expr__32069 = k__5352__auto__; +if(cljs.core.truth_((pred__32068.cljs$core$IFn$_invoke$arity$2 ? pred__32068.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__32069) : pred__32068.call(null, new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__32069)))){ +return (new cljs.pprint.end_block_t(G__31980,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32068.cljs$core$IFn$_invoke$arity$2 ? pred__32068.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__32069) : pred__32068.call(null, new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__32069)))){ +return (new cljs.pprint.end_block_t(self__.type_tag,G__31980,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32068.cljs$core$IFn$_invoke$arity$2 ? pred__32068.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__32069) : pred__32068.call(null, new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__32069)))){ +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,G__31980,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32068.cljs$core$IFn$_invoke$arity$2 ? pred__32068.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__32069) : pred__32068.call(null, new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__32069)))){ +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,self__.start_pos,G__31980,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__31980),null)); +} +} +} +} +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos,null))], null),self__.__extmap)); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__31980){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.end_block_t(self__.type_tag,self__.logical_block,self__.start_pos,self__.end_pos,G__31980,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.end_block_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.end_block_t.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"type-tag","type-tag",-233331740,null),new cljs.core.Symbol(null,"logical-block","logical-block",1059508963,null),new cljs.core.Symbol(null,"start-pos","start-pos",-1985646683,null),new cljs.core.Symbol(null,"end-pos","end-pos",-3352399,null)], null); +})); + +(cljs.pprint.end_block_t.cljs$lang$type = true); + +(cljs.pprint.end_block_t.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/end-block-t",null,(1),null)); +})); + +(cljs.pprint.end_block_t.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/end-block-t"); +})); + +/** + * Positional factory function for cljs.pprint/end-block-t. + */ +cljs.pprint.__GT_end_block_t = (function cljs$pprint$__GT_end_block_t(type_tag,logical_block,start_pos,end_pos){ +return (new cljs.pprint.end_block_t(type_tag,logical_block,start_pos,end_pos,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/end-block-t, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_end_block_t = (function cljs$pprint$map__GT_end_block_t(G__31987){ +var extmap__5385__auto__ = (function (){var G__32078 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__31987,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], 0)); +if(cljs.core.record_QMARK_(G__31987)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__32078); +} else { +return G__32078; +} +})(); +return (new cljs.pprint.end_block_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__31987),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__31987),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__31987),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__31987),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + + +cljs.pprint.make_end_block_t = (function cljs$pprint$make_end_block_t(logical_block,start_pos,end_pos){ +return (new cljs.pprint.end_block_t(new cljs.core.Keyword(null,"end-block-t","end-block-t",1544648735),logical_block,start_pos,end_pos,null,null,null)); +}); + +cljs.pprint.end_block_t_QMARK_ = (function cljs$pprint$end_block_t_QMARK_(x__31270__auto__){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__31270__auto__),new cljs.core.Keyword(null,"end-block-t","end-block-t",1544648735)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.indent_t = (function (type_tag,logical_block,relative_to,offset,start_pos,end_pos,__meta,__extmap,__hash){ +this.type_tag = type_tag; +this.logical_block = logical_block; +this.relative_to = relative_to; +this.offset = offset; +this.start_pos = start_pos; +this.end_pos = end_pos; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.indent_t.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k32092,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__32125 = k32092; +var G__32125__$1 = (((G__32125 instanceof cljs.core.Keyword))?G__32125.fqn:null); +switch (G__32125__$1) { +case "type-tag": +return self__.type_tag; + +break; +case "logical-block": +return self__.logical_block; + +break; +case "relative-to": +return self__.relative_to; + +break; +case "offset": +return self__.offset; + +break; +case "start-pos": +return self__.start_pos; + +break; +case "end-pos": +return self__.end_pos; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k32092,else__5346__auto__); + +} +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__32141){ +var vec__32144 = p__32141; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32144,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32144,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.indent-t{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),self__.relative_to],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"offset","offset",296498311),self__.offset],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos],null))], null),self__.__extmap)); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__32091){ +var self__ = this; +var G__32091__$1 = this; +return (new cljs.core.RecordIter((0),G__32091__$1,6,new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),new cljs.core.Keyword(null,"offset","offset",296498311),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.indent_t.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (6 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (-1602780238 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this32093,other32094){ +var self__ = this; +var this32093__$1 = this; +return (((!((other32094 == null)))) && ((((this32093__$1.constructor === other32094.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32093__$1.type_tag,other32094.type_tag)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32093__$1.logical_block,other32094.logical_block)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32093__$1.relative_to,other32094.relative_to)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32093__$1.offset,other32094.offset)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32093__$1.start_pos,other32094.start_pos)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32093__$1.end_pos,other32094.end_pos)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32093__$1.__extmap,other32094.__extmap))))))))))))))))); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"offset","offset",296498311),null,new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),null,new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),null,new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),null,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),null,new cljs.core.Keyword(null,"start-pos","start-pos",668789086),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k32092){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__32182 = k32092; +var G__32182__$1 = (((G__32182 instanceof cljs.core.Keyword))?G__32182.fqn:null); +switch (G__32182__$1) { +case "type-tag": +case "logical-block": +case "relative-to": +case "offset": +case "start-pos": +case "end-pos": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k32092); + +} +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__32091){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__32184 = cljs.core.keyword_identical_QMARK_; +var expr__32185 = k__5352__auto__; +if(cljs.core.truth_((pred__32184.cljs$core$IFn$_invoke$arity$2 ? pred__32184.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__32185) : pred__32184.call(null, new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),expr__32185)))){ +return (new cljs.pprint.indent_t(G__32091,self__.logical_block,self__.relative_to,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32184.cljs$core$IFn$_invoke$arity$2 ? pred__32184.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__32185) : pred__32184.call(null, new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),expr__32185)))){ +return (new cljs.pprint.indent_t(self__.type_tag,G__32091,self__.relative_to,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32184.cljs$core$IFn$_invoke$arity$2 ? pred__32184.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),expr__32185) : pred__32184.call(null, new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),expr__32185)))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,G__32091,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32184.cljs$core$IFn$_invoke$arity$2 ? pred__32184.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"offset","offset",296498311),expr__32185) : pred__32184.call(null, new cljs.core.Keyword(null,"offset","offset",296498311),expr__32185)))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,G__32091,self__.start_pos,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32184.cljs$core$IFn$_invoke$arity$2 ? pred__32184.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__32185) : pred__32184.call(null, new cljs.core.Keyword(null,"start-pos","start-pos",668789086),expr__32185)))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,G__32091,self__.end_pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32184.cljs$core$IFn$_invoke$arity$2 ? pred__32184.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__32185) : pred__32184.call(null, new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),expr__32185)))){ +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,self__.start_pos,G__32091,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,self__.start_pos,self__.end_pos,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__32091),null)); +} +} +} +} +} +} +})); + +(cljs.pprint.indent_t.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),self__.type_tag,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),self__.logical_block,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),self__.relative_to,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"offset","offset",296498311),self__.offset,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"start-pos","start-pos",668789086),self__.start_pos,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926),self__.end_pos,null))], null),self__.__extmap)); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__32091){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.indent_t(self__.type_tag,self__.logical_block,self__.relative_to,self__.offset,self__.start_pos,self__.end_pos,G__32091,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.indent_t.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.indent_t.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"type-tag","type-tag",-233331740,null),new cljs.core.Symbol(null,"logical-block","logical-block",1059508963,null),new cljs.core.Symbol(null,"relative-to","relative-to",1170431476,null),new cljs.core.Symbol(null,"offset","offset",1937029838,null),new cljs.core.Symbol(null,"start-pos","start-pos",-1985646683,null),new cljs.core.Symbol(null,"end-pos","end-pos",-3352399,null)], null); +})); + +(cljs.pprint.indent_t.cljs$lang$type = true); + +(cljs.pprint.indent_t.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/indent-t",null,(1),null)); +})); + +(cljs.pprint.indent_t.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/indent-t"); +})); + +/** + * Positional factory function for cljs.pprint/indent-t. + */ +cljs.pprint.__GT_indent_t = (function cljs$pprint$__GT_indent_t(type_tag,logical_block,relative_to,offset,start_pos,end_pos){ +return (new cljs.pprint.indent_t(type_tag,logical_block,relative_to,offset,start_pos,end_pos,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/indent-t, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_indent_t = (function cljs$pprint$map__GT_indent_t(G__32097){ +var extmap__5385__auto__ = (function (){var G__32200 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__32097,new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"logical-block","logical-block",-581022564),new cljs.core.Keyword(null,"relative-to","relative-to",-470100051),new cljs.core.Keyword(null,"offset","offset",296498311),new cljs.core.Keyword(null,"start-pos","start-pos",668789086),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926)], 0)); +if(cljs.core.record_QMARK_(G__32097)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__32200); +} else { +return G__32200; +} +})(); +return (new cljs.pprint.indent_t(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(G__32097),new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(G__32097),new cljs.core.Keyword(null,"relative-to","relative-to",-470100051).cljs$core$IFn$_invoke$arity$1(G__32097),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(G__32097),new cljs.core.Keyword(null,"start-pos","start-pos",668789086).cljs$core$IFn$_invoke$arity$1(G__32097),new cljs.core.Keyword(null,"end-pos","end-pos",-1643883926).cljs$core$IFn$_invoke$arity$1(G__32097),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + + +cljs.pprint.make_indent_t = (function cljs$pprint$make_indent_t(logical_block,relative_to,offset,start_pos,end_pos){ +return (new cljs.pprint.indent_t(new cljs.core.Keyword(null,"indent-t","indent-t",528318969),logical_block,relative_to,offset,start_pos,end_pos,null,null,null)); +}); + +cljs.pprint.indent_t_QMARK_ = (function cljs$pprint$indent_t_QMARK_(x__31270__auto__){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(x__31270__auto__),new cljs.core.Keyword(null,"indent-t","indent-t",528318969)); +}); +cljs.pprint.pp_newline = (function cljs$pprint$pp_newline(){ +return "\n"; +}); +if((typeof cljs !== 'undefined') && (typeof cljs.pprint !== 'undefined') && (typeof cljs.pprint.write_token !== 'undefined')){ +} else { +cljs.pprint.write_token = (function (){var method_table__5642__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__5643__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var method_cache__5644__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__5645__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__5646__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$3(cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),(function (){var fexpr__32226 = cljs.core.get_global_hierarchy; +return (fexpr__32226.cljs$core$IFn$_invoke$arity$0 ? fexpr__32226.cljs$core$IFn$_invoke$arity$0() : fexpr__32226.call(null, )); +})()); +return (new cljs.core.MultiFn(cljs.core.symbol.cljs$core$IFn$_invoke$arity$2("cljs.pprint","write-token"),(function (p1__32222_SHARP_,p2__32221_SHARP_){ +return new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(p2__32221_SHARP_); +}),new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__5646__auto__,method_table__5642__auto__,prefer_table__5643__auto__,method_cache__5644__auto__,cached_hierarchy__5645__auto__)); +})(); +} +cljs.pprint.write_token.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"start-block-t","start-block-t",-373430594),(function (this$,token){ +var temp__5823__auto___36248 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5823__auto___36248)){ +var cb_36250 = temp__5823__auto___36248; +(cb_36250.cljs$core$IFn$_invoke$arity$1 ? cb_36250.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"start","start",-355208981)) : cb_36250.call(null, new cljs.core.Keyword(null,"start","start",-355208981))); +} else { +} + +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(token); +var temp__5823__auto___36251 = new cljs.core.Keyword(null,"prefix","prefix",-265908465).cljs$core$IFn$_invoke$arity$1(lb); +if(cljs.core.truth_(temp__5823__auto___36251)){ +var prefix_36252 = temp__5823__auto___36251; +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),prefix_36252); +} else { +} + +var col = cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$)))); +cljs.core.reset_BANG_(new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb),col); + +return cljs.core.reset_BANG_(new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb),col); +})); +cljs.pprint.write_token.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"end-block-t","end-block-t",1544648735),(function (this$,token){ +var temp__5823__auto___36255 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5823__auto___36255)){ +var cb_36256 = temp__5823__auto___36255; +(cb_36256.cljs$core$IFn$_invoke$arity$1 ? cb_36256.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"end","end",-268185958)) : cb_36256.call(null, new cljs.core.Keyword(null,"end","end",-268185958))); +} else { +} + +var temp__5823__auto__ = new cljs.core.Keyword(null,"suffix","suffix",367373057).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(token)); +if(cljs.core.truth_(temp__5823__auto__)){ +var suffix = temp__5823__auto__; +return cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),suffix); +} else { +return null; +} +})); +cljs.pprint.write_token.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"indent-t","indent-t",528318969),(function (this$,token){ +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(token); +return cljs.core.reset_BANG_(new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb),(new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(token) + (function (){var pred__32269 = cljs.core._EQ_; +var expr__32270 = new cljs.core.Keyword(null,"relative-to","relative-to",-470100051).cljs$core$IFn$_invoke$arity$1(token); +if(cljs.core.truth_((pred__32269.cljs$core$IFn$_invoke$arity$2 ? pred__32269.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"block","block",664686210),expr__32270) : pred__32269.call(null, new cljs.core.Keyword(null,"block","block",664686210),expr__32270)))){ +return cljs.core.deref(new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb)); +} else { +if(cljs.core.truth_((pred__32269.cljs$core$IFn$_invoke$arity$2 ? pred__32269.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"current","current",-1088038603),expr__32270) : pred__32269.call(null, new cljs.core.Keyword(null,"current","current",-1088038603),expr__32270)))){ +return cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$)))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__32270)].join(''))); +} +} +})())); +})); +cljs.pprint.write_token.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"buffer-blob","buffer-blob",-1830112173),(function (this$,token){ +return cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(token)); +})); +cljs.pprint.write_token.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"nl-t","nl-t",-1608382114),(function (this$,token){ +if(cljs.core.truth_((function (){var or__5045__auto__ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(token),new cljs.core.Keyword(null,"mandatory","mandatory",542802336)); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = (!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(token),new cljs.core.Keyword(null,"fill","fill",883462889)))); +if(and__5043__auto__){ +return cljs.core.deref(new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(token))); +} else { +return and__5043__auto__; +} +} +})())){ +(cljs.pprint.emit_nl.cljs$core$IFn$_invoke$arity$2 ? cljs.pprint.emit_nl.cljs$core$IFn$_invoke$arity$2(this$,token) : cljs.pprint.emit_nl.call(null, this$,token)); +} else { +var temp__5821__auto___36266 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5821__auto___36266)){ +var tws_36267 = temp__5821__auto___36266; +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),tws_36267); +} else { +} +} + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null); +})); +cljs.pprint.write_tokens = (function cljs$pprint$write_tokens(this$,tokens,force_trailing_whitespace){ +var seq__32302 = cljs.core.seq(tokens); +var chunk__32303 = null; +var count__32304 = (0); +var i__32305 = (0); +while(true){ +if((i__32305 < count__32304)){ +var token = chunk__32303.cljs$core$IIndexed$_nth$arity$2(null, i__32305); +if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(token),new cljs.core.Keyword(null,"nl-t","nl-t",-1608382114))))){ +var temp__5821__auto___36278 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5821__auto___36278)){ +var tws_36279 = temp__5821__auto___36278; +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),tws_36279); +} else { +} +} else { +} + +cljs.pprint.write_token.cljs$core$IFn$_invoke$arity$2(this$,token); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(token)); + +var tws_36281 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_((function (){var and__5043__auto__ = force_trailing_whitespace; +if(cljs.core.truth_(and__5043__auto__)){ +return tws_36281; +} else { +return and__5043__auto__; +} +})())){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),tws_36281); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null); +} else { +} + + +var G__36283 = seq__32302; +var G__36284 = chunk__32303; +var G__36285 = count__32304; +var G__36286 = (i__32305 + (1)); +seq__32302 = G__36283; +chunk__32303 = G__36284; +count__32304 = G__36285; +i__32305 = G__36286; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__32302); +if(temp__5823__auto__){ +var seq__32302__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__32302__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__32302__$1); +var G__36288 = cljs.core.chunk_rest(seq__32302__$1); +var G__36289 = c__5568__auto__; +var G__36290 = cljs.core.count(c__5568__auto__); +var G__36291 = (0); +seq__32302 = G__36288; +chunk__32303 = G__36289; +count__32304 = G__36290; +i__32305 = G__36291; +continue; +} else { +var token = cljs.core.first(seq__32302__$1); +if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"type-tag","type-tag",-1873863267).cljs$core$IFn$_invoke$arity$1(token),new cljs.core.Keyword(null,"nl-t","nl-t",-1608382114))))){ +var temp__5821__auto___36296 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5821__auto___36296)){ +var tws_36298 = temp__5821__auto___36296; +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),tws_36298); +} else { +} +} else { +} + +cljs.pprint.write_token.cljs$core$IFn$_invoke$arity$2(this$,token); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(token)); + +var tws_36303 = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_((function (){var and__5043__auto__ = force_trailing_whitespace; +if(cljs.core.truth_(and__5043__auto__)){ +return tws_36303; +} else { +return and__5043__auto__; +} +})())){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),tws_36303); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null); +} else { +} + + +var G__36305 = cljs.core.next(seq__32302__$1); +var G__36306 = null; +var G__36307 = (0); +var G__36308 = (0); +seq__32302 = G__36305; +chunk__32303 = G__36306; +count__32304 = G__36307; +i__32305 = G__36308; +continue; +} +} else { +return null; +} +} +break; +} +}); +cljs.pprint.tokens_fit_QMARK_ = (function cljs$pprint$tokens_fit_QMARK_(this$,tokens){ +var maxcol = cljs.pprint.get_max_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$)))); +return (((maxcol == null)) || (((cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$)))) + cljs.pprint.buffer_length(tokens)) < maxcol))); +}); +cljs.pprint.linear_nl_QMARK_ = (function cljs$pprint$linear_nl_QMARK_(this$,lb,section){ +var or__5045__auto__ = cljs.core.deref(new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(lb)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (!(cljs.pprint.tokens_fit_QMARK_(this$,section))); +} +}); +cljs.pprint.miser_nl_QMARK_ = (function cljs$pprint$miser_nl_QMARK_(this$,lb,section){ +var miser_width = cljs.pprint.get_miser_width(this$); +var maxcol = cljs.pprint.get_max_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$)))); +var and__5043__auto__ = miser_width; +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = maxcol; +if(cljs.core.truth_(and__5043__auto____$1)){ +var and__5043__auto____$2 = (cljs.core.deref(new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb)) >= (maxcol - miser_width)); +if(and__5043__auto____$2){ +return cljs.pprint.linear_nl_QMARK_(this$,lb,section); +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +}); +if((typeof cljs !== 'undefined') && (typeof cljs.pprint !== 'undefined') && (typeof cljs.pprint.emit_nl_QMARK_ !== 'undefined')){ +} else { +cljs.pprint.emit_nl_QMARK_ = (function (){var method_table__5642__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__5643__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var method_cache__5644__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__5645__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__5646__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$3(cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),(function (){var fexpr__32407 = cljs.core.get_global_hierarchy; +return (fexpr__32407.cljs$core$IFn$_invoke$arity$0 ? fexpr__32407.cljs$core$IFn$_invoke$arity$0() : fexpr__32407.call(null, )); +})()); +return (new cljs.core.MultiFn(cljs.core.symbol.cljs$core$IFn$_invoke$arity$2("cljs.pprint","emit-nl?"),(function (t,_,___$1,___$2){ +return new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(t); +}),new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__5646__auto__,method_table__5642__auto__,prefer_table__5643__auto__,method_cache__5644__auto__,cached_hierarchy__5645__auto__)); +})(); +} +cljs.pprint.emit_nl_QMARK_.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"linear","linear",872268697),(function (newl,this$,section,_){ +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(newl); +return cljs.pprint.linear_nl_QMARK_(this$,lb,section); +})); +cljs.pprint.emit_nl_QMARK_.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"miser","miser",-556060186),(function (newl,this$,section,_){ +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(newl); +return cljs.pprint.miser_nl_QMARK_(this$,lb,section); +})); +cljs.pprint.emit_nl_QMARK_.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"fill","fill",883462889),(function (newl,this$,section,subsection){ +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(newl); +var or__5045__auto__ = cljs.core.deref(new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(lb)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (!(cljs.pprint.tokens_fit_QMARK_(this$,subsection))); +if(or__5045__auto____$1){ +return or__5045__auto____$1; +} else { +return cljs.pprint.miser_nl_QMARK_(this$,lb,section); +} +} +})); +cljs.pprint.emit_nl_QMARK_.cljs$core$IMultiFn$_add_method$arity$3(null, new cljs.core.Keyword(null,"mandatory","mandatory",542802336),(function (_,___$1,___$2,___$3){ +return true; +})); +cljs.pprint.get_section = (function cljs$pprint$get_section(buffer){ +var nl = cljs.core.first(buffer); +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(nl); +var section = cljs.core.seq(cljs.core.take_while.cljs$core$IFn$_invoke$arity$2((function (p1__32428_SHARP_){ +return (!(((cljs.pprint.nl_t_QMARK_(p1__32428_SHARP_)) && (cljs.pprint.ancestor_QMARK_(new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(p1__32428_SHARP_),lb))))); +}),cljs.core.next(buffer))); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [section,cljs.core.seq(cljs.core.drop.cljs$core$IFn$_invoke$arity$2((cljs.core.count(section) + (1)),buffer))], null); +}); +cljs.pprint.get_sub_section = (function cljs$pprint$get_sub_section(buffer){ +var nl = cljs.core.first(buffer); +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(nl); +var section = cljs.core.seq(cljs.core.take_while.cljs$core$IFn$_invoke$arity$2((function (p1__32438_SHARP_){ +var nl_lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(p1__32438_SHARP_); +return (!(((cljs.pprint.nl_t_QMARK_(p1__32438_SHARP_)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(nl_lb,lb)) || (cljs.pprint.ancestor_QMARK_(nl_lb,lb))))))); +}),cljs.core.next(buffer))); +return section; +}); +cljs.pprint.update_nl_state = (function cljs$pprint$update_nl_state(lb){ +cljs.core.reset_BANG_(new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(lb),true); + +cljs.core.reset_BANG_(new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(lb),true); + +var lb__$1 = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(lb); +while(true){ +if(cljs.core.truth_(lb__$1)){ +cljs.core.reset_BANG_(new cljs.core.Keyword(null,"done-nl","done-nl",-381024340).cljs$core$IFn$_invoke$arity$1(lb__$1),true); + +cljs.core.reset_BANG_(new cljs.core.Keyword(null,"intra-block-nl","intra-block-nl",1808826875).cljs$core$IFn$_invoke$arity$1(lb__$1),true); + +var G__36330 = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(lb__$1); +lb__$1 = G__36330; +continue; +} else { +return null; +} +break; +} +}); +cljs.pprint.emit_nl = (function cljs$pprint$emit_nl(this$,nl){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),cljs.pprint.pp_newline()); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null); + +var lb = new cljs.core.Keyword(null,"logical-block","logical-block",-581022564).cljs$core$IFn$_invoke$arity$1(nl); +var prefix = new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813).cljs$core$IFn$_invoke$arity$1(lb); +if(cljs.core.truth_(prefix)){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),prefix); +} else { +} + +var istr_36333 = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((cljs.core.deref(new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb)) - cljs.core.count(prefix))," ")); +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),istr_36333); + +return cljs.pprint.update_nl_state(lb); +}); +cljs.pprint.split_at_newline = (function cljs$pprint$split_at_newline(tokens){ +var pre = cljs.core.seq(cljs.core.take_while.cljs$core$IFn$_invoke$arity$2((function (p1__32489_SHARP_){ +return (!(cljs.pprint.nl_t_QMARK_(p1__32489_SHARP_))); +}),tokens)); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [pre,cljs.core.seq(cljs.core.drop.cljs$core$IFn$_invoke$arity$2(cljs.core.count(pre),tokens))], null); +}); +cljs.pprint.write_token_string = (function cljs$pprint$write_token_string(this$,tokens){ +var vec__32501 = cljs.pprint.split_at_newline(tokens); +var a = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32501,(0),null); +var b = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32501,(1),null); +if(cljs.core.truth_(a)){ +cljs.pprint.write_tokens(this$,a,false); +} else { +} + +if(cljs.core.truth_(b)){ +var vec__32505 = cljs.pprint.get_section(b); +var section = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32505,(0),null); +var remainder = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32505,(1),null); +var newl = cljs.core.first(b); +var do_nl = cljs.pprint.emit_nl_QMARK_.cljs$core$IFn$_invoke$arity$4(newl,this$,section,cljs.pprint.get_sub_section(b)); +var result = (cljs.core.truth_(do_nl)?(function (){ +cljs.pprint.emit_nl(this$,newl); + +return cljs.core.next(b); +})() +:b); +var long_section = (!(cljs.pprint.tokens_fit_QMARK_(this$,result))); +var result__$1 = ((long_section)?(function (){var rem2 = (cljs.pprint.write_token_string.cljs$core$IFn$_invoke$arity$2 ? cljs.pprint.write_token_string.cljs$core$IFn$_invoke$arity$2(this$,section) : cljs.pprint.write_token_string.call(null, this$,section)); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(rem2,section)){ +cljs.pprint.write_tokens(this$,section,false); + +return remainder; +} else { +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(rem2,remainder)); +} +})():result); +return result__$1; +} else { +return null; +} +}); +cljs.pprint.write_line = (function cljs$pprint$write_line(this$){ +var buffer = new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +while(true){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"buffer","buffer",617295198),cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,buffer)); + +if((!(cljs.pprint.tokens_fit_QMARK_(this$,buffer)))){ +var new_buffer = cljs.pprint.write_token_string(this$,buffer); +if((!((buffer === new_buffer)))){ +var G__36339 = new_buffer; +buffer = G__36339; +continue; +} else { +return null; +} +} else { +return null; +} +break; +} +}); +cljs.pprint.add_to_buffer = (function cljs$pprint$add_to_buffer(this$,token){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"buffer","buffer",617295198),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),token)); + +if((!(cljs.pprint.tokens_fit_QMARK_(this$,new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))))))){ +return cljs.pprint.write_line(this$); +} else { +return null; +} +}); +cljs.pprint.write_buffered_output = (function cljs$pprint$write_buffered_output(this$){ +cljs.pprint.write_line(this$); + +var temp__5821__auto__ = new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5821__auto__)){ +var buf = temp__5821__auto__; +cljs.pprint.write_tokens(this$,buf,true); + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"buffer","buffer",617295198),cljs.core.PersistentVector.EMPTY); +} else { +return null; +} +}); +cljs.pprint.write_white_space = (function cljs$pprint$write_white_space(this$){ +var temp__5823__auto__ = new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5823__auto__)){ +var tws = temp__5823__auto__; +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),tws); + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),null); +} else { +return null; +} +}); +cljs.pprint.write_initial_lines = (function cljs$pprint$write_initial_lines(this$,s){ +var lines = clojure.string.split.cljs$core$IFn$_invoke$arity$3(s,"\n",(-1)); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(lines),(1))){ +return s; +} else { +var prefix = new cljs.core.Keyword(null,"per-line-prefix","per-line-prefix",846941813).cljs$core$IFn$_invoke$arity$1(cljs.core.first(new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))))); +var l = cljs.core.first(lines); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"buffering","buffering",-876713613),new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))))){ +var oldpos_36352 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +var newpos_36353 = (oldpos_36352 + cljs.core.count(l)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos_36353); + +cljs.pprint.add_to_buffer(this$,cljs.pprint.make_buffer_blob(l,null,oldpos_36352,newpos_36353)); + +cljs.pprint.write_buffered_output(this$); +} else { +cljs.pprint.write_white_space(this$); + +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),l); +} + +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),"\n"); + +var seq__32549_36354 = cljs.core.seq(cljs.core.next(cljs.core.butlast(lines))); +var chunk__32550_36355 = null; +var count__32551_36356 = (0); +var i__32552_36357 = (0); +while(true){ +if((i__32552_36357 < count__32551_36356)){ +var l_36358__$1 = chunk__32550_36355.cljs$core$IIndexed$_nth$arity$2(null, i__32552_36357); +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),l_36358__$1); + +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),cljs.pprint.pp_newline()); + +if(cljs.core.truth_(prefix)){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),prefix); +} else { +} + + +var G__36362 = seq__32549_36354; +var G__36363 = chunk__32550_36355; +var G__36364 = count__32551_36356; +var G__36366 = (i__32552_36357 + (1)); +seq__32549_36354 = G__36362; +chunk__32550_36355 = G__36363; +count__32551_36356 = G__36364; +i__32552_36357 = G__36366; +continue; +} else { +var temp__5823__auto___36367 = cljs.core.seq(seq__32549_36354); +if(temp__5823__auto___36367){ +var seq__32549_36368__$1 = temp__5823__auto___36367; +if(cljs.core.chunked_seq_QMARK_(seq__32549_36368__$1)){ +var c__5568__auto___36370 = cljs.core.chunk_first(seq__32549_36368__$1); +var G__36371 = cljs.core.chunk_rest(seq__32549_36368__$1); +var G__36372 = c__5568__auto___36370; +var G__36373 = cljs.core.count(c__5568__auto___36370); +var G__36374 = (0); +seq__32549_36354 = G__36371; +chunk__32550_36355 = G__36372; +count__32551_36356 = G__36373; +i__32552_36357 = G__36374; +continue; +} else { +var l_36376__$1 = cljs.core.first(seq__32549_36368__$1); +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),l_36376__$1); + +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),cljs.pprint.pp_newline()); + +if(cljs.core.truth_(prefix)){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),prefix); +} else { +} + + +var G__36377 = cljs.core.next(seq__32549_36368__$1); +var G__36378 = null; +var G__36379 = (0); +var G__36380 = (0); +seq__32549_36354 = G__36377; +chunk__32550_36355 = G__36378; +count__32551_36356 = G__36379; +i__32552_36357 = G__36380; +continue; +} +} else { +} +} +break; +} + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"buffering","buffering",-876713613),new cljs.core.Keyword(null,"writing","writing",-1486865108)); + +return cljs.core.last(lines); +} +}); +cljs.pprint.p_write_char = (function cljs$pprint$p_write_char(this$,c){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space(this$); + +return cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),c); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(c,"\n")){ +return cljs.pprint.write_initial_lines(this$,"\n"); +} else { +var oldpos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +var newpos = (oldpos + (1)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos); + +return cljs.pprint.add_to_buffer(this$,cljs.pprint.make_buffer_blob(cljs.core.char$(c),null,oldpos,newpos)); +} +} +}); + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IDeref} + * @implements {cljs.pprint.IPrettyFlush} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint32553 = (function (writer,max_columns,miser_width,lb,fields,meta32554){ +this.writer = writer; +this.max_columns = max_columns; +this.miser_width = miser_width; +this.lb = lb; +this.fields = fields; +this.meta32554 = meta32554; +this.cljs$lang$protocol_mask$partition0$ = 1074167808; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.pprint.t_cljs$pprint32553.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_32555,meta32554__$1){ +var self__ = this; +var _32555__$1 = this; +return (new cljs.pprint.t_cljs$pprint32553(self__.writer,self__.max_columns,self__.miser_width,self__.lb,self__.fields,meta32554__$1)); +})); + +(cljs.pprint.t_cljs$pprint32553.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_32555){ +var self__ = this; +var _32555__$1 = this; +return self__.meta32554; +})); + +(cljs.pprint.t_cljs$pprint32553.prototype.cljs$core$IDeref$_deref$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.fields; +})); + +(cljs.pprint.t_cljs$pprint32553.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__32556 = cljs.core._EQ_; +var expr__32557 = cljs.core.type(x); +if(cljs.core.truth_((pred__32556.cljs$core$IFn$_invoke$arity$2 ? pred__32556.cljs$core$IFn$_invoke$arity$2(String,expr__32557) : pred__32556.call(null, String,expr__32557)))){ +var s0 = cljs.pprint.write_initial_lines(this$__$1,x); +var s = clojure.string.replace_first(s0,/\s+$/,""); +var white_space = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s0,((s).length)); +var mode = new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$__$1))); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(mode,new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space(this$__$1); + +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$__$1))),s); + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$__$1),cljs.core.assoc,new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),white_space); +} else { +var oldpos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$__$1))); +var newpos = (oldpos + cljs.core.count(s0)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$__$1),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos); + +return cljs.pprint.add_to_buffer(this$__$1,cljs.pprint.make_buffer_blob(s,white_space,oldpos,newpos)); +} +} else { +if(cljs.core.truth_((pred__32556.cljs$core$IFn$_invoke$arity$2 ? pred__32556.cljs$core$IFn$_invoke$arity$2(Number,expr__32557) : pred__32556.call(null, Number,expr__32557)))){ +return cljs.pprint.p_write_char(this$__$1,x); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__32557)].join(''))); +} +} +})); + +(cljs.pprint.t_cljs$pprint32553.prototype.cljs$core$IWriter$_flush$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +this$__$1.cljs$pprint$IPrettyFlush$_ppflush$arity$1(null, ); + +return cljs.core._flush(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$__$1)))); +})); + +(cljs.pprint.t_cljs$pprint32553.prototype.cljs$pprint$IPrettyFlush$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.pprint.t_cljs$pprint32553.prototype.cljs$pprint$IPrettyFlush$_ppflush$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$__$1))),new cljs.core.Keyword(null,"buffering","buffering",-876713613))){ +cljs.pprint.write_tokens(this$__$1,new cljs.core.Keyword(null,"buffer","buffer",617295198).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$__$1))),true); + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$__$1),cljs.core.assoc,new cljs.core.Keyword(null,"buffer","buffer",617295198),cljs.core.PersistentVector.EMPTY); +} else { +return cljs.pprint.write_white_space(this$__$1); +} +})); + +(cljs.pprint.t_cljs$pprint32553.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"writer","writer",1362963291,null),new cljs.core.Symbol(null,"max-columns","max-columns",-912112507,null),new cljs.core.Symbol(null,"miser-width","miser-width",330482090,null),new cljs.core.Symbol(null,"lb","lb",950310490,null),new cljs.core.Symbol(null,"fields","fields",-291534703,null),new cljs.core.Symbol(null,"meta32554","meta32554",1807359183,null)], null); +})); + +(cljs.pprint.t_cljs$pprint32553.cljs$lang$type = true); + +(cljs.pprint.t_cljs$pprint32553.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint32553"); + +(cljs.pprint.t_cljs$pprint32553.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.pprint/t_cljs$pprint32553"); +})); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint32553. + */ +cljs.pprint.__GT_t_cljs$pprint32553 = (function cljs$pprint$__GT_t_cljs$pprint32553(writer,max_columns,miser_width,lb,fields,meta32554){ +return (new cljs.pprint.t_cljs$pprint32553(writer,max_columns,miser_width,lb,fields,meta32554)); +}); + + +cljs.pprint.pretty_writer = (function cljs$pprint$pretty_writer(writer,max_columns,miser_width){ +var lb = (new cljs.pprint.logical_block(null,null,cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0)),cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0)),cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false),cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false),null,null,null,null,null,null,null)); +var fields = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776),new cljs.core.Keyword(null,"miser-width","miser-width",-1310049437),new cljs.core.Keyword(null,"buffer-block","buffer-block",-10937307),new cljs.core.Keyword(null,"pretty-writer","pretty-writer",-1222834267),new cljs.core.Keyword(null,"sections","sections",-886710106),new cljs.core.Keyword(null,"mode","mode",654403691),new cljs.core.Keyword(null,"pos","pos",-864607220),new cljs.core.Keyword(null,"trailing-white-space","trailing-white-space",1496006996),new cljs.core.Keyword(null,"base","base",185279322),new cljs.core.Keyword(null,"buffer-level","buffer-level",928864731),new cljs.core.Keyword(null,"buffer","buffer",617295198)],[lb,miser_width,lb,true,null,new cljs.core.Keyword(null,"writing","writing",-1486865108),(0),null,cljs.pprint.column_writer.cljs$core$IFn$_invoke$arity$2(writer,max_columns),(1),cljs.core.PersistentVector.EMPTY])); +return (new cljs.pprint.t_cljs$pprint32553(writer,max_columns,miser_width,lb,fields,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.pprint.start_block = (function cljs$pprint$start_block(this$,prefix,per_line_prefix,suffix){ +var lb = (new cljs.pprint.logical_block(new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),null,cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0)),cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0)),cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false),cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false),prefix,per_line_prefix,suffix,null,null,null,null)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776),lb); + +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space(this$); + +var temp__5823__auto___36405 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5823__auto___36405)){ +var cb_36406 = temp__5823__auto___36405; +(cb_36406.cljs$core$IFn$_invoke$arity$1 ? cb_36406.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"start","start",-355208981)) : cb_36406.call(null, new cljs.core.Keyword(null,"start","start",-355208981))); +} else { +} + +if(cljs.core.truth_(prefix)){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),prefix); +} else { +} + +var col = cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$)))); +cljs.core.reset_BANG_(lb.start_col,col); + +return cljs.core.reset_BANG_(lb.indent,col); +} else { +var oldpos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +var newpos = (oldpos + (cljs.core.truth_(prefix)?cljs.core.count(prefix):(0))); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos); + +return cljs.pprint.add_to_buffer(this$,cljs.pprint.make_start_block_t(lb,oldpos,newpos)); +} +}); +cljs.pprint.end_block = (function cljs$pprint$end_block(this$){ +var lb = new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +var suffix = new cljs.core.Keyword(null,"suffix","suffix",367373057).cljs$core$IFn$_invoke$arity$1(lb); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space(this$); + +if(cljs.core.truth_(suffix)){ +cljs.core._write(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),suffix); +} else { +} + +var temp__5823__auto___36416 = new cljs.core.Keyword(null,"logical-block-callback","logical-block-callback",1612691194).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core.truth_(temp__5823__auto___36416)){ +var cb_36417 = temp__5823__auto___36416; +(cb_36417.cljs$core$IFn$_invoke$arity$1 ? cb_36417.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"end","end",-268185958)) : cb_36417.call(null, new cljs.core.Keyword(null,"end","end",-268185958))); +} else { +} +} else { +var oldpos_36418 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +var newpos_36419 = (oldpos_36418 + (cljs.core.truth_(suffix)?cljs.core.count(suffix):(0))); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"pos","pos",-864607220),newpos_36419); + +cljs.pprint.add_to_buffer(this$,cljs.pprint.make_end_block_t(lb,oldpos_36418,newpos_36419)); +} + +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776),new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(lb)); +}); +cljs.pprint.nl = (function cljs$pprint$nl(this$,type){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.core.deref(this$),cljs.core.assoc,new cljs.core.Keyword(null,"mode","mode",654403691),new cljs.core.Keyword(null,"buffering","buffering",-876713613)); + +var pos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +return cljs.pprint.add_to_buffer(this$,cljs.pprint.make_nl_t(type,new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),pos,pos)); +}); +cljs.pprint.indent = (function cljs$pprint$indent(this$,relative_to,offset){ +var lb = new cljs.core.Keyword(null,"logical-blocks","logical-blocks",-1466339776).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"mode","mode",654403691).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))),new cljs.core.Keyword(null,"writing","writing",-1486865108))){ +cljs.pprint.write_white_space(this$); + +return cljs.core.reset_BANG_(new cljs.core.Keyword(null,"indent","indent",-148200125).cljs$core$IFn$_invoke$arity$1(lb),(offset + (function (){var pred__32559 = cljs.core._EQ_; +var expr__32560 = relative_to; +if(cljs.core.truth_((pred__32559.cljs$core$IFn$_invoke$arity$2 ? pred__32559.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"block","block",664686210),expr__32560) : pred__32559.call(null, new cljs.core.Keyword(null,"block","block",664686210),expr__32560)))){ +return cljs.core.deref(new cljs.core.Keyword(null,"start-col","start-col",668080143).cljs$core$IFn$_invoke$arity$1(lb)); +} else { +if(cljs.core.truth_((pred__32559.cljs$core$IFn$_invoke$arity$2 ? pred__32559.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"current","current",-1088038603),expr__32560) : pred__32559.call(null, new cljs.core.Keyword(null,"current","current",-1088038603),expr__32560)))){ +return cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$)))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__32560)].join(''))); +} +} +})())); +} else { +var pos = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +return cljs.pprint.add_to_buffer(this$,cljs.pprint.make_indent_t(lb,relative_to,offset,pos,pos)); +} +}); +cljs.pprint.get_miser_width = (function cljs$pprint$get_miser_width(this$){ +return new cljs.core.Keyword(null,"miser-width","miser-width",-1310049437).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(this$))); +}); +/** + * Bind to true if you want write to use pretty printing + */ +cljs.pprint._STAR_print_pretty_STAR_ = true; +if((typeof cljs !== 'undefined') && (typeof cljs.pprint !== 'undefined') && (typeof cljs.pprint._STAR_print_pprint_dispatch_STAR_ !== 'undefined')){ +} else { +/** + * The pretty print dispatch function. Use with-pprint-dispatch or + * set-pprint-dispatch to modify. + */ +cljs.pprint._STAR_print_pprint_dispatch_STAR_ = null; +} +/** + * Pretty printing will try to avoid anything going beyond this column. + * Set it to nil to have pprint let the line be arbitrarily long. This will ignore all + * non-mandatory newlines. + */ +cljs.pprint._STAR_print_right_margin_STAR_ = (72); +/** + * The column at which to enter miser style. Depending on the dispatch table, + * miser style add newlines in more places to try to keep lines short allowing for further + * levels of nesting. + */ +cljs.pprint._STAR_print_miser_width_STAR_ = (40); +/** + * Maximum number of lines to print in a pretty print instance (N.B. This is not yet used) + */ +cljs.pprint._STAR_print_lines_STAR_ = null; +/** + * Mark circular structures (N.B. This is not yet used) + */ +cljs.pprint._STAR_print_circle_STAR_ = null; +/** + * Mark repeated structures rather than repeat them (N.B. This is not yet used) + */ +cljs.pprint._STAR_print_shared_STAR_ = null; +/** + * Don't print namespaces with symbols. This is particularly useful when + * pretty printing the results of macro expansions + */ +cljs.pprint._STAR_print_suppress_namespaces_STAR_ = null; +/** + * Print a radix specifier in front of integers and rationals. If *print-base* is 2, 8, + * or 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise the + * radix specifier is in the form #XXr where XX is the decimal value of *print-base* + */ +cljs.pprint._STAR_print_radix_STAR_ = null; +/** + * The base to use for printing integers and rationals. + */ +cljs.pprint._STAR_print_base_STAR_ = (10); +cljs.pprint._STAR_current_level_STAR_ = (0); +cljs.pprint._STAR_current_length_STAR_ = null; +cljs.pprint.table_ize = (function cljs$pprint$table_ize(t,m){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((function (p1__32562_SHARP_){ +var temp__5823__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(t,cljs.core.key(p1__32562_SHARP_)); +if(cljs.core.truth_(temp__5823__auto__)){ +var v = temp__5823__auto__; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [v,cljs.core.val(p1__32562_SHARP_)], null); +} else { +return null; +} +}),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([m], 0))); +}); +/** + * Return true iff x is a PrettyWriter + */ +cljs.pprint.pretty_writer_QMARK_ = (function cljs$pprint$pretty_writer_QMARK_(x){ +var and__5043__auto__ = (((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition0$ & (32768))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IDeref$))))?true:(((!x.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IDeref,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IDeref,x)); +if(and__5043__auto__){ +return new cljs.core.Keyword(null,"pretty-writer","pretty-writer",-1222834267).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(x))); +} else { +return and__5043__auto__; +} +}); +/** + * Wrap base-writer in a PrettyWriter with the specified right-margin and miser-width + */ +cljs.pprint.make_pretty_writer = (function cljs$pprint$make_pretty_writer(base_writer,right_margin,miser_width){ +return cljs.pprint.pretty_writer(base_writer,right_margin,miser_width); +}); +/** + * Write an object to *out* subject to the current bindings of the printer control + * variables. Use the kw-args argument to override individual variables for this call (and + * any recursive calls). + * + * *out* must be a PrettyWriter if pretty printing is enabled. This is the responsibility + * of the caller. + * + * This method is primarily intended for use by pretty print dispatch functions that + * already know that the pretty printer will have set up their environment appropriately. + * Normal library clients should use the standard "write" interface. + */ +cljs.pprint.write_out = (function cljs$pprint$write_out(object){ +var length_reached = (function (){var and__5043__auto__ = cljs.pprint._STAR_current_length_STAR_; +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = cljs.core._STAR_print_length_STAR_; +if(cljs.core.truth_(and__5043__auto____$1)){ +return (cljs.pprint._STAR_current_length_STAR_ >= cljs.core._STAR_print_length_STAR_); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.not(cljs.pprint._STAR_print_pretty_STAR_)){ +cljs.pprint.pr.call(null, object); +} else { +if(cljs.core.truth_(length_reached)){ +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} else { +if(cljs.core.truth_(cljs.pprint._STAR_current_length_STAR_)){ +(cljs.pprint._STAR_current_length_STAR_ = (cljs.pprint._STAR_current_length_STAR_ + (1))); +} else { +} + +cljs.pprint._STAR_print_pprint_dispatch_STAR_.call(null, object); +} +} + +return length_reached; +}); +/** + * Write an object subject to the current bindings of the printer control variables. + * Use the kw-args argument to override individual variables for this call (and any + * recursive calls). Returns the string result if :stream is nil or nil otherwise. + * + * The following keyword arguments can be passed with values: + * Keyword Meaning Default value + * :stream Writer for output or nil true (indicates *out*) + * :base Base to use for writing rationals Current value of *print-base* + * :circle* If true, mark circular structures Current value of *print-circle* + * :length Maximum elements to show in sublists Current value of *print-length* + * :level Maximum depth Current value of *print-level* + * :lines* Maximum lines of output Current value of *print-lines* + * :miser-width Width to enter miser mode Current value of *print-miser-width* + * :dispatch The pretty print dispatch function Current value of *print-pprint-dispatch* + * :pretty If true, do pretty printing Current value of *print-pretty* + * :radix If true, prepend a radix specifier Current value of *print-radix* + * :readably* If true, print readably Current value of *print-readably* + * :right-margin The column for the right margin Current value of *print-right-margin* + * :suppress-namespaces If true, no namespaces in symbols Current value of *print-suppress-namespaces* + * + * * = not yet supported + */ +cljs.pprint.write = (function cljs$pprint$write(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36430 = arguments.length; +var i__5770__auto___36431 = (0); +while(true){ +if((i__5770__auto___36431 < len__5769__auto___36430)){ +args__5775__auto__.push((arguments[i__5770__auto___36431])); + +var G__36432 = (i__5770__auto___36431 + (1)); +i__5770__auto___36431 = G__36432; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs.pprint.write.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs.pprint.write.cljs$core$IFn$_invoke$arity$variadic = (function (object,kw_args){ +var options = cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"stream","stream",1534941648),true], null),cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,kw_args)], 0)); +var _STAR_print_base_STAR__orig_val__32610 = cljs.pprint._STAR_print_base_STAR_; +var _STAR_print_circle_STAR__orig_val__32611 = cljs.pprint._STAR_print_circle_STAR_; +var _STAR_print_length_STAR__orig_val__32612 = cljs.core._STAR_print_length_STAR_; +var _STAR_print_level_STAR__orig_val__32613 = cljs.core._STAR_print_level_STAR_; +var _STAR_print_lines_STAR__orig_val__32614 = cljs.pprint._STAR_print_lines_STAR_; +var _STAR_print_miser_width_STAR__orig_val__32615 = cljs.pprint._STAR_print_miser_width_STAR_; +var _STAR_print_pprint_dispatch_STAR__orig_val__32616 = cljs.pprint._STAR_print_pprint_dispatch_STAR_; +var _STAR_print_pretty_STAR__orig_val__32617 = cljs.pprint._STAR_print_pretty_STAR_; +var _STAR_print_radix_STAR__orig_val__32618 = cljs.pprint._STAR_print_radix_STAR_; +var _STAR_print_readably_STAR__orig_val__32619 = cljs.core._STAR_print_readably_STAR_; +var _STAR_print_right_margin_STAR__orig_val__32620 = cljs.pprint._STAR_print_right_margin_STAR_; +var _STAR_print_suppress_namespaces_STAR__orig_val__32621 = cljs.pprint._STAR_print_suppress_namespaces_STAR_; +var _STAR_print_base_STAR__temp_val__32622 = new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_base_STAR_); +var _STAR_print_circle_STAR__temp_val__32623 = new cljs.core.Keyword(null,"circle","circle",1903212362).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_circle_STAR_); +var _STAR_print_length_STAR__temp_val__32624 = new cljs.core.Keyword(null,"length","length",588987862).cljs$core$IFn$_invoke$arity$2(options,cljs.core._STAR_print_length_STAR_); +var _STAR_print_level_STAR__temp_val__32625 = new cljs.core.Keyword(null,"level","level",1290497552).cljs$core$IFn$_invoke$arity$2(options,cljs.core._STAR_print_level_STAR_); +var _STAR_print_lines_STAR__temp_val__32626 = new cljs.core.Keyword(null,"lines","lines",-700165781).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_lines_STAR_); +var _STAR_print_miser_width_STAR__temp_val__32627 = new cljs.core.Keyword(null,"miser-width","miser-width",-1310049437).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_miser_width_STAR_); +var _STAR_print_pprint_dispatch_STAR__temp_val__32628 = new cljs.core.Keyword(null,"dispatch","dispatch",1319337009).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_pprint_dispatch_STAR_); +var _STAR_print_pretty_STAR__temp_val__32629 = new cljs.core.Keyword(null,"pretty","pretty",-1916372486).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_pretty_STAR_); +var _STAR_print_radix_STAR__temp_val__32630 = new cljs.core.Keyword(null,"radix","radix",857016463).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_radix_STAR_); +var _STAR_print_readably_STAR__temp_val__32631 = new cljs.core.Keyword(null,"readably","readably",1129599760).cljs$core$IFn$_invoke$arity$2(options,cljs.core._STAR_print_readably_STAR_); +var _STAR_print_right_margin_STAR__temp_val__32632 = new cljs.core.Keyword(null,"right-margin","right-margin",-810413306).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_right_margin_STAR_); +var _STAR_print_suppress_namespaces_STAR__temp_val__32633 = new cljs.core.Keyword(null,"suppress-namespaces","suppress-namespaces",2130686956).cljs$core$IFn$_invoke$arity$2(options,cljs.pprint._STAR_print_suppress_namespaces_STAR_); +(cljs.pprint._STAR_print_base_STAR_ = _STAR_print_base_STAR__temp_val__32622); + +(cljs.pprint._STAR_print_circle_STAR_ = _STAR_print_circle_STAR__temp_val__32623); + +(cljs.core._STAR_print_length_STAR_ = _STAR_print_length_STAR__temp_val__32624); + +(cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR__temp_val__32625); + +(cljs.pprint._STAR_print_lines_STAR_ = _STAR_print_lines_STAR__temp_val__32626); + +(cljs.pprint._STAR_print_miser_width_STAR_ = _STAR_print_miser_width_STAR__temp_val__32627); + +(cljs.pprint._STAR_print_pprint_dispatch_STAR_ = _STAR_print_pprint_dispatch_STAR__temp_val__32628); + +(cljs.pprint._STAR_print_pretty_STAR_ = _STAR_print_pretty_STAR__temp_val__32629); + +(cljs.pprint._STAR_print_radix_STAR_ = _STAR_print_radix_STAR__temp_val__32630); + +(cljs.core._STAR_print_readably_STAR_ = _STAR_print_readably_STAR__temp_val__32631); + +(cljs.pprint._STAR_print_right_margin_STAR_ = _STAR_print_right_margin_STAR__temp_val__32632); + +(cljs.pprint._STAR_print_suppress_namespaces_STAR_ = _STAR_print_suppress_namespaces_STAR__temp_val__32633); + +try{try{var sb = (new goog.string.StringBuffer()); +var optval = ((cljs.core.contains_QMARK_(options,new cljs.core.Keyword(null,"stream","stream",1534941648)))?new cljs.core.Keyword(null,"stream","stream",1534941648).cljs$core$IFn$_invoke$arity$1(options):true); +var base_writer = ((((optval === true) || ((optval == null))))?(new cljs.core.StringBufferWriter(sb)):optval); +if(cljs.core.truth_(cljs.pprint._STAR_print_pretty_STAR_)){ +var base_writer__31240__auto___36437 = base_writer; +var new_writer__31241__auto___36438 = cljs.core.not(cljs.pprint.pretty_writer_QMARK_(base_writer__31240__auto___36437)); +var _STAR_out_STAR__orig_val__32657_36439 = cljs.core._STAR_out_STAR_; +var _STAR_out_STAR__temp_val__32658_36440 = ((new_writer__31241__auto___36438)?cljs.pprint.make_pretty_writer(base_writer__31240__auto___36437,cljs.pprint._STAR_print_right_margin_STAR_,cljs.pprint._STAR_print_miser_width_STAR_):base_writer__31240__auto___36437); +(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__temp_val__32658_36440); + +try{cljs.pprint.write_out(object); + +cljs.pprint._ppflush(cljs.core._STAR_out_STAR_); +}finally {(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__orig_val__32657_36439); +}} else { +var _STAR_out_STAR__orig_val__32660_36441 = cljs.core._STAR_out_STAR_; +var _STAR_out_STAR__temp_val__32661_36442 = base_writer; +(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__temp_val__32661_36442); + +try{cljs.pprint.pr.call(null, object); +}finally {(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__orig_val__32660_36441); +}} + +if(optval === true){ +cljs.core.string_print(cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)); +} else { +} + +if((optval == null)){ +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb); +} else { +return null; +} +}finally {}}finally {(cljs.pprint._STAR_print_suppress_namespaces_STAR_ = _STAR_print_suppress_namespaces_STAR__orig_val__32621); + +(cljs.pprint._STAR_print_right_margin_STAR_ = _STAR_print_right_margin_STAR__orig_val__32620); + +(cljs.core._STAR_print_readably_STAR_ = _STAR_print_readably_STAR__orig_val__32619); + +(cljs.pprint._STAR_print_radix_STAR_ = _STAR_print_radix_STAR__orig_val__32618); + +(cljs.pprint._STAR_print_pretty_STAR_ = _STAR_print_pretty_STAR__orig_val__32617); + +(cljs.pprint._STAR_print_pprint_dispatch_STAR_ = _STAR_print_pprint_dispatch_STAR__orig_val__32616); + +(cljs.pprint._STAR_print_miser_width_STAR_ = _STAR_print_miser_width_STAR__orig_val__32615); + +(cljs.pprint._STAR_print_lines_STAR_ = _STAR_print_lines_STAR__orig_val__32614); + +(cljs.core._STAR_print_level_STAR_ = _STAR_print_level_STAR__orig_val__32613); + +(cljs.core._STAR_print_length_STAR_ = _STAR_print_length_STAR__orig_val__32612); + +(cljs.pprint._STAR_print_circle_STAR_ = _STAR_print_circle_STAR__orig_val__32611); + +(cljs.pprint._STAR_print_base_STAR_ = _STAR_print_base_STAR__orig_val__32610); +}})); + +(cljs.pprint.write.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs.pprint.write.cljs$lang$applyTo = (function (seq32595){ +var G__32596 = cljs.core.first(seq32595); +var seq32595__$1 = cljs.core.next(seq32595); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__32596,seq32595__$1); +})); + +cljs.pprint.pprint = (function cljs$pprint$pprint(var_args){ +var G__32672 = arguments.length; +switch (G__32672) { +case 1: +return cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$1 = (function (object){ +var sb = (new goog.string.StringBuffer()); +var _STAR_out_STAR__orig_val__32674 = cljs.core._STAR_out_STAR_; +var _STAR_out_STAR__temp_val__32675 = (new cljs.core.StringBufferWriter(sb)); +(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__temp_val__32675); + +try{cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$2(object,cljs.core._STAR_out_STAR_); + +return cljs.core.string_print(cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)); +}finally {(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__orig_val__32674); +}})); + +(cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$2 = (function (object,writer){ +var base_writer__31240__auto__ = writer; +var new_writer__31241__auto__ = cljs.core.not(cljs.pprint.pretty_writer_QMARK_(base_writer__31240__auto__)); +var _STAR_out_STAR__orig_val__32676 = cljs.core._STAR_out_STAR_; +var _STAR_out_STAR__temp_val__32677 = ((new_writer__31241__auto__)?cljs.pprint.make_pretty_writer(base_writer__31240__auto__,cljs.pprint._STAR_print_right_margin_STAR_,cljs.pprint._STAR_print_miser_width_STAR_):base_writer__31240__auto__); +(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__temp_val__32677); + +try{var _STAR_print_pretty_STAR__orig_val__32678_36446 = cljs.pprint._STAR_print_pretty_STAR_; +var _STAR_print_pretty_STAR__temp_val__32679_36447 = true; +(cljs.pprint._STAR_print_pretty_STAR_ = _STAR_print_pretty_STAR__temp_val__32679_36447); + +try{cljs.pprint.write_out(object); +}finally {(cljs.pprint._STAR_print_pretty_STAR_ = _STAR_print_pretty_STAR__orig_val__32678_36446); +} +if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((0),cljs.pprint.get_column(cljs.core._STAR_out_STAR_))))){ +cljs.core._write(cljs.core._STAR_out_STAR_,"\n"); +} else { +} + +return cljs.pprint._ppflush(cljs.core._STAR_out_STAR_); +}finally {(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__orig_val__32676); +}})); + +(cljs.pprint.pprint.cljs$lang$maxFixedArity = 2); + +cljs.pprint.set_pprint_dispatch = (function cljs$pprint$set_pprint_dispatch(function$){ +(cljs.pprint._STAR_print_pprint_dispatch_STAR_ = function$); + +return null; +}); +cljs.pprint.check_enumerated_arg = (function cljs$pprint$check_enumerated_arg(arg,choices){ +if(cljs.core.not((choices.cljs$core$IFn$_invoke$arity$1 ? choices.cljs$core$IFn$_invoke$arity$1(arg) : choices.call(null, arg)))){ +throw (new Error(["Bad argument: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arg),". It must be one of ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(choices)].join(''))); +} else { +return null; +} +}); +cljs.pprint.level_exceeded = (function cljs$pprint$level_exceeded(){ +var and__5043__auto__ = cljs.core._STAR_print_level_STAR_; +if(cljs.core.truth_(and__5043__auto__)){ +return (cljs.pprint._STAR_current_level_STAR_ >= cljs.core._STAR_print_level_STAR_); +} else { +return and__5043__auto__; +} +}); +/** + * Print a conditional newline to a pretty printing stream. kind specifies if the + * newline is :linear, :miser, :fill, or :mandatory. + * + * This function is intended for use when writing custom dispatch functions. + * + * Output is sent to *out* which must be a pretty printing writer. + */ +cljs.pprint.pprint_newline = (function cljs$pprint$pprint_newline(kind){ +cljs.pprint.check_enumerated_arg(kind,new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"mandatory","mandatory",542802336),null,new cljs.core.Keyword(null,"miser","miser",-556060186),null,new cljs.core.Keyword(null,"fill","fill",883462889),null,new cljs.core.Keyword(null,"linear","linear",872268697),null], null), null)); + +return cljs.pprint.nl(cljs.core._STAR_out_STAR_,kind); +}); +/** + * Create an indent at this point in the pretty printing stream. This defines how + * following lines are indented. relative-to can be either :block or :current depending + * whether the indent should be computed relative to the start of the logical block or + * the current column position. n is an offset. + * + * This function is intended for use when writing custom dispatch functions. + * + * Output is sent to *out* which must be a pretty printing writer. + */ +cljs.pprint.pprint_indent = (function cljs$pprint$pprint_indent(relative_to,n){ +cljs.pprint.check_enumerated_arg(relative_to,new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"block","block",664686210),null,new cljs.core.Keyword(null,"current","current",-1088038603),null], null), null)); + +return cljs.pprint.indent(cljs.core._STAR_out_STAR_,relative_to,n); +}); +/** + * Tab at this point in the pretty printing stream. kind specifies whether the tab + * is :line, :section, :line-relative, or :section-relative. + * + * Colnum and colinc specify the target column and the increment to move the target + * forward if the output is already past the original target. + * + * This function is intended for use when writing custom dispatch functions. + * + * Output is sent to *out* which must be a pretty printing writer. + * + * THIS FUNCTION IS NOT YET IMPLEMENTED. + */ +cljs.pprint.pprint_tab = (function cljs$pprint$pprint_tab(kind,colnum,colinc){ +cljs.pprint.check_enumerated_arg(kind,new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"section","section",-300141526),null,new cljs.core.Keyword(null,"line","line",212345235),null,new cljs.core.Keyword(null,"line-relative","line-relative",1149548219),null,new cljs.core.Keyword(null,"section-relative","section-relative",-658298724),null], null), null)); + +throw (new Error("pprint-tab is not yet implemented")); +}); +/** + * An implementation of a Common Lisp compatible format function. cl-format formats its + * arguments to an output stream or string based on the format control string given. It + * supports sophisticated formatting of structured data. + * + * Writer satisfies IWriter, true to output via *print-fn* or nil to output + * to a string, format-in is the format control string and the remaining arguments + * are the data to be formatted. + * + * The format control string is a string to be output with embedded 'format directives' + * describing how to format the various arguments passed in. + * + * If writer is nil, cl-format returns the formatted result string. Otherwise, cl-format + * returns nil. + * + * For example: + * (let [results [46 38 22]] + * (cl-format true "There ~[are~;is~:;are~]~:* ~d result~:p: ~{~d~^, ~}~%" + * (count results) results)) + * + * Prints via *print-fn*: + * There are 3 results: 46, 38, 22 + * + * Detailed documentation on format control strings is available in the "Common Lisp the + * Language, 2nd edition", Chapter 22 (available online at: + * http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000) + * and in the Common Lisp HyperSpec at + * http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm + */ +cljs.pprint.cl_format = (function cljs$pprint$cl_format(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36452 = arguments.length; +var i__5770__auto___36453 = (0); +while(true){ +if((i__5770__auto___36453 < len__5769__auto___36452)){ +args__5775__auto__.push((arguments[i__5770__auto___36453])); + +var G__36454 = (i__5770__auto___36453 + (1)); +i__5770__auto___36453 = G__36454; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return cljs.pprint.cl_format.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(cljs.pprint.cl_format.cljs$core$IFn$_invoke$arity$variadic = (function (writer,format_in,args){ +var compiled_format = ((typeof format_in === 'string')?cljs.pprint.compile_format(format_in):format_in); +var navigator__$1 = cljs.pprint.init_navigator(args); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$3(writer,compiled_format,navigator__$1); +})); + +(cljs.pprint.cl_format.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(cljs.pprint.cl_format.cljs$lang$applyTo = (function (seq32712){ +var G__32713 = cljs.core.first(seq32712); +var seq32712__$1 = cljs.core.next(seq32712); +var G__32714 = cljs.core.first(seq32712__$1); +var seq32712__$2 = cljs.core.next(seq32712__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__32713,G__32714,seq32712__$2); +})); + +cljs.pprint._STAR_format_str_STAR_ = null; +cljs.pprint.format_error = (function cljs$pprint$format_error(message,offset){ +var full_message = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(message),"\n",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.pprint._STAR_format_str_STAR_),"\n",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(offset," "))),"^","\n"].join(''); +throw Error(full_message); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.arg_navigator = (function (seq,rest,pos,__meta,__extmap,__hash){ +this.seq = seq; +this.rest = rest; +this.pos = pos; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.arg_navigator.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k32767,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__32836 = k32767; +var G__32836__$1 = (((G__32836 instanceof cljs.core.Keyword))?G__32836.fqn:null); +switch (G__32836__$1) { +case "seq": +return self__.seq; + +break; +case "rest": +return self__.rest; + +break; +case "pos": +return self__.pos; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k32767,else__5346__auto__); + +} +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__32859){ +var vec__32867 = p__32859; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32867,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32867,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.arg-navigator{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"seq","seq",-1817803783),self__.seq],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"rest","rest",-1241696419),self__.rest],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"pos","pos",-864607220),self__.pos],null))], null),self__.__extmap)); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__32766){ +var self__ = this; +var G__32766__$1 = this; +return (new cljs.core.RecordIter((0),G__32766__$1,3,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"seq","seq",-1817803783),new cljs.core.Keyword(null,"rest","rest",-1241696419),new cljs.core.Keyword(null,"pos","pos",-864607220)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,self__.pos,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (3 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (-402038447 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this32768,other32769){ +var self__ = this; +var this32768__$1 = this; +return (((!((other32769 == null)))) && ((((this32768__$1.constructor === other32769.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32768__$1.seq,other32769.seq)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32768__$1.rest,other32769.rest)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32768__$1.pos,other32769.pos)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this32768__$1.__extmap,other32769.__extmap))))))))))); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"pos","pos",-864607220),null,new cljs.core.Keyword(null,"seq","seq",-1817803783),null,new cljs.core.Keyword(null,"rest","rest",-1241696419),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,self__.pos,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k32767){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__32943 = k32767; +var G__32943__$1 = (((G__32943 instanceof cljs.core.Keyword))?G__32943.fqn:null); +switch (G__32943__$1) { +case "seq": +case "rest": +case "pos": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k32767); + +} +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__32766){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__32950 = cljs.core.keyword_identical_QMARK_; +var expr__32951 = k__5352__auto__; +if(cljs.core.truth_((pred__32950.cljs$core$IFn$_invoke$arity$2 ? pred__32950.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"seq","seq",-1817803783),expr__32951) : pred__32950.call(null, new cljs.core.Keyword(null,"seq","seq",-1817803783),expr__32951)))){ +return (new cljs.pprint.arg_navigator(G__32766,self__.rest,self__.pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32950.cljs$core$IFn$_invoke$arity$2 ? pred__32950.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"rest","rest",-1241696419),expr__32951) : pred__32950.call(null, new cljs.core.Keyword(null,"rest","rest",-1241696419),expr__32951)))){ +return (new cljs.pprint.arg_navigator(self__.seq,G__32766,self__.pos,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__32950.cljs$core$IFn$_invoke$arity$2 ? pred__32950.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"pos","pos",-864607220),expr__32951) : pred__32950.call(null, new cljs.core.Keyword(null,"pos","pos",-864607220),expr__32951)))){ +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,G__32766,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,self__.pos,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__32766),null)); +} +} +} +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"seq","seq",-1817803783),self__.seq,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"rest","rest",-1241696419),self__.rest,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"pos","pos",-864607220),self__.pos,null))], null),self__.__extmap)); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__32766){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.arg_navigator(self__.seq,self__.rest,self__.pos,G__32766,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.arg_navigator.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.arg_navigator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"seq","seq",-177272256,null),new cljs.core.Symbol(null,"rest","rest",398835108,null),new cljs.core.Symbol(null,"pos","pos",775924307,null)], null); +})); + +(cljs.pprint.arg_navigator.cljs$lang$type = true); + +(cljs.pprint.arg_navigator.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/arg-navigator",null,(1),null)); +})); + +(cljs.pprint.arg_navigator.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/arg-navigator"); +})); + +/** + * Positional factory function for cljs.pprint/arg-navigator. + */ +cljs.pprint.__GT_arg_navigator = (function cljs$pprint$__GT_arg_navigator(seq,rest,pos){ +return (new cljs.pprint.arg_navigator(seq,rest,pos,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/arg-navigator, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_arg_navigator = (function cljs$pprint$map__GT_arg_navigator(G__32777){ +var extmap__5385__auto__ = (function (){var G__32976 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__32777,new cljs.core.Keyword(null,"seq","seq",-1817803783),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"rest","rest",-1241696419),new cljs.core.Keyword(null,"pos","pos",-864607220)], 0)); +if(cljs.core.record_QMARK_(G__32777)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__32976); +} else { +return G__32976; +} +})(); +return (new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(G__32777),new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(G__32777),new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(G__32777),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + +/** + * Create a new arg-navigator from the sequence with the position set to 0 + */ +cljs.pprint.init_navigator = (function cljs$pprint$init_navigator(s){ +var s__$1 = cljs.core.seq(s); +return (new cljs.pprint.arg_navigator(s__$1,s__$1,(0),null,null,null)); +}); +cljs.pprint.next_arg = (function cljs$pprint$next_arg(navigator){ +var rst = new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator); +if(cljs.core.truth_(rst)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first(rst),(new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(navigator),cljs.core.next(rst),(new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator) + (1)),null,null,null))], null); +} else { +throw Error("Not enough arguments for format definition"); +} +}); +cljs.pprint.next_arg_or_nil = (function cljs$pprint$next_arg_or_nil(navigator){ +var rst = new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator); +if(cljs.core.truth_(rst)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first(rst),(new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(navigator),cljs.core.next(rst),(new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator) + (1)),null,null,null))], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,navigator], null); +} +}); +cljs.pprint.get_format_arg = (function cljs$pprint$get_format_arg(navigator){ +var vec__33004 = cljs.pprint.next_arg(navigator); +var raw_format = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33004,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33004,(1),null); +var compiled_format = ((typeof raw_format === 'string')?cljs.pprint.compile_format(raw_format):raw_format); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [compiled_format,navigator__$1], null); +}); +cljs.pprint.absolute_reposition = (function cljs$pprint$absolute_reposition(navigator,position){ +if((position >= new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator))){ +var G__33021 = navigator; +var G__33022 = (new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator) - position); +return (cljs.pprint.relative_reposition.cljs$core$IFn$_invoke$arity$2 ? cljs.pprint.relative_reposition.cljs$core$IFn$_invoke$arity$2(G__33021,G__33022) : cljs.pprint.relative_reposition.call(null, G__33021,G__33022)); +} else { +return (new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(navigator),cljs.core.drop.cljs$core$IFn$_invoke$arity$2(position,new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(navigator)),position,null,null,null)); +} +}); +cljs.pprint.relative_reposition = (function cljs$pprint$relative_reposition(navigator,position){ +var newpos = (new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator) + position); +if((position < (0))){ +return cljs.pprint.absolute_reposition(navigator,newpos); +} else { +return (new cljs.pprint.arg_navigator(new cljs.core.Keyword(null,"seq","seq",-1817803783).cljs$core$IFn$_invoke$arity$1(navigator),cljs.core.drop.cljs$core$IFn$_invoke$arity$2(position,new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator)),newpos,null,null,null)); +} +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +cljs.pprint.compiled_directive = (function (func,def,params,offset,__meta,__extmap,__hash){ +this.func = func; +this.def = def; +this.params = params; +this.offset = offset; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(cljs.pprint.compiled_directive.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k33108,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__33126 = k33108; +var G__33126__$1 = (((G__33126 instanceof cljs.core.Keyword))?G__33126.fqn:null); +switch (G__33126__$1) { +case "func": +return self__.func; + +break; +case "def": +return self__.def; + +break; +case "params": +return self__.params; + +break; +case "offset": +return self__.offset; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k33108,else__5346__auto__); + +} +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__33132){ +var vec__33133 = p__33132; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33133,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33133,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#cljs.pprint.compiled-directive{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"func","func",-238706040),self__.func],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"def","def",-1043430536),self__.def],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"params","params",710516235),self__.params],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"offset","offset",296498311),self__.offset],null))], null),self__.__extmap)); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__33107){ +var self__ = this; +var G__33107__$1 = this; +return (new cljs.core.RecordIter((0),G__33107__$1,4,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"func","func",-238706040),new cljs.core.Keyword(null,"def","def",-1043430536),new cljs.core.Keyword(null,"params","params",710516235),new cljs.core.Keyword(null,"offset","offset",296498311)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,self__.offset,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (4 + cljs.core.count(self__.__extmap)); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (-829256337 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this33109,other33110){ +var self__ = this; +var this33109__$1 = this; +return (((!((other33110 == null)))) && ((((this33109__$1.constructor === other33110.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this33109__$1.func,other33110.func)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this33109__$1.def,other33110.def)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this33109__$1.params,other33110.params)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this33109__$1.offset,other33110.offset)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this33109__$1.__extmap,other33110.__extmap))))))))))))); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"offset","offset",296498311),null,new cljs.core.Keyword(null,"func","func",-238706040),null,new cljs.core.Keyword(null,"params","params",710516235),null,new cljs.core.Keyword(null,"def","def",-1043430536),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,self__.offset,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k33108){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__33169 = k33108; +var G__33169__$1 = (((G__33169 instanceof cljs.core.Keyword))?G__33169.fqn:null); +switch (G__33169__$1) { +case "func": +case "def": +case "params": +case "offset": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k33108); + +} +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__33107){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__33174 = cljs.core.keyword_identical_QMARK_; +var expr__33175 = k__5352__auto__; +if(cljs.core.truth_((pred__33174.cljs$core$IFn$_invoke$arity$2 ? pred__33174.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"func","func",-238706040),expr__33175) : pred__33174.call(null, new cljs.core.Keyword(null,"func","func",-238706040),expr__33175)))){ +return (new cljs.pprint.compiled_directive(G__33107,self__.def,self__.params,self__.offset,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__33174.cljs$core$IFn$_invoke$arity$2 ? pred__33174.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"def","def",-1043430536),expr__33175) : pred__33174.call(null, new cljs.core.Keyword(null,"def","def",-1043430536),expr__33175)))){ +return (new cljs.pprint.compiled_directive(self__.func,G__33107,self__.params,self__.offset,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__33174.cljs$core$IFn$_invoke$arity$2 ? pred__33174.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"params","params",710516235),expr__33175) : pred__33174.call(null, new cljs.core.Keyword(null,"params","params",710516235),expr__33175)))){ +return (new cljs.pprint.compiled_directive(self__.func,self__.def,G__33107,self__.offset,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__33174.cljs$core$IFn$_invoke$arity$2 ? pred__33174.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"offset","offset",296498311),expr__33175) : pred__33174.call(null, new cljs.core.Keyword(null,"offset","offset",296498311),expr__33175)))){ +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,G__33107,self__.__meta,self__.__extmap,null)); +} else { +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,self__.offset,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__33107),null)); +} +} +} +} +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"func","func",-238706040),self__.func,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"def","def",-1043430536),self__.def,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"params","params",710516235),self__.params,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"offset","offset",296498311),self__.offset,null))], null),self__.__extmap)); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__33107){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new cljs.pprint.compiled_directive(self__.func,self__.def,self__.params,self__.offset,G__33107,self__.__extmap,self__.__hash)); +})); + +(cljs.pprint.compiled_directive.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(cljs.pprint.compiled_directive.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"func","func",1401825487,null),new cljs.core.Symbol(null,"def","def",597100991,null),new cljs.core.Symbol(null,"params","params",-1943919534,null),new cljs.core.Symbol(null,"offset","offset",1937029838,null)], null); +})); + +(cljs.pprint.compiled_directive.cljs$lang$type = true); + +(cljs.pprint.compiled_directive.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"cljs.pprint/compiled-directive",null,(1),null)); +})); + +(cljs.pprint.compiled_directive.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"cljs.pprint/compiled-directive"); +})); + +/** + * Positional factory function for cljs.pprint/compiled-directive. + */ +cljs.pprint.__GT_compiled_directive = (function cljs$pprint$__GT_compiled_directive(func,def,params,offset){ +return (new cljs.pprint.compiled_directive(func,def,params,offset,null,null,null)); +}); + +/** + * Factory function for cljs.pprint/compiled-directive, taking a map of keywords to field values. + */ +cljs.pprint.map__GT_compiled_directive = (function cljs$pprint$map__GT_compiled_directive(G__33115){ +var extmap__5385__auto__ = (function (){var G__33187 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__33115,new cljs.core.Keyword(null,"func","func",-238706040),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"def","def",-1043430536),new cljs.core.Keyword(null,"params","params",710516235),new cljs.core.Keyword(null,"offset","offset",296498311)], 0)); +if(cljs.core.record_QMARK_(G__33115)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__33187); +} else { +return G__33187; +} +})(); +return (new cljs.pprint.compiled_directive(new cljs.core.Keyword(null,"func","func",-238706040).cljs$core$IFn$_invoke$arity$1(G__33115),new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(G__33115),new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(G__33115),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(G__33115),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + +cljs.pprint.realize_parameter = (function cljs$pprint$realize_parameter(p__33195,navigator){ +var vec__33196 = p__33195; +var param = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33196,(0),null); +var vec__33199 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33196,(1),null); +var raw_val = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33199,(0),null); +var offset = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33199,(1),null); +var vec__33202 = ((cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),param))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [raw_val,navigator], null):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(raw_val,new cljs.core.Keyword(null,"parameter-from-args","parameter-from-args",-758446196)))?cljs.pprint.next_arg(navigator):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(raw_val,new cljs.core.Keyword(null,"remaining-arg-count","remaining-arg-count",-1216589335)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.count(new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator)),navigator], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [raw_val,navigator], null) +))); +var real_param = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33202,(0),null); +var new_navigator = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33202,(1),null); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [real_param,offset], null)], null),new_navigator], null); +}); +cljs.pprint.realize_parameter_list = (function cljs$pprint$realize_parameter_list(parameter_map,navigator){ +var vec__33207 = cljs.pprint.map_passing_context(cljs.pprint.realize_parameter,navigator,parameter_map); +var pairs = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33207,(0),null); +var new_navigator = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33207,(1),null); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,pairs),new_navigator], null); +}); +cljs.pprint.special_radix_markers = new cljs.core.PersistentArrayMap(null, 3, [(2),"#b",(8),"#o",(16),"#x"], null); +cljs.pprint.format_simple_number = (function cljs$pprint$format_simple_number(n){ +if(cljs.core.integer_QMARK_(n)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.pprint._STAR_print_base_STAR_,(10))){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),(cljs.core.truth_(cljs.pprint._STAR_print_radix_STAR_)?".":null)].join(''); +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(cljs.pprint._STAR_print_radix_STAR_)?(function (){var or__5045__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.pprint.special_radix_markers,cljs.pprint._STAR_print_base_STAR_); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return ["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.pprint._STAR_print_base_STAR_),"r"].join(''); +} +})():null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.pprint.opt_base_str(cljs.pprint._STAR_print_base_STAR_,n))].join(''); +} +} else { +return null; + +} +}); +cljs.pprint.format_ascii = (function cljs$pprint$format_ascii(print_func,params,arg_navigator,offsets){ +var vec__33214 = cljs.pprint.next_arg(arg_navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33214,(0),null); +var arg_navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33214,(1),null); +var base_output = (function (){var or__5045__auto__ = cljs.pprint.format_simple_number(arg); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (print_func.cljs$core$IFn$_invoke$arity$1 ? print_func.cljs$core$IFn$_invoke$arity$1(arg) : print_func.call(null, arg)); +} +})(); +var base_width = base_output.length; +var min_width = (base_width + new cljs.core.Keyword(null,"minpad","minpad",323570901).cljs$core$IFn$_invoke$arity$1(params)); +var width = (((min_width >= new cljs.core.Keyword(null,"mincol","mincol",1230695445).cljs$core$IFn$_invoke$arity$1(params)))?min_width:(min_width + ((cljs.core.quot(((new cljs.core.Keyword(null,"mincol","mincol",1230695445).cljs$core$IFn$_invoke$arity$1(params) - min_width) - (1)),new cljs.core.Keyword(null,"colinc","colinc",-584873385).cljs$core$IFn$_invoke$arity$1(params)) + (1)) * new cljs.core.Keyword(null,"colinc","colinc",-584873385).cljs$core$IFn$_invoke$arity$1(params)))); +var chars = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((width - base_width),new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params))); +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[cljs.core.str.cljs$core$IFn$_invoke$arity$1(chars),cljs.core.str.cljs$core$IFn$_invoke$arity$1(base_output)].join('')], 0)); +} else { +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[cljs.core.str.cljs$core$IFn$_invoke$arity$1(base_output),cljs.core.str.cljs$core$IFn$_invoke$arity$1(chars)].join('')], 0)); +} + +return arg_navigator__$1; +}); +/** + * returns true if a number is actually an integer (that is, has no fractional part) + */ +cljs.pprint.integral_QMARK_ = (function cljs$pprint$integral_QMARK_(x){ +if(cljs.core.integer_QMARK_(x)){ +return true; +} else { +if(cljs.pprint.float_QMARK_(x)){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,Math.floor(x)); +} else { +return false; + +} +} +}); +/** + * Return the list of remainders (essentially the 'digits') of val in the given base + */ +cljs.pprint.remainders = (function cljs$pprint$remainders(base,val){ +return cljs.core.reverse(cljs.core.first(cljs.pprint.consume((function (p1__33230_SHARP_){ +if((p1__33230_SHARP_ > (0))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.rem(p1__33230_SHARP_,base),cljs.core.quot(p1__33230_SHARP_,base)], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,null], null); +} +}),val))); +}); +/** + * Return val as a string in the given base + */ +cljs.pprint.base_str = (function cljs$pprint$base_str(base,val){ +if((val === (0))){ +return "0"; +} else { +var xlated_val = val +; +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__33236_SHARP_){ +if((p1__33236_SHARP_ < (10))){ +return cljs.core.char$((cljs.pprint.char_code("0") + p1__33236_SHARP_)); +} else { +return cljs.core.char$((cljs.pprint.char_code("a") + (p1__33236_SHARP_ - (10)))); +} +}),cljs.pprint.remainders(base,val))); +} +}); +cljs.pprint.javascript_base_formats = new cljs.core.PersistentArrayMap(null, 3, [(8),"%o",(10),"%d",(16),"%x"], null); +/** + * Return val as a string in the given base. No cljs format, so no improved performance. + */ +cljs.pprint.opt_base_str = (function cljs$pprint$opt_base_str(base,val){ +return cljs.pprint.base_str(base,val); +}); +cljs.pprint.group_by_STAR_ = (function cljs$pprint$group_by_STAR_(unit,lis){ +return cljs.core.reverse(cljs.core.first(cljs.pprint.consume((function (x){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.seq(cljs.core.reverse(cljs.core.take.cljs$core$IFn$_invoke$arity$2(unit,x))),cljs.core.seq(cljs.core.drop.cljs$core$IFn$_invoke$arity$2(unit,x))], null); +}),cljs.core.reverse(lis)))); +}); +cljs.pprint.format_integer = (function cljs$pprint$format_integer(base,params,arg_navigator,offsets){ +var vec__33245 = cljs.pprint.next_arg(arg_navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33245,(0),null); +var arg_navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33245,(1),null); +if(cljs.pprint.integral_QMARK_(arg)){ +var neg_36549 = (arg < (0)); +var pos_arg_36550 = ((neg_36549)?(- arg):arg); +var raw_str_36551 = cljs.pprint.opt_base_str(base,pos_arg_36550); +var group_str_36552 = (cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?(function (){var groups = cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__33240_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,p1__33240_SHARP_); +}),cljs.pprint.group_by_STAR_(new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083).cljs$core$IFn$_invoke$arity$1(params),raw_str_36551)); +var commas = cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(cljs.core.count(groups),new cljs.core.Keyword(null,"commachar","commachar",652859327).cljs$core$IFn$_invoke$arity$1(params)); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.next(cljs.core.interleave.cljs$core$IFn$_invoke$arity$2(commas,groups))); +})():raw_str_36551); +var signed_str_36553 = ((neg_36549)?["-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(group_str_36552)].join(''):(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))?["+",cljs.core.str.cljs$core$IFn$_invoke$arity$1(group_str_36552)].join(''):group_str_36552 +)); +var padded_str_36554 = (((signed_str_36553.length < new cljs.core.Keyword(null,"mincol","mincol",1230695445).cljs$core$IFn$_invoke$arity$1(params)))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((new cljs.core.Keyword(null,"mincol","mincol",1230695445).cljs$core$IFn$_invoke$arity$1(params) - signed_str_36553.length),new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params)))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(signed_str_36553)].join(''):signed_str_36553); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([padded_str_36554], 0)); +} else { +cljs.pprint.format_ascii(cljs.core.print_str,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.Keyword(null,"mincol","mincol",1230695445).cljs$core$IFn$_invoke$arity$1(params),new cljs.core.Keyword(null,"colinc","colinc",-584873385),(1),new cljs.core.Keyword(null,"minpad","minpad",323570901),(0),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params),new cljs.core.Keyword(null,"at","at",1476951349),true], null),cljs.pprint.init_navigator(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [arg], null)),null); +} + +return arg_navigator__$1; +}); +cljs.pprint.english_cardinal_units = new cljs.core.PersistentVector(null, 20, 5, cljs.core.PersistentVector.EMPTY_NODE, ["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"], null); +cljs.pprint.english_ordinal_units = new cljs.core.PersistentVector(null, 20, 5, cljs.core.PersistentVector.EMPTY_NODE, ["zeroth","first","second","third","fourth","fifth","sixth","seventh","eighth","ninth","tenth","eleventh","twelfth","thirteenth","fourteenth","fifteenth","sixteenth","seventeenth","eighteenth","nineteenth"], null); +cljs.pprint.english_cardinal_tens = new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, ["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"], null); +cljs.pprint.english_ordinal_tens = new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, ["","","twentieth","thirtieth","fortieth","fiftieth","sixtieth","seventieth","eightieth","ninetieth"], null); +cljs.pprint.english_scale_numbers = new cljs.core.PersistentVector(null, 22, 5, cljs.core.PersistentVector.EMPTY_NODE, ["","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecillion","quattuordecillion","quindecillion","sexdecillion","septendecillion","octodecillion","novemdecillion","vigintillion"], null); +/** + * Convert a number less than 1000 to a cardinal english string + */ +cljs.pprint.format_simple_cardinal = (function cljs$pprint$format_simple_cardinal(num){ +var hundreds = cljs.core.quot(num,(100)); +var tens = cljs.core.rem(num,(100)); +return [(((hundreds > (0)))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_cardinal_units,hundreds))," hundred"].join(''):null),(((((hundreds > (0))) && ((tens > (0)))))?" ":null),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((tens > (0)))?(((tens < (20)))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_cardinal_units,tens):(function (){var ten_digit = cljs.core.quot(tens,(10)); +var unit_digit = cljs.core.rem(tens,(10)); +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((((ten_digit > (0)))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_cardinal_tens,ten_digit):null)),(((((ten_digit > (0))) && ((unit_digit > (0)))))?"-":null),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((unit_digit > (0)))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_cardinal_units,unit_digit):null))].join(''); +})()):null))].join(''); +}); +/** + * Take a sequence of parts, add scale numbers (e.g., million) and combine into a string + * offset is a factor of 10^3 to multiply by + */ +cljs.pprint.add_english_scales = (function cljs$pprint$add_english_scales(parts,offset){ +var cnt = cljs.core.count(parts); +var acc = cljs.core.PersistentVector.EMPTY; +var pos = (cnt - (1)); +var this$ = cljs.core.first(parts); +var remainder = cljs.core.next(parts); +while(true){ +if((remainder == null)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.interpose.cljs$core$IFn$_invoke$arity$2(", ",acc))),(((((!(cljs.core.empty_QMARK_(this$)))) && ((!(cljs.core.empty_QMARK_(acc))))))?", ":null),cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$),(((((!(cljs.core.empty_QMARK_(this$)))) && (((pos + offset) > (0)))))?[" ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_scale_numbers,(pos + offset)))].join(''):null)].join(''); +} else { +var G__36560 = ((cljs.core.empty_QMARK_(this$))?acc:cljs.core.conj.cljs$core$IFn$_invoke$arity$2(acc,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_scale_numbers,(pos + offset)))].join(''))); +var G__36561 = (pos - (1)); +var G__36562 = cljs.core.first(remainder); +var G__36563 = cljs.core.next(remainder); +acc = G__36560; +pos = G__36561; +this$ = G__36562; +remainder = G__36563; +continue; +} +break; +} +}); +cljs.pprint.format_cardinal_english = (function cljs$pprint$format_cardinal_english(params,navigator,offsets){ +var vec__33356 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33356,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33356,(1),null); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((0),arg)){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["zero"], 0)); +} else { +var abs_arg_36566 = (((arg < (0)))?(- arg):arg); +var parts_36567 = cljs.pprint.remainders((1000),abs_arg_36566); +if((cljs.core.count(parts_36567) <= cljs.core.count(cljs.pprint.english_scale_numbers))){ +var parts_strs_36568 = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.pprint.format_simple_cardinal,parts_36567); +var full_str_36569 = cljs.pprint.add_english_scales(parts_strs_36568,(0)); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[(((arg < (0)))?"minus ":null),full_str_36569].join('')], 0)); +} else { +cljs.pprint.format_integer((10),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"mincol","mincol",1230695445),(0),new cljs.core.Keyword(null,"padchar","padchar",2018584530)," ",new cljs.core.Keyword(null,"commachar","commachar",652859327),",",new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),(3),new cljs.core.Keyword(null,"colon","colon",-965200945),true], null),cljs.pprint.init_navigator(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [arg], null)),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"mincol","mincol",1230695445),(0),new cljs.core.Keyword(null,"padchar","padchar",2018584530),(0),new cljs.core.Keyword(null,"commachar","commachar",652859327),(0),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),(0)], null)); +} +} + +return navigator__$1; +}); +/** + * Convert a number less than 1000 to a ordinal english string + * Note this should only be used for the last one in the sequence + */ +cljs.pprint.format_simple_ordinal = (function cljs$pprint$format_simple_ordinal(num){ +var hundreds = cljs.core.quot(num,(100)); +var tens = cljs.core.rem(num,(100)); +return [(((hundreds > (0)))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_cardinal_units,hundreds))," hundred"].join(''):null),(((((hundreds > (0))) && ((tens > (0)))))?" ":null),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((tens > (0)))?(((tens < (20)))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_ordinal_units,tens):(function (){var ten_digit = cljs.core.quot(tens,(10)); +var unit_digit = cljs.core.rem(tens,(10)); +if((((ten_digit > (0))) && ((!((unit_digit > (0))))))){ +return cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_ordinal_tens,ten_digit); +} else { +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((((ten_digit > (0)))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_cardinal_tens,ten_digit):null)),(((((ten_digit > (0))) && ((unit_digit > (0)))))?"-":null),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((unit_digit > (0)))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.pprint.english_ordinal_units,unit_digit):null))].join(''); +} +})()):(((hundreds > (0)))?"th":null)))].join(''); +}); +cljs.pprint.format_ordinal_english = (function cljs$pprint$format_ordinal_english(params,navigator,offsets){ +var vec__33400 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33400,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33400,(1),null); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((0),arg)){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["zeroth"], 0)); +} else { +var abs_arg_36573 = (((arg < (0)))?(- arg):arg); +var parts_36574 = cljs.pprint.remainders((1000),abs_arg_36573); +if((cljs.core.count(parts_36574) <= cljs.core.count(cljs.pprint.english_scale_numbers))){ +var parts_strs_36575 = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.pprint.format_simple_cardinal,cljs.core.drop_last.cljs$core$IFn$_invoke$arity$1(parts_36574)); +var head_str_36576 = cljs.pprint.add_english_scales(parts_strs_36575,(1)); +var tail_str_36577 = cljs.pprint.format_simple_ordinal(cljs.core.last(parts_36574)); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[(((arg < (0)))?"minus ":null),(((((!(cljs.core.empty_QMARK_(head_str_36576)))) && ((!(cljs.core.empty_QMARK_(tail_str_36577))))))?[head_str_36576,", ",tail_str_36577].join(''):(((!(cljs.core.empty_QMARK_(head_str_36576))))?[head_str_36576,"th"].join(''):tail_str_36577 +))].join('')], 0)); +} else { +cljs.pprint.format_integer((10),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"mincol","mincol",1230695445),(0),new cljs.core.Keyword(null,"padchar","padchar",2018584530)," ",new cljs.core.Keyword(null,"commachar","commachar",652859327),",",new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),(3),new cljs.core.Keyword(null,"colon","colon",-965200945),true], null),cljs.pprint.init_navigator(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [arg], null)),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"mincol","mincol",1230695445),(0),new cljs.core.Keyword(null,"padchar","padchar",2018584530),(0),new cljs.core.Keyword(null,"commachar","commachar",652859327),(0),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),(0)], null)); + +var low_two_digits_36582 = cljs.core.rem(arg,(100)); +var not_teens_36583 = ((((11) < low_two_digits_36582)) || (((19) > low_two_digits_36582))); +var low_digit_36584 = cljs.core.rem(low_two_digits_36582,(10)); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(((((low_digit_36584 === (1))) && (not_teens_36583)))?"st":(((((low_digit_36584 === (2))) && (not_teens_36583)))?"nd":(((((low_digit_36584 === (3))) && (not_teens_36583)))?"rd":"th" +)))], 0)); +} +} + +return navigator__$1; +}); +cljs.pprint.old_roman_table = new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, ["I","II","III","IIII","V","VI","VII","VIII","VIIII"], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, ["X","XX","XXX","XXXX","L","LX","LXX","LXXX","LXXXX"], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, ["C","CC","CCC","CCCC","D","DC","DCC","DCCC","DCCCC"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, ["M","MM","MMM"], null)], null); +cljs.pprint.new_roman_table = new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, ["I","II","III","IV","V","VI","VII","VIII","IX"], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, ["X","XX","XXX","XL","L","LX","LXX","LXXX","XC"], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, ["C","CC","CCC","CD","D","DC","DCC","DCCC","CM"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, ["M","MM","MMM"], null)], null); +/** + * Format a roman numeral using the specified look-up table + */ +cljs.pprint.format_roman = (function cljs$pprint$format_roman(table,params,navigator,offsets){ +var vec__33447 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33447,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33447,(1),null); +if(((typeof arg === 'number') && ((((arg > (0))) && ((arg < (4000))))))){ +var digits_36589 = cljs.pprint.remainders((10),arg); +var acc_36590 = cljs.core.PersistentVector.EMPTY; +var pos_36591 = (cljs.core.count(digits_36589) - (1)); +var digits_36592__$1 = digits_36589; +while(true){ +if(cljs.core.empty_QMARK_(digits_36592__$1)){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,acc_36590)], 0)); +} else { +var digit_36593 = cljs.core.first(digits_36592__$1); +var G__36594 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((0),digit_36593))?acc_36590:cljs.core.conj.cljs$core$IFn$_invoke$arity$2(acc_36590,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(table,pos_36591),(digit_36593 - (1))))); +var G__36595 = (pos_36591 - (1)); +var G__36596 = cljs.core.next(digits_36592__$1); +acc_36590 = G__36594; +pos_36591 = G__36595; +digits_36592__$1 = G__36596; +continue; +} +break; +} +} else { +cljs.pprint.format_integer((10),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"mincol","mincol",1230695445),(0),new cljs.core.Keyword(null,"padchar","padchar",2018584530)," ",new cljs.core.Keyword(null,"commachar","commachar",652859327),",",new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),(3),new cljs.core.Keyword(null,"colon","colon",-965200945),true], null),cljs.pprint.init_navigator(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [arg], null)),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"mincol","mincol",1230695445),(0),new cljs.core.Keyword(null,"padchar","padchar",2018584530),(0),new cljs.core.Keyword(null,"commachar","commachar",652859327),(0),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),(0)], null)); +} + +return navigator__$1; +}); +cljs.pprint.format_old_roman = (function cljs$pprint$format_old_roman(params,navigator,offsets){ +return cljs.pprint.format_roman(cljs.pprint.old_roman_table,params,navigator,offsets); +}); +cljs.pprint.format_new_roman = (function cljs$pprint$format_new_roman(params,navigator,offsets){ +return cljs.pprint.format_roman(cljs.pprint.new_roman_table,params,navigator,offsets); +}); +cljs.pprint.special_chars = new cljs.core.PersistentArrayMap(null, 5, [(8),"Backspace",(9),"Tab",(10),"Newline",(13),"Return",(32),"Space"], null); +cljs.pprint.pretty_character = (function cljs$pprint$pretty_character(params,navigator,offsets){ +var vec__33462 = cljs.pprint.next_arg(navigator); +var c = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33462,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33462,(1),null); +var as_int = cljs.pprint.char_code(c); +var base_char = (as_int & (127)); +var meta = (as_int & (128)); +var special = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.pprint.special_chars,base_char); +if((meta > (0))){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["Meta-"], 0)); +} else { +} + +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(cljs.core.truth_(special)?special:(((base_char < (32)))?["Control-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.char$((base_char + (64))))].join(''):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(base_char,(127)))?"Control-?":cljs.core.char$(base_char) +)))], 0)); + +return navigator__$1; +}); +cljs.pprint.readable_character = (function cljs$pprint$readable_character(params,navigator,offsets){ +var vec__33469 = cljs.pprint.next_arg(navigator); +var c = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33469,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33469,(1),null); +var pred__33474_36603 = cljs.core._EQ_; +var expr__33475_36604 = new cljs.core.Keyword(null,"char-format","char-format",-1016499218).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_((function (){var G__33477 = "o"; +var G__33478 = expr__33475_36604; +return (pred__33474_36603.cljs$core$IFn$_invoke$arity$2 ? pred__33474_36603.cljs$core$IFn$_invoke$arity$2(G__33477,G__33478) : pred__33474_36603.call(null, G__33477,G__33478)); +})())){ +cljs.pprint.cl_format.cljs$core$IFn$_invoke$arity$variadic(true,"\\o~3,'0o",cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.pprint.char_code(c)], 0)); +} else { +if(cljs.core.truth_((function (){var G__33480 = "u"; +var G__33481 = expr__33475_36604; +return (pred__33474_36603.cljs$core$IFn$_invoke$arity$2 ? pred__33474_36603.cljs$core$IFn$_invoke$arity$2(G__33480,G__33481) : pred__33474_36603.call(null, G__33480,G__33481)); +})())){ +cljs.pprint.cl_format.cljs$core$IFn$_invoke$arity$variadic(true,"\\u~4,'0x",cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.pprint.char_code(c)], 0)); +} else { +if(cljs.core.truth_((pred__33474_36603.cljs$core$IFn$_invoke$arity$2 ? pred__33474_36603.cljs$core$IFn$_invoke$arity$2(null,expr__33475_36604) : pred__33474_36603.call(null, null,expr__33475_36604)))){ +cljs.pprint.print_char(c); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__33475_36604)].join(''))); +} +} +} + +return navigator__$1; +}); +cljs.pprint.plain_character = (function cljs$pprint$plain_character(params,navigator,offsets){ +var vec__33482 = cljs.pprint.next_arg(navigator); +var char$ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33482,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33482,(1),null); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([char$], 0)); + +return navigator__$1; +}); +cljs.pprint.abort_QMARK_ = (function cljs$pprint$abort_QMARK_(context){ +var token = cljs.core.first(context); +return ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),token)) || (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"colon-up-arrow","colon-up-arrow",244853007),token))); +}); +cljs.pprint.execute_sub_format = (function cljs$pprint$execute_sub_format(format,args,base_args){ +return cljs.core.second(cljs.pprint.map_passing_context((function (element,context){ +if(cljs.pprint.abort_QMARK_(context)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,context], null); +} else { +var vec__33487 = cljs.pprint.realize_parameter_list(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(element),context); +var params = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33487,(0),null); +var args__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33487,(1),null); +var vec__33490 = cljs.pprint.unzip_map(params); +var params__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33490,(0),null); +var offsets = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33490,(1),null); +var params__$2 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(params__$1,new cljs.core.Keyword(null,"base-args","base-args",-1268706822),base_args); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"func","func",-238706040).cljs$core$IFn$_invoke$arity$1(element),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [params__$2,args__$1,offsets], null))], null); +} +}),args,format)); +}); +/** + * Produce string parts for the mantissa (normalize 1-9) and exponent + */ +cljs.pprint.float_parts_base = (function cljs$pprint$float_parts_base(f){ +var s = clojure.string.lower_case(cljs.core.str.cljs$core$IFn$_invoke$arity$1(f)); +var exploc = s.indexOf("e"); +var dotloc = s.indexOf("."); +if((exploc < (0))){ +if((dotloc < (0))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [s,cljs.core.str.cljs$core$IFn$_invoke$arity$1((((s).length) - (1)))], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),dotloc),cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(dotloc + (1)))].join(''),cljs.core.str.cljs$core$IFn$_invoke$arity$1((dotloc - (1)))], null); +} +} else { +if((dotloc < (0))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),exploc),cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(exploc + (1)))], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),(1)),cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(2),exploc)].join(''),cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(exploc + (1)))], null); +} +} +}); +/** + * Take care of leading and trailing zeros in decomposed floats + */ +cljs.pprint.float_parts = (function cljs$pprint$float_parts(f){ +var vec__33497 = cljs.pprint.float_parts_base(f); +var m = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33497,(0),null); +var e = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33497,(1),null); +var m1 = cljs.pprint.rtrim(m,"0"); +var m2 = cljs.pprint.ltrim(m1,"0"); +var delta = (cljs.core.count(m1) - cljs.core.count(m2)); +var e__$1 = (((((cljs.core.count(e) > (0))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(e,(0)),"+"))))?cljs.core.subs.cljs$core$IFn$_invoke$arity$2(e,(1)):e); +if(cljs.core.empty_QMARK_(m2)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["0",(0)], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [m2,(parseInt(e__$1,(10)) - delta)], null); +} +}); +/** + * Assumption: The input string consists of one or more decimal digits, + * and no other characters. Return a string containing one or more + * decimal digits containing a decimal number one larger than the input + * string. The output string will always be the same length as the input + * string, or one character longer. + */ +cljs.pprint.inc_s = (function cljs$pprint$inc_s(s){ +var len_1 = (cljs.core.count(s) - (1)); +var i = (len_1 | (0)); +while(true){ +if((i < (0))){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.str,"1",cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((len_1 + (1)),"0")); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("9",s.charAt(i))){ +var G__36664 = (i - (1)); +i = G__36664; +continue; +} else { +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(cljs.core.str,cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),i),cljs.core.char$((cljs.pprint.char_code(s.charAt(i)) + (1))),cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((len_1 - i),"0")); + +} +} +break; +} +}); +cljs.pprint.round_str = (function cljs$pprint$round_str(m,e,d,w){ +if(cljs.core.truth_((function (){var or__5045__auto__ = d; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return w; +} +})())){ +var len = cljs.core.count(m); +var w__$1 = (cljs.core.truth_(w)?(function (){var x__5130__auto__ = (2); +var y__5131__auto__ = w; +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})():(0)); +var round_pos = (cljs.core.truth_(d)?((e + d) + (1)):(((e >= (0)))?(function (){var x__5130__auto__ = (e + (1)); +var y__5131__auto__ = (w__$1 - (1)); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})():(w__$1 + e) +)); +var vec__33522 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(round_pos,(0)))?new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [["0",cljs.core.str.cljs$core$IFn$_invoke$arity$1(m)].join(''),(e + (1)),(1),(len + (1))], null):new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [m,e,round_pos,len], null)); +var m1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33522,(0),null); +var e1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33522,(1),null); +var round_pos__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33522,(2),null); +var len__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33522,(3),null); +if(cljs.core.truth_(round_pos__$1)){ +if((round_pos__$1 < (0))){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, ["0",(0),false], null); +} else { +if((len__$1 > round_pos__$1)){ +var round_char = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(m1,round_pos__$1); +var result = cljs.core.subs.cljs$core$IFn$_invoke$arity$3(m1,(0),round_pos__$1); +if((cljs.pprint.char_code(round_char) >= cljs.pprint.char_code("5"))){ +var round_up_result = cljs.pprint.inc_s(result); +var expanded = (cljs.core.count(round_up_result) > ((result).length)); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [((expanded)?cljs.core.subs.cljs$core$IFn$_invoke$arity$3(round_up_result,(0),(cljs.core.count(round_up_result) - (1))):round_up_result),e1,expanded], null); +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [result,e1,false], null); +} +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [m,e,false], null); +} +} +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [m,e,false], null); +} +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [m,e,false], null); +} +}); +cljs.pprint.expand_fixed = (function cljs$pprint$expand_fixed(m,e,d){ +var vec__33531 = (((e < (0)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(((- e) - (1)),"0"))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(m)].join(''),(-1)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [m,e], null)); +var m1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33531,(0),null); +var e1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33531,(1),null); +var len = cljs.core.count(m1); +var target_len = (cljs.core.truth_(d)?((e1 + d) + (1)):(e1 + (1))); +if((len < target_len)){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(m1),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((target_len - len),"0")))].join(''); +} else { +return m1; +} +}); +/** + * Insert the decimal point at the right spot in the number to match an exponent + */ +cljs.pprint.insert_decimal = (function cljs$pprint$insert_decimal(m,e){ +if((e < (0))){ +return [".",cljs.core.str.cljs$core$IFn$_invoke$arity$1(m)].join(''); +} else { +var loc = (e + (1)); +return [cljs.core.subs.cljs$core$IFn$_invoke$arity$3(m,(0),loc),".",cljs.core.subs.cljs$core$IFn$_invoke$arity$2(m,loc)].join(''); +} +}); +cljs.pprint.get_fixed = (function cljs$pprint$get_fixed(m,e,d){ +return cljs.pprint.insert_decimal(cljs.pprint.expand_fixed(m,e,d),e); +}); +/** + * Insert the decimal point at the right spot in the number to match an exponent + */ +cljs.pprint.insert_scaled_decimal = (function cljs$pprint$insert_scaled_decimal(m,k){ +if((k < (0))){ +return [".",cljs.core.str.cljs$core$IFn$_invoke$arity$1(m)].join(''); +} else { +return [cljs.core.subs.cljs$core$IFn$_invoke$arity$3(m,(0),k),".",cljs.core.subs.cljs$core$IFn$_invoke$arity$2(m,k)].join(''); +} +}); +cljs.pprint.convert_ratio = (function cljs$pprint$convert_ratio(x){ +return x; +}); +cljs.pprint.fixed_float = (function cljs$pprint$fixed_float(params,navigator,offsets){ +var w = new cljs.core.Keyword(null,"w","w",354169001).cljs$core$IFn$_invoke$arity$1(params); +var d = new cljs.core.Keyword(null,"d","d",1972142424).cljs$core$IFn$_invoke$arity$1(params); +var vec__33632 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33632,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33632,(1),null); +var vec__33635 = (((arg < (0)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["-",(- arg)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["+",arg], null)); +var sign = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33635,(0),null); +var abs = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33635,(1),null); +var abs__$1 = cljs.pprint.convert_ratio(abs); +var vec__33638 = cljs.pprint.float_parts(abs__$1); +var mantissa = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33638,(0),null); +var exp = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33638,(1),null); +var scaled_exp = (exp + new cljs.core.Keyword(null,"k","k",-2146297393).cljs$core$IFn$_invoke$arity$1(params)); +var add_sign = (function (){var or__5045__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (arg < (0)); +} +})(); +var append_zero = ((cljs.core.not(d)) && (((cljs.core.count(mantissa) - (1)) <= scaled_exp))); +var vec__33641 = cljs.pprint.round_str(mantissa,scaled_exp,d,(cljs.core.truth_(w)?(w - (cljs.core.truth_(add_sign)?(1):(0))):null)); +var rounded_mantissa = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33641,(0),null); +var scaled_exp__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33641,(1),null); +var expanded = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33641,(2),null); +var fixed_repr = cljs.pprint.get_fixed(rounded_mantissa,(cljs.core.truth_(expanded)?(scaled_exp__$1 + (1)):scaled_exp__$1),d); +var fixed_repr__$1 = (cljs.core.truth_((function (){var and__5043__auto__ = w; +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = d; +if(cljs.core.truth_(and__5043__auto____$1)){ +return (((d >= (1))) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(fixed_repr.charAt((0)),"0")) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(fixed_repr.charAt((1)),".")) && ((((fixed_repr).length) > (w - (cljs.core.truth_(add_sign)?(1):(0)))))))))); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})())?cljs.core.subs.cljs$core$IFn$_invoke$arity$2(fixed_repr,(1)):fixed_repr); +var prepend_zero = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.first(fixed_repr__$1),"."); +if(cljs.core.truth_(w)){ +var len_36694 = ((fixed_repr__$1).length); +var signed_len_36695 = (cljs.core.truth_(add_sign)?(len_36694 + (1)):len_36694); +var prepend_zero_36696__$1 = ((prepend_zero) && ((!((signed_len_36695 >= w))))); +var append_zero_36697__$1 = ((append_zero) && ((!((signed_len_36695 >= w))))); +var full_len_36698 = ((((prepend_zero_36696__$1) || (append_zero_36697__$1)))?(signed_len_36695 + (1)):signed_len_36695); +if(cljs.core.truth_((function (){var and__5043__auto__ = (full_len_36698 > w); +if(and__5043__auto__){ +return new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__5043__auto__; +} +})())){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(w,new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params)))], 0)); +} else { +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((w - full_len_36698),new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params)))),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(add_sign)?sign:null)),((prepend_zero_36696__$1)?"0":null),fixed_repr__$1,((append_zero_36697__$1)?"0":null)].join('')], 0)); +} +} else { +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(add_sign)?sign:null)),((prepend_zero)?"0":null),fixed_repr__$1,((append_zero)?"0":null)].join('')], 0)); +} + +return navigator__$1; +}); +cljs.pprint.exponential_float = (function cljs$pprint$exponential_float(params,navigator,offset){ +var vec__33679 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33679,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33679,(1),null); +var arg__$1 = cljs.pprint.convert_ratio(arg); +var G__33687_36726 = cljs.pprint.float_parts((((arg__$1 < (0)))?(- arg__$1):arg__$1)); +var vec__33689_36727 = G__33687_36726; +var mantissa_36728 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33689_36727,(0),null); +var exp_36729 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33689_36727,(1),null); +var G__33687_36731__$1 = G__33687_36726; +while(true){ +var vec__33694_36732 = G__33687_36731__$1; +var mantissa_36733__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33694_36732,(0),null); +var exp_36734__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33694_36732,(1),null); +var w_36735 = new cljs.core.Keyword(null,"w","w",354169001).cljs$core$IFn$_invoke$arity$1(params); +var d_36736 = new cljs.core.Keyword(null,"d","d",1972142424).cljs$core$IFn$_invoke$arity$1(params); +var e_36737 = new cljs.core.Keyword(null,"e","e",1381269198).cljs$core$IFn$_invoke$arity$1(params); +var k_36738 = new cljs.core.Keyword(null,"k","k",-2146297393).cljs$core$IFn$_invoke$arity$1(params); +var expchar_36739 = (function (){var or__5045__auto__ = new cljs.core.Keyword(null,"exponentchar","exponentchar",1986664222).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return "E"; +} +})(); +var add_sign_36740 = (function (){var or__5045__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (arg__$1 < (0)); +} +})(); +var prepend_zero_36741 = (k_36738 <= (0)); +var scaled_exp_36742 = (exp_36734__$1 - (k_36738 - (1))); +var scaled_exp_str_36743 = cljs.core.str.cljs$core$IFn$_invoke$arity$1(Math.abs(scaled_exp_36742)); +var scaled_exp_str_36744__$1 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(expchar_36739),(((scaled_exp_36742 < (0)))?"-":"+"),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(e_36737)?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((e_36737 - ((scaled_exp_str_36743).length)),"0")):null)),scaled_exp_str_36743].join(''); +var exp_width_36745 = ((scaled_exp_str_36744__$1).length); +var base_mantissa_width_36746 = cljs.core.count(mantissa_36733__$1); +var scaled_mantissa_36747 = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((- k_36738),"0"))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(mantissa_36733__$1),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(d_36736)?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(((d_36736 - (base_mantissa_width_36746 - (1))) - (((k_36738 < (0)))?(- k_36738):(0))),"0")):null))].join(''); +var w_mantissa_36748 = (cljs.core.truth_(w_36735)?(w_36735 - exp_width_36745):null); +var vec__33698_36749 = cljs.pprint.round_str(scaled_mantissa_36747,(0),((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k_36738,(0)))?(d_36736 - (1)):(((k_36738 > (0)))?d_36736:(((k_36738 < (0)))?(d_36736 - (1)):null))),(cljs.core.truth_(w_mantissa_36748)?(w_mantissa_36748 - (cljs.core.truth_(add_sign_36740)?(1):(0))):null)); +var rounded_mantissa_36750 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33698_36749,(0),null); +var __36751 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33698_36749,(1),null); +var incr_exp_36752 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33698_36749,(2),null); +var full_mantissa_36753 = cljs.pprint.insert_scaled_decimal(rounded_mantissa_36750,k_36738); +var append_zero_36754 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k_36738,cljs.core.count(rounded_mantissa_36750))) && ((d_36736 == null))); +if(cljs.core.not(incr_exp_36752)){ +if(cljs.core.truth_(w_36735)){ +var len_36762 = (((full_mantissa_36753).length) + exp_width_36745); +var signed_len_36763 = (cljs.core.truth_(add_sign_36740)?(len_36762 + (1)):len_36762); +var prepend_zero_36764__$1 = ((prepend_zero_36741) && ((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(signed_len_36763,w_36735))))); +var full_len_36765 = ((prepend_zero_36764__$1)?(signed_len_36763 + (1)):signed_len_36763); +var append_zero_36766__$1 = ((append_zero_36754) && ((full_len_36765 < w_36735))); +if(cljs.core.truth_((function (){var and__5043__auto__ = (function (){var or__5045__auto__ = (full_len_36765 > w_36735); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = e_36737; +if(cljs.core.truth_(and__5043__auto__)){ +return ((exp_width_36745 - (2)) > e_36737); +} else { +return and__5043__auto__; +} +} +})(); +if(cljs.core.truth_(and__5043__auto__)){ +return new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__5043__auto__; +} +})())){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(w_36735,new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params)))], 0)); +} else { +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(((w_36735 - full_len_36765) - ((append_zero_36766__$1)?(1):(0))),new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params)))),(cljs.core.truth_(add_sign_36740)?(((arg__$1 < (0)))?"-":"+"):null),((prepend_zero_36764__$1)?"0":null),full_mantissa_36753,((append_zero_36766__$1)?"0":null),scaled_exp_str_36744__$1].join('')], 0)); +} +} else { +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[(cljs.core.truth_(add_sign_36740)?(((arg__$1 < (0)))?"-":"+"):null),((prepend_zero_36741)?"0":null),full_mantissa_36753,((append_zero_36754)?"0":null),scaled_exp_str_36744__$1].join('')], 0)); +} +} else { +var G__36788 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [rounded_mantissa_36750,(exp_36734__$1 + (1))], null); +G__33687_36731__$1 = G__36788; +continue; +} +break; +} + +return navigator__$1; +}); +cljs.pprint.general_float = (function cljs$pprint$general_float(params,navigator,offsets){ +var vec__33779 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33779,(0),null); +var _ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33779,(1),null); +var arg__$1 = cljs.pprint.convert_ratio(arg); +var vec__33782 = cljs.pprint.float_parts((((arg__$1 < (0)))?(- arg__$1):arg__$1)); +var mantissa = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33782,(0),null); +var exp = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33782,(1),null); +var w = new cljs.core.Keyword(null,"w","w",354169001).cljs$core$IFn$_invoke$arity$1(params); +var d = new cljs.core.Keyword(null,"d","d",1972142424).cljs$core$IFn$_invoke$arity$1(params); +var e = new cljs.core.Keyword(null,"e","e",1381269198).cljs$core$IFn$_invoke$arity$1(params); +var n = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(arg__$1,0.0))?(0):(exp + (1))); +var ee = (cljs.core.truth_(e)?(e + (2)):(4)); +var ww = (cljs.core.truth_(w)?(w - ee):null); +var d__$1 = (cljs.core.truth_(d)?d:(function (){var x__5130__auto__ = cljs.core.count(mantissa); +var y__5131__auto__ = (function (){var x__5133__auto__ = n; +var y__5134__auto__ = (7); +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})(); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})()); +var dd = (d__$1 - n); +if(((((0) <= dd)) && ((dd <= d__$1)))){ +var navigator__$1 = cljs.pprint.fixed_float(new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"w","w",354169001),ww,new cljs.core.Keyword(null,"d","d",1972142424),dd,new cljs.core.Keyword(null,"k","k",-2146297393),(0),new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106),new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106).cljs$core$IFn$_invoke$arity$1(params),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params),new cljs.core.Keyword(null,"at","at",1476951349),new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params)], null),navigator,offsets); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(ee," "))], 0)); + +return navigator__$1; +} else { +return cljs.pprint.exponential_float(params,navigator,offsets); +} +}); +cljs.pprint.dollar_float = (function cljs$pprint$dollar_float(params,navigator,offsets){ +var vec__33798 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33798,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33798,(1),null); +var vec__33801 = cljs.pprint.float_parts(Math.abs(arg)); +var mantissa = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33801,(0),null); +var exp = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33801,(1),null); +var d = new cljs.core.Keyword(null,"d","d",1972142424).cljs$core$IFn$_invoke$arity$1(params); +var n = new cljs.core.Keyword(null,"n","n",562130025).cljs$core$IFn$_invoke$arity$1(params); +var w = new cljs.core.Keyword(null,"w","w",354169001).cljs$core$IFn$_invoke$arity$1(params); +var add_sign = (function (){var or__5045__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (arg < (0)); +} +})(); +var vec__33804 = cljs.pprint.round_str(mantissa,exp,d,null); +var rounded_mantissa = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33804,(0),null); +var scaled_exp = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33804,(1),null); +var expanded = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33804,(2),null); +var fixed_repr = cljs.pprint.get_fixed(rounded_mantissa,(cljs.core.truth_(expanded)?(scaled_exp + (1)):scaled_exp),d); +var full_repr = [cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((n - fixed_repr.indexOf(".")),"0"))),fixed_repr].join(''); +var full_len = (((full_repr).length) + (cljs.core.truth_(add_sign)?(1):(0))); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[(cljs.core.truth_((function (){var and__5043__auto__ = new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__5043__auto__)){ +return add_sign; +} else { +return and__5043__auto__; +} +})())?(((arg < (0)))?"-":"+"):null),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2((w - full_len),new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params)))),(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params)); +if(and__5043__auto__){ +return add_sign; +} else { +return and__5043__auto__; +} +})())?(((arg < (0)))?"-":"+"):null),full_repr].join('')], 0)); + +return navigator__$1; +}); +cljs.pprint.choice_conditional = (function cljs$pprint$choice_conditional(params,arg_navigator,offsets){ +var arg = new cljs.core.Keyword(null,"selector","selector",762528866).cljs$core$IFn$_invoke$arity$1(params); +var vec__33818 = (cljs.core.truth_(arg)?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [arg,arg_navigator], null):cljs.pprint.next_arg(arg_navigator)); +var arg__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33818,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33818,(1),null); +var clauses = new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params); +var clause = (((((arg__$1 < (0))) || ((arg__$1 >= cljs.core.count(clauses)))))?cljs.core.first(new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(params)):cljs.core.nth.cljs$core$IFn$_invoke$arity$2(clauses,arg__$1)); +if(cljs.core.truth_(clause)){ +return cljs.pprint.execute_sub_format(clause,navigator__$1,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +} else { +return navigator__$1; +} +}); +cljs.pprint.boolean_conditional = (function cljs$pprint$boolean_conditional(params,arg_navigator,offsets){ +var vec__33834 = cljs.pprint.next_arg(arg_navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33834,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33834,(1),null); +var clauses = new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params); +var clause = (cljs.core.truth_(arg)?cljs.core.second(clauses):cljs.core.first(clauses)); +if(cljs.core.truth_(clause)){ +return cljs.pprint.execute_sub_format(clause,navigator__$1,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +} else { +return navigator__$1; +} +}); +cljs.pprint.check_arg_conditional = (function cljs$pprint$check_arg_conditional(params,arg_navigator,offsets){ +var vec__33841 = cljs.pprint.next_arg(arg_navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33841,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33841,(1),null); +var clauses = new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params); +var clause = (cljs.core.truth_(arg)?cljs.core.first(clauses):null); +if(cljs.core.truth_(arg)){ +if(cljs.core.truth_(clause)){ +return cljs.pprint.execute_sub_format(clause,arg_navigator,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +} else { +return arg_navigator; +} +} else { +return navigator__$1; +} +}); +cljs.pprint.iterate_sublist = (function cljs$pprint$iterate_sublist(params,navigator,offsets){ +var max_count = new cljs.core.Keyword(null,"max-iterations","max-iterations",2021275563).cljs$core$IFn$_invoke$arity$1(params); +var param_clause = cljs.core.first(new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__33859 = ((cljs.core.empty_QMARK_(param_clause))?cljs.pprint.get_format_arg(navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33859,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33859,(1),null); +var vec__33862 = cljs.pprint.next_arg(navigator__$1); +var arg_list = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33862,(0),null); +var navigator__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33862,(1),null); +var args = cljs.pprint.init_navigator(arg_list); +var count = (0); +var args__$1 = args; +var last_pos = ((-1) | (0)); +while(true){ +if(((cljs.core.not(max_count)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(args__$1),last_pos)) && ((count > (1))))))){ +throw Error("%{ construct not consuming any arguments: Infinite loop!"); +} else { +} + +if(cljs.core.truth_((function (){var or__5045__auto__ = ((cljs.core.empty_QMARK_(new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(args__$1))) && (((cljs.core.not(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"right-params","right-params",-1790676237).cljs$core$IFn$_invoke$arity$1(params)))) || ((count > (0)))))); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = max_count; +if(cljs.core.truth_(and__5043__auto__)){ +return (count >= max_count); +} else { +return and__5043__auto__; +} +} +})())){ +return navigator__$2; +} else { +var iter_result = cljs.pprint.execute_sub_format(clause,args__$1,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),cljs.core.first(iter_result))){ +return navigator__$2; +} else { +var G__36859 = (count + (1)); +var G__36860 = iter_result; +var G__36861 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(args__$1); +count = G__36859; +args__$1 = G__36860; +last_pos = G__36861; +continue; +} +} +break; +} +}); +cljs.pprint.iterate_list_of_sublists = (function cljs$pprint$iterate_list_of_sublists(params,navigator,offsets){ +var max_count = new cljs.core.Keyword(null,"max-iterations","max-iterations",2021275563).cljs$core$IFn$_invoke$arity$1(params); +var param_clause = cljs.core.first(new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__33889 = ((cljs.core.empty_QMARK_(param_clause))?cljs.pprint.get_format_arg(navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33889,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33889,(1),null); +var vec__33892 = cljs.pprint.next_arg(navigator__$1); +var arg_list = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33892,(0),null); +var navigator__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33892,(1),null); +var count = (0); +var arg_list__$1 = arg_list; +while(true){ +if(cljs.core.truth_((function (){var or__5045__auto__ = ((cljs.core.empty_QMARK_(arg_list__$1)) && (((cljs.core.not(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"right-params","right-params",-1790676237).cljs$core$IFn$_invoke$arity$1(params)))) || ((count > (0)))))); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = max_count; +if(cljs.core.truth_(and__5043__auto__)){ +return (count >= max_count); +} else { +return and__5043__auto__; +} +} +})())){ +return navigator__$2; +} else { +var iter_result = cljs.pprint.execute_sub_format(clause,cljs.pprint.init_navigator(cljs.core.first(arg_list__$1)),cljs.pprint.init_navigator(cljs.core.next(arg_list__$1))); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"colon-up-arrow","colon-up-arrow",244853007),cljs.core.first(iter_result))){ +return navigator__$2; +} else { +var G__36886 = (count + (1)); +var G__36887 = cljs.core.next(arg_list__$1); +count = G__36886; +arg_list__$1 = G__36887; +continue; +} +} +break; +} +}); +cljs.pprint.iterate_main_list = (function cljs$pprint$iterate_main_list(params,navigator,offsets){ +var max_count = new cljs.core.Keyword(null,"max-iterations","max-iterations",2021275563).cljs$core$IFn$_invoke$arity$1(params); +var param_clause = cljs.core.first(new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__33951 = ((cljs.core.empty_QMARK_(param_clause))?cljs.pprint.get_format_arg(navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33951,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33951,(1),null); +var count = (0); +var navigator__$2 = navigator__$1; +var last_pos = ((-1) | (0)); +while(true){ +if(((cljs.core.not(max_count)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator__$2),last_pos)) && ((count > (1))))))){ +throw Error("%@{ construct not consuming any arguments: Infinite loop!"); +} else { +} + +if(cljs.core.truth_((function (){var or__5045__auto__ = ((cljs.core.empty_QMARK_(new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator__$2))) && (((cljs.core.not(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"right-params","right-params",-1790676237).cljs$core$IFn$_invoke$arity$1(params)))) || ((count > (0)))))); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = max_count; +if(cljs.core.truth_(and__5043__auto__)){ +return (count >= max_count); +} else { +return and__5043__auto__; +} +} +})())){ +return navigator__$2; +} else { +var iter_result = cljs.pprint.execute_sub_format(clause,navigator__$2,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),cljs.core.first(iter_result))){ +return cljs.core.second(iter_result); +} else { +var G__36898 = (count + (1)); +var G__36899 = iter_result; +var G__36900 = new cljs.core.Keyword(null,"pos","pos",-864607220).cljs$core$IFn$_invoke$arity$1(navigator__$2); +count = G__36898; +navigator__$2 = G__36899; +last_pos = G__36900; +continue; +} +} +break; +} +}); +cljs.pprint.iterate_main_sublists = (function cljs$pprint$iterate_main_sublists(params,navigator,offsets){ +var max_count = new cljs.core.Keyword(null,"max-iterations","max-iterations",2021275563).cljs$core$IFn$_invoke$arity$1(params); +var param_clause = cljs.core.first(new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var vec__33977 = ((cljs.core.empty_QMARK_(param_clause))?cljs.pprint.get_format_arg(navigator):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [param_clause,navigator], null)); +var clause = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33977,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33977,(1),null); +var count = (0); +var navigator__$2 = navigator__$1; +while(true){ +if(cljs.core.truth_((function (){var or__5045__auto__ = ((cljs.core.empty_QMARK_(new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator__$2))) && (((cljs.core.not(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"right-params","right-params",-1790676237).cljs$core$IFn$_invoke$arity$1(params)))) || ((count > (0)))))); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = max_count; +if(cljs.core.truth_(and__5043__auto__)){ +return (count >= max_count); +} else { +return and__5043__auto__; +} +} +})())){ +return navigator__$2; +} else { +var vec__33989 = cljs.pprint.next_arg_or_nil(navigator__$2); +var sublist = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33989,(0),null); +var navigator__$3 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33989,(1),null); +var iter_result = cljs.pprint.execute_sub_format(clause,cljs.pprint.init_navigator(sublist),navigator__$3); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"colon-up-arrow","colon-up-arrow",244853007),cljs.core.first(iter_result))){ +return navigator__$3; +} else { +var G__36902 = (count + (1)); +var G__36903 = navigator__$3; +count = G__36902; +navigator__$2 = G__36903; +continue; +} +} +break; +} +}); +cljs.pprint.logical_block_or_justify = (function cljs$pprint$logical_block_or_justify(params,navigator,offsets){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"right-params","right-params",-1790676237).cljs$core$IFn$_invoke$arity$1(params)))){ +return cljs.pprint.format_logical_block(params,navigator,offsets); +} else { +return cljs.pprint.justify_clauses(params,navigator,offsets); +} +}); +cljs.pprint.render_clauses = (function cljs$pprint$render_clauses(clauses,navigator,base_navigator){ +var clauses__$1 = clauses; +var acc = cljs.core.PersistentVector.EMPTY; +var navigator__$1 = navigator; +while(true){ +if(cljs.core.empty_QMARK_(clauses__$1)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,navigator__$1], null); +} else { +var clause = cljs.core.first(clauses__$1); +var vec__34013 = (function (){var sb = (new goog.string.StringBuffer()); +var _STAR_out_STAR__orig_val__34016 = cljs.core._STAR_out_STAR_; +var _STAR_out_STAR__temp_val__34017 = (new cljs.core.StringBufferWriter(sb)); +(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__temp_val__34017); + +try{return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.pprint.execute_sub_format(clause,navigator__$1,base_navigator),cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)], null); +}finally {(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__orig_val__34016); +}})(); +var iter_result = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34013,(0),null); +var result_str = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34013,(1),null); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),cljs.core.first(iter_result))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [acc,cljs.core.second(iter_result)], null); +} else { +var G__36905 = cljs.core.next(clauses__$1); +var G__36906 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(acc,result_str); +var G__36907 = iter_result; +clauses__$1 = G__36905; +acc = G__36906; +navigator__$1 = G__36907; +continue; +} +} +break; +} +}); +cljs.pprint.justify_clauses = (function cljs$pprint$justify_clauses(params,navigator,offsets){ +var vec__34027 = (function (){var temp__5823__auto__ = new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(temp__5823__auto__)){ +var else$ = temp__5823__auto__; +return cljs.pprint.render_clauses(else$,navigator,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +} else { +return null; +} +})(); +var vec__34030 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34027,(0),null); +var eol_str = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34030,(0),null); +var new_navigator = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34027,(1),null); +var navigator__$1 = (function (){var or__5045__auto__ = new_navigator; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return navigator; +} +})(); +var vec__34033 = (function (){var temp__5823__auto__ = new cljs.core.Keyword(null,"else-params","else-params",-832171646).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(temp__5823__auto__)){ +var p = temp__5823__auto__; +return cljs.pprint.realize_parameter_list(p,navigator__$1); +} else { +return null; +} +})(); +var else_params = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34033,(0),null); +var new_navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34033,(1),null); +var navigator__$2 = (function (){var or__5045__auto__ = new_navigator__$1; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return navigator__$1; +} +})(); +var min_remaining = (function (){var or__5045__auto__ = cljs.core.first(new cljs.core.Keyword(null,"min-remaining","min-remaining",962687677).cljs$core$IFn$_invoke$arity$1(else_params)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (0); +} +})(); +var max_columns = (function (){var or__5045__auto__ = cljs.core.first(new cljs.core.Keyword(null,"max-columns","max-columns",1742323262).cljs$core$IFn$_invoke$arity$1(else_params)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.pprint.get_max_column(cljs.core._STAR_out_STAR_); +} +})(); +var clauses = new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params); +var vec__34036 = cljs.pprint.render_clauses(clauses,navigator__$2,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +var strs = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34036,(0),null); +var navigator__$3 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34036,(1),null); +var slots = (function (){var x__5130__auto__ = (1); +var y__5131__auto__ = (((cljs.core.count(strs) - (1)) + (cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?(1):(0))) + (cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))?(1):(0))); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})(); +var chars = cljs.core.reduce.cljs$core$IFn$_invoke$arity$2(cljs.core._PLUS_,cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.count,strs)); +var mincol = new cljs.core.Keyword(null,"mincol","mincol",1230695445).cljs$core$IFn$_invoke$arity$1(params); +var minpad = new cljs.core.Keyword(null,"minpad","minpad",323570901).cljs$core$IFn$_invoke$arity$1(params); +var colinc = new cljs.core.Keyword(null,"colinc","colinc",-584873385).cljs$core$IFn$_invoke$arity$1(params); +var minout = (chars + (slots * minpad)); +var result_columns = (((minout <= mincol))?mincol:(mincol + (colinc * ((1) + cljs.core.quot(((minout - mincol) - (1)),colinc))))); +var total_pad = (result_columns - chars); +var pad = (function (){var x__5130__auto__ = minpad; +var y__5131__auto__ = cljs.core.quot(total_pad,slots); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})(); +var extra_pad = (total_pad - (pad * slots)); +var pad_str = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(pad,new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params))); +if(cljs.core.truth_((function (){var and__5043__auto__ = eol_str; +if(cljs.core.truth_(and__5043__auto__)){ +return (((cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(cljs.core._STAR_out_STAR_)))) + min_remaining) + result_columns) > max_columns); +} else { +return and__5043__auto__; +} +})())){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([eol_str], 0)); +} else { +} + +var slots_36908__$1 = slots; +var extra_pad_36909__$1 = extra_pad; +var strs_36910__$1 = strs; +var pad_only_36911 = (function (){var or__5045__auto__ = new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(strs_36910__$1),(1))) && (cljs.core.not(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params)))); +} +})(); +while(true){ +if(cljs.core.seq(strs_36910__$1)){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[cljs.core.str.cljs$core$IFn$_invoke$arity$1(((cljs.core.not(pad_only_36911))?cljs.core.first(strs_36910__$1):null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_((function (){var or__5045__auto__ = pad_only_36911; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = cljs.core.next(strs_36910__$1); +if(or__5045__auto____$1){ +return or__5045__auto____$1; +} else { +return new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +} +} +})())?pad_str:null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((extra_pad_36909__$1 > (0)))?new cljs.core.Keyword(null,"padchar","padchar",2018584530).cljs$core$IFn$_invoke$arity$1(params):null))].join('')], 0)); + +var G__36912 = (slots_36908__$1 - (1)); +var G__36913 = (extra_pad_36909__$1 - (1)); +var G__36914 = (cljs.core.truth_(pad_only_36911)?strs_36910__$1:cljs.core.next(strs_36910__$1)); +var G__36915 = false; +slots_36908__$1 = G__36912; +extra_pad_36909__$1 = G__36913; +strs_36910__$1 = G__36914; +pad_only_36911 = G__36915; +continue; +} else { +} +break; +} + +return navigator__$3; +}); + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint34133 = (function (writer,meta34134){ +this.writer = writer; +this.meta34134 = meta34134; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.pprint.t_cljs$pprint34133.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34135,meta34134__$1){ +var self__ = this; +var _34135__$1 = this; +return (new cljs.pprint.t_cljs$pprint34133(self__.writer,meta34134__$1)); +})); + +(cljs.pprint.t_cljs$pprint34133.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34135){ +var self__ = this; +var _34135__$1 = this; +return self__.meta34134; +})); + +(cljs.pprint.t_cljs$pprint34133.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush(self__.writer); +})); + +(cljs.pprint.t_cljs$pprint34133.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__34143 = cljs.core._EQ_; +var expr__34144 = cljs.core.type(x); +if(cljs.core.truth_((pred__34143.cljs$core$IFn$_invoke$arity$2 ? pred__34143.cljs$core$IFn$_invoke$arity$2(String,expr__34144) : pred__34143.call(null, String,expr__34144)))){ +var s = x; +return cljs.core._write(self__.writer,clojure.string.lower_case(s)); +} else { +if(cljs.core.truth_((pred__34143.cljs$core$IFn$_invoke$arity$2 ? pred__34143.cljs$core$IFn$_invoke$arity$2(Number,expr__34144) : pred__34143.call(null, Number,expr__34144)))){ +var c = x; +return cljs.core._write(self__.writer,clojure.string.lower_case(cljs.core.char$(c))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__34144)].join(''))); +} +} +})); + +(cljs.pprint.t_cljs$pprint34133.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"writer","writer",1362963291,null),new cljs.core.Symbol(null,"meta34134","meta34134",-659214757,null)], null); +})); + +(cljs.pprint.t_cljs$pprint34133.cljs$lang$type = true); + +(cljs.pprint.t_cljs$pprint34133.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint34133"); + +(cljs.pprint.t_cljs$pprint34133.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.pprint/t_cljs$pprint34133"); +})); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint34133. + */ +cljs.pprint.__GT_t_cljs$pprint34133 = (function cljs$pprint$__GT_t_cljs$pprint34133(writer,meta34134){ +return (new cljs.pprint.t_cljs$pprint34133(writer,meta34134)); +}); + + +/** + * Returns a proxy that wraps writer, converting all characters to lower case + */ +cljs.pprint.downcase_writer = (function cljs$pprint$downcase_writer(writer){ +return (new cljs.pprint.t_cljs$pprint34133(writer,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint34162 = (function (writer,meta34163){ +this.writer = writer; +this.meta34163 = meta34163; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.pprint.t_cljs$pprint34162.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34164,meta34163__$1){ +var self__ = this; +var _34164__$1 = this; +return (new cljs.pprint.t_cljs$pprint34162(self__.writer,meta34163__$1)); +})); + +(cljs.pprint.t_cljs$pprint34162.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34164){ +var self__ = this; +var _34164__$1 = this; +return self__.meta34163; +})); + +(cljs.pprint.t_cljs$pprint34162.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush(self__.writer); +})); + +(cljs.pprint.t_cljs$pprint34162.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__34178 = cljs.core._EQ_; +var expr__34179 = cljs.core.type(x); +if(cljs.core.truth_((pred__34178.cljs$core$IFn$_invoke$arity$2 ? pred__34178.cljs$core$IFn$_invoke$arity$2(String,expr__34179) : pred__34178.call(null, String,expr__34179)))){ +var s = x; +return cljs.core._write(self__.writer,clojure.string.upper_case(s)); +} else { +if(cljs.core.truth_((pred__34178.cljs$core$IFn$_invoke$arity$2 ? pred__34178.cljs$core$IFn$_invoke$arity$2(Number,expr__34179) : pred__34178.call(null, Number,expr__34179)))){ +var c = x; +return cljs.core._write(self__.writer,clojure.string.upper_case(cljs.core.char$(c))); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__34179)].join(''))); +} +} +})); + +(cljs.pprint.t_cljs$pprint34162.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"writer","writer",1362963291,null),new cljs.core.Symbol(null,"meta34163","meta34163",-1443804621,null)], null); +})); + +(cljs.pprint.t_cljs$pprint34162.cljs$lang$type = true); + +(cljs.pprint.t_cljs$pprint34162.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint34162"); + +(cljs.pprint.t_cljs$pprint34162.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.pprint/t_cljs$pprint34162"); +})); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint34162. + */ +cljs.pprint.__GT_t_cljs$pprint34162 = (function cljs$pprint$__GT_t_cljs$pprint34162(writer,meta34163){ +return (new cljs.pprint.t_cljs$pprint34162(writer,meta34163)); +}); + + +/** + * Returns a proxy that wraps writer, converting all characters to upper case + */ +cljs.pprint.upcase_writer = (function cljs$pprint$upcase_writer(writer){ +return (new cljs.pprint.t_cljs$pprint34162(writer,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * Capitalizes the words in a string. If first? is false, don't capitalize the + * first character of the string even if it's a letter. + */ +cljs.pprint.capitalize_string = (function cljs$pprint$capitalize_string(s,first_QMARK_){ +var f = cljs.core.first(s); +var s__$1 = (cljs.core.truth_((function (){var and__5043__auto__ = first_QMARK_; +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = f; +if(cljs.core.truth_(and__5043__auto____$1)){ +return goog.string.isUnicodeChar(f); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})())?[clojure.string.upper_case(f),cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(1))].join(''):s); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.first(cljs.pprint.consume((function (s__$2){ +if(cljs.core.empty_QMARK_(s__$2)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,null], null); +} else { +var m = RegExp("\\W\\w","g").exec(s__$2); +var offset = (function (){var and__5043__auto__ = m; +if(cljs.core.truth_(and__5043__auto__)){ +return (m.index + (1)); +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.truth_(offset)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [[cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s__$2,(0),offset),clojure.string.upper_case(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(s__$2,offset))].join(''),cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s__$2,(offset + (1)))], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [s__$2,null], null); +} +} +}),s__$1))); +}); + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint34225 = (function (writer,last_was_whitespace_QMARK_,meta34226){ +this.writer = writer; +this.last_was_whitespace_QMARK_ = last_was_whitespace_QMARK_; +this.meta34226 = meta34226; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.pprint.t_cljs$pprint34225.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34227,meta34226__$1){ +var self__ = this; +var _34227__$1 = this; +return (new cljs.pprint.t_cljs$pprint34225(self__.writer,self__.last_was_whitespace_QMARK_,meta34226__$1)); +})); + +(cljs.pprint.t_cljs$pprint34225.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34227){ +var self__ = this; +var _34227__$1 = this; +return self__.meta34226; +})); + +(cljs.pprint.t_cljs$pprint34225.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush(self__.writer); +})); + +(cljs.pprint.t_cljs$pprint34225.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__34244 = cljs.core._EQ_; +var expr__34245 = cljs.core.type(x); +if(cljs.core.truth_((pred__34244.cljs$core$IFn$_invoke$arity$2 ? pred__34244.cljs$core$IFn$_invoke$arity$2(String,expr__34245) : pred__34244.call(null, String,expr__34245)))){ +var s = x; +cljs.core._write(self__.writer,cljs.pprint.capitalize_string(s.toLowerCase(),cljs.core.deref(self__.last_was_whitespace_QMARK_))); + +if((s.length > (0))){ +return cljs.core.reset_BANG_(self__.last_was_whitespace_QMARK_,goog.string.isEmptyOrWhitespace(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(s,(cljs.core.count(s) - (1))))); +} else { +return null; +} +} else { +if(cljs.core.truth_((pred__34244.cljs$core$IFn$_invoke$arity$2 ? pred__34244.cljs$core$IFn$_invoke$arity$2(Number,expr__34245) : pred__34244.call(null, Number,expr__34245)))){ +var c = cljs.core.char$(x); +var mod_c = (cljs.core.truth_(cljs.core.deref(self__.last_was_whitespace_QMARK_))?clojure.string.upper_case(c):c); +cljs.core._write(self__.writer,mod_c); + +return cljs.core.reset_BANG_(self__.last_was_whitespace_QMARK_,goog.string.isEmptyOrWhitespace(c)); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__34245)].join(''))); +} +} +})); + +(cljs.pprint.t_cljs$pprint34225.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"writer","writer",1362963291,null),new cljs.core.Symbol(null,"last-was-whitespace?","last-was-whitespace?",-1073928093,null),new cljs.core.Symbol(null,"meta34226","meta34226",-2010856599,null)], null); +})); + +(cljs.pprint.t_cljs$pprint34225.cljs$lang$type = true); + +(cljs.pprint.t_cljs$pprint34225.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint34225"); + +(cljs.pprint.t_cljs$pprint34225.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.pprint/t_cljs$pprint34225"); +})); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint34225. + */ +cljs.pprint.__GT_t_cljs$pprint34225 = (function cljs$pprint$__GT_t_cljs$pprint34225(writer,last_was_whitespace_QMARK_,meta34226){ +return (new cljs.pprint.t_cljs$pprint34225(writer,last_was_whitespace_QMARK_,meta34226)); +}); + + +/** + * Returns a proxy that wraps writer, capitalizing all words + */ +cljs.pprint.capitalize_word_writer = (function cljs$pprint$capitalize_word_writer(writer){ +var last_was_whitespace_QMARK_ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(true); +return (new cljs.pprint.t_cljs$pprint34225(writer,last_was_whitespace_QMARK_,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor + * @implements {cljs.core.IWriter} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cljs.pprint.t_cljs$pprint34290 = (function (writer,capped,meta34291){ +this.writer = writer; +this.capped = capped; +this.meta34291 = meta34291; +this.cljs$lang$protocol_mask$partition0$ = 1074135040; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.pprint.t_cljs$pprint34290.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34292,meta34291__$1){ +var self__ = this; +var _34292__$1 = this; +return (new cljs.pprint.t_cljs$pprint34290(self__.writer,self__.capped,meta34291__$1)); +})); + +(cljs.pprint.t_cljs$pprint34290.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34292){ +var self__ = this; +var _34292__$1 = this; +return self__.meta34291; +})); + +(cljs.pprint.t_cljs$pprint34290.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core._flush(self__.writer); +})); + +(cljs.pprint.t_cljs$pprint34290.prototype.cljs$core$IWriter$_write$arity$2 = (function (this$,x){ +var self__ = this; +var this$__$1 = this; +var pred__34314 = cljs.core._EQ_; +var expr__34315 = cljs.core.type(x); +if(cljs.core.truth_((pred__34314.cljs$core$IFn$_invoke$arity$2 ? pred__34314.cljs$core$IFn$_invoke$arity$2(String,expr__34315) : pred__34314.call(null, String,expr__34315)))){ +var s = clojure.string.lower_case(x); +if(cljs.core.not(cljs.core.deref(self__.capped))){ +var m = RegExp("\\S","g").exec(s); +var offset = (function (){var and__5043__auto__ = m; +if(cljs.core.truth_(and__5043__auto__)){ +return m.index; +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.truth_(offset)){ +cljs.core._write(self__.writer,[cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),offset),clojure.string.upper_case(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(s,offset)),clojure.string.lower_case(cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(offset + (1))))].join('')); + +return cljs.core.reset_BANG_(self__.capped,true); +} else { +return cljs.core._write(self__.writer,s); +} +} else { +return cljs.core._write(self__.writer,clojure.string.lower_case(s)); +} +} else { +if(cljs.core.truth_((pred__34314.cljs$core$IFn$_invoke$arity$2 ? pred__34314.cljs$core$IFn$_invoke$arity$2(Number,expr__34315) : pred__34314.call(null, Number,expr__34315)))){ +var c = cljs.core.char$(x); +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(cljs.core.deref(self__.capped)); +if(and__5043__auto__){ +return goog.string.isUnicodeChar(c); +} else { +return and__5043__auto__; +} +})())){ +cljs.core.reset_BANG_(self__.capped,true); + +return cljs.core._write(self__.writer,clojure.string.upper_case(c)); +} else { +return cljs.core._write(self__.writer,clojure.string.lower_case(c)); +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__34315)].join(''))); +} +} +})); + +(cljs.pprint.t_cljs$pprint34290.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"writer","writer",1362963291,null),new cljs.core.Symbol(null,"capped","capped",-1650988402,null),new cljs.core.Symbol(null,"meta34291","meta34291",-7347186,null)], null); +})); + +(cljs.pprint.t_cljs$pprint34290.cljs$lang$type = true); + +(cljs.pprint.t_cljs$pprint34290.cljs$lang$ctorStr = "cljs.pprint/t_cljs$pprint34290"); + +(cljs.pprint.t_cljs$pprint34290.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.pprint/t_cljs$pprint34290"); +})); + +/** + * Positional factory function for cljs.pprint/t_cljs$pprint34290. + */ +cljs.pprint.__GT_t_cljs$pprint34290 = (function cljs$pprint$__GT_t_cljs$pprint34290(writer,capped,meta34291){ +return (new cljs.pprint.t_cljs$pprint34290(writer,capped,meta34291)); +}); + + +/** + * Returns a proxy that wraps writer, capitalizing the first word + */ +cljs.pprint.init_cap_writer = (function cljs$pprint$init_cap_writer(writer){ +var capped = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false); +return (new cljs.pprint.t_cljs$pprint34290(writer,capped,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.pprint.modify_case = (function cljs$pprint$modify_case(make_writer,params,navigator,offsets){ +var clause = cljs.core.first(new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params)); +var _STAR_out_STAR__orig_val__34342 = cljs.core._STAR_out_STAR_; +var _STAR_out_STAR__temp_val__34343 = (make_writer.cljs$core$IFn$_invoke$arity$1 ? make_writer.cljs$core$IFn$_invoke$arity$1(cljs.core._STAR_out_STAR_) : make_writer.call(null, cljs.core._STAR_out_STAR_)); +(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__temp_val__34343); + +try{return cljs.pprint.execute_sub_format(clause,navigator,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); +}finally {(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__orig_val__34342); +}}); +/** + * Returns the IWriter passed in wrapped in a pretty writer proxy, unless it's + * already a pretty writer. Generally, it is unnecessary to call this function, since pprint, + * write, and cl-format all call it if they need to. However if you want the state to be + * preserved across calls, you will want to wrap them with this. + * + * For example, when you want to generate column-aware output with multiple calls to cl-format, + * do it like in this example: + * + * (defn print-table [aseq column-width] + * (binding [*out* (get-pretty-writer *out*)] + * (doseq [row aseq] + * (doseq [col row] + * (cl-format true "~4D~7,vT" col column-width)) + * (prn)))) + * + * Now when you run: + * + * user> (print-table (map #(vector % (* % %) (* % % %)) (range 1 11)) 8) + * + * It prints a table of squares and cubes for the numbers from 1 to 10: + * + * 1 1 1 + * 2 4 8 + * 3 9 27 + * 4 16 64 + * 5 25 125 + * 6 36 216 + * 7 49 343 + * 8 64 512 + * 9 81 729 + * 10 100 1000 + */ +cljs.pprint.get_pretty_writer = (function cljs$pprint$get_pretty_writer(writer){ +if(cljs.core.truth_(cljs.pprint.pretty_writer_QMARK_(writer))){ +return writer; +} else { +return cljs.pprint.pretty_writer(writer,cljs.pprint._STAR_print_right_margin_STAR_,cljs.pprint._STAR_print_miser_width_STAR_); +} +}); +/** + * Make a newline if *out* is not already at the beginning of the line. If *out* is + * not a pretty writer (which keeps track of columns), this function always outputs a newline. + */ +cljs.pprint.fresh_line = (function cljs$pprint$fresh_line(){ +if((((!((cljs.core._STAR_out_STAR_ == null))))?(((((cljs.core._STAR_out_STAR_.cljs$lang$protocol_mask$partition0$ & (32768))) || ((cljs.core.PROTOCOL_SENTINEL === cljs.core._STAR_out_STAR_.cljs$core$IDeref$))))?true:(((!cljs.core._STAR_out_STAR_.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IDeref,cljs.core._STAR_out_STAR_):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IDeref,cljs.core._STAR_out_STAR_))){ +if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((0),cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(cljs.core._STAR_out_STAR_)))))))){ +return cljs.pprint.prn(); +} else { +return null; +} +} else { +return cljs.pprint.prn(); +} +}); +cljs.pprint.absolute_tabulation = (function cljs$pprint$absolute_tabulation(params,navigator,offsets){ +var colnum_36917 = new cljs.core.Keyword(null,"colnum","colnum",2023796854).cljs$core$IFn$_invoke$arity$1(params); +var colinc_36918 = new cljs.core.Keyword(null,"colinc","colinc",-584873385).cljs$core$IFn$_invoke$arity$1(params); +var current_36919 = cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(cljs.core._STAR_out_STAR_)))); +var space_count_36920 = (((current_36919 < colnum_36917))?(colnum_36917 - current_36919):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(colinc_36918,(0)))?(0):(colinc_36918 - cljs.core.rem((current_36919 - colnum_36917),colinc_36918)) +)); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(space_count_36920," "))], 0)); + +return navigator; +}); +cljs.pprint.relative_tabulation = (function cljs$pprint$relative_tabulation(params,navigator,offsets){ +var colrel_36921 = new cljs.core.Keyword(null,"colnum","colnum",2023796854).cljs$core$IFn$_invoke$arity$1(params); +var colinc_36922 = new cljs.core.Keyword(null,"colinc","colinc",-584873385).cljs$core$IFn$_invoke$arity$1(params); +var start_col_36923 = (colrel_36921 + cljs.pprint.get_column(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs.core.deref(cljs.core._STAR_out_STAR_))))); +var offset_36924 = (((colinc_36922 > (0)))?cljs.core.rem(start_col_36923,colinc_36922):(0)); +var space_count_36925 = (colrel_36921 + ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((0),offset_36924))?(0):(colinc_36922 - offset_36924))); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(space_count_36925," "))], 0)); + +return navigator; +}); +cljs.pprint.format_logical_block = (function cljs$pprint$format_logical_block(params,navigator,offsets){ +var clauses = new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(params); +var clause_count = cljs.core.count(clauses); +var prefix = (((clause_count > (1)))?new cljs.core.Keyword(null,"string","string",-1989541586).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(cljs.core.first(cljs.core.first(clauses)))):(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?"(":null)); +var body = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(clauses,(((clause_count > (1)))?(1):(0))); +var suffix = (((clause_count > (2)))?new cljs.core.Keyword(null,"string","string",-1989541586).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(cljs.core.first(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(clauses,(2))))):(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?")":null)); +var vec__34393 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34393,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34393,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__34407_36926 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__34408_36927 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__34409_36928 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__34410_36929 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__34409_36928); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__34410_36929); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,prefix,null,suffix); + +cljs.pprint.execute_sub_format(body,cljs.pprint.init_navigator(arg),new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params)); + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__34408_36927); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__34407_36926); +}} + + +return navigator__$1; +}); +cljs.pprint.set_indent = (function cljs$pprint$set_indent(params,navigator,offsets){ +var relative_to = (cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?new cljs.core.Keyword(null,"current","current",-1088038603):new cljs.core.Keyword(null,"block","block",664686210)); +cljs.pprint.pprint_indent(relative_to,new cljs.core.Keyword(null,"n","n",562130025).cljs$core$IFn$_invoke$arity$1(params)); + +return navigator; +}); +cljs.pprint.conditional_newline = (function cljs$pprint$conditional_newline(params,navigator,offsets){ +var kind = (cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))?new cljs.core.Keyword(null,"mandatory","mandatory",542802336):new cljs.core.Keyword(null,"fill","fill",883462889)):(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))?new cljs.core.Keyword(null,"miser","miser",-556060186):new cljs.core.Keyword(null,"linear","linear",872268697))); +cljs.pprint.pprint_newline(kind); + +return navigator; +}); +cljs.pprint.directive_table = cljs.core.PersistentHashMap.fromArrays(["A","S","D","B","O","X","R","P","C","F","E","G","$","%","&","|","~","\n","T","*","?","(",")","[",";","]","{","}","<",">","^","W","_","I"],[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"A",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"colinc","colinc",-584873385),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null),new cljs.core.Keyword(null,"minpad","minpad",323570901),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (p1__34429_SHARP_,p2__34430_SHARP_,p3__34431_SHARP_){ +return cljs.pprint.format_ascii(cljs.core.print_str,p1__34429_SHARP_,p2__34430_SHARP_,p3__34431_SHARP_); +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"S",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"colinc","colinc",-584873385),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null),new cljs.core.Keyword(null,"minpad","minpad",323570901),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (p1__34432_SHARP_,p2__34433_SHARP_,p3__34434_SHARP_){ +return cljs.pprint.format_ascii(cljs.core.pr_str,p1__34432_SHARP_,p2__34433_SHARP_,p3__34434_SHARP_); +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"D",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null),new cljs.core.Keyword(null,"commachar","commachar",652859327),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [",",String], null),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(3),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (p1__34435_SHARP_,p2__34436_SHARP_,p3__34437_SHARP_){ +return cljs.pprint.format_integer((10),p1__34435_SHARP_,p2__34436_SHARP_,p3__34437_SHARP_); +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"B",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null),new cljs.core.Keyword(null,"commachar","commachar",652859327),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [",",String], null),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(3),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (p1__34438_SHARP_,p2__34439_SHARP_,p3__34440_SHARP_){ +return cljs.pprint.format_integer((2),p1__34438_SHARP_,p2__34439_SHARP_,p3__34440_SHARP_); +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"O",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null),new cljs.core.Keyword(null,"commachar","commachar",652859327),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [",",String], null),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(3),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (p1__34441_SHARP_,p2__34442_SHARP_,p3__34443_SHARP_){ +return cljs.pprint.format_integer((8),p1__34441_SHARP_,p2__34442_SHARP_,p3__34443_SHARP_); +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"X",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null),new cljs.core.Keyword(null,"commachar","commachar",652859327),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [",",String], null),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(3),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (p1__34444_SHARP_,p2__34445_SHARP_,p3__34446_SHARP_){ +return cljs.pprint.format_integer((16),p1__34444_SHARP_,p2__34445_SHARP_,p3__34446_SHARP_); +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"R",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(5),[new cljs.core.Keyword(null,"base","base",185279322),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null),new cljs.core.Keyword(null,"commachar","commachar",652859327),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [",",String], null),new cljs.core.Keyword(null,"commainterval","commainterval",-1980061083),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(3),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +if(cljs.core.truth_(cljs.core.first(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(params)))){ +return (function (p1__34447_SHARP_,p2__34448_SHARP_,p3__34449_SHARP_){ +return cljs.pprint.format_integer(new cljs.core.Keyword(null,"base","base",185279322).cljs$core$IFn$_invoke$arity$1(p1__34447_SHARP_),p1__34447_SHARP_,p2__34448_SHARP_,p3__34449_SHARP_); +}); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__5043__auto__)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__5043__auto__; +} +})())){ +return (function (p1__34450_SHARP_,p2__34451_SHARP_,p3__34452_SHARP_){ +return cljs.pprint.format_old_roman(p1__34450_SHARP_,p2__34451_SHARP_,p3__34452_SHARP_); +}); +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +return (function (p1__34453_SHARP_,p2__34454_SHARP_,p3__34455_SHARP_){ +return cljs.pprint.format_new_roman(p1__34453_SHARP_,p2__34454_SHARP_,p3__34455_SHARP_); +}); +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))){ +return (function (p1__34456_SHARP_,p2__34457_SHARP_,p3__34458_SHARP_){ +return cljs.pprint.format_ordinal_english(p1__34456_SHARP_,p2__34457_SHARP_,p3__34458_SHARP_); +}); +} else { +return (function (p1__34459_SHARP_,p2__34460_SHARP_,p3__34461_SHARP_){ +return cljs.pprint.format_cardinal_english(p1__34459_SHARP_,p2__34460_SHARP_,p3__34461_SHARP_); +}); + +} +} +} +} +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"P",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,navigator,offsets){ +var navigator__$1 = (cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params__$1))?cljs.pprint.relative_reposition(navigator,(-1)):navigator); +var strs = (cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params__$1))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["y","ies"], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["","s"], null)); +var vec__34478 = cljs.pprint.next_arg(navigator__$1); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34478,(0),null); +var navigator__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34478,(1),null); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(arg,(1)))?cljs.core.first(strs):cljs.core.second(strs))], 0)); + +return navigator__$2; +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"C",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"char-format","char-format",-1016499218),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))){ +return cljs.pprint.pretty_character; +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +return cljs.pprint.readable_character; +} else { +return cljs.pprint.plain_character; + +} +} +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"F",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(5),[new cljs.core.Keyword(null,"w","w",354169001),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"d","d",1972142424),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"k","k",-2146297393),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,String], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return cljs.pprint.fixed_float; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"E",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(7),[new cljs.core.Keyword(null,"w","w",354169001),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"d","d",1972142424),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"e","e",1381269198),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"k","k",-2146297393),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null),new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,String], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null),new cljs.core.Keyword(null,"exponentchar","exponentchar",1986664222),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return cljs.pprint.exponential_float; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"G",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(7),[new cljs.core.Keyword(null,"w","w",354169001),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"d","d",1972142424),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"e","e",1381269198),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"k","k",-2146297393),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null),new cljs.core.Keyword(null,"overflowchar","overflowchar",-1620088106),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,String], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null),new cljs.core.Keyword(null,"exponentchar","exponentchar",1986664222),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return cljs.pprint.general_float; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"$",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"d","d",1972142424),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(2),Number], null),new cljs.core.Keyword(null,"n","n",562130025),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null),new cljs.core.Keyword(null,"w","w",354169001),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return cljs.pprint.dollar_float; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"%",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"count","count",2139924085),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),cljs.core.PersistentHashSet.EMPTY,new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,arg_navigator,offsets){ +var n__5636__auto___36930 = new cljs.core.Keyword(null,"count","count",2139924085).cljs$core$IFn$_invoke$arity$1(params__$1); +var i_36931 = (0); +while(true){ +if((i_36931 < n__5636__auto___36930)){ +cljs.pprint.prn(); + +var G__36932 = (i_36931 + (1)); +i_36931 = G__36932; +continue; +} else { +} +break; +} + +return arg_navigator; +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"&",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"count","count",2139924085),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"pretty","pretty",-1916372486),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,arg_navigator,offsets){ +var cnt_36933 = new cljs.core.Keyword(null,"count","count",2139924085).cljs$core$IFn$_invoke$arity$1(params__$1); +if((cnt_36933 > (0))){ +cljs.pprint.fresh_line(); +} else { +} + +var n__5636__auto___36934 = (cnt_36933 - (1)); +var i_36935 = (0); +while(true){ +if((i_36935 < n__5636__auto___36934)){ +cljs.pprint.prn(); + +var G__36936 = (i_36935 + (1)); +i_36935 = G__36936; +continue; +} else { +} +break; +} + +return arg_navigator; +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"|",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"count","count",2139924085),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),cljs.core.PersistentHashSet.EMPTY,new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,arg_navigator,offsets){ +var n__5636__auto___36937 = new cljs.core.Keyword(null,"count","count",2139924085).cljs$core$IFn$_invoke$arity$1(params__$1); +var i_36938 = (0); +while(true){ +if((i_36938 < n__5636__auto___36937)){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["\f"], 0)); + +var G__36939 = (i_36938 + (1)); +i_36938 = G__36939; +continue; +} else { +} +break; +} + +return arg_navigator; +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"~",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"n","n",562130025),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),cljs.core.PersistentHashSet.EMPTY,new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,arg_navigator,offsets){ +var n = new cljs.core.Keyword(null,"n","n",562130025).cljs$core$IFn$_invoke$arity$1(params__$1); +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(n,"~"))], 0)); + +return arg_navigator; +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"\n",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,arg_navigator,offsets){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params__$1))){ +cljs.pprint.prn(); +} else { +} + +return arg_navigator; +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"T",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(2),[new cljs.core.Keyword(null,"colnum","colnum",2023796854),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null),new cljs.core.Keyword(null,"colinc","colinc",-584873385),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"pretty","pretty",-1916372486),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +return (function (p1__34462_SHARP_,p2__34463_SHARP_,p3__34464_SHARP_){ +return cljs.pprint.relative_tabulation(p1__34462_SHARP_,p2__34463_SHARP_,p3__34464_SHARP_); +}); +} else { +return (function (p1__34465_SHARP_,p2__34466_SHARP_,p3__34467_SHARP_){ +return cljs.pprint.absolute_tabulation(p1__34465_SHARP_,p2__34466_SHARP_,p3__34467_SHARP_); +}); +} +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"*",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"n","n",562130025),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,navigator,offsets){ +var n = new cljs.core.Keyword(null,"n","n",562130025).cljs$core$IFn$_invoke$arity$1(params__$1); +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params__$1))){ +return cljs.pprint.absolute_reposition(navigator,n); +} else { +return cljs.pprint.relative_reposition(navigator,(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params__$1))?(- n):n)); +} +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"?",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +return (function (params__$1,navigator,offsets){ +var vec__34534 = cljs.pprint.get_format_arg(navigator); +var subformat = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34534,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34534,(1),null); +return cljs.pprint.execute_sub_format(subformat,navigator__$1,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params__$1)); +}); +} else { +return (function (params__$1,navigator,offsets){ +var vec__34549 = cljs.pprint.get_format_arg(navigator); +var subformat = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34549,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34549,(1),null); +var vec__34552 = cljs.pprint.next_arg(navigator__$1); +var subargs = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34552,(0),null); +var navigator__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34552,(1),null); +var sub_navigator = cljs.pprint.init_navigator(subargs); +cljs.pprint.execute_sub_format(subformat,sub_navigator,new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params__$1)); + +return navigator__$2; +}); +} +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"(",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"right","right",-452581833),")",new cljs.core.Keyword(null,"allows-separator","allows-separator",-818967742),null,new cljs.core.Keyword(null,"else","else",-1508377146),null], null),new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +var mod_case_writer = (cljs.core.truth_((function (){var and__5043__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__5043__auto__)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__5043__auto__; +} +})())?cljs.pprint.upcase_writer:(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?cljs.pprint.capitalize_word_writer:(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))?cljs.pprint.init_cap_writer:cljs.pprint.downcase_writer +))); +return (function (p1__34468_SHARP_,p2__34469_SHARP_,p3__34470_SHARP_){ +return cljs.pprint.modify_case(mod_case_writer,p1__34468_SHARP_,p2__34469_SHARP_,p3__34470_SHARP_); +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),")",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),cljs.core.PersistentHashSet.EMPTY,new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return null; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"[",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"selector","selector",762528866),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"right","right",-452581833),"]",new cljs.core.Keyword(null,"allows-separator","allows-separator",-818967742),true,new cljs.core.Keyword(null,"else","else",-1508377146),new cljs.core.Keyword(null,"last","last",1105735132)], null),new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))){ +return cljs.pprint.boolean_conditional; +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +return cljs.pprint.check_arg_conditional; +} else { +return cljs.pprint.choice_conditional; + +} +} +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),";",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(2),[new cljs.core.Keyword(null,"min-remaining","min-remaining",962687677),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"max-columns","max-columns",1742323262),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"colon","colon",-965200945),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"separator","separator",-1628749125),true], null),new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return null; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"]",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),cljs.core.PersistentHashSet.EMPTY,new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return null; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"{",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"max-iterations","max-iterations",2021275563),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"right","right",-452581833),"}",new cljs.core.Keyword(null,"allows-separator","allows-separator",-818967742),false], null),new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +if(cljs.core.truth_((function (){var and__5043__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(and__5043__auto__)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} else { +return and__5043__auto__; +} +})())){ +return cljs.pprint.iterate_main_sublists; +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))){ +return cljs.pprint.iterate_list_of_sublists; +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))){ +return cljs.pprint.iterate_main_list; +} else { +return cljs.pprint.iterate_sublist; + +} +} +} +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"}",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"colon","colon",-965200945),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return null; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"<",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(4),[new cljs.core.Keyword(null,"mincol","mincol",1230695445),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"colinc","colinc",-584873385),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),Number], null),new cljs.core.Keyword(null,"minpad","minpad",323570901),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null),new cljs.core.Keyword(null,"padchar","padchar",2018584530),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ",String], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null,new cljs.core.Keyword(null,"pretty","pretty",-1916372486),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"right","right",-452581833),">",new cljs.core.Keyword(null,"allows-separator","allows-separator",-818967742),true,new cljs.core.Keyword(null,"else","else",-1508377146),new cljs.core.Keyword(null,"first","first",-644103046)], null),new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return cljs.pprint.logical_block_or_justify; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),">",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"colon","colon",-965200945),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return null; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"^",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(3),[new cljs.core.Keyword(null,"arg1","arg1",951899358),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"arg2","arg2",1729550917),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null),new cljs.core.Keyword(null,"arg3","arg3",-1486822496),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"colon","colon",-965200945),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return (function (params__$1,navigator,offsets){ +var arg1 = new cljs.core.Keyword(null,"arg1","arg1",951899358).cljs$core$IFn$_invoke$arity$1(params__$1); +var arg2 = new cljs.core.Keyword(null,"arg2","arg2",1729550917).cljs$core$IFn$_invoke$arity$1(params__$1); +var arg3 = new cljs.core.Keyword(null,"arg3","arg3",-1486822496).cljs$core$IFn$_invoke$arity$1(params__$1); +var exit = (cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params__$1))?new cljs.core.Keyword(null,"colon-up-arrow","colon-up-arrow",244853007):new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333)); +if(cljs.core.truth_((function (){var and__5043__auto__ = arg1; +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = arg2; +if(cljs.core.truth_(and__5043__auto____$1)){ +return arg3; +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})())){ +if((((arg1 <= arg2)) && ((arg2 <= arg3)))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [exit,navigator], null); +} else { +return navigator; +} +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = arg1; +if(cljs.core.truth_(and__5043__auto__)){ +return arg2; +} else { +return and__5043__auto__; +} +})())){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(arg1,arg2)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [exit,navigator], null); +} else { +return navigator; +} +} else { +if(cljs.core.truth_(arg1)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(arg1,(0))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [exit,navigator], null); +} else { +return navigator; +} +} else { +if((cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params__$1))?cljs.core.empty_QMARK_(new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"base-args","base-args",-1268706822).cljs$core$IFn$_invoke$arity$1(params__$1))):cljs.core.empty_QMARK_(new cljs.core.Keyword(null,"rest","rest",-1241696419).cljs$core$IFn$_invoke$arity$1(navigator)))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [exit,navigator], null); +} else { +return navigator; +} + +} +} +} +}); +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"W",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null,new cljs.core.Keyword(null,"pretty","pretty",-1916372486),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +if(cljs.core.truth_((function (){var or__5045__auto__ = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params); +} +})())){ +var bindings = cljs.core.concat.cljs$core$IFn$_invoke$arity$2((cljs.core.truth_(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(params))?new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"level","level",1290497552),null,new cljs.core.Keyword(null,"length","length",588987862),null], null):cljs.core.PersistentVector.EMPTY),(cljs.core.truth_(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"pretty","pretty",-1916372486),true], null):cljs.core.PersistentVector.EMPTY)); +return (function (params__$1,navigator,offsets){ +var vec__34648 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34648,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34648,(1),null); +if(cljs.core.truth_(cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.pprint.write,arg,bindings))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),navigator__$1], null); +} else { +return navigator__$1; +} +}); +} else { +return (function (params__$1,navigator,offsets){ +var vec__34653 = cljs.pprint.next_arg(navigator); +var arg = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34653,(0),null); +var navigator__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34653,(1),null); +if(cljs.core.truth_(cljs.pprint.write_out(arg))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"up-arrow","up-arrow",1705310333),navigator__$1], null); +} else { +return navigator__$1; +} +}); +} +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"_",new cljs.core.Keyword(null,"params","params",710516235),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"colon","colon",-965200945),null,new cljs.core.Keyword(null,"at","at",1476951349),null,new cljs.core.Keyword(null,"both","both",-393648840),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return cljs.pprint.conditional_newline; +})], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"directive","directive",793559132),"I",new cljs.core.Keyword(null,"params","params",710516235),(new cljs.core.PersistentArrayMap(null,(1),[new cljs.core.Keyword(null,"n","n",562130025),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),Number], null)],null)),new cljs.core.Keyword(null,"flags","flags",1775418075),new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"colon","colon",-965200945),null], null), null),new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656),(function (params,offset){ +return cljs.pprint.set_indent; +})], null)]); +cljs.pprint.param_pattern = /^([vV]|#|('.)|([+-]?\d+)|(?=,))/; +cljs.pprint.special_params = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"remaining-arg-count","remaining-arg-count",-1216589335),null,new cljs.core.Keyword(null,"parameter-from-args","parameter-from-args",-758446196),null], null), null); +cljs.pprint.extract_param = (function cljs$pprint$extract_param(p__34692){ +var vec__34697 = p__34692; +var s = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34697,(0),null); +var offset = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34697,(1),null); +var saw_comma = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34697,(2),null); +var m = (new RegExp(cljs.pprint.param_pattern.source,"g")); +var param = m.exec(s); +if(cljs.core.truth_(param)){ +var token_str = cljs.core.first(param); +var remainder = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,m.lastIndex); +var new_offset = (offset + m.lastIndex); +if((!(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(",",cljs.core.nth.cljs$core$IFn$_invoke$arity$2(remainder,(0)))))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [token_str,offset], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [remainder,new_offset,false], null)], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [token_str,offset], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.subs.cljs$core$IFn$_invoke$arity$2(remainder,(1)),(new_offset + (1)),true], null)], null); +} +} else { +if(cljs.core.truth_(saw_comma)){ +return cljs.pprint.format_error("Badly formed parameters in format directive",offset); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [s,offset], null)], null); +} +} +}); +cljs.pprint.extract_params = (function cljs$pprint$extract_params(s,offset){ +return cljs.pprint.consume(cljs.pprint.extract_param,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [s,offset,false], null)); +}); +/** + * Translate the string representation of a param to the internalized + * representation + */ +cljs.pprint.translate_param = (function cljs$pprint$translate_param(p__34729){ +var vec__34730 = p__34729; +var p = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34730,(0),null); +var offset = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34730,(1),null); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p.length,(0)))?null:((((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p.length,(1))) && (cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, ["V",null,"v",null], null), null),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(p,(0))))))?new cljs.core.Keyword(null,"parameter-from-args","parameter-from-args",-758446196):((((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p.length,(1))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("#",cljs.core.nth.cljs$core$IFn$_invoke$arity$2(p,(0))))))?new cljs.core.Keyword(null,"remaining-arg-count","remaining-arg-count",-1216589335):((((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p.length,(2))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("'",cljs.core.nth.cljs$core$IFn$_invoke$arity$2(p,(0))))))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(p,(1)):parseInt(p,(10)) +)))),offset], null); +}); +cljs.pprint.flag_defs = new cljs.core.PersistentArrayMap(null, 2, [":",new cljs.core.Keyword(null,"colon","colon",-965200945),"@",new cljs.core.Keyword(null,"at","at",1476951349)], null); +cljs.pprint.extract_flags = (function cljs$pprint$extract_flags(s,offset){ +return cljs.pprint.consume((function (p__34757){ +var vec__34758 = p__34757; +var s__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34758,(0),null); +var offset__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34758,(1),null); +var flags = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34758,(2),null); +if(cljs.core.empty_QMARK_(s__$1)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [s__$1,offset__$1,flags], null)], null); +} else { +var flag = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.pprint.flag_defs,cljs.core.first(s__$1)); +if(cljs.core.truth_(flag)){ +if(cljs.core.contains_QMARK_(flags,flag)){ +return cljs.pprint.format_error(["Flag \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(s__$1)),"\" appears more than once in a directive"].join(''),offset__$1); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [true,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s__$1,(1)),(offset__$1 + (1)),cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(flags,flag,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [true,offset__$1], null))], null)], null); +} +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [s__$1,offset__$1,flags], null)], null); +} +} +}),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [s,offset,cljs.core.PersistentArrayMap.EMPTY], null)); +}); +cljs.pprint.check_flags = (function cljs$pprint$check_flags(def,flags){ +var allowed = new cljs.core.Keyword(null,"flags","flags",1775418075).cljs$core$IFn$_invoke$arity$1(def); +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(allowed)); +if(and__5043__auto__){ +return new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags); +} else { +return and__5043__auto__; +} +})())){ +cljs.pprint.format_error(["\"@\" is an illegal flag for format directive \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def)),"\""].join(''),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags),(1))); +} else { +} + +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(allowed)); +if(and__5043__auto__){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags); +} else { +return and__5043__auto__; +} +})())){ +cljs.pprint.format_error(["\":\" is an illegal flag for format directive \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def)),"\""].join(''),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags),(1))); +} else { +} + +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(new cljs.core.Keyword(null,"both","both",-393648840).cljs$core$IFn$_invoke$arity$1(allowed)); +if(and__5043__auto__){ +var and__5043__auto____$1 = new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags); +if(cljs.core.truth_(and__5043__auto____$1)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})())){ +return cljs.pprint.format_error(["Cannot combine \"@\" and \":\" flags for format directive \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def)),"\""].join(''),(function (){var x__5133__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(flags),(1)); +var y__5134__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"at","at",1476951349).cljs$core$IFn$_invoke$arity$1(flags),(1)); +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})()); +} else { +return null; +} +}); +/** + * Takes a directive definition and the list of actual parameters and + * a map of flags and returns a map of the parameters and flags with defaults + * filled in. We check to make sure that there are the right types and number + * of parameters as well. + */ +cljs.pprint.map_params = (function cljs$pprint$map_params(def,params,flags,offset){ +cljs.pprint.check_flags(def,flags); + +if((cljs.core.count(params) > cljs.core.count(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def)))){ +cljs.pprint.format_error(cljs.pprint.cl_format.cljs$core$IFn$_invoke$arity$variadic(null,"Too many parameters for directive \"~C\": ~D~:* ~[were~;was~:;were~] specified but only ~D~:* ~[are~;is~:;are~] allowed",cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def),cljs.core.count(params),cljs.core.count(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def))], 0)),cljs.core.second(cljs.core.first(params))); +} else { +} + +cljs.core.doall.cljs$core$IFn$_invoke$arity$1(cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (p1__34774_SHARP_,p2__34775_SHARP_){ +var val = cljs.core.first(p1__34774_SHARP_); +if((!((((val == null)) || (((cljs.core.contains_QMARK_(cljs.pprint.special_params,val)) || (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.second(cljs.core.second(p2__34775_SHARP_)),cljs.core.type(val))))))))){ +return cljs.pprint.format_error(["Parameter ",cljs.core.name(cljs.core.first(p2__34775_SHARP_))," has bad type in directive \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def)),"\": ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.type(val))].join(''),cljs.core.second(p1__34774_SHARP_)); +} else { +return null; +} +}),params,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def))); + +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,cljs.core.reverse((function (){var iter__5523__auto__ = (function cljs$pprint$map_params_$_iter__34810(s__34811){ +return (new cljs.core.LazySeq(null,(function (){ +var s__34811__$1 = s__34811; +while(true){ +var temp__5823__auto__ = cljs.core.seq(s__34811__$1); +if(temp__5823__auto__){ +var s__34811__$2 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s__34811__$2)){ +var c__5521__auto__ = cljs.core.chunk_first(s__34811__$2); +var size__5522__auto__ = cljs.core.count(c__5521__auto__); +var b__34813 = cljs.core.chunk_buffer(size__5522__auto__); +if((function (){var i__34812 = (0); +while(true){ +if((i__34812 < size__5522__auto__)){ +var vec__34819 = cljs.core._nth(c__5521__auto__,i__34812); +var name = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34819,(0),null); +var vec__34822 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34819,(1),null); +var default$ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34822,(0),null); +cljs.core.chunk_append(b__34813,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [name,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [default$,offset], null)], null)); + +var G__36949 = (i__34812 + (1)); +i__34812 = G__36949; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__34813),cljs$pprint$map_params_$_iter__34810(cljs.core.chunk_rest(s__34811__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__34813),null); +} +} else { +var vec__34829 = cljs.core.first(s__34811__$2); +var name = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34829,(0),null); +var vec__34832 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34829,(1),null); +var default$ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34832,(0),null); +return cljs.core.cons(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [name,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [default$,offset], null)], null),cljs$pprint$map_params_$_iter__34810(cljs.core.rest(s__34811__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__5523__auto__(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def)); +})())),cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__34777_SHARP_,p2__34778_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.assoc,p1__34777_SHARP_,p2__34778_SHARP_); +}),cljs.core.PersistentArrayMap.EMPTY,cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__34779_SHARP_){ +return cljs.core.first(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(p1__34779_SHARP_,(1))); +}),cljs.core.zipmap(cljs.core.keys(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(def)),params))),flags], 0)); +}); +cljs.pprint.compile_directive = (function cljs$pprint$compile_directive(s,offset){ +var vec__34845 = cljs.pprint.extract_params(s,offset); +var raw_params = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34845,(0),null); +var vec__34848 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34845,(1),null); +var rest = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34848,(0),null); +var offset__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34848,(1),null); +var vec__34851 = cljs.pprint.extract_flags(rest,offset__$1); +var _ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34851,(0),null); +var vec__34854 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34851,(1),null); +var rest__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34854,(0),null); +var offset__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34854,(1),null); +var flags = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34854,(2),null); +var directive = cljs.core.first(rest__$1); +var def = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.pprint.directive_table,clojure.string.upper_case(directive)); +var params = (cljs.core.truth_(def)?cljs.pprint.map_params(def,cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.pprint.translate_param,raw_params),flags,offset__$2):null); +if(cljs.core.not(directive)){ +cljs.pprint.format_error("Format string ended in the middle of a directive",offset__$2); +} else { +} + +if(cljs.core.not(def)){ +cljs.pprint.format_error(["Directive \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(directive),"\" is undefined"].join(''),offset__$2); +} else { +} + +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.pprint.compiled_directive((function (){var fexpr__34865 = new cljs.core.Keyword(null,"generator-fn","generator-fn",811851656).cljs$core$IFn$_invoke$arity$1(def); +return (fexpr__34865.cljs$core$IFn$_invoke$arity$2 ? fexpr__34865.cljs$core$IFn$_invoke$arity$2(params,offset__$2) : fexpr__34865.call(null, params,offset__$2)); +})(),def,params,offset__$2,null,null,null)),(function (){var remainder = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(rest__$1,(1)); +var offset__$3 = (offset__$2 + (1)); +var trim_QMARK_ = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("\n",new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(def))) && (cljs.core.not(new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(params)))); +var trim_count = ((trim_QMARK_)?cljs.pprint.prefix_count(remainder,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [" ","\t"], null)):(0)); +var remainder__$1 = cljs.core.subs.cljs$core$IFn$_invoke$arity$2(remainder,trim_count); +var offset__$4 = (offset__$3 + trim_count); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [remainder__$1,offset__$4], null); +})()], null); +}); +cljs.pprint.compile_raw_string = (function cljs$pprint$compile_raw_string(s,offset){ +return (new cljs.pprint.compiled_directive((function (_,a,___$1){ +cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([s], 0)); + +return a; +}),null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"string","string",-1989541586),s], null),offset,null,null,null)); +}); +cljs.pprint.right_bracket = (function cljs$pprint$right_bracket(this$){ +return new cljs.core.Keyword(null,"right","right",-452581833).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(this$))); +}); +cljs.pprint.separator_QMARK_ = (function cljs$pprint$separator_QMARK_(this$){ +return new cljs.core.Keyword(null,"separator","separator",-1628749125).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(this$))); +}); +cljs.pprint.else_separator_QMARK_ = (function cljs$pprint$else_separator_QMARK_(this$){ +var and__5043__auto__ = new cljs.core.Keyword(null,"separator","separator",-1628749125).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(this$))); +if(cljs.core.truth_(and__5043__auto__)){ +return new cljs.core.Keyword(null,"colon","colon",-965200945).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(this$)); +} else { +return and__5043__auto__; +} +}); +cljs.pprint.process_bracket = (function cljs$pprint$process_bracket(this$,remainder){ +var vec__34918 = cljs.pprint.collect_clauses(new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(this$)),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(this$),remainder); +var subex = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34918,(0),null); +var remainder__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34918,(1),null); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.pprint.compiled_directive(new cljs.core.Keyword(null,"func","func",-238706040).cljs$core$IFn$_invoke$arity$1(this$),new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(this$),cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(this$),cljs.pprint.tuple_map(subex,new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(this$))], 0)),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(this$),null,null,null)),remainder__$1], null); +}); +cljs.pprint.process_clause = (function cljs$pprint$process_clause(bracket_info,offset,remainder){ +return cljs.pprint.consume((function (remainder__$1){ +if(cljs.core.empty_QMARK_(remainder__$1)){ +return cljs.pprint.format_error("No closing bracket found.",offset); +} else { +var this$ = cljs.core.first(remainder__$1); +var remainder__$2 = cljs.core.next(remainder__$1); +if(cljs.core.truth_(cljs.pprint.right_bracket(this$))){ +return cljs.pprint.process_bracket(this$,remainder__$2); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"right","right",-452581833).cljs$core$IFn$_invoke$arity$1(bracket_info),new cljs.core.Keyword(null,"directive","directive",793559132).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(this$)))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"right-bracket","right-bracket",951856080),new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(this$),null,remainder__$2], null)], null); +} else { +if(cljs.core.truth_(cljs.pprint.else_separator_QMARK_(this$))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"else","else",-1508377146),null,new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(this$),remainder__$2], null)], null); +} else { +if(cljs.core.truth_(cljs.pprint.separator_QMARK_(this$))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"separator","separator",-1628749125),null,null,remainder__$2], null)], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [this$,remainder__$2], null); + +} +} +} +} +} +}),remainder); +}); +cljs.pprint.collect_clauses = (function cljs$pprint$collect_clauses(bracket_info,offset,remainder){ +return cljs.core.second(cljs.pprint.consume((function (p__34936){ +var vec__34938 = p__34936; +var clause_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34938,(0),null); +var saw_else = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34938,(1),null); +var remainder__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34938,(2),null); +var vec__34947 = cljs.pprint.process_clause(bracket_info,offset,remainder__$1); +var clause = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34947,(0),null); +var vec__34950 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34947,(1),null); +var type = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34950,(0),null); +var right_params = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34950,(1),null); +var else_params = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34950,(2),null); +var remainder__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34950,(3),null); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(type,new cljs.core.Keyword(null,"right-bracket","right-bracket",951856080))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic(cljs.core.concat,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([clause_map,cljs.core.PersistentArrayMap.createAsIfByAssoc([(cljs.core.truth_(saw_else)?new cljs.core.Keyword(null,"else","else",-1508377146):new cljs.core.Keyword(null,"clauses","clauses",1454841241)),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [clause], null),new cljs.core.Keyword(null,"right-params","right-params",-1790676237),right_params])], 0)),remainder__$2], null)], null); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(type,new cljs.core.Keyword(null,"else","else",-1508377146))){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(clause_map))){ +return cljs.pprint.format_error("Two else clauses (\"~:;\") inside bracket construction.",offset); +} else { +if(cljs.core.not(new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(bracket_info))){ +return cljs.pprint.format_error("An else clause (\"~:;\") is in a bracket type that doesn't support it.",offset); +} else { +if(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"first","first",-644103046),new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(bracket_info))) && (cljs.core.seq(new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(clause_map))))){ +return cljs.pprint.format_error("The else clause (\"~:;\") is only allowed in the first position for this directive.",offset); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"first","first",-644103046),new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(bracket_info))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [true,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic(cljs.core.concat,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([clause_map,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"else","else",-1508377146),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [clause], null),new cljs.core.Keyword(null,"else-params","else-params",-832171646),else_params], null)], 0)),false,remainder__$2], null)], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [true,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic(cljs.core.concat,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([clause_map,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"clauses","clauses",1454841241),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [clause], null)], null)], 0)),true,remainder__$2], null)], null); +} + +} +} +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(type,new cljs.core.Keyword(null,"separator","separator",-1628749125))){ +if(cljs.core.truth_(saw_else)){ +return cljs.pprint.format_error("A plain clause (with \"~;\") follows an else clause (\"~:;\") inside bracket construction.",offset); +} else { +if(cljs.core.not(new cljs.core.Keyword(null,"allows-separator","allows-separator",-818967742).cljs$core$IFn$_invoke$arity$1(bracket_info))){ +return cljs.pprint.format_error("A separator (\"~;\") is in a bracket type that doesn't support it.",offset); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [true,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.merge_with.cljs$core$IFn$_invoke$arity$variadic(cljs.core.concat,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([clause_map,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"clauses","clauses",1454841241),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [clause], null)], null)], 0)),false,remainder__$2], null)], null); + +} +} +} else { +return null; +} +} +} +}),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"clauses","clauses",1454841241),cljs.core.PersistentVector.EMPTY], null),false,remainder], null))); +}); +/** + * Take a linearly compiled format and process the bracket directives to give it + * the appropriate tree structure + */ +cljs.pprint.process_nesting = (function cljs$pprint$process_nesting(format){ +return cljs.core.first(cljs.pprint.consume((function (remainder){ +var this$ = cljs.core.first(remainder); +var remainder__$1 = cljs.core.next(remainder); +var bracket = new cljs.core.Keyword(null,"bracket-info","bracket-info",-1600092774).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(this$)); +if(cljs.core.truth_(new cljs.core.Keyword(null,"right","right",-452581833).cljs$core$IFn$_invoke$arity$1(bracket))){ +return cljs.pprint.process_bracket(this$,remainder__$1); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [this$,remainder__$1], null); +} +}),format)); +}); +/** + * Compiles format-str into a compiled format which can be used as an argument + * to cl-format just like a plain format string. Use this function for improved + * performance when you're using the same format string repeatedly + */ +cljs.pprint.compile_format = (function cljs$pprint$compile_format(format_str){ +var _STAR_format_str_STAR__orig_val__34966 = cljs.pprint._STAR_format_str_STAR_; +var _STAR_format_str_STAR__temp_val__34967 = format_str; +(cljs.pprint._STAR_format_str_STAR_ = _STAR_format_str_STAR__temp_val__34967); + +try{return cljs.pprint.process_nesting(cljs.core.first(cljs.pprint.consume((function (p__34968){ +var vec__34969 = p__34968; +var s = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34969,(0),null); +var offset = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34969,(1),null); +if(cljs.core.empty_QMARK_(s)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,s], null); +} else { +var tilde = s.indexOf("~"); +if((tilde < (0))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.pprint.compile_raw_string(s,offset),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["",(offset + s.length)], null)], null); +} else { +if((tilde === (0))){ +return cljs.pprint.compile_directive(cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,(1)),(offset + (1))); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.pprint.compile_raw_string(cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),tilde),offset),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,tilde),(tilde + offset)], null)], null); + +} +} +} +}),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [format_str,(0)], null)))); +}finally {(cljs.pprint._STAR_format_str_STAR_ = _STAR_format_str_STAR__orig_val__34966); +}}); +/** + * determine whether a given compiled format has any directives that depend on the + * column number or pretty printing + */ +cljs.pprint.needs_pretty = (function cljs$pprint$needs_pretty(format){ +var format__$1 = format; +while(true){ +if(cljs.core.empty_QMARK_(format__$1)){ +return false; +} else { +if(cljs.core.truth_((function (){var or__5045__auto__ = new cljs.core.Keyword(null,"pretty","pretty",-1916372486).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"flags","flags",1775418075).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"def","def",-1043430536).cljs$core$IFn$_invoke$arity$1(cljs.core.first(format__$1)))); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = cljs.core.some(cljs.pprint.needs_pretty,cljs.core.first(new cljs.core.Keyword(null,"clauses","clauses",1454841241).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(cljs.core.first(format__$1))))); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return cljs.core.some(cljs.pprint.needs_pretty,cljs.core.first(new cljs.core.Keyword(null,"else","else",-1508377146).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(cljs.core.first(format__$1))))); +} +} +})())){ +return true; +} else { +var G__36972 = cljs.core.next(format__$1); +format__$1 = G__36972; +continue; +} +} +break; +} +}); +/** + * Executes the format with the arguments. + */ +cljs.pprint.execute_format = (function cljs$pprint$execute_format(var_args){ +var G__35023 = arguments.length; +switch (G__35023) { +case 3: +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 2: +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$3 = (function (stream,format,args){ +var sb = (new goog.string.StringBuffer()); +var real_stream = ((((cljs.core.not(stream)) || (stream === true)))?(new cljs.core.StringBufferWriter(sb)):stream); +var wrapped_stream = ((((cljs.pprint.needs_pretty(format)) && (cljs.core.not(cljs.pprint.pretty_writer_QMARK_(real_stream)))))?cljs.pprint.get_pretty_writer(real_stream):real_stream); +var _STAR_out_STAR__orig_val__35030 = cljs.core._STAR_out_STAR_; +var _STAR_out_STAR__temp_val__35031 = wrapped_stream; +(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__temp_val__35031); + +try{try{cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(format,args); +}finally {if((!((real_stream === wrapped_stream)))){ +cljs.core._flush(wrapped_stream); +} else { +} +} +if(cljs.core.not(stream)){ +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb); +} else { +if(stream === true){ +return cljs.core.string_print(cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb)); +} else { +return null; + +} +} +}finally {(cljs.core._STAR_out_STAR_ = _STAR_out_STAR__orig_val__35030); +}})); + +(cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2 = (function (format,args){ +cljs.pprint.map_passing_context((function (element,context){ +if(cljs.pprint.abort_QMARK_(context)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,context], null); +} else { +var vec__35038 = cljs.pprint.realize_parameter_list(new cljs.core.Keyword(null,"params","params",710516235).cljs$core$IFn$_invoke$arity$1(element),context); +var params = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35038,(0),null); +var args__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35038,(1),null); +var vec__35041 = cljs.pprint.unzip_map(params); +var params__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35041,(0),null); +var offsets = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35041,(1),null); +var params__$2 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(params__$1,new cljs.core.Keyword(null,"base-args","base-args",-1268706822),args__$1); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"func","func",-238706040).cljs$core$IFn$_invoke$arity$1(element),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [params__$2,args__$1,offsets], null))], null); +} +}),args,format); + +return null; +})); + +(cljs.pprint.execute_format.cljs$lang$maxFixedArity = 3); + +cljs.pprint.cached_compile = cljs.core.memoize(cljs.pprint.compile_format); +/** + * Installs a function as a new method of multimethod associated with dispatch-value. + */ +cljs.pprint.use_method = (function cljs$pprint$use_method(multifn,dispatch_val,func){ +return cljs.core._add_method(multifn,dispatch_val,func); +}); +cljs.pprint.reader_macros = new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Symbol(null,"quote","quote",1377916282,null),"'",new cljs.core.Symbol(null,"var","var",870848730,null),"#'",new cljs.core.Symbol("clojure.core","deref","clojure.core/deref",188719157,null),"@",new cljs.core.Symbol("clojure.core","unquote","clojure.core/unquote",843087510,null),"~",new cljs.core.Symbol("cljs.core","deref","cljs.core/deref",1901963335,null),"@",new cljs.core.Symbol("cljs.core","unquote","cljs.core/unquote",1013085760,null),"~"], null); +cljs.pprint.pprint_reader_macro = (function cljs$pprint$pprint_reader_macro(alis){ +var macro_char = (function (){var G__35059 = cljs.core.first(alis); +return (cljs.pprint.reader_macros.cljs$core$IFn$_invoke$arity$1 ? cljs.pprint.reader_macros.cljs$core$IFn$_invoke$arity$1(G__35059) : cljs.pprint.reader_macros.call(null, G__35059)); +})(); +if(cljs.core.truth_((function (){var and__5043__auto__ = macro_char; +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((2),cljs.core.count(alis)); +} else { +return and__5043__auto__; +} +})())){ +cljs.core._write(cljs.core._STAR_out_STAR_,macro_char); + +cljs.pprint.write_out(cljs.core.second(alis)); + +return true; +} else { +return null; +} +}); +cljs.pprint.pprint_simple_list = (function cljs$pprint$pprint_simple_list(alis){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35068_36981 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35069_36982 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35070_36983 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35071_36984 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35070_36983); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35071_36984); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"(",null,")"); + +var length_count35075_36985 = (0); +var alis_36986__$1 = cljs.core.seq(alis); +while(true){ +if(((cljs.core.not(cljs.core._STAR_print_length_STAR_)) || ((length_count35075_36985 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_36986__$1){ +cljs.pprint.write_out(cljs.core.first(alis_36986__$1)); + +if(cljs.core.next(alis_36986__$1)){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__36987 = (length_count35075_36985 + (1)); +var G__36988 = cljs.core.next(alis_36986__$1); +length_count35075_36985 = G__36987; +alis_36986__$1 = G__36988; +continue; +} else { +} +} else { +} +} else { +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35069_36982); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35068_36981); +}} + +return null; +}); +cljs.pprint.pprint_list = (function cljs$pprint$pprint_list(alis){ +if(cljs.core.not(cljs.pprint.pprint_reader_macro(alis))){ +return cljs.pprint.pprint_simple_list(alis); +} else { +return null; +} +}); +cljs.pprint.pprint_vector = (function cljs$pprint$pprint_vector(avec){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35083_36989 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35084_36990 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35085_36991 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35086_36992 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35085_36991); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35086_36992); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"[",null,"]"); + +var length_count35092_36994 = (0); +var aseq_36995 = cljs.core.seq(avec); +while(true){ +if(((cljs.core.not(cljs.core._STAR_print_length_STAR_)) || ((length_count35092_36994 < cljs.core._STAR_print_length_STAR_)))){ +if(aseq_36995){ +cljs.pprint.write_out(cljs.core.first(aseq_36995)); + +if(cljs.core.next(aseq_36995)){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__36997 = (length_count35092_36994 + (1)); +var G__36998 = cljs.core.next(aseq_36995); +length_count35092_36994 = G__36997; +aseq_36995 = G__36998; +continue; +} else { +} +} else { +} +} else { +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35084_36990); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35083_36989); +}} + +return null; +}); +cljs.pprint.pprint_array = (function (){var format_in__31323__auto__ = "~<[~;~@{~w~^, ~:_~}~;]~:>"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37000__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37000 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37001__i = 0, G__37001__a = new Array(arguments.length - 0); +while (G__37001__i < G__37001__a.length) {G__37001__a[G__37001__i] = arguments[G__37001__i + 0]; ++G__37001__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37001__a,0,null); +} +return G__37000__delegate.call(this,args__31325__auto__);}; +G__37000.cljs$lang$maxFixedArity = 0; +G__37000.cljs$lang$applyTo = (function (arglist__37002){ +var args__31325__auto__ = cljs.core.seq(arglist__37002); +return G__37000__delegate(args__31325__auto__); +}); +G__37000.cljs$core$IFn$_invoke$arity$variadic = G__37000__delegate; +return G__37000; +})() +; +})(); +cljs.pprint.pprint_map = (function cljs$pprint$pprint_map(amap){ +var vec__35103 = (((!(cljs.core.record_QMARK_(amap))))?(function (){var fexpr__35111 = new cljs.core.Var(function(){return cljs.core.lift_ns;},new cljs.core.Symbol("cljs.core","lift-ns","cljs.core/lift-ns",463499081,null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"private","private",-558947994),new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"file","file",-1269645878),new cljs.core.Keyword(null,"end-column","end-column",1425389514),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"end-line","end-line",1837326455),new cljs.core.Keyword(null,"arglists","arglists",1661989754),new cljs.core.Keyword(null,"doc","doc",1913296891),new cljs.core.Keyword(null,"test","test",577538877)],[true,new cljs.core.Symbol(null,"cljs.core","cljs.core",770546058,null),new cljs.core.Symbol(null,"lift-ns","lift-ns",602311926,null),"cljs/core.cljs",15,1,10543,10543,cljs.core.list(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"m","m",-1021758608,null)], null)),"Returns [lifted-ns lifted-map] or nil if m can't be lifted.",(cljs.core.truth_(cljs.core.lift_ns)?cljs.core.lift_ns.cljs$lang$test:null)])); +return (fexpr__35111.cljs$core$IFn$_invoke$arity$1 ? fexpr__35111.cljs$core$IFn$_invoke$arity$1(amap) : fexpr__35111.call(null, amap)); +})():null); +var ns = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35103,(0),null); +var lift_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35103,(1),null); +var amap__$1 = (function (){var or__5045__auto__ = lift_map; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return amap; +} +})(); +var prefix = (cljs.core.truth_(ns)?["#:",cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns),"{"].join(''):"{"); +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35116_37006 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35117_37007 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35118_37008 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35119_37009 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35118_37008); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35119_37009); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,prefix,null,"}"); + +var length_count35120_37010 = (0); +var aseq_37011 = cljs.core.seq(amap__$1); +while(true){ +if(((cljs.core.not(cljs.core._STAR_print_length_STAR_)) || ((length_count35120_37010 < cljs.core._STAR_print_length_STAR_)))){ +if(aseq_37011){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35122_37013 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35123_37014 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35124_37015 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35125_37016 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35124_37015); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35125_37016); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,null,null,null); + +cljs.pprint.write_out(cljs.core.ffirst(aseq_37011)); + +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +(cljs.pprint._STAR_current_length_STAR_ = (0)); + +cljs.pprint.write_out(cljs.core.fnext(cljs.core.first(aseq_37011))); + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35123_37014); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35122_37013); +}} + + +if(cljs.core.next(aseq_37011)){ +cljs.core._write(cljs.core._STAR_out_STAR_,", "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__37018 = (length_count35120_37010 + (1)); +var G__37019 = cljs.core.next(aseq_37011); +length_count35120_37010 = G__37018; +aseq_37011 = G__37019; +continue; +} else { +} +} else { +} +} else { +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35117_37007); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35116_37006); +}} + +return null; +}); +cljs.pprint.pprint_simple_default = (function cljs$pprint$pprint_simple_default(obj){ +return cljs.core._write(cljs.core._STAR_out_STAR_,cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([obj], 0))); +}); +cljs.pprint.pprint_set = (function (){var format_in__31323__auto__ = "~<#{~;~@{~w~^ ~:_~}~;}~:>"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37023__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37023 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37024__i = 0, G__37024__a = new Array(arguments.length - 0); +while (G__37024__i < G__37024__a.length) {G__37024__a[G__37024__i] = arguments[G__37024__i + 0]; ++G__37024__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37024__a,0,null); +} +return G__37023__delegate.call(this,args__31325__auto__);}; +G__37023.cljs$lang$maxFixedArity = 0; +G__37023.cljs$lang$applyTo = (function (arglist__37025){ +var args__31325__auto__ = cljs.core.seq(arglist__37025); +return G__37023__delegate(args__31325__auto__); +}); +G__37023.cljs$core$IFn$_invoke$arity$variadic = G__37023__delegate; +return G__37023; +})() +; +})(); +cljs.pprint.type_map = new cljs.core.PersistentArrayMap(null, 2, ["core$future_call","Future","core$promise","Promise"], null); +/** + * Map ugly type names to something simpler + */ +cljs.pprint.map_ref_type = (function cljs$pprint$map_ref_type(name){ +var or__5045__auto__ = (function (){var temp__5823__auto__ = cljs.core.re_find(/^[^$]+\$[^$]+/,name); +if(cljs.core.truth_(temp__5823__auto__)){ +var match = temp__5823__auto__; +return (cljs.pprint.type_map.cljs$core$IFn$_invoke$arity$1 ? cljs.pprint.type_map.cljs$core$IFn$_invoke$arity$1(match) : cljs.pprint.type_map.call(null, match)); +} else { +return null; +} +})(); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return name; +} +}); +cljs.pprint.pprint_ideref = (function cljs$pprint$pprint_ideref(o){ +var prefix = ["#<",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.pprint.map_ref_type(cljs.core.type(o).name)),"@",cljs.core.str.cljs$core$IFn$_invoke$arity$1(goog.getUid(o)),": "].join(''); +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35209_37028 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35210_37029 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35211_37030 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35212_37031 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35211_37030); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35212_37031); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,prefix,null,">"); + +cljs.pprint.pprint_indent(new cljs.core.Keyword(null,"block","block",664686210),(- (((prefix).length) - (2)))); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +cljs.pprint.write_out((((function (){var and__5043__auto__ = (((!((o == null))))?(((((o.cljs$lang$protocol_mask$partition1$ & (1))) || ((cljs.core.PROTOCOL_SENTINEL === o.cljs$core$IPending$))))?true:(((!o.cljs$lang$protocol_mask$partition1$))?cljs.core.native_satisfies_QMARK_(cljs.core.IPending,o):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IPending,o)); +if(and__5043__auto__){ +return (!(cljs.core._realized_QMARK_(o))); +} else { +return and__5043__auto__; +} +})())?new cljs.core.Keyword(null,"not-delivered","not-delivered",1599158697):cljs.core.deref(o))); + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35210_37029); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35209_37028); +}} + +return null; +}); +cljs.pprint.pprint_pqueue = (function (){var format_in__31323__auto__ = "~<<-(~;~@{~w~^ ~_~}~;)-<~:>"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37033__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37033 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37034__i = 0, G__37034__a = new Array(arguments.length - 0); +while (G__37034__i < G__37034__a.length) {G__37034__a[G__37034__i] = arguments[G__37034__i + 0]; ++G__37034__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37034__a,0,null); +} +return G__37033__delegate.call(this,args__31325__auto__);}; +G__37033.cljs$lang$maxFixedArity = 0; +G__37033.cljs$lang$applyTo = (function (arglist__37035){ +var args__31325__auto__ = cljs.core.seq(arglist__37035); +return G__37033__delegate(args__31325__auto__); +}); +G__37033.cljs$core$IFn$_invoke$arity$variadic = G__37033__delegate; +return G__37033; +})() +; +})(); +cljs.pprint.type_dispatcher = (function cljs$pprint$type_dispatcher(obj){ +if((obj instanceof cljs.core.PersistentQueue)){ +return new cljs.core.Keyword(null,"queue","queue",1455835879); +} else { +if((((!((obj == null))))?(((((obj.cljs$lang$protocol_mask$partition0$ & (32768))) || ((cljs.core.PROTOCOL_SENTINEL === obj.cljs$core$IDeref$))))?true:(((!obj.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IDeref,obj):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IDeref,obj))){ +return new cljs.core.Keyword(null,"deref","deref",-145586795); +} else { +if((obj instanceof cljs.core.Symbol)){ +return new cljs.core.Keyword(null,"symbol","symbol",-1038572696); +} else { +if(cljs.core.seq_QMARK_(obj)){ +return new cljs.core.Keyword(null,"list","list",765357683); +} else { +if(cljs.core.map_QMARK_(obj)){ +return new cljs.core.Keyword(null,"map","map",1371690461); +} else { +if(cljs.core.vector_QMARK_(obj)){ +return new cljs.core.Keyword(null,"vector","vector",1902966158); +} else { +if(cljs.core.set_QMARK_(obj)){ +return new cljs.core.Keyword(null,"set","set",304602554); +} else { +if((obj == null)){ +return null; +} else { +return new cljs.core.Keyword(null,"default","default",-1987822328); + +} +} +} +} +} +} +} +} +}); +if((typeof cljs !== 'undefined') && (typeof cljs.pprint !== 'undefined') && (typeof cljs.pprint.simple_dispatch !== 'undefined')){ +} else { +/** + * The pretty print dispatch function for simple data structure format. + */ +cljs.pprint.simple_dispatch = (function (){var method_table__5642__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__5643__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var method_cache__5644__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__5645__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__5646__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$3(cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),(function (){var fexpr__35272 = cljs.core.get_global_hierarchy; +return (fexpr__35272.cljs$core$IFn$_invoke$arity$0 ? fexpr__35272.cljs$core$IFn$_invoke$arity$0() : fexpr__35272.call(null, )); +})()); +return (new cljs.core.MultiFn(cljs.core.symbol.cljs$core$IFn$_invoke$arity$2("cljs.pprint","simple-dispatch"),cljs.pprint.type_dispatcher,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__5646__auto__,method_table__5642__auto__,prefer_table__5643__auto__,method_cache__5644__auto__,cached_hierarchy__5645__auto__)); +})(); +} +cljs.pprint.use_method(cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"list","list",765357683),cljs.pprint.pprint_list); +cljs.pprint.use_method(cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"vector","vector",1902966158),cljs.pprint.pprint_vector); +cljs.pprint.use_method(cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"map","map",1371690461),cljs.pprint.pprint_map); +cljs.pprint.use_method(cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"set","set",304602554),cljs.pprint.pprint_set); +cljs.pprint.use_method(cljs.pprint.simple_dispatch,null,(function (){ +return cljs.core._write(cljs.core._STAR_out_STAR_,cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([null], 0))); +})); +cljs.pprint.use_method(cljs.pprint.simple_dispatch,new cljs.core.Keyword(null,"default","default",-1987822328),cljs.pprint.pprint_simple_default); +cljs.pprint.set_pprint_dispatch(cljs.pprint.simple_dispatch); +/** + * Figure out which kind of brackets to use + */ +cljs.pprint.brackets = (function cljs$pprint$brackets(form){ +if(cljs.core.vector_QMARK_(form)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["[","]"], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["(",")"], null); +} +}); +/** + * Pretty print a single reference (import, use, etc.) from a namespace decl + */ +cljs.pprint.pprint_ns_reference = (function cljs$pprint$pprint_ns_reference(reference){ +if(cljs.core.sequential_QMARK_(reference)){ +var vec__35287 = cljs.pprint.brackets(reference); +var start = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35287,(0),null); +var end = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35287,(1),null); +var vec__35290 = reference; +var seq__35291 = cljs.core.seq(vec__35290); +var first__35292 = cljs.core.first(seq__35291); +var seq__35291__$1 = cljs.core.next(seq__35291); +var keyw = first__35292; +var args = seq__35291__$1; +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35295_37036 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35296_37037 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35297_37038 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35298_37039 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35297_37038); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35298_37039); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,start,null,end); + +(function (){var format_in__31323__auto__ = "~w~:i"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37040__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37040 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37043__i = 0, G__37043__a = new Array(arguments.length - 0); +while (G__37043__i < G__37043__a.length) {G__37043__a[G__37043__i] = arguments[G__37043__i + 0]; ++G__37043__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37043__a,0,null); +} +return G__37040__delegate.call(this,args__31325__auto__);}; +G__37040.cljs$lang$maxFixedArity = 0; +G__37040.cljs$lang$applyTo = (function (arglist__37044){ +var args__31325__auto__ = cljs.core.seq(arglist__37044); +return G__37040__delegate(args__31325__auto__); +}); +G__37040.cljs$core$IFn$_invoke$arity$variadic = G__37040__delegate; +return G__37040; +})() +; +})()(keyw); + +var args_37045__$1 = args; +while(true){ +if(cljs.core.seq(args_37045__$1)){ +(function (){var format_in__31323__auto__ = " "; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return ((function (args_37045__$1,format_in__31323__auto__,cf__31324__auto__,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args){ +return (function() { +var G__37051__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37051 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37053__i = 0, G__37053__a = new Array(arguments.length - 0); +while (G__37053__i < G__37053__a.length) {G__37053__a[G__37053__i] = arguments[G__37053__i + 0]; ++G__37053__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37053__a,0,null); +} +return G__37051__delegate.call(this,args__31325__auto__);}; +G__37051.cljs$lang$maxFixedArity = 0; +G__37051.cljs$lang$applyTo = (function (arglist__37054){ +var args__31325__auto__ = cljs.core.seq(arglist__37054); +return G__37051__delegate(args__31325__auto__); +}); +G__37051.cljs$core$IFn$_invoke$arity$variadic = G__37051__delegate; +return G__37051; +})() +; +;})(args_37045__$1,format_in__31323__auto__,cf__31324__auto__,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args)) +})()(); + +var arg_37055 = cljs.core.first(args_37045__$1); +if(cljs.core.sequential_QMARK_(arg_37055)){ +var vec__35306_37056 = cljs.pprint.brackets(arg_37055); +var start_37057__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35306_37056,(0),null); +var end_37058__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35306_37056,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35310_37059 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35311_37060 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35312_37061 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35313_37062 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35312_37061); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35313_37062); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,start_37057__$1,null,end_37058__$1); + +if(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(arg_37055),(3))) && ((cljs.core.second(arg_37055) instanceof cljs.core.Keyword)))){ +var vec__35319_37063 = arg_37055; +var ns_37064 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35319_37063,(0),null); +var kw_37065 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35319_37063,(1),null); +var lis_37066 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35319_37063,(2),null); +(function (){var format_in__31323__auto__ = "~w ~w "; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return ((function (args_37045__$1,format_in__31323__auto__,cf__31324__auto__,vec__35319_37063,ns_37064,kw_37065,lis_37066,_STAR_current_level_STAR__orig_val__35310_37059,_STAR_current_length_STAR__orig_val__35311_37060,_STAR_current_level_STAR__temp_val__35312_37061,_STAR_current_length_STAR__temp_val__35313_37062,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args){ +return (function() { +var G__37069__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37069 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37070__i = 0, G__37070__a = new Array(arguments.length - 0); +while (G__37070__i < G__37070__a.length) {G__37070__a[G__37070__i] = arguments[G__37070__i + 0]; ++G__37070__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37070__a,0,null); +} +return G__37069__delegate.call(this,args__31325__auto__);}; +G__37069.cljs$lang$maxFixedArity = 0; +G__37069.cljs$lang$applyTo = (function (arglist__37071){ +var args__31325__auto__ = cljs.core.seq(arglist__37071); +return G__37069__delegate(args__31325__auto__); +}); +G__37069.cljs$core$IFn$_invoke$arity$variadic = G__37069__delegate; +return G__37069; +})() +; +;})(args_37045__$1,format_in__31323__auto__,cf__31324__auto__,vec__35319_37063,ns_37064,kw_37065,lis_37066,_STAR_current_level_STAR__orig_val__35310_37059,_STAR_current_length_STAR__orig_val__35311_37060,_STAR_current_level_STAR__temp_val__35312_37061,_STAR_current_length_STAR__temp_val__35313_37062,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args)) +})()(ns_37064,kw_37065); + +if(cljs.core.sequential_QMARK_(lis_37066)){ +(function (){var format_in__31323__auto__ = ((cljs.core.vector_QMARK_(lis_37066))?"~<[~;~@{~w~^ ~:_~}~;]~:>":"~<(~;~@{~w~^ ~:_~}~;)~:>"); +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return ((function (args_37045__$1,format_in__31323__auto__,cf__31324__auto__,vec__35319_37063,ns_37064,kw_37065,lis_37066,_STAR_current_level_STAR__orig_val__35310_37059,_STAR_current_length_STAR__orig_val__35311_37060,_STAR_current_level_STAR__temp_val__35312_37061,_STAR_current_length_STAR__temp_val__35313_37062,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args){ +return (function() { +var G__37073__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37073 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37075__i = 0, G__37075__a = new Array(arguments.length - 0); +while (G__37075__i < G__37075__a.length) {G__37075__a[G__37075__i] = arguments[G__37075__i + 0]; ++G__37075__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37075__a,0,null); +} +return G__37073__delegate.call(this,args__31325__auto__);}; +G__37073.cljs$lang$maxFixedArity = 0; +G__37073.cljs$lang$applyTo = (function (arglist__37076){ +var args__31325__auto__ = cljs.core.seq(arglist__37076); +return G__37073__delegate(args__31325__auto__); +}); +G__37073.cljs$core$IFn$_invoke$arity$variadic = G__37073__delegate; +return G__37073; +})() +; +;})(args_37045__$1,format_in__31323__auto__,cf__31324__auto__,vec__35319_37063,ns_37064,kw_37065,lis_37066,_STAR_current_level_STAR__orig_val__35310_37059,_STAR_current_length_STAR__orig_val__35311_37060,_STAR_current_level_STAR__temp_val__35312_37061,_STAR_current_length_STAR__temp_val__35313_37062,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args)) +})()(lis_37066); +} else { +cljs.pprint.write_out(lis_37066); +} +} else { +cljs.core.apply.cljs$core$IFn$_invoke$arity$2((function (){var format_in__31323__auto__ = "~w ~:i~@{~w~^ ~:_~}"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return ((function (args_37045__$1,format_in__31323__auto__,cf__31324__auto__,_STAR_current_level_STAR__orig_val__35310_37059,_STAR_current_length_STAR__orig_val__35311_37060,_STAR_current_level_STAR__temp_val__35312_37061,_STAR_current_length_STAR__temp_val__35313_37062,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args){ +return (function() { +var G__37077__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37077 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37078__i = 0, G__37078__a = new Array(arguments.length - 0); +while (G__37078__i < G__37078__a.length) {G__37078__a[G__37078__i] = arguments[G__37078__i + 0]; ++G__37078__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37078__a,0,null); +} +return G__37077__delegate.call(this,args__31325__auto__);}; +G__37077.cljs$lang$maxFixedArity = 0; +G__37077.cljs$lang$applyTo = (function (arglist__37079){ +var args__31325__auto__ = cljs.core.seq(arglist__37079); +return G__37077__delegate(args__31325__auto__); +}); +G__37077.cljs$core$IFn$_invoke$arity$variadic = G__37077__delegate; +return G__37077; +})() +; +;})(args_37045__$1,format_in__31323__auto__,cf__31324__auto__,_STAR_current_level_STAR__orig_val__35310_37059,_STAR_current_length_STAR__orig_val__35311_37060,_STAR_current_level_STAR__temp_val__35312_37061,_STAR_current_length_STAR__temp_val__35313_37062,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args)) +})(),arg_37055); +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35311_37060); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35310_37059); +}} + + +if(cljs.core.next(args_37045__$1)){ +(function (){var format_in__31323__auto__ = "~_"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return ((function (args_37045__$1,format_in__31323__auto__,cf__31324__auto__,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args){ +return (function() { +var G__37081__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37081 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37082__i = 0, G__37082__a = new Array(arguments.length - 0); +while (G__37082__i < G__37082__a.length) {G__37082__a[G__37082__i] = arguments[G__37082__i + 0]; ++G__37082__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37082__a,0,null); +} +return G__37081__delegate.call(this,args__31325__auto__);}; +G__37081.cljs$lang$maxFixedArity = 0; +G__37081.cljs$lang$applyTo = (function (arglist__37083){ +var args__31325__auto__ = cljs.core.seq(arglist__37083); +return G__37081__delegate(args__31325__auto__); +}); +G__37081.cljs$core$IFn$_invoke$arity$variadic = G__37081__delegate; +return G__37081; +})() +; +;})(args_37045__$1,format_in__31323__auto__,cf__31324__auto__,vec__35306_37056,start_37057__$1,end_37058__$1,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args)) +})()(); +} else { +} +} else { +cljs.pprint.write_out(arg_37055); + +if(cljs.core.next(args_37045__$1)){ +(function (){var format_in__31323__auto__ = "~:_"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return ((function (args_37045__$1,format_in__31323__auto__,cf__31324__auto__,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args){ +return (function() { +var G__37087__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37087 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37088__i = 0, G__37088__a = new Array(arguments.length - 0); +while (G__37088__i < G__37088__a.length) {G__37088__a[G__37088__i] = arguments[G__37088__i + 0]; ++G__37088__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37088__a,0,null); +} +return G__37087__delegate.call(this,args__31325__auto__);}; +G__37087.cljs$lang$maxFixedArity = 0; +G__37087.cljs$lang$applyTo = (function (arglist__37089){ +var args__31325__auto__ = cljs.core.seq(arglist__37089); +return G__37087__delegate(args__31325__auto__); +}); +G__37087.cljs$core$IFn$_invoke$arity$variadic = G__37087__delegate; +return G__37087; +})() +; +;})(args_37045__$1,format_in__31323__auto__,cf__31324__auto__,arg_37055,_STAR_current_level_STAR__orig_val__35295_37036,_STAR_current_length_STAR__orig_val__35296_37037,_STAR_current_level_STAR__temp_val__35297_37038,_STAR_current_length_STAR__temp_val__35298_37039,vec__35287,start,end,vec__35290,seq__35291,first__35292,seq__35291__$1,keyw,args)) +})()(); +} else { +} +} + +var G__37090 = cljs.core.next(args_37045__$1); +args_37045__$1 = G__37090; +continue; +} else { +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35296_37037); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35295_37036); +}} + +return null; +} else { +return cljs.pprint.write_out(reference); +} +}); +/** + * The pretty print dispatch chunk for the ns macro + */ +cljs.pprint.pprint_ns = (function cljs$pprint$pprint_ns(alis){ +if(cljs.core.next(alis)){ +var vec__35363 = alis; +var seq__35364 = cljs.core.seq(vec__35363); +var first__35365 = cljs.core.first(seq__35364); +var seq__35364__$1 = cljs.core.next(seq__35364); +var ns_sym = first__35365; +var first__35365__$1 = cljs.core.first(seq__35364__$1); +var seq__35364__$2 = cljs.core.next(seq__35364__$1); +var ns_name = first__35365__$1; +var stuff = seq__35364__$2; +var vec__35371 = ((typeof cljs.core.first(stuff) === 'string')?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first(stuff),cljs.core.next(stuff)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,stuff], null)); +var doc_str = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35371,(0),null); +var stuff__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35371,(1),null); +var vec__35374 = ((cljs.core.map_QMARK_(cljs.core.first(stuff__$1)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first(stuff__$1),cljs.core.next(stuff__$1)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,stuff__$1], null)); +var attr_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35374,(0),null); +var references = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35374,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35393_37091 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35394_37092 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35395_37093 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35396_37094 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35395_37093); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35396_37094); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"(",null,")"); + +(function (){var format_in__31323__auto__ = "~w ~1I~@_~w"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37096__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37096 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37097__i = 0, G__37097__a = new Array(arguments.length - 0); +while (G__37097__i < G__37097__a.length) {G__37097__a[G__37097__i] = arguments[G__37097__i + 0]; ++G__37097__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37097__a,0,null); +} +return G__37096__delegate.call(this,args__31325__auto__);}; +G__37096.cljs$lang$maxFixedArity = 0; +G__37096.cljs$lang$applyTo = (function (arglist__37098){ +var args__31325__auto__ = cljs.core.seq(arglist__37098); +return G__37096__delegate(args__31325__auto__); +}); +G__37096.cljs$core$IFn$_invoke$arity$variadic = G__37096__delegate; +return G__37096; +})() +; +})()(ns_sym,ns_name); + +if(cljs.core.truth_((function (){var or__5045__auto__ = doc_str; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = attr_map; +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return cljs.core.seq(references); +} +} +})())){ +(function (){var format_in__31323__auto__ = "~@:_"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37101__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37101 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37103__i = 0, G__37103__a = new Array(arguments.length - 0); +while (G__37103__i < G__37103__a.length) {G__37103__a[G__37103__i] = arguments[G__37103__i + 0]; ++G__37103__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37103__a,0,null); +} +return G__37101__delegate.call(this,args__31325__auto__);}; +G__37101.cljs$lang$maxFixedArity = 0; +G__37101.cljs$lang$applyTo = (function (arglist__37104){ +var args__31325__auto__ = cljs.core.seq(arglist__37104); +return G__37101__delegate(args__31325__auto__); +}); +G__37101.cljs$core$IFn$_invoke$arity$variadic = G__37101__delegate; +return G__37101; +})() +; +})()(); +} else { +} + +if(cljs.core.truth_(doc_str)){ +cljs.pprint.cl_format.cljs$core$IFn$_invoke$arity$variadic(true,"\"~a\"~:[~;~:@_~]",cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([doc_str,(function (){var or__5045__auto__ = attr_map; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.seq(references); +} +})()], 0)); +} else { +} + +if(cljs.core.truth_(attr_map)){ +(function (){var format_in__31323__auto__ = "~w~:[~;~:@_~]"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37106__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37106 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37111__i = 0, G__37111__a = new Array(arguments.length - 0); +while (G__37111__i < G__37111__a.length) {G__37111__a[G__37111__i] = arguments[G__37111__i + 0]; ++G__37111__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37111__a,0,null); +} +return G__37106__delegate.call(this,args__31325__auto__);}; +G__37106.cljs$lang$maxFixedArity = 0; +G__37106.cljs$lang$applyTo = (function (arglist__37112){ +var args__31325__auto__ = cljs.core.seq(arglist__37112); +return G__37106__delegate(args__31325__auto__); +}); +G__37106.cljs$core$IFn$_invoke$arity$variadic = G__37106__delegate; +return G__37106; +})() +; +})()(attr_map,cljs.core.seq(references)); +} else { +} + +var references_37113__$1 = references; +while(true){ +cljs.pprint.pprint_ns_reference(cljs.core.first(references_37113__$1)); + +var temp__5823__auto___37114 = cljs.core.next(references_37113__$1); +if(temp__5823__auto___37114){ +var references_37115__$2 = temp__5823__auto___37114; +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__37116 = references_37115__$2; +references_37113__$1 = G__37116; +continue; +} else { +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35394_37092); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35393_37091); +}} + +return null; +} else { +return cljs.pprint.write_out(alis); +} +}); +cljs.pprint.pprint_hold_first = (function (){var format_in__31323__auto__ = "~:<~w~^ ~@_~w~^ ~_~@{~w~^ ~_~}~:>"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37118__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37118 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37120__i = 0, G__37120__a = new Array(arguments.length - 0); +while (G__37120__i < G__37120__a.length) {G__37120__a[G__37120__i] = arguments[G__37120__i + 0]; ++G__37120__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37120__a,0,null); +} +return G__37118__delegate.call(this,args__31325__auto__);}; +G__37118.cljs$lang$maxFixedArity = 0; +G__37118.cljs$lang$applyTo = (function (arglist__37121){ +var args__31325__auto__ = cljs.core.seq(arglist__37121); +return G__37118__delegate(args__31325__auto__); +}); +G__37118.cljs$core$IFn$_invoke$arity$variadic = G__37118__delegate; +return G__37118; +})() +; +})(); +cljs.pprint.single_defn = (function cljs$pprint$single_defn(alis,has_doc_str_QMARK_){ +if(cljs.core.seq(alis)){ +if(cljs.core.truth_(has_doc_str_QMARK_)){ +(function (){var format_in__31323__auto__ = " ~_"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37122__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37122 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37123__i = 0, G__37123__a = new Array(arguments.length - 0); +while (G__37123__i < G__37123__a.length) {G__37123__a[G__37123__i] = arguments[G__37123__i + 0]; ++G__37123__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37123__a,0,null); +} +return G__37122__delegate.call(this,args__31325__auto__);}; +G__37122.cljs$lang$maxFixedArity = 0; +G__37122.cljs$lang$applyTo = (function (arglist__37124){ +var args__31325__auto__ = cljs.core.seq(arglist__37124); +return G__37122__delegate(args__31325__auto__); +}); +G__37122.cljs$core$IFn$_invoke$arity$variadic = G__37122__delegate; +return G__37122; +})() +; +})()(); +} else { +(function (){var format_in__31323__auto__ = " ~@_"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37125__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37125 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37126__i = 0, G__37126__a = new Array(arguments.length - 0); +while (G__37126__i < G__37126__a.length) {G__37126__a[G__37126__i] = arguments[G__37126__i + 0]; ++G__37126__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37126__a,0,null); +} +return G__37125__delegate.call(this,args__31325__auto__);}; +G__37125.cljs$lang$maxFixedArity = 0; +G__37125.cljs$lang$applyTo = (function (arglist__37127){ +var args__31325__auto__ = cljs.core.seq(arglist__37127); +return G__37125__delegate(args__31325__auto__); +}); +G__37125.cljs$core$IFn$_invoke$arity$variadic = G__37125__delegate; +return G__37125; +})() +; +})()(); +} + +return (function (){var format_in__31323__auto__ = "~{~w~^ ~_~}"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37128__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37128 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37129__i = 0, G__37129__a = new Array(arguments.length - 0); +while (G__37129__i < G__37129__a.length) {G__37129__a[G__37129__i] = arguments[G__37129__i + 0]; ++G__37129__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37129__a,0,null); +} +return G__37128__delegate.call(this,args__31325__auto__);}; +G__37128.cljs$lang$maxFixedArity = 0; +G__37128.cljs$lang$applyTo = (function (arglist__37130){ +var args__31325__auto__ = cljs.core.seq(arglist__37130); +return G__37128__delegate(args__31325__auto__); +}); +G__37128.cljs$core$IFn$_invoke$arity$variadic = G__37128__delegate; +return G__37128; +})() +; +})()(alis); +} else { +return null; +} +}); +cljs.pprint.multi_defn = (function cljs$pprint$multi_defn(alis,has_doc_str_QMARK_){ +if(cljs.core.seq(alis)){ +return (function (){var format_in__31323__auto__ = " ~_~{~w~^ ~_~}"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37132__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37132 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37134__i = 0, G__37134__a = new Array(arguments.length - 0); +while (G__37134__i < G__37134__a.length) {G__37134__a[G__37134__i] = arguments[G__37134__i + 0]; ++G__37134__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37134__a,0,null); +} +return G__37132__delegate.call(this,args__31325__auto__);}; +G__37132.cljs$lang$maxFixedArity = 0; +G__37132.cljs$lang$applyTo = (function (arglist__37135){ +var args__31325__auto__ = cljs.core.seq(arglist__37135); +return G__37132__delegate(args__31325__auto__); +}); +G__37132.cljs$core$IFn$_invoke$arity$variadic = G__37132__delegate; +return G__37132; +})() +; +})()(alis); +} else { +return null; +} +}); +cljs.pprint.pprint_defn = (function cljs$pprint$pprint_defn(alis){ +if(cljs.core.next(alis)){ +var vec__35517 = alis; +var seq__35518 = cljs.core.seq(vec__35517); +var first__35519 = cljs.core.first(seq__35518); +var seq__35518__$1 = cljs.core.next(seq__35518); +var defn_sym = first__35519; +var first__35519__$1 = cljs.core.first(seq__35518__$1); +var seq__35518__$2 = cljs.core.next(seq__35518__$1); +var defn_name = first__35519__$1; +var stuff = seq__35518__$2; +var vec__35520 = ((typeof cljs.core.first(stuff) === 'string')?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first(stuff),cljs.core.next(stuff)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,stuff], null)); +var doc_str = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35520,(0),null); +var stuff__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35520,(1),null); +var vec__35523 = ((cljs.core.map_QMARK_(cljs.core.first(stuff__$1)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.first(stuff__$1),cljs.core.next(stuff__$1)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,stuff__$1], null)); +var attr_map = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35523,(0),null); +var stuff__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35523,(1),null); +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35532_37136 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35533_37137 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35534_37138 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35535_37139 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35534_37138); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35535_37139); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"(",null,")"); + +(function (){var format_in__31323__auto__ = "~w ~1I~@_~w"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37140__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37140 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37141__i = 0, G__37141__a = new Array(arguments.length - 0); +while (G__37141__i < G__37141__a.length) {G__37141__a[G__37141__i] = arguments[G__37141__i + 0]; ++G__37141__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37141__a,0,null); +} +return G__37140__delegate.call(this,args__31325__auto__);}; +G__37140.cljs$lang$maxFixedArity = 0; +G__37140.cljs$lang$applyTo = (function (arglist__37142){ +var args__31325__auto__ = cljs.core.seq(arglist__37142); +return G__37140__delegate(args__31325__auto__); +}); +G__37140.cljs$core$IFn$_invoke$arity$variadic = G__37140__delegate; +return G__37140; +})() +; +})()(defn_sym,defn_name); + +if(cljs.core.truth_(doc_str)){ +(function (){var format_in__31323__auto__ = " ~_~w"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37143__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37143 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37144__i = 0, G__37144__a = new Array(arguments.length - 0); +while (G__37144__i < G__37144__a.length) {G__37144__a[G__37144__i] = arguments[G__37144__i + 0]; ++G__37144__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37144__a,0,null); +} +return G__37143__delegate.call(this,args__31325__auto__);}; +G__37143.cljs$lang$maxFixedArity = 0; +G__37143.cljs$lang$applyTo = (function (arglist__37145){ +var args__31325__auto__ = cljs.core.seq(arglist__37145); +return G__37143__delegate(args__31325__auto__); +}); +G__37143.cljs$core$IFn$_invoke$arity$variadic = G__37143__delegate; +return G__37143; +})() +; +})()(doc_str); +} else { +} + +if(cljs.core.truth_(attr_map)){ +(function (){var format_in__31323__auto__ = " ~_~w"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37146__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37146 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37147__i = 0, G__37147__a = new Array(arguments.length - 0); +while (G__37147__i < G__37147__a.length) {G__37147__a[G__37147__i] = arguments[G__37147__i + 0]; ++G__37147__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37147__a,0,null); +} +return G__37146__delegate.call(this,args__31325__auto__);}; +G__37146.cljs$lang$maxFixedArity = 0; +G__37146.cljs$lang$applyTo = (function (arglist__37150){ +var args__31325__auto__ = cljs.core.seq(arglist__37150); +return G__37146__delegate(args__31325__auto__); +}); +G__37146.cljs$core$IFn$_invoke$arity$variadic = G__37146__delegate; +return G__37146; +})() +; +})()(attr_map); +} else { +} + +if(cljs.core.vector_QMARK_(cljs.core.first(stuff__$2))){ +cljs.pprint.single_defn(stuff__$2,(function (){var or__5045__auto__ = doc_str; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return attr_map; +} +})()); +} else { +cljs.pprint.multi_defn(stuff__$2,(function (){var or__5045__auto__ = doc_str; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return attr_map; +} +})()); + +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35533_37137); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35532_37136); +}} + +return null; +} else { +return cljs.pprint.pprint_simple_code_list(alis); +} +}); +cljs.pprint.pprint_binding_form = (function cljs$pprint$pprint_binding_form(binding_vec){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35562_37153 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35563_37154 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35564_37155 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35565_37156 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35564_37155); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35565_37156); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"[",null,"]"); + +var length_count35568_37161 = (0); +var binding_37162 = binding_vec; +while(true){ +if(((cljs.core.not(cljs.core._STAR_print_length_STAR_)) || ((length_count35568_37161 < cljs.core._STAR_print_length_STAR_)))){ +if(cljs.core.seq(binding_37162)){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35570_37163 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35571_37164 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35572_37165 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35573_37166 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35572_37165); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35573_37166); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,null,null,null); + + +cljs.pprint.write_out(cljs.core.first(binding_37162)); + +if(cljs.core.next(binding_37162)){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"miser","miser",-556060186)); + +cljs.pprint.write_out(cljs.core.second(binding_37162)); +} else { +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35571_37164); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35570_37163); +}} + + +if(cljs.core.next(cljs.core.rest(binding_37162))){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__37167 = (length_count35568_37161 + (1)); +var G__37168 = cljs.core.next(cljs.core.rest(binding_37162)); +length_count35568_37161 = G__37167; +binding_37162 = G__37168; +continue; +} else { +} +} else { +} +} else { +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35563_37154); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35562_37153); +}} + +return null; +}); +cljs.pprint.pprint_let = (function cljs$pprint$pprint_let(alis){ +var base_sym = cljs.core.first(alis); +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35582_37169 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35583_37170 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35584_37171 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35586_37172 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35584_37171); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35586_37172); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"(",null,")"); + +if(((cljs.core.next(alis)) && (cljs.core.vector_QMARK_(cljs.core.second(alis))))){ +(function (){var format_in__31323__auto__ = "~w ~1I~@_"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37174__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37174 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37175__i = 0, G__37175__a = new Array(arguments.length - 0); +while (G__37175__i < G__37175__a.length) {G__37175__a[G__37175__i] = arguments[G__37175__i + 0]; ++G__37175__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37175__a,0,null); +} +return G__37174__delegate.call(this,args__31325__auto__);}; +G__37174.cljs$lang$maxFixedArity = 0; +G__37174.cljs$lang$applyTo = (function (arglist__37176){ +var args__31325__auto__ = cljs.core.seq(arglist__37176); +return G__37174__delegate(args__31325__auto__); +}); +G__37174.cljs$core$IFn$_invoke$arity$variadic = G__37174__delegate; +return G__37174; +})() +; +})()(base_sym); + +cljs.pprint.pprint_binding_form(cljs.core.second(alis)); + +(function (){var format_in__31323__auto__ = " ~_~{~w~^ ~_~}"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37177__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37177 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37178__i = 0, G__37178__a = new Array(arguments.length - 0); +while (G__37178__i < G__37178__a.length) {G__37178__a[G__37178__i] = arguments[G__37178__i + 0]; ++G__37178__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37178__a,0,null); +} +return G__37177__delegate.call(this,args__31325__auto__);}; +G__37177.cljs$lang$maxFixedArity = 0; +G__37177.cljs$lang$applyTo = (function (arglist__37179){ +var args__31325__auto__ = cljs.core.seq(arglist__37179); +return G__37177__delegate(args__31325__auto__); +}); +G__37177.cljs$core$IFn$_invoke$arity$variadic = G__37177__delegate; +return G__37177; +})() +; +})()(cljs.core.next(cljs.core.rest(alis))); +} else { +cljs.pprint.pprint_simple_code_list(alis); +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35583_37170); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35582_37169); +}} + +return null; +}); +cljs.pprint.pprint_if = (function (){var format_in__31323__auto__ = "~:<~1I~w~^ ~@_~w~@{ ~_~w~}~:>"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37180__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37180 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37181__i = 0, G__37181__a = new Array(arguments.length - 0); +while (G__37181__i < G__37181__a.length) {G__37181__a[G__37181__i] = arguments[G__37181__i + 0]; ++G__37181__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37181__a,0,null); +} +return G__37180__delegate.call(this,args__31325__auto__);}; +G__37180.cljs$lang$maxFixedArity = 0; +G__37180.cljs$lang$applyTo = (function (arglist__37182){ +var args__31325__auto__ = cljs.core.seq(arglist__37182); +return G__37180__delegate(args__31325__auto__); +}); +G__37180.cljs$core$IFn$_invoke$arity$variadic = G__37180__delegate; +return G__37180; +})() +; +})(); +cljs.pprint.pprint_cond = (function cljs$pprint$pprint_cond(alis){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35610_37183 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35611_37184 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35612_37185 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35613_37186 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35612_37185); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35613_37186); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"(",null,")"); + +cljs.pprint.pprint_indent(new cljs.core.Keyword(null,"block","block",664686210),(1)); + +cljs.pprint.write_out(cljs.core.first(alis)); + +if(cljs.core.next(alis)){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var length_count35619_37187 = (0); +var alis_37188__$1 = cljs.core.next(alis); +while(true){ +if(((cljs.core.not(cljs.core._STAR_print_length_STAR_)) || ((length_count35619_37187 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_37188__$1){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35621_37189 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35622_37190 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35623_37191 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35624_37192 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35623_37191); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35624_37192); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,null,null,null); + + +cljs.pprint.write_out(cljs.core.first(alis_37188__$1)); + +if(cljs.core.next(alis_37188__$1)){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"miser","miser",-556060186)); + +cljs.pprint.write_out(cljs.core.second(alis_37188__$1)); +} else { +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35622_37190); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35621_37189); +}} + + +if(cljs.core.next(cljs.core.rest(alis_37188__$1))){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__37194 = (length_count35619_37187 + (1)); +var G__37195 = cljs.core.next(cljs.core.rest(alis_37188__$1)); +length_count35619_37187 = G__37194; +alis_37188__$1 = G__37195; +continue; +} else { +} +} else { +} +} else { +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} +break; +} +} else { +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35611_37184); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35610_37183); +}} + +return null; +}); +cljs.pprint.pprint_condp = (function cljs$pprint$pprint_condp(alis){ +if((cljs.core.count(alis) > (3))){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35643_37196 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35644_37197 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35645_37198 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35646_37199 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35645_37198); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35646_37199); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"(",null,")"); + +cljs.pprint.pprint_indent(new cljs.core.Keyword(null,"block","block",664686210),(1)); + +cljs.core.apply.cljs$core$IFn$_invoke$arity$2((function (){var format_in__31323__auto__ = "~w ~@_~w ~@_~w ~_"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37201__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37201 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37202__i = 0, G__37202__a = new Array(arguments.length - 0); +while (G__37202__i < G__37202__a.length) {G__37202__a[G__37202__i] = arguments[G__37202__i + 0]; ++G__37202__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37202__a,0,null); +} +return G__37201__delegate.call(this,args__31325__auto__);}; +G__37201.cljs$lang$maxFixedArity = 0; +G__37201.cljs$lang$applyTo = (function (arglist__37203){ +var args__31325__auto__ = cljs.core.seq(arglist__37203); +return G__37201__delegate(args__31325__auto__); +}); +G__37201.cljs$core$IFn$_invoke$arity$variadic = G__37201__delegate; +return G__37201; +})() +; +})(),alis); + +var length_count35654_37204 = (0); +var alis_37205__$1 = cljs.core.seq(cljs.core.drop.cljs$core$IFn$_invoke$arity$2((3),alis)); +while(true){ +if(((cljs.core.not(cljs.core._STAR_print_length_STAR_)) || ((length_count35654_37204 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_37205__$1){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35656_37206 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35657_37207 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35658_37208 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35659_37209 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35658_37208); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35659_37209); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,null,null,null); + + +cljs.pprint.write_out(cljs.core.first(alis_37205__$1)); + +if(cljs.core.next(alis_37205__$1)){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"miser","miser",-556060186)); + +cljs.pprint.write_out(cljs.core.second(alis_37205__$1)); +} else { +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35657_37207); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35656_37206); +}} + + +if(cljs.core.next(cljs.core.rest(alis_37205__$1))){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__37211 = (length_count35654_37204 + (1)); +var G__37212 = cljs.core.next(cljs.core.rest(alis_37205__$1)); +length_count35654_37204 = G__37211; +alis_37205__$1 = G__37212; +continue; +} else { +} +} else { +} +} else { +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35644_37197); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35643_37196); +}} + +return null; +} else { +return cljs.pprint.pprint_simple_code_list(alis); +} +}); +cljs.pprint._STAR_symbol_map_STAR_ = cljs.core.PersistentArrayMap.EMPTY; +cljs.pprint.pprint_anon_func = (function cljs$pprint$pprint_anon_func(alis){ +var args = cljs.core.second(alis); +var nlis = cljs.core.first(cljs.core.rest(cljs.core.rest(alis))); +if(cljs.core.vector_QMARK_(args)){ +var _STAR_symbol_map_STAR__orig_val__35676 = cljs.pprint._STAR_symbol_map_STAR_; +var _STAR_symbol_map_STAR__temp_val__35677 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((1),cljs.core.count(args)))?cljs.core.PersistentArrayMap.createAsIfByAssoc([cljs.core.first(args),"%"]):cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (p1__35669_SHARP_,p2__35670_SHARP_){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__35669_SHARP_,["%",cljs.core.str.cljs$core$IFn$_invoke$arity$1(p2__35670_SHARP_)].join('')],null)); +}),args,cljs.core.range.cljs$core$IFn$_invoke$arity$2((1),(cljs.core.count(args) + (1)))))); +(cljs.pprint._STAR_symbol_map_STAR_ = _STAR_symbol_map_STAR__temp_val__35677); + +try{return (function (){var format_in__31323__auto__ = "~<#(~;~@{~w~^ ~_~}~;)~:>"; +var cf__31324__auto__ = ((typeof format_in__31323__auto__ === 'string')?cljs.pprint.cached_compile(format_in__31323__auto__):format_in__31323__auto__); +return (function() { +var G__37220__delegate = function (args__31325__auto__){ +var navigator__31326__auto__ = cljs.pprint.init_navigator(args__31325__auto__); +return cljs.pprint.execute_format.cljs$core$IFn$_invoke$arity$2(cf__31324__auto__,navigator__31326__auto__); +}; +var G__37220 = function (var_args){ +var args__31325__auto__ = null; +if (arguments.length > 0) { +var G__37221__i = 0, G__37221__a = new Array(arguments.length - 0); +while (G__37221__i < G__37221__a.length) {G__37221__a[G__37221__i] = arguments[G__37221__i + 0]; ++G__37221__i;} + args__31325__auto__ = new cljs.core.IndexedSeq(G__37221__a,0,null); +} +return G__37220__delegate.call(this,args__31325__auto__);}; +G__37220.cljs$lang$maxFixedArity = 0; +G__37220.cljs$lang$applyTo = (function (arglist__37222){ +var args__31325__auto__ = cljs.core.seq(arglist__37222); +return G__37220__delegate(args__31325__auto__); +}); +G__37220.cljs$core$IFn$_invoke$arity$variadic = G__37220__delegate; +return G__37220; +})() +; +})()(nlis); +}finally {(cljs.pprint._STAR_symbol_map_STAR_ = _STAR_symbol_map_STAR__orig_val__35676); +}} else { +return cljs.pprint.pprint_simple_code_list(alis); +} +}); +cljs.pprint.pprint_simple_code_list = (function cljs$pprint$pprint_simple_code_list(alis){ +if(cljs.core.truth_(cljs.pprint.level_exceeded())){ +cljs.core._write(cljs.core._STAR_out_STAR_,"#"); +} else { +var _STAR_current_level_STAR__orig_val__35690_37223 = cljs.pprint._STAR_current_level_STAR_; +var _STAR_current_length_STAR__orig_val__35691_37224 = cljs.pprint._STAR_current_length_STAR_; +var _STAR_current_level_STAR__temp_val__35692_37225 = (cljs.pprint._STAR_current_level_STAR_ + (1)); +var _STAR_current_length_STAR__temp_val__35693_37226 = (0); +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__temp_val__35692_37225); + +(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__temp_val__35693_37226); + +try{cljs.pprint.start_block(cljs.core._STAR_out_STAR_,"(",null,")"); + +cljs.pprint.pprint_indent(new cljs.core.Keyword(null,"block","block",664686210),(1)); + +var length_count35698_37227 = (0); +var alis_37228__$1 = cljs.core.seq(alis); +while(true){ +if(((cljs.core.not(cljs.core._STAR_print_length_STAR_)) || ((length_count35698_37227 < cljs.core._STAR_print_length_STAR_)))){ +if(alis_37228__$1){ +cljs.pprint.write_out(cljs.core.first(alis_37228__$1)); + +if(cljs.core.next(alis_37228__$1)){ +cljs.core._write(cljs.core._STAR_out_STAR_," "); + +cljs.pprint.pprint_newline(new cljs.core.Keyword(null,"linear","linear",872268697)); + +var G__37229 = (length_count35698_37227 + (1)); +var G__37230 = cljs.core.next(alis_37228__$1); +length_count35698_37227 = G__37229; +alis_37228__$1 = G__37230; +continue; +} else { +} +} else { +} +} else { +cljs.core._write(cljs.core._STAR_out_STAR_,"..."); +} +break; +} + +cljs.pprint.end_block(cljs.core._STAR_out_STAR_); +}finally {(cljs.pprint._STAR_current_length_STAR_ = _STAR_current_length_STAR__orig_val__35691_37224); + +(cljs.pprint._STAR_current_level_STAR_ = _STAR_current_level_STAR__orig_val__35690_37223); +}} + +return null; +}); +cljs.pprint.two_forms = (function cljs$pprint$two_forms(amap){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(cljs.core.identity,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (){var iter__5523__auto__ = (function cljs$pprint$two_forms_$_iter__35705(s__35706){ +return (new cljs.core.LazySeq(null,(function (){ +var s__35706__$1 = s__35706; +while(true){ +var temp__5823__auto__ = cljs.core.seq(s__35706__$1); +if(temp__5823__auto__){ +var s__35706__$2 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s__35706__$2)){ +var c__5521__auto__ = cljs.core.chunk_first(s__35706__$2); +var size__5522__auto__ = cljs.core.count(c__5521__auto__); +var b__35708 = cljs.core.chunk_buffer(size__5522__auto__); +if((function (){var i__35707 = (0); +while(true){ +if((i__35707 < size__5522__auto__)){ +var x = cljs.core._nth(c__5521__auto__,i__35707); +cljs.core.chunk_append(b__35708,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [x,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(cljs.core.name(cljs.core.first(x))),cljs.core.second(x)], null)], null)); + +var G__37231 = (i__35707 + (1)); +i__35707 = G__37231; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__35708),cljs$pprint$two_forms_$_iter__35705(cljs.core.chunk_rest(s__35706__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__35708),null); +} +} else { +var x = cljs.core.first(s__35706__$2); +return cljs.core.cons(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [x,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(cljs.core.name(cljs.core.first(x))),cljs.core.second(x)], null)], null),cljs$pprint$two_forms_$_iter__35705(cljs.core.rest(s__35706__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__5523__auto__(amap); +})()], 0))); +}); +cljs.pprint.add_core_ns = (function cljs$pprint$add_core_ns(amap){ +var core = "clojure.core"; +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__35722_SHARP_){ +var vec__35725 = p1__35722_SHARP_; +var s = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35725,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35725,(1),null); +if(cljs.core.not((function (){var or__5045__auto__ = cljs.core.namespace(s); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.special_symbol_QMARK_(s); +} +})())){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(core,cljs.core.name(s)),f], null); +} else { +return p1__35722_SHARP_; +} +}),amap)); +}); +cljs.pprint._STAR_code_table_STAR_ = cljs.pprint.two_forms(cljs.pprint.add_core_ns(cljs.core.PersistentHashMap.fromArrays([new cljs.core.Symbol(null,".",".",1975675962,null),new cljs.core.Symbol(null,"fn*","fn*",-752876845,null),new cljs.core.Symbol(null,"when-first","when-first",821699168,null),new cljs.core.Symbol(null,"if","if",1181717262,null),new cljs.core.Symbol(null,"condp","condp",1054325175,null),new cljs.core.Symbol(null,"..","..",-300507420,null),new cljs.core.Symbol(null,"defmacro","defmacro",2054157304,null),new cljs.core.Symbol(null,"defn","defn",-126010802,null),new cljs.core.Symbol(null,"loop","loop",1244978678,null),new cljs.core.Symbol(null,"struct","struct",325972931,null),new cljs.core.Symbol(null,"doseq","doseq",221164135,null),new cljs.core.Symbol(null,"if-not","if-not",-265415609,null),new cljs.core.Symbol(null,"when-not","when-not",-1223136340,null),new cljs.core.Symbol(null,"def","def",597100991,null),new cljs.core.Symbol(null,"when","when",1064114221,null),new cljs.core.Symbol(null,"with-open","with-open",172119667,null),new cljs.core.Symbol(null,"with-local-vars","with-local-vars",837642072,null),new cljs.core.Symbol(null,"defonce","defonce",-1681484013,null),new cljs.core.Symbol(null,"when-let","when-let",-1383043480,null),new cljs.core.Symbol(null,"ns","ns",2082130287,null),new cljs.core.Symbol(null,"dotimes","dotimes",-818708397,null),new cljs.core.Symbol(null,"cond","cond",1606708055,null),new cljs.core.Symbol(null,"let","let",358118826,null),new cljs.core.Symbol(null,"fn","fn",465265323,null),new cljs.core.Symbol(null,"defn-","defn-",1097765044,null),new cljs.core.Symbol(null,"locking","locking",1542862874,null),new cljs.core.Symbol(null,"->","->",-2139605430,null),new cljs.core.Symbol(null,"if-let","if-let",1803593690,null),new cljs.core.Symbol(null,"binding","binding",-2114503176,null),new cljs.core.Symbol(null,"struct-map","struct-map",-1387540878,null)],[cljs.pprint.pprint_hold_first,cljs.pprint.pprint_anon_func,cljs.pprint.pprint_let,cljs.pprint.pprint_if,cljs.pprint.pprint_condp,cljs.pprint.pprint_hold_first,cljs.pprint.pprint_defn,cljs.pprint.pprint_defn,cljs.pprint.pprint_let,cljs.pprint.pprint_hold_first,cljs.pprint.pprint_let,cljs.pprint.pprint_if,cljs.pprint.pprint_if,cljs.pprint.pprint_hold_first,cljs.pprint.pprint_if,cljs.pprint.pprint_let,cljs.pprint.pprint_let,cljs.pprint.pprint_hold_first,cljs.pprint.pprint_let,cljs.pprint.pprint_ns,cljs.pprint.pprint_let,cljs.pprint.pprint_cond,cljs.pprint.pprint_let,cljs.pprint.pprint_defn,cljs.pprint.pprint_defn,cljs.pprint.pprint_hold_first,cljs.pprint.pprint_hold_first,cljs.pprint.pprint_let,cljs.pprint.pprint_let,cljs.pprint.pprint_hold_first]))); +cljs.pprint.pprint_code_list = (function cljs$pprint$pprint_code_list(alis){ +if(cljs.core.not(cljs.pprint.pprint_reader_macro(alis))){ +var temp__5821__auto__ = cljs.pprint._STAR_code_table_STAR_.call(null, cljs.core.first(alis)); +if(cljs.core.truth_(temp__5821__auto__)){ +var special_form = temp__5821__auto__; +return (special_form.cljs$core$IFn$_invoke$arity$1 ? special_form.cljs$core$IFn$_invoke$arity$1(alis) : special_form.call(null, alis)); +} else { +return cljs.pprint.pprint_simple_code_list(alis); +} +} else { +return null; +} +}); +cljs.pprint.pprint_code_symbol = (function cljs$pprint$pprint_code_symbol(sym){ +var temp__5821__auto__ = (sym.cljs$core$IFn$_invoke$arity$1 ? sym.cljs$core$IFn$_invoke$arity$1(cljs.pprint._STAR_symbol_map_STAR_) : sym.call(null, cljs.pprint._STAR_symbol_map_STAR_)); +if(cljs.core.truth_(temp__5821__auto__)){ +var arg_num = temp__5821__auto__; +return cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([arg_num], 0)); +} else { +if(cljs.core.truth_(cljs.pprint._STAR_print_suppress_namespaces_STAR_)){ +return cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.name(sym)], 0)); +} else { +return cljs.pprint.pr.call(null, sym); +} +} +}); +if((typeof cljs !== 'undefined') && (typeof cljs.pprint !== 'undefined') && (typeof cljs.pprint.code_dispatch !== 'undefined')){ +} else { +/** + * The pretty print dispatch function for pretty printing Clojure code. + */ +cljs.pprint.code_dispatch = (function (){var method_table__5642__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var prefer_table__5643__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var method_cache__5644__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var cached_hierarchy__5645__auto__ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var hierarchy__5646__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$3(cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"hierarchy","hierarchy",-1053470341),(function (){var fexpr__35763 = cljs.core.get_global_hierarchy; +return (fexpr__35763.cljs$core$IFn$_invoke$arity$0 ? fexpr__35763.cljs$core$IFn$_invoke$arity$0() : fexpr__35763.call(null, )); +})()); +return (new cljs.core.MultiFn(cljs.core.symbol.cljs$core$IFn$_invoke$arity$2("cljs.pprint","code-dispatch"),cljs.pprint.type_dispatcher,new cljs.core.Keyword(null,"default","default",-1987822328),hierarchy__5646__auto__,method_table__5642__auto__,prefer_table__5643__auto__,method_cache__5644__auto__,cached_hierarchy__5645__auto__)); +})(); +} +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"list","list",765357683),cljs.pprint.pprint_code_list); +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"symbol","symbol",-1038572696),cljs.pprint.pprint_code_symbol); +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"vector","vector",1902966158),cljs.pprint.pprint_vector); +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"map","map",1371690461),cljs.pprint.pprint_map); +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"set","set",304602554),cljs.pprint.pprint_set); +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"queue","queue",1455835879),cljs.pprint.pprint_pqueue); +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"deref","deref",-145586795),cljs.pprint.pprint_ideref); +cljs.pprint.use_method(cljs.pprint.code_dispatch,null,cljs.pprint.pr); +cljs.pprint.use_method(cljs.pprint.code_dispatch,new cljs.core.Keyword(null,"default","default",-1987822328),cljs.pprint.pprint_simple_default); +cljs.pprint.set_pprint_dispatch(cljs.pprint.simple_dispatch); +cljs.pprint.add_padding = (function cljs$pprint$add_padding(width,s){ +var padding = (function (){var x__5130__auto__ = (0); +var y__5131__auto__ = (width - cljs.core.count(s)); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})(); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.str,clojure.string.join.cljs$core$IFn$_invoke$arity$1(cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(padding," ")),s); +}); +/** + * Prints a collection of maps in a textual table. Prints table headings + * ks, and then a line of output for each row, corresponding to the keys + * in ks. If ks are not specified, use the keys of the first item in rows. + */ +cljs.pprint.print_table = (function cljs$pprint$print_table(var_args){ +var G__35789 = arguments.length; +switch (G__35789) { +case 2: +return cljs.pprint.print_table.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 1: +return cljs.pprint.print_table.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.pprint.print_table.cljs$core$IFn$_invoke$arity$2 = (function (ks,rows){ +if(cljs.core.seq(rows)){ +var widths = cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (k){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.max,((cljs.core.str.cljs$core$IFn$_invoke$arity$1(k)).length),cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__35774_SHARP_){ +return ((cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.cljs$core$IFn$_invoke$arity$2(p1__35774_SHARP_,k))).length); +}),rows)); +}),ks); +var spacers = cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__35775_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(p1__35775_SHARP_,"-")); +}),widths); +var fmt_row = (function (leader,divider,trailer,row){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(leader),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.interpose.cljs$core$IFn$_invoke$arity$2(divider,(function (){var iter__5523__auto__ = (function cljs$pprint$iter__35827(s__35828){ +return (new cljs.core.LazySeq(null,(function (){ +var s__35828__$1 = s__35828; +while(true){ +var temp__5823__auto__ = cljs.core.seq(s__35828__$1); +if(temp__5823__auto__){ +var s__35828__$2 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s__35828__$2)){ +var c__5521__auto__ = cljs.core.chunk_first(s__35828__$2); +var size__5522__auto__ = cljs.core.count(c__5521__auto__); +var b__35830 = cljs.core.chunk_buffer(size__5522__auto__); +if((function (){var i__35829 = (0); +while(true){ +if((i__35829 < size__5522__auto__)){ +var vec__35836 = cljs.core._nth(c__5521__auto__,i__35829); +var col = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35836,(0),null); +var width = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35836,(1),null); +cljs.core.chunk_append(b__35830,cljs.pprint.add_padding(width,cljs.core.str.cljs$core$IFn$_invoke$arity$1(col))); + +var G__37240 = (i__35829 + (1)); +i__35829 = G__37240; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__35830),cljs$pprint$iter__35827(cljs.core.chunk_rest(s__35828__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__35830),null); +} +} else { +var vec__35840 = cljs.core.first(s__35828__$2); +var col = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35840,(0),null); +var width = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35840,(1),null); +return cljs.core.cons(cljs.pprint.add_padding(width,cljs.core.str.cljs$core$IFn$_invoke$arity$1(col)),cljs$pprint$iter__35827(cljs.core.rest(s__35828__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__5523__auto__(cljs.core.map.cljs$core$IFn$_invoke$arity$3(cljs.core.vector,cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__35777_SHARP_){ +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(row,p1__35777_SHARP_); +}),ks),widths)); +})()))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(trailer)].join(''); +}); +cljs.core.println(); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([fmt_row("| "," | "," |",cljs.core.zipmap(ks,ks))], 0)); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([fmt_row("|-","-+-","-|",cljs.core.zipmap(ks,spacers))], 0)); + +var seq__35846 = cljs.core.seq(rows); +var chunk__35847 = null; +var count__35848 = (0); +var i__35849 = (0); +while(true){ +if((i__35849 < count__35848)){ +var row = chunk__35847.cljs$core$IIndexed$_nth$arity$2(null, i__35849); +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([fmt_row("| "," | "," |",row)], 0)); + + +var G__37241 = seq__35846; +var G__37242 = chunk__35847; +var G__37243 = count__35848; +var G__37244 = (i__35849 + (1)); +seq__35846 = G__37241; +chunk__35847 = G__37242; +count__35848 = G__37243; +i__35849 = G__37244; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__35846); +if(temp__5823__auto__){ +var seq__35846__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__35846__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__35846__$1); +var G__37245 = cljs.core.chunk_rest(seq__35846__$1); +var G__37246 = c__5568__auto__; +var G__37247 = cljs.core.count(c__5568__auto__); +var G__37248 = (0); +seq__35846 = G__37245; +chunk__35847 = G__37246; +count__35848 = G__37247; +i__35849 = G__37248; +continue; +} else { +var row = cljs.core.first(seq__35846__$1); +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([fmt_row("| "," | "," |",row)], 0)); + + +var G__37249 = cljs.core.next(seq__35846__$1); +var G__37250 = null; +var G__37251 = (0); +var G__37252 = (0); +seq__35846 = G__37249; +chunk__35847 = G__37250; +count__35848 = G__37251; +i__35849 = G__37252; +continue; +} +} else { +return null; +} +} +break; +} +} else { +return null; +} +})); + +(cljs.pprint.print_table.cljs$core$IFn$_invoke$arity$1 = (function (rows){ +return cljs.pprint.print_table.cljs$core$IFn$_invoke$arity$2(cljs.core.keys(cljs.core.first(rows)),rows); +})); + +(cljs.pprint.print_table.cljs$lang$maxFixedArity = 2); + + +//# sourceMappingURL=cljs.pprint.js.map diff --git a/out/cljs-runtime/cljs.pprint.js.map b/out/cljs-runtime/cljs.pprint.js.map new file mode 100644 index 0000000..6a87978 --- /dev/null +++ b/out/cljs-runtime/cljs.pprint.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/pprint.cljs"],"mappings":";AAwBA,AAAA,oBAAA,4BAAAA,hDAAOM;AAAP,AAAA,IAAAL,qBAAA;AAAA,AAAA,IAAAC,0BAAA,AAAA;AAAA,AAAA,IAAAC,wBAAA;;AAAA,AAAA,GAAA,CAAAA,wBAAAD;AAAA,AAAA,AAAAD,wBAAA,CAAA,UAAAE;;AAAA,eAAA,CAAAA,wBAAA;;;;AAAA;;;;AAAA,IAAAC,uBAAA,EAAA,CAAA,MAAA,AAAAH,4BAAA,AAAA,KAAAI,qBAAA,AAAAJ,yBAAA,KAAA,IAAA,OAAA;AAAA,AAAA,OAAAK,uDAAAF;;;AAAA,AAAA,CAAA,yDAAA,zDAAOE,oEAASI;AAAhB,AACE,OAACC,iBAAOC,0BAAM,AAACC,8CAAMC,oBAAUJ;;;AADjC,CAAA,4CAAA,5CAAOJ;;AAAP;AAAA,CAAA,sCAAA,WAAAC,jDAAOD;AAAP,AAAA,IAAAE,qBAAA;AAAA,AAAA,OAAAA,wDAAA,AAAAC,cAAAF;;;AAAA,AAGA,AAAA,sBAAA,8BAAAP,pDAAOe;AAAP,AAAA,IAAAd,qBAAA;AAAA,AAAA,IAAAC,0BAAA,AAAA;AAAA,AAAA,IAAAC,wBAAA;;AAAA,AAAA,GAAA,CAAAA,wBAAAD;AAAA,AAAA,AAAAD,wBAAA,CAAA,UAAAE;;AAAA,eAAA,CAAAA,wBAAA;;;;AAAA;;;;AAAA,I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,AAAA,GAAA,AAAAC,6BAAA+rC;AAAA,IAAAv4B,kBAAA,AAAAC,sBAAAs4B;AAAA,AAAA,eAAA,AAAAjrC,qBAAAirC;eAAAv4B;eAAA,AAAArT,gBAAAqT;eAAA;;;;;;;AAAA,UAAA,AAAA3U,gBAAAktC,tBAAQV;AAAR,AAAA,AACE,AAACS,yGAAkB,QAAA,KAAA,MAAA,nBAACb,wBAAwBI;;AAD9C;AAAA,eAAA,AAAAtsC,eAAAgtC;eAAA;eAAA;eAAA;;;;;;;;AAAA;;;;;;AAfJ;;;;AANH,CAAA,wDAAA,xDAAMtB,mEAuBFE;AAvBJ,AAuBU,OAACwB,sDAAY,AAACzR,eAAK,AAAC77B,gBAAM8rC,OAAOA;;;AAvB3C,CAAA,kDAAA,lDAAMF;;AAAN","names":["var_args","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","cljs.pprint/print","seq31349","self__5755__auto__","cljs.core/seq","more","cljs.core/-write","cljs.core/*out*","cljs.core.apply","cljs.core/print-str","cljs.pprint/println","seq31360","cljs.pprint/print-char","c","pred__31368","expr__31369","G__31373","G__31374","G__31379","G__31380","G__31381","G__31382","G__31383","G__31384","G__31385","G__31386","G__31387","G__31388","G__31389","G__31390","G__31391","G__31392","cljs.core/=","cljs.pprint/pr","seq31394","cljs.core/pr-str","cljs.pprint/prn","seq31407","cljs.pprint/float?","n","js/isNaN","js/Infinity","js/parseFloat","js/parseInt","cljs.pprint/char-code","js/Error","cljs.pprint/map-passing-context","func","initial-context","lis","context","acc","cljs.core/empty?","vec__31470","cljs.core.nth","this","cljs.core/first","remainder","cljs.core/next","result","new-context","cljs.core.conj","cljs.pprint/consume","vec__31489","cljs.core/not","cljs.pprint/consume-while","vec__31511","continue","cljs.pprint/unzip-map","m","cljs.core.into","iter__5523__auto__","s__31521","cljs.core/LazySeq","temp__5823__auto__","cljs.core/chunked-seq?","c__5521__auto__","size__5522__auto__","cljs.core/count","b__31523","cljs.core/chunk-buffer","i__31522","vec__31529","cljs.core/-nth","vec__31532","cljs.core/chunk-append","cljs.core/chunk-cons","cljs.core/chunk","iter__31520","cljs.core/chunk-rest","vec__31542","vec__31545","cljs.core/cons","cljs.core/rest","k","v1","v2","s__31553","b__31555","i__31554","vec__31561","vec__31564","iter__31552","vec__31570","vec__31573","cljs.pprint/tuple-map","s__31583","b__31585","i__31584","vec__31595","iter__31582","vec__31602","v","cljs.pprint/rtrim","s","len","cljs.core._EQ_","cljs.core.subs","cljs.pprint/ltrim","cljs.pprint/prefix-count","aseq","val","test","cljs.core/coll?","cljs.core/set","pos","G__31633","cljs$pprint$IPrettyFlush$_ppflush$dyn","x__5393__auto__","m__5394__auto__","cljs.pprint/-ppflush","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","cljs.pprint/IPrettyFlush","pp","cljs.pprint/*default-page-width*","cljs.pprint/get-field","sym","G__31646","cljs.core/deref","cljs.pprint/set-field","new-val","cljs.core.swap_BANG_","cljs.core/assoc","cljs.pprint/get-column","cljs.pprint/get-line","cljs.pprint/get-max-column","cljs.pprint/set-max-column","new-max","cljs.pprint/get-writer","cljs.pprint/c-write-char","G__31677","cljs.pprint/column-writer","writer","cljs.pprint.column_writer","max-columns","fields","cljs.core.atom","cljs.pprint/t_cljs$pprint31683","_","cljs.core/-flush","x","pred__31690","expr__31691","cljs.core/type","js/String","nl","p1__31672#","cljs.core.filter","js/Number","this__5343__auto__","k__5344__auto__","this__5345__auto__","k31705","else__5346__auto__","G__31718","cljs.core/Keyword","parent","section","start-col","indent","done-nl","intra-block-nl","prefix","per-line-prefix","suffix","logical-block-callback","cljs.core.get","__extmap","this__5363__auto__","f__5364__auto__","init__5365__auto__","cljs.core.reduce","ret__5366__auto__","p__31724","vec__31725","k__5367__auto__","v__5368__auto__","this__5358__auto__","writer__5359__auto__","opts__5360__auto__","pr-pair__5361__auto__","keyval__5362__auto__","cljs.core/pr-sequential-writer","cljs.core.concat","cljs.core/PersistentVector","G__31704","cljs.core/RecordIter","cljs.core/-iterator","cljs.core/nil-iter","this__5341__auto__","__meta","this__5338__auto__","__hash","this__5347__auto__","this__5339__auto__","h__5154__auto__","coll__5340__auto__","cljs.core/hash-unordered-coll","this31706","other31707","this__5353__auto__","k__5354__auto__","cljs.core/contains?","cljs.core.dissoc","cljs.core/-with-meta","cljs.core/not-empty","this__5350__auto__","G__31762","this__5351__auto__","k__5352__auto__","pred__31763","cljs.core/keyword-identical?","expr__31764","cljs.core.assoc","this__5356__auto__","cljs.core/MapEntry","this__5342__auto__","this__5348__auto__","entry__5349__auto__","cljs.core/vector?","cljs.core/-conj","cljs.pprint/logical-block","this__5389__auto__","cljs.core/List","writer__5390__auto__","G__31711","extmap__5385__auto__","G__31766","cljs.core/record?","cljs.pprint/->logical-block","cljs.pprint/map->logical-block","cljs.pprint/ancestor?","child","cljs.pprint/buffer-length","l","cljs.core/last","k31768","G__31772","type-tag","data","trailing-white-space","start-pos","end-pos","p__31773","vec__31774","G__31767","this31769","other31770","G__31777","pred__31778","expr__31779","cljs.pprint/buffer-blob","G__31771","G__31781","cljs.pprint/make-buffer-blob","cljs.pprint/buffer-blob?","x__31270__auto__","cljs.pprint/->buffer-blob","cljs.pprint/map->buffer-blob","k31783","G__31793","type","logical-block","p__31794","vec__31795","G__31782","this31784","other31785","G__31844","pred__31847","expr__31848","cljs.pprint/nl-t","G__31786","G__31865","cljs.pprint/make-nl-t","cljs.pprint/nl-t?","cljs.pprint/->nl-t","cljs.pprint/map->nl-t","k31878","G__31887","p__31891","vec__31892","G__31877","this31879","other31880","G__31932","pred__31936","expr__31937","cljs.pprint/start-block-t","G__31881","G__31967","cljs.pprint/make-start-block-t","cljs.pprint/start-block-t?","cljs.pprint/->start-block-t","cljs.pprint/map->start-block-t","k31981","G__31995","p__32013","vec__32014","G__31980","this31982","other31983","G__32060","pred__32068","expr__32069","cljs.pprint/end-block-t","G__31987","G__32078","cljs.pprint/make-end-block-t","cljs.pprint/end-block-t?","cljs.pprint/->end-block-t","cljs.pprint/map->end-block-t","k32092","G__32125","relative-to","offset","p__32141","vec__32144","G__32091","this32093","other32094","G__32182","pred__32184","expr__32185","cljs.pprint/indent-t","G__32097","G__32200","cljs.pprint/make-indent-t","cljs.pprint/indent-t?","cljs.pprint/->indent-t","cljs.pprint/map->indent-t","cljs.pprint/pp-newline","js/cljs","js/cljs.pprint","js/cljs.pprint.write-token","method-table__5642__auto__","prefer-table__5643__auto__","method-cache__5644__auto__","cached-hierarchy__5645__auto__","hierarchy__5646__auto__","fexpr__32226","cljs.core/MultiFn","cljs.core.symbol","p1__32222#","p2__32221#","cljs.pprint/write-token","token","cb","lb","col","cljs.core/reset!","pred__32269","expr__32270","or__5045__auto__","and__5043__auto__","cljs.pprint/emit-nl","temp__5821__auto__","tws","cljs.pprint/write-tokens","tokens","force-trailing-whitespace","seq__32302","chunk__32303","count__32304","i__32305","c__5568__auto__","cljs.core/chunk-first","cljs.pprint/tokens-fit?","maxcol","cljs.pprint/linear-nl?","cljs.pprint/miser-nl?","miser-width","cljs.pprint/get-miser-width","js/cljs.pprint.emit-nl?","fexpr__32407","cljs.pprint/emit-nl?","t","newl","subsection","cljs.pprint/get-section","buffer","p1__32428#","cljs.core.take_while","cljs.core.drop","cljs.pprint/get-sub-section","p1__32438#","nl-lb","cljs.pprint/update-nl-state","istr","cljs.core/str","cljs.core.repeat","cljs.pprint/split-at-newline","pre","p1__32489#","cljs.pprint/write-token-string","vec__32501","a","b","vec__32505","do-nl","long-section","rem2","cljs.pprint/write-line","new-buffer","cljs.pprint/add-to-buffer","cljs.pprint/write-buffered-output","buf","cljs.pprint/write-white-space","cljs.pprint/write-initial-lines","lines","clojure.string.split","oldpos","newpos","seq__32549","chunk__32550","count__32551","i__32552","cljs.core/butlast","cljs.pprint/p-write-char","cljs.core/char","cljs.pprint/pretty-writer","cljs.pprint/t_cljs$pprint32553","pred__32556","expr__32557","s0","clojure.string/replace-first","white-space","mode","cljs.pprint/start-block","cljs.pprint/end-block","cljs.pprint/nl","cljs.pprint/indent","pred__32559","expr__32560","cljs.pprint/*print-pretty*","js/cljs.pprint.*print-pprint-dispatch*","cljs.pprint/*print-pprint-dispatch*","cljs.pprint/*print-right-margin*","cljs.pprint/*print-miser-width*","cljs.pprint/*print-lines*","cljs.pprint/*print-circle*","cljs.pprint/*print-shared*","cljs.pprint/*print-suppress-namespaces*","cljs.pprint/*print-radix*","cljs.pprint/*print-base*","cljs.pprint/*current-level*","cljs.pprint/*current-length*","cljs.pprint/table-ize","cljs.core/hash-map","p1__32562#","cljs.core.mapcat","cljs.core/key","cljs.core/val","cljs.pprint/pretty-writer?","cljs.core/PROTOCOL_SENTINEL","cljs.core/native-satisfies?","cljs.core/IDeref","cljs.pprint/make-pretty-writer","base-writer","right-margin","cljs.pprint/write-out","object","length-reached","cljs.core/*print-length*","cljs.pprint/write","seq32595","G__32596","self__5754__auto__","kw-args","options","cljs.core.merge","*print-base*-orig-val__32610","*print-circle*-orig-val__32611","*print-length*-orig-val__32612","*print-level*-orig-val__32613","*print-lines*-orig-val__32614","*print-miser-width*-orig-val__32615","*print-pprint-dispatch*-orig-val__32616","*print-pretty*-orig-val__32617","*print-radix*-orig-val__32618","*print-readably*-orig-val__32619","*print-right-margin*-orig-val__32620","*print-suppress-namespaces*-orig-val__32621","*print-base*-temp-val__32622","*print-circle*-temp-val__32623","*print-length*-temp-val__32624","*print-level*-temp-val__32625","*print-lines*-temp-val__32626","*print-miser-width*-temp-val__32627","*print-pprint-dispatch*-temp-val__32628","*print-pretty*-temp-val__32629","*print-radix*-temp-val__32630","*print-readably*-temp-val__32631","*print-right-margin*-temp-val__32632","*print-suppress-namespaces*-temp-val__32633","cljs.core/*print-level*","cljs.core/*print-readably*","sb","js/goog.string.StringBuffer","optval","cljs.core/StringBufferWriter","base-writer__31240__auto__","new-writer__31241__auto__","*out*-orig-val__32657","*out*-temp-val__32658","*out*-orig-val__32660","*out*-temp-val__32661","cljs.core/string-print","G__32672","cljs.pprint/pprint","*out*-orig-val__32674","*out*-temp-val__32675","cljs.pprint.pprint","*out*-orig-val__32676","*out*-temp-val__32677","*print-pretty*-orig-val__32678","*print-pretty*-temp-val__32679","cljs.pprint/set-pprint-dispatch","function","cljs.pprint/check-enumerated-arg","arg","choices","cljs.pprint/level-exceeded","cljs.pprint/pprint-newline","kind","cljs.pprint/pprint-indent","cljs.pprint/pprint-tab","colnum","colinc","cljs.pprint/cl-format","seq32712","G__32713","G__32714","format-in","args","compiled-format","cljs.pprint/compile-format","navigator","cljs.pprint/init-navigator","cljs.pprint.execute_format","cljs.pprint/*format-str*","cljs.pprint/format-error","message","full-message","k32767","G__32836","seq","rest","p__32859","vec__32867","G__32766","this32768","other32769","G__32943","pred__32950","expr__32951","cljs.pprint/arg-navigator","G__32777","G__32976","cljs.pprint/->arg-navigator","cljs.pprint/map->arg-navigator","cljs.pprint/next-arg","rst","cljs.pprint/next-arg-or-nil","cljs.pprint/get-format-arg","vec__33004","raw-format","cljs.pprint/absolute-reposition","position","G__33021","G__33022","cljs.pprint/relative-reposition","k33108","G__33126","def","params","p__33132","vec__33133","G__33107","this33109","other33110","G__33169","pred__33174","expr__33175","cljs.pprint/compiled-directive","G__33115","G__33187","cljs.pprint/->compiled-directive","cljs.pprint/map->compiled-directive","p__33195","vec__33196","vec__33199","cljs.pprint/realize-parameter","param","raw-val","vec__33202","real-param","new-navigator","cljs.pprint/realize-parameter-list","parameter-map","vec__33207","pairs","cljs.pprint/special-radix-markers","cljs.pprint/format-simple-number","cljs.core/integer?","cljs.pprint/opt-base-str","cljs.pprint/format-ascii","print-func","arg-navigator","offsets","vec__33214","base-output","base-width","min-width","width","cljs.core/quot","chars","cljs.pprint.print","cljs.pprint/integral?","Math/floor","cljs.pprint/remainders","base","cljs.core/reverse","p1__33230#","cljs.core/rem","cljs.pprint/base-str","xlated-val","p1__33236#","cljs.core.map","cljs.pprint/javascript-base-formats","cljs.pprint/group-by*","unit","cljs.core.take","cljs.pprint/format-integer","vec__33245","neg","pos-arg","raw-str","group-str","groups","p1__33240#","commas","cljs.core.interleave","signed-str","padded-str","cljs.pprint/english-cardinal-units","cljs.pprint/english-ordinal-units","cljs.pprint/english-cardinal-tens","cljs.pprint/english-ordinal-tens","cljs.pprint/english-scale-numbers","cljs.pprint/format-simple-cardinal","num","hundreds","tens","ten-digit","unit-digit","cljs.pprint/add-english-scales","parts","cnt","cljs.core.interpose","cljs.pprint/format-cardinal-english","vec__33356","abs-arg","parts-strs","full-str","cljs.pprint/format-simple-ordinal","cljs.pprint/format-ordinal-english","vec__33400","cljs.core.drop_last","head-str","tail-str","low-two-digits","not-teens","low-digit","cljs.pprint/old-roman-table","cljs.pprint/new-roman-table","cljs.pprint/format-roman","table","vec__33447","digits","digit","cljs.pprint/format-old-roman","cljs.pprint/format-new-roman","cljs.pprint/special-chars","cljs.pprint/pretty-character","vec__33462","as-int","base-char","meta","special","cljs.pprint/readable-character","vec__33469","pred__33474","expr__33475","G__33477","G__33478","G__33480","G__33481","cljs.pprint.cl_format","cljs.pprint/plain-character","vec__33482","char","cljs.pprint/abort?","cljs.pprint/execute-sub-format","format","base-args","cljs.core/second","element","vec__33487","vec__33490","cljs.pprint/float-parts-base","f","clojure.string/lower-case","exploc","dotloc","cljs.pprint/float-parts","vec__33497","e","m1","m2","delta","cljs.pprint/inc-s","len-1","i","cljs.pprint/round-str","d","w","vec__33522","x__5130__auto__","y__5131__auto__","round-pos","e1","round-char","round-up-result","expanded","cljs.pprint/expand-fixed","vec__33531","target-len","cljs.pprint/insert-decimal","loc","cljs.pprint/get-fixed","cljs.pprint/insert-scaled-decimal","cljs.pprint/convert-ratio","cljs.pprint/fixed-float","vec__33632","vec__33635","vec__33638","vec__33641","sign","abs","mantissa","exp","scaled-exp","add-sign","append-zero","rounded-mantissa","fixed-repr","prepend-zero","signed-len","full-len","cljs.pprint/exponential-float","vec__33679","G__33687","vec__33689","vec__33694","vec__33698","expchar","scaled-exp-str","Math/abs","exp-width","base-mantissa-width","scaled-mantissa","w-mantissa","incr-exp","full-mantissa","cljs.pprint/general-float","vec__33779","vec__33782","ee","ww","x__5133__auto__","y__5134__auto__","dd","cljs.pprint/dollar-float","vec__33798","vec__33801","vec__33804","full-repr","cljs.pprint/choice-conditional","vec__33818","clauses","clause","cljs.pprint/boolean-conditional","vec__33834","cljs.pprint/check-arg-conditional","vec__33841","cljs.pprint/iterate-sublist","vec__33859","vec__33862","max-count","param-clause","arg-list","count","last-pos","iter-result","cljs.pprint/iterate-list-of-sublists","vec__33889","vec__33892","cljs.pprint/iterate-main-list","vec__33951","cljs.pprint/iterate-main-sublists","vec__33977","vec__33989","sublist","cljs.pprint/logical-block-or-justify","cljs.pprint/format-logical-block","cljs.pprint/justify-clauses","cljs.pprint/render-clauses","base-navigator","vec__34013","result-str","*out*-orig-val__34016","*out*-temp-val__34017","vec__34027","vec__34030","vec__34033","vec__34036","eol-str","else","else-params","p","min-remaining","strs","slots","cljs.core/+","mincol","minpad","minout","result-columns","total-pad","pad","extra-pad","pad-str","pad-only","cljs.pprint/downcase-writer","cljs.pprint/t_cljs$pprint34133","pred__34143","expr__34144","cljs.pprint/upcase-writer","cljs.pprint/t_cljs$pprint34162","pred__34178","expr__34179","clojure.string/upper-case","cljs.pprint/capitalize-string","first?","goog.string/isUnicodeChar","js/RegExp","cljs.pprint/capitalize-word-writer","last-was-whitespace?","cljs.pprint/t_cljs$pprint34225","pred__34244","expr__34245","goog.string/isEmptyOrWhitespace","mod-c","cljs.pprint/init-cap-writer","capped","cljs.pprint/t_cljs$pprint34290","pred__34314","expr__34315","cljs.pprint/modify-case","make-writer","*out*-orig-val__34342","*out*-temp-val__34343","cljs.pprint/get-pretty-writer","cljs.pprint/fresh-line","cljs.pprint/absolute-tabulation","current","space-count","cljs.pprint/relative-tabulation","colrel","vec__34393","clause-count","body","*current-level*-orig-val__34407","*current-length*-orig-val__34408","*current-level*-temp-val__34409","*current-length*-temp-val__34410","cljs.pprint/set-indent","cljs.pprint/conditional-newline","cljs.pprint/directive-table","cljs.core/PersistentHashMap","cljs.core/PersistentArrayMap","p1__34429#","p2__34430#","p3__34431#","p1__34432#","p2__34433#","p3__34434#","p1__34435#","p2__34436#","p3__34437#","p1__34438#","p2__34439#","p3__34440#","p1__34441#","p2__34442#","p3__34443#","p1__34444#","p2__34445#","p3__34446#","p1__34447#","p2__34448#","p3__34449#","p1__34450#","p2__34451#","p3__34452#","p1__34453#","p2__34454#","p3__34455#","p1__34456#","p2__34457#","p3__34458#","p1__34459#","p2__34460#","p3__34461#","vec__34478","n__5636__auto__","p1__34462#","p2__34463#","p3__34464#","p1__34465#","p2__34466#","p3__34467#","vec__34534","subformat","vec__34549","vec__34552","subargs","sub-navigator","p1__34468#","p2__34469#","p3__34470#","mod-case-writer","arg1","arg2","arg3","exit","bindings","vec__34648","vec__34653","cljs.pprint/param-pattern","cljs.pprint/special-params","p__34692","vec__34697","cljs.pprint/extract-param","saw-comma","token-str","new-offset","cljs.pprint/extract-params","p__34729","vec__34730","cljs.pprint/translate-param","cljs.pprint/flag-defs","cljs.pprint/extract-flags","p__34757","vec__34758","flags","flag","cljs.pprint/check-flags","allowed","s__34811","s__35706","s__35828","cljs.pprint/map-params","cljs.core.doall","p1__34774#","p2__34775#","cljs.core/name","b__34813","i__34812","vec__34819","vec__34822","iter__34810","vec__34829","vec__34832","name","default","p1__34777#","p2__34778#","p1__34779#","cljs.core/zipmap","cljs.core/keys","cljs.pprint/compile-directive","vec__34845","vec__34848","vec__34851","vec__34854","raw-params","directive","fexpr__34865","trim?","trim-count","cljs.pprint/compile-raw-string","cljs.pprint/right-bracket","cljs.pprint/separator?","cljs.pprint/else-separator?","cljs.pprint/process-bracket","vec__34918","subex","cljs.pprint/collect-clauses","cljs.pprint/process-clause","bracket-info","p__34936","vec__34938","clause-map","saw-else","vec__34947","vec__34950","right-params","cljs.core.merge_with","cljs.core/concat","cljs.pprint/process-nesting","bracket","format-str","*format-str*-orig-val__34966","*format-str*-temp-val__34967","p__34968","vec__34969","tilde","cljs.pprint/needs-pretty","cljs.core/some","G__35023","cljs.pprint/execute-format","stream","real-stream","wrapped-stream","*out*-orig-val__35030","*out*-temp-val__35031","vec__35038","vec__35041","cljs.pprint/cached-compile","cljs.core/memoize","cljs.pprint/use-method","multifn","dispatch-val","cljs.core/-add-method","cljs.pprint/reader-macros","cljs.pprint/pprint-reader-macro","alis","macro-char","G__35059","cljs.pprint/pprint-simple-list","*current-level*-orig-val__35068","*current-length*-orig-val__35069","*current-level*-temp-val__35070","*current-length*-temp-val__35071","length-count35075","cljs.pprint/pprint-list","cljs.pprint/pprint-vector","avec","*current-level*-orig-val__35083","*current-length*-orig-val__35084","*current-level*-temp-val__35085","*current-length*-temp-val__35086","length-count35092","cljs.pprint/pprint-array","format-in__31323__auto__","cf__31324__auto__","args__31325__auto__","navigator__31326__auto__","cljs.pprint/pprint-map","amap","vec__35103","ns","lift-map","fexpr__35111","cljs.core/lift-ns","*current-level*-orig-val__35116","*current-length*-orig-val__35117","*current-level*-temp-val__35118","*current-length*-temp-val__35119","length-count35120","*current-level*-orig-val__35122","*current-length*-orig-val__35123","*current-level*-temp-val__35124","*current-length*-temp-val__35125","cljs.core/ffirst","cljs.core/fnext","cljs.pprint/pprint-simple-default","obj","cljs.core.pr_str","cljs.pprint/pprint-set","cljs.pprint/type-map","cljs.pprint/map-ref-type","match","cljs.core/re-find","cljs.pprint/pprint-ideref","o","goog/getUid","*current-level*-orig-val__35209","*current-length*-orig-val__35210","*current-level*-temp-val__35211","*current-length*-temp-val__35212","cljs.core/IPending","cljs.core/-realized?","cljs.pprint/pprint-pqueue","cljs.pprint/type-dispatcher","cljs.core/PersistentQueue","cljs.core/Symbol","cljs.core/seq?","cljs.core/map?","cljs.core/set?","js/cljs.pprint.simple-dispatch","fexpr__35272","cljs.pprint/simple-dispatch","cljs.pprint/brackets","form","cljs.pprint/pprint-ns-reference","reference","cljs.core/sequential?","vec__35287","vec__35290","seq__35291","first__35292","start","end","keyw","*current-level*-orig-val__35295","*current-length*-orig-val__35296","*current-level*-temp-val__35297","*current-length*-temp-val__35298","vec__35306","*current-level*-orig-val__35310","*current-length*-orig-val__35311","*current-level*-temp-val__35312","*current-length*-temp-val__35313","vec__35319","kw","cljs.pprint/pprint-ns","vec__35363","seq__35364","first__35365","vec__35371","vec__35374","ns-sym","ns-name","stuff","doc-str","attr-map","references","*current-level*-orig-val__35393","*current-length*-orig-val__35394","*current-level*-temp-val__35395","*current-length*-temp-val__35396","cljs.pprint/pprint-hold-first","cljs.pprint/single-defn","has-doc-str?","cljs.pprint/multi-defn","cljs.pprint/pprint-defn","vec__35517","seq__35518","first__35519","vec__35520","vec__35523","defn-sym","defn-name","*current-level*-orig-val__35532","*current-length*-orig-val__35533","*current-level*-temp-val__35534","*current-length*-temp-val__35535","cljs.pprint/pprint-simple-code-list","cljs.pprint/pprint-binding-form","binding-vec","*current-level*-orig-val__35562","*current-length*-orig-val__35563","*current-level*-temp-val__35564","*current-length*-temp-val__35565","length-count35568","*current-level*-orig-val__35570","*current-length*-orig-val__35571","*current-level*-temp-val__35572","*current-length*-temp-val__35573","binding","cljs.pprint/pprint-let","base-sym","*current-level*-orig-val__35582","*current-length*-orig-val__35583","*current-level*-temp-val__35584","*current-length*-temp-val__35586","cljs.pprint/pprint-if","cljs.pprint/pprint-cond","*current-level*-orig-val__35610","*current-length*-orig-val__35611","*current-level*-temp-val__35612","*current-length*-temp-val__35613","length-count35619","*current-level*-orig-val__35621","*current-length*-orig-val__35622","*current-level*-temp-val__35623","*current-length*-temp-val__35624","cljs.pprint/pprint-condp","*current-level*-orig-val__35643","*current-length*-orig-val__35644","*current-level*-temp-val__35645","*current-length*-temp-val__35646","length-count35654","*current-level*-orig-val__35656","*current-length*-orig-val__35657","*current-level*-temp-val__35658","*current-length*-temp-val__35659","cljs.pprint/*symbol-map*","cljs.pprint/pprint-anon-func","nlis","*symbol-map*-orig-val__35676","*symbol-map*-temp-val__35677","p1__35669#","p2__35670#","cljs.core.range","*current-level*-orig-val__35690","*current-length*-orig-val__35691","*current-level*-temp-val__35692","*current-length*-temp-val__35693","length-count35698","cljs.pprint/two-forms","cljs.core/identity","b__35708","i__35707","iter__35705","cljs.pprint/add-core-ns","core","p1__35722#","vec__35725","cljs.core/namespace","cljs.core/special-symbol?","cljs.pprint/*code-table*","cljs.pprint/pprint-code-list","special-form","cljs.pprint/pprint-code-symbol","arg-num","js/cljs.pprint.code-dispatch","fexpr__35763","cljs.pprint/code-dispatch","cljs.pprint/add-padding","padding","clojure.string.join","G__35789","cljs.pprint/print-table","ks","rows","widths","cljs.core/max","p1__35774#","spacers","p1__35775#","fmt-row","leader","divider","trailer","row","b__35830","i__35829","vec__35836","iter__35827","vec__35840","cljs.core/vector","p1__35777#","cljs.core/println","cljs.core.println","seq__35846","chunk__35847","count__35848","i__35849","cljs.pprint.print_table"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns cljs.pprint\n (:refer-clojure :exclude [deftype print println pr prn float?])\n (:require-macros\n [cljs.pprint :as m :refer [with-pretty-writer getf setf deftype\n pprint-logical-block print-length-loop\n defdirectives formatter-out]])\n (:require\n [cljs.core :refer [IWriter IDeref]]\n [clojure.string :as string]\n [goog.string :as gstring])\n (:import [goog.string StringBuffer]))\n\n;;======================================================================\n;; override print fns to use *out*\n;;======================================================================\n\n(defn- print [& more]\n (-write *out* (apply print-str more)))\n\n(defn- println [& more]\n (apply print more)\n (-write *out* \\newline))\n\n(defn- print-char [c]\n (-write *out* (condp = c\n \\backspace \"\\\\backspace\"\n \\space \"\\\\space\"\n \\tab \"\\\\tab\"\n \\newline \"\\\\newline\"\n \\formfeed \"\\\\formfeed\"\n \\return \"\\\\return\"\n \\\" \"\\\\\\\"\"\n \\\\ \"\\\\\\\\\"\n (str \"\\\\\" c))))\n\n(defn- ^:dynamic pr [& more]\n (-write *out* (apply pr-str more)))\n\n(defn- prn [& more]\n (apply pr more)\n (-write *out* \\newline))\n\n;;======================================================================\n;; cljs specific utils\n;;======================================================================\n\n(defn float?\n \"Returns true if n is an float.\"\n [n]\n (and (number? n)\n (not ^boolean (js/isNaN n))\n (not (identical? n js/Infinity))\n (not (== (js/parseFloat n) (js/parseInt n 10)))))\n\n(defn char-code\n \"Convert char to int\"\n [c]\n (cond\n (number? c) c\n (and (string? c) (== (.-length c) 1)) (.charCodeAt c 0)\n :else (throw (js/Error. \"Argument to char must be a character or number\"))))\n\n;;======================================================================\n;; Utilities\n;;======================================================================\n\n(defn- map-passing-context [func initial-context lis]\n (loop [context initial-context\n lis lis\n acc []]\n (if (empty? lis)\n [acc context]\n (let [this (first lis)\n remainder (next lis)\n [result new-context] (apply func [this context])]\n (recur new-context remainder (conj acc result))))))\n\n(defn- consume [func initial-context]\n (loop [context initial-context\n acc []]\n (let [[result new-context] (apply func [context])]\n (if (not result)\n [acc new-context]\n (recur new-context (conj acc result))))))\n\n(defn- consume-while [func initial-context]\n (loop [context initial-context\n acc []]\n (let [[result continue new-context] (apply func [context])]\n (if (not continue)\n [acc context]\n (recur new-context (conj acc result))))))\n\n(defn- unzip-map [m]\n \"Take a map that has pairs in the value slots and produce a pair of maps,\n the first having all the first elements of the pairs and the second all\n the second elements of the pairs\"\n [(into {} (for [[k [v1 v2]] m] [k v1]))\n (into {} (for [[k [v1 v2]] m] [k v2]))])\n\n(defn- tuple-map [m v1]\n \"For all the values, v, in the map, replace them with [v v1]\"\n (into {} (for [[k v] m] [k [v v1]])))\n\n(defn- rtrim [s c]\n \"Trim all instances of c from the end of sequence s\"\n (let [len (count s)]\n (if (and (pos? len) (= (nth s (dec (count s))) c))\n (loop [n (dec len)]\n (cond\n (neg? n) \"\"\n (not (= (nth s n) c)) (subs s 0 (inc n))\n true (recur (dec n))))\n s)))\n\n(defn- ltrim [s c]\n \"Trim all instances of c from the beginning of sequence s\"\n (let [len (count s)]\n (if (and (pos? len) (= (nth s 0) c))\n (loop [n 0]\n (if (or (= n len) (not (= (nth s n) c)))\n (subs s n)\n (recur (inc n))))\n s)))\n\n(defn- prefix-count [aseq val]\n \"Return the number of times that val occurs at the start of sequence aseq,\nif val is a seq itself, count the number of times any element of val occurs at the\nbeginning of aseq\"\n (let [test (if (coll? val) (set val) #{val})]\n (loop [pos 0]\n (if (or (= pos (count aseq)) (not (test (nth aseq pos))))\n pos\n (recur (inc pos))))))\n\n;; Flush the pretty-print buffer without flushing the underlying stream\n(defprotocol IPrettyFlush\n (-ppflush [pp]))\n\n;;======================================================================\n;; column_writer.clj\n;;======================================================================\n\n(def ^:dynamic ^{:private true} *default-page-width* 72)\n\n(defn- get-field [this sym]\n (sym @@this))\n\n(defn- set-field [this sym new-val]\n (swap! @this assoc sym new-val))\n\n(defn- get-column [this]\n (get-field this :cur))\n\n(defn- get-line [this]\n (get-field this :line))\n\n(defn- get-max-column [this]\n (get-field this :max))\n\n(defn- set-max-column [this new-max]\n (set-field this :max new-max)\n nil)\n\n(defn- get-writer [this]\n (get-field this :base))\n\n;; Why is the c argument an integer?\n(defn- c-write-char [this c]\n (if (= c \\newline)\n (do\n (set-field this :cur 0)\n (set-field this :line (inc (get-field this :line))))\n (set-field this :cur (inc (get-field this :cur))))\n (-write (get-field this :base) c))\n\n(defn- column-writer\n ([writer] (column-writer writer *default-page-width*))\n ([writer max-columns]\n (let [fields (atom {:max max-columns, :cur 0, :line 0 :base writer})]\n (reify\n\n IDeref\n (-deref [_] fields)\n\n IWriter\n (-flush [_]\n (-flush writer))\n (-write\n ;;-write isn't multi-arity, so need different way to do this\n #_([this ^chars cbuf ^Number off ^Number len]\n (let [writer (get-field this :base)]\n (-write writer cbuf off len)))\n [this x]\n (condp = (type x)\n js/String\n (let [s x\n nl (.lastIndexOf s \\newline)]\n (if (neg? nl)\n (set-field this :cur (+ (get-field this :cur) (count s)))\n (do\n (set-field this :cur (- (count s) nl 1))\n (set-field this :line (+ (get-field this :line)\n (count (filter #(= % \\newline) s))))))\n (-write (get-field this :base) s))\n js/Number\n (c-write-char this x)))))))\n\n;;======================================================================\n;; pretty_writer.clj\n;;======================================================================\n\n;;======================================================================\n;; Forward declarations\n;;======================================================================\n\n(declare ^{:arglists '([this])} get-miser-width)\n\n;;======================================================================\n;; The data structures used by pretty-writer\n;;======================================================================\n\n(defrecord ^{:private true} logical-block\n [parent section start-col indent\n done-nl intra-block-nl\n prefix per-line-prefix suffix\n logical-block-callback])\n\n(defn- ancestor? [parent child]\n (loop [child (:parent child)]\n (cond\n (nil? child) false\n (identical? parent child) true\n :else (recur (:parent child)))))\n\n(defn- buffer-length [l]\n (let [l (seq l)]\n (if l\n (- (:end-pos (last l)) (:start-pos (first l)))\n 0)))\n\n;; A blob of characters (aka a string)\n(deftype buffer-blob :data :trailing-white-space :start-pos :end-pos)\n\n;; A newline\n(deftype nl-t :type :logical-block :start-pos :end-pos)\n\n(deftype start-block-t :logical-block :start-pos :end-pos)\n\n(deftype end-block-t :logical-block :start-pos :end-pos)\n\n(deftype indent-t :logical-block :relative-to :offset :start-pos :end-pos)\n\n(def ^:private pp-newline (fn [] \"\\n\"))\n\n(declare emit-nl)\n\n(defmulti ^{:private true} write-token #(:type-tag %2))\n\n(defmethod write-token :start-block-t [this token]\n (when-let [cb (getf :logical-block-callback)] (cb :start))\n (let [lb (:logical-block token)]\n (when-let [prefix (:prefix lb)]\n (-write (getf :base) prefix))\n (let [col (get-column (getf :base))]\n (reset! (:start-col lb) col)\n (reset! (:indent lb) col))))\n\n(defmethod write-token :end-block-t [this token]\n (when-let [cb (getf :logical-block-callback)] (cb :end))\n (when-let [suffix (:suffix (:logical-block token))]\n (-write (getf :base) suffix)))\n\n(defmethod write-token :indent-t [this token]\n (let [lb (:logical-block token)]\n (reset! (:indent lb)\n (+ (:offset token)\n (condp = (:relative-to token)\n :block @(:start-col lb)\n :current (get-column (getf :base)))))))\n\n(defmethod write-token :buffer-blob [this token]\n (-write (getf :base) (:data token)))\n\n(defmethod write-token :nl-t [this token]\n (if (or (= (:type token) :mandatory)\n (and (not (= (:type token) :fill))\n @(:done-nl (:logical-block token))))\n (emit-nl this token)\n (if-let [tws (getf :trailing-white-space)]\n (-write (getf :base) tws)))\n (setf :trailing-white-space nil))\n\n(defn- write-tokens [this tokens force-trailing-whitespace]\n (doseq [token tokens]\n (if-not (= (:type-tag token) :nl-t)\n (if-let [tws (getf :trailing-white-space)]\n (-write (getf :base) tws)))\n (write-token this token)\n (setf :trailing-white-space (:trailing-white-space token))\n (let [tws (getf :trailing-white-space)]\n (when (and force-trailing-whitespace tws)\n (-write (getf :base) tws)\n (setf :trailing-white-space nil)))))\n\n;;======================================================================\n;; emit-nl? method defs for each type of new line. This makes\n;; the decision about whether to print this type of new line.\n;;======================================================================\n\n(defn- tokens-fit? [this tokens]\n (let [maxcol (get-max-column (getf :base))]\n (or\n (nil? maxcol)\n (< (+ (get-column (getf :base)) (buffer-length tokens)) maxcol))))\n\n(defn- linear-nl? [this lb section]\n (or @(:done-nl lb)\n (not (tokens-fit? this section))))\n\n(defn- miser-nl? [this lb section]\n (let [miser-width (get-miser-width this)\n maxcol (get-max-column (getf :base))]\n (and miser-width maxcol\n (>= @(:start-col lb) (- maxcol miser-width))\n (linear-nl? this lb section))))\n\n(defmulti ^{:private true} emit-nl? (fn [t _ _ _] (:type t)))\n\n(defmethod emit-nl? :linear [newl this section _]\n (let [lb (:logical-block newl)]\n (linear-nl? this lb section)))\n\n(defmethod emit-nl? :miser [newl this section _]\n (let [lb (:logical-block newl)]\n (miser-nl? this lb section)))\n\n(defmethod emit-nl? :fill [newl this section subsection]\n (let [lb (:logical-block newl)]\n (or @(:intra-block-nl lb)\n (not (tokens-fit? this subsection))\n (miser-nl? this lb section))))\n\n(defmethod emit-nl? :mandatory [_ _ _ _]\n true)\n\n;;======================================================================\n;; Various support functions\n;;======================================================================\n\n(defn- get-section [buffer]\n (let [nl (first buffer)\n lb (:logical-block nl)\n section (seq (take-while #(not (and (nl-t? %) (ancestor? (:logical-block %) lb)))\n (next buffer)))]\n [section (seq (drop (inc (count section)) buffer))]))\n\n(defn- get-sub-section [buffer]\n (let [nl (first buffer)\n lb (:logical-block nl)\n section (seq (take-while #(let [nl-lb (:logical-block %)]\n (not (and (nl-t? %) (or (= nl-lb lb) (ancestor? nl-lb lb)))))\n (next buffer)))]\n section))\n\n(defn- update-nl-state [lb]\n (reset! (:intra-block-nl lb) true)\n (reset! (:done-nl lb) true)\n (loop [lb (:parent lb)]\n (if lb\n (do (reset! (:done-nl lb) true)\n (reset! (:intra-block-nl lb) true)\n (recur (:parent lb))))))\n\n(defn- emit-nl [this nl]\n (-write (getf :base) (pp-newline))\n (setf :trailing-white-space nil)\n (let [lb (:logical-block nl)\n prefix (:per-line-prefix lb)]\n (if prefix\n (-write (getf :base) prefix))\n (let [istr (apply str (repeat (- @(:indent lb) (count prefix)) \\space))]\n (-write (getf :base) istr))\n (update-nl-state lb)))\n\n(defn- split-at-newline [tokens]\n (let [pre (seq (take-while #(not (nl-t? %)) tokens))]\n [pre (seq (drop (count pre) tokens))]))\n\n;; write-token-string is called when the set of tokens in the buffer\n;; is long than the available space on the line\n(defn- write-token-string [this tokens]\n (let [[a b] (split-at-newline tokens)]\n (if a (write-tokens this a false))\n (if b\n (let [[section remainder] (get-section b)\n newl (first b)]\n (let [do-nl (emit-nl? newl this section (get-sub-section b))\n result (if do-nl\n (do\n (emit-nl this newl)\n (next b))\n b)\n long-section (not (tokens-fit? this result))\n result (if long-section\n (let [rem2 (write-token-string this section)]\n (if (= rem2 section)\n (do ; If that didn't produce any output, it has no nls\n ; so we'll force it\n (write-tokens this section false)\n remainder)\n (into [] (concat rem2 remainder))))\n result)]\n result)))))\n\n(defn- write-line [this]\n (loop [buffer (getf :buffer)]\n (setf :buffer (into [] buffer))\n (if (not (tokens-fit? this buffer))\n (let [new-buffer (write-token-string this buffer)]\n (if-not (identical? buffer new-buffer)\n (recur new-buffer))))))\n\n;; Add a buffer token to the buffer and see if it's time to start\n;; writing\n(defn- add-to-buffer [this token]\n (setf :buffer (conj (getf :buffer) token))\n (if (not (tokens-fit? this (getf :buffer)))\n (write-line this)))\n\n;; Write all the tokens that have been buffered\n(defn- write-buffered-output [this]\n (write-line this)\n (if-let [buf (getf :buffer)]\n (do\n (write-tokens this buf true)\n (setf :buffer []))))\n\n(defn- write-white-space [this]\n (when-let [tws (getf :trailing-white-space)]\n (-write (getf :base) tws)\n (setf :trailing-white-space nil)))\n\n;;; If there are newlines in the string, print the lines up until the last newline,\n;;; making the appropriate adjustments. Return the remainder of the string\n(defn- write-initial-lines\n [^Writer this ^String s]\n (let [lines (string/split s \"\\n\" -1)]\n (if (= (count lines) 1)\n s\n (let [^String prefix (:per-line-prefix (first (getf :logical-blocks)))\n ^String l (first lines)]\n (if (= :buffering (getf :mode))\n (let [oldpos (getf :pos)\n newpos (+ oldpos (count l))]\n (setf :pos newpos)\n (add-to-buffer this (make-buffer-blob l nil oldpos newpos))\n (write-buffered-output this))\n (do\n (write-white-space this)\n (-write (getf :base) l)))\n (-write (getf :base) \\newline)\n (doseq [^String l (next (butlast lines))]\n (-write (getf :base) l)\n (-write (getf :base) (pp-newline))\n (if prefix\n (-write (getf :base) prefix)))\n (setf :buffering :writing)\n (last lines)))))\n\n(defn- p-write-char [this c]\n (if (= (getf :mode) :writing)\n (do\n (write-white-space this)\n (-write (getf :base) c))\n (if (= c \\newline)\n (write-initial-lines this \\newline)\n (let [oldpos (getf :pos)\n newpos (inc oldpos)]\n (setf :pos newpos)\n (add-to-buffer this (make-buffer-blob (char c) nil oldpos newpos))))))\n\n;;======================================================================\n;; Initialize the pretty-writer instance\n;;======================================================================\n\n(defn- pretty-writer [writer max-columns miser-width]\n (let [lb (logical-block. nil nil (atom 0) (atom 0) (atom false) (atom false)\n nil nil nil nil)\n ; NOTE: may want to just `specify!` #js { ... fields ... } with the protocols\n fields (atom {:pretty-writer true\n :base (column-writer writer max-columns)\n :logical-blocks lb\n :sections nil\n :mode :writing\n :buffer []\n :buffer-block lb\n :buffer-level 1\n :miser-width miser-width\n :trailing-white-space nil\n :pos 0})]\n (reify\n\n IDeref\n (-deref [_] fields)\n\n IWriter\n (-write [this x]\n (condp = (type x)\n js/String\n (let [s0 (write-initial-lines this x)\n s (string/replace-first s0 #\"\\s+$\" \"\")\n white-space (subs s0 (count s))\n mode (getf :mode)]\n (if (= mode :writing)\n (do\n (write-white-space this)\n (-write (getf :base) s)\n (setf :trailing-white-space white-space))\n (let [oldpos (getf :pos)\n newpos (+ oldpos (count s0))]\n (setf :pos newpos)\n (add-to-buffer this (make-buffer-blob s white-space oldpos newpos)))))\n js/Number\n (p-write-char this x)))\n (-flush [this]\n (-ppflush this)\n (-flush (getf :base)))\n\n IPrettyFlush\n (-ppflush [this]\n (if (= (getf :mode) :buffering)\n (do\n (write-tokens this (getf :buffer) true)\n (setf :buffer []))\n (write-white-space this)))\n\n )))\n\n;;======================================================================\n;; Methods for pretty-writer\n;;======================================================================\n\n(defn- start-block\n [this prefix per-line-prefix suffix]\n (let [lb (logical-block. (getf :logical-blocks) nil (atom 0) (atom 0)\n (atom false) (atom false)\n prefix per-line-prefix suffix nil)]\n (setf :logical-blocks lb)\n (if (= (getf :mode) :writing)\n (do\n (write-white-space this)\n (when-let [cb (getf :logical-block-callback)] (cb :start))\n (if prefix\n (-write (getf :base) prefix))\n (let [col (get-column (getf :base))]\n (reset! (:start-col lb) col)\n (reset! (:indent lb) col)))\n (let [oldpos (getf :pos)\n newpos (+ oldpos (if prefix (count prefix) 0))]\n (setf :pos newpos)\n (add-to-buffer this (make-start-block-t lb oldpos newpos))))))\n\n(defn- end-block [this]\n (let [lb (getf :logical-blocks)\n suffix (:suffix lb)]\n (if (= (getf :mode) :writing)\n (do\n (write-white-space this)\n (if suffix\n (-write (getf :base) suffix))\n (when-let [cb (getf :logical-block-callback)] (cb :end)))\n (let [oldpos (getf :pos)\n newpos (+ oldpos (if suffix (count suffix) 0))]\n (setf :pos newpos)\n (add-to-buffer this (make-end-block-t lb oldpos newpos))))\n (setf :logical-blocks (:parent lb))))\n\n(defn- nl [this type]\n (setf :mode :buffering)\n (let [pos (getf :pos)]\n (add-to-buffer this (make-nl-t type (getf :logical-blocks) pos pos))))\n\n(defn- indent [this relative-to offset]\n (let [lb (getf :logical-blocks)]\n (if (= (getf :mode) :writing)\n (do\n (write-white-space this)\n (reset! (:indent lb)\n (+ offset (condp = relative-to\n :block @(:start-col lb)\n :current (get-column (getf :base))))))\n (let [pos (getf :pos)]\n (add-to-buffer this (make-indent-t lb relative-to offset pos pos))))))\n\n(defn- get-miser-width [this]\n (getf :miser-width))\n\n;;======================================================================\n;; pprint_base.clj\n;;======================================================================\n\n;;======================================================================\n;; Variables that control the pretty printer\n;;======================================================================\n\n;; *print-length*, *print-level*, *print-namespace-maps* and *print-dup* are defined in cljs.core\n(def ^:dynamic\n ^{:doc \"Bind to true if you want write to use pretty printing\"}\n *print-pretty* true)\n\n(defonce ^:dynamic\n ^{:doc \"The pretty print dispatch function. Use with-pprint-dispatch or\nset-pprint-dispatch to modify.\"\n :added \"1.2\"}\n *print-pprint-dispatch* nil)\n\n(def ^:dynamic\n ^{:doc \"Pretty printing will try to avoid anything going beyond this column.\nSet it to nil to have pprint let the line be arbitrarily long. This will ignore all\nnon-mandatory newlines.\",\n :added \"1.2\"}\n *print-right-margin* 72)\n\n(def ^:dynamic\n ^{:doc \"The column at which to enter miser style. Depending on the dispatch table,\nmiser style add newlines in more places to try to keep lines short allowing for further\nlevels of nesting.\",\n :added \"1.2\"}\n *print-miser-width* 40)\n\n;;; TODO implement output limiting\n(def ^:dynamic\n^{:private true,\n :doc \"Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)\"}\n*print-lines* nil)\n\n;;; TODO: implement circle and shared\n(def ^:dynamic\n^{:private true,\n :doc \"Mark circular structures (N.B. This is not yet used)\"}\n*print-circle* nil)\n\n;;; TODO: should we just use *print-dup* here?\n(def ^:dynamic\n^{:private true,\n :doc \"Mark repeated structures rather than repeat them (N.B. This is not yet used)\"}\n*print-shared* nil)\n\n(def ^:dynamic\n^{:doc \"Don't print namespaces with symbols. This is particularly useful when\npretty printing the results of macro expansions\"\n :added \"1.2\"}\n*print-suppress-namespaces* nil)\n\n;;; TODO: support print-base and print-radix in cl-format\n;;; TODO: support print-base and print-radix in rationals\n(def ^:dynamic\n^{:doc \"Print a radix specifier in front of integers and rationals. If *print-base* is 2, 8,\nor 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise the\nradix specifier is in the form #XXr where XX is the decimal value of *print-base* \"\n :added \"1.2\"}\n*print-radix* nil)\n\n(def ^:dynamic\n^{:doc \"The base to use for printing integers and rationals.\"\n :added \"1.2\"}\n*print-base* 10)\n\n;;======================================================================\n;; Internal variables that keep track of where we are in the\n;; structure\n;;======================================================================\n\n(def ^:dynamic ^{:private true} *current-level* 0)\n\n(def ^:dynamic ^{:private true} *current-length* nil)\n\n;;======================================================================\n;; Support for the write function\n;;======================================================================\n\n(declare ^{:arglists '([n])} format-simple-number)\n\n;; This map causes var metadata to be included in the compiled output, even\n;; in advanced compilation. See CLJS-1853 - Ant\u00f3nio Monteiro\n;; (def ^{:private true} write-option-table\n;; {;:array *print-array*\n;; :base #'cljs.pprint/*print-base*,\n;; ;;:case *print-case*,\n;; :circle #'cljs.pprint/*print-circle*,\n;; ;;:escape *print-escape*,\n;; ;;:gensym *print-gensym*,\n;; :length #'cljs.core/*print-length*,\n;; :level #'cljs.core/*print-level*,\n;; :lines #'cljs.pprint/*print-lines*,\n;; :miser-width #'cljs.pprint/*print-miser-width*,\n;; :dispatch #'cljs.pprint/*print-pprint-dispatch*,\n;; :pretty #'cljs.pprint/*print-pretty*,\n;; :radix #'cljs.pprint/*print-radix*,\n;; :readably #'cljs.core/*print-readably*,\n;; :right-margin #'cljs.pprint/*print-right-margin*,\n;; :suppress-namespaces #'cljs.pprint/*print-suppress-namespaces*})\n\n(defn- table-ize [t m]\n (apply hash-map (mapcat\n #(when-let [v (get t (key %))] [v (val %)])\n m)))\n\n(defn- pretty-writer?\n \"Return true iff x is a PrettyWriter\"\n [x] (and (satisfies? IDeref x) (:pretty-writer @@x)))\n\n(defn- make-pretty-writer\n \"Wrap base-writer in a PrettyWriter with the specified right-margin and miser-width\"\n [base-writer right-margin miser-width]\n (pretty-writer base-writer right-margin miser-width))\n\n(defn write-out\n \"Write an object to *out* subject to the current bindings of the printer control\nvariables. Use the kw-args argument to override individual variables for this call (and\nany recursive calls).\n\n*out* must be a PrettyWriter if pretty printing is enabled. This is the responsibility\nof the caller.\n\nThis method is primarily intended for use by pretty print dispatch functions that\nalready know that the pretty printer will have set up their environment appropriately.\nNormal library clients should use the standard \\\"write\\\" interface. \"\n [object]\n (let [length-reached (and *current-length*\n *print-length*\n (>= *current-length* *print-length*))]\n (if-not *print-pretty*\n (pr object)\n (if length-reached\n (-write *out* \"...\") ;;TODO could this (incorrectly) print ... on the next line?\n (do\n (if *current-length* (set! *current-length* (inc *current-length*)))\n (*print-pprint-dispatch* object))))\n length-reached))\n\n(defn write\n \"Write an object subject to the current bindings of the printer control variables.\nUse the kw-args argument to override individual variables for this call (and any\nrecursive calls). Returns the string result if :stream is nil or nil otherwise.\n\nThe following keyword arguments can be passed with values:\n Keyword Meaning Default value\n :stream Writer for output or nil true (indicates *out*)\n :base Base to use for writing rationals Current value of *print-base*\n :circle* If true, mark circular structures Current value of *print-circle*\n :length Maximum elements to show in sublists Current value of *print-length*\n :level Maximum depth Current value of *print-level*\n :lines* Maximum lines of output Current value of *print-lines*\n :miser-width Width to enter miser mode Current value of *print-miser-width*\n :dispatch The pretty print dispatch function Current value of *print-pprint-dispatch*\n :pretty If true, do pretty printing Current value of *print-pretty*\n :radix If true, prepend a radix specifier Current value of *print-radix*\n :readably* If true, print readably Current value of *print-readably*\n :right-margin The column for the right margin Current value of *print-right-margin*\n :suppress-namespaces If true, no namespaces in symbols Current value of *print-suppress-namespaces*\n\n * = not yet supported\n\"\n [object & kw-args]\n (let [options (merge {:stream true} (apply hash-map kw-args))]\n ;;TODO rewrite this as a macro\n (binding [cljs.pprint/*print-base* (:base options cljs.pprint/*print-base*)\n ;;:case *print-case*,\n cljs.pprint/*print-circle* (:circle options cljs.pprint/*print-circle*)\n ;;:escape *print-escape*\n ;;:gensym *print-gensym*\n cljs.core/*print-length* (:length options cljs.core/*print-length*)\n cljs.core/*print-level* (:level options cljs.core/*print-level*)\n cljs.pprint/*print-lines* (:lines options cljs.pprint/*print-lines*)\n cljs.pprint/*print-miser-width* (:miser-width options cljs.pprint/*print-miser-width*)\n cljs.pprint/*print-pprint-dispatch* (:dispatch options cljs.pprint/*print-pprint-dispatch*)\n cljs.pprint/*print-pretty* (:pretty options cljs.pprint/*print-pretty*)\n cljs.pprint/*print-radix* (:radix options cljs.pprint/*print-radix*)\n cljs.core/*print-readably* (:readably options cljs.core/*print-readably*)\n cljs.pprint/*print-right-margin* (:right-margin options cljs.pprint/*print-right-margin*)\n cljs.pprint/*print-suppress-namespaces* (:suppress-namespaces options cljs.pprint/*print-suppress-namespaces*)]\n ;;TODO enable printing base\n #_[bindings (if (or (not (= *print-base* 10)) *print-radix*)\n {#'pr pr-with-base}\n {})]\n (binding []\n (let [sb (StringBuffer.)\n optval (if (contains? options :stream)\n (:stream options)\n true)\n base-writer (if (or (true? optval) (nil? optval))\n (StringBufferWriter. sb)\n optval)]\n (if *print-pretty*\n (with-pretty-writer base-writer\n (write-out object))\n (binding [*out* base-writer]\n (pr object)))\n (if (true? optval)\n (string-print (str sb)))\n (if (nil? optval)\n (str sb)))))))\n\n(defn pprint\n ([object]\n (let [sb (StringBuffer.)]\n (binding [*out* (StringBufferWriter. sb)]\n (pprint object *out*)\n (string-print (str sb)))))\n ([object writer]\n (with-pretty-writer writer\n (binding [*print-pretty* true]\n (write-out object))\n (if (not (= 0 (get-column *out*)))\n (-write *out* \\newline)))))\n\n(defn set-pprint-dispatch\n [function]\n (set! *print-pprint-dispatch* function)\n nil)\n\n;;======================================================================\n;; Support for the functional interface to the pretty printer\n;;======================================================================\n\n(defn- check-enumerated-arg [arg choices]\n (if-not (choices arg)\n ;; TODO clean up choices string\n (throw (js/Error. (str \"Bad argument: \" arg \". It must be one of \" choices)))))\n\n(defn- level-exceeded []\n (and *print-level* (>= *current-level* *print-level*)))\n\n(defn pprint-newline\n \"Print a conditional newline to a pretty printing stream. kind specifies if the\n newline is :linear, :miser, :fill, or :mandatory.\n\n This function is intended for use when writing custom dispatch functions.\n\n Output is sent to *out* which must be a pretty printing writer.\"\n [kind]\n (check-enumerated-arg kind #{:linear :miser :fill :mandatory})\n (nl *out* kind))\n\n(defn pprint-indent\n \"Create an indent at this point in the pretty printing stream. This defines how\nfollowing lines are indented. relative-to can be either :block or :current depending\nwhether the indent should be computed relative to the start of the logical block or\nthe current column position. n is an offset.\n\nThis function is intended for use when writing custom dispatch functions.\n\nOutput is sent to *out* which must be a pretty printing writer.\"\n [relative-to n]\n (check-enumerated-arg relative-to #{:block :current})\n (indent *out* relative-to n))\n\n;; TODO a real implementation for pprint-tab\n(defn pprint-tab\n \"Tab at this point in the pretty printing stream. kind specifies whether the tab\nis :line, :section, :line-relative, or :section-relative.\n\nColnum and colinc specify the target column and the increment to move the target\nforward if the output is already past the original target.\n\nThis function is intended for use when writing custom dispatch functions.\n\nOutput is sent to *out* which must be a pretty printing writer.\n\nTHIS FUNCTION IS NOT YET IMPLEMENTED.\"\n {:added \"1.2\"}\n [kind colnum colinc]\n (check-enumerated-arg kind #{:line :section :line-relative :section-relative})\n (throw (js/Error. \"pprint-tab is not yet implemented\")))\n\n;;======================================================================\n;; cl_format.clj\n;;======================================================================\n\n;; Forward references\n(declare ^{:arglists '([format-str])} compile-format)\n(declare ^{:arglists '([stream format args] [format args])} execute-format)\n(declare ^{:arglists '([s])} init-navigator)\n;; End forward references\n\n(defn cl-format\n \"An implementation of a Common Lisp compatible format function. cl-format formats its\narguments to an output stream or string based on the format control string given. It\nsupports sophisticated formatting of structured data.\n\nWriter satisfies IWriter, true to output via *print-fn* or nil to output\nto a string, format-in is the format control string and the remaining arguments\nare the data to be formatted.\n\nThe format control string is a string to be output with embedded 'format directives'\ndescribing how to format the various arguments passed in.\n\nIf writer is nil, cl-format returns the formatted result string. Otherwise, cl-format\nreturns nil.\n\nFor example:\n (let [results [46 38 22]]\n (cl-format true \\\"There ~[are~;is~:;are~]~:* ~d result~:p: ~{~d~^, ~}~%\\\"\n (count results) results))\n\nPrints via *print-fn*:\n There are 3 results: 46, 38, 22\n\nDetailed documentation on format control strings is available in the \\\"Common Lisp the\nLanguage, 2nd edition\\\", Chapter 22 (available online at:\nhttp://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000)\nand in the Common Lisp HyperSpec at\nhttp://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm\"\n {:see-also [[\"http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000\"\n \"Common Lisp the Language\"]\n [\"http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm\"\n \"Common Lisp HyperSpec\"]]}\n [writer format-in & args]\n (let [compiled-format (if (string? format-in) (compile-format format-in) format-in)\n navigator (init-navigator args)]\n (execute-format writer compiled-format navigator)))\n\n(def ^:dynamic ^{:private true} *format-str* nil)\n\n(defn- format-error [message offset]\n (let [full-message (str message \\newline *format-str* \\newline\n (apply str (repeat offset \\space)) \"^\" \\newline)]\n (throw (js/Error full-message))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Argument navigators manage the argument list\n;; as the format statement moves through the list\n;; (possibly going forwards and backwards as it does so)\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defrecord ^{:private true}\n arg-navigator [seq rest pos])\n\n(defn- init-navigator\n \"Create a new arg-navigator from the sequence with the position set to 0\"\n {:skip-wiki true}\n [s]\n (let [s (seq s)]\n (arg-navigator. s s 0)))\n\n;; TODO call format-error with offset\n(defn- next-arg [navigator]\n (let [rst (:rest navigator)]\n (if rst\n [(first rst) (arg-navigator. (:seq navigator) (next rst) (inc (:pos navigator)))]\n (throw (js/Error \"Not enough arguments for format definition\")))))\n\n(defn- next-arg-or-nil [navigator]\n (let [rst (:rest navigator)]\n (if rst\n [(first rst) (arg-navigator. (:seq navigator) (next rst) (inc (:pos navigator)))]\n [nil navigator])))\n\n;; Get an argument off the arg list and compile it if it's not already compiled\n(defn- get-format-arg [navigator]\n (let [[raw-format navigator] (next-arg navigator)\n compiled-format (if (string? raw-format)\n (compile-format raw-format)\n raw-format)]\n [compiled-format navigator]))\n\n(declare relative-reposition)\n\n(defn- absolute-reposition [navigator position]\n (if (>= position (:pos navigator))\n (relative-reposition navigator (- (:pos navigator) position))\n (arg-navigator. (:seq navigator) (drop position (:seq navigator)) position)))\n\n(defn- relative-reposition [navigator position]\n (let [newpos (+ (:pos navigator) position)]\n (if (neg? position)\n (absolute-reposition navigator newpos)\n (arg-navigator. (:seq navigator) (drop position (:rest navigator)) newpos))))\n\n(defrecord ^{:private true}\n compiled-directive [func def params offset])\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; When looking at the parameter list, we may need to manipulate\n;; the argument list as well (for 'V' and '#' parameter types).\n;; We hide all of this behind a function, but clients need to\n;; manage changing arg navigator\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; TODO: validate parameters when they come from arg list\n(defn- realize-parameter [[param [raw-val offset]] navigator]\n (let [[real-param new-navigator]\n (cond\n (contains? #{:at :colon} param) ;pass flags through unchanged - this really isn't necessary\n [raw-val navigator]\n\n (= raw-val :parameter-from-args)\n (next-arg navigator)\n\n (= raw-val :remaining-arg-count)\n [(count (:rest navigator)) navigator]\n\n true\n [raw-val navigator])]\n [[param [real-param offset]] new-navigator]))\n\n(defn- realize-parameter-list [parameter-map navigator]\n (let [[pairs new-navigator]\n (map-passing-context realize-parameter navigator parameter-map)]\n [(into {} pairs) new-navigator]))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Functions that support individual directives\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Common handling code for ~A and ~S\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(declare ^{:arglists '([base val])} opt-base-str)\n\n(def ^{:private true}\n special-radix-markers {2 \"#b\" 8 \"#o\" 16 \"#x\"})\n\n(defn- format-simple-number [n]\n (cond\n (integer? n) (if (= *print-base* 10)\n (str n (if *print-radix* \".\"))\n (str\n (if *print-radix* (or (get special-radix-markers *print-base*) (str \"#\" *print-base* \"r\")))\n (opt-base-str *print-base* n)))\n ;;(ratio? n) ;;no ratio support\n :else nil))\n\n(defn- format-ascii [print-func params arg-navigator offsets]\n (let [[arg arg-navigator] (next-arg arg-navigator)\n base-output (or (format-simple-number arg) (print-func arg))\n base-width (.-length base-output)\n min-width (+ base-width (:minpad params))\n width (if (>= min-width (:mincol params))\n min-width\n (+ min-width\n (* (+ (quot (- (:mincol params) min-width 1)\n (:colinc params))\n 1)\n (:colinc params))))\n chars (apply str (repeat (- width base-width) (:padchar params)))]\n (if (:at params)\n (print (str chars base-output))\n (print (str base-output chars)))\n arg-navigator))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for the integer directives ~D, ~X, ~O, ~B and some\n;; of ~R\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn- integral?\n \"returns true if a number is actually an integer (that is, has no fractional part)\"\n [x]\n (cond\n (integer? x) true\n ;;(decimal? x) ;;no decimal support\n (float? x) (= x (Math/floor x))\n ;;(ratio? x) ;;no ratio support\n :else false))\n\n(defn- remainders\n \"Return the list of remainders (essentially the 'digits') of val in the given base\"\n [base val]\n (reverse\n (first\n (consume #(if (pos? %)\n [(rem % base) (quot % base)]\n [nil nil])\n val))))\n\n;; TODO: xlated-val does not seem to be used here.\n;; NB\n(defn- base-str\n \"Return val as a string in the given base\"\n [base val]\n (if (zero? val)\n \"0\"\n (let [xlated-val (cond\n ;(float? val) (bigdec val) ;;No bigdec\n ;(ratio? val) nil ;;No ratio\n :else val)]\n (apply str\n (map\n #(if (< % 10) (char (+ (char-code \\0) %)) (char (+ (char-code \\a) (- % 10))))\n (remainders base val))))))\n\n;;Not sure if this is accurate or necessary\n(def ^{:private true}\n javascript-base-formats {8 \"%o\", 10 \"%d\", 16 \"%x\"})\n\n(defn- opt-base-str\n \"Return val as a string in the given base. No cljs format, so no improved performance.\"\n [base val]\n (base-str base val))\n\n(defn- group-by* [unit lis]\n (reverse\n (first\n (consume (fn [x] [(seq (reverse (take unit x))) (seq (drop unit x))]) (reverse lis)))))\n\n(defn- format-integer [base params arg-navigator offsets]\n (let [[arg arg-navigator] (next-arg arg-navigator)]\n (if (integral? arg)\n (let [neg (neg? arg)\n pos-arg (if neg (- arg) arg)\n raw-str (opt-base-str base pos-arg)\n group-str (if (:colon params)\n (let [groups (map #(apply str %) (group-by* (:commainterval params) raw-str))\n commas (repeat (count groups) (:commachar params))]\n (apply str (next (interleave commas groups))))\n raw-str)\n signed-str (cond\n neg (str \"-\" group-str)\n (:at params) (str \"+\" group-str)\n true group-str)\n padded-str (if (< (.-length signed-str) (:mincol params))\n (str (apply str (repeat (- (:mincol params) (.-length signed-str))\n (:padchar params)))\n signed-str)\n signed-str)]\n (print padded-str))\n (format-ascii print-str {:mincol (:mincol params) :colinc 1 :minpad 0\n :padchar (:padchar params) :at true}\n (init-navigator [arg]) nil))\n arg-navigator))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for english formats (~R and ~:R)\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(def ^{:private true}\n english-cardinal-units\n [\"zero\" \"one\" \"two\" \"three\" \"four\" \"five\" \"six\" \"seven\" \"eight\" \"nine\"\n \"ten\" \"eleven\" \"twelve\" \"thirteen\" \"fourteen\"\n \"fifteen\" \"sixteen\" \"seventeen\" \"eighteen\" \"nineteen\"])\n\n(def ^{:private true}\n english-ordinal-units\n [\"zeroth\" \"first\" \"second\" \"third\" \"fourth\" \"fifth\" \"sixth\" \"seventh\" \"eighth\" \"ninth\"\n \"tenth\" \"eleventh\" \"twelfth\" \"thirteenth\" \"fourteenth\"\n \"fifteenth\" \"sixteenth\" \"seventeenth\" \"eighteenth\" \"nineteenth\"])\n\n(def ^{:private true}\n english-cardinal-tens\n [\"\" \"\" \"twenty\" \"thirty\" \"forty\" \"fifty\" \"sixty\" \"seventy\" \"eighty\" \"ninety\"])\n\n(def ^{:private true}\n english-ordinal-tens\n [\"\" \"\" \"twentieth\" \"thirtieth\" \"fortieth\" \"fiftieth\"\n \"sixtieth\" \"seventieth\" \"eightieth\" \"ninetieth\"])\n\n;; We use \"short scale\" for our units (see http://en.wikipedia.org/wiki/Long_and_short_scales)\n;; Number names from http://www.jimloy.com/math/billion.htm\n;; We follow the rules for writing numbers from the Blue Book\n;; (http://www.grammarbook.com/numbers/numbers.asp)\n(def ^{:private true}\n english-scale-numbers\n [\"\" \"thousand\" \"million\" \"billion\" \"trillion\" \"quadrillion\" \"quintillion\"\n \"sextillion\" \"septillion\" \"octillion\" \"nonillion\" \"decillion\"\n \"undecillion\" \"duodecillion\" \"tredecillion\" \"quattuordecillion\"\n \"quindecillion\" \"sexdecillion\" \"septendecillion\"\n \"octodecillion\" \"novemdecillion\" \"vigintillion\"])\n\n(defn- format-simple-cardinal\n \"Convert a number less than 1000 to a cardinal english string\"\n [num]\n (let [hundreds (quot num 100)\n tens (rem num 100)]\n (str\n (if (pos? hundreds) (str (nth english-cardinal-units hundreds) \" hundred\"))\n (if (and (pos? hundreds) (pos? tens)) \" \")\n (if (pos? tens)\n (if (< tens 20)\n (nth english-cardinal-units tens)\n (let [ten-digit (quot tens 10)\n unit-digit (rem tens 10)]\n (str\n (if (pos? ten-digit) (nth english-cardinal-tens ten-digit))\n (if (and (pos? ten-digit) (pos? unit-digit)) \"-\")\n (if (pos? unit-digit) (nth english-cardinal-units unit-digit)))))))))\n\n(defn- add-english-scales\n \"Take a sequence of parts, add scale numbers (e.g., million) and combine into a string\n offset is a factor of 10^3 to multiply by\"\n [parts offset]\n (let [cnt (count parts)]\n (loop [acc []\n pos (dec cnt)\n this (first parts)\n remainder (next parts)]\n (if (nil? remainder)\n (str (apply str (interpose \", \" acc))\n (if (and (not (empty? this)) (not (empty? acc))) \", \")\n this\n (if (and (not (empty? this)) (pos? (+ pos offset)))\n (str \" \" (nth english-scale-numbers (+ pos offset)))))\n (recur\n (if (empty? this)\n acc\n (conj acc (str this \" \" (nth english-scale-numbers (+ pos offset)))))\n (dec pos)\n (first remainder)\n (next remainder))))))\n\n(defn- format-cardinal-english [params navigator offsets]\n (let [[arg navigator] (next-arg navigator)]\n (if (= 0 arg)\n (print \"zero\")\n (let [abs-arg (if (neg? arg) (- arg) arg) ; some numbers are too big for Math/abs (is this true?)\n parts (remainders 1000 abs-arg)]\n (if (<= (count parts) (count english-scale-numbers))\n (let [parts-strs (map format-simple-cardinal parts)\n full-str (add-english-scales parts-strs 0)]\n (print (str (if (neg? arg) \"minus \") full-str)))\n (format-integer ;; for numbers > 10^63, we fall back on ~D\n 10\n {:mincol 0, :padchar \\space, :commachar \\, :commainterval 3, :colon true}\n (init-navigator [arg])\n {:mincol 0, :padchar 0, :commachar 0 :commainterval 0}))))\n navigator))\n\n(defn- format-simple-ordinal\n \"Convert a number less than 1000 to a ordinal english string\n Note this should only be used for the last one in the sequence\"\n [num]\n (let [hundreds (quot num 100)\n tens (rem num 100)]\n (str\n (if (pos? hundreds) (str (nth english-cardinal-units hundreds) \" hundred\"))\n (if (and (pos? hundreds) (pos? tens)) \" \")\n (if (pos? tens)\n (if (< tens 20)\n (nth english-ordinal-units tens)\n (let [ten-digit (quot tens 10)\n unit-digit (rem tens 10)]\n (if (and (pos? ten-digit) (not (pos? unit-digit)))\n (nth english-ordinal-tens ten-digit)\n (str\n (if (pos? ten-digit) (nth english-cardinal-tens ten-digit))\n (if (and (pos? ten-digit) (pos? unit-digit)) \"-\")\n (if (pos? unit-digit) (nth english-ordinal-units unit-digit))))))\n (if (pos? hundreds) \"th\")))))\n\n(defn- format-ordinal-english [params navigator offsets]\n (let [[arg navigator] (next-arg navigator)]\n (if (= 0 arg)\n (print \"zeroth\")\n (let [abs-arg (if (neg? arg) (- arg) arg) ; some numbers are too big for Math/abs (is this true?)\n parts (remainders 1000 abs-arg)]\n (if (<= (count parts) (count english-scale-numbers))\n (let [parts-strs (map format-simple-cardinal (drop-last parts))\n head-str (add-english-scales parts-strs 1)\n tail-str (format-simple-ordinal (last parts))]\n (print (str (if (neg? arg) \"minus \")\n (cond\n (and (not (empty? head-str)) (not (empty? tail-str)))\n (str head-str \", \" tail-str)\n\n (not (empty? head-str)) (str head-str \"th\")\n :else tail-str))))\n (do (format-integer ;for numbers > 10^63, we fall back on ~D\n 10\n {:mincol 0, :padchar \\space, :commachar \\, :commainterval 3, :colon true}\n (init-navigator [arg])\n {:mincol 0, :padchar 0, :commachar 0 :commainterval 0})\n (let [low-two-digits (rem arg 100)\n not-teens (or (< 11 low-two-digits) (> 19 low-two-digits))\n low-digit (rem low-two-digits 10)]\n (print (cond\n (and (== low-digit 1) not-teens) \"st\"\n (and (== low-digit 2) not-teens) \"nd\"\n (and (== low-digit 3) not-teens) \"rd\"\n :else \"th\")))))))\n navigator))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for roman numeral formats (~@R and ~@:R)\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(def ^{:private true}\n old-roman-table\n [[ \"I\" \"II\" \"III\" \"IIII\" \"V\" \"VI\" \"VII\" \"VIII\" \"VIIII\"]\n [ \"X\" \"XX\" \"XXX\" \"XXXX\" \"L\" \"LX\" \"LXX\" \"LXXX\" \"LXXXX\"]\n [ \"C\" \"CC\" \"CCC\" \"CCCC\" \"D\" \"DC\" \"DCC\" \"DCCC\" \"DCCCC\"]\n [ \"M\" \"MM\" \"MMM\"]])\n\n(def ^{:private true}\n new-roman-table\n [[ \"I\" \"II\" \"III\" \"IV\" \"V\" \"VI\" \"VII\" \"VIII\" \"IX\"]\n [ \"X\" \"XX\" \"XXX\" \"XL\" \"L\" \"LX\" \"LXX\" \"LXXX\" \"XC\"]\n [ \"C\" \"CC\" \"CCC\" \"CD\" \"D\" \"DC\" \"DCC\" \"DCCC\" \"CM\"]\n [ \"M\" \"MM\" \"MMM\"]])\n\n(defn- format-roman\n \"Format a roman numeral using the specified look-up table\"\n [table params navigator offsets]\n (let [[arg navigator] (next-arg navigator)]\n (if (and (number? arg) (> arg 0) (< arg 4000))\n (let [digits (remainders 10 arg)]\n (loop [acc []\n pos (dec (count digits))\n digits digits]\n (if (empty? digits)\n (print (apply str acc))\n (let [digit (first digits)]\n (recur (if (= 0 digit)\n acc\n (conj acc (nth (nth table pos) (dec digit))))\n (dec pos)\n (next digits))))))\n (format-integer ; for anything <= 0 or > 3999, we fall back on ~D\n 10\n {:mincol 0, :padchar \\space, :commachar \\, :commainterval 3, :colon true}\n (init-navigator [arg])\n {:mincol 0, :padchar 0, :commachar 0 :commainterval 0}))\n navigator))\n\n(defn- format-old-roman [params navigator offsets]\n (format-roman old-roman-table params navigator offsets))\n\n(defn- format-new-roman [params navigator offsets]\n (format-roman new-roman-table params navigator offsets))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for character formats (~C)\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(def ^{:private true}\n special-chars {8 \"Backspace\", 9 \"Tab\", 10 \"Newline\", 13 \"Return\", 32 \"Space\"})\n\n(defn- pretty-character [params navigator offsets]\n (let [[c navigator] (next-arg navigator)\n as-int (char-code c)\n base-char (bit-and as-int 127)\n meta (bit-and as-int 128)\n special (get special-chars base-char)]\n (if (> meta 0) (print \"Meta-\"))\n (print (cond\n special special\n (< base-char 32) (str \"Control-\" (char (+ base-char 64)))\n (= base-char 127) \"Control-?\"\n :else (char base-char)))\n navigator))\n\n(defn- readable-character [params navigator offsets]\n (let [[c navigator] (next-arg navigator)]\n (condp = (:char-format params)\n \\o (cl-format true \"\\\\o~3,'0o\" (char-code c))\n \\u (cl-format true \"\\\\u~4,'0x\" (char-code c))\n nil (print-char c))\n navigator))\n\n(defn- plain-character [params navigator offsets]\n (let [[char navigator] (next-arg navigator)]\n (print char)\n navigator))\n\n;; Check to see if a result is an abort (~^) construct\n;; TODO: move these funcs somewhere more appropriate\n(defn- abort? [context]\n (let [token (first context)]\n (or (= :up-arrow token) (= :colon-up-arrow token))))\n\n;; Handle the execution of \"sub-clauses\" in bracket constructions\n(defn- execute-sub-format [format args base-args]\n (second\n (map-passing-context\n (fn [element context]\n (if (abort? context)\n [nil context] ; just keep passing it along\n (let [[params args] (realize-parameter-list (:params element) context)\n [params offsets] (unzip-map params)\n params (assoc params :base-args base-args)]\n [nil (apply (:func element) [params args offsets])])))\n args\n format)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for real number formats\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; TODO - return exponent as int to eliminate double conversion\n(defn- float-parts-base\n \"Produce string parts for the mantissa (normalize 1-9) and exponent\"\n [f]\n (let [s (string/lower-case (str f))\n exploc (.indexOf s \\e)\n dotloc (.indexOf s \\.)]\n (if (neg? exploc)\n (if (neg? dotloc)\n [s (str (dec (count s)))]\n [(str (subs s 0 dotloc) (subs s (inc dotloc))) (str (dec dotloc))])\n (if (neg? dotloc)\n [(subs s 0 exploc) (subs s (inc exploc))]\n [(str (subs s 0 1) (subs s 2 exploc)) (subs s (inc exploc))]))))\n\n(defn- float-parts\n \"Take care of leading and trailing zeros in decomposed floats\"\n [f]\n (let [[m e] (float-parts-base f)\n m1 (rtrim m \\0)\n m2 (ltrim m1 \\0)\n delta (- (count m1) (count m2))\n e (if (and (pos? (count e)) (= (nth e 0) \\+)) (subs e 1) e)]\n (if (empty? m2)\n [\"0\" 0]\n [m2 (- (js/parseInt e 10) delta)])))\n\n(defn- inc-s\n \"Assumption: The input string consists of one or more decimal digits,\n and no other characters. Return a string containing one or more\n decimal digits containing a decimal number one larger than the input\n string. The output string will always be the same length as the input\n string, or one character longer.\"\n [s]\n (let [len-1 (dec (count s))]\n (loop [i (int len-1)]\n (cond\n (neg? i) (apply str \"1\" (repeat (inc len-1) \"0\"))\n (= \\9 (.charAt s i)) (recur (dec i))\n :else (apply str (subs s 0 i)\n (char (inc (char-code (.charAt s i))))\n (repeat (- len-1 i) \"0\"))))))\n\n(defn- round-str [m e d w]\n (if (or d w)\n (let [len (count m)\n ;; Every formatted floating point number should include at\n ;; least one decimal digit and a decimal point.\n w (if w (max 2 w)\n ;;NB: if w doesn't exist, it won't ever be used because d will\n ;; satisfy the cond below. cljs gives a compilation warning if\n ;; we don't provide a value here.\n 0)\n round-pos (cond\n ;; If d was given, that forces the rounding\n ;; position, regardless of any width that may\n ;; have been specified.\n d (+ e d 1)\n ;; Otherwise w was specified, so pick round-pos\n ;; based upon that.\n ;; If e>=0, then abs value of number is >= 1.0,\n ;; and e+1 is number of decimal digits before the\n ;; decimal point when the number is written\n ;; without scientific notation. Never round the\n ;; number before the decimal point.\n (>= e 0) (max (inc e) (dec w))\n ;; e < 0, so number abs value < 1.0\n :else (+ w e))\n [m1 e1 round-pos len] (if (= round-pos 0)\n [(str \"0\" m) (inc e) 1 (inc len)]\n [m e round-pos len])]\n (if round-pos\n (if (neg? round-pos)\n [\"0\" 0 false]\n (if (> len round-pos)\n (let [round-char (nth m1 round-pos)\n result (subs m1 0 round-pos)]\n (if (>= (char-code round-char) (char-code \\5))\n (let [round-up-result (inc-s result)\n expanded (> (count round-up-result) (count result))]\n [(if expanded\n (subs round-up-result 0 (dec (count round-up-result)))\n round-up-result)\n e1 expanded])\n [result e1 false]))\n [m e false]))\n [m e false]))\n [m e false]))\n\n(defn- expand-fixed [m e d]\n (let [[m1 e1] (if (neg? e)\n [(str (apply str (repeat (dec (- e)) \\0)) m) -1]\n [m e])\n len (count m1)\n target-len (if d (+ e1 d 1) (inc e1))]\n (if (< len target-len)\n (str m1 (apply str (repeat (- target-len len) \\0)))\n m1)))\n\n(defn- insert-decimal\n \"Insert the decimal point at the right spot in the number to match an exponent\"\n [m e]\n (if (neg? e)\n (str \".\" m)\n (let [loc (inc e)]\n (str (subs m 0 loc) \".\" (subs m loc)))))\n\n(defn- get-fixed [m e d]\n (insert-decimal (expand-fixed m e d) e))\n\n(defn- insert-scaled-decimal\n \"Insert the decimal point at the right spot in the number to match an exponent\"\n [m k]\n (if (neg? k)\n (str \".\" m)\n (str (subs m 0 k) \".\" (subs m k))))\n\n;;TODO: No ratio, so not sure what to do here\n(defn- convert-ratio [x]\n x)\n\n;; the function to render ~F directives\n;; TODO: support rationals. Back off to ~D/~A in the appropriate cases\n(defn- fixed-float [params navigator offsets]\n (let [w (:w params)\n d (:d params)\n [arg navigator] (next-arg navigator)\n [sign abs] (if (neg? arg) [\"-\" (- arg)] [\"+\" arg])\n abs (convert-ratio abs)\n [mantissa exp] (float-parts abs)\n scaled-exp (+ exp (:k params))\n add-sign (or (:at params) (neg? arg))\n append-zero (and (not d) (<= (dec (count mantissa)) scaled-exp))\n [rounded-mantissa scaled-exp expanded] (round-str mantissa scaled-exp\n d (if w (- w (if add-sign 1 0))))\n fixed-repr (get-fixed rounded-mantissa (if expanded (inc scaled-exp) scaled-exp) d)\n fixed-repr (if (and w d\n (>= d 1)\n (= (.charAt fixed-repr 0) \\0)\n (= (.charAt fixed-repr 1) \\.)\n (> (count fixed-repr) (- w (if add-sign 1 0))))\n (subs fixed-repr 1) ;chop off leading 0\n fixed-repr)\n prepend-zero (= (first fixed-repr) \\.)]\n (if w\n (let [len (count fixed-repr)\n signed-len (if add-sign (inc len) len)\n prepend-zero (and prepend-zero (not (>= signed-len w)))\n append-zero (and append-zero (not (>= signed-len w)))\n full-len (if (or prepend-zero append-zero)\n (inc signed-len)\n signed-len)]\n (if (and (> full-len w) (:overflowchar params))\n (print (apply str (repeat w (:overflowchar params))))\n (print (str\n (apply str (repeat (- w full-len) (:padchar params)))\n (if add-sign sign)\n (if prepend-zero \"0\")\n fixed-repr\n (if append-zero \"0\")))))\n (print (str\n (if add-sign sign)\n (if prepend-zero \"0\")\n fixed-repr\n (if append-zero \"0\"))))\n navigator))\n\n;; the function to render ~E directives\n;; TODO: support rationals. Back off to ~D/~A in the appropriate cases\n;; TODO: define ~E representation for Infinity\n(defn- exponential-float [params navigator offset]\n (let [[arg navigator] (next-arg navigator)\n arg (convert-ratio arg)]\n (loop [[mantissa exp] (float-parts (if (neg? arg) (- arg) arg))]\n (let [w (:w params)\n d (:d params)\n e (:e params)\n k (:k params)\n expchar (or (:exponentchar params) \\E)\n add-sign (or (:at params) (neg? arg))\n prepend-zero (<= k 0)\n scaled-exp (- exp (dec k))\n scaled-exp-str (str (Math/abs scaled-exp))\n scaled-exp-str (str expchar (if (neg? scaled-exp) \\- \\+)\n (if e (apply str\n (repeat\n (- e\n (count scaled-exp-str))\n \\0)))\n scaled-exp-str)\n exp-width (count scaled-exp-str)\n base-mantissa-width (count mantissa)\n scaled-mantissa (str (apply str (repeat (- k) \\0))\n mantissa\n (if d\n (apply str\n (repeat\n (- d (dec base-mantissa-width)\n (if (neg? k) (- k) 0)) \\0))))\n w-mantissa (if w (- w exp-width))\n [rounded-mantissa _ incr-exp] (round-str\n scaled-mantissa 0\n (cond\n (= k 0) (dec d)\n (pos? k) d\n (neg? k) (dec d))\n (if w-mantissa\n (- w-mantissa (if add-sign 1 0))))\n full-mantissa (insert-scaled-decimal rounded-mantissa k)\n append-zero (and (= k (count rounded-mantissa)) (nil? d))]\n (if (not incr-exp)\n (if w\n (let [len (+ (count full-mantissa) exp-width)\n signed-len (if add-sign (inc len) len)\n prepend-zero (and prepend-zero (not (= signed-len w)))\n full-len (if prepend-zero (inc signed-len) signed-len)\n append-zero (and append-zero (< full-len w))]\n (if (and (or (> full-len w) (and e (> (- exp-width 2) e)))\n (:overflowchar params))\n (print (apply str (repeat w (:overflowchar params))))\n (print (str\n (apply str\n (repeat\n (- w full-len (if append-zero 1 0))\n (:padchar params)))\n (if add-sign (if (neg? arg) \\- \\+))\n (if prepend-zero \"0\")\n full-mantissa\n (if append-zero \"0\")\n scaled-exp-str))))\n (print (str\n (if add-sign (if (neg? arg) \\- \\+))\n (if prepend-zero \"0\")\n full-mantissa\n (if append-zero \"0\")\n scaled-exp-str)))\n (recur [rounded-mantissa (inc exp)]))))\n navigator))\n\n;; the function to render ~G directives\n;; This just figures out whether to pass the request off to ~F or ~E based\n;; on the algorithm in CLtL.\n;; TODO: support rationals. Back off to ~D/~A in the appropriate cases\n;; TODO: refactor so that float-parts isn't called twice\n(defn- general-float [params navigator offsets]\n (let [[arg _] (next-arg navigator)\n arg (convert-ratio arg)\n [mantissa exp] (float-parts (if (neg? arg) (- arg) arg))\n w (:w params)\n d (:d params)\n e (:e params)\n n (if (= arg 0.0) 0 (inc exp))\n ee (if e (+ e 2) 4)\n ww (if w (- w ee))\n d (if d d (max (count mantissa) (min n 7)))\n dd (- d n)]\n (if (<= 0 dd d)\n (let [navigator (fixed-float {:w ww, :d dd, :k 0,\n :overflowchar (:overflowchar params),\n :padchar (:padchar params), :at (:at params)}\n navigator offsets)]\n (print (apply str (repeat ee \\space)))\n navigator)\n (exponential-float params navigator offsets))))\n\n;; the function to render ~$ directives\n;; TODO: support rationals. Back off to ~D/~A in the appropriate cases\n(defn- dollar-float [params navigator offsets]\n (let [[arg navigator] (next-arg navigator)\n [mantissa exp] (float-parts (Math/abs arg))\n d (:d params) ; digits after the decimal\n n (:n params) ; minimum digits before the decimal\n w (:w params) ; minimum field width\n add-sign (or (:at params) (neg? arg))\n [rounded-mantissa scaled-exp expanded] (round-str mantissa exp d nil)\n fixed-repr (get-fixed rounded-mantissa (if expanded (inc scaled-exp) scaled-exp) d)\n full-repr (str (apply str (repeat (- n (.indexOf fixed-repr \\.)) \\0)) fixed-repr)\n full-len (+ (count full-repr) (if add-sign 1 0))]\n (print (str\n (if (and (:colon params) add-sign) (if (neg? arg) \\- \\+))\n (apply str (repeat (- w full-len) (:padchar params)))\n (if (and (not (:colon params)) add-sign) (if (neg? arg) \\- \\+))\n full-repr))\n navigator))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for the '~[...~]' conditional construct in its\n;; different flavors\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; ~[...~] without any modifiers chooses one of the clauses based on the param or\n;; next argument\n;; TODO check arg is positive int\n(defn- choice-conditional [params arg-navigator offsets]\n (let [arg (:selector params)\n [arg navigator] (if arg [arg arg-navigator] (next-arg arg-navigator))\n clauses (:clauses params)\n clause (if (or (neg? arg) (>= arg (count clauses)))\n (first (:else params))\n (nth clauses arg))]\n (if clause\n (execute-sub-format clause navigator (:base-args params))\n navigator)))\n\n;; ~:[...~] with the colon reads the next argument treating it as a truth value\n(defn- boolean-conditional [params arg-navigator offsets]\n (let [[arg navigator] (next-arg arg-navigator)\n clauses (:clauses params)\n clause (if arg\n (second clauses)\n (first clauses))]\n (if clause\n (execute-sub-format clause navigator (:base-args params))\n navigator)))\n\n;; ~@[...~] with the at sign executes the conditional if the next arg is not\n;; nil/false without consuming the arg\n(defn- check-arg-conditional [params arg-navigator offsets]\n (let [[arg navigator] (next-arg arg-navigator)\n clauses (:clauses params)\n clause (if arg (first clauses))]\n (if arg\n (if clause\n (execute-sub-format clause arg-navigator (:base-args params))\n arg-navigator)\n navigator)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for the '~{...~}' iteration construct in its\n;; different flavors\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; ~{...~} without any modifiers uses the next argument as an argument list that\n;; is consumed by all the iterations\n(defn- iterate-sublist [params navigator offsets]\n (let [max-count (:max-iterations params)\n param-clause (first (:clauses params))\n [clause navigator] (if (empty? param-clause)\n (get-format-arg navigator)\n [param-clause navigator])\n [arg-list navigator] (next-arg navigator)\n args (init-navigator arg-list)]\n (loop [count 0\n args args\n last-pos (int -1)]\n (if (and (not max-count) (= (:pos args) last-pos) (> count 1))\n ;; TODO get the offset in here and call format exception\n (throw (js/Error \"%{ construct not consuming any arguments: Infinite loop!\")))\n (if (or (and (empty? (:rest args))\n (or (not (:colon (:right-params params))) (> count 0)))\n (and max-count (>= count max-count)))\n navigator\n (let [iter-result (execute-sub-format clause args (:base-args params))]\n (if (= :up-arrow (first iter-result))\n navigator\n (recur (inc count) iter-result (:pos args))))))))\n\n;; ~:{...~} with the colon treats the next argument as a list of sublists. Each of the\n;; sublists is used as the arglist for a single iteration.\n(defn- iterate-list-of-sublists [params navigator offsets]\n (let [max-count (:max-iterations params)\n param-clause (first (:clauses params))\n [clause navigator] (if (empty? param-clause)\n (get-format-arg navigator)\n [param-clause navigator])\n [arg-list navigator] (next-arg navigator)]\n (loop [count 0\n arg-list arg-list]\n (if (or (and (empty? arg-list)\n (or (not (:colon (:right-params params))) (> count 0)))\n (and max-count (>= count max-count)))\n navigator\n (let [iter-result (execute-sub-format\n clause\n (init-navigator (first arg-list))\n (init-navigator (next arg-list)))]\n (if (= :colon-up-arrow (first iter-result))\n navigator\n (recur (inc count) (next arg-list))))))))\n\n;; ~@{...~} with the at sign uses the main argument list as the arguments to the iterations\n;; is consumed by all the iterations\n(defn- iterate-main-list [params navigator offsets]\n (let [max-count (:max-iterations params)\n param-clause (first (:clauses params))\n [clause navigator] (if (empty? param-clause)\n (get-format-arg navigator)\n [param-clause navigator])]\n (loop [count 0\n navigator navigator\n last-pos (int -1)]\n (if (and (not max-count) (= (:pos navigator) last-pos) (> count 1))\n ;; TODO get the offset in here and call format exception\n (throw (js/Error \"%@{ construct not consuming any arguments: Infinite loop!\")))\n (if (or (and (empty? (:rest navigator))\n (or (not (:colon (:right-params params))) (> count 0)))\n (and max-count (>= count max-count)))\n navigator\n (let [iter-result (execute-sub-format clause navigator (:base-args params))]\n (if (= :up-arrow (first iter-result))\n (second iter-result)\n (recur\n (inc count) iter-result (:pos navigator))))))))\n\n;; ~@:{...~} with both colon and at sign uses the main argument list as a set of sublists, one\n;; of which is consumed with each iteration\n(defn- iterate-main-sublists [params navigator offsets]\n (let [max-count (:max-iterations params)\n param-clause (first (:clauses params))\n [clause navigator] (if (empty? param-clause)\n (get-format-arg navigator)\n [param-clause navigator])]\n (loop [count 0\n navigator navigator]\n (if (or (and (empty? (:rest navigator))\n (or (not (:colon (:right-params params))) (> count 0)))\n (and max-count (>= count max-count)))\n navigator\n (let [[sublist navigator] (next-arg-or-nil navigator)\n iter-result (execute-sub-format clause (init-navigator sublist) navigator)]\n (if (= :colon-up-arrow (first iter-result))\n navigator\n (recur (inc count) navigator)))))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; The '~< directive has two completely different meanings\n;; in the '~<...~>' form it does justification, but with\n;; ~<...~:>' it represents the logical block operation of the\n;; pretty printer.\n;;\n;; Unfortunately, the current architecture decides what function\n;; to call at form parsing time before the sub-clauses have been\n;; folded, so it is left to run-time to make the decision.\n;;\n;; TODO: make it possible to make these decisions at compile-time.\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(declare ^{:arglists '([params navigator offsets])} format-logical-block)\n(declare ^{:arglists '([params navigator offsets])} justify-clauses)\n\n(defn- logical-block-or-justify [params navigator offsets]\n (if (:colon (:right-params params))\n (format-logical-block params navigator offsets)\n (justify-clauses params navigator offsets)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Support for the '~<...~>' justification directive\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn- render-clauses [clauses navigator base-navigator]\n (loop [clauses clauses\n acc []\n navigator navigator]\n (if (empty? clauses)\n [acc navigator]\n (let [clause (first clauses)\n [iter-result result-str] (let [sb (StringBuffer.)]\n (binding [*out* (StringBufferWriter. sb)]\n [(execute-sub-format clause navigator base-navigator)\n (str sb)]))]\n (if (= :up-arrow (first iter-result))\n [acc (second iter-result)]\n (recur (next clauses) (conj acc result-str) iter-result))))))\n\n;; TODO support for ~:; constructions\n(defn- justify-clauses [params navigator offsets]\n (let [[[eol-str] new-navigator] (when-let [else (:else params)]\n (render-clauses else navigator (:base-args params)))\n navigator (or new-navigator navigator)\n [else-params new-navigator] (when-let [p (:else-params params)]\n (realize-parameter-list p navigator))\n navigator (or new-navigator navigator)\n min-remaining (or (first (:min-remaining else-params)) 0)\n max-columns (or (first (:max-columns else-params))\n (get-max-column *out*))\n clauses (:clauses params)\n [strs navigator] (render-clauses clauses navigator (:base-args params))\n slots (max 1\n (+ (dec (count strs)) (if (:colon params) 1 0) (if (:at params) 1 0)))\n chars (reduce + (map count strs))\n mincol (:mincol params)\n minpad (:minpad params)\n colinc (:colinc params)\n minout (+ chars (* slots minpad))\n result-columns (if (<= minout mincol)\n mincol\n (+ mincol (* colinc\n (+ 1 (quot (- minout mincol 1) colinc)))))\n total-pad (- result-columns chars)\n pad (max minpad (quot total-pad slots))\n extra-pad (- total-pad (* pad slots))\n pad-str (apply str (repeat pad (:padchar params)))]\n (if (and eol-str (> (+ (get-column (:base @@*out*)) min-remaining result-columns)\n max-columns))\n (print eol-str))\n (loop [slots slots\n extra-pad extra-pad\n strs strs\n pad-only (or (:colon params)\n (and (= (count strs) 1) (not (:at params))))]\n (if (seq strs)\n (do\n (print (str (if (not pad-only) (first strs))\n (if (or pad-only (next strs) (:at params)) pad-str)\n (if (pos? extra-pad) (:padchar params))))\n (recur\n (dec slots)\n (dec extra-pad)\n (if pad-only strs (next strs))\n false))))\n navigator))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Support for case modification with ~(...~).\n;;; We do this by wrapping the underlying writer with\n;;; a special writer to do the appropriate modification. This\n;;; allows us to support arbitrary-sized output and sources\n;;; that may block.\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn- downcase-writer\n \"Returns a proxy that wraps writer, converting all characters to lower case\"\n [writer]\n (reify\n IWriter\n (-flush [_] (-flush writer))\n (-write\n ;;no multi-arity, not sure of importance\n #_([^chars cbuf ^Integer off ^Integer len]\n (.write writer cbuf off len))\n [this x]\n (condp = (type x)\n js/String\n (let [s x]\n (-write writer (string/lower-case s)))\n\n js/Number\n (let [c x]\n ;;TODO need to enforce integers only?\n (-write writer (string/lower-case (char c))))))))\n\n(defn- upcase-writer\n \"Returns a proxy that wraps writer, converting all characters to upper case\"\n [writer]\n (reify\n IWriter\n (-flush [_] (-flush writer))\n (-write\n ;;no multi-arity, not sure of importance\n #_([^chars cbuf ^Integer off ^Integer len]\n (.write writer cbuf off len))\n [this x]\n (condp = (type x)\n js/String\n (let [s x]\n (-write writer (string/upper-case s)))\n\n js/Number\n (let [c x]\n ;;TODO need to enforce integers only?\n (-write writer (string/upper-case (char c))))))))\n\n(defn- capitalize-string\n \"Capitalizes the words in a string. If first? is false, don't capitalize the\n first character of the string even if it's a letter.\"\n [s first?]\n (let [f (first s)\n s (if (and first? f (gstring/isUnicodeChar f))\n (str (string/upper-case f) (subs s 1))\n s)]\n (apply str\n (first\n (consume\n (fn [s]\n (if (empty? s)\n [nil nil]\n (let [m (.exec (js/RegExp \"\\\\W\\\\w\" \"g\") s)\n offset (and m (inc (.-index m)))]\n (if offset\n [(str (subs s 0 offset)\n (string/upper-case (nth s offset)))\n (subs s (inc offset))]\n [s nil]))))\n s)))))\n\n(defn- capitalize-word-writer\n \"Returns a proxy that wraps writer, capitalizing all words\"\n [writer]\n (let [last-was-whitespace? (atom true)]\n (reify\n IWriter\n (-flush [_] (-flush writer))\n (-write\n ;;no multi-arity\n #_([^chars cbuf ^Integer off ^Integer len]\n (.write writer cbuf off len))\n [this x]\n (condp = (type x)\n js/String\n (let [s x]\n (-write writer\n (capitalize-string (.toLowerCase s) @last-was-whitespace?))\n (when (pos? (.-length s))\n (reset! last-was-whitespace? (gstring/isEmptyOrWhitespace (nth s (dec (count s)))))))\n\n js/Number\n (let [c (char x)]\n (let [mod-c (if @last-was-whitespace? (string/upper-case c) c)]\n (-write writer mod-c)\n (reset! last-was-whitespace? (gstring/isEmptyOrWhitespace c)))))))))\n\n(defn- init-cap-writer\n \"Returns a proxy that wraps writer, capitalizing the first word\"\n [writer]\n (let [capped (atom false)]\n (reify\n IWriter\n (-flush [_] (-flush writer))\n (-write\n ;;no multi-arity\n #_([^chars cbuf ^Integer off ^Integer len]\n (.write writer cbuf off len))\n [this x]\n (condp = (type x)\n js/String\n (let [s (string/lower-case x)]\n (if (not @capped)\n (let [m (.exec (js/RegExp \"\\\\S\" \"g\") s)\n offset (and m (.-index m))]\n (if offset\n (do (-write writer\n (str (subs s 0 offset)\n (string/upper-case (nth s offset))\n (string/lower-case (subs s (inc offset)))))\n (reset! capped true))\n (-write writer s)))\n (-write writer (string/lower-case s))))\n\n js/Number\n (let [c (char x)]\n (if (and (not @capped) (gstring/isUnicodeChar c))\n (do\n (reset! capped true)\n (-write writer (string/upper-case c)))\n (-write writer (string/lower-case c)))))))))\n\n(defn- modify-case [make-writer params navigator offsets]\n (let [clause (first (:clauses params))]\n (binding [*out* (make-writer *out*)]\n (execute-sub-format clause navigator (:base-args params)))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; If necessary, wrap the writer in a PrettyWriter object\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; TODO update this doc string to show correct way to print\n(defn get-pretty-writer\n \"Returns the IWriter passed in wrapped in a pretty writer proxy, unless it's\nalready a pretty writer. Generally, it is unnecessary to call this function, since pprint,\nwrite, and cl-format all call it if they need to. However if you want the state to be\npreserved across calls, you will want to wrap them with this.\n\nFor example, when you want to generate column-aware output with multiple calls to cl-format,\ndo it like in this example:\n\n (defn print-table [aseq column-width]\n (binding [*out* (get-pretty-writer *out*)]\n (doseq [row aseq]\n (doseq [col row]\n (cl-format true \\\"~4D~7,vT\\\" col column-width))\n (prn))))\n\nNow when you run:\n\n user> (print-table (map #(vector % (* % %) (* % % %)) (range 1 11)) 8)\n\nIt prints a table of squares and cubes for the numbers from 1 to 10:\n\n 1 1 1\n 2 4 8\n 3 9 27\n 4 16 64\n 5 25 125\n 6 36 216\n 7 49 343\n 8 64 512\n 9 81 729\n 10 100 1000\"\n [writer]\n (if (pretty-writer? writer)\n writer\n (pretty-writer writer *print-right-margin* *print-miser-width*)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Support for column-aware operations ~&, ~T\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn fresh-line\n \"Make a newline if *out* is not already at the beginning of the line. If *out* is\nnot a pretty writer (which keeps track of columns), this function always outputs a newline.\"\n []\n (if (satisfies? IDeref *out*)\n (if (not (= 0 (get-column (:base @@*out*))))\n (prn))\n (prn)))\n\n(defn- absolute-tabulation [params navigator offsets]\n (let [colnum (:colnum params)\n colinc (:colinc params)\n current (get-column (:base @@*out*))\n space-count (cond\n (< current colnum) (- colnum current)\n (= colinc 0) 0\n :else (- colinc (rem (- current colnum) colinc)))]\n (print (apply str (repeat space-count \\space))))\n navigator)\n\n(defn- relative-tabulation [params navigator offsets]\n (let [colrel (:colnum params)\n colinc (:colinc params)\n start-col (+ colrel (get-column (:base @@*out*)))\n offset (if (pos? colinc) (rem start-col colinc) 0)\n space-count (+ colrel (if (= 0 offset) 0 (- colinc offset)))]\n (print (apply str (repeat space-count \\space))))\n navigator)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Support for accessing the pretty printer from a format\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; TODO: support ~@; per-line-prefix separator\n;; TODO: get the whole format wrapped so we can start the lb at any column\n(defn- format-logical-block [params navigator offsets]\n (let [clauses (:clauses params)\n clause-count (count clauses)\n prefix (cond\n (> clause-count 1) (:string (:params (first (first clauses))))\n (:colon params) \"(\")\n body (nth clauses (if (> clause-count 1) 1 0))\n suffix (cond\n (> clause-count 2) (:string (:params (first (nth clauses 2))))\n (:colon params) \")\")\n [arg navigator] (next-arg navigator)]\n (pprint-logical-block :prefix prefix :suffix suffix\n (execute-sub-format\n body\n (init-navigator arg)\n (:base-args params)))\n navigator))\n\n(defn- set-indent [params navigator offsets]\n (let [relative-to (if (:colon params) :current :block)]\n (pprint-indent relative-to (:n params))\n navigator))\n\n;;; TODO: support ~:T section options for ~T\n(defn- conditional-newline [params navigator offsets]\n (let [kind (if (:colon params)\n (if (:at params) :mandatory :fill)\n (if (:at params) :miser :linear))]\n (pprint-newline kind)\n navigator))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; The table of directives we support, each with its params,\n;;; properties, and the compilation function\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defdirectives\n (\\A\n [:mincol [0 js/Number] :colinc [1 js/Number] :minpad [0 js/Number] :padchar [\\space js/String]]\n #{:at :colon :both} {}\n #(format-ascii print-str %1 %2 %3))\n\n (\\S\n [:mincol [0 js/Number] :colinc [1 js/Number] :minpad [0 js/Number] :padchar [\\space js/String]]\n #{:at :colon :both} {}\n #(format-ascii pr-str %1 %2 %3))\n\n (\\D\n [:mincol [0 js/Number] :padchar [\\space js/String] :commachar [\\, js/String]\n :commainterval [3 js/Number]]\n #{:at :colon :both} {}\n #(format-integer 10 %1 %2 %3))\n\n (\\B\n [:mincol [0 js/Number] :padchar [\\space js/String] :commachar [\\, js/String]\n :commainterval [3 js/Number]]\n #{:at :colon :both} {}\n #(format-integer 2 %1 %2 %3))\n\n (\\O\n [:mincol [0 js/Number] :padchar [\\space js/String] :commachar [\\, js/String]\n :commainterval [3 js/Number]]\n #{:at :colon :both} {}\n #(format-integer 8 %1 %2 %3))\n\n (\\X\n [:mincol [0 js/Number] :padchar [\\space js/String] :commachar [\\, js/String]\n :commainterval [3 js/Number]]\n #{:at :colon :both} {}\n #(format-integer 16 %1 %2 %3))\n\n (\\R\n [:base [nil js/Number] :mincol [0 js/Number] :padchar [\\space js/String] :commachar [\\, js/String]\n :commainterval [3 js/Number]]\n #{:at :colon :both} {}\n (do\n (cond ; ~R is overloaded with bizareness\n (first (:base params)) #(format-integer (:base %1) %1 %2 %3)\n (and (:at params) (:colon params)) #(format-old-roman %1 %2 %3)\n (:at params) #(format-new-roman %1 %2 %3)\n (:colon params) #(format-ordinal-english %1 %2 %3)\n true #(format-cardinal-english %1 %2 %3))))\n\n (\\P\n []\n #{:at :colon :both} {}\n (fn [params navigator offsets]\n (let [navigator (if (:colon params) (relative-reposition navigator -1) navigator)\n strs (if (:at params) [\"y\" \"ies\"] [\"\" \"s\"])\n [arg navigator] (next-arg navigator)]\n (print (if (= arg 1) (first strs) (second strs)))\n navigator)))\n\n (\\C\n [:char-format [nil js/String]]\n #{:at :colon :both} {}\n (cond\n (:colon params) pretty-character\n (:at params) readable-character\n :else plain-character))\n\n (\\F\n [:w [nil js/Number] :d [nil js/Number] :k [0 js/Number] :overflowchar [nil js/String]\n :padchar [\\space js/String]]\n #{:at} {}\n fixed-float)\n\n (\\E\n [:w [nil js/Number] :d [nil js/Number] :e [nil js/Number] :k [1 js/Number]\n :overflowchar [nil js/String] :padchar [\\space js/String]\n :exponentchar [nil js/String]]\n #{:at} {}\n exponential-float)\n\n (\\G\n [:w [nil js/Number] :d [nil js/Number] :e [nil js/Number] :k [1 js/Number]\n :overflowchar [nil js/String] :padchar [\\space js/String]\n :exponentchar [nil js/String]]\n #{:at} {}\n general-float)\n\n (\\$\n [:d [2 js/Number] :n [1 js/Number] :w [0 js/Number] :padchar [\\space js/String]]\n #{:at :colon :both} {}\n dollar-float)\n\n (\\%\n [:count [1 js/Number]]\n #{} {}\n (fn [params arg-navigator offsets]\n (dotimes [i (:count params)]\n (prn))\n arg-navigator))\n\n (\\&\n [:count [1 js/Number]]\n #{:pretty} {}\n (fn [params arg-navigator offsets]\n (let [cnt (:count params)]\n (if (pos? cnt) (fresh-line))\n (dotimes [i (dec cnt)]\n (prn)))\n arg-navigator))\n\n (\\|\n [:count [1 js/Number]]\n #{} {}\n (fn [params arg-navigator offsets]\n (dotimes [i (:count params)]\n (print \\formfeed))\n arg-navigator))\n\n (\\~\n [:n [1 js/Number]]\n #{} {}\n (fn [params arg-navigator offsets]\n (let [n (:n params)]\n (print (apply str (repeat n \\~)))\n arg-navigator)))\n\n (\\newline ;; Whitespace supression is handled in the compilation loop\n []\n #{:colon :at} {}\n (fn [params arg-navigator offsets]\n (if (:at params)\n (prn))\n arg-navigator))\n\n (\\T\n [:colnum [1 js/Number] :colinc [1 js/Number]]\n #{:at :pretty} {}\n (if (:at params)\n #(relative-tabulation %1 %2 %3)\n #(absolute-tabulation %1 %2 %3)))\n\n (\\*\n [:n [1 js/Number]]\n #{:colon :at} {}\n (fn [params navigator offsets]\n (let [n (:n params)]\n (if (:at params)\n (absolute-reposition navigator n)\n (relative-reposition navigator (if (:colon params) (- n) n))))))\n\n (\\?\n []\n #{:at} {}\n (if (:at params)\n (fn [params navigator offsets] ; args from main arg list\n (let [[subformat navigator] (get-format-arg navigator)]\n (execute-sub-format subformat navigator (:base-args params))))\n (fn [params navigator offsets] ; args from sub-list\n (let [[subformat navigator] (get-format-arg navigator)\n [subargs navigator] (next-arg navigator)\n sub-navigator (init-navigator subargs)]\n (execute-sub-format subformat sub-navigator (:base-args params))\n navigator))))\n\n (\\(\n []\n #{:colon :at :both} {:right \\), :allows-separator nil, :else nil}\n (let [mod-case-writer (cond\n (and (:at params) (:colon params))\n upcase-writer\n\n (:colon params)\n capitalize-word-writer\n\n (:at params)\n init-cap-writer\n\n :else\n downcase-writer)]\n #(modify-case mod-case-writer %1 %2 %3)))\n\n (\\) [] #{} {} nil)\n\n (\\[\n [:selector [nil js/Number]]\n #{:colon :at} {:right \\], :allows-separator true, :else :last}\n (cond\n (:colon params)\n boolean-conditional\n\n (:at params)\n check-arg-conditional\n\n true\n choice-conditional))\n\n (\\; [:min-remaining [nil js/Number] :max-columns [nil js/Number]]\n #{:colon} {:separator true} nil)\n\n (\\] [] #{} {} nil)\n\n (\\{\n [:max-iterations [nil js/Number]]\n #{:colon :at :both} {:right \\}, :allows-separator false}\n (cond\n (and (:at params) (:colon params))\n iterate-main-sublists\n\n (:colon params)\n iterate-list-of-sublists\n\n (:at params)\n iterate-main-list\n\n true\n iterate-sublist))\n\n (\\} [] #{:colon} {} nil)\n\n (\\<\n [:mincol [0 js/Number] :colinc [1 js/Number] :minpad [0 js/Number] :padchar [\\space js/String]]\n #{:colon :at :both :pretty} {:right \\>, :allows-separator true, :else :first}\n logical-block-or-justify)\n\n (\\> [] #{:colon} {} nil)\n\n ;; TODO: detect errors in cases where colon not allowed\n (\\^ [:arg1 [nil js/Number] :arg2 [nil js/Number] :arg3 [nil js/Number]]\n #{:colon} {}\n (fn [params navigator offsets]\n (let [arg1 (:arg1 params)\n arg2 (:arg2 params)\n arg3 (:arg3 params)\n exit (if (:colon params) :colon-up-arrow :up-arrow)]\n (cond\n (and arg1 arg2 arg3)\n (if (<= arg1 arg2 arg3) [exit navigator] navigator)\n\n (and arg1 arg2)\n (if (= arg1 arg2) [exit navigator] navigator)\n\n arg1\n (if (= arg1 0) [exit navigator] navigator)\n\n true ; TODO: handle looking up the arglist stack for info\n (if (if (:colon params)\n (empty? (:rest (:base-args params)))\n (empty? (:rest navigator)))\n [exit navigator] navigator)))))\n\n (\\W\n []\n #{:at :colon :both :pretty} {}\n (if (or (:at params) (:colon params))\n (let [bindings (concat\n (if (:at params) [:level nil :length nil] [])\n (if (:colon params) [:pretty true] []))]\n (fn [params navigator offsets]\n (let [[arg navigator] (next-arg navigator)]\n (if (apply write arg bindings)\n [:up-arrow navigator]\n navigator))))\n (fn [params navigator offsets]\n (let [[arg navigator] (next-arg navigator)]\n (if (write-out arg)\n [:up-arrow navigator]\n navigator)))))\n\n (\\_\n []\n #{:at :colon :both} {}\n conditional-newline)\n\n (\\I\n [:n [0 js/Number]]\n #{:colon} {}\n set-indent)\n )\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Code to manage the parameters and flags associated with each\n;; directive in the format string.\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(def ^{:private true}\n param-pattern #\"^([vV]|#|('.)|([+-]?\\d+)|(?=,))\")\n\n(def ^{:private true}\n special-params #{:parameter-from-args :remaining-arg-count})\n\n(defn- extract-param [[s offset saw-comma]]\n (let [m (js/RegExp. (.-source param-pattern) \"g\")\n param (.exec m s)]\n (if param\n (let [token-str (first param)\n remainder (subs s (.-lastIndex m))\n new-offset (+ offset (.-lastIndex m))]\n (if (not (= \\, (nth remainder 0)))\n [[token-str offset] [remainder new-offset false]]\n [[token-str offset] [(subs remainder 1) (inc new-offset) true]]))\n (if saw-comma\n (format-error \"Badly formed parameters in format directive\" offset)\n [nil [s offset]]))))\n\n(defn- extract-params [s offset]\n (consume extract-param [s offset false]))\n\n(defn- translate-param\n \"Translate the string representation of a param to the internalized\n representation\"\n [[p offset]]\n [(cond\n (= (.-length p) 0) nil\n (and (= (.-length p) 1) (contains? #{\\v \\V} (nth p 0))) :parameter-from-args\n (and (= (.-length p) 1) (= \\# (nth p 0))) :remaining-arg-count\n (and (= (.-length p) 2) (= \\' (nth p 0))) (nth p 1)\n true (js/parseInt p 10))\n offset])\n\n(def ^{:private true}\n flag-defs {\\: :colon, \\@ :at})\n\n(defn- extract-flags [s offset]\n (consume\n (fn [[s offset flags]]\n (if (empty? s)\n [nil [s offset flags]]\n (let [flag (get flag-defs (first s))]\n (if flag\n (if (contains? flags flag)\n (format-error\n (str \"Flag \\\"\" (first s) \"\\\" appears more than once in a directive\")\n offset)\n [true [(subs s 1) (inc offset) (assoc flags flag [true offset])]])\n [nil [s offset flags]]))))\n [s offset {}]))\n\n(defn- check-flags [def flags]\n (let [allowed (:flags def)]\n (if (and (not (:at allowed)) (:at flags))\n (format-error (str \"\\\"@\\\" is an illegal flag for format directive \\\"\" (:directive def) \"\\\"\")\n (nth (:at flags) 1)))\n (if (and (not (:colon allowed)) (:colon flags))\n (format-error (str \"\\\":\\\" is an illegal flag for format directive \\\"\" (:directive def) \"\\\"\")\n (nth (:colon flags) 1)))\n (if (and (not (:both allowed)) (:at flags) (:colon flags))\n (format-error (str \"Cannot combine \\\"@\\\" and \\\":\\\" flags for format directive \\\"\"\n (:directive def) \"\\\"\")\n (min (nth (:colon flags) 1) (nth (:at flags) 1))))))\n\n(defn- map-params\n \"Takes a directive definition and the list of actual parameters and\na map of flags and returns a map of the parameters and flags with defaults\nfilled in. We check to make sure that there are the right types and number\nof parameters as well.\"\n [def params flags offset]\n (check-flags def flags)\n (if (> (count params) (count (:params def)))\n (format-error\n (cl-format\n nil\n \"Too many parameters for directive \\\"~C\\\": ~D~:* ~[were~;was~:;were~] specified but only ~D~:* ~[are~;is~:;are~] allowed\"\n (:directive def) (count params) (count (:params def)))\n (second (first params))))\n (doall\n (map #(let [val (first %1)]\n (if (not (or (nil? val) (contains? special-params val)\n (= (second (second %2)) (type val))))\n (format-error (str \"Parameter \" (name (first %2))\n \" has bad type in directive \\\"\" (:directive def) \"\\\": \"\n (type val))\n (second %1))) )\n params (:params def)))\n\n (merge ; create the result map\n (into (array-map) ; start with the default values, make sure the order is right\n (reverse (for [[name [default]] (:params def)] [name [default offset]])))\n (reduce #(apply assoc %1 %2) {} (filter #(first (nth % 1)) (zipmap (keys (:params def)) params))) ; add the specified parameters, filtering out nils\n flags)); and finally add the flags\n\n(defn- compile-directive [s offset]\n (let [[raw-params [rest offset]] (extract-params s offset)\n [_ [rest offset flags]] (extract-flags rest offset)\n directive (first rest)\n def (get directive-table (string/upper-case directive))\n params (if def (map-params def (map translate-param raw-params) flags offset))]\n (if (not directive)\n (format-error \"Format string ended in the middle of a directive\" offset))\n (if (not def)\n (format-error (str \"Directive \\\"\" directive \"\\\" is undefined\") offset))\n [(compiled-directive. ((:generator-fn def) params offset) def params offset)\n (let [remainder (subs rest 1)\n offset (inc offset)\n trim? (and (= \\newline (:directive def))\n (not (:colon params)))\n trim-count (if trim? (prefix-count remainder [\\space \\tab]) 0)\n remainder (subs remainder trim-count)\n offset (+ offset trim-count)]\n [remainder offset])]))\n\n(defn- compile-raw-string [s offset]\n (compiled-directive. (fn [_ a _] (print s) a) nil {:string s} offset))\n\n(defn- right-bracket [this] (:right (:bracket-info (:def this))))\n\n(defn- separator? [this] (:separator (:bracket-info (:def this))))\n\n(defn- else-separator? [this]\n (and (:separator (:bracket-info (:def this)))\n (:colon (:params this))))\n\n(declare ^{:arglists '([bracket-info offset remainder])} collect-clauses)\n\n(defn- process-bracket [this remainder]\n (let [[subex remainder] (collect-clauses (:bracket-info (:def this))\n (:offset this) remainder)]\n [(compiled-directive.\n (:func this) (:def this)\n (merge (:params this) (tuple-map subex (:offset this)))\n (:offset this))\n remainder]))\n\n(defn- process-clause [bracket-info offset remainder]\n (consume\n (fn [remainder]\n (if (empty? remainder)\n (format-error \"No closing bracket found.\" offset)\n (let [this (first remainder)\n remainder (next remainder)]\n (cond\n (right-bracket this)\n (process-bracket this remainder)\n\n (= (:right bracket-info) (:directive (:def this)))\n [ nil [:right-bracket (:params this) nil remainder]]\n\n (else-separator? this)\n [nil [:else nil (:params this) remainder]]\n\n (separator? this)\n [nil [:separator nil nil remainder]] ;; TODO: check to make sure that there are no params on ~;\n\n true\n [this remainder]))))\n remainder))\n\n(defn- collect-clauses [bracket-info offset remainder]\n (second\n (consume\n (fn [[clause-map saw-else remainder]]\n (let [[clause [type right-params else-params remainder]]\n (process-clause bracket-info offset remainder)]\n (cond\n (= type :right-bracket)\n [nil [(merge-with concat clause-map\n {(if saw-else :else :clauses) [clause]\n :right-params right-params})\n remainder]]\n\n (= type :else)\n (cond\n (:else clause-map)\n (format-error \"Two else clauses (\\\"~:;\\\") inside bracket construction.\" offset)\n\n (not (:else bracket-info))\n (format-error \"An else clause (\\\"~:;\\\") is in a bracket type that doesn't support it.\"\n offset)\n\n (and (= :first (:else bracket-info)) (seq (:clauses clause-map)))\n (format-error\n \"The else clause (\\\"~:;\\\") is only allowed in the first position for this directive.\"\n offset)\n\n true ; if the ~:; is in the last position, the else clause\n ; is next, this was a regular clause\n (if (= :first (:else bracket-info))\n [true [(merge-with concat clause-map {:else [clause] :else-params else-params})\n false remainder]]\n [true [(merge-with concat clause-map {:clauses [clause]})\n true remainder]]))\n\n (= type :separator)\n (cond\n saw-else\n (format-error \"A plain clause (with \\\"~;\\\") follows an else clause (\\\"~:;\\\") inside bracket construction.\" offset)\n\n (not (:allows-separator bracket-info))\n (format-error \"A separator (\\\"~;\\\") is in a bracket type that doesn't support it.\"\n offset)\n\n true\n [true [(merge-with concat clause-map {:clauses [clause]})\n false remainder]]))))\n [{:clauses []} false remainder])))\n\n(defn- process-nesting\n \"Take a linearly compiled format and process the bracket directives to give it\n the appropriate tree structure\"\n [format]\n (first\n (consume\n (fn [remainder]\n (let [this (first remainder)\n remainder (next remainder)\n bracket (:bracket-info (:def this))]\n (if (:right bracket)\n (process-bracket this remainder)\n [this remainder])))\n format)))\n\n(defn- compile-format\n \"Compiles format-str into a compiled format which can be used as an argument\nto cl-format just like a plain format string. Use this function for improved\nperformance when you're using the same format string repeatedly\"\n [format-str]\n (binding [*format-str* format-str]\n (process-nesting\n (first\n (consume\n (fn [[s offset]]\n (if (empty? s)\n [nil s]\n (let [tilde (.indexOf s \\~)]\n (cond\n (neg? tilde) [(compile-raw-string s offset) [\"\" (+ offset (.-length s))]]\n (zero? tilde) (compile-directive (subs s 1) (inc offset))\n true\n [(compile-raw-string (subs s 0 tilde) offset) [(subs s tilde) (+ tilde offset)]]))))\n [format-str 0])))))\n\n(defn- needs-pretty\n \"determine whether a given compiled format has any directives that depend on the\ncolumn number or pretty printing\"\n [format]\n (loop [format format]\n (if (empty? format)\n false\n (if (or (:pretty (:flags (:def (first format))))\n (some needs-pretty (first (:clauses (:params (first format)))))\n (some needs-pretty (first (:else (:params (first format))))))\n true\n (recur (next format))))))\n\n;;NB We depart from the original api. In clj, if execute-format is called multiple times with the same stream or\n;; called on *out*, the results are different than if the same calls are made with different streams or printing\n;; to a string. The reason is that mutating the underlying stream changes the result by changing spacing.\n;;\n;; clj:\n;; * stream => \"1 2 3\"\n;; * true (prints to *out*) => \"1 2 3\"\n;; * nil (prints to string) => \"1 2 3\"\n;; cljs:\n;; * stream => \"1 2 3\"\n;; * true (prints via *print-fn*) => \"1 2 3\"\n;; * nil (prints to string) => \"1 2 3\"\n(defn- execute-format\n \"Executes the format with the arguments.\"\n {:skip-wiki true}\n ([stream format args]\n (let [sb (StringBuffer.)\n real-stream (if (or (not stream) (true? stream))\n (StringBufferWriter. sb)\n stream)\n wrapped-stream (if (and (needs-pretty format)\n (not (pretty-writer? real-stream)))\n (get-pretty-writer real-stream)\n real-stream)]\n (binding [*out* wrapped-stream]\n (try\n (execute-format format args)\n (finally\n (if-not (identical? real-stream wrapped-stream)\n (-flush wrapped-stream))))\n (cond\n (not stream) (str sb)\n (true? stream) (string-print (str sb))\n :else nil))))\n ([format args]\n (map-passing-context\n (fn [element context]\n (if (abort? context)\n [nil context]\n (let [[params args] (realize-parameter-list\n (:params element) context)\n [params offsets] (unzip-map params)\n params (assoc params :base-args args)]\n [nil (apply (:func element) [params args offsets])])))\n args\n format)\n nil))\n\n;;; This is a bad idea, but it prevents us from leaking private symbols\n;;; This should all be replaced by really compiled formats anyway.\n(def ^{:private true} cached-compile (memoize compile-format))\n\n;;======================================================================\n;; dispatch.clj\n;;======================================================================\n\n(defn- use-method\n \"Installs a function as a new method of multimethod associated with dispatch-value. \"\n [multifn dispatch-val func]\n (-add-method multifn dispatch-val func))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Implementations of specific dispatch table entries\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;;; Handle forms that can be \"back-translated\" to reader macros\n;;; Not all reader macros can be dealt with this way or at all.\n;;; Macros that we can't deal with at all are:\n;;; ; - The comment character is absorbed by the reader and never is part of the form\n;;; ` - Is fully processed at read time into a lisp expression (which will contain concats\n;;; and regular quotes).\n;;; ~@ - Also fully eaten by the processing of ` and can't be used outside.\n;;; , - is whitespace and is lost (like all other whitespace). Formats can generate commas\n;;; where they deem them useful to help readability.\n;;; ^ - Adding metadata completely disappears at read time and the data appears to be\n;;; completely lost.\n;;;\n;;; Most other syntax stuff is dealt with directly by the formats (like (), [], {}, and #{})\n;;; or directly by printing the objects using Clojure's built-in print functions (like\n;;; :keyword, \\char, or \"\"). The notable exception is #() which is special-cased.\n\n(def ^{:private true} reader-macros\n {'quote \"'\"\n 'var \"#'\"\n 'clojure.core/deref \"@\",\n 'clojure.core/unquote \"~\"\n 'cljs.core/deref \"@\",\n 'cljs.core/unquote \"~\"})\n\n(defn- pprint-reader-macro [alis]\n (let [macro-char (reader-macros (first alis))]\n (when (and macro-char (= 2 (count alis)))\n (-write *out* macro-char)\n (write-out (second alis))\n true)))\n\n;;======================================================================\n;; Dispatch for the basic data types when interpreted\n;; as data (as opposed to code).\n;;======================================================================\n\n;;; TODO: inline these formatter statements into funcs so that we\n;;; are a little easier on the stack. (Or, do \"real\" compilation, a\n;;; la Common Lisp)\n\n;;; (def pprint-simple-list (formatter-out \"~:<~@{~w~^ ~_~}~:>\"))\n(defn- pprint-simple-list [alis]\n (pprint-logical-block :prefix \"(\" :suffix \")\"\n (print-length-loop [alis (seq alis)]\n (when alis\n (write-out (first alis))\n (when (next alis)\n (-write *out* \" \")\n (pprint-newline :linear)\n (recur (next alis)))))))\n\n(defn- pprint-list [alis]\n (if-not (pprint-reader-macro alis)\n (pprint-simple-list alis)))\n\n;;; (def pprint-vector (formatter-out \"~<[~;~@{~w~^ ~_~}~;]~:>\"))\n(defn- pprint-vector [avec]\n (pprint-logical-block :prefix \"[\" :suffix \"]\"\n (print-length-loop [aseq (seq avec)]\n (when aseq\n (write-out (first aseq))\n (when (next aseq)\n (-write *out* \" \")\n (pprint-newline :linear)\n (recur (next aseq)))))))\n\n(def ^{:private true} pprint-array (formatter-out \"~<[~;~@{~w~^, ~:_~}~;]~:>\"))\n\n;;; (def pprint-map (formatter-out \"~<{~;~@{~<~w~^ ~_~w~:>~^, ~_~}~;}~:>\"))\n(defn- pprint-map [amap]\n (let [[ns lift-map] (when (not (record? amap))\n (#'cljs.core/lift-ns amap))\n amap (or lift-map amap)\n prefix (if ns (str \"#:\" ns \"{\") \"{\")]\n (pprint-logical-block :prefix prefix :suffix \"}\"\n (print-length-loop [aseq (seq amap)]\n (when aseq\n ;;compiler gets confused with nested macro if it isn't namespaced\n ;;it tries to use clojure.pprint/pprint-logical-block for some reason\n (m/pprint-logical-block\n (write-out (ffirst aseq))\n (-write *out* \" \")\n (pprint-newline :linear)\n (set! *current-length* 0) ;always print both parts of the [k v] pair\n (write-out (fnext (first aseq))))\n (when (next aseq)\n (-write *out* \", \")\n (pprint-newline :linear)\n (recur (next aseq))))))))\n\n(defn- pprint-simple-default [obj]\n ;;TODO: Update to handle arrays (?) and suppressing namespaces\n (-write *out* (pr-str obj)))\n\n(def pprint-set (formatter-out \"~<#{~;~@{~w~^ ~:_~}~;}~:>\"))\n\n(def ^{:private true}\ntype-map {\"core$future_call\" \"Future\",\n \"core$promise\" \"Promise\"})\n\n(defn- map-ref-type\n \"Map ugly type names to something simpler\"\n [name]\n (or (when-let [match (re-find #\"^[^$]+\\$[^$]+\" name)]\n (type-map match))\n name))\n\n(defn- pprint-ideref [o]\n (let [prefix (str \"#<\" (map-ref-type (.-name (type o)))\n \"@\" (goog/getUid o) \": \")]\n (pprint-logical-block :prefix prefix :suffix \">\"\n (pprint-indent :block (-> (count prefix) (- 2) -))\n (pprint-newline :linear)\n (write-out\n (if (and (satisfies? IPending o) (not (-realized? o)))\n :not-delivered\n @o)))))\n\n(def ^{:private true} pprint-pqueue (formatter-out \"~<<-(~;~@{~w~^ ~_~}~;)-<~:>\"))\n\n(defn- type-dispatcher [obj]\n (cond\n (instance? PersistentQueue obj) :queue\n (satisfies? IDeref obj) :deref\n (symbol? obj) :symbol\n (seq? obj) :list\n (map? obj) :map\n (vector? obj) :vector\n (set? obj) :set\n (nil? obj) nil\n :default :default))\n\n(defmulti simple-dispatch\n \"The pretty print dispatch function for simple data structure format.\"\n type-dispatcher)\n\n(use-method simple-dispatch :list pprint-list)\n(use-method simple-dispatch :vector pprint-vector)\n(use-method simple-dispatch :map pprint-map)\n(use-method simple-dispatch :set pprint-set)\n(use-method simple-dispatch nil #(-write *out* (pr-str nil)))\n(use-method simple-dispatch :default pprint-simple-default)\n\n(set-pprint-dispatch simple-dispatch)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Dispatch for the code table\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(declare ^{:arglists '([alis])} pprint-simple-code-list)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Format the namespace (\"ns\") macro. This is quite complicated because of all the\n;;; different forms supported and because programmers can choose lists or vectors\n;;; in various places.\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn- brackets\n \"Figure out which kind of brackets to use\"\n [form]\n (if (vector? form)\n [\"[\" \"]\"]\n [\"(\" \")\"]))\n\n(defn- pprint-ns-reference\n \"Pretty print a single reference (import, use, etc.) from a namespace decl\"\n [reference]\n (if (sequential? reference)\n (let [[start end] (brackets reference)\n [keyw & args] reference]\n (pprint-logical-block :prefix start :suffix end\n ((formatter-out \"~w~:i\") keyw)\n (loop [args args]\n (when (seq args)\n ((formatter-out \" \"))\n (let [arg (first args)]\n (if (sequential? arg)\n (let [[start end] (brackets arg)]\n (pprint-logical-block :prefix start :suffix end\n (if (and (= (count arg) 3) (keyword? (second arg)))\n (let [[ns kw lis] arg]\n ((formatter-out \"~w ~w \") ns kw)\n (if (sequential? lis)\n ((formatter-out (if (vector? lis)\n \"~<[~;~@{~w~^ ~:_~}~;]~:>\"\n \"~<(~;~@{~w~^ ~:_~}~;)~:>\"))\n lis)\n (write-out lis)))\n (apply (formatter-out \"~w ~:i~@{~w~^ ~:_~}\") arg)))\n (when (next args)\n ((formatter-out \"~_\"))))\n (do\n (write-out arg)\n (when (next args)\n ((formatter-out \"~:_\"))))))\n (recur (next args))))))\n (write-out reference)))\n\n(defn- pprint-ns\n \"The pretty print dispatch chunk for the ns macro\"\n [alis]\n (if (next alis)\n (let [[ns-sym ns-name & stuff] alis\n [doc-str stuff] (if (string? (first stuff))\n [(first stuff) (next stuff)]\n [nil stuff])\n [attr-map references] (if (map? (first stuff))\n [(first stuff) (next stuff)]\n [nil stuff])]\n (pprint-logical-block :prefix \"(\" :suffix \")\"\n ((formatter-out \"~w ~1I~@_~w\") ns-sym ns-name)\n (when (or doc-str attr-map (seq references))\n ((formatter-out \"~@:_\")))\n (when doc-str\n (cl-format true \"\\\"~a\\\"~:[~;~:@_~]\" doc-str (or attr-map (seq references))))\n (when attr-map\n ((formatter-out \"~w~:[~;~:@_~]\") attr-map (seq references)))\n (loop [references references]\n (pprint-ns-reference (first references))\n (when-let [references (next references)]\n (pprint-newline :linear)\n (recur references)))))\n (write-out alis)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Format something that looks like a simple def (sans metadata, since the reader\n;;; won't give it to us now).\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(def ^{:private true} pprint-hold-first (formatter-out \"~:<~w~^ ~@_~w~^ ~_~@{~w~^ ~_~}~:>\"))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Format something that looks like a defn or defmacro\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;;; Format the params and body of a defn with a single arity\n(defn- single-defn [alis has-doc-str?]\n (if (seq alis)\n (do\n (if has-doc-str?\n ((formatter-out \" ~_\"))\n ((formatter-out \" ~@_\")))\n ((formatter-out \"~{~w~^ ~_~}\") alis))))\n\n;;; Format the param and body sublists of a defn with multiple arities\n(defn- multi-defn [alis has-doc-str?]\n (if (seq alis)\n ((formatter-out \" ~_~{~w~^ ~_~}\") alis)))\n\n;;; TODO: figure out how to support capturing metadata in defns (we might need a\n;;; special reader)\n(defn- pprint-defn [alis]\n (if (next alis)\n (let [[defn-sym defn-name & stuff] alis\n [doc-str stuff] (if (string? (first stuff))\n [(first stuff) (next stuff)]\n [nil stuff])\n [attr-map stuff] (if (map? (first stuff))\n [(first stuff) (next stuff)]\n [nil stuff])]\n (pprint-logical-block :prefix \"(\" :suffix \")\"\n ((formatter-out \"~w ~1I~@_~w\") defn-sym defn-name)\n (if doc-str\n ((formatter-out \" ~_~w\") doc-str))\n (if attr-map\n ((formatter-out \" ~_~w\") attr-map))\n ;; Note: the multi-defn case will work OK for malformed defns too\n (cond\n (vector? (first stuff)) (single-defn stuff (or doc-str attr-map))\n :else (multi-defn stuff (or doc-str attr-map)))))\n (pprint-simple-code-list alis)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Format something with a binding form\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn- pprint-binding-form [binding-vec]\n (pprint-logical-block :prefix \"[\" :suffix \"]\"\n (print-length-loop [binding binding-vec]\n (when (seq binding)\n (pprint-logical-block binding\n (write-out (first binding))\n (when (next binding)\n (-write *out* \" \")\n (pprint-newline :miser)\n (write-out (second binding))))\n (when (next (rest binding))\n (-write *out* \" \")\n (pprint-newline :linear)\n (recur (next (rest binding))))))))\n\n(defn- pprint-let [alis]\n (let [base-sym (first alis)]\n (pprint-logical-block :prefix \"(\" :suffix \")\"\n (if (and (next alis) (vector? (second alis)))\n (do\n ((formatter-out \"~w ~1I~@_\") base-sym)\n (pprint-binding-form (second alis))\n ((formatter-out \" ~_~{~w~^ ~_~}\") (next (rest alis))))\n (pprint-simple-code-list alis)))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; Format something that looks like \"if\"\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(def ^{:private true} pprint-if (formatter-out \"~:<~1I~w~^ ~@_~w~@{ ~_~w~}~:>\"))\n\n(defn- pprint-cond [alis]\n (pprint-logical-block :prefix \"(\" :suffix \")\"\n (pprint-indent :block 1)\n (write-out (first alis))\n (when (next alis)\n (-write *out* \" \")\n (pprint-newline :linear)\n (print-length-loop [alis (next alis)]\n (when alis\n (pprint-logical-block alis\n (write-out (first alis))\n (when (next alis)\n (-write *out* \" \")\n (pprint-newline :miser)\n (write-out (second alis))))\n (when (next (rest alis))\n (-write *out* \" \")\n (pprint-newline :linear)\n (recur (next (rest alis)))))))))\n\n(defn- pprint-condp [alis]\n (if (> (count alis) 3)\n (pprint-logical-block :prefix \"(\" :suffix \")\"\n (pprint-indent :block 1)\n (apply (formatter-out \"~w ~@_~w ~@_~w ~_\") alis)\n (print-length-loop [alis (seq (drop 3 alis))]\n (when alis\n (pprint-logical-block alis\n (write-out (first alis))\n (when (next alis)\n (-write *out* \" \")\n (pprint-newline :miser)\n (write-out (second alis))))\n (when (next (rest alis))\n (-write *out* \" \")\n (pprint-newline :linear)\n (recur (next (rest alis)))))))\n (pprint-simple-code-list alis)))\n\n;;; The map of symbols that are defined in an enclosing #() anonymous function\n(def ^:dynamic ^{:private true} *symbol-map* {})\n\n(defn- pprint-anon-func [alis]\n (let [args (second alis)\n nlis (first (rest (rest alis)))]\n (if (vector? args)\n (binding [*symbol-map* (if (= 1 (count args))\n {(first args) \"%\"}\n (into {}\n (map\n #(vector %1 (str \\% %2))\n args\n (range 1 (inc (count args))))))]\n ((formatter-out \"~<#(~;~@{~w~^ ~_~}~;)~:>\") nlis))\n (pprint-simple-code-list alis))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; The master definitions for formatting lists in code (that is, (fn args...) or\n;;; special forms).\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;;; This is the equivalent of (formatter-out \"~:<~1I~@{~w~^ ~_~}~:>\"), but is\n;;; easier on the stack.\n\n(defn- pprint-simple-code-list [alis]\n (pprint-logical-block :prefix \"(\" :suffix \")\"\n (pprint-indent :block 1)\n (print-length-loop [alis (seq alis)]\n (when alis\n (write-out (first alis))\n (when (next alis)\n (-write *out* \" \")\n (pprint-newline :linear)\n (recur (next alis)))))))\n\n;;; Take a map with symbols as keys and add versions with no namespace.\n;;; That is, if ns/sym->val is in the map, add sym->val to the result.\n(defn- two-forms [amap]\n (into {}\n (mapcat\n identity\n (for [x amap]\n [x [(symbol (name (first x))) (second x)]]))))\n\n(defn- add-core-ns [amap]\n (let [core \"clojure.core\"]\n (into {}\n (map #(let [[s f] %]\n (if (not (or (namespace s) (special-symbol? s)))\n [(symbol core (name s)) f]\n %))\n amap))))\n\n(def ^:dynamic ^{:private true} *code-table*\n (two-forms\n (add-core-ns\n {'def pprint-hold-first, 'defonce pprint-hold-first,\n 'defn pprint-defn, 'defn- pprint-defn, 'defmacro pprint-defn, 'fn pprint-defn,\n 'let pprint-let, 'loop pprint-let, 'binding pprint-let,\n 'with-local-vars pprint-let, 'with-open pprint-let, 'when-let pprint-let,\n 'if-let pprint-let, 'doseq pprint-let, 'dotimes pprint-let,\n 'when-first pprint-let,\n 'if pprint-if, 'if-not pprint-if, 'when pprint-if, 'when-not pprint-if,\n 'cond pprint-cond, 'condp pprint-condp,\n 'fn* pprint-anon-func,\n '. pprint-hold-first, '.. pprint-hold-first, '-> pprint-hold-first,\n 'locking pprint-hold-first, 'struct pprint-hold-first,\n 'struct-map pprint-hold-first, 'ns pprint-ns\n })))\n\n(defn- pprint-code-list [alis]\n (if-not (pprint-reader-macro alis)\n (if-let [special-form (*code-table* (first alis))]\n (special-form alis)\n (pprint-simple-code-list alis))))\n\n(defn- pprint-code-symbol [sym]\n (if-let [arg-num (sym *symbol-map*)]\n (print arg-num)\n (if *print-suppress-namespaces*\n (print (name sym))\n (pr sym))))\n\n(defmulti\n code-dispatch\n \"The pretty print dispatch function for pretty printing Clojure code.\"\n {:added \"1.2\" :arglists '[[object]]}\n type-dispatcher)\n\n(use-method code-dispatch :list pprint-code-list)\n(use-method code-dispatch :symbol pprint-code-symbol)\n\n;; The following are all exact copies of simple-dispatch\n(use-method code-dispatch :vector pprint-vector)\n(use-method code-dispatch :map pprint-map)\n(use-method code-dispatch :set pprint-set)\n(use-method code-dispatch :queue pprint-pqueue)\n(use-method code-dispatch :deref pprint-ideref)\n(use-method code-dispatch nil pr)\n(use-method code-dispatch :default pprint-simple-default)\n\n(set-pprint-dispatch simple-dispatch)\n\n;;; For testing\n(comment\n\n (with-pprint-dispatch code-dispatch\n (pprint\n '(defn cl-format\n \"An implementation of a Common Lisp compatible format function\"\n [stream format-in & args]\n (let [compiled-format (if (string? format-in) (compile-format format-in) format-in)\n navigator (init-navigator args)]\n (execute-format stream compiled-format navigator)))))\n\n (with-pprint-dispatch code-dispatch\n (pprint\n '(defn cl-format\n [stream format-in & args]\n (let [compiled-format (if (string? format-in) (compile-format format-in) format-in)\n navigator (init-navigator args)]\n (execute-format stream compiled-format navigator)))))\n\n (with-pprint-dispatch code-dispatch\n (pprint\n '(defn- -write\n ([this x]\n (condp = (class x)\n String\n (let [s0 (write-initial-lines this x)\n s (.replaceFirst s0 \"\\\\s+$\" \"\")\n white-space (.substring s0 (count s))\n mode (getf :mode)]\n (if (= mode :writing)\n (dosync\n (write-white-space this)\n (.col_write this s)\n (setf :trailing-white-space white-space))\n (add-to-buffer this (make-buffer-blob s white-space))))\n\n Integer\n (let [c ^Character x]\n (if (= (getf :mode) :writing)\n (do\n (write-white-space this)\n (.col_write this x))\n (if (= c (int \\newline))\n (write-initial-lines this \"\\n\")\n (add-to-buffer this (make-buffer-blob (str (char c)) nil))))))))))\n\n (with-pprint-dispatch code-dispatch\n (pprint\n '(defn pprint-defn [writer alis]\n (if (next alis)\n (let [[defn-sym defn-name & stuff] alis\n [doc-str stuff] (if (string? (first stuff))\n [(first stuff) (next stuff)]\n [nil stuff])\n [attr-map stuff] (if (map? (first stuff))\n [(first stuff) (next stuff)]\n [nil stuff])]\n (pprint-logical-block writer :prefix \"(\" :suffix \")\"\n (cl-format true \"~w ~1I~@_~w\" defn-sym defn-name)\n (if doc-str\n (cl-format true \" ~_~w\" doc-str))\n (if attr-map\n (cl-format true \" ~_~w\" attr-map))\n ;; Note: the multi-defn case will work OK for malformed defns too\n (cond\n (vector? (first stuff)) (single-defn stuff (or doc-str attr-map))\n :else (multi-defn stuff (or doc-str attr-map)))))\n (pprint-simple-code-list writer alis)))))\n )\n\n;;======================================================================\n;; print_table.clj\n;;======================================================================\n\n(defn- add-padding [width s]\n (let [padding (max 0 (- width (count s)))]\n (apply str (clojure.string/join (repeat padding \\space)) s)))\n\n(defn print-table\n \"Prints a collection of maps in a textual table. Prints table headings\n ks, and then a line of output for each row, corresponding to the keys\n in ks. If ks are not specified, use the keys of the first item in rows.\"\n {:added \"1.3\"}\n ([ks rows]\n (when (seq rows)\n (let [widths (map\n (fn [k]\n (apply max (count (str k)) (map #(count (str (get % k))) rows)))\n ks)\n spacers (map #(apply str (repeat % \"-\")) widths)\n fmt-row (fn [leader divider trailer row]\n (str leader\n (apply str (interpose divider\n (for [[col width] (map vector (map #(get row %) ks) widths)]\n (add-padding width (str col)))))\n trailer))]\n (cljs.core/println)\n (cljs.core/println (fmt-row \"| \" \" | \" \" |\" (zipmap ks ks)))\n (cljs.core/println (fmt-row \"|-\" \"-+-\" \"-|\" (zipmap ks spacers)))\n (doseq [row rows]\n (cljs.core/println (fmt-row \"| \" \" | \" \" |\" row))))))\n ([rows] (print-table (keys (first rows)) rows)))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.repl.js b/out/cljs-runtime/cljs.repl.js new file mode 100644 index 0000000..d2b6fed --- /dev/null +++ b/out/cljs-runtime/cljs.repl.js @@ -0,0 +1,684 @@ +goog.provide('cljs.repl'); +cljs.repl.print_doc = (function cljs$repl$print_doc(p__35054){ +var map__35055 = p__35054; +var map__35055__$1 = cljs.core.__destructure_map(map__35055); +var m = map__35055__$1; +var n = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35055__$1,new cljs.core.Keyword(null,"ns","ns",441598760)); +var nm = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35055__$1,new cljs.core.Keyword(null,"name","name",1843675177)); +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["-------------------------"], 0)); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (){var or__5045__auto__ = new cljs.core.Keyword(null,"spec","spec",347520401).cljs$core$IFn$_invoke$arity$1(m); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return [(function (){var temp__5823__auto__ = new cljs.core.Keyword(null,"ns","ns",441598760).cljs$core$IFn$_invoke$arity$1(m); +if(cljs.core.truth_(temp__5823__auto__)){ +var ns = temp__5823__auto__; +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(ns),"/"].join(''); +} else { +return null; +} +})(),cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m))].join(''); +} +})()], 0)); + +if(cljs.core.truth_(new cljs.core.Keyword(null,"protocol","protocol",652470118).cljs$core$IFn$_invoke$arity$1(m))){ +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["Protocol"], 0)); +} else { +} + +if(cljs.core.truth_(new cljs.core.Keyword(null,"forms","forms",2045992350).cljs$core$IFn$_invoke$arity$1(m))){ +var seq__35063_35422 = cljs.core.seq(new cljs.core.Keyword(null,"forms","forms",2045992350).cljs$core$IFn$_invoke$arity$1(m)); +var chunk__35064_35423 = null; +var count__35065_35424 = (0); +var i__35066_35425 = (0); +while(true){ +if((i__35066_35425 < count__35065_35424)){ +var f_35427 = chunk__35064_35423.cljs$core$IIndexed$_nth$arity$2(null, i__35066_35425); +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",f_35427], 0)); + + +var G__35429 = seq__35063_35422; +var G__35430 = chunk__35064_35423; +var G__35431 = count__35065_35424; +var G__35432 = (i__35066_35425 + (1)); +seq__35063_35422 = G__35429; +chunk__35064_35423 = G__35430; +count__35065_35424 = G__35431; +i__35066_35425 = G__35432; +continue; +} else { +var temp__5823__auto___35434 = cljs.core.seq(seq__35063_35422); +if(temp__5823__auto___35434){ +var seq__35063_35436__$1 = temp__5823__auto___35434; +if(cljs.core.chunked_seq_QMARK_(seq__35063_35436__$1)){ +var c__5568__auto___35437 = cljs.core.chunk_first(seq__35063_35436__$1); +var G__35438 = cljs.core.chunk_rest(seq__35063_35436__$1); +var G__35439 = c__5568__auto___35437; +var G__35440 = cljs.core.count(c__5568__auto___35437); +var G__35441 = (0); +seq__35063_35422 = G__35438; +chunk__35064_35423 = G__35439; +count__35065_35424 = G__35440; +i__35066_35425 = G__35441; +continue; +} else { +var f_35442 = cljs.core.first(seq__35063_35436__$1); +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",f_35442], 0)); + + +var G__35443 = cljs.core.next(seq__35063_35436__$1); +var G__35444 = null; +var G__35445 = (0); +var G__35446 = (0); +seq__35063_35422 = G__35443; +chunk__35064_35423 = G__35444; +count__35065_35424 = G__35445; +i__35066_35425 = G__35446; +continue; +} +} else { +} +} +break; +} +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m))){ +var arglists_35448 = new cljs.core.Keyword(null,"arglists","arglists",1661989754).cljs$core$IFn$_invoke$arity$1(m); +if(cljs.core.truth_((function (){var or__5045__auto__ = new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return new cljs.core.Keyword(null,"repl-special-function","repl-special-function",1262603725).cljs$core$IFn$_invoke$arity$1(m); +} +})())){ +cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([arglists_35448], 0)); +} else { +cljs.core.prn.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"quote","quote",1377916282,null),cljs.core.first(arglists_35448)))?cljs.core.second(arglists_35448):arglists_35448)], 0)); +} +} else { +} +} + +if(cljs.core.truth_(new cljs.core.Keyword(null,"special-form","special-form",-1326536374).cljs$core$IFn$_invoke$arity$1(m))){ +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["Special Form"], 0)); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m)], 0)); + +if(cljs.core.contains_QMARK_(m,new cljs.core.Keyword(null,"url","url",276297046))){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"url","url",276297046).cljs$core$IFn$_invoke$arity$1(m))){ +return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([["\n Please see http://clojure.org/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"url","url",276297046).cljs$core$IFn$_invoke$arity$1(m))].join('')], 0)); +} else { +return null; +} +} else { +return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([["\n Please see http://clojure.org/special_forms#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(m))].join('')], 0)); +} +} else { +if(cljs.core.truth_(new cljs.core.Keyword(null,"macro","macro",-867863404).cljs$core$IFn$_invoke$arity$1(m))){ +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["Macro"], 0)); +} else { +} + +if(cljs.core.truth_(new cljs.core.Keyword(null,"spec","spec",347520401).cljs$core$IFn$_invoke$arity$1(m))){ +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["Spec"], 0)); +} else { +} + +if(cljs.core.truth_(new cljs.core.Keyword(null,"repl-special-function","repl-special-function",1262603725).cljs$core$IFn$_invoke$arity$1(m))){ +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["REPL Special Function"], 0)); +} else { +} + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",new cljs.core.Keyword(null,"doc","doc",1913296891).cljs$core$IFn$_invoke$arity$1(m)], 0)); + +if(cljs.core.truth_(new cljs.core.Keyword(null,"protocol","protocol",652470118).cljs$core$IFn$_invoke$arity$1(m))){ +var seq__35079_35454 = cljs.core.seq(new cljs.core.Keyword(null,"methods","methods",453930866).cljs$core$IFn$_invoke$arity$1(m)); +var chunk__35080_35455 = null; +var count__35081_35456 = (0); +var i__35082_35457 = (0); +while(true){ +if((i__35082_35457 < count__35081_35456)){ +var vec__35097_35458 = chunk__35080_35455.cljs$core$IIndexed$_nth$arity$2(null, i__35082_35457); +var name_35459 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35097_35458,(0),null); +var map__35100_35460 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35097_35458,(1),null); +var map__35100_35461__$1 = cljs.core.__destructure_map(map__35100_35460); +var doc_35462 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35100_35461__$1,new cljs.core.Keyword(null,"doc","doc",1913296891)); +var arglists_35463 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35100_35461__$1,new cljs.core.Keyword(null,"arglists","arglists",1661989754)); +cljs.core.println(); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",name_35459], 0)); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",arglists_35463], 0)); + +if(cljs.core.truth_(doc_35462)){ +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",doc_35462], 0)); +} else { +} + + +var G__35467 = seq__35079_35454; +var G__35468 = chunk__35080_35455; +var G__35469 = count__35081_35456; +var G__35470 = (i__35082_35457 + (1)); +seq__35079_35454 = G__35467; +chunk__35080_35455 = G__35468; +count__35081_35456 = G__35469; +i__35082_35457 = G__35470; +continue; +} else { +var temp__5823__auto___35471 = cljs.core.seq(seq__35079_35454); +if(temp__5823__auto___35471){ +var seq__35079_35472__$1 = temp__5823__auto___35471; +if(cljs.core.chunked_seq_QMARK_(seq__35079_35472__$1)){ +var c__5568__auto___35474 = cljs.core.chunk_first(seq__35079_35472__$1); +var G__35476 = cljs.core.chunk_rest(seq__35079_35472__$1); +var G__35477 = c__5568__auto___35474; +var G__35478 = cljs.core.count(c__5568__auto___35474); +var G__35479 = (0); +seq__35079_35454 = G__35476; +chunk__35080_35455 = G__35477; +count__35081_35456 = G__35478; +i__35082_35457 = G__35479; +continue; +} else { +var vec__35107_35480 = cljs.core.first(seq__35079_35472__$1); +var name_35481 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35107_35480,(0),null); +var map__35110_35482 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35107_35480,(1),null); +var map__35110_35483__$1 = cljs.core.__destructure_map(map__35110_35482); +var doc_35484 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35110_35483__$1,new cljs.core.Keyword(null,"doc","doc",1913296891)); +var arglists_35485 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35110_35483__$1,new cljs.core.Keyword(null,"arglists","arglists",1661989754)); +cljs.core.println(); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",name_35481], 0)); + +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",arglists_35485], 0)); + +if(cljs.core.truth_(doc_35484)){ +cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" ",doc_35484], 0)); +} else { +} + + +var G__35490 = cljs.core.next(seq__35079_35472__$1); +var G__35491 = null; +var G__35492 = (0); +var G__35493 = (0); +seq__35079_35454 = G__35490; +chunk__35080_35455 = G__35491; +count__35081_35456 = G__35492; +i__35082_35457 = G__35493; +continue; +} +} else { +} +} +break; +} +} else { +} + +if(cljs.core.truth_(n)){ +var temp__5823__auto__ = cljs.spec.alpha.get_spec(cljs.core.symbol.cljs$core$IFn$_invoke$arity$2(cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.ns_name(n)),cljs.core.name(nm))); +if(cljs.core.truth_(temp__5823__auto__)){ +var fnspec = temp__5823__auto__; +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["Spec"], 0)); + +var seq__35112 = cljs.core.seq(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"args","args",1315556576),new cljs.core.Keyword(null,"ret","ret",-468222814),new cljs.core.Keyword(null,"fn","fn",-1175266204)], null)); +var chunk__35113 = null; +var count__35114 = (0); +var i__35115 = (0); +while(true){ +if((i__35115 < count__35114)){ +var role = chunk__35113.cljs$core$IIndexed$_nth$arity$2(null, i__35115); +var temp__5823__auto___35497__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(fnspec,role); +if(cljs.core.truth_(temp__5823__auto___35497__$1)){ +var spec_35498 = temp__5823__auto___35497__$1; +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([["\n ",cljs.core.name(role),":"].join(''),cljs.spec.alpha.describe(spec_35498)], 0)); +} else { +} + + +var G__35499 = seq__35112; +var G__35501 = chunk__35113; +var G__35502 = count__35114; +var G__35503 = (i__35115 + (1)); +seq__35112 = G__35499; +chunk__35113 = G__35501; +count__35114 = G__35502; +i__35115 = G__35503; +continue; +} else { +var temp__5823__auto____$1 = cljs.core.seq(seq__35112); +if(temp__5823__auto____$1){ +var seq__35112__$1 = temp__5823__auto____$1; +if(cljs.core.chunked_seq_QMARK_(seq__35112__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__35112__$1); +var G__35505 = cljs.core.chunk_rest(seq__35112__$1); +var G__35506 = c__5568__auto__; +var G__35507 = cljs.core.count(c__5568__auto__); +var G__35508 = (0); +seq__35112 = G__35505; +chunk__35113 = G__35506; +count__35114 = G__35507; +i__35115 = G__35508; +continue; +} else { +var role = cljs.core.first(seq__35112__$1); +var temp__5823__auto___35509__$2 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(fnspec,role); +if(cljs.core.truth_(temp__5823__auto___35509__$2)){ +var spec_35510 = temp__5823__auto___35509__$2; +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([["\n ",cljs.core.name(role),":"].join(''),cljs.spec.alpha.describe(spec_35510)], 0)); +} else { +} + + +var G__35512 = cljs.core.next(seq__35112__$1); +var G__35513 = null; +var G__35514 = (0); +var G__35515 = (0); +seq__35112 = G__35512; +chunk__35113 = G__35513; +count__35114 = G__35514; +i__35115 = G__35515; +continue; +} +} else { +return null; +} +} +break; +} +} else { +return null; +} +} else { +return null; +} +} +}); +/** + * Constructs a data representation for a Error with keys: + * :cause - root cause message + * :phase - error phase + * :via - cause chain, with cause keys: + * :type - exception class symbol + * :message - exception message + * :data - ex-data + * :at - top stack element + * :trace - root cause stack elements + */ +cljs.repl.Error__GT_map = (function cljs$repl$Error__GT_map(o){ +var base = (function (t){ +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),(((t instanceof cljs.core.ExceptionInfo))?new cljs.core.Symbol("cljs.core","ExceptionInfo","cljs.core/ExceptionInfo",701839050,null):(((t instanceof Error))?cljs.core.symbol.cljs$core$IFn$_invoke$arity$2("js",t.name):null +))], null),(function (){var temp__5823__auto__ = cljs.core.ex_message(t); +if(cljs.core.truth_(temp__5823__auto__)){ +var msg = temp__5823__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"message","message",-406056002),msg], null); +} else { +return null; +} +})(),(function (){var temp__5823__auto__ = cljs.core.ex_data(t); +if(cljs.core.truth_(temp__5823__auto__)){ +var ed = temp__5823__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data","data",-232669377),ed], null); +} else { +return null; +} +})()], 0)); +}); +var via = (function (){var via = cljs.core.PersistentVector.EMPTY; +var t = o; +while(true){ +if(cljs.core.truth_(t)){ +var G__35527 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(via,t); +var G__35528 = cljs.core.ex_cause(t); +via = G__35527; +t = G__35528; +continue; +} else { +return via; +} +break; +} +})(); +var root = cljs.core.peek(via); +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"via","via",-1904457336),cljs.core.vec(cljs.core.map.cljs$core$IFn$_invoke$arity$2(base,via)),new cljs.core.Keyword(null,"trace","trace",-1082747415),null], null),(function (){var temp__5823__auto__ = cljs.core.ex_message(root); +if(cljs.core.truth_(temp__5823__auto__)){ +var root_msg = temp__5823__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"cause","cause",231901252),root_msg], null); +} else { +return null; +} +})(),(function (){var temp__5823__auto__ = cljs.core.ex_data(root); +if(cljs.core.truth_(temp__5823__auto__)){ +var data = temp__5823__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data","data",-232669377),data], null); +} else { +return null; +} +})(),(function (){var temp__5823__auto__ = new cljs.core.Keyword("clojure.error","phase","clojure.error/phase",275140358).cljs$core$IFn$_invoke$arity$1(cljs.core.ex_data(o)); +if(cljs.core.truth_(temp__5823__auto__)){ +var phase = temp__5823__auto__; +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"phase","phase",575722892),phase], null); +} else { +return null; +} +})()], 0)); +}); +/** + * Returns an analysis of the phase, error, cause, and location of an error that occurred + * based on Throwable data, as returned by Throwable->map. All attributes other than phase + * are optional: + * :clojure.error/phase - keyword phase indicator, one of: + * :read-source :compile-syntax-check :compilation :macro-syntax-check :macroexpansion + * :execution :read-eval-result :print-eval-result + * :clojure.error/source - file name (no path) + * :clojure.error/line - integer line number + * :clojure.error/column - integer column number + * :clojure.error/symbol - symbol being expanded/compiled/invoked + * :clojure.error/class - cause exception class symbol + * :clojure.error/cause - cause exception message + * :clojure.error/spec - explain-data for spec error + */ +cljs.repl.ex_triage = (function cljs$repl$ex_triage(datafied_throwable){ +var map__35253 = datafied_throwable; +var map__35253__$1 = cljs.core.__destructure_map(map__35253); +var via = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35253__$1,new cljs.core.Keyword(null,"via","via",-1904457336)); +var trace = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35253__$1,new cljs.core.Keyword(null,"trace","trace",-1082747415)); +var phase = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__35253__$1,new cljs.core.Keyword(null,"phase","phase",575722892),new cljs.core.Keyword(null,"execution","execution",253283524)); +var map__35254 = cljs.core.last(via); +var map__35254__$1 = cljs.core.__destructure_map(map__35254); +var type = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35254__$1,new cljs.core.Keyword(null,"type","type",1174270348)); +var message = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35254__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35254__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var map__35255 = data; +var map__35255__$1 = cljs.core.__destructure_map(map__35255); +var problems = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35255__$1,new cljs.core.Keyword("cljs.spec.alpha","problems","cljs.spec.alpha/problems",447400814)); +var fn = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35255__$1,new cljs.core.Keyword("cljs.spec.alpha","fn","cljs.spec.alpha/fn",408600443)); +var caller = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35255__$1,new cljs.core.Keyword("cljs.spec.test.alpha","caller","cljs.spec.test.alpha/caller",-398302390)); +var map__35256 = new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(cljs.core.first(via)); +var map__35256__$1 = cljs.core.__destructure_map(map__35256); +var top_data = map__35256__$1; +var source = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35256__$1,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397)); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3((function (){var G__35259 = phase; +var G__35259__$1 = (((G__35259 instanceof cljs.core.Keyword))?G__35259.fqn:null); +switch (G__35259__$1) { +case "read-source": +var map__35262 = data; +var map__35262__$1 = cljs.core.__destructure_map(map__35262); +var line = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35262__$1,new cljs.core.Keyword("clojure.error","line","clojure.error/line",-1816287471)); +var column = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35262__$1,new cljs.core.Keyword("clojure.error","column","clojure.error/column",304721553)); +var G__35263 = cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(cljs.core.second(via)),top_data], 0)); +var G__35263__$1 = (cljs.core.truth_(source)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35263,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397),source):G__35263); +var G__35263__$2 = (cljs.core.truth_((function (){var fexpr__35267 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, ["NO_SOURCE_PATH",null,"NO_SOURCE_FILE",null], null), null); +return (fexpr__35267.cljs$core$IFn$_invoke$arity$1 ? fexpr__35267.cljs$core$IFn$_invoke$arity$1(source) : fexpr__35267.call(null, source)); +})())?cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(G__35263__$1,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397)):G__35263__$1); +if(cljs.core.truth_(message)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35263__$2,new cljs.core.Keyword("clojure.error","cause","clojure.error/cause",-1879175742),message); +} else { +return G__35263__$2; +} + +break; +case "compile-syntax-check": +case "compilation": +case "macro-syntax-check": +case "macroexpansion": +var G__35270 = top_data; +var G__35270__$1 = (cljs.core.truth_(source)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35270,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397),source):G__35270); +var G__35270__$2 = (cljs.core.truth_((function (){var fexpr__35271 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, ["NO_SOURCE_PATH",null,"NO_SOURCE_FILE",null], null), null); +return (fexpr__35271.cljs$core$IFn$_invoke$arity$1 ? fexpr__35271.cljs$core$IFn$_invoke$arity$1(source) : fexpr__35271.call(null, source)); +})())?cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(G__35270__$1,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397)):G__35270__$1); +var G__35270__$3 = (cljs.core.truth_(type)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35270__$2,new cljs.core.Keyword("clojure.error","class","clojure.error/class",278435890),type):G__35270__$2); +var G__35270__$4 = (cljs.core.truth_(message)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35270__$3,new cljs.core.Keyword("clojure.error","cause","clojure.error/cause",-1879175742),message):G__35270__$3); +if(cljs.core.truth_(problems)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35270__$4,new cljs.core.Keyword("clojure.error","spec","clojure.error/spec",2055032595),data); +} else { +return G__35270__$4; +} + +break; +case "read-eval-result": +case "print-eval-result": +var vec__35276 = cljs.core.first(trace); +var source__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35276,(0),null); +var method = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35276,(1),null); +var file = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35276,(2),null); +var line = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35276,(3),null); +var G__35279 = top_data; +var G__35279__$1 = (cljs.core.truth_(line)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35279,new cljs.core.Keyword("clojure.error","line","clojure.error/line",-1816287471),line):G__35279); +var G__35279__$2 = (cljs.core.truth_(file)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35279__$1,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397),file):G__35279__$1); +var G__35279__$3 = (cljs.core.truth_((function (){var and__5043__auto__ = source__$1; +if(cljs.core.truth_(and__5043__auto__)){ +return method; +} else { +return and__5043__auto__; +} +})())?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35279__$2,new cljs.core.Keyword("clojure.error","symbol","clojure.error/symbol",1544821994),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[source__$1,method],null))):G__35279__$2); +var G__35279__$4 = (cljs.core.truth_(type)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35279__$3,new cljs.core.Keyword("clojure.error","class","clojure.error/class",278435890),type):G__35279__$3); +if(cljs.core.truth_(message)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35279__$4,new cljs.core.Keyword("clojure.error","cause","clojure.error/cause",-1879175742),message); +} else { +return G__35279__$4; +} + +break; +case "execution": +var vec__35282 = cljs.core.first(trace); +var source__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35282,(0),null); +var method = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35282,(1),null); +var file = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35282,(2),null); +var line = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35282,(3),null); +var file__$1 = cljs.core.first(cljs.core.remove.cljs$core$IFn$_invoke$arity$2((function (p1__35239_SHARP_){ +var or__5045__auto__ = (p1__35239_SHARP_ == null); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var fexpr__35286 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, ["NO_SOURCE_PATH",null,"NO_SOURCE_FILE",null], null), null); +return (fexpr__35286.cljs$core$IFn$_invoke$arity$1 ? fexpr__35286.cljs$core$IFn$_invoke$arity$1(p1__35239_SHARP_) : fexpr__35286.call(null, p1__35239_SHARP_)); +} +}),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"file","file",-1269645878).cljs$core$IFn$_invoke$arity$1(caller),file], null))); +var err_line = (function (){var or__5045__auto__ = new cljs.core.Keyword(null,"line","line",212345235).cljs$core$IFn$_invoke$arity$1(caller); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return line; +} +})(); +var G__35293 = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword("clojure.error","class","clojure.error/class",278435890),type], null); +var G__35293__$1 = (cljs.core.truth_(err_line)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35293,new cljs.core.Keyword("clojure.error","line","clojure.error/line",-1816287471),err_line):G__35293); +var G__35293__$2 = (cljs.core.truth_(message)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35293__$1,new cljs.core.Keyword("clojure.error","cause","clojure.error/cause",-1879175742),message):G__35293__$1); +var G__35293__$3 = (cljs.core.truth_((function (){var or__5045__auto__ = fn; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var and__5043__auto__ = source__$1; +if(cljs.core.truth_(and__5043__auto__)){ +return method; +} else { +return and__5043__auto__; +} +} +})())?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35293__$2,new cljs.core.Keyword("clojure.error","symbol","clojure.error/symbol",1544821994),(function (){var or__5045__auto__ = fn; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[source__$1,method],null)); +} +})()):G__35293__$2); +var G__35293__$4 = (cljs.core.truth_(file__$1)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35293__$3,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397),file__$1):G__35293__$3); +if(cljs.core.truth_(problems)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__35293__$4,new cljs.core.Keyword("clojure.error","spec","clojure.error/spec",2055032595),data); +} else { +return G__35293__$4; +} + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__35259__$1)].join(''))); + +} +})(),new cljs.core.Keyword("clojure.error","phase","clojure.error/phase",275140358),phase); +}); +/** + * Returns a string from exception data, as produced by ex-triage. + * The first line summarizes the exception phase and location. + * The subsequent lines describe the cause. + */ +cljs.repl.ex_str = (function cljs$repl$ex_str(p__35314){ +var map__35315 = p__35314; +var map__35315__$1 = cljs.core.__destructure_map(map__35315); +var triage_data = map__35315__$1; +var phase = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","phase","clojure.error/phase",275140358)); +var source = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","source","clojure.error/source",-2011936397)); +var line = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","line","clojure.error/line",-1816287471)); +var column = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","column","clojure.error/column",304721553)); +var symbol = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","symbol","clojure.error/symbol",1544821994)); +var class$ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","class","clojure.error/class",278435890)); +var cause = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","cause","clojure.error/cause",-1879175742)); +var spec = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35315__$1,new cljs.core.Keyword("clojure.error","spec","clojure.error/spec",2055032595)); +var loc = [cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var or__5045__auto__ = source; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return ""; +} +})()),":",cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var or__5045__auto__ = line; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (1); +} +})()),(cljs.core.truth_(column)?[":",cljs.core.str.cljs$core$IFn$_invoke$arity$1(column)].join(''):"")].join(''); +var class_name = cljs.core.name((function (){var or__5045__auto__ = class$; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return ""; +} +})()); +var simple_class = class_name; +var cause_type = ((cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, ["RuntimeException",null,"Exception",null], null), null),simple_class))?"":[" (",simple_class,")"].join('')); +var format = goog.string.format; +var G__35331 = phase; +var G__35331__$1 = (((G__35331 instanceof cljs.core.Keyword))?G__35331.fqn:null); +switch (G__35331__$1) { +case "read-source": +return (format.cljs$core$IFn$_invoke$arity$3 ? format.cljs$core$IFn$_invoke$arity$3("Syntax error reading source at (%s).\n%s\n",loc,cause) : format.call(null, "Syntax error reading source at (%s).\n%s\n",loc,cause)); + +break; +case "macro-syntax-check": +var G__35345 = "Syntax error macroexpanding %sat (%s).\n%s"; +var G__35346 = (cljs.core.truth_(symbol)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(symbol)," "].join(''):""); +var G__35347 = loc; +var G__35348 = (cljs.core.truth_(spec)?(function (){var sb__5690__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR__orig_val__35350_35593 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR__orig_val__35351_35594 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR__temp_val__35352_35595 = true; +var _STAR_print_fn_STAR__temp_val__35353_35596 = (function (x__5691__auto__){ +return sb__5690__auto__.append(x__5691__auto__); +}); +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__temp_val__35352_35595); + +(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__temp_val__35353_35596); + +try{cljs.spec.alpha.explain_out(cljs.core.update.cljs$core$IFn$_invoke$arity$3(spec,new cljs.core.Keyword("cljs.spec.alpha","problems","cljs.spec.alpha/problems",447400814),(function (probs){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__35305_SHARP_){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(p1__35305_SHARP_,new cljs.core.Keyword(null,"in","in",-1531184865)); +}),probs); +})) +); +}finally {(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__orig_val__35351_35594); + +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__orig_val__35350_35593); +} +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__5690__auto__); +})():(format.cljs$core$IFn$_invoke$arity$2 ? format.cljs$core$IFn$_invoke$arity$2("%s\n",cause) : format.call(null, "%s\n",cause))); +return (format.cljs$core$IFn$_invoke$arity$4 ? format.cljs$core$IFn$_invoke$arity$4(G__35345,G__35346,G__35347,G__35348) : format.call(null, G__35345,G__35346,G__35347,G__35348)); + +break; +case "macroexpansion": +var G__35358 = "Unexpected error%s macroexpanding %sat (%s).\n%s\n"; +var G__35359 = cause_type; +var G__35360 = (cljs.core.truth_(symbol)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(symbol)," "].join(''):""); +var G__35361 = loc; +var G__35362 = cause; +return (format.cljs$core$IFn$_invoke$arity$5 ? format.cljs$core$IFn$_invoke$arity$5(G__35358,G__35359,G__35360,G__35361,G__35362) : format.call(null, G__35358,G__35359,G__35360,G__35361,G__35362)); + +break; +case "compile-syntax-check": +var G__35366 = "Syntax error%s compiling %sat (%s).\n%s\n"; +var G__35367 = cause_type; +var G__35368 = (cljs.core.truth_(symbol)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(symbol)," "].join(''):""); +var G__35369 = loc; +var G__35370 = cause; +return (format.cljs$core$IFn$_invoke$arity$5 ? format.cljs$core$IFn$_invoke$arity$5(G__35366,G__35367,G__35368,G__35369,G__35370) : format.call(null, G__35366,G__35367,G__35368,G__35369,G__35370)); + +break; +case "compilation": +var G__35377 = "Unexpected error%s compiling %sat (%s).\n%s\n"; +var G__35378 = cause_type; +var G__35379 = (cljs.core.truth_(symbol)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(symbol)," "].join(''):""); +var G__35380 = loc; +var G__35381 = cause; +return (format.cljs$core$IFn$_invoke$arity$5 ? format.cljs$core$IFn$_invoke$arity$5(G__35377,G__35378,G__35379,G__35380,G__35381) : format.call(null, G__35377,G__35378,G__35379,G__35380,G__35381)); + +break; +case "read-eval-result": +return (format.cljs$core$IFn$_invoke$arity$5 ? format.cljs$core$IFn$_invoke$arity$5("Error reading eval result%s at %s (%s).\n%s\n",cause_type,symbol,loc,cause) : format.call(null, "Error reading eval result%s at %s (%s).\n%s\n",cause_type,symbol,loc,cause)); + +break; +case "print-eval-result": +return (format.cljs$core$IFn$_invoke$arity$5 ? format.cljs$core$IFn$_invoke$arity$5("Error printing return value%s at %s (%s).\n%s\n",cause_type,symbol,loc,cause) : format.call(null, "Error printing return value%s at %s (%s).\n%s\n",cause_type,symbol,loc,cause)); + +break; +case "execution": +if(cljs.core.truth_(spec)){ +var G__35384 = "Execution error - invalid arguments to %s at (%s).\n%s"; +var G__35385 = symbol; +var G__35386 = loc; +var G__35387 = (function (){var sb__5690__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR__orig_val__35388_35615 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR__orig_val__35389_35616 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR__temp_val__35390_35617 = true; +var _STAR_print_fn_STAR__temp_val__35391_35618 = (function (x__5691__auto__){ +return sb__5690__auto__.append(x__5691__auto__); +}); +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__temp_val__35390_35617); + +(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__temp_val__35391_35618); + +try{cljs.spec.alpha.explain_out(cljs.core.update.cljs$core$IFn$_invoke$arity$3(spec,new cljs.core.Keyword("cljs.spec.alpha","problems","cljs.spec.alpha/problems",447400814),(function (probs){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__35309_SHARP_){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(p1__35309_SHARP_,new cljs.core.Keyword(null,"in","in",-1531184865)); +}),probs); +})) +); +}finally {(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__orig_val__35389_35616); + +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__orig_val__35388_35615); +} +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__5690__auto__); +})(); +return (format.cljs$core$IFn$_invoke$arity$4 ? format.cljs$core$IFn$_invoke$arity$4(G__35384,G__35385,G__35386,G__35387) : format.call(null, G__35384,G__35385,G__35386,G__35387)); +} else { +var G__35400 = "Execution error%s at %s(%s).\n%s\n"; +var G__35401 = cause_type; +var G__35402 = (cljs.core.truth_(symbol)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(symbol)," "].join(''):""); +var G__35403 = loc; +var G__35404 = cause; +return (format.cljs$core$IFn$_invoke$arity$5 ? format.cljs$core$IFn$_invoke$arity$5(G__35400,G__35401,G__35402,G__35403,G__35404) : format.call(null, G__35400,G__35401,G__35402,G__35403,G__35404)); +} + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__35331__$1)].join(''))); + +} +}); +cljs.repl.error__GT_str = (function cljs$repl$error__GT_str(error){ +return cljs.repl.ex_str(cljs.repl.ex_triage(cljs.repl.Error__GT_map(error))); +}); + +//# sourceMappingURL=cljs.repl.js.map diff --git a/out/cljs-runtime/cljs.repl.js.map b/out/cljs-runtime/cljs.repl.js.map new file mode 100644 index 0000000..5cf80c5 --- /dev/null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B,mBAAA,KAAAC;AAAA,AAAA,IAAA+B,kDAAA7B;IAAA8B,6CAAA5B;IAAA6B,kDAAA;IAAAC,6CAAA,WAAA3B;AAAA,AAAA,OAAAR,wBAAAQ;;AAAA,AAAA,CAAAL,sCAAA+B;;AAAA,CAAA7B,iCAAA8B;;AAAA,IAAA,AACE,AAAC1B,4BACC,AACE,oDAAA,pDAACC,+CAAOzF,8FACN,WAAK0F;AAAL,AAAY,mDAAA,WAAAyB,vDAAChG;AAAD,AAAM,sDAAAgG,iBAAA,hEAACrE;GAAc4C;;;UAJzC,AAAA,CAAAN,iCAAA4B;;AAAA,CAAA9B,sCAAA6B;;AAAA,mDAAAhC;;AAHF,AAAA,oFAAA4B,SAAAC,SAAAC,SAAAC,8BAAAH,SAAAC,SAAAC,SAAAC,hKAACtC,uCAAAA,4EAAAA;;AASD,IAAA4C,WAAA;IAAAC,WACE9C;IADF+C,WAEE,6FAAA,3EAAItD,QAAO,qDAAA,RAAKA;IAFlBuD,WAGEnD;IAHFoD,WAIEtD;AAJF,AAAA,oFAAAkD,SAAAC,SAAAC,SAAAC,SAAAC,8BAAAJ,SAAAC,SAAAC,SAAAC,SAAAC,lLAAChD,uCAAAA,qFAAAA;;;;;AAvDL,MAAA,KAAAhE,MAAA,CAAA,mEAAAkE;;;;AA6DJ,0BAAA,1BAAM+C,4DAAYC;AAAlB,AACE,OAAC3D,iBAAO,AAACxC,oBAAU,AAACrB,wBAAWwH","names":["p__35054","map__35055","cljs.core/--destructure-map","cljs.core.get","cljs.repl/print-doc","n","nm","m","cljs.core.println","or__5045__auto__","temp__5823__auto__","ns","seq__35063","cljs.core/seq","chunk__35064","count__35065","i__35066","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","cljs.core/count","cljs.core/first","cljs.core/next","f","arglists","cljs.core.prn","cljs.core._EQ_","cljs.core/second","cljs.core/contains?","seq__35079","chunk__35080","count__35081","i__35082","vec__35097","cljs.core.nth","map__35100","vec__35107","map__35110","name","doc","cljs.core/println","fnspec","cljs.spec.alpha/get-spec","cljs.core.symbol","cljs.core/ns-name","cljs.core/name","cljs.core.print","seq__35112","chunk__35113","count__35114","i__35115","role","spec","cljs.spec.alpha/describe","cljs.repl/Error->map","o","base","t","cljs.core.merge","cljs.core/ExceptionInfo","js/Error","msg","cljs.core/ex-message","ed","cljs.core/ex-data","via","cljs.core.conj","cljs.core/ex-cause","root","cljs.core/peek","cljs.core/vec","cljs.core.map","root-msg","data","phase","cljs.repl/ex-triage","datafied-throwable","map__35253","map__35254","map__35255","map__35256","source","trace","type","message","cljs.core/last","problems","fn","caller","top-data","cljs.core.assoc","G__35259","cljs.core/Keyword","map__35262","line","column","G__35263","fexpr__35267","cljs.core.dissoc","G__35270","fexpr__35271","vec__35276","method","file","G__35279","and__5043__auto__","cljs.core/PersistentVector","vec__35282","p1__35239#","cljs.core.remove","fexpr__35286","err-line","G__35293","p__35314","map__35315","cljs.repl/ex-str","symbol","class","cause","triage-data","loc","class-name","simple-class","cause-type","format","goog.string/format","G__35331","G__35345","G__35346","G__35347","G__35348","sb__5690__auto__","goog.string/StringBuffer","*print-newline*-orig-val__35350","cljs.core/*print-newline*","*print-fn*-orig-val__35351","cljs.core/*print-fn*","*print-newline*-temp-val__35352","*print-fn*-temp-val__35353","x__5691__auto__","cljs.spec.alpha/explain-out","cljs.core.update","probs","p1__35305#","G__35358","G__35359","G__35360","G__35361","G__35362","G__35366","G__35367","G__35368","G__35369","G__35370","G__35377","G__35378","G__35379","G__35380","G__35381","G__35384","G__35385","G__35386","G__35387","*print-newline*-orig-val__35388","*print-fn*-orig-val__35389","*print-newline*-temp-val__35390","*print-fn*-temp-val__35391","p1__35309#","G__35400","G__35401","G__35402","G__35403","G__35404","cljs.repl/error->str","error"],"sourcesContent":[";; Copyright (c) Rich Hickey. All rights reserved.\n;; The use and distribution terms for this software are covered by the\n;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n;; which can be found in the file epl-v10.html at the root of this distribution.\n;; By using this software in any fashion, you are agreeing to be bound by\n;; the terms of this license.\n;; You must not remove this notice, or any other, from this software.\n\n(ns cljs.repl\n (:require-macros cljs.repl)\n (:require [cljs.spec.alpha :as spec]\n [goog.string :as gstring]\n [goog.string.format]))\n\n(defn print-doc [{n :ns nm :name :as m}]\n (println \"-------------------------\")\n (println (or (:spec m) (str (when-let [ns (:ns m)] (str ns \"/\")) (:name m))))\n (when (:protocol m)\n (println \"Protocol\"))\n (cond\n (:forms m) (doseq [f (:forms m)]\n (println \" \" f))\n (:arglists m) (let [arglists (:arglists m)]\n (if (or (:macro m)\n (:repl-special-function m))\n (prn arglists)\n (prn\n (if (= 'quote (first arglists))\n (second arglists)\n arglists)))))\n (if (:special-form m)\n (do\n (println \"Special Form\")\n (println \" \" (:doc m))\n (if (contains? m :url)\n (when (:url m)\n (println (str \"\\n Please see http://clojure.org/\" (:url m))))\n (println (str \"\\n Please see http://clojure.org/special_forms#\"\n (:name m)))))\n (do\n (when (:macro m)\n (println \"Macro\"))\n (when (:spec m)\n (println \"Spec\"))\n (when (:repl-special-function m)\n (println \"REPL Special Function\"))\n (println \" \" (:doc m))\n (when (:protocol m)\n (doseq [[name {:keys [doc arglists]}] (:methods m)]\n (println)\n (println \" \" name)\n (println \" \" arglists)\n (when doc\n (println \" \" doc))))\n (when n\n (when-let [fnspec (spec/get-spec (symbol (str (ns-name n)) (name nm)))]\n (print \"Spec\")\n (doseq [role [:args :ret :fn]]\n (when-let [spec (get fnspec role)]\n (print (str \"\\n \" (name role) \":\") (spec/describe spec)))))))))\n\n(defn Error->map\n \"Constructs a data representation for a Error with keys:\n :cause - root cause message\n :phase - error phase\n :via - cause chain, with cause keys:\n :type - exception class symbol\n :message - exception message\n :data - ex-data\n :at - top stack element\n :trace - root cause stack elements\"\n [o]\n (let [base (fn [t]\n (merge {:type (cond\n (instance? ExceptionInfo t) `ExceptionInfo\n (instance? js/Error t) (symbol \"js\" (.-name t))\n :else nil)}\n (when-let [msg (ex-message t)]\n {:message msg})\n (when-let [ed (ex-data t)]\n {:data ed})\n #_(let [st (extract-canonical-stacktrace t)]\n (when (pos? (count st))\n {:at st}))))\n via (loop [via [], t o]\n (if t\n (recur (conj via t) (ex-cause t))\n via))\n root (peek via)]\n (merge {:via (vec (map base via))\n :trace nil #_(extract-canonical-stacktrace (or root o))}\n (when-let [root-msg (ex-message root)]\n {:cause root-msg})\n (when-let [data (ex-data root)]\n {:data data})\n (when-let [phase (-> o ex-data :clojure.error/phase)]\n {:phase phase}))))\n\n(defn ex-triage\n \"Returns an analysis of the phase, error, cause, and location of an error that occurred\n based on Throwable data, as returned by Throwable->map. All attributes other than phase\n are optional:\n :clojure.error/phase - keyword phase indicator, one of:\n :read-source :compile-syntax-check :compilation :macro-syntax-check :macroexpansion\n :execution :read-eval-result :print-eval-result\n :clojure.error/source - file name (no path)\n :clojure.error/line - integer line number\n :clojure.error/column - integer column number\n :clojure.error/symbol - symbol being expanded/compiled/invoked\n :clojure.error/class - cause exception class symbol\n :clojure.error/cause - cause exception message\n :clojure.error/spec - explain-data for spec error\"\n [datafied-throwable]\n (let [{:keys [via trace phase] :or {phase :execution}} datafied-throwable\n {:keys [type message data]} (last via)\n {:cljs.spec.alpha/keys [problems fn] :cljs.spec.test.alpha/keys [caller]} data\n {:keys [:clojure.error/source] :as top-data} (:data (first via))]\n (assoc\n (case phase\n :read-source\n (let [{:keys [:clojure.error/line :clojure.error/column]} data]\n (cond-> (merge (-> via second :data) top-data)\n source (assoc :clojure.error/source source)\n (#{\"NO_SOURCE_FILE\" \"NO_SOURCE_PATH\"} source) (dissoc :clojure.error/source)\n message (assoc :clojure.error/cause message)))\n\n (:compile-syntax-check :compilation :macro-syntax-check :macroexpansion)\n (cond-> top-data\n source (assoc :clojure.error/source source)\n (#{\"NO_SOURCE_FILE\" \"NO_SOURCE_PATH\"} source) (dissoc :clojure.error/source)\n type (assoc :clojure.error/class type)\n message (assoc :clojure.error/cause message)\n problems (assoc :clojure.error/spec data))\n\n (:read-eval-result :print-eval-result)\n (let [[source method file line] (-> trace first)]\n (cond-> top-data\n line (assoc :clojure.error/line line)\n file (assoc :clojure.error/source file)\n (and source method) (assoc :clojure.error/symbol (vector #_java-loc->source source method))\n type (assoc :clojure.error/class type)\n message (assoc :clojure.error/cause message)))\n\n :execution\n (let [[source method file line] (->> trace #_(drop-while #(core-class? (name (first %)))) first)\n file (first (remove #(or (nil? %) (#{\"NO_SOURCE_FILE\" \"NO_SOURCE_PATH\"} %)) [(:file caller) file]))\n err-line (or (:line caller) line)]\n (cond-> {:clojure.error/class type}\n err-line (assoc :clojure.error/line err-line)\n message (assoc :clojure.error/cause message)\n (or fn (and source method)) (assoc :clojure.error/symbol (or fn (vector #_java-loc->source source method)))\n file (assoc :clojure.error/source file)\n problems (assoc :clojure.error/spec data))))\n :clojure.error/phase phase)))\n\n(defn ex-str\n \"Returns a string from exception data, as produced by ex-triage.\n The first line summarizes the exception phase and location.\n The subsequent lines describe the cause.\"\n [{:clojure.error/keys [phase source line column symbol class cause spec] :as triage-data}]\n (let [loc (str (or source \"\") \":\" (or line 1) (if column (str \":\" column) \"\"))\n class-name (name (or class \"\"))\n simple-class class-name\n cause-type (if (contains? #{\"Exception\" \"RuntimeException\"} simple-class)\n \"\" ;; omit, not useful\n (str \" (\" simple-class \")\"))\n format gstring/format]\n (case phase\n :read-source\n (format \"Syntax error reading source at (%s).\\n%s\\n\" loc cause)\n\n :macro-syntax-check\n (format \"Syntax error macroexpanding %sat (%s).\\n%s\"\n (if symbol (str symbol \" \") \"\")\n loc\n (if spec\n (with-out-str\n (spec/explain-out\n (if true #_(= s/*explain-out* s/explain-printer)\n (update spec ::spec/problems\n (fn [probs] (map #(dissoc % :in) probs)))\n spec)))\n (format \"%s\\n\" cause)))\n\n :macroexpansion\n (format \"Unexpected error%s macroexpanding %sat (%s).\\n%s\\n\"\n cause-type\n (if symbol (str symbol \" \") \"\")\n loc\n cause)\n\n :compile-syntax-check\n (format \"Syntax error%s compiling %sat (%s).\\n%s\\n\"\n cause-type\n (if symbol (str symbol \" \") \"\")\n loc\n cause)\n\n :compilation\n (format \"Unexpected error%s compiling %sat (%s).\\n%s\\n\"\n cause-type\n (if symbol (str symbol \" \") \"\")\n loc\n cause)\n\n :read-eval-result\n (format \"Error reading eval result%s at %s (%s).\\n%s\\n\" cause-type symbol loc cause)\n\n :print-eval-result\n (format \"Error printing return value%s at %s (%s).\\n%s\\n\" cause-type symbol loc cause)\n\n :execution\n (if spec\n (format \"Execution error - invalid arguments to %s at (%s).\\n%s\"\n symbol\n loc\n (with-out-str\n (spec/explain-out\n (if true #_(= s/*explain-out* s/explain-printer)\n (update spec ::spec/problems\n (fn [probs] (map #(dissoc % :in) probs)))\n spec))))\n (format \"Execution error%s at %s(%s).\\n%s\\n\"\n cause-type\n (if symbol (str symbol \" \") \"\")\n loc\n cause)))))\n\n(defn error->str [error]\n (ex-str (ex-triage (Error->map error))))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.spec.alpha.js b/out/cljs-runtime/cljs.spec.alpha.js new file mode 100644 index 0000000..79027e5 --- /dev/null +++ b/out/cljs-runtime/cljs.spec.alpha.js @@ -0,0 +1,5283 @@ +goog.provide('cljs.spec.alpha'); +goog.scope(function(){ + cljs.spec.alpha.goog$module$goog$object = goog.module.get('goog.object'); +}); +cljs.spec.alpha.MAX_INT = (9007199254740991); +/** + * A soft limit on how many times a branching spec (or/alt/* /opt-keys/multi-spec) + * can be recursed through during generation. After this a + * non-recursive branch will be chosen. + */ +cljs.spec.alpha._STAR_recursion_limit_STAR_ = (4); +/** + * The number of times an anonymous fn specified by fspec will be (generatively) tested during conform + */ +cljs.spec.alpha._STAR_fspec_iterations_STAR_ = (21); +/** + * The number of items validated in a collection spec'ed with 'every' + */ +cljs.spec.alpha._STAR_coll_check_limit_STAR_ = (101); +/** + * The number of errors reported by explain in a collection spec'ed with 'every' + */ +cljs.spec.alpha._STAR_coll_error_limit_STAR_ = (20); + +/** + * @interface + */ +cljs.spec.alpha.Spec = function(){}; + +var cljs$spec$alpha$Spec$conform_STAR_$dyn_35033 = (function (spec,x){ +var x__5393__auto__ = (((spec == null))?null:spec); +var m__5394__auto__ = (cljs.spec.alpha.conform_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(spec,x) : m__5394__auto__.call(null, spec,x)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.conform_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(spec,x) : m__5392__auto__.call(null, spec,x)); +} else { +throw cljs.core.missing_protocol("Spec.conform*",spec); +} +} +}); +cljs.spec.alpha.conform_STAR_ = (function cljs$spec$alpha$conform_STAR_(spec,x){ +if((((!((spec == null)))) && ((!((spec.cljs$spec$alpha$Spec$conform_STAR_$arity$2 == null)))))){ +return spec.cljs$spec$alpha$Spec$conform_STAR_$arity$2(spec,x); +} else { +return cljs$spec$alpha$Spec$conform_STAR_$dyn_35033(spec,x); +} +}); + +var cljs$spec$alpha$Spec$unform_STAR_$dyn_35035 = (function (spec,y){ +var x__5393__auto__ = (((spec == null))?null:spec); +var m__5394__auto__ = (cljs.spec.alpha.unform_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(spec,y) : m__5394__auto__.call(null, spec,y)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.unform_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(spec,y) : m__5392__auto__.call(null, spec,y)); +} else { +throw cljs.core.missing_protocol("Spec.unform*",spec); +} +} +}); +cljs.spec.alpha.unform_STAR_ = (function cljs$spec$alpha$unform_STAR_(spec,y){ +if((((!((spec == null)))) && ((!((spec.cljs$spec$alpha$Spec$unform_STAR_$arity$2 == null)))))){ +return spec.cljs$spec$alpha$Spec$unform_STAR_$arity$2(spec,y); +} else { +return cljs$spec$alpha$Spec$unform_STAR_$dyn_35035(spec,y); +} +}); + +var cljs$spec$alpha$Spec$explain_STAR_$dyn_35044 = (function (spec,path,via,in$,x){ +var x__5393__auto__ = (((spec == null))?null:spec); +var m__5394__auto__ = (cljs.spec.alpha.explain_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$5 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$5(spec,path,via,in$,x) : m__5394__auto__.call(null, spec,path,via,in$,x)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.explain_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$5 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$5(spec,path,via,in$,x) : m__5392__auto__.call(null, spec,path,via,in$,x)); +} else { +throw cljs.core.missing_protocol("Spec.explain*",spec); +} +} +}); +cljs.spec.alpha.explain_STAR_ = (function cljs$spec$alpha$explain_STAR_(spec,path,via,in$,x){ +if((((!((spec == null)))) && ((!((spec.cljs$spec$alpha$Spec$explain_STAR_$arity$5 == null)))))){ +return spec.cljs$spec$alpha$Spec$explain_STAR_$arity$5(spec,path,via,in$,x); +} else { +return cljs$spec$alpha$Spec$explain_STAR_$dyn_35044(spec,path,via,in$,x); +} +}); + +var cljs$spec$alpha$Spec$gen_STAR_$dyn_35048 = (function (spec,overrides,path,rmap){ +var x__5393__auto__ = (((spec == null))?null:spec); +var m__5394__auto__ = (cljs.spec.alpha.gen_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$4(spec,overrides,path,rmap) : m__5394__auto__.call(null, spec,overrides,path,rmap)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.gen_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$4(spec,overrides,path,rmap) : m__5392__auto__.call(null, spec,overrides,path,rmap)); +} else { +throw cljs.core.missing_protocol("Spec.gen*",spec); +} +} +}); +cljs.spec.alpha.gen_STAR_ = (function cljs$spec$alpha$gen_STAR_(spec,overrides,path,rmap){ +if((((!((spec == null)))) && ((!((spec.cljs$spec$alpha$Spec$gen_STAR_$arity$4 == null)))))){ +return spec.cljs$spec$alpha$Spec$gen_STAR_$arity$4(spec,overrides,path,rmap); +} else { +return cljs$spec$alpha$Spec$gen_STAR_$dyn_35048(spec,overrides,path,rmap); +} +}); + +var cljs$spec$alpha$Spec$with_gen_STAR_$dyn_35052 = (function (spec,gfn){ +var x__5393__auto__ = (((spec == null))?null:spec); +var m__5394__auto__ = (cljs.spec.alpha.with_gen_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(spec,gfn) : m__5394__auto__.call(null, spec,gfn)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.with_gen_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(spec,gfn) : m__5392__auto__.call(null, spec,gfn)); +} else { +throw cljs.core.missing_protocol("Spec.with-gen*",spec); +} +} +}); +cljs.spec.alpha.with_gen_STAR_ = (function cljs$spec$alpha$with_gen_STAR_(spec,gfn){ +if((((!((spec == null)))) && ((!((spec.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 == null)))))){ +return spec.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2(spec,gfn); +} else { +return cljs$spec$alpha$Spec$with_gen_STAR_$dyn_35052(spec,gfn); +} +}); + +var cljs$spec$alpha$Spec$describe_STAR_$dyn_35057 = (function (spec){ +var x__5393__auto__ = (((spec == null))?null:spec); +var m__5394__auto__ = (cljs.spec.alpha.describe_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(spec) : m__5394__auto__.call(null, spec)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.describe_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(spec) : m__5392__auto__.call(null, spec)); +} else { +throw cljs.core.missing_protocol("Spec.describe*",spec); +} +} +}); +cljs.spec.alpha.describe_STAR_ = (function cljs$spec$alpha$describe_STAR_(spec){ +if((((!((spec == null)))) && ((!((spec.cljs$spec$alpha$Spec$describe_STAR_$arity$1 == null)))))){ +return spec.cljs$spec$alpha$Spec$describe_STAR_$arity$1(spec); +} else { +return cljs$spec$alpha$Spec$describe_STAR_$dyn_35057(spec); +} +}); + +if((typeof cljs !== 'undefined') && (typeof cljs.spec !== 'undefined') && (typeof cljs.spec.alpha !== 'undefined') && (typeof cljs.spec.alpha.registry_ref !== 'undefined')){ +} else { +cljs.spec.alpha.registry_ref = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +} +cljs.spec.alpha.deep_resolve = (function cljs$spec$alpha$deep_resolve(reg,k){ +var spec = k; +while(true){ +if(cljs.core.ident_QMARK_(spec)){ +var G__35062 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(reg,spec); +spec = G__35062; +continue; +} else { +return spec; +} +break; +} +}); +/** + * returns the spec/regex at end of alias chain starting with k, nil if not found, k if k not ident + */ +cljs.spec.alpha.reg_resolve = (function cljs$spec$alpha$reg_resolve(k){ +if(cljs.core.ident_QMARK_(k)){ +var reg = cljs.core.deref(cljs.spec.alpha.registry_ref); +var spec = cljs.core.get.cljs$core$IFn$_invoke$arity$2(reg,k); +if((!(cljs.core.ident_QMARK_(spec)))){ +return spec; +} else { +return cljs.spec.alpha.deep_resolve(reg,spec); +} +} else { +return k; +} +}); +/** + * returns the spec/regex at end of alias chain starting with k, throws if not found, k if k not ident + */ +cljs.spec.alpha.reg_resolve_BANG_ = (function cljs$spec$alpha$reg_resolve_BANG_(k){ +if(cljs.core.ident_QMARK_(k)){ +var or__5045__auto__ = cljs.spec.alpha.reg_resolve(k); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +throw (new Error(["Unable to resolve spec: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(k)].join(''))); +} +} else { +return k; +} +}); +/** + * returns x if x is a spec object, else logical false + */ +cljs.spec.alpha.spec_QMARK_ = (function cljs$spec$alpha$spec_QMARK_(x){ +if((((!((x == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$spec$alpha$Spec$))))?true:false):false)){ +return x; +} else { +return null; +} +}); +/** + * returns x if x is a (cljs.spec.alpha) regex op, else logical false + */ +cljs.spec.alpha.regex_QMARK_ = (function cljs$spec$alpha$regex_QMARK_(x){ +var and__5043__auto__ = new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252).cljs$core$IFn$_invoke$arity$1(x); +if(cljs.core.truth_(and__5043__auto__)){ +return x; +} else { +return and__5043__auto__; +} +}); +cljs.spec.alpha.with_name = (function cljs$spec$alpha$with_name(spec,name){ +if(cljs.core.ident_QMARK_(spec)){ +return spec; +} else { +if(cljs.core.truth_(cljs.spec.alpha.regex_QMARK_(spec))){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(spec,new cljs.core.Keyword("cljs.spec.alpha","name","cljs.spec.alpha/name",205233570),name); +} else { +if((((!((spec == null))))?(((((spec.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === spec.cljs$core$IMeta$))))?true:false):false)){ +return cljs.core.with_meta(spec,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.meta(spec),new cljs.core.Keyword("cljs.spec.alpha","name","cljs.spec.alpha/name",205233570),name)); +} else { +return null; +} +} +} +}); +cljs.spec.alpha.spec_name = (function cljs$spec$alpha$spec_name(spec){ +if(cljs.core.ident_QMARK_(spec)){ +return spec; +} else { +if(cljs.core.truth_(cljs.spec.alpha.regex_QMARK_(spec))){ +return new cljs.core.Keyword("cljs.spec.alpha","name","cljs.spec.alpha/name",205233570).cljs$core$IFn$_invoke$arity$1(spec); +} else { +if((((!((spec == null))))?(((((spec.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === spec.cljs$core$IMeta$))))?true:false):false)){ +return new cljs.core.Keyword("cljs.spec.alpha","name","cljs.spec.alpha/name",205233570).cljs$core$IFn$_invoke$arity$1(cljs.core.meta(spec)); +} else { +return null; +} +} +} +}); +/** + * spec-or-k must be a spec, regex or resolvable kw/sym, else returns nil. + */ +cljs.spec.alpha.maybe_spec = (function cljs$spec$alpha$maybe_spec(spec_or_k){ +var s = (function (){var or__5045__auto__ = (function (){var and__5043__auto__ = cljs.core.ident_QMARK_(spec_or_k); +if(and__5043__auto__){ +return cljs.spec.alpha.reg_resolve(spec_or_k); +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = cljs.spec.alpha.spec_QMARK_(spec_or_k); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +var or__5045__auto____$2 = cljs.spec.alpha.regex_QMARK_(spec_or_k); +if(cljs.core.truth_(or__5045__auto____$2)){ +return or__5045__auto____$2; +} else { +return null; +} +} +} +})(); +if(cljs.core.truth_(cljs.spec.alpha.regex_QMARK_(s))){ +return cljs.spec.alpha.with_name(cljs.spec.alpha.regex_spec_impl(s,null),cljs.spec.alpha.spec_name(s)); +} else { +return s; +} +}); +/** + * spec-or-k must be a spec, regex or kw/sym, else returns nil. Throws if unresolvable kw/sym + */ +cljs.spec.alpha.the_spec = (function cljs$spec$alpha$the_spec(spec_or_k){ +var or__5045__auto__ = cljs.spec.alpha.maybe_spec(spec_or_k); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +if(cljs.core.ident_QMARK_(spec_or_k)){ +throw (new Error(["Unable to resolve spec: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(spec_or_k)].join(''))); +} else { +return null; +} +} +}); +cljs.spec.alpha.fn_sym = (function cljs$spec$alpha$fn_sym(f_n){ +if(clojure.string.blank_QMARK_(f_n)){ +return null; +} else { +var xs = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge,clojure.string.split.cljs$core$IFn$_invoke$arity$2(f_n,"$")); +if(((((2) <= cljs.core.count(xs))) && (cljs.core.every_QMARK_((function (p1__32432_SHARP_){ +return (!(clojure.string.blank_QMARK_(p1__32432_SHARP_))); +}),xs)))){ +var vec__32440 = cljs.core.juxt.cljs$core$IFn$_invoke$arity$2(cljs.core.butlast,cljs.core.last)(xs); +var xs__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32440,(0),null); +var y = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32440,(1),null); +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1([clojure.string.join.cljs$core$IFn$_invoke$arity$2(".",xs__$1),"/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join('')); +} else { +return null; +} +} +}); + +/** + * @interface + */ +cljs.spec.alpha.Specize = function(){}; + +var cljs$spec$alpha$Specize$specize_STAR_$dyn_35077 = (function() { +var G__35078 = null; +var G__35078__1 = (function (_){ +var x__5393__auto__ = (((_ == null))?null:_); +var m__5394__auto__ = (cljs.spec.alpha.specize_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(_) : m__5394__auto__.call(null, _)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.specize_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(_) : m__5392__auto__.call(null, _)); +} else { +throw cljs.core.missing_protocol("Specize.specize*",_); +} +} +}); +var G__35078__2 = (function (_,form){ +var x__5393__auto__ = (((_ == null))?null:_); +var m__5394__auto__ = (cljs.spec.alpha.specize_STAR_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(_,form) : m__5394__auto__.call(null, _,form)); +} else { +var m__5392__auto__ = (cljs.spec.alpha.specize_STAR_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(_,form) : m__5392__auto__.call(null, _,form)); +} else { +throw cljs.core.missing_protocol("Specize.specize*",_); +} +} +}); +G__35078 = function(_,form){ +switch(arguments.length){ +case 1: +return G__35078__1.call(this,_); +case 2: +return G__35078__2.call(this,_,form); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__35078.cljs$core$IFn$_invoke$arity$1 = G__35078__1; +G__35078.cljs$core$IFn$_invoke$arity$2 = G__35078__2; +return G__35078; +})() +; +cljs.spec.alpha.specize_STAR_ = (function cljs$spec$alpha$specize_STAR_(var_args){ +var G__32458 = arguments.length; +switch (G__32458) { +case 1: +return cljs.spec.alpha.specize_STAR_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.spec.alpha.specize_STAR_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.specize_STAR_.cljs$core$IFn$_invoke$arity$1 = (function (_){ +if((((!((_ == null)))) && ((!((_.cljs$spec$alpha$Specize$specize_STAR_$arity$1 == null)))))){ +return _.cljs$spec$alpha$Specize$specize_STAR_$arity$1(_); +} else { +return cljs$spec$alpha$Specize$specize_STAR_$dyn_35077(_); +} +})); + +(cljs.spec.alpha.specize_STAR_.cljs$core$IFn$_invoke$arity$2 = (function (_,form){ +if((((!((_ == null)))) && ((!((_.cljs$spec$alpha$Specize$specize_STAR_$arity$2 == null)))))){ +return _.cljs$spec$alpha$Specize$specize_STAR_$arity$2(_,form); +} else { +return cljs$spec$alpha$Specize$specize_STAR_$dyn_35077(_,form); +} +})); + +(cljs.spec.alpha.specize_STAR_.cljs$lang$maxFixedArity = 2); + + +(cljs.core.Keyword.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Keyword.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (k){ +var k__$1 = this; +return cljs.spec.alpha.specize_STAR_(cljs.spec.alpha.reg_resolve_BANG_(k__$1)); +})); + +(cljs.core.Keyword.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (k,_){ +var k__$1 = this; +return cljs.spec.alpha.specize_STAR_(cljs.spec.alpha.reg_resolve_BANG_(k__$1)); +})); + +(cljs.core.Symbol.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Symbol.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var s__$1 = this; +return cljs.spec.alpha.specize_STAR_(cljs.spec.alpha.reg_resolve_BANG_(s__$1)); +})); + +(cljs.core.Symbol.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var s__$1 = this; +return cljs.spec.alpha.specize_STAR_(cljs.spec.alpha.reg_resolve_BANG_(s__$1)); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentHashSet.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var s__$1 = this; +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(s__$1,s__$1,null,null); +})); + +(cljs.core.PersistentHashSet.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,form){ +var s__$1 = this; +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(form,s__$1,null,null); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.PersistentTreeSet.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var s__$1 = this; +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(s__$1,s__$1,null,null); +})); + +(cljs.core.PersistentTreeSet.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,form){ +var s__$1 = this; +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(form,s__$1,null,null); +})); + +(cljs.spec.alpha.Specize["_"] = true); + +(cljs.spec.alpha.specize_STAR_["_"] = (function() { +var G__35101 = null; +var G__35101__1 = (function (o){ +var temp__5821__auto__ = (function (){var and__5043__auto__ = cljs.core.fn_QMARK_(o); +if(and__5043__auto__){ +return cljs.spec.alpha.fn_sym(o.name); +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.truth_(temp__5821__auto__)){ +var f_n = temp__5821__auto__; +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(f_n,o,null,null); +} else { +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(new cljs.core.Keyword("cljs.spec.alpha","unknown","cljs.spec.alpha/unknown",651034818),o,null,null); +} +}); +var G__35101__2 = (function (o,form){ +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(form,o,null,null); +}); +G__35101 = function(o,form){ +switch(arguments.length){ +case 1: +return G__35101__1.call(this,o); +case 2: +return G__35101__2.call(this,o,form); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__35101.cljs$core$IFn$_invoke$arity$1 = G__35101__1; +G__35101.cljs$core$IFn$_invoke$arity$2 = G__35101__2; +return G__35101; +})() +); +cljs.spec.alpha.specize = (function cljs$spec$alpha$specize(var_args){ +var G__32528 = arguments.length; +switch (G__32528) { +case 1: +return cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1 = (function (s){ +var or__5045__auto__ = cljs.spec.alpha.spec_QMARK_(s); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.spec.alpha.specize_STAR_(s); +} +})); + +(cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$2 = (function (s,form){ +var or__5045__auto__ = cljs.spec.alpha.spec_QMARK_(s); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.spec.alpha.specize_STAR_(s,form); +} +})); + +(cljs.spec.alpha.specize.cljs$lang$maxFixedArity = 2); + +/** + * tests the validity of a conform return value + */ +cljs.spec.alpha.invalid_QMARK_ = (function cljs$spec$alpha$invalid_QMARK_(ret){ +return cljs.core.keyword_identical_QMARK_(new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119),ret); +}); +/** + * Given a spec and a value, returns :cljs.spec.alpha/invalid if value does + * not match spec, else the (possibly destructured) value. + */ +cljs.spec.alpha.conform = (function cljs$spec$alpha$conform(spec,x){ +return cljs.spec.alpha.conform_STAR_(cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec),x); +}); +/** + * Given a spec and a value created by or compliant with a call to + * 'conform' with the same spec, returns a value with all conform + * destructuring undone. + */ +cljs.spec.alpha.unform = (function cljs$spec$alpha$unform(spec,x){ +return cljs.spec.alpha.unform_STAR_(cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec),x); +}); +/** + * returns the spec as data + */ +cljs.spec.alpha.form = (function cljs$spec$alpha$form(spec){ +return cljs.spec.alpha.describe_STAR_(cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec)); +}); +cljs.spec.alpha.abbrev = (function cljs$spec$alpha$abbrev(form){ +if(cljs.core.seq_QMARK_(form)){ +return clojure.walk.postwalk((function (form__$1){ +if(cljs.core.truth_((function (){var and__5043__auto__ = (form__$1 instanceof cljs.core.Symbol); +if(and__5043__auto__){ +return cljs.core.namespace(form__$1); +} else { +return and__5043__auto__; +} +})())){ +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(cljs.core.name(form__$1)); +} else { +if(((cljs.core.seq_QMARK_(form__$1)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"fn","fn",465265323,null),cljs.core.first(form__$1))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"%","%",-950237169,null)], null),cljs.core.second(form__$1))))))){ +return cljs.core.last(form__$1); +} else { +return form__$1; + +} +} +}),form); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = (form instanceof cljs.core.Symbol); +if(and__5043__auto__){ +return cljs.core.namespace(form); +} else { +return and__5043__auto__; +} +})())){ +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(cljs.core.name(form)); +} else { +return form; + +} +} +}); +/** + * returns an abbreviated description of the spec as data + */ +cljs.spec.alpha.describe = (function cljs$spec$alpha$describe(spec){ +return cljs.spec.alpha.abbrev(cljs.spec.alpha.form(spec)); +}); +/** + * Takes a spec and a no-arg, generator-returning fn and returns a version of that spec that uses that generator + */ +cljs.spec.alpha.with_gen = (function cljs$spec$alpha$with_gen(spec,gen_fn){ +var spec__$1 = cljs.spec.alpha.reg_resolve(spec); +if(cljs.core.truth_(cljs.spec.alpha.regex_QMARK_(spec__$1))){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(spec__$1,new cljs.core.Keyword("cljs.spec.alpha","gfn","cljs.spec.alpha/gfn",-593120375),gen_fn); +} else { +return cljs.spec.alpha.with_gen_STAR_(cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec__$1),gen_fn); +} +}); +cljs.spec.alpha.explain_data_STAR_ = (function cljs$spec$alpha$explain_data_STAR_(spec,path,via,in$,x){ +var temp__5823__auto__ = cljs.spec.alpha.explain_STAR_(cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec),path,via,in$,x); +if(cljs.core.truth_(temp__5823__auto__)){ +var probs = temp__5823__auto__; +if(cljs.core.empty_QMARK_(probs)){ +return null; +} else { +return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword("cljs.spec.alpha","problems","cljs.spec.alpha/problems",447400814),probs,new cljs.core.Keyword("cljs.spec.alpha","spec","cljs.spec.alpha/spec",1947137578),spec,new cljs.core.Keyword("cljs.spec.alpha","value","cljs.spec.alpha/value",1974786274),x], null); +} +} else { +return null; +} +}); +/** + * Given a spec and a value x which ought to conform, returns nil if x + * conforms, else a map with at least the key ::problems whose value is + * a collection of problem-maps, where problem-map has at least :path :pred and :val + * keys describing the predicate and the value that failed at that + * path. + */ +cljs.spec.alpha.explain_data = (function cljs$spec$alpha$explain_data(spec,x){ +return cljs.spec.alpha.explain_data_STAR_(spec,cljs.core.PersistentVector.EMPTY,(function (){var temp__5821__auto__ = cljs.spec.alpha.spec_name(spec); +if(cljs.core.truth_(temp__5821__auto__)){ +var name = temp__5821__auto__; +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [name], null); +} else { +return cljs.core.PersistentVector.EMPTY; +} +})(),cljs.core.PersistentVector.EMPTY,x); +}); +/** + * Default printer for explain-data. nil indicates a successful validation. + */ +cljs.spec.alpha.explain_printer = (function cljs$spec$alpha$explain_printer(ed){ +if(cljs.core.truth_(ed)){ +var problems = cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2((function (p1__32645_SHARP_){ +return (- cljs.core.count(new cljs.core.Keyword(null,"path","path",-188191168).cljs$core$IFn$_invoke$arity$1(p1__32645_SHARP_))); +}),cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2((function (p1__32644_SHARP_){ +return (- cljs.core.count(new cljs.core.Keyword(null,"in","in",-1531184865).cljs$core$IFn$_invoke$arity$1(p1__32644_SHARP_))); +}),new cljs.core.Keyword("cljs.spec.alpha","problems","cljs.spec.alpha/problems",447400814).cljs$core$IFn$_invoke$arity$1(ed))); +return cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (){var sb__5690__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR__orig_val__32649_35126 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR__orig_val__32650_35127 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR__temp_val__32651_35128 = true; +var _STAR_print_fn_STAR__temp_val__32652_35129 = (function (x__5691__auto__){ +return sb__5690__auto__.append(x__5691__auto__); +}); +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__temp_val__32651_35128); + +(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__temp_val__32652_35129); + +try{var seq__32653_35130 = cljs.core.seq(problems); +var chunk__32654_35131 = null; +var count__32655_35132 = (0); +var i__32656_35133 = (0); +while(true){ +if((i__32656_35133 < count__32655_35132)){ +var map__32759_35134 = chunk__32654_35131.cljs$core$IIndexed$_nth$arity$2(null, i__32656_35133); +var map__32759_35135__$1 = cljs.core.__destructure_map(map__32759_35134); +var prob_35136 = map__32759_35135__$1; +var path_35137 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32759_35135__$1,new cljs.core.Keyword(null,"path","path",-188191168)); +var pred_35138 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32759_35135__$1,new cljs.core.Keyword(null,"pred","pred",1927423397)); +var val_35139 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32759_35135__$1,new cljs.core.Keyword(null,"val","val",128701612)); +var reason_35140 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32759_35135__$1,new cljs.core.Keyword(null,"reason","reason",-2070751759)); +var via_35141 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32759_35135__$1,new cljs.core.Keyword(null,"via","via",-1904457336)); +var in_35142 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32759_35135__$1,new cljs.core.Keyword(null,"in","in",-1531184865)); +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([val_35139], 0)); + +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" - failed: "], 0)); + +if(cljs.core.truth_(reason_35140)){ +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([reason_35140], 0)); +} else { +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.alpha.abbrev(pred_35138)], 0)); +} + +if(cljs.core.empty_QMARK_(in_35142)){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[" in: ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([in_35142], 0))].join('')], 0)); +} + +if(cljs.core.empty_QMARK_(path_35137)){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[" at: ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([path_35137], 0))].join('')], 0)); +} + +if(cljs.core.empty_QMARK_(via_35141)){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[" spec: ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.last(via_35141)], 0))].join('')], 0)); +} + +var seq__32782_35143 = cljs.core.seq(prob_35136); +var chunk__32784_35144 = null; +var count__32785_35145 = (0); +var i__32786_35146 = (0); +while(true){ +if((i__32786_35146 < count__32785_35145)){ +var vec__32850_35147 = chunk__32784_35144.cljs$core$IIndexed$_nth$arity$2(null, i__32786_35146); +var k_35148 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32850_35147,(0),null); +var v_35149 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32850_35147,(1),null); +if(cljs.core.truth_((function (){var fexpr__32860 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),null,new cljs.core.Keyword(null,"pred","pred",1927423397),null,new cljs.core.Keyword(null,"via","via",-1904457336),null,new cljs.core.Keyword(null,"val","val",128701612),null,new cljs.core.Keyword(null,"reason","reason",-2070751759),null,new cljs.core.Keyword(null,"in","in",-1531184865),null], null), null); +return (fexpr__32860.cljs$core$IFn$_invoke$arity$1 ? fexpr__32860.cljs$core$IFn$_invoke$arity$1(k_35148) : fexpr__32860.call(null, k_35148)); +})())){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["\n\t",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([k_35148], 0))," "], 0)); + +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([v_35149], 0)); +} + + +var G__35155 = seq__32782_35143; +var G__35156 = chunk__32784_35144; +var G__35157 = count__32785_35145; +var G__35158 = (i__32786_35146 + (1)); +seq__32782_35143 = G__35155; +chunk__32784_35144 = G__35156; +count__32785_35145 = G__35157; +i__32786_35146 = G__35158; +continue; +} else { +var temp__5823__auto___35160 = cljs.core.seq(seq__32782_35143); +if(temp__5823__auto___35160){ +var seq__32782_35161__$1 = temp__5823__auto___35160; +if(cljs.core.chunked_seq_QMARK_(seq__32782_35161__$1)){ +var c__5568__auto___35162 = cljs.core.chunk_first(seq__32782_35161__$1); +var G__35163 = cljs.core.chunk_rest(seq__32782_35161__$1); +var G__35164 = c__5568__auto___35162; +var G__35165 = cljs.core.count(c__5568__auto___35162); +var G__35166 = (0); +seq__32782_35143 = G__35163; +chunk__32784_35144 = G__35164; +count__32785_35145 = G__35165; +i__32786_35146 = G__35166; +continue; +} else { +var vec__32891_35167 = cljs.core.first(seq__32782_35161__$1); +var k_35168 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32891_35167,(0),null); +var v_35169 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32891_35167,(1),null); +if(cljs.core.truth_((function (){var fexpr__32895 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),null,new cljs.core.Keyword(null,"pred","pred",1927423397),null,new cljs.core.Keyword(null,"via","via",-1904457336),null,new cljs.core.Keyword(null,"val","val",128701612),null,new cljs.core.Keyword(null,"reason","reason",-2070751759),null,new cljs.core.Keyword(null,"in","in",-1531184865),null], null), null); +return (fexpr__32895.cljs$core$IFn$_invoke$arity$1 ? fexpr__32895.cljs$core$IFn$_invoke$arity$1(k_35168) : fexpr__32895.call(null, k_35168)); +})())){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["\n\t",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([k_35168], 0))," "], 0)); + +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([v_35169], 0)); +} + + +var G__35172 = cljs.core.next(seq__32782_35161__$1); +var G__35173 = null; +var G__35174 = (0); +var G__35175 = (0); +seq__32782_35143 = G__35172; +chunk__32784_35144 = G__35173; +count__32785_35145 = G__35174; +i__32786_35146 = G__35175; +continue; +} +} else { +} +} +break; +} + +cljs.core.newline.cljs$core$IFn$_invoke$arity$0(); + + +var G__35176 = seq__32653_35130; +var G__35177 = chunk__32654_35131; +var G__35178 = count__32655_35132; +var G__35179 = (i__32656_35133 + (1)); +seq__32653_35130 = G__35176; +chunk__32654_35131 = G__35177; +count__32655_35132 = G__35178; +i__32656_35133 = G__35179; +continue; +} else { +var temp__5823__auto___35180 = cljs.core.seq(seq__32653_35130); +if(temp__5823__auto___35180){ +var seq__32653_35181__$1 = temp__5823__auto___35180; +if(cljs.core.chunked_seq_QMARK_(seq__32653_35181__$1)){ +var c__5568__auto___35182 = cljs.core.chunk_first(seq__32653_35181__$1); +var G__35183 = cljs.core.chunk_rest(seq__32653_35181__$1); +var G__35184 = c__5568__auto___35182; +var G__35185 = cljs.core.count(c__5568__auto___35182); +var G__35186 = (0); +seq__32653_35130 = G__35183; +chunk__32654_35131 = G__35184; +count__32655_35132 = G__35185; +i__32656_35133 = G__35186; +continue; +} else { +var map__32899_35187 = cljs.core.first(seq__32653_35181__$1); +var map__32899_35188__$1 = cljs.core.__destructure_map(map__32899_35187); +var prob_35189 = map__32899_35188__$1; +var path_35190 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32899_35188__$1,new cljs.core.Keyword(null,"path","path",-188191168)); +var pred_35191 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32899_35188__$1,new cljs.core.Keyword(null,"pred","pred",1927423397)); +var val_35192 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32899_35188__$1,new cljs.core.Keyword(null,"val","val",128701612)); +var reason_35193 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32899_35188__$1,new cljs.core.Keyword(null,"reason","reason",-2070751759)); +var via_35194 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32899_35188__$1,new cljs.core.Keyword(null,"via","via",-1904457336)); +var in_35195 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__32899_35188__$1,new cljs.core.Keyword(null,"in","in",-1531184865)); +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([val_35192], 0)); + +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([" - failed: "], 0)); + +if(cljs.core.truth_(reason_35193)){ +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([reason_35193], 0)); +} else { +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.alpha.abbrev(pred_35191)], 0)); +} + +if(cljs.core.empty_QMARK_(in_35195)){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[" in: ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([in_35195], 0))].join('')], 0)); +} + +if(cljs.core.empty_QMARK_(path_35190)){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[" at: ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([path_35190], 0))].join('')], 0)); +} + +if(cljs.core.empty_QMARK_(via_35194)){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([[" spec: ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.last(via_35194)], 0))].join('')], 0)); +} + +var seq__32907_35197 = cljs.core.seq(prob_35189); +var chunk__32908_35198 = null; +var count__32909_35199 = (0); +var i__32910_35200 = (0); +while(true){ +if((i__32910_35200 < count__32909_35199)){ +var vec__32927_35201 = chunk__32908_35198.cljs$core$IIndexed$_nth$arity$2(null, i__32910_35200); +var k_35202 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32927_35201,(0),null); +var v_35203 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32927_35201,(1),null); +if(cljs.core.truth_((function (){var fexpr__32931 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),null,new cljs.core.Keyword(null,"pred","pred",1927423397),null,new cljs.core.Keyword(null,"via","via",-1904457336),null,new cljs.core.Keyword(null,"val","val",128701612),null,new cljs.core.Keyword(null,"reason","reason",-2070751759),null,new cljs.core.Keyword(null,"in","in",-1531184865),null], null), null); +return (fexpr__32931.cljs$core$IFn$_invoke$arity$1 ? fexpr__32931.cljs$core$IFn$_invoke$arity$1(k_35202) : fexpr__32931.call(null, k_35202)); +})())){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["\n\t",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([k_35202], 0))," "], 0)); + +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([v_35203], 0)); +} + + +var G__35222 = seq__32907_35197; +var G__35223 = chunk__32908_35198; +var G__35224 = count__32909_35199; +var G__35225 = (i__32910_35200 + (1)); +seq__32907_35197 = G__35222; +chunk__32908_35198 = G__35223; +count__32909_35199 = G__35224; +i__32910_35200 = G__35225; +continue; +} else { +var temp__5823__auto___35226__$1 = cljs.core.seq(seq__32907_35197); +if(temp__5823__auto___35226__$1){ +var seq__32907_35227__$1 = temp__5823__auto___35226__$1; +if(cljs.core.chunked_seq_QMARK_(seq__32907_35227__$1)){ +var c__5568__auto___35230 = cljs.core.chunk_first(seq__32907_35227__$1); +var G__35231 = cljs.core.chunk_rest(seq__32907_35227__$1); +var G__35232 = c__5568__auto___35230; +var G__35233 = cljs.core.count(c__5568__auto___35230); +var G__35234 = (0); +seq__32907_35197 = G__35231; +chunk__32908_35198 = G__35232; +count__32909_35199 = G__35233; +i__32910_35200 = G__35234; +continue; +} else { +var vec__32936_35235 = cljs.core.first(seq__32907_35227__$1); +var k_35236 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32936_35235,(0),null); +var v_35237 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__32936_35235,(1),null); +if(cljs.core.truth_((function (){var fexpr__32944 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),null,new cljs.core.Keyword(null,"pred","pred",1927423397),null,new cljs.core.Keyword(null,"via","via",-1904457336),null,new cljs.core.Keyword(null,"val","val",128701612),null,new cljs.core.Keyword(null,"reason","reason",-2070751759),null,new cljs.core.Keyword(null,"in","in",-1531184865),null], null), null); +return (fexpr__32944.cljs$core$IFn$_invoke$arity$1 ? fexpr__32944.cljs$core$IFn$_invoke$arity$1(k_35236) : fexpr__32944.call(null, k_35236)); +})())){ +} else { +cljs.core.print.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["\n\t",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([k_35236], 0))," "], 0)); + +cljs.core.pr.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([v_35237], 0)); +} + + +var G__35240 = cljs.core.next(seq__32907_35227__$1); +var G__35241 = null; +var G__35242 = (0); +var G__35243 = (0); +seq__32907_35197 = G__35240; +chunk__32908_35198 = G__35241; +count__32909_35199 = G__35242; +i__32910_35200 = G__35243; +continue; +} +} else { +} +} +break; +} + +cljs.core.newline.cljs$core$IFn$_invoke$arity$0(); + + +var G__35244 = cljs.core.next(seq__32653_35181__$1); +var G__35245 = null; +var G__35246 = (0); +var G__35247 = (0); +seq__32653_35130 = G__35244; +chunk__32654_35131 = G__35245; +count__32655_35132 = G__35246; +i__32656_35133 = G__35247; +continue; +} +} else { +} +} +break; +} +}finally {(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__orig_val__32650_35127); + +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__orig_val__32649_35126); +} +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__5690__auto__); +})()], 0)); +} else { +return cljs.core.println.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2(["Success!"], 0)); +} +}); +cljs.spec.alpha._STAR_explain_out_STAR_ = cljs.spec.alpha.explain_printer; +/** + * Prints explanation data (per 'explain-data') to *out* using the printer in *explain-out*, + * by default explain-printer. + */ +cljs.spec.alpha.explain_out = (function cljs$spec$alpha$explain_out(ed){ +return cljs.spec.alpha._STAR_explain_out_STAR_.call(null, ed); +}); +/** + * Given a spec and a value that fails to conform, prints an explanation to *out*. + */ +cljs.spec.alpha.explain = (function cljs$spec$alpha$explain(spec,x){ +return cljs.spec.alpha.explain_out(cljs.spec.alpha.explain_data(spec,x)); +}); +/** + * Given a spec and a value that fails to conform, returns an explanation as a string. + */ +cljs.spec.alpha.explain_str = (function cljs$spec$alpha$explain_str(spec,x){ +var sb__5690__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR__orig_val__32962_35249 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR__orig_val__32963_35250 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR__temp_val__32964_35251 = true; +var _STAR_print_fn_STAR__temp_val__32965_35252 = (function (x__5691__auto__){ +return sb__5690__auto__.append(x__5691__auto__); +}); +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__temp_val__32964_35251); + +(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__temp_val__32965_35252); + +try{cljs.spec.alpha.explain(spec,x); +}finally {(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__orig_val__32963_35250); + +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__orig_val__32962_35249); +} +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__5690__auto__); +}); +cljs.spec.alpha.gensub = (function cljs$spec$alpha$gensub(spec,overrides,path,rmap,form){ +var spec__$1 = cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec); +var temp__5821__auto__ = (function (){var or__5045__auto__ = (function (){var temp__5823__auto__ = (function (){var or__5045__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(overrides,(function (){var or__5045__auto__ = cljs.spec.alpha.spec_name(spec__$1); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return spec__$1; +} +})()); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(overrides,path); +} +})(); +if(cljs.core.truth_(temp__5823__auto__)){ +var gfn = temp__5823__auto__; +return (gfn.cljs$core$IFn$_invoke$arity$0 ? gfn.cljs$core$IFn$_invoke$arity$0() : gfn.call(null, )); +} else { +return null; +} +})(); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.spec.alpha.gen_STAR_(spec__$1,overrides,path,rmap); +} +})(); +if(cljs.core.truth_(temp__5821__auto__)){ +var g = temp__5821__auto__; +return cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__32973_SHARP_){ +return cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$2(spec__$1,p1__32973_SHARP_); +}),g,(100)], 0)); +} else { +throw (new Error(["Unable to construct gen at: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(path)," for: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.spec.alpha.abbrev(form))].join(''))); +} +}); +/** + * Given a spec, returns the generator for it, or throws if none can + * be constructed. Optionally an overrides map can be provided which + * should map spec names or paths (vectors of keywords) to no-arg + * generator-creating fns. These will be used instead of the generators at those + * names/paths. Note that parent generator (in the spec or overrides + * map) will supersede those of any subtrees. A generator for a regex + * op must always return a sequential collection (i.e. a generator for + * s/? should return either an empty sequence/vector or a + * sequence/vector with one item in it) + */ +cljs.spec.alpha.gen = (function cljs$spec$alpha$gen(var_args){ +var G__33012 = arguments.length; +switch (G__33012) { +case 1: +return cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$1 = (function (spec){ +return cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$2(spec,null); +})); + +(cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$2 = (function (spec,overrides){ +return cljs.spec.alpha.gensub(spec,overrides,cljs.core.PersistentVector.EMPTY,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword("cljs.spec.alpha","recursion-limit","cljs.spec.alpha/recursion-limit",601284994),cljs.spec.alpha._STAR_recursion_limit_STAR_], null),spec); +})); + +(cljs.spec.alpha.gen.cljs$lang$maxFixedArity = 2); + +/** + * Do not call this directly, use 'def' + */ +cljs.spec.alpha.def_impl = (function cljs$spec$alpha$def_impl(k,form,spec){ +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.ident_QMARK_(k); +if(and__5043__auto__){ +return cljs.core.namespace(k); +} else { +return and__5043__auto__; +} +})())){ +} else { +throw (new Error(["Assert failed: ","k must be namespaced keyword or resolveable symbol","\n","(c/and (ident? k) (namespace k))"].join(''))); +} + +if((spec == null)){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.registry_ref,cljs.core.dissoc,k); +} else { +var spec_35268__$1 = (cljs.core.truth_((function (){var or__5045__auto__ = cljs.spec.alpha.spec_QMARK_(spec); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = cljs.spec.alpha.regex_QMARK_(spec); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.spec.alpha.registry_ref),spec); +} +} +})())?spec:cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4(form,spec,null,null)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs.spec.alpha.registry_ref,cljs.core.assoc,k,cljs.spec.alpha.with_name(spec_35268__$1,k)); +} + +return k; +}); +/** + * returns the registry map, prefer 'get-spec' to lookup a spec by name + */ +cljs.spec.alpha.registry = (function cljs$spec$alpha$registry(){ +return cljs.core.deref(cljs.spec.alpha.registry_ref); +}); +/** + * Returns a symbol from a symbol or var + */ +cljs.spec.alpha.__GT_sym = (function cljs$spec$alpha$__GT_sym(x){ +if(cljs.core.var_QMARK_(x)){ +return x.sym; +} else { +return x; +} +}); +/** + * Returns spec registered for keyword/symbol/var k, or nil. + */ +cljs.spec.alpha.get_spec = (function cljs$spec$alpha$get_spec(k){ +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.spec.alpha.registry(),(((k instanceof cljs.core.Keyword))?k:cljs.spec.alpha.__GT_sym(k))); +}); +cljs.spec.alpha.macroexpand_check = (function cljs$spec$alpha$macroexpand_check(v,args){ +var specs = cljs.spec.alpha.get_spec(v); +var temp__5823__auto__ = new cljs.core.Keyword(null,"args","args",1315556576).cljs$core$IFn$_invoke$arity$1(specs); +if(cljs.core.truth_(temp__5823__auto__)){ +var arg_spec = temp__5823__auto__; +if(cljs.spec.alpha.invalid_QMARK_(cljs.spec.alpha.conform(arg_spec,args))){ +var ed = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.explain_data_STAR_(arg_spec,cljs.core.PersistentVector.EMPTY,(function (){var temp__5821__auto__ = cljs.spec.alpha.spec_name(arg_spec); +if(cljs.core.truth_(temp__5821__auto__)){ +var name = temp__5821__auto__; +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [name], null); +} else { +return cljs.core.PersistentVector.EMPTY; +} +})(),cljs.core.PersistentVector.EMPTY,args),new cljs.core.Keyword("cljs.spec.alpha","args","cljs.spec.alpha/args",1870769783),args); +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2(["Call to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.spec.alpha.__GT_sym(v))," did not conform to spec."].join(''),ed); +} else { +return null; +} +} else { +return null; +} +}); +cljs.spec.alpha.recur_limit_QMARK_ = (function cljs$spec$alpha$recur_limit_QMARK_(rmap,id,path,k){ +return (((cljs.core.get.cljs$core$IFn$_invoke$arity$2(rmap,id) > new cljs.core.Keyword("cljs.spec.alpha","recursion-limit","cljs.spec.alpha/recursion-limit",601284994).cljs$core$IFn$_invoke$arity$1(rmap))) && (cljs.core.contains_QMARK_(cljs.core.set(path),k))); +}); +cljs.spec.alpha.inck = (function cljs$spec$alpha$inck(m,k){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,k,((function (){var or__5045__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (0); +} +})() + (1))); +}); +cljs.spec.alpha.dt = (function cljs$spec$alpha$dt(var_args){ +var G__33044 = arguments.length; +switch (G__33044) { +case 3: +return cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3 = (function (pred,x,form){ +return cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$4(pred,x,form,null); +})); + +(cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$4 = (function (pred,x,form,cpred_QMARK_){ +if(cljs.core.truth_(pred)){ +var temp__5821__auto__ = cljs.spec.alpha.the_spec(pred); +if(cljs.core.truth_(temp__5821__auto__)){ +var spec = temp__5821__auto__; +return cljs.spec.alpha.conform(spec,x); +} else { +if(cljs.core.ifn_QMARK_(pred)){ +if(cljs.core.truth_(cpred_QMARK_)){ +return (pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(x) : pred.call(null, x)); +} else { +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(x) : pred.call(null, x)))){ +return x; +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +} +} else { +throw (new Error([cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([form], 0))," is not a fn, expected predicate fn"].join(''))); +} +} +} else { +return x; +} +})); + +(cljs.spec.alpha.dt.cljs$lang$maxFixedArity = 4); + +/** + * Helper function that returns true when x is valid for spec. + */ +cljs.spec.alpha.valid_QMARK_ = (function cljs$spec$alpha$valid_QMARK_(var_args){ +var G__33046 = arguments.length; +switch (G__33046) { +case 2: +return cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$2 = (function (spec,x){ +var spec__$1 = cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec); +return (!(cljs.spec.alpha.invalid_QMARK_(cljs.spec.alpha.conform_STAR_(spec__$1,x)))); +})); + +(cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$3 = (function (spec,x,form){ +var spec__$1 = cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$2(spec,form); +return (!(cljs.spec.alpha.invalid_QMARK_(cljs.spec.alpha.conform_STAR_(spec__$1,x)))); +})); + +(cljs.spec.alpha.valid_QMARK_.cljs$lang$maxFixedArity = 3); + +/** + * internal helper function that returns true when x is valid for spec. + */ +cljs.spec.alpha.pvalid_QMARK_ = (function cljs$spec$alpha$pvalid_QMARK_(var_args){ +var G__33048 = arguments.length; +switch (G__33048) { +case 2: +return cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2 = (function (pred,x){ +return (!(cljs.spec.alpha.invalid_QMARK_(cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(pred,x,new cljs.core.Keyword("cljs.spec.alpha","unknown","cljs.spec.alpha/unknown",651034818))))); +})); + +(cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$3 = (function (pred,x,form){ +return (!(cljs.spec.alpha.invalid_QMARK_(cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(pred,x,form)))); +})); + +(cljs.spec.alpha.pvalid_QMARK_.cljs$lang$maxFixedArity = 3); + +cljs.spec.alpha.explain_1 = (function cljs$spec$alpha$explain_1(form,pred,path,via,in$,v){ +var pred__$1 = cljs.spec.alpha.maybe_spec(pred); +if(cljs.core.truth_(cljs.spec.alpha.spec_QMARK_(pred__$1))){ +return cljs.spec.alpha.explain_STAR_(pred__$1,path,(function (){var temp__5821__auto__ = cljs.spec.alpha.spec_name(pred__$1); +if(cljs.core.truth_(temp__5821__auto__)){ +var name = temp__5821__auto__; +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(via,name); +} else { +return via; +} +})(),in$,v); +} else { +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),form,new cljs.core.Keyword(null,"val","val",128701612),v,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} +}); + +/** + * returns a generator for form f, which can be a keyword or a list + * starting with 'or or 'and. + */ +cljs.spec.alpha.k_gen = (function cljs$spec$alpha$k_gen(f){ +if((f instanceof cljs.core.Keyword)){ +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([f], 0)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"or","or",1876275696,null),cljs.core.first(f))){ +return cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$2((1),cljs.core.rest(f)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Symbol(null,"and","and",668631710,null),cljs.core.first(f))){ +return cljs.spec.alpha.and_k_gen(cljs.core.rest(f)); +} else { +return null; +} +} +} +}); +/** + * returns a tuple generator made up of generators for a random subset + * of min-count (default 0) to all elements in s. + */ +cljs.spec.alpha.or_k_gen = (function cljs$spec$alpha$or_k_gen(var_args){ +var G__33050 = arguments.length; +switch (G__33050) { +case 1: +return cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$1 = (function (s){ +return cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$2((0),s); +})); + +(cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$2 = (function (min_count,s){ +return cljs.spec.gen.alpha.bind.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.gen.alpha.tuple.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.gen.alpha.choose.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([min_count,cljs.core.count(s)], 0)),cljs.spec.gen.alpha.shuffle.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.spec.alpha.k_gen,s)], 0))], 0)),(function (p__33051){ +var vec__33052 = p__33051; +var n = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33052,(0),null); +var gens = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33052,(1),null); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.spec.gen.alpha.tuple,cljs.core.take.cljs$core$IFn$_invoke$arity$2(n,gens)); +})], 0)); +})); + +(cljs.spec.alpha.or_k_gen.cljs$lang$maxFixedArity = 2); + +/** + * returns a tuple generator made up of generators for every element + * in s. + */ +cljs.spec.alpha.and_k_gen = (function cljs$spec$alpha$and_k_gen(s){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.spec.gen.alpha.tuple,cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.spec.alpha.k_gen,s)); +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33060 = (function (map__33059,keys__GT_specnames,p__33058,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,argm,opt_keys,req_specs,req,id,req_keys,opt_specs,k__GT_s,pred_forms,meta33061){ +this.map__33059 = map__33059; +this.keys__GT_specnames = keys__GT_specnames; +this.p__33058 = p__33058; +this.opt = opt; +this.req_un = req_un; +this.opt_un = opt_un; +this.gfn = gfn; +this.pred_exprs = pred_exprs; +this.keys_pred = keys_pred; +this.argm = argm; +this.opt_keys = opt_keys; +this.req_specs = req_specs; +this.req = req; +this.id = id; +this.req_keys = req_keys; +this.opt_specs = opt_specs; +this.k__GT_s = k__GT_s; +this.pred_forms = pred_forms; +this.meta33061 = meta33061; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33062,meta33061__$1){ +var self__ = this; +var _33062__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33060(self__.map__33059,self__.keys__GT_specnames,self__.p__33058,self__.opt,self__.req_un,self__.opt_un,self__.gfn,self__.pred_exprs,self__.keys_pred,self__.argm,self__.opt_keys,self__.req_specs,self__.req,self__.id,self__.req_keys,self__.opt_specs,self__.k__GT_s,self__.pred_forms,meta33061__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33062){ +var self__ = this; +var _33062__$1 = this; +return self__.meta33061; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,m){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_((self__.keys_pred.cljs$core$IFn$_invoke$arity$1 ? self__.keys_pred.cljs$core$IFn$_invoke$arity$1(m) : self__.keys_pred.call(null, m)))){ +var reg = cljs.spec.alpha.registry(); +var ret = m; +var G__33069 = m; +var vec__33070 = G__33069; +var seq__33071 = cljs.core.seq(vec__33070); +var first__33072 = cljs.core.first(seq__33071); +var seq__33071__$1 = cljs.core.next(seq__33071); +var vec__33073 = first__33072; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33073,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33073,(1),null); +var ks = seq__33071__$1; +var keys = vec__33070; +var ret__$1 = ret; +var G__33069__$1 = G__33069; +while(true){ +var ret__$2 = ret__$1; +var vec__33076 = G__33069__$1; +var seq__33077 = cljs.core.seq(vec__33076); +var first__33078 = cljs.core.first(seq__33077); +var seq__33077__$1 = cljs.core.next(seq__33077); +var vec__33079 = first__33078; +var k__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33079,(0),null); +var v__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33079,(1),null); +var ks__$1 = seq__33077__$1; +var keys__$1 = vec__33076; +if(cljs.core.truth_(keys__$1)){ +var sname = (self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1 ? self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1(k__$1) : self__.keys__GT_specnames.call(null, k__$1)); +var temp__5821__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(reg,sname); +if(cljs.core.truth_(temp__5821__auto__)){ +var s = temp__5821__auto__; +var cv = cljs.spec.alpha.conform(s,v__$1); +if(cljs.spec.alpha.invalid_QMARK_(cv)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__35325 = (((cv === v__$1))?ret__$2:cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret__$2,k__$1,cv)); +var G__35326 = ks__$1; +ret__$1 = G__35325; +G__33069__$1 = G__35326; +continue; +} +} else { +var G__35327 = ret__$2; +var G__35328 = ks__$1; +ret__$1 = G__35327; +G__33069__$1 = G__35328; +continue; +} +} else { +return ret__$2; +} +break; +} +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,m){ +var self__ = this; +var ___$1 = this; +var reg = cljs.spec.alpha.registry(); +var ret = m; +var G__33085 = cljs.core.keys(m); +var vec__33086 = G__33085; +var seq__33087 = cljs.core.seq(vec__33086); +var first__33088 = cljs.core.first(seq__33087); +var seq__33087__$1 = cljs.core.next(seq__33087); +var k = first__33088; +var ks = seq__33087__$1; +var keys = vec__33086; +var ret__$1 = ret; +var G__33085__$1 = G__33085; +while(true){ +var ret__$2 = ret__$1; +var vec__33092 = G__33085__$1; +var seq__33093 = cljs.core.seq(vec__33092); +var first__33094 = cljs.core.first(seq__33093); +var seq__33093__$1 = cljs.core.next(seq__33093); +var k__$1 = first__33094; +var ks__$1 = seq__33093__$1; +var keys__$1 = vec__33092; +if(cljs.core.truth_(keys__$1)){ +if(cljs.core.contains_QMARK_(reg,(self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1 ? self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1(k__$1) : self__.keys__GT_specnames.call(null, k__$1)))){ +var cv = cljs.core.get.cljs$core$IFn$_invoke$arity$2(m,k__$1); +var v = cljs.spec.alpha.unform((self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1 ? self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1(k__$1) : self__.keys__GT_specnames.call(null, k__$1)),cv); +var G__35334 = (((cv === v))?ret__$2:cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret__$2,k__$1,v)); +var G__35335 = ks__$1; +ret__$1 = G__35334; +G__33085__$1 = G__35335; +continue; +} else { +var G__35336 = ret__$2; +var G__35337 = ks__$1; +ret__$1 = G__35336; +G__33085__$1 = G__35337; +continue; +} +} else { +return ret__$2; +} +break; +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if((!(cljs.core.map_QMARK_(x)))){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),new cljs.core.Symbol("cljs.core","map?","cljs.core/map?",-1390345523,null),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +var reg = cljs.spec.alpha.registry(); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.concat,(function (){var temp__5823__auto__ = cljs.core.seq(cljs.core.keep.cljs$core$IFn$_invoke$arity$2(cljs.core.identity,cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (pred,form){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(x) : pred.call(null, x)))){ +return null; +} else { +return form; +} +}),self__.pred_exprs,self__.pred_forms))); +if(temp__5823__auto__){ +var probs = temp__5823__auto__; +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__33056_SHARP_){ +return cljs.core.identity(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),p1__33056_SHARP_,new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)); +}),probs); +} else { +return null; +} +})(),cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p__33095){ +var vec__33096 = p__33095; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33096,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33096,(1),null); +if((((!(cljs.core.contains_QMARK_(reg,(self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1 ? self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1(k) : self__.keys__GT_specnames.call(null, k)))))) || (cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$3((self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1 ? self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1(k) : self__.keys__GT_specnames.call(null, k)),v,k)))){ +return null; +} else { +return cljs.spec.alpha.explain_1((self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1 ? self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1(k) : self__.keys__GT_specnames.call(null, k)),(self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1 ? self__.keys__GT_specnames.cljs$core$IFn$_invoke$arity$1(k) : self__.keys__GT_specnames.call(null, k)),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k),via,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(in$,k),v); +} +}),cljs.core.seq(x))); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +var rmap__$1 = cljs.spec.alpha.inck(rmap,self__.id); +var rgen = (function (k,s){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,cljs.spec.alpha.gensub(s,overrides,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k),rmap__$1,k)], null); +}); +var ogen = (function (k,s){ +if(cljs.spec.alpha.recur_limit_QMARK_(rmap__$1,self__.id,path,k)){ +return null; +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,cljs.spec.gen.alpha.delay_impl((new cljs.core.Delay((function (){ +return cljs.spec.alpha.gensub(s,overrides,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k),rmap__$1,k); +}),null)))], null); +} +}); +var reqs = cljs.core.map.cljs$core$IFn$_invoke$arity$3(rgen,self__.req_keys,self__.req_specs); +var opts = cljs.core.remove.cljs$core$IFn$_invoke$arity$2(cljs.core.nil_QMARK_,cljs.core.map.cljs$core$IFn$_invoke$arity$3(ogen,self__.opt_keys,self__.opt_specs)); +if(cljs.core.every_QMARK_(cljs.core.identity,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.second,reqs),cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.second,opts)))){ +return cljs.spec.gen.alpha.bind.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.gen.alpha.tuple.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.alpha.and_k_gen(self__.req),cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$1(self__.opt),cljs.spec.alpha.and_k_gen(self__.req_un),cljs.spec.alpha.or_k_gen.cljs$core$IFn$_invoke$arity$1(self__.opt_un)], 0)),(function (p__33102){ +var vec__33103 = p__33102; +var req_ks = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33103,(0),null); +var opt_ks = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33103,(1),null); +var req_un_ks = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33103,(2),null); +var opt_un_ks = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33103,(3),null); +var qks = cljs.core.flatten(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(req_ks,opt_ks)); +var unqks = cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.comp.cljs$core$IFn$_invoke$arity$2(cljs.core.keyword,cljs.core.name),cljs.core.flatten(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(req_un_ks,opt_un_ks))); +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.spec.gen.alpha.hash_map,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__33057_SHARP_){ +var G__33117 = cljs.core.first(p1__33057_SHARP_); +var fexpr__33116 = cljs.core.set(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(qks,unqks)); +return (fexpr__33116.cljs$core$IFn$_invoke$arity$1 ? fexpr__33116.cljs$core$IFn$_invoke$arity$1(G__33117) : fexpr__33116.call(null, G__33117)); +}),cljs.core.into.cljs$core$IFn$_invoke$arity$2(reqs,opts)))); +})], 0)); +} else { +return null; +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +var G__33120 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.argm,new cljs.core.Keyword(null,"gfn","gfn",791517474),gfn__$1); +return (cljs.spec.alpha.map_spec_impl.cljs$core$IFn$_invoke$arity$1 ? cljs.spec.alpha.map_spec_impl.cljs$core$IFn$_invoke$arity$1(G__33120) : cljs.spec.alpha.map_spec_impl.call(null, G__33120)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.cons(new cljs.core.Symbol("cljs.spec.alpha","keys","cljs.spec.alpha/keys",1109346032,null),(function (){var G__33125 = cljs.core.PersistentVector.EMPTY; +var G__33125__$1 = (cljs.core.truth_(self__.req)?cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(G__33125,new cljs.core.Keyword(null,"req","req",-326448303),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.req], 0)):G__33125); +var G__33125__$2 = (cljs.core.truth_(self__.opt)?cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(G__33125__$1,new cljs.core.Keyword(null,"opt","opt",-794706369),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.opt], 0)):G__33125__$1); +var G__33125__$3 = (cljs.core.truth_(self__.req_un)?cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(G__33125__$2,new cljs.core.Keyword(null,"req-un","req-un",1074571008),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.req_un], 0)):G__33125__$2); +if(cljs.core.truth_(self__.opt_un)){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(G__33125__$3,new cljs.core.Keyword(null,"opt-un","opt-un",883442496),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.opt_un], 0)); +} else { +return G__33125__$3; +} +})()); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 19, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"map__33059","map__33059",-1690276894,null),new cljs.core.Symbol(null,"keys->specnames","keys->specnames",1791294693,null),new cljs.core.Symbol(null,"p__33058","p__33058",2009143013,null),new cljs.core.Symbol(null,"opt","opt",845825158,null),new cljs.core.Symbol(null,"req-un","req-un",-1579864761,null),new cljs.core.Symbol(null,"opt-un","opt-un",-1770993273,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"pred-exprs","pred-exprs",-862164374,null),new cljs.core.Symbol(null,"keys-pred","keys-pred",-1795451030,null),new cljs.core.Symbol(null,"argm","argm",-181546357,null),new cljs.core.Symbol(null,"opt-keys","opt-keys",-1391747508,null),new cljs.core.Symbol(null,"req-specs","req-specs",-2100473456,null),new cljs.core.Symbol(null,"req","req",1314083224,null),new cljs.core.Symbol(null,"id","id",252129435,null),new cljs.core.Symbol(null,"req-keys","req-keys",-2140116548,null),new cljs.core.Symbol(null,"opt-specs","opt-specs",1255626077,null),new cljs.core.Symbol(null,"k->s","k->s",-1685112801,null),new cljs.core.Symbol(null,"pred-forms","pred-forms",1813143359,null),new cljs.core.Symbol(null,"meta33061","meta33061",1762333832,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33060"); + +(cljs.spec.alpha.t_cljs$spec$alpha33060.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33060"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33060. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33060 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33060(map__33059,keys__GT_specnames,p__33058,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,argm,opt_keys,req_specs,req,id,req_keys,opt_specs,k__GT_s,pred_forms,meta33061){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33060(map__33059,keys__GT_specnames,p__33058,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,argm,opt_keys,req_specs,req,id,req_keys,opt_specs,k__GT_s,pred_forms,meta33061)); +}); + + +/** + * Do not call this directly, use 'spec' with a map argument + */ +cljs.spec.alpha.map_spec_impl = (function cljs$spec$alpha$map_spec_impl(p__33058){ +var map__33059 = p__33058; +var map__33059__$1 = cljs.core.__destructure_map(map__33059); +var argm = map__33059__$1; +var opt = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"opt","opt",-794706369)); +var req_un = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"req-un","req-un",1074571008)); +var opt_un = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"opt-un","opt-un",883442496)); +var gfn = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"gfn","gfn",791517474)); +var pred_exprs = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"pred-exprs","pred-exprs",1792271395)); +var keys_pred = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"keys-pred","keys-pred",858984739)); +var opt_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"opt-keys","opt-keys",1262688261)); +var req_specs = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"req-specs","req-specs",553962313)); +var req = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"req","req",-326448303)); +var req_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"req-keys","req-keys",514319221)); +var opt_specs = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"opt-specs","opt-specs",-384905450)); +var pred_forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33059__$1,new cljs.core.Keyword(null,"pred-forms","pred-forms",172611832)); +var k__GT_s = cljs.core.zipmap(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(req_keys,opt_keys),cljs.core.concat.cljs$core$IFn$_invoke$arity$2(req_specs,opt_specs)); +var keys__GT_specnames = (function (p1__33055_SHARP_){ +var or__5045__auto__ = (k__GT_s.cljs$core$IFn$_invoke$arity$1 ? k__GT_s.cljs$core$IFn$_invoke$arity$1(p1__33055_SHARP_) : k__GT_s.call(null, p1__33055_SHARP_)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return p1__33055_SHARP_; +} +}); +var id = cljs.core.random_uuid(); +return (new cljs.spec.alpha.t_cljs$spec$alpha33060(map__33059__$1,keys__GT_specnames,p__33058,opt,req_un,opt_un,gfn,pred_exprs,keys_pred,argm,opt_keys,req_specs,req,id,req_keys,opt_specs,k__GT_s,pred_forms,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33158 = (function (form,pred,gfn,cpred_QMARK_,unc,meta33159){ +this.form = form; +this.pred = pred; +this.gfn = gfn; +this.cpred_QMARK_ = cpred_QMARK_; +this.unc = unc; +this.meta33159 = meta33159; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33160,meta33159__$1){ +var self__ = this; +var _33160__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33158(self__.form,self__.pred,self__.gfn,self__.cpred_QMARK_,self__.unc,meta33159__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33160){ +var self__ = this; +var _33160__$1 = this; +return self__.meta33159; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var ret = (self__.pred.cljs$core$IFn$_invoke$arity$1 ? self__.pred.cljs$core$IFn$_invoke$arity$1(x) : self__.pred.call(null, x)); +if(cljs.core.truth_(self__.cpred_QMARK_)){ +return ret; +} else { +if(cljs.core.truth_(ret)){ +return x; +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.cpred_QMARK_)){ +if(cljs.core.truth_(self__.unc)){ +return (self__.unc.cljs$core$IFn$_invoke$arity$1 ? self__.unc.cljs$core$IFn$_invoke$arity$1(x) : self__.unc.call(null, x)); +} else { +throw (new Error("no unform fn for conformer")); +} +} else { +return x; +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if(cljs.spec.alpha.invalid_QMARK_(cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$4(self__.pred,x,self__.form,self__.cpred_QMARK_))){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),self__.form,new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +return null; +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,___$1,___$2,___$3){ +var self__ = this; +var ___$4 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +return cljs.spec.gen.alpha.gen_for_pred(self__.pred); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$5(self__.form,self__.pred,gfn__$1,self__.cpred_QMARK_,self__.unc); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.form; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"form","form",16469056,null),new cljs.core.Symbol(null,"pred","pred",-727012372,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"cpred?","cpred?",35589515,null),new cljs.core.Symbol(null,"unc","unc",-465250751,null),new cljs.core.Symbol(null,"meta33159","meta33159",1825316226,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33158"); + +(cljs.spec.alpha.t_cljs$spec$alpha33158.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33158"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33158. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33158 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33158(form,pred,gfn,cpred_QMARK_,unc,meta33159){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33158(form,pred,gfn,cpred_QMARK_,unc,meta33159)); +}); + + +/** + * Do not call this directly, use 'spec' + */ +cljs.spec.alpha.spec_impl = (function cljs$spec$alpha$spec_impl(var_args){ +var G__33146 = arguments.length; +switch (G__33146) { +case 4: +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$4 = (function (form,pred,gfn,cpred_QMARK_){ +return cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$5(form,pred,gfn,cpred_QMARK_,null); +})); + +(cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$5 = (function (form,pred,gfn,cpred_QMARK_,unc){ +if(cljs.core.truth_(cljs.spec.alpha.spec_QMARK_(pred))){ +var G__33155 = pred; +if(cljs.core.truth_(gfn)){ +return cljs.spec.alpha.with_gen(G__33155,gfn); +} else { +return G__33155; +} +} else { +if(cljs.core.truth_(cljs.spec.alpha.regex_QMARK_(pred))){ +return cljs.spec.alpha.regex_spec_impl(pred,gfn); +} else { +if(cljs.core.ident_QMARK_(pred)){ +var G__33156 = cljs.spec.alpha.the_spec(pred); +if(cljs.core.truth_(gfn)){ +return cljs.spec.alpha.with_gen(G__33156,gfn); +} else { +return G__33156; +} +} else { +return (new cljs.spec.alpha.t_cljs$spec$alpha33158(form,pred,gfn,cpred_QMARK_,unc,cljs.core.PersistentArrayMap.EMPTY)); + +} +} +} +})); + +(cljs.spec.alpha.spec_impl.cljs$lang$maxFixedArity = 5); + + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33210 = (function (form,mmvar,retag,gfn,id,predx,dval,tag,meta33211){ +this.form = form; +this.mmvar = mmvar; +this.retag = retag; +this.gfn = gfn; +this.id = id; +this.predx = predx; +this.dval = dval; +this.tag = tag; +this.meta33211 = meta33211; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33212,meta33211__$1){ +var self__ = this; +var _33212__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33210(self__.form,self__.mmvar,self__.retag,self__.gfn,self__.id,self__.predx,self__.dval,self__.tag,meta33211__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33212){ +var self__ = this; +var _33212__$1 = this; +return self__.meta33211; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var temp__5821__auto__ = (self__.predx.cljs$core$IFn$_invoke$arity$1 ? self__.predx.cljs$core$IFn$_invoke$arity$1(x) : self__.predx.call(null, x)); +if(cljs.core.truth_(temp__5821__auto__)){ +var pred = temp__5821__auto__; +return cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(pred,x,self__.form); +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var temp__5821__auto__ = (self__.predx.cljs$core$IFn$_invoke$arity$1 ? self__.predx.cljs$core$IFn$_invoke$arity$1(x) : self__.predx.call(null, x)); +if(cljs.core.truth_(temp__5821__auto__)){ +var pred = temp__5821__auto__; +return cljs.spec.alpha.unform(pred,x); +} else { +throw (new Error(["No method of: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.form)," for dispatch value: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((self__.dval.cljs$core$IFn$_invoke$arity$1 ? self__.dval.cljs$core$IFn$_invoke$arity$1(x) : self__.dval.call(null, x)))].join(''))); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +var dv = (self__.dval.cljs$core$IFn$_invoke$arity$1 ? self__.dval.cljs$core$IFn$_invoke$arity$1(x) : self__.dval.call(null, x)); +var path__$1 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,dv); +var temp__5821__auto__ = (self__.predx.cljs$core$IFn$_invoke$arity$1 ? self__.predx.cljs$core$IFn$_invoke$arity$1(x) : self__.predx.call(null, x)); +if(cljs.core.truth_(temp__5821__auto__)){ +var pred = temp__5821__auto__; +return cljs.spec.alpha.explain_1(self__.form,pred,path__$1,via,in$,x); +} else { +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),path__$1,new cljs.core.Keyword(null,"pred","pred",1927423397),self__.form,new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"reason","reason",-2070751759),"no method",new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +var gen = (function (p__33221){ +var vec__33222 = p__33221; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33222,(0),null); +var f = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33222,(1),null); +var p = (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(null) : f.call(null, null)); +var rmap__$1 = cljs.spec.alpha.inck(rmap,self__.id); +if(cljs.spec.alpha.recur_limit_QMARK_(rmap__$1,self__.id,path,k)){ +return null; +} else { +return cljs.spec.gen.alpha.delay_impl((new cljs.core.Delay((function (){ +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__33188_SHARP_){ +return (self__.tag.cljs$core$IFn$_invoke$arity$2 ? self__.tag.cljs$core$IFn$_invoke$arity$2(p1__33188_SHARP_,k) : self__.tag.call(null, p1__33188_SHARP_,k)); +}),cljs.spec.alpha.gensub(p,overrides,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k),rmap__$1,(new cljs.core.List(null,new cljs.core.Symbol(null,"method","method",1696235119,null),(new cljs.core.List(null,self__.form,(new cljs.core.List(null,k,null,(1),null)),(2),null)),(3),null)))], 0)); +}),null))); +} +}); +var gs = cljs.core.remove.cljs$core$IFn$_invoke$arity$2(cljs.core.nil_QMARK_,cljs.core.map.cljs$core$IFn$_invoke$arity$2(gen,cljs.core.remove.cljs$core$IFn$_invoke$arity$2((function (p__33232){ +var vec__33233 = p__33232; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33233,(0),null); +return cljs.spec.alpha.invalid_QMARK_(k); +}),cljs.core.methods$(cljs.core.deref(self__.mmvar))))); +if(cljs.core.every_QMARK_(cljs.core.identity,gs)){ +return cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([gs], 0)); +} else { +return null; +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.multi_spec_impl.cljs$core$IFn$_invoke$arity$4(self__.form,self__.mmvar,self__.retag,gfn__$1); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","multi-spec","cljs.spec.alpha/multi-spec",175821274,null),null,(1),null)),(new cljs.core.List(null,self__.form,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,self__.retag,null,(1),null))], 0)))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"form","form",16469056,null),new cljs.core.Symbol(null,"mmvar","mmvar",-1714325675,null),new cljs.core.Symbol(null,"retag","retag",528972725,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"id","id",252129435,null),new cljs.core.Symbol(null,"predx","predx",2063470948,null),new cljs.core.Symbol(null,"dval","dval",835211877,null),new cljs.core.Symbol(null,"tag","tag",350170304,null),new cljs.core.Symbol(null,"meta33211","meta33211",569166767,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33210"); + +(cljs.spec.alpha.t_cljs$spec$alpha33210.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33210"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33210. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33210 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33210(form,mmvar,retag,gfn,id,predx,dval,tag,meta33211){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33210(form,mmvar,retag,gfn,id,predx,dval,tag,meta33211)); +}); + + +/** + * Do not call this directly, use 'multi-spec' + */ +cljs.spec.alpha.multi_spec_impl = (function cljs$spec$alpha$multi_spec_impl(var_args){ +var G__33190 = arguments.length; +switch (G__33190) { +case 3: +return cljs.spec.alpha.multi_spec_impl.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.spec.alpha.multi_spec_impl.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.multi_spec_impl.cljs$core$IFn$_invoke$arity$3 = (function (form,mmvar,retag){ +return cljs.spec.alpha.multi_spec_impl.cljs$core$IFn$_invoke$arity$4(form,mmvar,retag,null); +})); + +(cljs.spec.alpha.multi_spec_impl.cljs$core$IFn$_invoke$arity$4 = (function (form,mmvar,retag,gfn){ +var id = cljs.core.random_uuid(); +var predx = (function (p1__33183_SHARP_){ +var mm = cljs.core.deref(mmvar); +var and__5043__auto__ = cljs.core._get_method(mm,(function (){var fexpr__33205 = cljs.core._dispatch_fn(mm); +return (fexpr__33205.cljs$core$IFn$_invoke$arity$1 ? fexpr__33205.cljs$core$IFn$_invoke$arity$1(p1__33183_SHARP_) : fexpr__33205.call(null, p1__33183_SHARP_)); +})()); +if(cljs.core.truth_(and__5043__auto__)){ +return (mm.cljs$core$IFn$_invoke$arity$1 ? mm.cljs$core$IFn$_invoke$arity$1(p1__33183_SHARP_) : mm.call(null, p1__33183_SHARP_)); +} else { +return and__5043__auto__; +} +}); +var dval = (function (p1__33184_SHARP_){ +var fexpr__33206 = cljs.core._dispatch_fn(cljs.core.deref(mmvar)); +return (fexpr__33206.cljs$core$IFn$_invoke$arity$1 ? fexpr__33206.cljs$core$IFn$_invoke$arity$1(p1__33184_SHARP_) : fexpr__33206.call(null, p1__33184_SHARP_)); +}); +var tag = (((retag instanceof cljs.core.Keyword))?(function (p1__33185_SHARP_,p2__33186_SHARP_){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(p1__33185_SHARP_,retag,p2__33186_SHARP_); +}):retag); +return (new cljs.spec.alpha.t_cljs$spec$alpha33210(form,mmvar,retag,gfn,id,predx,dval,tag,cljs.core.PersistentArrayMap.EMPTY)); +})); + +(cljs.spec.alpha.multi_spec_impl.cljs$lang$maxFixedArity = 4); + + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33248 = (function (forms,preds,gfn,specs,cnt,meta33249){ +this.forms = forms; +this.preds = preds; +this.gfn = gfn; +this.specs = specs; +this.cnt = cnt; +this.meta33249 = meta33249; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33250,meta33249__$1){ +var self__ = this; +var _33250__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33248(self__.forms,self__.preds,self__.gfn,self__.specs,self__.cnt,meta33249__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33250){ +var self__ = this; +var _33250__$1 = this; +return self__.meta33249; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var specs__$1 = cljs.core.deref(self__.specs); +if((!(((cljs.core.vector_QMARK_(x)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(x),self__.cnt)))))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var ret = x; +var i = (0); +while(true){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(i,self__.cnt)){ +return ret; +} else { +var v = (x.cljs$core$IFn$_invoke$arity$1 ? x.cljs$core$IFn$_invoke$arity$1(i) : x.call(null, i)); +var cv = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1(i) : specs__$1.call(null, i)),v); +if(cljs.spec.alpha.invalid_QMARK_(cv)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__35549 = (((cv === v))?ret:cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,i,cv)); +var G__35550 = (i + (1)); +ret = G__35549; +i = G__35550; +continue; +} +} +break; +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +if(((cljs.core.vector_QMARK_(x)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(x),cljs.core.count(self__.preds))))){ +} else { +throw (new Error("Assert failed: (c/and (vector? x) (= (count x) (count preds)))")); +} + +var ret = x; +var i = (0); +while(true){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(i,cljs.core.count(x))){ +return ret; +} else { +var cv = (x.cljs$core$IFn$_invoke$arity$1 ? x.cljs$core$IFn$_invoke$arity$1(i) : x.call(null, i)); +var v = cljs.spec.alpha.unform((self__.preds.cljs$core$IFn$_invoke$arity$1 ? self__.preds.cljs$core$IFn$_invoke$arity$1(i) : self__.preds.call(null, i)),cv); +var G__35552 = (((cv === v))?ret:cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,i,v)); +var G__35553 = (i + (1)); +ret = G__35552; +i = G__35553; +continue; +} +break; +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if((!(cljs.core.vector_QMARK_(x)))){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),new cljs.core.Symbol("cljs.core","vector?","cljs.core/vector?",-1550392028,null),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(x),cljs.core.count(self__.preds))){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","=","cljs.core/=",-1891498332,null),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","count","cljs.core/count",-921270233,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"%","%",-950237169,null),null,(1),null))))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.count(self__.preds),null,(1),null))], 0)))),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,cljs.core.map.cljs$core$IFn$_invoke$arity$4((function (i,form,pred){ +var v = (x.cljs$core$IFn$_invoke$arity$1 ? x.cljs$core$IFn$_invoke$arity$1(i) : x.call(null, i)); +if(cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2(pred,v)){ +return null; +} else { +return cljs.spec.alpha.explain_1(form,pred,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,i),via,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(in$,i),v); +} +}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(cljs.core.count(self__.preds)),self__.forms,self__.preds)); + +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +var gen = (function (i,p,f){ +return cljs.spec.alpha.gensub(p,overrides,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,i),rmap,f); +}); +var gs = cljs.core.map.cljs$core$IFn$_invoke$arity$4(gen,cljs.core.range.cljs$core$IFn$_invoke$arity$1(cljs.core.count(self__.preds)),self__.preds,self__.forms); +if(cljs.core.every_QMARK_(cljs.core.identity,gs)){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.spec.gen.alpha.tuple,gs); +} else { +return null; +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.tuple_impl.cljs$core$IFn$_invoke$arity$3(self__.forms,self__.preds,gfn__$1); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","tuple","cljs.spec.alpha/tuple",-415901908,null),null,(1),null)),self__.forms))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"forms","forms",-608443419,null),new cljs.core.Symbol(null,"preds","preds",150921777,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"specs","specs",-1227865028,null),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null),new cljs.core.Symbol(null,"meta33249","meta33249",-395469053,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33248"); + +(cljs.spec.alpha.t_cljs$spec$alpha33248.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33248"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33248. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33248 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33248(forms,preds,gfn,specs,cnt,meta33249){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33248(forms,preds,gfn,specs,cnt,meta33249)); +}); + + +/** + * Do not call this directly, use 'tuple' + */ +cljs.spec.alpha.tuple_impl = (function cljs$spec$alpha$tuple_impl(var_args){ +var G__33241 = arguments.length; +switch (G__33241) { +case 2: +return cljs.spec.alpha.tuple_impl.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.spec.alpha.tuple_impl.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.tuple_impl.cljs$core$IFn$_invoke$arity$2 = (function (forms,preds){ +return cljs.spec.alpha.tuple_impl.cljs$core$IFn$_invoke$arity$3(forms,preds,null); +})); + +(cljs.spec.alpha.tuple_impl.cljs$core$IFn$_invoke$arity$3 = (function (forms,preds,gfn){ +var specs = (new cljs.core.Delay((function (){ +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.specize,preds,forms); +}),null)); +var cnt = cljs.core.count(preds); +return (new cljs.spec.alpha.t_cljs$spec$alpha33248(forms,preds,gfn,specs,cnt,cljs.core.PersistentArrayMap.EMPTY)); +})); + +(cljs.spec.alpha.tuple_impl.cljs$lang$maxFixedArity = 3); + +cljs.spec.alpha.tagged_ret = (function cljs$spec$alpha$tagged_ret(tag,ret){ +return (new cljs.core.MapEntry(tag,ret,null)); +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33368 = (function (keys,forms,preds,gfn,id,kps,specs,cform,meta33369){ +this.keys = keys; +this.forms = forms; +this.preds = preds; +this.gfn = gfn; +this.id = id; +this.kps = kps; +this.specs = specs; +this.cform = cform; +this.meta33369 = meta33369; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33370,meta33369__$1){ +var self__ = this; +var _33370__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33368(self__.keys,self__.forms,self__.preds,self__.gfn,self__.id,self__.kps,self__.specs,self__.cform,meta33369__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33370){ +var self__ = this; +var _33370__$1 = this; +return self__.meta33369; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return (self__.cform.cljs$core$IFn$_invoke$arity$1 ? self__.cform.cljs$core$IFn$_invoke$arity$1(x) : self__.cform.call(null, x)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,p__33379){ +var self__ = this; +var vec__33381 = p__33379; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33381,(0),null); +var x = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33381,(1),null); +var ___$1 = this; +return cljs.spec.alpha.unform((self__.kps.cljs$core$IFn$_invoke$arity$1 ? self__.kps.cljs$core$IFn$_invoke$arity$1(k) : self__.kps.call(null, k)),x); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (this$,path,via,in$,x){ +var self__ = this; +var this$__$1 = this; +if(cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2(this$__$1,x)){ +return null; +} else { +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,cljs.core.map.cljs$core$IFn$_invoke$arity$4((function (k,form,pred){ +if(cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2(pred,x)){ +return null; +} else { +return cljs.spec.alpha.explain_1(form,pred,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k),via,in$,x); +} +}),self__.keys,self__.forms,self__.preds)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +var gen = (function (k,p,f){ +var rmap__$1 = cljs.spec.alpha.inck(rmap,self__.id); +if(cljs.spec.alpha.recur_limit_QMARK_(rmap__$1,self__.id,path,k)){ +return null; +} else { +return cljs.spec.gen.alpha.delay_impl((new cljs.core.Delay((function (){ +return cljs.spec.alpha.gensub(p,overrides,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k),rmap__$1,f); +}),null))); +} +}); +var gs = cljs.core.remove.cljs$core$IFn$_invoke$arity$2(cljs.core.nil_QMARK_,cljs.core.map.cljs$core$IFn$_invoke$arity$4(gen,self__.keys,self__.preds,self__.forms)); +if(cljs.core.empty_QMARK_(gs)){ +return null; +} else { +return cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([gs], 0)); +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return (cljs.spec.alpha.or_spec_impl.cljs$core$IFn$_invoke$arity$4 ? cljs.spec.alpha.or_spec_impl.cljs$core$IFn$_invoke$arity$4(self__.keys,self__.forms,self__.preds,gfn__$1) : cljs.spec.alpha.or_spec_impl.call(null, self__.keys,self__.forms,self__.preds,gfn__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","or","cljs.spec.alpha/or",-831679639,null),null,(1),null)),cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(cljs.core.vector,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.keys,self__.forms], 0))))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"keys","keys",-1586012071,null),new cljs.core.Symbol(null,"forms","forms",-608443419,null),new cljs.core.Symbol(null,"preds","preds",150921777,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"id","id",252129435,null),new cljs.core.Symbol(null,"kps","kps",-1157342767,null),new cljs.core.Symbol(null,"specs","specs",-1227865028,null),new cljs.core.Symbol(null,"cform","cform",1319506748,null),new cljs.core.Symbol(null,"meta33369","meta33369",-302638501,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33368"); + +(cljs.spec.alpha.t_cljs$spec$alpha33368.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33368"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33368. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33368 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33368(keys,forms,preds,gfn,id,kps,specs,cform,meta33369){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33368(keys,forms,preds,gfn,id,kps,specs,cform,meta33369)); +}); + + +/** + * Do not call this directly, use 'or' + */ +cljs.spec.alpha.or_spec_impl = (function cljs$spec$alpha$or_spec_impl(keys,forms,preds,gfn){ +var id = cljs.core.random_uuid(); +var kps = cljs.core.zipmap(keys,preds); +var specs = (new cljs.core.Delay((function (){ +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.specize,preds,forms); +}),null)); +var cform = (function (){var G__33346 = cljs.core.count(preds); +switch (G__33346) { +case (2): +return (function (x){ +var specs__$1 = cljs.core.deref(specs); +var ret = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((0)) : specs__$1.call(null, (0))),x); +if(cljs.spec.alpha.invalid_QMARK_(ret)){ +var ret__$1 = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((1)) : specs__$1.call(null, (1))),x); +if(cljs.spec.alpha.invalid_QMARK_(ret__$1)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.tagged_ret((keys.cljs$core$IFn$_invoke$arity$1 ? keys.cljs$core$IFn$_invoke$arity$1((1)) : keys.call(null, (1))),ret__$1); +} +} else { +return cljs.spec.alpha.tagged_ret((keys.cljs$core$IFn$_invoke$arity$1 ? keys.cljs$core$IFn$_invoke$arity$1((0)) : keys.call(null, (0))),ret); +} +}); + +break; +case (3): +return (function (x){ +var specs__$1 = cljs.core.deref(specs); +var ret = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((0)) : specs__$1.call(null, (0))),x); +if(cljs.spec.alpha.invalid_QMARK_(ret)){ +var ret__$1 = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((1)) : specs__$1.call(null, (1))),x); +if(cljs.spec.alpha.invalid_QMARK_(ret__$1)){ +var ret__$2 = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((2)) : specs__$1.call(null, (2))),x); +if(cljs.spec.alpha.invalid_QMARK_(ret__$2)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.tagged_ret((keys.cljs$core$IFn$_invoke$arity$1 ? keys.cljs$core$IFn$_invoke$arity$1((2)) : keys.call(null, (2))),ret__$2); +} +} else { +return cljs.spec.alpha.tagged_ret((keys.cljs$core$IFn$_invoke$arity$1 ? keys.cljs$core$IFn$_invoke$arity$1((1)) : keys.call(null, (1))),ret__$1); +} +} else { +return cljs.spec.alpha.tagged_ret((keys.cljs$core$IFn$_invoke$arity$1 ? keys.cljs$core$IFn$_invoke$arity$1((0)) : keys.call(null, (0))),ret); +} +}); + +break; +default: +return (function (x){ +var specs__$1 = cljs.core.deref(specs); +var i = (0); +while(true){ +if((i < cljs.core.count(specs__$1))){ +var spec = (specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1(i) : specs__$1.call(null, i)); +var ret = cljs.spec.alpha.conform_STAR_(spec,x); +if(cljs.spec.alpha.invalid_QMARK_(ret)){ +var G__35629 = (i + (1)); +i = G__35629; +continue; +} else { +return cljs.spec.alpha.tagged_ret((keys.cljs$core$IFn$_invoke$arity$1 ? keys.cljs$core$IFn$_invoke$arity$1(i) : keys.call(null, i)),ret); +} +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +break; +} +}); + +} +})(); +return (new cljs.spec.alpha.t_cljs$spec$alpha33368(keys,forms,preds,gfn,id,kps,specs,cform,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.spec.alpha.and_preds = (function cljs$spec$alpha$and_preds(x,preds,forms){ +var ret = x; +var G__33414 = preds; +var vec__33417 = G__33414; +var seq__33418 = cljs.core.seq(vec__33417); +var first__33419 = cljs.core.first(seq__33418); +var seq__33418__$1 = cljs.core.next(seq__33418); +var pred = first__33419; +var preds__$1 = seq__33418__$1; +var G__33415 = forms; +var vec__33420 = G__33415; +var seq__33421 = cljs.core.seq(vec__33420); +var first__33422 = cljs.core.first(seq__33421); +var seq__33421__$1 = cljs.core.next(seq__33421); +var form = first__33422; +var forms__$1 = seq__33421__$1; +var ret__$1 = ret; +var G__33414__$1 = G__33414; +var G__33415__$1 = G__33415; +while(true){ +var ret__$2 = ret__$1; +var vec__33426 = G__33414__$1; +var seq__33427 = cljs.core.seq(vec__33426); +var first__33428 = cljs.core.first(seq__33427); +var seq__33427__$1 = cljs.core.next(seq__33427); +var pred__$1 = first__33428; +var preds__$2 = seq__33427__$1; +var vec__33429 = G__33415__$1; +var seq__33430 = cljs.core.seq(vec__33429); +var first__33431 = cljs.core.first(seq__33430); +var seq__33430__$1 = cljs.core.next(seq__33430); +var form__$1 = first__33431; +var forms__$2 = seq__33430__$1; +if(cljs.core.truth_(pred__$1)){ +var nret = cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(pred__$1,ret__$2,form__$1); +if(cljs.spec.alpha.invalid_QMARK_(nret)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__35637 = nret; +var G__35638 = preds__$2; +var G__35639 = forms__$2; +ret__$1 = G__35637; +G__33414__$1 = G__35638; +G__33415__$1 = G__35639; +continue; +} +} else { +return ret__$2; +} +break; +} +}); +cljs.spec.alpha.explain_pred_list = (function cljs$spec$alpha$explain_pred_list(forms,preds,path,via,in$,x){ +var ret = x; +var G__33439 = forms; +var vec__33441 = G__33439; +var seq__33442 = cljs.core.seq(vec__33441); +var first__33443 = cljs.core.first(seq__33442); +var seq__33442__$1 = cljs.core.next(seq__33442); +var form = first__33443; +var forms__$1 = seq__33442__$1; +var G__33440 = preds; +var vec__33444 = G__33440; +var seq__33445 = cljs.core.seq(vec__33444); +var first__33446 = cljs.core.first(seq__33445); +var seq__33445__$1 = cljs.core.next(seq__33445); +var pred = first__33446; +var preds__$1 = seq__33445__$1; +var ret__$1 = ret; +var G__33439__$1 = G__33439; +var G__33440__$1 = G__33440; +while(true){ +var ret__$2 = ret__$1; +var vec__33450 = G__33439__$1; +var seq__33451 = cljs.core.seq(vec__33450); +var first__33452 = cljs.core.first(seq__33451); +var seq__33451__$1 = cljs.core.next(seq__33451); +var form__$1 = first__33452; +var forms__$2 = seq__33451__$1; +var vec__33453 = G__33440__$1; +var seq__33454 = cljs.core.seq(vec__33453); +var first__33455 = cljs.core.first(seq__33454); +var seq__33454__$1 = cljs.core.next(seq__33454); +var pred__$1 = first__33455; +var preds__$2 = seq__33454__$1; +if(cljs.core.truth_(pred__$1)){ +var nret = cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(pred__$1,ret__$2,form__$1); +if(cljs.spec.alpha.invalid_QMARK_(nret)){ +return cljs.spec.alpha.explain_1(form__$1,pred__$1,path,via,in$,ret__$2); +} else { +var G__35649 = nret; +var G__35650 = forms__$2; +var G__35651 = preds__$2; +ret__$1 = G__35649; +G__33439__$1 = G__35650; +G__33440__$1 = G__35651; +continue; +} +} else { +return null; +} +break; +} +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33463 = (function (forms,preds,gfn,specs,cform,meta33464){ +this.forms = forms; +this.preds = preds; +this.gfn = gfn; +this.specs = specs; +this.cform = cform; +this.meta33464 = meta33464; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33466,meta33464__$1){ +var self__ = this; +var _33466__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33463(self__.forms,self__.preds,self__.gfn,self__.specs,self__.cform,meta33464__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33466){ +var self__ = this; +var _33466__$1 = this; +return self__.meta33464; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return (self__.cform.cljs$core$IFn$_invoke$arity$1 ? self__.cform.cljs$core$IFn$_invoke$arity$1(x) : self__.cform.call(null, x)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__33460_SHARP_,p2__33459_SHARP_){ +return cljs.spec.alpha.unform(p2__33459_SHARP_,p1__33460_SHARP_); +}),x,cljs.core.reverse(self__.preds)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.explain_pred_list(self__.forms,self__.preds,path,via,in$,x); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +return cljs.spec.alpha.gensub(cljs.core.first(self__.preds),overrides,path,rmap,cljs.core.first(self__.forms)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return (cljs.spec.alpha.and_spec_impl.cljs$core$IFn$_invoke$arity$3 ? cljs.spec.alpha.and_spec_impl.cljs$core$IFn$_invoke$arity$3(self__.forms,self__.preds,gfn__$1) : cljs.spec.alpha.and_spec_impl.call(null, self__.forms,self__.preds,gfn__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","and","cljs.spec.alpha/and",-2060279705,null),null,(1),null)),self__.forms))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"forms","forms",-608443419,null),new cljs.core.Symbol(null,"preds","preds",150921777,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"specs","specs",-1227865028,null),new cljs.core.Symbol(null,"cform","cform",1319506748,null),new cljs.core.Symbol(null,"meta33464","meta33464",215826190,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33463"); + +(cljs.spec.alpha.t_cljs$spec$alpha33463.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33463"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33463. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33463 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33463(forms,preds,gfn,specs,cform,meta33464){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33463(forms,preds,gfn,specs,cform,meta33464)); +}); + + +/** + * Do not call this directly, use 'and' + */ +cljs.spec.alpha.and_spec_impl = (function cljs$spec$alpha$and_spec_impl(forms,preds,gfn){ +var specs = (new cljs.core.Delay((function (){ +return cljs.core.mapv.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.specize,preds,forms); +}),null)); +var cform = (function (){var G__33461 = cljs.core.count(preds); +switch (G__33461) { +case (2): +return (function (x){ +var specs__$1 = cljs.core.deref(specs); +var ret = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((0)) : specs__$1.call(null, (0))),x); +if(cljs.spec.alpha.invalid_QMARK_(ret)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((1)) : specs__$1.call(null, (1))),ret); +} +}); + +break; +case (3): +return (function (x){ +var specs__$1 = cljs.core.deref(specs); +var ret = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((0)) : specs__$1.call(null, (0))),x); +if(cljs.spec.alpha.invalid_QMARK_(ret)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var ret__$1 = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((1)) : specs__$1.call(null, (1))),ret); +if(cljs.spec.alpha.invalid_QMARK_(ret__$1)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1((2)) : specs__$1.call(null, (2))),ret__$1); +} +} +}); + +break; +default: +return (function (x){ +var specs__$1 = cljs.core.deref(specs); +var ret = x; +var i = (0); +while(true){ +if((i < cljs.core.count(specs__$1))){ +var nret = cljs.spec.alpha.conform_STAR_((specs__$1.cljs$core$IFn$_invoke$arity$1 ? specs__$1.cljs$core$IFn$_invoke$arity$1(i) : specs__$1.call(null, i)),ret); +if(cljs.spec.alpha.invalid_QMARK_(nret)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__35673 = nret; +var G__35674 = (i + (1)); +ret = G__35673; +i = G__35674; +continue; +} +} else { +return ret; +} +break; +} +}); + +} +})(); +return (new cljs.spec.alpha.t_cljs$spec$alpha33463(forms,preds,gfn,specs,cform,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.spec.alpha.coll_prob = (function cljs$spec$alpha$coll_prob(x,kfn,kform,distinct,count,min_count,max_count,path,via,in$){ +var pred = (function (){var or__5045__auto__ = kfn; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.coll_QMARK_; +} +})(); +var kform__$1 = (function (){var or__5045__auto__ = kform; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return new cljs.core.Symbol("cljs.core","coll?","cljs.core/coll?",1208130522,null); +} +})(); +if((!(cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2(pred,x)))){ +return cljs.spec.alpha.explain_1(kform__$1,pred,path,via,in$,x); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = count; +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(count,cljs.core.bounded_count(count,x)); +} else { +return and__5043__auto__; +} +})())){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","=","cljs.core/=",-1891498332,null),null,(1),null)),(new cljs.core.List(null,count,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","count","cljs.core/count",-921270233,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"%","%",-950237169,null),null,(1),null))))),null,(1),null))], 0)))),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = (function (){var or__5045__auto__ = min_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return max_count; +} +})(); +if(cljs.core.truth_(and__5043__auto__)){ +return (!(((((function (){var or__5045__auto__ = min_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (0); +} +})() <= cljs.core.bounded_count((cljs.core.truth_(max_count)?(max_count + (1)):min_count),x))) && ((cljs.core.bounded_count((cljs.core.truth_(max_count)?(max_count + (1)):min_count),x) <= (function (){var or__5045__auto__ = max_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (9007199254740991); +} +})()))))); +} else { +return and__5043__auto__; +} +})())){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","<=","cljs.core/<=",1677001748,null),null,(1),null)),(new cljs.core.List(null,(function (){var or__5045__auto__ = min_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (0); +} +})(),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","count","cljs.core/count",-921270233,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"%","%",-950237169,null),null,(1),null))))),null,(1),null)),(new cljs.core.List(null,(function (){var or__5045__auto__ = max_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (9007199254740991); +} +})(),null,(1),null))], 0)))),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = distinct; +if(cljs.core.truth_(and__5043__auto__)){ +return (((!(cljs.core.empty_QMARK_(x)))) && (cljs.core.not(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.distinct_QMARK_,x)))); +} else { +return and__5043__auto__; +} +})())){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),new cljs.core.Symbol(null,"distinct?","distinct?",-1684357959,null),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +return null; +} +} +} +} +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33511 = (function (forms,preds,gfn,meta33512){ +this.forms = forms; +this.preds = preds; +this.gfn = gfn; +this.meta33512 = meta33512; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33513,meta33512__$1){ +var self__ = this; +var _33513__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33511(self__.forms,self__.preds,self__.gfn,meta33512__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33513){ +var self__ = this; +var _33513__$1 = this; +return self__.meta33512; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var ms = cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (p1__33503_SHARP_,p2__33504_SHARP_){ +return cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(p1__33503_SHARP_,x,p2__33504_SHARP_); +}),self__.preds,self__.forms); +if(cljs.core.truth_(cljs.core.some(cljs.spec.alpha.invalid_QMARK_,ms))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.merge,ms); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.merge,cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__33505_SHARP_){ +return cljs.spec.alpha.unform(p1__33505_SHARP_,x); +}),cljs.core.reverse(self__.preds))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (p1__33506_SHARP_,p2__33507_SHARP_){ +return cljs.spec.alpha.explain_1(p1__33506_SHARP_,p2__33507_SHARP_,path,via,in$,x); +}),self__.forms,self__.preds)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__33508_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.merge,p1__33508_SHARP_); +}),cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.spec.gen.alpha.tuple,cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (p1__33509_SHARP_,p2__33510_SHARP_){ +return cljs.spec.alpha.gensub(p1__33509_SHARP_,overrides,path,rmap,p2__33510_SHARP_); +}),self__.preds,self__.forms))], 0)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return (cljs.spec.alpha.merge_spec_impl.cljs$core$IFn$_invoke$arity$3 ? cljs.spec.alpha.merge_spec_impl.cljs$core$IFn$_invoke$arity$3(self__.forms,self__.preds,gfn__$1) : cljs.spec.alpha.merge_spec_impl.call(null, self__.forms,self__.preds,gfn__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","merge","cljs.spec.alpha/merge",1420080689,null),null,(1),null)),self__.forms))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"forms","forms",-608443419,null),new cljs.core.Symbol(null,"preds","preds",150921777,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"meta33512","meta33512",-1060172865,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33511"); + +(cljs.spec.alpha.t_cljs$spec$alpha33511.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33511"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33511. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33511 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33511(forms,preds,gfn,meta33512){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33511(forms,preds,gfn,meta33512)); +}); + + +/** + * Do not call this directly, use 'merge' + */ +cljs.spec.alpha.merge_spec_impl = (function cljs$spec$alpha$merge_spec_impl(forms,preds,gfn){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33511(forms,preds,gfn,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.spec.alpha.empty_coll = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Symbol("cljs.core","vector?","cljs.core/vector?",-1550392028,null),cljs.core.PersistentVector.EMPTY,new cljs.core.Symbol("cljs.core","set?","cljs.core/set?",-1176684971,null),cljs.core.PersistentHashSet.EMPTY,new cljs.core.Symbol("cljs.core","list?","cljs.core/list?",-684796618,null),cljs.core.List.EMPTY,new cljs.core.Symbol("cljs.core","map?","cljs.core/map?",-1390345523,null),cljs.core.PersistentArrayMap.EMPTY], null); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha33676 = (function (form,max_count,check_QMARK_,gfn,gen_max,pred,cpred,conform_keys,kind_form,addcv,cfns,describe_form,map__33648,distinct,spec,kfn,gen_into,count,min_count,opts,kind,conform_all,p__33646,conform_into,meta33677){ +this.form = form; +this.max_count = max_count; +this.check_QMARK_ = check_QMARK_; +this.gfn = gfn; +this.gen_max = gen_max; +this.pred = pred; +this.cpred = cpred; +this.conform_keys = conform_keys; +this.kind_form = kind_form; +this.addcv = addcv; +this.cfns = cfns; +this.describe_form = describe_form; +this.map__33648 = map__33648; +this.distinct = distinct; +this.spec = spec; +this.kfn = kfn; +this.gen_into = gen_into; +this.count = count; +this.min_count = min_count; +this.opts = opts; +this.kind = kind; +this.conform_all = conform_all; +this.p__33646 = p__33646; +this.conform_into = conform_into; +this.meta33677 = meta33677; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_33678,meta33677__$1){ +var self__ = this; +var _33678__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha33676(self__.form,self__.max_count,self__.check_QMARK_,self__.gfn,self__.gen_max,self__.pred,self__.cpred,self__.conform_keys,self__.kind_form,self__.addcv,self__.cfns,self__.describe_form,self__.map__33648,self__.distinct,self__.spec,self__.kfn,self__.gen_into,self__.count,self__.min_count,self__.opts,self__.kind,self__.conform_all,self__.p__33646,self__.conform_into,meta33677__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_33678){ +var self__ = this; +var _33678__$1 = this; +return self__.meta33677; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var spec__$1 = cljs.core.deref(self__.spec); +if(cljs.core.not((self__.cpred.cljs$core$IFn$_invoke$arity$1 ? self__.cpred.cljs$core$IFn$_invoke$arity$1(x) : self__.cpred.call(null, x)))){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +if(cljs.core.truth_(self__.conform_all)){ +var vec__33702 = (self__.cfns.cljs$core$IFn$_invoke$arity$1 ? self__.cfns.cljs$core$IFn$_invoke$arity$1(x) : self__.cfns.call(null, x)); +var init = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33702,(0),null); +var add = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33702,(1),null); +var complete = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33702,(2),null); +var ret = (init.cljs$core$IFn$_invoke$arity$1 ? init.cljs$core$IFn$_invoke$arity$1(x) : init.call(null, x)); +var i = (0); +var G__33709 = cljs.core.seq(x); +var vec__33710 = G__33709; +var seq__33711 = cljs.core.seq(vec__33710); +var first__33712 = cljs.core.first(seq__33711); +var seq__33711__$1 = cljs.core.next(seq__33711); +var v = first__33712; +var vs = seq__33711__$1; +var vseq = vec__33710; +var ret__$1 = ret; +var i__$1 = i; +var G__33709__$1 = G__33709; +while(true){ +var ret__$2 = ret__$1; +var i__$2 = i__$1; +var vec__33714 = G__33709__$1; +var seq__33715 = cljs.core.seq(vec__33714); +var first__33716 = cljs.core.first(seq__33715); +var seq__33715__$1 = cljs.core.next(seq__33715); +var v__$1 = first__33716; +var vs__$1 = seq__33715__$1; +var vseq__$1 = vec__33714; +if(vseq__$1){ +var cv = cljs.spec.alpha.conform_STAR_(spec__$1,v__$1); +if(cljs.spec.alpha.invalid_QMARK_(cv)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +var G__35719 = (add.cljs$core$IFn$_invoke$arity$4 ? add.cljs$core$IFn$_invoke$arity$4(ret__$2,i__$2,v__$1,cv) : add.call(null, ret__$2,i__$2,v__$1,cv)); +var G__35720 = (i__$2 + (1)); +var G__35721 = vs__$1; +ret__$1 = G__35719; +i__$1 = G__35720; +G__33709__$1 = G__35721; +continue; +} +} else { +return (complete.cljs$core$IFn$_invoke$arity$1 ? complete.cljs$core$IFn$_invoke$arity$1(ret__$2) : complete.call(null, ret__$2)); +} +break; +} +} else { +if(cljs.core.indexed_QMARK_(x)){ +var step = (function (){var x__5130__auto__ = (1); +var y__5131__auto__ = cljs.core.long$((cljs.core.count(x) / cljs.spec.alpha._STAR_coll_check_limit_STAR_)); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})(); +var i = (0); +while(true){ +if((i >= cljs.core.count(x))){ +return x; +} else { +if(cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$2(spec__$1,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(x,i))){ +var G__35724 = (i + step); +i = G__35724; +continue; +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +} +break; +} +} else { +var limit = cljs.spec.alpha._STAR_coll_check_limit_STAR_; +var i = (0); +var G__33727 = cljs.core.seq(x); +var vec__33729 = G__33727; +var seq__33730 = cljs.core.seq(vec__33729); +var first__33731 = cljs.core.first(seq__33730); +var seq__33730__$1 = cljs.core.next(seq__33730); +var v = first__33731; +var vs = seq__33730__$1; +var vseq = vec__33729; +var i__$1 = i; +var G__33727__$1 = G__33727; +while(true){ +var i__$2 = i__$1; +var vec__33734 = G__33727__$1; +var seq__33735 = cljs.core.seq(vec__33734); +var first__33736 = cljs.core.first(seq__33735); +var seq__33735__$1 = cljs.core.next(seq__33735); +var v__$1 = first__33736; +var vs__$1 = seq__33735__$1; +var vseq__$1 = vec__33734; +if((((vseq__$1 == null)) || (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(i__$2,limit)))){ +return x; +} else { +if(cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$2(spec__$1,v__$1)){ +var G__35728 = (i__$2 + (1)); +var G__35729 = vs__$1; +i__$1 = G__35728; +G__33727__$1 = G__35729; +continue; +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); + +} +} +break; +} +} + +} +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.conform_all)){ +var spec__$1 = cljs.core.deref(self__.spec); +var vec__33741 = (self__.cfns.cljs$core$IFn$_invoke$arity$1 ? self__.cfns.cljs$core$IFn$_invoke$arity$1(x) : self__.cfns.call(null, x)); +var init = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33741,(0),null); +var add = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33741,(1),null); +var complete = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33741,(2),null); +var ret = (init.cljs$core$IFn$_invoke$arity$1 ? init.cljs$core$IFn$_invoke$arity$1(x) : init.call(null, x)); +var i = (0); +var G__33748 = cljs.core.seq(x); +var vec__33749 = G__33748; +var seq__33750 = cljs.core.seq(vec__33749); +var first__33751 = cljs.core.first(seq__33750); +var seq__33750__$1 = cljs.core.next(seq__33750); +var v = first__33751; +var vs = seq__33750__$1; +var vseq = vec__33749; +var ret__$1 = ret; +var i__$1 = i; +var G__33748__$1 = G__33748; +while(true){ +var ret__$2 = ret__$1; +var i__$2 = i__$1; +var vec__33756 = G__33748__$1; +var seq__33757 = cljs.core.seq(vec__33756); +var first__33758 = cljs.core.first(seq__33757); +var seq__33757__$1 = cljs.core.next(seq__33757); +var v__$1 = first__33758; +var vs__$1 = seq__33757__$1; +var vseq__$1 = vec__33756; +if((i__$2 >= cljs.core.count(x))){ +return (complete.cljs$core$IFn$_invoke$arity$1 ? complete.cljs$core$IFn$_invoke$arity$1(ret__$2) : complete.call(null, ret__$2)); +} else { +var G__35733 = (function (){var G__33759 = ret__$2; +var G__33760 = i__$2; +var G__33761 = v__$1; +var G__33762 = cljs.spec.alpha.unform_STAR_(spec__$1,v__$1); +return (add.cljs$core$IFn$_invoke$arity$4 ? add.cljs$core$IFn$_invoke$arity$4(G__33759,G__33760,G__33761,G__33762) : add.call(null, G__33759,G__33760,G__33761,G__33762)); +})(); +var G__35734 = (i__$2 + (1)); +var G__35735 = vs__$1; +ret__$1 = G__35733; +i__$1 = G__35734; +G__33748__$1 = G__35735; +continue; +} +break; +} +} else { +return x; +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +var or__5045__auto__ = cljs.spec.alpha.coll_prob(x,self__.kind,self__.kind_form,self__.distinct,self__.count,self__.min_count,self__.max_count,path,via,in$); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,(function (){var G__33778 = cljs.core.keep.cljs$core$IFn$_invoke$arity$2(cljs.core.identity,cljs.core.map.cljs$core$IFn$_invoke$arity$3((function (i,v){ +var k = (self__.kfn.cljs$core$IFn$_invoke$arity$2 ? self__.kfn.cljs$core$IFn$_invoke$arity$2(i,v) : self__.kfn.call(null, i,v)); +if(cljs.core.truth_((self__.check_QMARK_.cljs$core$IFn$_invoke$arity$1 ? self__.check_QMARK_.cljs$core$IFn$_invoke$arity$1(v) : self__.check_QMARK_.call(null, v)))){ +return null; +} else { +var prob = cljs.spec.alpha.explain_1(self__.form,self__.pred,path,via,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(in$,k),v); +return prob; +} +}),cljs.core.range.cljs$core$IFn$_invoke$arity$0(),x)); +var fexpr__33777 = (cljs.core.truth_(self__.conform_all)?cljs.core.identity:cljs.core.partial.cljs$core$IFn$_invoke$arity$2(cljs.core.take,cljs.spec.alpha._STAR_coll_error_limit_STAR_)); +return (fexpr__33777.cljs$core$IFn$_invoke$arity$1 ? fexpr__33777.cljs$core$IFn$_invoke$arity$1(G__33778) : fexpr__33777.call(null, G__33778)); +})()); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +var pgen = cljs.spec.alpha.gensub(self__.pred,overrides,path,rmap,self__.form); +return cljs.spec.gen.alpha.bind.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(cljs.core.truth_(self__.gen_into)?cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.gen_into], 0)):(cljs.core.truth_(self__.kind)?cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__33582_SHARP_){ +if(cljs.core.empty_QMARK_(p1__33582_SHARP_)){ +return p1__33582_SHARP_; +} else { +return cljs.core.empty(p1__33582_SHARP_); +} +}),cljs.spec.alpha.gensub(self__.kind,overrides,path,rmap,self__.form)], 0)):cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.PersistentVector.EMPTY], 0)) +)),(function (init){ +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__33584_SHARP_){ +if(cljs.core.vector_QMARK_(init)){ +return p1__33584_SHARP_; +} else { +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(init,p1__33584_SHARP_); +} +}),(cljs.core.truth_(self__.distinct)?(cljs.core.truth_(self__.count)?cljs.spec.gen.alpha.vector_distinct.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([pgen,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"num-elements","num-elements",1960422107),self__.count,new cljs.core.Keyword(null,"max-tries","max-tries",-1824441792),(100)], null)], 0)):cljs.spec.gen.alpha.vector_distinct.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([pgen,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"min-elements","min-elements",949370780),(function (){var or__5045__auto__ = self__.min_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (0); +} +})(),new cljs.core.Keyword(null,"max-elements","max-elements",433034073),(function (){var or__5045__auto__ = self__.max_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var x__5130__auto__ = self__.gen_max; +var y__5131__auto__ = ((2) * (function (){var or__5045__auto____$1 = self__.min_count; +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return (0); +} +})()); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +} +})(),new cljs.core.Keyword(null,"max-tries","max-tries",-1824441792),(100)], null)], 0))):(cljs.core.truth_(self__.count)?cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([pgen,self__.count], 0)):(cljs.core.truth_((function (){var or__5045__auto__ = self__.min_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return self__.max_count; +} +})())?cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([pgen,(function (){var or__5045__auto__ = self__.min_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (0); +} +})(),(function (){var or__5045__auto__ = self__.max_count; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var x__5130__auto__ = self__.gen_max; +var y__5131__auto__ = ((2) * (function (){var or__5045__auto____$1 = self__.min_count; +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return (0); +} +})()); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +} +})()], 0)):cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([pgen,(0),self__.gen_max], 0)) +)))], 0)); +})], 0)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.every_impl.cljs$core$IFn$_invoke$arity$4(self__.form,self__.pred,self__.opts,gfn__$1); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +var or__5045__auto__ = self__.describe_form; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","every","cljs.spec.alpha/every",123912744,null),null,(1),null)),(new cljs.core.List(null,self__.form,null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(cljs.core.identity,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.opts], 0))], 0)))); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 25, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"form","form",16469056,null),new cljs.core.Symbol(null,"max-count","max-count",-1115250464,null),new cljs.core.Symbol(null,"check?","check?",409539557,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"gen-max","gen-max",846851082,null),new cljs.core.Symbol(null,"pred","pred",-727012372,null),new cljs.core.Symbol(null,"cpred","cpred",-540353554,null),new cljs.core.Symbol(null,"conform-keys","conform-keys",-159510287,null),new cljs.core.Symbol(null,"kind-form","kind-form",1155997457,null),new cljs.core.Symbol(null,"addcv","addcv",-1552991247,null),new cljs.core.Symbol(null,"cfns","cfns",1335482066,null),new cljs.core.Symbol(null,"describe-form","describe-form",-1410156588,null),new cljs.core.Symbol(null,"map__33648","map__33648",69354997,null),new cljs.core.Symbol(null,"distinct","distinct",-148347594,null),new cljs.core.Symbol(null,"spec","spec",1988051928,null),new cljs.core.Symbol(null,"kfn","kfn",729311001,null),new cljs.core.Symbol(null,"gen-into","gen-into",592640985,null),new cljs.core.Symbol(null,"count","count",-514511684,null),new cljs.core.Symbol(null,"min-count","min-count",-1059726756,null),new cljs.core.Symbol(null,"opts","opts",1795607228,null),new cljs.core.Symbol(null,"kind","kind",923265724,null),new cljs.core.Symbol(null,"conform-all","conform-all",-980179459,null),new cljs.core.Symbol(null,"p__33646","p__33646",1118761470,null),new cljs.core.Symbol(null,"conform-into","conform-into",-1039113729,null),new cljs.core.Symbol(null,"meta33677","meta33677",1037058364,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha33676"); + +(cljs.spec.alpha.t_cljs$spec$alpha33676.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha33676"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha33676. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha33676 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha33676(form,max_count,check_QMARK_,gfn,gen_max,pred,cpred,conform_keys,kind_form,addcv,cfns,describe_form,map__33648,distinct,spec,kfn,gen_into,count,min_count,opts,kind,conform_all,p__33646,conform_into,meta33677){ +return (new cljs.spec.alpha.t_cljs$spec$alpha33676(form,max_count,check_QMARK_,gfn,gen_max,pred,cpred,conform_keys,kind_form,addcv,cfns,describe_form,map__33648,distinct,spec,kfn,gen_into,count,min_count,opts,kind,conform_all,p__33646,conform_into,meta33677)); +}); + + +/** + * Do not call this directly, use 'every', 'every-kv', 'coll-of' or 'map-of' + */ +cljs.spec.alpha.every_impl = (function cljs$spec$alpha$every_impl(var_args){ +var G__33628 = arguments.length; +switch (G__33628) { +case 3: +return cljs.spec.alpha.every_impl.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs.spec.alpha.every_impl.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.every_impl.cljs$core$IFn$_invoke$arity$3 = (function (form,pred,opts){ +return cljs.spec.alpha.every_impl.cljs$core$IFn$_invoke$arity$4(form,pred,opts,null); +})); + +(cljs.spec.alpha.every_impl.cljs$core$IFn$_invoke$arity$4 = (function (form,pred,p__33646,gfn){ +var map__33648 = p__33646; +var map__33648__$1 = cljs.core.__destructure_map(map__33648); +var opts = map__33648__$1; +var max_count = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword(null,"max-count","max-count",1539185305)); +var kind_form = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword("cljs.spec.alpha","kind-form","cljs.spec.alpha/kind-form",-1047104697)); +var gen_max = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__33648__$1,new cljs.core.Keyword(null,"gen-max","gen-max",-793680445),(20)); +var cpred = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword("cljs.spec.alpha","cpred","cljs.spec.alpha/cpred",-693471218)); +var conform_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword(null,"conform-keys","conform-keys",-1800041814)); +var describe_form = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword("cljs.spec.alpha","describe","cljs.spec.alpha/describe",1883026911)); +var distinct = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword(null,"distinct","distinct",-1788879121)); +var kfn = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword("cljs.spec.alpha","kfn","cljs.spec.alpha/kfn",672643897)); +var count = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword(null,"count","count",2139924085)); +var min_count = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword(null,"min-count","min-count",1594709013)); +var kind = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword(null,"kind","kind",-717265803)); +var conform_all = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword("cljs.spec.alpha","conform-all","cljs.spec.alpha/conform-all",45201917)); +var conform_into = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33648__$1,new cljs.core.Keyword(null,"into","into",-150836029)); +var gen_into = (cljs.core.truth_(conform_into)?cljs.core.empty(conform_into):cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.spec.alpha.empty_coll,kind_form)); +var spec = (new cljs.core.Delay((function (){ +return cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(pred); +}),null)); +var check_QMARK_ = (function (p1__33559_SHARP_){ +return cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(spec),p1__33559_SHARP_); +}); +var kfn__$1 = (function (){var or__5045__auto__ = kfn; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (function (i,v){ +return i; +}); +} +})(); +var addcv = (function (ret,i,v,cv){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,cv); +}); +var cfns = (function (x){ +if(((cljs.core.vector_QMARK_(x)) && (((cljs.core.not(conform_into)) || (cljs.core.vector_QMARK_(conform_into)))))){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.identity,(function (ret,i,v,cv){ +if((v === cv)){ +return ret; +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,i,cv); +} +}),cljs.core.identity], null); +} else { +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.map_QMARK_(x); +if(and__5043__auto__){ +var or__5045__auto__ = (function (){var and__5043__auto____$1 = kind; +if(cljs.core.truth_(and__5043__auto____$1)){ +return cljs.core.not(conform_into); +} else { +return and__5043__auto____$1; +} +})(); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.map_QMARK_(conform_into); +} +} else { +return and__5043__auto__; +} +})())){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(cljs.core.truth_(conform_keys)?cljs.core.empty:cljs.core.identity),(function (ret,i,v,cv){ +if((((v === cv)) && (cljs.core.not(conform_keys)))){ +return ret; +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(ret,cljs.core.nth.cljs$core$IFn$_invoke$arity$2((cljs.core.truth_(conform_keys)?cv:v),(0)),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(cv,(1))); +} +}),cljs.core.identity], null); +} else { +if(((cljs.core.list_QMARK_(conform_into)) || (((cljs.core.seq_QMARK_(conform_into)) || (((cljs.core.not(conform_into)) && (((cljs.core.list_QMARK_(x)) || (cljs.core.seq_QMARK_(x)))))))))){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.empty,addcv,cljs.core.reverse], null); +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(function (p1__33572_SHARP_){ +return cljs.core.empty((function (){var or__5045__auto__ = conform_into; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return p1__33572_SHARP_; +} +})()); +}),addcv,cljs.core.identity], null); + +} +} +} +}); +return (new cljs.spec.alpha.t_cljs$spec$alpha33676(form,max_count,check_QMARK_,gfn,gen_max,pred,cpred,conform_keys,kind_form,addcv,cfns,describe_form,map__33648__$1,distinct,spec,kfn__$1,gen_into,count,min_count,opts,kind,conform_all,p__33646,conform_into,cljs.core.PersistentArrayMap.EMPTY)); +})); + +(cljs.spec.alpha.every_impl.cljs$lang$maxFixedArity = 4); + +cljs.spec.alpha.accept = (function cljs$spec$alpha$accept(x){ +return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252),new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),new cljs.core.Keyword(null,"ret","ret",-468222814),x], null); +}); +cljs.spec.alpha.accept_QMARK_ = (function cljs$spec$alpha$accept_QMARK_(p__33838){ +var map__33839 = p__33838; +var map__33839__$1 = cljs.core.__destructure_map(map__33839); +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33839__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),op); +}); +cljs.spec.alpha.pcat_STAR_ = (function cljs$spec$alpha$pcat_STAR_(p__33846){ +var map__33849 = p__33846; +var map__33849__$1 = cljs.core.__destructure_map(map__33849); +var vec__33850 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33849__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__33851 = cljs.core.seq(vec__33850); +var first__33852 = cljs.core.first(seq__33851); +var seq__33851__$1 = cljs.core.next(seq__33851); +var p1 = first__33852; +var pr = seq__33851__$1; +var ps = vec__33850; +var vec__33853 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33849__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var seq__33854 = cljs.core.seq(vec__33853); +var first__33855 = cljs.core.first(seq__33854); +var seq__33854__$1 = cljs.core.next(seq__33854); +var k1 = first__33855; +var kr = seq__33854__$1; +var ks = vec__33853; +var vec__33856 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33849__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var seq__33857 = cljs.core.seq(vec__33856); +var first__33858 = cljs.core.first(seq__33857); +var seq__33857__$1 = cljs.core.next(seq__33857); +var f1 = first__33858; +var fr = seq__33857__$1; +var forms = vec__33856; +var ret = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33849__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var rep_PLUS_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__33849__$1,new cljs.core.Keyword(null,"rep+","rep+",-281382396)); +if(cljs.core.every_QMARK_(cljs.core.identity,ps)){ +if(cljs.spec.alpha.accept_QMARK_(p1)){ +var rp = new cljs.core.Keyword(null,"ret","ret",-468222814).cljs$core$IFn$_invoke$arity$1(p1); +var ret__$1 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,(cljs.core.truth_(ks)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k1,rp]):rp)); +if(pr){ +var G__33871 = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ps","ps",292358046),pr,new cljs.core.Keyword(null,"ks","ks",1900203942),kr,new cljs.core.Keyword(null,"forms","forms",2045992350),fr,new cljs.core.Keyword(null,"ret","ret",-468222814),ret__$1], null); +return (cljs.spec.alpha.pcat_STAR_.cljs$core$IFn$_invoke$arity$1 ? cljs.spec.alpha.pcat_STAR_.cljs$core$IFn$_invoke$arity$1(G__33871) : cljs.spec.alpha.pcat_STAR_.call(null, G__33871)); +} else { +return cljs.spec.alpha.accept(ret__$1); +} +} else { +return new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252),new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),new cljs.core.Keyword(null,"ps","ps",292358046),ps,new cljs.core.Keyword(null,"ret","ret",-468222814),ret,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"forms","forms",2045992350),forms,new cljs.core.Keyword(null,"rep+","rep+",-281382396),rep_PLUS_], null); +} +} else { +return null; +} +}); +cljs.spec.alpha.pcat = (function cljs$spec$alpha$pcat(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35779 = arguments.length; +var i__5770__auto___35781 = (0); +while(true){ +if((i__5770__auto___35781 < len__5769__auto___35779)){ +args__5775__auto__.push((arguments[i__5770__auto___35781])); + +var G__35783 = (i__5770__auto___35781 + (1)); +i__5770__auto___35781 = G__35783; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.alpha.pcat.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.alpha.pcat.cljs$core$IFn$_invoke$arity$variadic = (function (ps){ +return cljs.spec.alpha.pcat_STAR_(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"ps","ps",292358046),ps,new cljs.core.Keyword(null,"ret","ret",-468222814),cljs.core.PersistentVector.EMPTY], null)); +})); + +(cljs.spec.alpha.pcat.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.alpha.pcat.cljs$lang$applyTo = (function (seq33877){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq33877)); +})); + +/** + * Do not call this directly, use 'cat' + */ +cljs.spec.alpha.cat_impl = (function cljs$spec$alpha$cat_impl(ks,ps,forms){ +return cljs.spec.alpha.pcat_STAR_(new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"ps","ps",292358046),ps,new cljs.core.Keyword(null,"forms","forms",2045992350),forms,new cljs.core.Keyword(null,"ret","ret",-468222814),cljs.core.PersistentArrayMap.EMPTY], null)); +}); +cljs.spec.alpha.rep_STAR_ = (function cljs$spec$alpha$rep_STAR_(p1,p2,ret,splice,form){ +if(cljs.core.truth_(p1)){ +var r = new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252),new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),new cljs.core.Keyword(null,"p2","p2",905500641),p2,new cljs.core.Keyword(null,"splice","splice",449588165),splice,new cljs.core.Keyword(null,"forms","forms",2045992350),form,new cljs.core.Keyword(null,"id","id",-1388402092),cljs.core.random_uuid()], null); +if(cljs.spec.alpha.accept_QMARK_(p1)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(r,new cljs.core.Keyword(null,"p1","p1",-936759954),p2,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"ret","ret",-468222814),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,new cljs.core.Keyword(null,"ret","ret",-468222814).cljs$core$IFn$_invoke$arity$1(p1))], 0)); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(r,new cljs.core.Keyword(null,"p1","p1",-936759954),p1,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"ret","ret",-468222814),ret], 0)); +} +} else { +return null; +} +}); +/** + * Do not call this directly, use '*' + */ +cljs.spec.alpha.rep_impl = (function cljs$spec$alpha$rep_impl(form,p){ +return cljs.spec.alpha.rep_STAR_(p,p,cljs.core.PersistentVector.EMPTY,false,form); +}); +/** + * Do not call this directly, use '+' + */ +cljs.spec.alpha.rep_PLUS_impl = (function cljs$spec$alpha$rep_PLUS_impl(form,p){ +return cljs.spec.alpha.pcat_STAR_(new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ps","ps",292358046),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [p,cljs.spec.alpha.rep_STAR_(p,p,cljs.core.PersistentVector.EMPTY,true,form)], null),new cljs.core.Keyword(null,"forms","forms",2045992350),cljs.core.vec(cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,form,null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","*","cljs.spec.alpha/*",-1238084288,null),null,(1),null)),(new cljs.core.List(null,form,null,(1),null))))),null,(1),null)))))),new cljs.core.Keyword(null,"ret","ret",-468222814),cljs.core.PersistentVector.EMPTY,new cljs.core.Keyword(null,"rep+","rep+",-281382396),form], null)); +}); +/** + * Do not call this directly, use '&' + */ +cljs.spec.alpha.amp_impl = (function cljs$spec$alpha$amp_impl(re,re_form,preds,pred_forms){ +return new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252),new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),new cljs.core.Keyword(null,"p1","p1",-936759954),re,new cljs.core.Keyword(null,"amp","amp",271690571),re_form,new cljs.core.Keyword(null,"ps","ps",292358046),preds,new cljs.core.Keyword(null,"forms","forms",2045992350),pred_forms], null); +}); +cljs.spec.alpha.filter_alt = (function cljs$spec$alpha$filter_alt(ps,ks,forms,f){ +if(cljs.core.truth_((function (){var or__5045__auto__ = ks; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return forms; +} +})())){ +var pks = cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__33949_SHARP_){ +var G__33956 = cljs.core.first(p1__33949_SHARP_); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__33956) : f.call(null, G__33956)); +}),cljs.core.map.cljs$core$IFn$_invoke$arity$4(cljs.core.vector,ps,(function (){var or__5045__auto__ = cljs.core.seq(ks); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})(),(function (){var or__5045__auto__ = cljs.core.seq(forms); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})())); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.seq(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.first,pks)),(cljs.core.truth_(ks)?cljs.core.seq(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.second,pks)):null),(cljs.core.truth_(forms)?cljs.core.seq(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__33950_SHARP_){ +return cljs.core.nth.cljs$core$IFn$_invoke$arity$2(p1__33950_SHARP_,(2)); +}),pks)):null)], null); +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.seq(cljs.core.filter.cljs$core$IFn$_invoke$arity$2(f,ps)),ks,forms], null); +} +}); +cljs.spec.alpha.alt_STAR_ = (function cljs$spec$alpha$alt_STAR_(ps,ks,forms){ +var vec__33963 = cljs.spec.alpha.filter_alt(ps,ks,forms,cljs.core.identity); +var vec__33966 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33963,(0),null); +var seq__33967 = cljs.core.seq(vec__33966); +var first__33968 = cljs.core.first(seq__33967); +var seq__33967__$1 = cljs.core.next(seq__33967); +var p1 = first__33968; +var pr = seq__33967__$1; +var ps__$1 = vec__33966; +var vec__33969 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33963,(1),null); +var k1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33969,(0),null); +var ks__$1 = vec__33969; +var forms__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__33963,(2),null); +if(cljs.core.truth_(ps__$1)){ +var ret = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252),new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),new cljs.core.Keyword(null,"ps","ps",292358046),ps__$1,new cljs.core.Keyword(null,"ks","ks",1900203942),ks__$1,new cljs.core.Keyword(null,"forms","forms",2045992350),forms__$1], null); +if((pr == null)){ +if(cljs.core.truth_(k1)){ +if(cljs.spec.alpha.accept_QMARK_(p1)){ +return cljs.spec.alpha.accept(cljs.spec.alpha.tagged_ret(k1,new cljs.core.Keyword(null,"ret","ret",-468222814).cljs$core$IFn$_invoke$arity$1(p1))); +} else { +return ret; +} +} else { +return p1; +} +} else { +return ret; +} +} else { +return null; +} +}); +cljs.spec.alpha.alts = (function cljs$spec$alpha$alts(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___35814 = arguments.length; +var i__5770__auto___35815 = (0); +while(true){ +if((i__5770__auto___35815 < len__5769__auto___35814)){ +args__5775__auto__.push((arguments[i__5770__auto___35815])); + +var G__35817 = (i__5770__auto___35815 + (1)); +i__5770__auto___35815 = G__35817; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.alpha.alts.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.alpha.alts.cljs$core$IFn$_invoke$arity$variadic = (function (ps){ +return cljs.spec.alpha.alt_STAR_(ps,null,null); +})); + +(cljs.spec.alpha.alts.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.alpha.alts.cljs$lang$applyTo = (function (seq33975){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq33975)); +})); + +cljs.spec.alpha.alt2 = (function cljs$spec$alpha$alt2(p1,p2){ +if(cljs.core.truth_((function (){var and__5043__auto__ = p1; +if(cljs.core.truth_(and__5043__auto__)){ +return p2; +} else { +return and__5043__auto__; +} +})())){ +return cljs.spec.alpha.alts.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([p1,p2], 0)); +} else { +var or__5045__auto__ = p1; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return p2; +} +} +}); +/** + * Do not call this directly, use 'alt' + */ +cljs.spec.alpha.alt_impl = (function cljs$spec$alpha$alt_impl(ks,ps,forms){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.alt_STAR_(ps,ks,forms),new cljs.core.Keyword(null,"id","id",-1388402092),cljs.core.random_uuid()); +}); +/** + * Do not call this directly, use '?' + */ +cljs.spec.alpha.maybe_impl = (function cljs$spec$alpha$maybe_impl(p,form){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.alt_STAR_(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [p,cljs.spec.alpha.accept(new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))], null),null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [form,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950)], null)),new cljs.core.Keyword(null,"maybe","maybe",-314397560),form); +}); +cljs.spec.alpha.noret_QMARK_ = (function cljs$spec$alpha$noret_QMARK_(p1,pret){ +var or__5045__auto__ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(pret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950)); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (function (){var and__5043__auto__ = (function (){var G__33998 = new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252).cljs$core$IFn$_invoke$arity$1(cljs.spec.alpha.reg_resolve_BANG_(p1)); +var fexpr__33997 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),null,new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),null], null), null); +return (fexpr__33997.cljs$core$IFn$_invoke$arity$1 ? fexpr__33997.cljs$core$IFn$_invoke$arity$1(G__33998) : fexpr__33997.call(null, G__33998)); +})(); +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.empty_QMARK_(pret); +} else { +return and__5043__auto__; +} +})(); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return null; +} +} +}); +cljs.spec.alpha.accept_nil_QMARK_ = (function cljs$spec$alpha$accept_nil_QMARK_(p){ +var map__34009 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34009__$1 = cljs.core.__destructure_map(map__34009); +var p__$1 = map__34009__$1; +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34009__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var ps = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34009__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var p1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34009__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var p2 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34009__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34009__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var G__34011 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34011)){ +return true; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34011)){ +return null; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34011)){ +var and__5043__auto__ = (cljs.spec.alpha.accept_nil_QMARK_.cljs$core$IFn$_invoke$arity$1 ? cljs.spec.alpha.accept_nil_QMARK_.cljs$core$IFn$_invoke$arity$1(p1) : cljs.spec.alpha.accept_nil_QMARK_.call(null, p1)); +if(cljs.core.truth_(and__5043__auto__)){ +var ret = cljs.spec.alpha.and_preds(cljs.spec.alpha.preturn(p1),ps,cljs.core.next(forms)); +return (!(cljs.spec.alpha.invalid_QMARK_(ret))); +} else { +return and__5043__auto__; +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34011)){ +var or__5045__auto__ = (p1 === p2); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return (cljs.spec.alpha.accept_nil_QMARK_.cljs$core$IFn$_invoke$arity$1 ? cljs.spec.alpha.accept_nil_QMARK_.cljs$core$IFn$_invoke$arity$1(p1) : cljs.spec.alpha.accept_nil_QMARK_.call(null, p1)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34011)){ +return cljs.core.every_QMARK_(cljs.spec.alpha.accept_nil_QMARK_,ps); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34011)){ +return cljs.core.some(cljs.spec.alpha.accept_nil_QMARK_,ps); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34011)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.preturn = (function cljs$spec$alpha$preturn(p){ +var map__34039 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34039__$1 = cljs.core.__destructure_map(map__34039); +var p__$1 = map__34039__$1; +var vec__34040 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34039__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__34041 = cljs.core.seq(vec__34040); +var first__34042 = cljs.core.first(seq__34041); +var seq__34041__$1 = cljs.core.next(seq__34041); +var p0 = first__34042; +var pr = seq__34041__$1; +var ps = vec__34040; +var vec__34043 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34039__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34043,(0),null); +var ks = vec__34043; +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34039__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var p1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34039__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var ret = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34039__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34039__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var G__34047 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34047)){ +return ret; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34047)){ +return null; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34047)){ +var pret = (cljs.spec.alpha.preturn.cljs$core$IFn$_invoke$arity$1 ? cljs.spec.alpha.preturn.cljs$core$IFn$_invoke$arity$1(p1) : cljs.spec.alpha.preturn.call(null, p1)); +if(cljs.core.truth_(cljs.spec.alpha.noret_QMARK_(p1,pret))){ +return new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950); +} else { +return cljs.spec.alpha.and_preds(pret,ps,forms); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34047)){ +return cljs.spec.alpha.add_ret(p1,ret,k); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34047)){ +return cljs.spec.alpha.add_ret(p0,ret,k); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34047)){ +var vec__34053 = cljs.spec.alpha.filter_alt(ps,ks,forms,cljs.spec.alpha.accept_nil_QMARK_); +var vec__34056 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34053,(0),null); +var p0__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34056,(0),null); +var vec__34059 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34053,(1),null); +var k0 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34059,(0),null); +var r = (((p0__$1 == null))?new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950):(cljs.spec.alpha.preturn.cljs$core$IFn$_invoke$arity$1 ? cljs.spec.alpha.preturn.cljs$core$IFn$_invoke$arity$1(p0__$1) : cljs.spec.alpha.preturn.call(null, p0__$1))); +if(cljs.core.truth_(k0)){ +return cljs.spec.alpha.tagged_ret(k0,r); +} else { +return r; +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34047)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.op_unform = (function cljs$spec$alpha$op_unform(p,x){ +var map__34074 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34074__$1 = cljs.core.__destructure_map(map__34074); +var p__$1 = map__34074__$1; +var vec__34078 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__34079 = cljs.core.seq(vec__34078); +var first__34080 = cljs.core.first(seq__34079); +var seq__34079__$1 = cljs.core.next(seq__34079); +var p0 = first__34080; +var pr = seq__34079__$1; +var ps = vec__34078; +var vec__34081 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34081,(0),null); +var ks = vec__34081; +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var p1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var ret = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var rep_PLUS_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword(null,"rep+","rep+",-281382396)); +var maybe = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34074__$1,new cljs.core.Keyword(null,"maybe","maybe",-314397560)); +var kps = cljs.core.zipmap(ks,ps); +var G__34096 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34096)){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [ret], null); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34096)){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.alpha.unform(p__$1,x)], null); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34096)){ +var px = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__34065_SHARP_,p2__34064_SHARP_){ +return cljs.spec.alpha.unform(p2__34064_SHARP_,p1__34065_SHARP_); +}),x,cljs.core.reverse(ps)); +return (cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2(p1,px) : cljs.spec.alpha.op_unform.call(null, p1,px)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34096)){ +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((function (p1__34066_SHARP_){ +return (cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2(p1,p1__34066_SHARP_) : cljs.spec.alpha.op_unform.call(null, p1,p1__34066_SHARP_)); +}),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([x], 0)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34096)){ +if(cljs.core.truth_(rep_PLUS_)){ +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((function (p1__34067_SHARP_){ +return (cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2(p0,p1__34067_SHARP_) : cljs.spec.alpha.op_unform.call(null, p0,p1__34067_SHARP_)); +}),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([x], 0)); +} else { +return cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic((function (k__$1){ +if(cljs.core.contains_QMARK_(x,k__$1)){ +var G__34111 = (kps.cljs$core$IFn$_invoke$arity$1 ? kps.cljs$core$IFn$_invoke$arity$1(k__$1) : kps.call(null, k__$1)); +var G__34112 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(x,k__$1); +return (cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2(G__34111,G__34112) : cljs.spec.alpha.op_unform.call(null, G__34111,G__34112)); +} else { +return null; +} +}),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([ks], 0)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34096)){ +if(cljs.core.truth_(maybe)){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.alpha.unform(p0,x)], null); +} else { +var vec__34114 = x; +var k__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34114,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34114,(1),null); +var G__34117 = (kps.cljs$core$IFn$_invoke$arity$1 ? kps.cljs$core$IFn$_invoke$arity$1(k__$1) : kps.call(null, k__$1)); +var G__34118 = v; +return (cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.op_unform.cljs$core$IFn$_invoke$arity$2(G__34117,G__34118) : cljs.spec.alpha.op_unform.call(null, G__34117,G__34118)); +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34096)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.add_ret = (function cljs$spec$alpha$add_ret(p,r,k){ +var map__34124 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34124__$1 = cljs.core.__destructure_map(map__34124); +var p__$1 = map__34124__$1; +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34124__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var ps = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34124__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var splice = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34124__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var prop = (function (){ +var ret = cljs.spec.alpha.preturn(p__$1); +if(cljs.core.empty_QMARK_(ret)){ +return r; +} else { +var G__34128 = r; +var G__34129 = (cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret); +var fexpr__34127 = (cljs.core.truth_(splice)?cljs.core.into:cljs.core.conj); +return (fexpr__34127.cljs$core$IFn$_invoke$arity$2 ? fexpr__34127.cljs$core$IFn$_invoke$arity$2(G__34128,G__34129) : fexpr__34127.call(null, G__34128,G__34129)); +} +}); +var G__34131 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34131)){ +return r; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34131)){ +var ret = cljs.spec.alpha.preturn(p__$1); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return r; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(r,(cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34131)){ +var ret = cljs.spec.alpha.preturn(p__$1); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return r; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(r,(cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34131)){ +var ret = cljs.spec.alpha.preturn(p__$1); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return r; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(r,(cljs.core.truth_(k)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ret]):ret)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34131)){ +return prop(); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34131)){ +return prop(); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34131)].join(''))); + +} +} +} +} +} +} +}); +cljs.spec.alpha.deriv = (function cljs$spec$alpha$deriv(p,x){ +var map__34147 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34147__$1 = cljs.core.__destructure_map(map__34147); +var p__$1 = map__34147__$1; +var forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var p2 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var vec__34148 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var seq__34149 = cljs.core.seq(vec__34148); +var first__34150 = cljs.core.first(seq__34149); +var seq__34149__$1 = cljs.core.next(seq__34149); +var p0 = first__34150; +var pr = seq__34149__$1; +var ps = vec__34148; +var ret = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var splice = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var vec__34151 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var seq__34152 = cljs.core.seq(vec__34151); +var first__34153 = cljs.core.first(seq__34152); +var seq__34152__$1 = cljs.core.next(seq__34152); +var k0 = first__34153; +var kr = seq__34152__$1; +var ks = vec__34151; +var amp = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"amp","amp",271690571)); +var p1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34147__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +if(cljs.core.truth_(p__$1)){ +var G__34156 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34156)){ +return null; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34156)){ +var ret__$1 = cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(p__$1,x,p__$1); +if(cljs.spec.alpha.invalid_QMARK_(ret__$1)){ +return null; +} else { +return cljs.spec.alpha.accept(ret__$1); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34156)){ +var temp__5823__auto__ = (cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2(p1,x) : cljs.spec.alpha.deriv.call(null, p1,x)); +if(cljs.core.truth_(temp__5823__auto__)){ +var p1__$1 = temp__5823__auto__; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252).cljs$core$IFn$_invoke$arity$1(p1__$1))){ +var ret__$1 = cljs.spec.alpha.and_preds(cljs.spec.alpha.preturn(p1__$1),ps,cljs.core.next(forms)); +if(cljs.spec.alpha.invalid_QMARK_(ret__$1)){ +return null; +} else { +return cljs.spec.alpha.accept(ret__$1); +} +} else { +return cljs.spec.alpha.amp_impl(p1__$1,amp,ps,forms); +} +} else { +return null; +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34156)){ +return cljs.spec.alpha.alt2(cljs.spec.alpha.pcat_STAR_(new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ps","ps",292358046),cljs.core.cons((cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2(p0,x) : cljs.spec.alpha.deriv.call(null, p0,x)),pr),new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"forms","forms",2045992350),forms,new cljs.core.Keyword(null,"ret","ret",-468222814),ret], null)),(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_(p0))?(function (){var G__34170 = cljs.spec.alpha.pcat_STAR_(new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ps","ps",292358046),pr,new cljs.core.Keyword(null,"ks","ks",1900203942),kr,new cljs.core.Keyword(null,"forms","forms",2045992350),cljs.core.next(forms),new cljs.core.Keyword(null,"ret","ret",-468222814),cljs.spec.alpha.add_ret(p0,ret,k0)], null)); +var G__34171 = x; +return (cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2(G__34170,G__34171) : cljs.spec.alpha.deriv.call(null, G__34170,G__34171)); +})():null)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34156)){ +return cljs.spec.alpha.alt_STAR_(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__34142_SHARP_){ +return (cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2(p1__34142_SHARP_,x) : cljs.spec.alpha.deriv.call(null, p1__34142_SHARP_,x)); +}),ps),ks,forms); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34156)){ +return cljs.spec.alpha.alt2(cljs.spec.alpha.rep_STAR_((cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2(p1,x) : cljs.spec.alpha.deriv.call(null, p1,x)),p2,ret,splice,forms),(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_(p1))?(function (){var G__34176 = cljs.spec.alpha.rep_STAR_(p2,p2,cljs.spec.alpha.add_ret(p1,ret,null),splice,forms); +var G__34177 = x; +return (cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.deriv.cljs$core$IFn$_invoke$arity$2(G__34176,G__34177) : cljs.spec.alpha.deriv.call(null, G__34176,G__34177)); +})():null)); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34156)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +}); +cljs.spec.alpha.op_describe = (function cljs$spec$alpha$op_describe(p){ +var map__34186 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34186__$1 = cljs.core.__destructure_map(map__34186); +var p__$1 = map__34186__$1; +var ps = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var rep_PLUS_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"rep+","rep+",-281382396)); +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var splice = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var ks = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var maybe = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"maybe","maybe",-314397560)); +var amp = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"amp","amp",271690571)); +var p1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34186__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +if(cljs.core.truth_(p__$1)){ +var G__34192 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34192)){ +return null; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34192)){ +return p__$1; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34192)){ +return cljs.core.list_STAR_.cljs$core$IFn$_invoke$arity$3(new cljs.core.Symbol("cljs.spec.alpha","&","cljs.spec.alpha/&",1635809823,null),amp,forms); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34192)){ +if(cljs.core.truth_(rep_PLUS_)){ +return (new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","+","cljs.spec.alpha/+",2101263265,null),(new cljs.core.List(null,rep_PLUS_,null,(1),null)),(2),null)); +} else { +return cljs.core.cons(new cljs.core.Symbol("cljs.spec.alpha","cat","cljs.spec.alpha/cat",-1471398329,null),cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(cljs.core.vector,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (){var or__5045__auto__ = cljs.core.seq(ks); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"_","_",1453416199)); +} +})(),forms], 0))); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34192)){ +if(cljs.core.truth_(maybe)){ +return (new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","?","cljs.spec.alpha/?",1605136319,null),(new cljs.core.List(null,maybe,null,(1),null)),(2),null)); +} else { +return cljs.core.cons(new cljs.core.Symbol("cljs.spec.alpha","alt","cljs.spec.alpha/alt",-2130750332,null),cljs.core.mapcat.cljs$core$IFn$_invoke$arity$variadic(cljs.core.vector,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([ks,forms], 0))); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34192)){ +return (new cljs.core.List(null,(cljs.core.truth_(splice)?new cljs.core.Symbol("cljs.spec.alpha","+","cljs.spec.alpha/+",2101263265,null):new cljs.core.Symbol("cljs.spec.alpha","*","cljs.spec.alpha/*",-1238084288,null)),(new cljs.core.List(null,forms,null,(1),null)),(2),null)); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34192)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +}); +cljs.spec.alpha.op_explain = (function cljs$spec$alpha$op_explain(form,p,path,via,in$,input){ +var vec__34212 = input; +var x = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34212,(0),null); +var input__$1 = vec__34212; +var map__34216 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34216__$1 = cljs.core.__destructure_map(map__34216); +var p__$1 = map__34216__$1; +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34216__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var ps = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34216__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var ks = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34216__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34216__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var splice = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34216__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var p1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34216__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var p2 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34216__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var via__$1 = (function (){var temp__5821__auto__ = cljs.spec.alpha.spec_name(p__$1); +if(cljs.core.truth_(temp__5821__auto__)){ +var name = temp__5821__auto__; +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(via,name); +} else { +return via; +} +})(); +var insufficient = (function (path__$1,form__$1){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),path__$1,new cljs.core.Keyword(null,"reason","reason",-2070751759),"Insufficient input",new cljs.core.Keyword(null,"pred","pred",1927423397),form__$1,new cljs.core.Keyword(null,"val","val",128701612),cljs.core.List.EMPTY,new cljs.core.Keyword(null,"via","via",-1904457336),via__$1,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +}); +if(cljs.core.truth_(p__$1)){ +var G__34243 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34243)){ +return null; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34243)){ +if(cljs.core.empty_QMARK_(input__$1)){ +return insufficient(path,form); +} else { +return cljs.spec.alpha.explain_1(form,p__$1,path,via__$1,in$,x); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34243)){ +if(cljs.core.empty_QMARK_(input__$1)){ +if(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_(p1))){ +return cljs.spec.alpha.explain_pred_list(forms,ps,path,via__$1,in$,cljs.spec.alpha.preturn(p1)); +} else { +return insufficient(path,new cljs.core.Keyword(null,"amp","amp",271690571).cljs$core$IFn$_invoke$arity$1(p__$1)); +} +} else { +var temp__5821__auto__ = cljs.spec.alpha.deriv(p1,x); +if(cljs.core.truth_(temp__5821__auto__)){ +var p1__$1 = temp__5821__auto__; +return cljs.spec.alpha.explain_pred_list(forms,ps,path,via__$1,in$,cljs.spec.alpha.preturn(p1__$1)); +} else { +var G__34250 = new cljs.core.Keyword(null,"amp","amp",271690571).cljs$core$IFn$_invoke$arity$1(p__$1); +var G__34251 = p1; +var G__34252 = path; +var G__34253 = via__$1; +var G__34254 = in$; +var G__34255 = input__$1; +return (cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6 ? cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6(G__34250,G__34251,G__34252,G__34253,G__34254,G__34255) : cljs.spec.alpha.op_explain.call(null, G__34250,G__34251,G__34252,G__34253,G__34254,G__34255)); +} +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34243)){ +var pkfs = cljs.core.map.cljs$core$IFn$_invoke$arity$4(cljs.core.vector,ps,(function (){var or__5045__auto__ = cljs.core.seq(ks); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})(),(function (){var or__5045__auto__ = cljs.core.seq(forms); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})()); +var vec__34258 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((1),cljs.core.count(pkfs)))?cljs.core.first(pkfs):cljs.core.first(cljs.core.remove.cljs$core$IFn$_invoke$arity$2((function (p__34262){ +var vec__34263 = p__34262; +var p__$2 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34263,(0),null); +return cljs.spec.alpha.accept_nil_QMARK_(p__$2); +}),pkfs))); +var pred = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34258,(0),null); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34258,(1),null); +var form__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34258,(2),null); +var path__$1 = (cljs.core.truth_(k)?cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k):path); +var form__$2 = (function (){var or__5045__auto__ = form__$1; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.spec.alpha.op_describe(pred); +} +})(); +if(((cljs.core.empty_QMARK_(input__$1)) && (cljs.core.not(pred)))){ +return insufficient(path__$1,form__$2); +} else { +return (cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6 ? cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6(form__$2,pred,path__$1,via__$1,in$,input__$1) : cljs.spec.alpha.op_explain.call(null, form__$2,pred,path__$1,via__$1,in$,input__$1)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34243)){ +if(cljs.core.empty_QMARK_(input__$1)){ +return insufficient(path,cljs.spec.alpha.op_describe(p__$1)); +} else { +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,cljs.core.map.cljs$core$IFn$_invoke$arity$4((function (k,form__$1,pred){ +var G__34283 = (function (){var or__5045__auto__ = form__$1; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.spec.alpha.op_describe(pred); +} +})(); +var G__34284 = pred; +var G__34285 = (cljs.core.truth_(k)?cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k):path); +var G__34286 = via__$1; +var G__34287 = in$; +var G__34289 = input__$1; +return (cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6 ? cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6(G__34283,G__34284,G__34285,G__34286,G__34287,G__34289) : cljs.spec.alpha.op_explain.call(null, G__34283,G__34284,G__34285,G__34286,G__34287,G__34289)); +}),(function (){var or__5045__auto__ = cljs.core.seq(ks); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})(),(function (){var or__5045__auto__ = cljs.core.seq(forms); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})(),ps)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34243)){ +var G__34307 = (((p1 === p2))?forms:cljs.spec.alpha.op_describe(p1)); +var G__34308 = p1; +var G__34309 = path; +var G__34310 = via__$1; +var G__34311 = in$; +var G__34312 = input__$1; +return (cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6 ? cljs.spec.alpha.op_explain.cljs$core$IFn$_invoke$arity$6(G__34307,G__34308,G__34309,G__34310,G__34311,G__34312) : cljs.spec.alpha.op_explain.call(null, G__34307,G__34308,G__34309,G__34310,G__34311,G__34312)); +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34243)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +}); +cljs.spec.alpha.re_gen = (function cljs$spec$alpha$re_gen(p,overrides,path,rmap,f){ +var origp = p; +var map__34325 = cljs.spec.alpha.reg_resolve_BANG_(p); +var map__34325__$1 = cljs.core.__destructure_map(map__34325); +var p__$1 = map__34325__$1; +var ps = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"ps","ps",292358046)); +var forms = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"forms","forms",2045992350)); +var p2 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"p2","p2",905500641)); +var ret = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"ret","ret",-468222814)); +var gfn = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword("cljs.spec.alpha","gfn","cljs.spec.alpha/gfn",-593120375)); +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252)); +var splice = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"splice","splice",449588165)); +var ks = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var p1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"p1","p1",-936759954)); +var id = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__34325__$1,new cljs.core.Keyword(null,"id","id",-1388402092)); +var rmap__$1 = (cljs.core.truth_(id)?cljs.spec.alpha.inck(rmap,id):rmap); +var ggens = (function (ps__$1,ks__$1,forms__$1){ +var gen = (function (p__$2,k,f__$1){ +if(cljs.core.truth_((function (){var and__5043__auto__ = rmap__$1; +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = id; +if(cljs.core.truth_(and__5043__auto____$1)){ +var and__5043__auto____$2 = k; +if(cljs.core.truth_(and__5043__auto____$2)){ +return cljs.spec.alpha.recur_limit_QMARK_(rmap__$1,id,path,k); +} else { +return and__5043__auto____$2; +} +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})())){ +return null; +} else { +if(cljs.core.truth_(id)){ +return cljs.spec.gen.alpha.delay_impl((new cljs.core.Delay((function (){ +var G__34329 = p__$2; +var G__34330 = overrides; +var G__34331 = (cljs.core.truth_(k)?cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k):path); +var G__34332 = rmap__$1; +var G__34333 = (function (){var or__5045__auto__ = f__$1; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return p__$2; +} +})(); +return (cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5 ? cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5(G__34329,G__34330,G__34331,G__34332,G__34333) : cljs.spec.alpha.re_gen.call(null, G__34329,G__34330,G__34331,G__34332,G__34333)); +}),null))); +} else { +var G__34337 = p__$2; +var G__34338 = overrides; +var G__34339 = (cljs.core.truth_(k)?cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,k):path); +var G__34340 = rmap__$1; +var G__34341 = (function (){var or__5045__auto__ = f__$1; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return p__$2; +} +})(); +return (cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5 ? cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5(G__34337,G__34338,G__34339,G__34340,G__34341) : cljs.spec.alpha.re_gen.call(null, G__34337,G__34338,G__34339,G__34340,G__34341)); +} +} +}); +return cljs.core.map.cljs$core$IFn$_invoke$arity$4(gen,ps__$1,(function (){var or__5045__auto__ = cljs.core.seq(ks__$1); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})(),(function (){var or__5045__auto__ = cljs.core.seq(forms__$1); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return cljs.core.repeat.cljs$core$IFn$_invoke$arity$1(null); +} +})()); +}); +var or__5045__auto__ = (function (){var temp__5823__auto__ = (function (){var or__5045__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(overrides,cljs.spec.alpha.spec_name(origp)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(overrides,cljs.spec.alpha.spec_name(p__$1)); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(overrides,path); +} +} +})(); +if(cljs.core.truth_(temp__5823__auto__)){ +var gfn__$1 = temp__5823__auto__; +var G__34356 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"accept","accept",1874130431),G__34356)){ +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.vector,(gfn__$1.cljs$core$IFn$_invoke$arity$0 ? gfn__$1.cljs$core$IFn$_invoke$arity$0() : gfn__$1.call(null, ))], 0)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34356)){ +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.vector,(gfn__$1.cljs$core$IFn$_invoke$arity$0 ? gfn__$1.cljs$core$IFn$_invoke$arity$0() : gfn__$1.call(null, ))], 0)); +} else { +return (gfn__$1.cljs$core$IFn$_invoke$arity$0 ? gfn__$1.cljs$core$IFn$_invoke$arity$0() : gfn__$1.call(null, )); + +} +} +} else { +return null; +} +})(); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var or__5045__auto____$1 = (cljs.core.truth_(gfn)?(gfn.cljs$core$IFn$_invoke$arity$0 ? gfn.cljs$core$IFn$_invoke$arity$0() : gfn.call(null, )):null); +if(cljs.core.truth_(or__5045__auto____$1)){ +return or__5045__auto____$1; +} else { +if(cljs.core.truth_(p__$1)){ +var G__34359 = op; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","accept","cljs.spec.alpha/accept",370988198),G__34359)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.PersistentVector.EMPTY], 0)); +} else { +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [ret], null)], 0)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(null,G__34359)){ +var temp__5823__auto__ = cljs.spec.alpha.gensub(p__$1,overrides,path,rmap__$1,f); +if(cljs.core.truth_(temp__5823__auto__)){ +var g = temp__5823__auto__; +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.vector,g], 0)); +} else { +return null; +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","amp","cljs.spec.alpha/amp",831147508),G__34359)){ +var G__34366 = p1; +var G__34367 = overrides; +var G__34368 = path; +var G__34369 = rmap__$1; +var G__34370 = cljs.spec.alpha.op_describe(p1); +return (cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5 ? cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5(G__34366,G__34367,G__34368,G__34369,G__34370) : cljs.spec.alpha.re_gen.call(null, G__34366,G__34367,G__34368,G__34369,G__34370)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623),G__34359)){ +var gens = ggens(ps,ks,forms); +if(cljs.core.every_QMARK_(cljs.core.identity,gens)){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.spec.gen.alpha.cat,gens); +} else { +return null; +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","alt","cljs.spec.alpha/alt",523685437),G__34359)){ +var gens = cljs.core.remove.cljs$core$IFn$_invoke$arity$2(cljs.core.nil_QMARK_,ggens(ps,ks,forms)); +if(cljs.core.empty_QMARK_(gens)){ +return null; +} else { +return cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([gens], 0)); +} +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","rep","cljs.spec.alpha/rep",1483217317),G__34359)){ +if(cljs.spec.alpha.recur_limit_QMARK_(rmap__$1,id,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [id], null),id)){ +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.PersistentVector.EMPTY], 0)); +} else { +var temp__5823__auto__ = (cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5 ? cljs.spec.alpha.re_gen.cljs$core$IFn$_invoke$arity$5(p2,overrides,path,rmap__$1,forms) : cljs.spec.alpha.re_gen.call(null, p2,overrides,path,rmap__$1,forms)); +if(cljs.core.truth_(temp__5823__auto__)){ +var g = temp__5823__auto__; +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__34321_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,p1__34321_SHARP_); +}),cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([g], 0))], 0)); +} else { +return null; +} +} +} else { +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__34359)].join(''))); + +} +} +} +} +} +} +} else { +return null; +} +} +} +}); +cljs.spec.alpha.re_conform = (function cljs$spec$alpha$re_conform(p,p__34384){ +while(true){ +var vec__34387 = p__34384; +var seq__34388 = cljs.core.seq(vec__34387); +var first__34389 = cljs.core.first(seq__34388); +var seq__34388__$1 = cljs.core.next(seq__34388); +var x = first__34389; +var xs = seq__34388__$1; +var data = vec__34387; +if(cljs.core.empty_QMARK_(data)){ +if(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_(p))){ +var ret = cljs.spec.alpha.preturn(p); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ret,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950))){ +return null; +} else { +return ret; +} +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +} else { +var temp__5821__auto__ = cljs.spec.alpha.deriv(p,x); +if(cljs.core.truth_(temp__5821__auto__)){ +var dp = temp__5821__auto__; +var G__35917 = dp; +var G__35918 = xs; +p = G__35917; +p__34384 = G__35918; +continue; +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +} +break; +} +}); +cljs.spec.alpha.re_explain = (function cljs$spec$alpha$re_explain(path,via,in$,re,input){ +var p = re; +var G__34402 = input; +var vec__34404 = G__34402; +var seq__34405 = cljs.core.seq(vec__34404); +var first__34406 = cljs.core.first(seq__34405); +var seq__34405__$1 = cljs.core.next(seq__34405); +var x = first__34406; +var xs = seq__34405__$1; +var data = vec__34404; +var i = (0); +var p__$1 = p; +var G__34402__$1 = G__34402; +var i__$1 = i; +while(true){ +var p__$2 = p__$1; +var vec__34411 = G__34402__$1; +var seq__34412 = cljs.core.seq(vec__34411); +var first__34413 = cljs.core.first(seq__34412); +var seq__34412__$1 = cljs.core.next(seq__34412); +var x__$1 = first__34413; +var xs__$1 = seq__34412__$1; +var data__$1 = vec__34411; +var i__$2 = i__$1; +if(cljs.core.empty_QMARK_(data__$1)){ +if(cljs.core.truth_(cljs.spec.alpha.accept_nil_QMARK_(p__$2))){ +return null; +} else { +return cljs.spec.alpha.op_explain(cljs.spec.alpha.op_describe(p__$2),p__$2,path,via,in$,null); +} +} else { +var temp__5821__auto__ = cljs.spec.alpha.deriv(p__$2,x__$1); +if(cljs.core.truth_(temp__5821__auto__)){ +var dp = temp__5821__auto__; +var G__35922 = dp; +var G__35923 = xs__$1; +var G__35924 = (i__$2 + (1)); +p__$1 = G__35922; +G__34402__$1 = G__35923; +i__$1 = G__35924; +continue; +} else { +if(cljs.spec.alpha.accept_QMARK_(p__$2)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","op","cljs.spec.alpha/op",-1269055252).cljs$core$IFn$_invoke$arity$1(p__$2),new cljs.core.Keyword("cljs.spec.alpha","pcat","cljs.spec.alpha/pcat",26406623))){ +return cljs.spec.alpha.op_explain(cljs.spec.alpha.op_describe(p__$2),p__$2,path,via,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(in$,i__$2),cljs.core.seq(data__$1)); +} else { +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"reason","reason",-2070751759),"Extra input",new cljs.core.Keyword(null,"pred","pred",1927423397),cljs.spec.alpha.op_describe(re),new cljs.core.Keyword(null,"val","val",128701612),data__$1,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(in$,i__$2)], null)], null); +} +} else { +var or__5045__auto__ = cljs.spec.alpha.op_explain(cljs.spec.alpha.op_describe(p__$2),p__$2,path,via,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(in$,i__$2),cljs.core.seq(data__$1)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"reason","reason",-2070751759),"Extra input",new cljs.core.Keyword(null,"pred","pred",1927423397),cljs.spec.alpha.op_describe(p__$2),new cljs.core.Keyword(null,"val","val",128701612),data__$1,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(in$,i__$2)], null)], null); +} +} +} +} +break; +} +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha34426 = (function (re,gfn,meta34427){ +this.re = re; +this.gfn = gfn; +this.meta34427 = meta34427; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34428,meta34427__$1){ +var self__ = this; +var _34428__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha34426(self__.re,self__.gfn,meta34427__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34428){ +var self__ = this; +var _34428__$1 = this; +return self__.meta34427; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +if((((x == null)) || (cljs.core.sequential_QMARK_(x)))){ +return cljs.spec.alpha.re_conform(self__.re,cljs.core.seq(x)); +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.op_unform(self__.re,x); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if((((x == null)) || (cljs.core.sequential_QMARK_(x)))){ +return cljs.spec.alpha.re_explain(path,via,in$,self__.re,cljs.core.seq(x)); +} else { +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","fn","cljs.core/fn",-1065745098,null),null,(1),null)),(new cljs.core.List(null,cljs.core.vec(cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$1((new cljs.core.List(null,new cljs.core.Symbol(null,"%","%",-950237169,null),null,(1),null)))))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","or","cljs.core/or",1201033885,null),null,(1),null)),(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","nil?","cljs.core/nil?",945071861,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"%","%",-950237169,null),null,(1),null))))),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.core","sequential?","cljs.core/sequential?",1777854658,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Symbol(null,"%","%",-950237169,null),null,(1),null))))),null,(1),null))], 0)))),null,(1),null))], 0)))),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +return cljs.spec.alpha.re_gen(self__.re,overrides,path,rmap,cljs.spec.alpha.op_describe(self__.re)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return (cljs.spec.alpha.regex_spec_impl.cljs$core$IFn$_invoke$arity$2 ? cljs.spec.alpha.regex_spec_impl.cljs$core$IFn$_invoke$arity$2(self__.re,gfn__$1) : cljs.spec.alpha.regex_spec_impl.call(null, self__.re,gfn__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.op_describe(self__.re); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"re","re",1869207729,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"meta34427","meta34427",-1812758665,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha34426"); + +(cljs.spec.alpha.t_cljs$spec$alpha34426.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha34426"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha34426. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha34426 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha34426(re,gfn,meta34427){ +return (new cljs.spec.alpha.t_cljs$spec$alpha34426(re,gfn,meta34427)); +}); + + +/** + * Do not call this directly, use 'spec' with a regex op argument + */ +cljs.spec.alpha.regex_spec_impl = (function cljs$spec$alpha$regex_spec_impl(re,gfn){ +return (new cljs.spec.alpha.t_cljs$spec$alpha34426(re,gfn,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.spec.alpha.call_valid_QMARK_ = (function cljs$spec$alpha$call_valid_QMARK_(f,specs,args){ +var cargs = cljs.spec.alpha.conform(new cljs.core.Keyword(null,"args","args",1315556576).cljs$core$IFn$_invoke$arity$1(specs),args); +if(cljs.spec.alpha.invalid_QMARK_(cargs)){ +return null; +} else { +var ret = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,args); +var cret = cljs.spec.alpha.conform(new cljs.core.Keyword(null,"ret","ret",-468222814).cljs$core$IFn$_invoke$arity$1(specs),ret); +var and__5043__auto__ = (!(cljs.spec.alpha.invalid_QMARK_(cret))); +if(and__5043__auto__){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"fn","fn",-1175266204).cljs$core$IFn$_invoke$arity$1(specs))){ +return cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"fn","fn",-1175266204).cljs$core$IFn$_invoke$arity$1(specs),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"args","args",1315556576),cargs,new cljs.core.Keyword(null,"ret","ret",-468222814),cret], null)); +} else { +return true; +} +} else { +return and__5043__auto__; +} +} +}); +/** + * returns f if valid, else smallest + */ +cljs.spec.alpha.validate_fn = (function cljs$spec$alpha$validate_fn(f,specs,iters){ +var g = cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"args","args",1315556576).cljs$core$IFn$_invoke$arity$1(specs)); +var prop = cljs.spec.gen.alpha.for_all_STAR_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [g], null),(function (p1__34476_SHARP_){ +return cljs.spec.alpha.call_valid_QMARK_(f,specs,p1__34476_SHARP_); +})], 0)); +var ret = cljs.spec.gen.alpha.quick_check.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([iters,prop], 0)); +var temp__5821__auto__ = new cljs.core.Keyword(null,"smallest","smallest",-152623883).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"shrunk","shrunk",-2041664412).cljs$core$IFn$_invoke$arity$1(ret)); +if(cljs.core.truth_(temp__5821__auto__)){ +var vec__34502 = temp__5821__auto__; +var smallest = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34502,(0),null); +return smallest; +} else { +return f; +} +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.ILookup} +*/ +cljs.spec.alpha.t_cljs$spec$alpha34512 = (function (argspec,aform,retspec,rform,fnspec,fform,gfn,specs,meta34513){ +this.argspec = argspec; +this.aform = aform; +this.retspec = retspec; +this.rform = rform; +this.fnspec = fnspec; +this.fform = fform; +this.gfn = gfn; +this.specs = specs; +this.meta34513 = meta34513; +this.cljs$lang$protocol_mask$partition0$ = 393472; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34514,meta34513__$1){ +var self__ = this; +var _34514__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha34512(self__.argspec,self__.aform,self__.retspec,self__.rform,self__.fnspec,self__.fform,self__.gfn,self__.specs,meta34513__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34514){ +var self__ = this; +var _34514__$1 = this; +return self__.meta34513; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this$,k){ +var self__ = this; +var this$__$1 = this; +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(self__.specs,k); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (_,k,not_found){ +var self__ = this; +var ___$1 = this; +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.specs,k,not_found); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,f){ +var self__ = this; +var ___$1 = this; +if(cljs.core.ifn_QMARK_(f)){ +if((f === cljs.spec.alpha.validate_fn(f,self__.specs,cljs.spec.alpha._STAR_fspec_iterations_STAR_))){ +return f; +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +} else { +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,f){ +var self__ = this; +var ___$1 = this; +return f; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,f){ +var self__ = this; +var ___$1 = this; +if(cljs.core.ifn_QMARK_(f)){ +var args = cljs.spec.alpha.validate_fn(f,self__.specs,(100)); +if((f === args)){ +return null; +} else { +var ret = (function (){try{return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,args); +}catch (e34531){if((e34531 instanceof Error)){ +var t = e34531; +return t; +} else { +throw e34531; + +} +}})(); +if((ret instanceof Error)){ +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),cljs.core.list(new cljs.core.Symbol(null,"apply","apply",-1334050276,null),new cljs.core.Symbol(null,"fn","fn",465265323,null)),new cljs.core.Keyword(null,"val","val",128701612),args,new cljs.core.Keyword(null,"reason","reason",-2070751759),ret.message,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} else { +var cret = cljs.spec.alpha.dt.cljs$core$IFn$_invoke$arity$3(self__.retspec,ret,self__.rform); +if(cljs.spec.alpha.invalid_QMARK_(cret)){ +return cljs.spec.alpha.explain_1(self__.rform,self__.retspec,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,new cljs.core.Keyword(null,"ret","ret",-468222814)),via,in$,ret); +} else { +if(cljs.core.truth_(self__.fnspec)){ +var cargs = cljs.spec.alpha.conform(self__.argspec,args); +return cljs.spec.alpha.explain_1(self__.fform,self__.fnspec,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,new cljs.core.Keyword(null,"fn","fn",-1175266204)),via,in$,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"args","args",1315556576),cargs,new cljs.core.Keyword(null,"ret","ret",-468222814),cret], null)); +} else { +return null; +} +} +} +} +} else { +return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"pred","pred",1927423397),new cljs.core.Symbol(null,"ifn?","ifn?",-2106461064,null),new cljs.core.Keyword(null,"val","val",128701612),f,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)], null); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,___$1,___$2){ +var self__ = this; +var ___$3 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function() { +var G__35977__delegate = function (args){ +if(cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2(self__.argspec,args)){ +} else { +throw (new Error(["Assert failed: ",(function (){var sb__5690__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR__orig_val__34612_35979 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR__orig_val__34613_35980 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR__temp_val__34614_35981 = true; +var _STAR_print_fn_STAR__temp_val__34615_35982 = (function (x__5691__auto__){ +return sb__5690__auto__.append(x__5691__auto__); +}); +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__temp_val__34614_35981); + +(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__temp_val__34615_35982); + +try{cljs.spec.alpha.explain(self__.argspec,args); +}finally {(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__orig_val__34613_35980); + +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__orig_val__34612_35979); +} +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__5690__auto__); +})(),"\n","(pvalid? argspec args)"].join(''))); +} + +return cljs.spec.gen.alpha.generate(cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$2(self__.retspec,overrides)); +}; +var G__35977 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__35983__i = 0, G__35983__a = new Array(arguments.length - 0); +while (G__35983__i < G__35983__a.length) {G__35983__a[G__35983__i] = arguments[G__35983__i + 0]; ++G__35983__i;} + args = new cljs.core.IndexedSeq(G__35983__a,0,null); +} +return G__35977__delegate.call(this,args);}; +G__35977.cljs$lang$maxFixedArity = 0; +G__35977.cljs$lang$applyTo = (function (arglist__35984){ +var args = cljs.core.seq(arglist__35984); +return G__35977__delegate(args); +}); +G__35977.cljs$core$IFn$_invoke$arity$variadic = G__35977__delegate; +return G__35977; +})() +], 0)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return (cljs.spec.alpha.fspec_impl.cljs$core$IFn$_invoke$arity$7 ? cljs.spec.alpha.fspec_impl.cljs$core$IFn$_invoke$arity$7(self__.argspec,self__.aform,self__.retspec,self__.rform,self__.fnspec,self__.fform,gfn__$1) : cljs.spec.alpha.fspec_impl.call(null, self__.argspec,self__.aform,self__.retspec,self__.rform,self__.fnspec,self__.fform,gfn__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","fspec","cljs.spec.alpha/fspec",-1289128341,null),null,(1),null)),(new cljs.core.List(null,new cljs.core.Keyword(null,"args","args",1315556576),null,(1),null)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(new cljs.core.List(null,self__.aform,null,(1),null)),(new cljs.core.List(null,new cljs.core.Keyword(null,"ret","ret",-468222814),null,(1),null)),(new cljs.core.List(null,self__.rform,null,(1),null)),(new cljs.core.List(null,new cljs.core.Keyword(null,"fn","fn",-1175266204),null,(1),null)),(new cljs.core.List(null,self__.fform,null,(1),null))], 0)))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"argspec","argspec",-1207762746,null),new cljs.core.Symbol(null,"aform","aform",531303525,null),new cljs.core.Symbol(null,"retspec","retspec",-920025354,null),new cljs.core.Symbol(null,"rform","rform",-1420499912,null),new cljs.core.Symbol(null,"fnspec","fnspec",-1865712406,null),new cljs.core.Symbol(null,"fform","fform",-176049972,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"specs","specs",-1227865028,null),new cljs.core.Symbol(null,"meta34513","meta34513",-1868343638,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha34512"); + +(cljs.spec.alpha.t_cljs$spec$alpha34512.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha34512"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha34512. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha34512 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha34512(argspec,aform,retspec,rform,fnspec,fform,gfn,specs,meta34513){ +return (new cljs.spec.alpha.t_cljs$spec$alpha34512(argspec,aform,retspec,rform,fnspec,fform,gfn,specs,meta34513)); +}); + + +/** + * Do not call this directly, use 'fspec' + */ +cljs.spec.alpha.fspec_impl = (function cljs$spec$alpha$fspec_impl(argspec,aform,retspec,rform,fnspec,fform,gfn){ +var specs = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"args","args",1315556576),argspec,new cljs.core.Keyword(null,"ret","ret",-468222814),retspec,new cljs.core.Keyword(null,"fn","fn",-1175266204),fnspec], null); +return (new cljs.spec.alpha.t_cljs$spec$alpha34512(argspec,aform,retspec,rform,fnspec,fform,gfn,specs,cljs.core.PersistentArrayMap.EMPTY)); +}); +cljs.spec.alpha.def_impl(new cljs.core.Keyword("cljs.spec.alpha","kvs->map","cljs.spec.alpha/kvs->map",579713455),cljs.core.list(new cljs.core.Symbol("cljs.spec.alpha","conformer","cljs.spec.alpha/conformer",2140085535,null),cljs.core.list(new cljs.core.Symbol(null,"fn*","fn*",-752876845,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"p1__34637#","p1__34637#",1218354560,null)], null),cljs.core.list(new cljs.core.Symbol("cljs.core","zipmap","cljs.core/zipmap",-1902130674,null),cljs.core.list(new cljs.core.Symbol("cljs.core","map","cljs.core/map",-338988913,null),new cljs.core.Keyword("cljs.spec.alpha","k","cljs.spec.alpha/k",-1602615178),new cljs.core.Symbol(null,"p1__34637#","p1__34637#",1218354560,null)),cljs.core.list(new cljs.core.Symbol("cljs.core","map","cljs.core/map",-338988913,null),new cljs.core.Keyword("cljs.spec.alpha","v","cljs.spec.alpha/v",552625740),new cljs.core.Symbol(null,"p1__34637#","p1__34637#",1218354560,null)))),cljs.core.list(new cljs.core.Symbol(null,"fn*","fn*",-752876845,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"p1__34638#","p1__34638#",1237670511,null)], null),cljs.core.list(new cljs.core.Symbol("cljs.core","map","cljs.core/map",-338988913,null),cljs.core.list(new cljs.core.Symbol("cljs.core","fn","cljs.core/fn",-1065745098,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"k","k",-505765866,null),new cljs.core.Symbol(null,"v","v",1661996586,null)], null)], null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword("cljs.spec.alpha","k","cljs.spec.alpha/k",-1602615178),new cljs.core.Symbol(null,"k","k",-505765866,null),new cljs.core.Keyword("cljs.spec.alpha","v","cljs.spec.alpha/v",552625740),new cljs.core.Symbol(null,"v","v",1661996586,null)], null)),new cljs.core.Symbol(null,"p1__34638#","p1__34638#",1237670511,null)))),cljs.spec.alpha.spec_impl.cljs$core$IFn$_invoke$arity$5(cljs.core.list(new cljs.core.Symbol("cljs.spec.alpha","conformer","cljs.spec.alpha/conformer",2140085535,null),cljs.core.list(new cljs.core.Symbol("cljs.core","fn","cljs.core/fn",-1065745098,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"%","%",-950237169,null)], null),cljs.core.list(new cljs.core.Symbol("cljs.core","zipmap","cljs.core/zipmap",-1902130674,null),cljs.core.list(new cljs.core.Symbol("cljs.core","map","cljs.core/map",-338988913,null),new cljs.core.Keyword("cljs.spec.alpha","k","cljs.spec.alpha/k",-1602615178),new cljs.core.Symbol(null,"%","%",-950237169,null)),cljs.core.list(new cljs.core.Symbol("cljs.core","map","cljs.core/map",-338988913,null),new cljs.core.Keyword("cljs.spec.alpha","v","cljs.spec.alpha/v",552625740),new cljs.core.Symbol(null,"%","%",-950237169,null)))),cljs.core.list(new cljs.core.Symbol("cljs.core","fn","cljs.core/fn",-1065745098,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"%","%",-950237169,null)], null),cljs.core.list(new cljs.core.Symbol("cljs.core","map","cljs.core/map",-338988913,null),cljs.core.list(new cljs.core.Symbol("cljs.core","fn","cljs.core/fn",-1065745098,null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"k","k",-505765866,null),new cljs.core.Symbol(null,"v","v",1661996586,null)], null)], null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword("cljs.spec.alpha","k","cljs.spec.alpha/k",-1602615178),new cljs.core.Symbol(null,"k","k",-505765866,null),new cljs.core.Keyword("cljs.spec.alpha","v","cljs.spec.alpha/v",552625740),new cljs.core.Symbol(null,"v","v",1661996586,null)], null)),new cljs.core.Symbol(null,"%","%",-950237169,null)))),(function (p1__34637_SHARP_){ +return cljs.core.zipmap(cljs.core.map.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","k","cljs.spec.alpha/k",-1602615178),p1__34637_SHARP_),cljs.core.map.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("cljs.spec.alpha","v","cljs.spec.alpha/v",552625740),p1__34637_SHARP_)); +}),null,true,(function (p1__34638_SHARP_){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p__34737){ +var vec__34739 = p__34737; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34739,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__34739,(1),null); +return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword("cljs.spec.alpha","k","cljs.spec.alpha/k",-1602615178),k,new cljs.core.Keyword("cljs.spec.alpha","v","cljs.spec.alpha/v",552625740),v], null); +}),p1__34638_SHARP_); +}))); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha34752 = (function (spec,meta34753){ +this.spec = spec; +this.meta34753 = meta34753; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34754,meta34753__$1){ +var self__ = this; +var _34754__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha34752(self__.spec,meta34753__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34754){ +var self__ = this; +var _34754__$1 = this; +return self__.meta34753; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +var ret = cljs.spec.alpha.conform_STAR_(cljs.core.deref(self__.spec),x); +if(cljs.spec.alpha.invalid_QMARK_(ret)){ +return new cljs.core.Keyword("cljs.spec.alpha","invalid","cljs.spec.alpha/invalid",-1220295119); +} else { +return x; +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.unform_STAR_(cljs.core.deref(self__.spec),x); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.explain_STAR_(cljs.core.deref(self__.spec),path,via,in$,x); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +return cljs.spec.alpha.gen_STAR_(cljs.core.deref(self__.spec),overrides,path,rmap); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn){ +var self__ = this; +var ___$1 = this; +var G__34770 = cljs.spec.alpha.with_gen_STAR_(cljs.core.deref(self__.spec),gfn); +return (cljs.spec.alpha.nonconforming.cljs$core$IFn$_invoke$arity$1 ? cljs.spec.alpha.nonconforming.cljs$core$IFn$_invoke$arity$1(G__34770) : cljs.spec.alpha.nonconforming.call(null, G__34770)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","nonconforming","cljs.spec.alpha/nonconforming",-1009218508,null),null,(1),null)),(new cljs.core.List(null,cljs.spec.alpha.describe_STAR_(cljs.core.deref(self__.spec)),null,(1),null))))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"spec","spec",1988051928,null),new cljs.core.Symbol(null,"meta34753","meta34753",-1589338998,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha34752"); + +(cljs.spec.alpha.t_cljs$spec$alpha34752.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha34752"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha34752. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha34752 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha34752(spec,meta34753){ +return (new cljs.spec.alpha.t_cljs$spec$alpha34752(spec,meta34753)); +}); + + +/** + * takes a spec and returns a spec that has the same properties except + * 'conform' returns the original (not the conformed) value. Note, will specize regex ops. + */ +cljs.spec.alpha.nonconforming = (function cljs$spec$alpha$nonconforming(spec){ +var spec__$1 = (new cljs.core.Delay((function (){ +return cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$1(spec); +}),null)); +return (new cljs.spec.alpha.t_cljs$spec$alpha34752(spec__$1,cljs.core.PersistentArrayMap.EMPTY)); +}); + +/** +* @constructor + * @implements {cljs.spec.alpha.Spec} + * @implements {cljs.core.IMeta} + * @implements {cljs.spec.alpha.Specize} + * @implements {cljs.core.IWithMeta} +*/ +cljs.spec.alpha.t_cljs$spec$alpha34807 = (function (form,pred,gfn,spec,meta34808){ +this.form = form; +this.pred = pred; +this.gfn = gfn; +this.spec = spec; +this.meta34808 = meta34808; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_34809,meta34808__$1){ +var self__ = this; +var _34809__$1 = this; +return (new cljs.spec.alpha.t_cljs$spec$alpha34807(self__.form,self__.pred,self__.gfn,self__.spec,meta34808__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_34809){ +var self__ = this; +var _34809__$1 = this; +return self__.meta34808; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Specize$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$1 = (function (s){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Specize$specize_STAR_$arity$2 = (function (s,_){ +var self__ = this; +var s__$1 = this; +return s__$1; +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Spec$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Spec$conform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +if((x == null)){ +return null; +} else { +return cljs.spec.alpha.conform_STAR_(cljs.core.deref(self__.spec),x); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Spec$unform_STAR_$arity$2 = (function (_,x){ +var self__ = this; +var ___$1 = this; +if((x == null)){ +return null; +} else { +return cljs.spec.alpha.unform_STAR_(cljs.core.deref(self__.spec),x); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Spec$explain_STAR_$arity$5 = (function (_,path,via,in$,x){ +var self__ = this; +var ___$1 = this; +if(((cljs.spec.alpha.pvalid_QMARK_.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(self__.spec),x)) || ((x == null)))){ +return null; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.spec.alpha.explain_1(self__.form,self__.pred,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,new cljs.core.Keyword("cljs.spec.alpha","pred","cljs.spec.alpha/pred",-798342594)),via,in$,x),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"path","path",-188191168),cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,new cljs.core.Keyword("cljs.spec.alpha","nil","cljs.spec.alpha/nil",1733813950)),new cljs.core.Keyword(null,"pred","pred",1927423397),new cljs.core.Symbol(null,"nil?","nil?",1612038930,null),new cljs.core.Keyword(null,"val","val",128701612),x,new cljs.core.Keyword(null,"via","via",-1904457336),via,new cljs.core.Keyword(null,"in","in",-1531184865),in$], null)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Spec$gen_STAR_$arity$4 = (function (_,overrides,path,rmap){ +var self__ = this; +var ___$1 = this; +if(cljs.core.truth_(self__.gfn)){ +return (self__.gfn.cljs$core$IFn$_invoke$arity$0 ? self__.gfn.cljs$core$IFn$_invoke$arity$0() : self__.gfn.call(null, )); +} else { +return cljs.spec.gen.alpha.frequency.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1),cljs.spec.gen.alpha.delay_impl((new cljs.core.Delay((function (){ +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([null], 0)); +}),null)))], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(9),cljs.spec.gen.alpha.delay_impl((new cljs.core.Delay((function (){ +return cljs.spec.alpha.gensub(self__.pred,overrides,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(path,new cljs.core.Keyword("cljs.spec.alpha","pred","cljs.spec.alpha/pred",-798342594)),rmap,self__.form); +}),null)))], null)], null)], 0)); +} +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Spec$with_gen_STAR_$arity$2 = (function (_,gfn__$1){ +var self__ = this; +var ___$1 = this; +return (cljs.spec.alpha.nilable_impl.cljs$core$IFn$_invoke$arity$3 ? cljs.spec.alpha.nilable_impl.cljs$core$IFn$_invoke$arity$3(self__.form,self__.pred,gfn__$1) : cljs.spec.alpha.nilable_impl.call(null, self__.form,self__.pred,gfn__$1)); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.prototype.cljs$spec$alpha$Spec$describe_STAR_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2((new cljs.core.List(null,new cljs.core.Symbol("cljs.spec.alpha","nilable","cljs.spec.alpha/nilable",1628308748,null),null,(1),null)),(new cljs.core.List(null,self__.form,null,(1),null))))); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"form","form",16469056,null),new cljs.core.Symbol(null,"pred","pred",-727012372,null),new cljs.core.Symbol(null,"gfn","gfn",-1862918295,null),new cljs.core.Symbol(null,"spec","spec",1988051928,null),new cljs.core.Symbol(null,"meta34808","meta34808",1330279882,null)], null); +})); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.cljs$lang$type = true); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.cljs$lang$ctorStr = "cljs.spec.alpha/t_cljs$spec$alpha34807"); + +(cljs.spec.alpha.t_cljs$spec$alpha34807.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.alpha/t_cljs$spec$alpha34807"); +})); + +/** + * Positional factory function for cljs.spec.alpha/t_cljs$spec$alpha34807. + */ +cljs.spec.alpha.__GT_t_cljs$spec$alpha34807 = (function cljs$spec$alpha$__GT_t_cljs$spec$alpha34807(form,pred,gfn,spec,meta34808){ +return (new cljs.spec.alpha.t_cljs$spec$alpha34807(form,pred,gfn,spec,meta34808)); +}); + + +/** + * Do not call this directly, use 'nilable' + */ +cljs.spec.alpha.nilable_impl = (function cljs$spec$alpha$nilable_impl(form,pred,gfn){ +var spec = (new cljs.core.Delay((function (){ +return cljs.spec.alpha.specize.cljs$core$IFn$_invoke$arity$2(pred,form); +}),null)); +return (new cljs.spec.alpha.t_cljs$spec$alpha34807(form,pred,gfn,spec,cljs.core.PersistentArrayMap.EMPTY)); +}); +/** + * generates a number (default 10) of values compatible with spec and maps conform over them, + * returning a sequence of [val conformed-val] tuples. Optionally takes + * a generator overrides map as per gen + */ +cljs.spec.alpha.exercise = (function cljs$spec$alpha$exercise(var_args){ +var G__34871 = arguments.length; +switch (G__34871) { +case 1: +return cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$1 = (function (spec){ +return cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$2(spec,(10)); +})); + +(cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$2 = (function (spec,n){ +return cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$3(spec,n,null); +})); + +(cljs.spec.alpha.exercise.cljs$core$IFn$_invoke$arity$3 = (function (spec,n,overrides){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__34866_SHARP_){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[p1__34866_SHARP_,cljs.spec.alpha.conform(spec,p1__34866_SHARP_)],null)); +}),cljs.spec.gen.alpha.sample.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$2(spec,overrides),n], 0))); +})); + +(cljs.spec.alpha.exercise.cljs$lang$maxFixedArity = 3); + +/** + * Return true if inst at or after start and before end + */ +cljs.spec.alpha.inst_in_range_QMARK_ = (function cljs$spec$alpha$inst_in_range_QMARK_(start,end,inst){ +var and__5043__auto__ = cljs.core.inst_QMARK_(inst); +if(and__5043__auto__){ +var t = cljs.core.inst_ms(inst); +return (((cljs.core.inst_ms(start) <= t)) && ((t < cljs.core.inst_ms(end)))); +} else { +return and__5043__auto__; +} +}); +/** + * Return true if start <= val, val < end and val is a fixed + * precision integer. + */ +cljs.spec.alpha.int_in_range_QMARK_ = (function cljs$spec$alpha$int_in_range_QMARK_(start,end,val){ +if(cljs.core.integer_QMARK_(val)){ +return (((start <= val)) && ((val < end))); +} else { +if((val instanceof cljs.spec.alpha.goog$module$goog$math$Long)){ +var and__5043__auto__ = start.lessThanOrEqual(val); +if(cljs.core.truth_(and__5043__auto__)){ +return val.lessThan(end); +} else { +return and__5043__auto__; +} +} else { +if((val instanceof goog.math.Integer)){ +var and__5043__auto__ = start.lessThanOrEqual(val); +if(cljs.core.truth_(and__5043__auto__)){ +return val.lessThan(end); +} else { +return and__5043__auto__; +} +} else { +return false; + +} +} +} +}); +if((typeof cljs !== 'undefined') && (typeof cljs.spec !== 'undefined') && (typeof cljs.spec.alpha !== 'undefined') && (typeof cljs.spec.alpha._STAR_compile_asserts_STAR_ !== 'undefined')){ +} else { +/** + * If true, compiler will enable spec asserts, which are then + * subject to runtime control via check-asserts? If false, compiler + * will eliminate all spec assert overhead. See 'assert'. + * Initially set to the negation of the ':elide-asserts' compiler option. + * Defaults to true. + */ +cljs.spec.alpha._STAR_compile_asserts_STAR_ = true; +} +if((typeof cljs !== 'undefined') && (typeof cljs.spec !== 'undefined') && (typeof cljs.spec.alpha !== 'undefined') && (typeof cljs.spec.alpha._STAR_runtime_asserts_STAR_ !== 'undefined')){ +} else { +cljs.spec.alpha._STAR_runtime_asserts_STAR_ = false; +} +/** + * Returns the value set by check-asserts. + */ +cljs.spec.alpha.check_asserts_QMARK_ = (function cljs$spec$alpha$check_asserts_QMARK_(){ +return cljs.spec.alpha._STAR_runtime_asserts_STAR_; +}); +/** + * Enable or disable spec asserts that have been compiled + * with '*compile-asserts*' true. See 'assert'. + * Initially set to boolean value of cljs.spec.alpha/*runtime-asserts*. + * Defaults to false. + */ +cljs.spec.alpha.check_asserts = (function cljs$spec$alpha$check_asserts(flag){ +return (cljs.spec.alpha._STAR_runtime_asserts_STAR_ = flag); +}); +/** + * Do not call this directly, use 'assert'. + */ +cljs.spec.alpha.assert_STAR_ = (function cljs$spec$alpha$assert_STAR_(spec,x){ +if(cljs.spec.alpha.valid_QMARK_.cljs$core$IFn$_invoke$arity$2(spec,x)){ +return x; +} else { +var ed = cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.spec.alpha.explain_data_STAR_(spec,cljs.core.PersistentVector.EMPTY,cljs.core.PersistentVector.EMPTY,cljs.core.PersistentVector.EMPTY,x),new cljs.core.Keyword("cljs.spec.alpha","failure","cljs.spec.alpha/failure",188258592),new cljs.core.Keyword(null,"assertion-failed","assertion-failed",-970534477))], 0)); +throw (new Error(["Spec assertion failed\n",(function (){var sb__5690__auto__ = (new goog.string.StringBuffer()); +var _STAR_print_newline_STAR__orig_val__34943_36029 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR__orig_val__34944_36030 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR__temp_val__34945_36031 = true; +var _STAR_print_fn_STAR__temp_val__34946_36032 = (function (x__5691__auto__){ +return sb__5690__auto__.append(x__5691__auto__); +}); +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__temp_val__34945_36031); + +(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__temp_val__34946_36032); + +try{cljs.spec.alpha.explain_out(ed); +}finally {(cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR__orig_val__34944_36030); + +(cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR__orig_val__34943_36029); +} +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__5690__auto__); +})()].join(''))); +} +}); + +//# sourceMappingURL=cljs.spec.alpha.js.map diff --git a/out/cljs-runtime/cljs.spec.alpha.js.map b/out/cljs-runtime/cljs.spec.alpha.js.map new file mode 100644 index 0000000..1ded0e5 --- /dev/null +++ b/out/cljs-runtime/cljs.spec.alpha.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/spec/alpha.cljs"],"mappings":";;;;AAkBA,0BAAA,1BAAaA;AAEb;;;;;8CAAA,9CAAeC;AAMf;;;+CAAA,/CAAeC;AAIf;;;+CAAA,/CAAeC;AAIf;;;+CAAA,/CAAeC;AAIf,AAAA;AAAA;;;uBAAA,vBAAakB;;AAAb,IAAAjB,+CAAA,WACakB,KAAKC;AADlB,AAAA,IAAAlB,kBAAA,EAAA,SAAA,OAAA,fACaiB,oBAAAA;IADbhB,kBAAA,CAAAC,8BAAA,AAAAC,YAAAH;AAAA,AAAA,GAAA,GAAA,CAAAC,mBAAA;AAAA,QAAAA,gDAAAA,wDAAAA,VACagB,qCAAAA,hCAAKC,qCAAAA;;AADlB,IAAAd,kBAAA,CAAAF,8BAAA;AAAA,AAAA,GAAA,GAAA,CAAAE,mBA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nB;;AAAA,CAAAhoB,sCAAA+nB;;AAAA,mDAAAloB","names":["cljs.spec.alpha/MAX_INT","cljs.spec.alpha/*recursion-limit*","cljs.spec.alpha/*fspec-iterations*","cljs.spec.alpha/*coll-check-limit*","cljs.spec.alpha/*coll-error-limit*","cljs$spec$alpha$Spec$conform_STAR_$dyn","x__5393__auto__","m__5394__auto__","cljs.spec.alpha/conform*","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","cljs$spec$alpha$Spec$unform_STAR_$dyn","cljs.spec.alpha/unform*","cljs$spec$alpha$Spec$explain_STAR_$dyn","cljs.spec.alpha/explain*","cljs$spec$alpha$Spec$gen_STAR_$dyn","cljs.spec.alpha/gen*","cljs$spec$alpha$Spec$with_gen_STAR_$dyn","cljs.spec.alpha/with-gen*","cljs$spec$alpha$Spec$describe_STAR_$dyn","cljs.spec.alpha/describe*","cljs.spec.alpha/Spec","spec","x","y","path","via","in","overrides","rmap","gfn","js/cljs","js/cljs.spec","js/cljs.spec.alpha","js/cljs.spec.alpha.registry-ref","cljs.spec.alpha/registry-ref","cljs.core.atom","cljs.spec.alpha/deep-resolve","reg","k","cljs.core/ident?","cljs.core.get","cljs.spec.alpha/reg-resolve","cljs.core/deref","cljs.spec.alpha/reg-resolve!","or__5045__auto__","js/Error","cljs.spec.alpha/spec?","cljs.core/PROTOCOL_SENTINEL","cljs.spec.alpha/regex?","and__5043__auto__","cljs.spec.alpha/with-name","name","cljs.core.assoc","cljs.core/with-meta","cljs.core/meta","cljs.spec.alpha/spec-name","cljs.spec.alpha/maybe-spec","spec-or-k","s","cljs.spec.alpha/regex-spec-impl","cljs.spec.alpha/the-spec","cljs.spec.alpha/fn-sym","f-n","clojure.string/blank?","xs","cljs.core.map","cljs.core/demunge","clojure.string.split","cljs.core/count","p1__32432#","cljs.core/every?","vec__32440","cljs.core.nth","cljs.core.juxt","cljs.core/butlast","cljs.core/last","cljs.core.symbol","clojure.string.join","cljs$spec$alpha$Specize$specize_STAR_$dyn","cljs.spec.alpha/specize*","var_args","G__32458","cljs.spec.alpha/Specize","_","form","cljs.core/Keyword","cljs.core/Symbol","cljs.core/PersistentHashSet","cljs.spec.alpha.spec_impl","cljs.core/PersistentTreeSet","o","temp__5821__auto__","cljs.core/fn?","G__32528","cljs.spec.alpha/specize","cljs.spec.alpha/invalid?","ret","cljs.core/keyword-identical?","cljs.spec.alpha/conform","cljs.spec.alpha.specize","cljs.spec.alpha/unform","cljs.spec.alpha/form","cljs.spec.alpha/abbrev","cljs.core/seq?","clojure.walk/postwalk","cljs.core/namespace","cljs.core/name","cljs.core._EQ_","cljs.core/first","cljs.core/second","cljs.spec.alpha/describe","cljs.spec.alpha/with-gen","gen-fn","cljs.spec.alpha/explain-data*","temp__5823__auto__","probs","cljs.core/empty?","cljs.spec.alpha/explain-data","cljs.spec.alpha/explain-printer","ed","problems","p1__32644#","cljs.core.sort_by","p1__32645#","cljs.core.print","sb__5690__auto__","goog.string/StringBuffer","*print-newline*-orig-val__32649","cljs.core/*print-newline*","*print-fn*-orig-val__32650","cljs.core/*print-fn*","*print-newline*-temp-val__32651","*print-fn*-temp-val__32652","x__5691__auto__","seq__32653","cljs.core/seq","chunk__32654","count__32655","i__32656","map__32759","cljs.core/--destructure-map","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","map__32899","cljs.core/next","pred","val","reason","prob","cljs.core.pr","cljs.core.pr_str","seq__32782","chunk__32784","count__32785","i__32786","vec__32850","vec__32891","seq__32907","chunk__32908","count__32909","i__32910","vec__32927","vec__32936","v","fexpr__32860","fexpr__32895","fexpr__32931","fexpr__32944","cljs.core.newline","cljs.core.println","cljs.spec.alpha/*explain-out*","cljs.spec.alpha/explain-out","cljs.spec.alpha/explain","cljs.spec.alpha/explain-str","*print-newline*-orig-val__32962","*print-fn*-orig-val__32963","*print-newline*-temp-val__32964","*print-fn*-temp-val__32965","cljs.spec.alpha/gensub","g","p1__32973#","cljs.spec.gen.alpha.such_that","cljs.spec.alpha.valid_QMARK_","G__33012","cljs.spec.alpha/gen","cljs.spec.alpha.gen","cljs.spec.alpha/def-impl","cljs.core.swap_BANG_","cljs.core/dissoc","cljs.core/assoc","cljs.spec.alpha/registry","cljs.spec.alpha/->sym","cljs.core/var?","cljs.spec.alpha/get-spec","cljs.spec.alpha/macroexpand-check","args","specs","arg-spec","cljs.core.ex_info","cljs.spec.alpha/recur-limit?","id","cljs.core/contains?","cljs.core/set","cljs.spec.alpha/inck","m","G__33044","cljs.spec.alpha/dt","cljs.spec.alpha.dt","cpred?","cljs.core/ifn?","G__33046","cljs.spec.alpha/valid?","G__33048","cljs.spec.alpha/pvalid?","cljs.spec.alpha/explain-1","cljs.core.conj","cljs.spec.alpha/k-gen","f","cljs.spec.gen.alpha.return$","cljs.spec.alpha.or_k_gen","cljs.core/rest","cljs.spec.alpha/and-k-gen","G__33050","cljs.spec.alpha/or-k-gen","min-count","cljs.spec.gen.alpha.bind","cljs.spec.gen.alpha.tuple","cljs.spec.gen.alpha.choose","cljs.spec.gen.alpha.shuffle","p__33051","vec__33052","n","gens","cljs.core.apply","cljs.spec.gen.alpha/tuple","cljs.core.take","p__33058","map__33059","cljs.spec.alpha/map-spec-impl","req-un","opt-un","keys-pred","pred-exprs","opt-keys","req-specs","req","req-keys","opt-specs","pred-forms","opt","argm","p1__33055#","k->s","cljs.core/zipmap","cljs.core.concat","keys->specnames","cljs.core/random-uuid","cljs.spec.alpha/t_cljs$spec$alpha33060","G__33069","vec__33070","seq__33071","first__33072","vec__33073","vec__33076","seq__33077","first__33078","vec__33079","ks","keys","sname","cv","G__33085","vec__33086","seq__33087","first__33088","vec__33092","seq__33093","first__33094","cljs.core/keys","cljs.core/map?","cljs.core/concat","cljs.core.keep","cljs.core/identity","p1__33056#","p__33095","vec__33096","cljs.spec.alpha.pvalid_QMARK_","rgen","ogen","cljs.spec.gen.alpha/delay-impl","cljs.core/Delay","reqs","opts","cljs.core.remove","cljs.core/nil?","p__33102","vec__33103","req-ks","opt-ks","req-un-ks","opt-un-ks","qks","cljs.core/flatten","unqks","cljs.core.comp","cljs.core/keyword","cljs.core.into","p1__33057#","cljs.core.filter","G__33117","fexpr__33116","cljs.spec.gen.alpha/hash-map","G__33120","cljs.core/cons","G__33125","G__33146","cljs.spec.alpha/spec-impl","unc","G__33155","G__33156","cljs.spec.alpha/t_cljs$spec$alpha33158","cljs.spec.gen.alpha/gen-for-pred","G__33190","cljs.spec.alpha/multi-spec-impl","mmvar","retag","cljs.spec.alpha.multi_spec_impl","p1__33183#","p1__33184#","predx","mm","cljs.core/-get-method","fexpr__33205","cljs.core/-dispatch-fn","dval","fexpr__33206","tag","p1__33185#","p2__33186#","cljs.spec.alpha/t_cljs$spec$alpha33210","dv","gen","p__33221","vec__33222","p","p1__33188#","cljs.spec.gen.alpha.fmap","cljs.core/List","gs","cljs.core/methods","p__33232","vec__33233","cljs.spec.gen.alpha.one_of","G__33241","cljs.spec.alpha/tuple-impl","forms","preds","cljs.spec.alpha.tuple_impl","cljs.core.mapv","cnt","cljs.spec.alpha/t_cljs$spec$alpha33248","cljs.core/vector?","i","cljs.core.sequence","cljs.core.not_EQ_","cljs.core.range","cljs.spec.alpha/tagged-ret","cljs.core/MapEntry","cljs.spec.alpha/or-spec-impl","kps","cform","G__33346","cljs.spec.alpha/t_cljs$spec$alpha33368","this","cljs.core.mapcat","cljs.core/vector","cljs.spec.alpha/and-preds","G__33414","vec__33417","seq__33418","first__33419","G__33415","vec__33420","seq__33421","first__33422","vec__33426","seq__33427","first__33428","vec__33429","seq__33430","first__33431","nret","cljs.spec.alpha/explain-pred-list","G__33439","vec__33441","seq__33442","first__33443","G__33440","vec__33444","seq__33445","first__33446","vec__33450","seq__33451","first__33452","vec__33453","seq__33454","first__33455","cljs.spec.alpha/and-spec-impl","G__33461","cljs.spec.alpha/t_cljs$spec$alpha33463","p1__33460#","p2__33459#","cljs.core.reduce","cljs.core/reverse","cljs.spec.alpha/coll-prob","kfn","kform","distinct","count","max-count","cljs.core/coll?","cljs.core/bounded-count","cljs.core/not","cljs.core/distinct?","cljs.spec.alpha/merge-spec-impl","cljs.spec.alpha/t_cljs$spec$alpha33511","ms","p1__33503#","p2__33504#","cljs.core/some","cljs.core/merge","p1__33505#","p1__33506#","p2__33507#","p1__33508#","p1__33509#","p2__33510#","cljs.spec.alpha/empty-coll","G__33628","cljs.spec.alpha/every-impl","p__33646","map__33648","kind-form","cpred","conform-all","cljs.spec.alpha.every_impl","conform-into","describe-form","kind","gen-max","conform-keys","p1__33559#","gen-into","cljs.core/empty","check?","addcv","cfns","p1__33572#","cljs.core/list?","cljs.spec.alpha/t_cljs$spec$alpha33676","vec__33702","init","add","complete","G__33709","vec__33710","seq__33711","first__33712","vec__33714","seq__33715","first__33716","vs","vseq","cljs.core/indexed?","step","x__5130__auto__","y__5131__auto__","cljs.core/long","limit","G__33727","vec__33729","seq__33730","first__33731","vec__33734","seq__33735","first__33736","vec__33741","G__33748","vec__33749","seq__33750","first__33751","vec__33756","seq__33757","first__33758","G__33759","G__33760","G__33761","G__33762","G__33778","fexpr__33777","cljs.core.partial","cljs.core/take","pgen","p1__33582#","p1__33584#","cljs.spec.gen.alpha.vector_distinct","cljs.spec.gen.alpha.vector","cljs.spec.alpha/accept","p__33838","map__33839","op","cljs.spec.alpha/accept?","p__33846","map__33849","vec__33850","seq__33851","first__33852","vec__33853","seq__33854","first__33855","vec__33856","seq__33857","first__33858","cljs.spec.alpha/pcat*","p1","pr","ps","k1","kr","f1","fr","rep+","rp","G__33871","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","cljs.spec.alpha/pcat","seq33877","self__5755__auto__","cljs.spec.alpha/cat-impl","cljs.spec.alpha/rep*","p2","splice","r","cljs.spec.alpha/rep-impl","cljs.spec.alpha/rep+impl","cljs.core/vec","cljs.spec.alpha/amp-impl","re","re-form","cljs.spec.alpha/filter-alt","pks","cljs.core.repeat","p1__33949#","G__33956","p1__33950#","cljs.spec.alpha/alt*","vec__33963","vec__33966","seq__33967","first__33968","vec__33969","cljs.spec.alpha/alts","seq33975","cljs.spec.alpha/alt2","cljs.spec.alpha.alts","cljs.spec.alpha/alt-impl","cljs.spec.alpha/maybe-impl","cljs.spec.alpha/noret?","pret","G__33998","fexpr__33997","cljs.spec.alpha/accept-nil?","map__34009","G__34011","cljs.spec.alpha/preturn","map__34039","vec__34040","seq__34041","first__34042","vec__34043","p0","G__34047","cljs.spec.alpha/add-ret","vec__34053","vec__34056","vec__34059","k0","cljs.spec.alpha/op-unform","map__34074","vec__34078","seq__34079","first__34080","vec__34081","maybe","G__34096","px","p1__34065#","p2__34064#","p1__34066#","p1__34067#","G__34111","G__34112","vec__34114","G__34117","G__34118","map__34124","prop","G__34128","G__34129","fexpr__34127","cljs.core/into","cljs.core/conj","G__34131","cljs.spec.alpha/deriv","map__34147","vec__34148","seq__34149","first__34150","vec__34151","seq__34152","first__34153","amp","G__34156","G__34170","G__34171","p1__34142#","G__34176","G__34177","cljs.spec.alpha/op-describe","map__34186","G__34192","cljs.core.list_STAR_","cljs.spec.alpha/op-explain","input","vec__34212","map__34216","insufficient","G__34243","G__34250","G__34251","G__34252","G__34253","G__34254","G__34255","vec__34258","pkfs","p__34262","vec__34263","G__34283","G__34284","G__34285","G__34286","G__34287","G__34289","G__34307","G__34308","G__34309","G__34310","G__34311","G__34312","cljs.spec.alpha/re-gen","map__34325","origp","ggens","G__34329","G__34330","G__34331","G__34332","G__34333","G__34337","G__34338","G__34339","G__34340","G__34341","G__34356","G__34359","G__34366","G__34367","G__34368","G__34369","G__34370","cljs.spec.gen.alpha/cat","p1__34321#","p__34384","vec__34387","seq__34388","first__34389","cljs.spec.alpha/re-conform","data","dp","cljs.spec.alpha/re-explain","G__34402","vec__34404","seq__34405","first__34406","vec__34411","seq__34412","first__34413","cljs.spec.alpha/t_cljs$spec$alpha34426","cljs.core/sequential?","cljs.spec.alpha/call-valid?","cargs","cret","cljs.spec.alpha/validate-fn","iters","p1__34476#","cljs.spec.gen.alpha.for_all_STAR_","cljs.spec.gen.alpha.quick_check","vec__34502","smallest","cljs.spec.alpha/fspec-impl","argspec","aform","retspec","rform","fnspec","fform","cljs.spec.alpha/t_cljs$spec$alpha34512","not-found","e34531","t","*print-newline*-orig-val__34612","*print-fn*-orig-val__34613","*print-newline*-temp-val__34614","*print-fn*-temp-val__34615","cljs.spec.gen.alpha/generate","p1__34637#","p1__34638#","p__34737","vec__34739","cljs.spec.alpha/nonconforming","cljs.spec.alpha/t_cljs$spec$alpha34752","G__34770","cljs.spec.alpha/nilable-impl","cljs.spec.alpha/t_cljs$spec$alpha34807","cljs.spec.gen.alpha.frequency","G__34871","cljs.spec.alpha/exercise","cljs.spec.alpha.exercise","p1__34866#","cljs.core/PersistentVector","cljs.spec.gen.alpha.sample","cljs.spec.alpha/inst-in-range?","start","end","inst","cljs.core/inst?","cljs.core/inst-ms","cljs.spec.alpha/int-in-range?","cljs.core/integer?","cljs.spec.alpha.goog$module$goog$math$Long","js/goog.math.Integer","js/cljs.spec.alpha.*compile-asserts*","cljs.spec.alpha/*compile-asserts*","js/cljs.spec.alpha.*runtime-asserts*","cljs.spec.alpha/*runtime-asserts*","cljs.spec.alpha/check-asserts?","cljs.spec.alpha/check-asserts","flag","cljs.spec.alpha/assert*","cljs.core.merge","*print-newline*-orig-val__34943","*print-fn*-orig-val__34944","*print-newline*-temp-val__34945","*print-fn*-temp-val__34946"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns cljs.spec.alpha\n (:refer-clojure :exclude [+ * and or cat def keys merge])\n (:require-macros [cljs.core :as c]\n [cljs.spec.alpha :as s])\n (:require [goog.object :as gobj]\n [cljs.core :as c]\n [clojure.walk :as walk]\n [cljs.spec.gen.alpha :as gen]\n [clojure.string :as str]))\n\n(def ^:const MAX_INT 9007199254740991)\n\n(def ^:dynamic *recursion-limit*\n \"A soft limit on how many times a branching spec (or/alt/*/opt-keys/multi-spec)\n can be recursed through during generation. After this a\n non-recursive branch will be chosen.\"\n 4)\n\n(def ^:dynamic *fspec-iterations*\n \"The number of times an anonymous fn specified by fspec will be (generatively) tested during conform\"\n 21)\n\n(def ^:dynamic *coll-check-limit*\n \"The number of items validated in a collection spec'ed with 'every'\"\n 101)\n\n(def ^:dynamic *coll-error-limit*\n \"The number of errors reported by explain in a collection spec'ed with 'every'\"\n 20)\n\n(defprotocol Spec\n (conform* [spec x])\n (unform* [spec y])\n (explain* [spec path via in x])\n (gen* [spec overrides path rmap])\n (with-gen* [spec gfn])\n (describe* [spec]))\n\n(defonce ^:private registry-ref (atom {}))\n\n(defn- deep-resolve [reg k]\n (loop [spec k]\n (if (ident? spec)\n (recur (get reg spec))\n spec)))\n\n(defn- reg-resolve\n \"returns the spec/regex at end of alias chain starting with k, nil if not found, k if k not ident\"\n [k]\n (if (ident? k)\n (let [reg @registry-ref\n spec (get reg k)]\n (if-not (ident? spec)\n spec\n (deep-resolve reg spec)))\n k))\n\n(defn- reg-resolve!\n \"returns the spec/regex at end of alias chain starting with k, throws if not found, k if k not ident\"\n [k]\n (if (ident? k)\n (c/or (reg-resolve k)\n (throw (js/Error. (str \"Unable to resolve spec: \" k))))\n k))\n\n(defn spec?\n \"returns x if x is a spec object, else logical false\"\n [x]\n (when (implements? Spec x)\n x))\n\n(defn regex?\n \"returns x if x is a (cljs.spec.alpha) regex op, else logical false\"\n [x]\n (c/and (::op x) x))\n\n(defn- with-name [spec name]\n (cond\n (ident? spec) spec\n (regex? spec) (assoc spec ::name name)\n\n (implements? IMeta spec)\n (with-meta spec (assoc (meta spec) ::name name))))\n\n(defn- spec-name [spec]\n (cond\n (ident? spec) spec\n\n (regex? spec) (::name spec)\n\n (implements? IMeta spec)\n (-> (meta spec) ::name)))\n\n(declare ^{:arglists '([form pred gfn cpred?] [form pred gfn cpred? unc])} spec-impl)\n(declare ^{:arglists '([re gfn])} regex-spec-impl)\n\n(defn- maybe-spec\n \"spec-or-k must be a spec, regex or resolvable kw/sym, else returns nil.\"\n [spec-or-k]\n (let [s (c/or (c/and (ident? spec-or-k) (reg-resolve spec-or-k))\n (spec? spec-or-k)\n (regex? spec-or-k)\n nil)]\n (if (regex? s)\n (with-name (regex-spec-impl s nil) (spec-name s))\n s)))\n\n(defn- the-spec\n \"spec-or-k must be a spec, regex or kw/sym, else returns nil. Throws if unresolvable kw/sym\"\n [spec-or-k]\n (c/or (maybe-spec spec-or-k)\n (when (ident? spec-or-k)\n (throw (js/Error. (str \"Unable to resolve spec: \" spec-or-k))))))\n\n(defn- fn-sym [f-n]\n (when-not (str/blank? f-n)\n (let [xs (map demunge (str/split f-n \"$\"))]\n (when (c/and (<= 2 (count xs))\n (every? #(not (str/blank? %)) xs))\n (let [[xs y] ((juxt butlast last) xs)]\n (symbol (str (str/join \".\" xs) \"/\" y)))))))\n\n(defprotocol Specize\n (specize* [_] [_ form]))\n\n(extend-protocol Specize\n Keyword\n (specize* ([k] (specize* (reg-resolve! k)))\n ([k _] (specize* (reg-resolve! k))))\n\n Symbol\n (specize* ([s] (specize* (reg-resolve! s)))\n ([s _] (specize* (reg-resolve! s))))\n\n PersistentHashSet\n (specize* ([s] (spec-impl s s nil nil))\n ([s form] (spec-impl form s nil nil)))\n\n PersistentTreeSet\n (specize* ([s] (spec-impl s s nil nil))\n ([s form] (spec-impl form s nil nil)))\n\n default\n (specize*\n ([o]\n (if-let [f-n (c/and (fn? o) (fn-sym (.-name o)))]\n (spec-impl f-n o nil nil)\n (spec-impl ::unknown o nil nil)))\n ([o form] (spec-impl form o nil nil))))\n\n(defn- specize\n ([s] (c/or (spec? s) (specize* s)))\n ([s form] (c/or (spec? s) (specize* s form))))\n\n(defn invalid?\n \"tests the validity of a conform return value\"\n [ret]\n (keyword-identical? ::invalid ret))\n\n(defn conform\n \"Given a spec and a value, returns :cljs.spec.alpha/invalid if value does\n not match spec, else the (possibly destructured) value.\"\n [spec x]\n (conform* (specize spec) x))\n\n(defn unform\n \"Given a spec and a value created by or compliant with a call to\n 'conform' with the same spec, returns a value with all conform\n destructuring undone.\"\n [spec x]\n (unform* (specize spec) x))\n\n(defn form\n \"returns the spec as data\"\n [spec]\n ;;TODO - incorporate gens\n (describe* (specize spec)))\n\n(defn abbrev [form]\n (cond\n (seq? form)\n (walk/postwalk (fn [form]\n (cond\n (c/and (symbol? form) (namespace form))\n (-> form name symbol)\n\n (c/and (seq? form) (= 'fn (first form)) (= '[%] (second form)))\n (last form)\n\n :else form))\n form)\n\n (c/and (symbol? form) (namespace form))\n (-> form name symbol)\n\n :else form))\n\n(defn describe\n \"returns an abbreviated description of the spec as data\"\n [spec]\n (abbrev (form spec)))\n\n(defn with-gen\n \"Takes a spec and a no-arg, generator-returning fn and returns a version of that spec that uses that generator\"\n [spec gen-fn]\n (let [spec (reg-resolve spec)]\n (if (regex? spec)\n (assoc spec ::gfn gen-fn)\n (with-gen* (specize spec) gen-fn))))\n\n(defn explain-data* [spec path via in x]\n (when-let [probs (explain* (specize spec) path via in x)]\n (when-not (empty? probs)\n {::problems probs\n ::spec spec\n ::value x})))\n\n(defn explain-data\n \"Given a spec and a value x which ought to conform, returns nil if x\n conforms, else a map with at least the key ::problems whose value is\n a collection of problem-maps, where problem-map has at least :path :pred and :val\n keys describing the predicate and the value that failed at that\n path.\"\n [spec x]\n (explain-data* spec [] (if-let [name (spec-name spec)] [name] []) [] x))\n\n(defn explain-printer\n \"Default printer for explain-data. nil indicates a successful validation.\"\n [ed]\n (if ed\n (let [problems (->> (::problems ed)\n (sort-by #(- (count (:in %))))\n (sort-by #(- (count (:path %)))))]\n (print\n (with-out-str\n ;;(prn {:ed ed})\n (doseq [{:keys [path pred val reason via in] :as prob} problems]\n (pr val)\n (print \" - failed: \")\n (if reason (print reason) (pr (abbrev pred)))\n (when-not (empty? in)\n (print (str \" in: \" (pr-str in))))\n (when-not (empty? path)\n (print (str \" at: \" (pr-str path))))\n (when-not (empty? via)\n (print (str \" spec: \" (pr-str (last via)))))\n (doseq [[k v] prob]\n (when-not (#{:path :pred :val :reason :via :in} k)\n (print \"\\n\\t\" (pr-str k) \" \")\n (pr v)))\n (newline)))))\n (println \"Success!\")))\n\n(def ^:dynamic *explain-out* explain-printer)\n\n(defn explain-out\n \"Prints explanation data (per 'explain-data') to *out* using the printer in *explain-out*,\n by default explain-printer.\"\n [ed]\n (*explain-out* ed))\n\n(defn explain\n \"Given a spec and a value that fails to conform, prints an explanation to *out*.\"\n [spec x]\n (explain-out (explain-data spec x)))\n\n(defn explain-str\n \"Given a spec and a value that fails to conform, returns an explanation as a string.\"\n [spec x]\n (with-out-str (explain spec x)))\n\n(declare ^{:arglists '([spec x] [spec x form])} valid?)\n\n(defn- gensub\n [spec overrides path rmap form]\n ;;(prn {:spec spec :over overrides :path path :form form})\n (let [spec (specize spec)]\n (if-let [g (c/or (when-let [gfn (c/or (get overrides (c/or (spec-name spec) spec))\n (get overrides path))]\n (gfn))\n (gen* spec overrides path rmap))]\n (gen/such-that #(valid? spec %) g 100)\n (throw (js/Error. (str \"Unable to construct gen at: \" path \" for: \" (abbrev form)))))))\n\n(defn gen\n \"Given a spec, returns the generator for it, or throws if none can\n be constructed. Optionally an overrides map can be provided which\n should map spec names or paths (vectors of keywords) to no-arg\n generator-creating fns. These will be used instead of the generators at those\n names/paths. Note that parent generator (in the spec or overrides\n map) will supersede those of any subtrees. A generator for a regex\n op must always return a sequential collection (i.e. a generator for\n s/? should return either an empty sequence/vector or a\n sequence/vector with one item in it)\"\n ([spec] (gen spec nil))\n ([spec overrides] (gensub spec overrides [] {::recursion-limit *recursion-limit*} spec)))\n\n(defn ^:skip-wiki def-impl\n \"Do not call this directly, use 'def'\"\n [k form spec]\n (assert (c/and (ident? k) (namespace k)) \"k must be namespaced keyword or resolveable symbol\")\n (if (nil? spec)\n (swap! registry-ref dissoc k)\n (let [spec (if (c/or (spec? spec) (regex? spec) (get @registry-ref spec))\n spec\n (spec-impl form spec nil nil))]\n (swap! registry-ref assoc k (with-name spec k))))\n k)\n\n(defn registry\n \"returns the registry map, prefer 'get-spec' to lookup a spec by name\"\n []\n @registry-ref)\n\n(defn- ->sym\n \"Returns a symbol from a symbol or var\"\n [x]\n (if (var? x)\n (.-sym x)\n x))\n\n(defn get-spec\n \"Returns spec registered for keyword/symbol/var k, or nil.\"\n [k]\n (get (registry) (if (keyword? k) k (->sym k))))\n\n(declare map-spec)\n\n(defn- macroexpand-check\n [v args]\n (let [specs (get-spec v)]\n (when-let [arg-spec (:args specs)]\n (when (invalid? (conform arg-spec args))\n (let [ed (assoc (explain-data* arg-spec []\n (if-let [name (spec-name arg-spec)] [name] []) [] args)\n ::args args)]\n (throw (ex-info\n (str\n \"Call to \" (->sym v) \" did not conform to spec.\")\n ed)))))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; impl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n(defn- recur-limit? [rmap id path k]\n (c/and (> (get rmap id) (::recursion-limit rmap))\n (contains? (set path) k)))\n\n(defn- inck [m k]\n (assoc m k (inc (c/or (get m k) 0))))\n\n(defn- dt\n ([pred x form] (dt pred x form nil))\n ([pred x form cpred?]\n (if pred\n (if-let [spec (the-spec pred)]\n (conform spec x)\n (if (ifn? pred)\n (if cpred?\n (pred x)\n (if (pred x) x ::invalid))\n (throw (js/Error. (str (pr-str form) \" is not a fn, expected predicate fn\")))))\n x)))\n\n(defn valid?\n \"Helper function that returns true when x is valid for spec.\"\n ([spec x]\n (let [spec (specize spec)]\n (not (invalid? (conform* spec x)))))\n ([spec x form]\n (let [spec (specize spec form)]\n (not (invalid? (conform* spec x))))))\n\n(defn- pvalid?\n \"internal helper function that returns true when x is valid for spec.\"\n ([pred x]\n (not (invalid? (dt pred x ::unknown))))\n ([pred x form]\n (not (invalid? (dt pred x form)))))\n\n(defn- explain-1 [form pred path via in v]\n ;;(prn {:form form :pred pred :path path :in in :v v})\n (let [pred (maybe-spec pred)]\n (if (spec? pred)\n (explain* pred path (if-let [name (spec-name pred)] (conj via name) via) in v)\n [{:path path :pred form :val v :via via :in in}])))\n\n(declare ^{:arglists '([s] [min-count s])} or-k-gen\n ^{:arglists '([s])} and-k-gen)\n\n(defn- k-gen\n \"returns a generator for form f, which can be a keyword or a list\n starting with 'or or 'and.\"\n [f]\n (cond\n (keyword? f) (gen/return f)\n (= 'or (first f)) (or-k-gen 1 (rest f))\n (= 'and (first f)) (and-k-gen (rest f))))\n\n(defn- or-k-gen\n \"returns a tuple generator made up of generators for a random subset\n of min-count (default 0) to all elements in s.\"\n ([s] (or-k-gen 0 s))\n ([min-count s]\n (gen/bind (gen/tuple\n (gen/choose min-count (count s))\n (gen/shuffle (map k-gen s)))\n (fn [[n gens]]\n (apply gen/tuple (take n gens))))))\n\n(defn- and-k-gen\n \"returns a tuple generator made up of generators for every element\n in s.\"\n [s]\n (apply gen/tuple (map k-gen s)))\n\n(defn ^:skip-wiki map-spec-impl\n \"Do not call this directly, use 'spec' with a map argument\"\n [{:keys [req-un opt-un keys-pred pred-exprs opt-keys req-specs req req-keys opt-specs pred-forms opt gfn]\n :as argm}]\n (let [k->s (zipmap (concat req-keys opt-keys) (concat req-specs opt-specs))\n keys->specnames #(c/or (k->s %) %)\n id (random-uuid)]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ m]\n (if (keys-pred m)\n (let [reg (registry)]\n (loop [ret m, [[k v] & ks :as keys] m]\n (if keys\n (let [sname (keys->specnames k)]\n (if-let [s (get reg sname)]\n (let [cv (conform s v)]\n (if (invalid? cv)\n ::invalid\n (recur (if (identical? cv v) ret (assoc ret k cv))\n ks)))\n (recur ret ks)))\n ret)))\n ::invalid))\n (unform* [_ m]\n (let [reg (registry)]\n (loop [ret m, [k & ks :as keys] (c/keys m)]\n (if keys\n (if (contains? reg (keys->specnames k))\n (let [cv (get m k)\n v (unform (keys->specnames k) cv)]\n (recur (if (identical? cv v) ret (assoc ret k v))\n ks))\n (recur ret ks))\n ret))))\n (explain* [_ path via in x]\n (if-not (map? x)\n [{:path path :pred `map? :val x :via via :in in}]\n (let [reg (registry)]\n (apply concat\n (when-let [probs (->> (map (fn [pred form] (when-not (pred x) form))\n pred-exprs pred-forms)\n (keep identity)\n seq)]\n (map\n #(identity {:path path :pred % :val x :via via :in in})\n probs))\n (map (fn [[k v]]\n (when-not (c/or (not (contains? reg (keys->specnames k)))\n (pvalid? (keys->specnames k) v k))\n (explain-1 (keys->specnames k) (keys->specnames k) (conj path k) via (conj in k) v)))\n (seq x))))))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (let [rmap (inck rmap id)\n rgen (fn [k s] [k (gensub s overrides (conj path k) rmap k)])\n ogen (fn [k s]\n (when-not (recur-limit? rmap id path k)\n [k (gen/delay (gensub s overrides (conj path k) rmap k))]))\n reqs (map rgen req-keys req-specs)\n opts (remove nil? (map ogen opt-keys opt-specs))]\n (when (every? identity (concat (map second reqs) (map second opts)))\n (gen/bind\n (gen/tuple\n (and-k-gen req)\n (or-k-gen opt)\n (and-k-gen req-un)\n (or-k-gen opt-un))\n (fn [[req-ks opt-ks req-un-ks opt-un-ks]]\n (let [qks (flatten (concat req-ks opt-ks))\n unqks (map (comp keyword name) (flatten (concat req-un-ks opt-un-ks)))]\n (->> (into reqs opts)\n (filter #((set (concat qks unqks)) (first %)))\n (apply concat)\n (apply gen/hash-map)))))))))\n (with-gen* [_ gfn] (map-spec-impl (assoc argm :gfn gfn)))\n (describe* [_] (cons `keys\n (cond-> []\n req (conj :req req)\n opt (conj :opt opt)\n req-un (conj :req-un req-un)\n opt-un (conj :opt-un opt-un)))))))\n\n(defn ^:skip-wiki spec-impl\n \"Do not call this directly, use 'spec'\"\n ([form pred gfn cpred?] (spec-impl form pred gfn cpred? nil))\n ([form pred gfn cpred? unc]\n (cond\n (spec? pred) (cond-> pred gfn (with-gen gfn))\n (regex? pred) (regex-spec-impl pred gfn)\n (ident? pred) (cond-> (the-spec pred) gfn (with-gen gfn))\n :else\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x] (let [ret (pred x)]\n (if cpred?\n ret\n (if ret x ::invalid))))\n (unform* [_ x] (if cpred?\n (if unc\n (unc x)\n (throw (js/Error. \"no unform fn for conformer\")))\n x))\n (explain* [_ path via in x]\n (when (invalid? (dt pred x form cpred?))\n [{:path path :pred form :val x :via via :in in}]))\n (gen* [_ _ _ _] (if gfn\n (gfn)\n (gen/gen-for-pred pred)))\n (with-gen* [_ gfn] (spec-impl form pred gfn cpred? unc))\n (describe* [_] form)))))\n\n(defn ^:skip-wiki multi-spec-impl\n \"Do not call this directly, use 'multi-spec'\"\n ([form mmvar retag] (multi-spec-impl form mmvar retag nil))\n ([form mmvar retag gfn]\n (let [id (random-uuid)\n predx #(let [mm @mmvar]\n (c/and (-get-method mm ((-dispatch-fn mm) %))\n (mm %)))\n dval #((-dispatch-fn @mmvar) %)\n tag (if (keyword? retag)\n #(assoc %1 retag %2)\n retag)]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x] (if-let [pred (predx x)]\n (dt pred x form)\n ::invalid))\n (unform* [_ x] (if-let [pred (predx x)]\n (unform pred x)\n (throw (js/Error. (str \"No method of: \" form \" for dispatch value: \" (dval x))))))\n (explain* [_ path via in x]\n (let [dv (dval x)\n path (conj path dv)]\n (if-let [pred (predx x)]\n (explain-1 form pred path via in x)\n [{:path path :pred form :val x :reason \"no method\" :via via :in in}])))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (let [gen (fn [[k f]]\n (let [p (f nil)]\n (let [rmap (inck rmap id)]\n (when-not (recur-limit? rmap id path k)\n (gen/delay\n (gen/fmap\n #(tag % k)\n (gensub p overrides (conj path k) rmap (list 'method form k))))))))\n gs (->> (methods @mmvar)\n (remove (fn [[k]] (invalid? k)))\n (map gen)\n (remove nil?))]\n (when (every? identity gs)\n (gen/one-of gs)))))\n (with-gen* [_ gfn] (multi-spec-impl form mmvar retag gfn))\n (describe* [_] `(multi-spec ~form ~retag))))))\n\n(defn ^:skip-wiki tuple-impl\n \"Do not call this directly, use 'tuple'\"\n ([forms preds] (tuple-impl forms preds nil))\n ([forms preds gfn]\n (let [specs (delay (mapv specize preds forms))\n cnt (count preds)]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x]\n (let [specs @specs]\n (if-not (c/and (vector? x)\n (= (count x) cnt))\n ::invalid\n (loop [ret x, i 0]\n (if (= i cnt)\n ret\n (let [v (x i)\n cv (conform* (specs i) v)]\n (if (invalid? cv)\n ::invalid\n (recur (if (identical? cv v) ret (assoc ret i cv))\n (inc i)))))))))\n (unform* [_ x]\n (assert (c/and (vector? x)\n (= (count x) (count preds))))\n (loop [ret x, i 0]\n (if (= i (count x))\n ret\n (let [cv (x i)\n v (unform (preds i) cv)]\n (recur (if (identical? cv v) ret (assoc ret i v))\n (inc i))))))\n (explain* [_ path via in x]\n (cond\n (not (vector? x))\n [{:path path :pred `vector? :val x :via via :in in}]\n\n (not= (count x) (count preds))\n [{:path path :pred `(= (count ~'%) ~(count preds)) :val x :via via :in in}]\n\n :else\n (apply concat\n (map (fn [i form pred]\n (let [v (x i)]\n (when-not (pvalid? pred v)\n (explain-1 form pred (conj path i) via (conj in i) v))))\n (range (count preds)) forms preds))))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (let [gen (fn [i p f]\n (gensub p overrides (conj path i) rmap f))\n gs (map gen (range (count preds)) preds forms)]\n (when (every? identity gs)\n (apply gen/tuple gs)))))\n (with-gen* [_ gfn] (tuple-impl forms preds gfn))\n (describe* [_] `(tuple ~@forms))))))\n\n(defn- tagged-ret [tag ret]\n (MapEntry. tag ret nil))\n\n(defn ^:skip-wiki or-spec-impl\n \"Do not call this directly, use 'or'\"\n [keys forms preds gfn]\n (let [id (random-uuid)\n kps (zipmap keys preds)\n specs (delay (mapv specize preds forms))\n cform (case (count preds)\n 2 (fn [x]\n (let [specs @specs\n ret (conform* (specs 0) x)]\n (if (invalid? ret)\n (let [ret (conform* (specs 1) x)]\n (if (invalid? ret)\n ::invalid\n (tagged-ret (keys 1) ret)))\n (tagged-ret (keys 0) ret))))\n 3 (fn [x]\n (let [specs @specs\n ret (conform* (specs 0) x)]\n (if (invalid? ret)\n (let [ret (conform* (specs 1) x)]\n (if (invalid? ret)\n (let [ret (conform* (specs 2) x)]\n (if (invalid? ret)\n ::invalid\n (tagged-ret (keys 2) ret)))\n (tagged-ret (keys 1) ret)))\n (tagged-ret (keys 0) ret))))\n (fn [x]\n (let [specs @specs]\n (loop [i 0]\n (if (< i (count specs))\n (let [spec (specs i)]\n (let [ret (conform* spec x)]\n (if (invalid? ret)\n (recur (inc i))\n (tagged-ret (keys i) ret))))\n ::invalid)))))]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x] (cform x))\n (unform* [_ [k x]] (unform (kps k) x))\n (explain* [this path via in x]\n (when-not (pvalid? this x)\n (apply concat\n (map (fn [k form pred]\n (when-not (pvalid? pred x)\n (explain-1 form pred (conj path k) via in x)))\n keys forms preds))))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (let [gen (fn [k p f]\n (let [rmap (inck rmap id)]\n (when-not (recur-limit? rmap id path k)\n (gen/delay\n (gensub p overrides (conj path k) rmap f)))))\n gs (remove nil? (map gen keys preds forms))]\n (when-not (empty? gs)\n (gen/one-of gs)))))\n (with-gen* [_ gfn] (or-spec-impl keys forms preds gfn))\n (describe* [_] `(or ~@(mapcat vector keys forms))))))\n\n(defn- and-preds [x preds forms]\n (loop [ret x\n [pred & preds] preds\n [form & forms] forms]\n (if pred\n (let [nret (dt pred ret form)]\n (if (invalid? nret)\n ::invalid\n ;;propagate conformed values\n (recur nret preds forms)))\n ret)))\n\n(defn- explain-pred-list\n [forms preds path via in x]\n (loop [ret x\n [form & forms] forms\n [pred & preds] preds]\n (when pred\n (let [nret (dt pred ret form)]\n (if (invalid? nret)\n (explain-1 form pred path via in ret)\n (recur nret forms preds))))))\n\n(defn ^:skip-wiki and-spec-impl\n \"Do not call this directly, use 'and'\"\n [forms preds gfn]\n (let [specs (delay (mapv specize preds forms))\n cform\n (case (count preds)\n 2 (fn [x]\n (let [specs @specs\n ret (conform* (specs 0) x)]\n (if (invalid? ret)\n ::invalid\n (conform* (specs 1) ret))))\n 3 (fn [x]\n (let [specs @specs\n ret (conform* (specs 0) x)]\n (if (invalid? ret)\n ::invalid\n (let [ret (conform* (specs 1) ret)]\n (if (invalid? ret)\n ::invalid\n (conform* (specs 2) ret))))))\n (fn [x]\n (let [specs @specs]\n (loop [ret x i 0]\n (if (< i (count specs))\n (let [nret (conform* (specs i) ret)]\n (if (invalid? nret)\n ::invalid\n ;;propagate conformed values\n (recur nret (inc i))))\n ret)))))]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x] (cform x))\n (unform* [_ x] (reduce #(unform %2 %1) x (reverse preds)))\n (explain* [_ path via in x] (explain-pred-list forms preds path via in x))\n (gen* [_ overrides path rmap] (if gfn (gfn) (gensub (first preds) overrides path rmap (first forms))))\n (with-gen* [_ gfn] (and-spec-impl forms preds gfn))\n (describe* [_] `(and ~@forms)))))\n\n(defn- coll-prob [x kfn kform distinct count min-count max-count\n path via in]\n (let [pred (c/or kfn coll?)\n kform (c/or kform `coll?)]\n (cond\n (not (pvalid? pred x))\n (explain-1 kform pred path via in x)\n\n (c/and count (not= count (bounded-count count x)))\n [{:path path :pred `(= ~count (c/count ~'%)) :val x :via via :in in}]\n\n (c/and (c/or min-count max-count)\n (not (<= (c/or min-count 0)\n (bounded-count (if max-count (inc max-count) min-count) x)\n (c/or max-count MAX_INT))))\n [{:path path :pred `(<= ~(c/or min-count 0) (c/count ~'%) ~(c/or max-count MAX_INT)) :val x :via via :in in}]\n\n (c/and distinct (not (empty? x)) (not (apply distinct? x)))\n [{:path path :pred 'distinct? :val x :via via :in in}])))\n\n(defn ^:skip-wiki merge-spec-impl\n \"Do not call this directly, use 'merge'\"\n [forms preds gfn]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x] (let [ms (map #(dt %1 x %2) preds forms)]\n (if (some invalid? ms)\n ::invalid\n (apply c/merge ms))))\n (unform* [_ x] (apply c/merge (map #(unform % x) (reverse preds))))\n (explain* [_ path via in x]\n (apply concat\n (map #(explain-1 %1 %2 path via in x)\n forms preds)))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (gen/fmap\n #(apply c/merge %)\n (apply gen/tuple (map #(gensub %1 overrides path rmap %2)\n preds forms)))))\n (with-gen* [_ gfn] (merge-spec-impl forms preds gfn))\n (describe* [_] `(merge ~@forms))))\n\n(def ^:private empty-coll {`vector? [], `set? #{}, `list? (), `map? {}})\n\n(defn ^:skip-wiki every-impl\n \"Do not call this directly, use 'every', 'every-kv', 'coll-of' or 'map-of'\"\n ([form pred opts] (every-impl form pred opts nil))\n ([form pred {conform-into :into\n describe-form ::describe\n :keys [kind ::kind-form count max-count min-count distinct gen-max ::kfn ::cpred\n conform-keys ::conform-all]\n :or {gen-max 20}\n :as opts}\n gfn]\n (let [gen-into (if conform-into (empty conform-into) (get empty-coll kind-form))\n spec (delay (specize pred))\n check? #(valid? @spec %)\n kfn (c/or kfn (fn [i v] i))\n addcv (fn [ret i v cv] (conj ret cv))\n cfns (fn [x]\n ;;returns a tuple of [init add complete] fns\n (cond\n (c/and (vector? x) (c/or (not conform-into) (vector? conform-into)))\n [identity\n (fn [ret i v cv]\n (if (identical? v cv)\n ret\n (assoc ret i cv)))\n identity]\n\n (c/and (map? x) (c/or (c/and kind (not conform-into)) (map? conform-into)))\n [(if conform-keys empty identity)\n (fn [ret i v cv]\n (if (c/and (identical? v cv) (not conform-keys))\n ret\n (assoc ret (nth (if conform-keys cv v) 0) (nth cv 1))))\n identity]\n\n (c/or (list? conform-into) (seq? conform-into) (c/and (not conform-into) (c/or (list? x) (seq? x))))\n [empty addcv reverse]\n\n :else [#(empty (c/or conform-into %)) addcv identity]))]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x]\n (let [spec @spec]\n (cond\n (not (cpred x)) ::invalid\n\n conform-all\n (let [[init add complete] (cfns x)]\n (loop [ret (init x), i 0, [v & vs :as vseq] (seq x)]\n (if vseq\n (let [cv (conform* spec v)]\n (if (invalid? cv)\n ::invalid\n (recur (add ret i v cv) (inc i) vs)))\n (complete ret))))\n\n :else\n (if (indexed? x)\n (let [step (max 1 (long (/ (c/count x) *coll-check-limit*)))]\n (loop [i 0]\n (if (>= i (c/count x))\n x\n (if (valid? spec (nth x i))\n (recur (c/+ i step))\n ::invalid))))\n (let [limit *coll-check-limit*]\n (loop [i 0 [v & vs :as vseq] (seq x)]\n (cond\n (c/or (nil? vseq) (= i limit)) x\n (valid? spec v) (recur (inc i) vs)\n :else ::invalid)))))))\n (unform* [_ x]\n (if conform-all\n (let [spec @spec\n [init add complete] (cfns x)]\n (loop [ret (init x), i 0, [v & vs :as vseq] (seq x)]\n (if (>= i (c/count x))\n (complete ret)\n (recur (add ret i v (unform* spec v)) (inc i) vs))))\n x))\n (explain* [_ path via in x]\n (c/or (coll-prob x kind kind-form distinct count min-count max-count\n path via in)\n (apply concat\n ((if conform-all identity (partial take *coll-error-limit*))\n (keep identity\n (map (fn [i v]\n (let [k (kfn i v)]\n (when-not (check? v)\n (let [prob (explain-1 form pred path via (conj in k) v)]\n prob))))\n (range) x))))))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (let [pgen (gensub pred overrides path rmap form)]\n (gen/bind\n (cond\n gen-into (gen/return gen-into)\n kind (gen/fmap #(if (empty? %) % (empty %))\n (gensub kind overrides path rmap form))\n :else (gen/return []))\n (fn [init]\n (gen/fmap\n #(if (vector? init) % (into init %))\n (cond\n distinct\n (if count\n (gen/vector-distinct pgen {:num-elements count :max-tries 100})\n (gen/vector-distinct pgen {:min-elements (c/or min-count 0)\n :max-elements (c/or max-count (max gen-max (c/* 2 (c/or min-count 0))))\n :max-tries 100}))\n\n count\n (gen/vector pgen count)\n\n (c/or min-count max-count)\n (gen/vector pgen (c/or min-count 0) (c/or max-count (max gen-max (c/* 2 (c/or min-count 0)))))\n\n :else\n (gen/vector pgen 0 gen-max))))))))\n\n (with-gen* [_ gfn] (every-impl form pred opts gfn))\n (describe* [_] (c/or describe-form `(every ~(s/mres form) ~@(mapcat identity opts))))))))\n\n;;;;;;;;;;;;;;;;;;;;;;; regex ;;;;;;;;;;;;;;;;;;;\n;;See:\n;; http://matt.might.net/articles/implementation-of-regular-expression-matching-in-scheme-with-derivatives/\n;; http://www.ccs.neu.edu/home/turon/re-deriv.pdf\n\n;;ctors\n(defn- accept [x] {::op ::accept :ret x})\n\n(defn- accept? [{:keys [::op]}]\n (= ::accept op))\n\n(defn- pcat* [{[p1 & pr :as ps] :ps, [k1 & kr :as ks] :ks, [f1 & fr :as forms] :forms, ret :ret, rep+ :rep+}]\n (when (every? identity ps)\n (if (accept? p1)\n (let [rp (:ret p1)\n ret (conj ret (if ks {k1 rp} rp))]\n (if pr\n (pcat* {:ps pr :ks kr :forms fr :ret ret})\n (accept ret)))\n {::op ::pcat, :ps ps, :ret ret, :ks ks, :forms forms :rep+ rep+})))\n\n(defn- pcat [& ps] (pcat* {:ps ps :ret []}))\n\n(defn ^:skip-wiki cat-impl\n \"Do not call this directly, use 'cat'\"\n [ks ps forms]\n (pcat* {:ks ks, :ps ps, :forms forms, :ret {}}))\n\n(defn- rep* [p1 p2 ret splice form]\n (when p1\n (let [r {::op ::rep, :p2 p2, :splice splice, :forms form :id (random-uuid)}]\n (if (accept? p1)\n (assoc r :p1 p2 :ret (conj ret (:ret p1)))\n (assoc r :p1 p1, :ret ret)))))\n\n(defn ^:skip-wiki rep-impl\n \"Do not call this directly, use '*'\"\n [form p] (rep* p p [] false form))\n\n(defn ^:skip-wiki rep+impl\n \"Do not call this directly, use '+'\"\n [form p]\n (pcat* {:ps [p (rep* p p [] true form)] :forms `[~form (* ~form)] :ret [] :rep+ form}))\n\n(defn ^:skip-wiki amp-impl\n \"Do not call this directly, use '&'\"\n [re re-form preds pred-forms]\n {::op ::amp :p1 re :amp re-form :ps preds :forms pred-forms})\n\n(defn- filter-alt [ps ks forms f]\n (if (c/or ks forms)\n (let [pks (->> (map vector ps\n (c/or (seq ks) (repeat nil))\n (c/or (seq forms) (repeat nil)))\n (filter #(-> % first f)))]\n [(seq (map first pks)) (when ks (seq (map second pks))) (when forms (seq (map #(nth % 2) pks)))])\n [(seq (filter f ps)) ks forms]))\n\n(defn- alt* [ps ks forms]\n (let [[[p1 & pr :as ps] [k1 :as ks] forms] (filter-alt ps ks forms identity)]\n (when ps\n (let [ret {::op ::alt, :ps ps, :ks ks :forms forms}]\n (if (nil? pr)\n (if k1\n (if (accept? p1)\n (accept (tagged-ret k1 (:ret p1)))\n ret)\n p1)\n ret)))))\n\n(defn- alts [& ps] (alt* ps nil nil))\n(defn- alt2 [p1 p2] (if (c/and p1 p2) (alts p1 p2) (c/or p1 p2)))\n\n(defn ^:skip-wiki alt-impl\n \"Do not call this directly, use 'alt'\"\n [ks ps forms] (assoc (alt* ps ks forms) :id (random-uuid)))\n\n(defn ^:skip-wiki maybe-impl\n \"Do not call this directly, use '?'\"\n [p form] (assoc (alt* [p (accept ::nil)] nil [form ::nil]) :maybe form))\n\n(defn- noret? [p1 pret]\n (c/or (= pret ::nil)\n (c/and (#{::rep ::pcat} (::op (reg-resolve! p1))) ;;hrm, shouldn't know these\n (empty? pret))\n nil))\n\n(declare ^{:arglists '([p])} preturn)\n\n(defn- accept-nil? [p]\n (let [{:keys [::op ps p1 p2 forms] :as p} (reg-resolve! p)]\n (case op\n ::accept true\n nil nil\n ::amp (c/and (accept-nil? p1)\n (let [ret (-> (preturn p1) (and-preds ps (next forms)))]\n (not (invalid? ret))))\n ::rep (c/or (identical? p1 p2) (accept-nil? p1))\n ::pcat (every? accept-nil? ps)\n ::alt (c/some accept-nil? ps))))\n\n(declare ^{:arglists '([p r k])} add-ret)\n\n(defn- preturn [p]\n (let [{[p0 & pr :as ps] :ps, [k :as ks] :ks, :keys [::op p1 ret forms] :as p} (reg-resolve! p)]\n (case op\n ::accept ret\n nil nil\n ::amp (let [pret (preturn p1)]\n (if (noret? p1 pret)\n ::nil\n (and-preds pret ps forms)))\n ::rep (add-ret p1 ret k)\n ::pcat (add-ret p0 ret k)\n ::alt (let [[[p0] [k0]] (filter-alt ps ks forms accept-nil?)\n r (if (nil? p0) ::nil (preturn p0))]\n (if k0 (tagged-ret k0 r) r)))))\n\n(defn- op-unform [p x]\n ;;(prn {:p p :x x})\n (let [{[p0 & pr :as ps] :ps, [k :as ks] :ks, :keys [::op p1 ret forms rep+ maybe] :as p} (reg-resolve! p)\n kps (zipmap ks ps)]\n (case op\n ::accept [ret]\n nil [(unform p x)]\n ::amp (let [px (reduce #(unform %2 %1) x (reverse ps))]\n (op-unform p1 px))\n ::rep (mapcat #(op-unform p1 %) x)\n ::pcat (if rep+\n (mapcat #(op-unform p0 %) x)\n (mapcat (fn [k]\n (when (contains? x k)\n (op-unform (kps k) (get x k))))\n ks))\n ::alt (if maybe\n [(unform p0 x)]\n (let [[k v] x]\n (op-unform (kps k) v))))))\n\n(defn- add-ret [p r k]\n (let [{:keys [::op ps splice] :as p} (reg-resolve! p)\n prop #(let [ret (preturn p)]\n (if (empty? ret) r ((if splice into conj) r (if k {k ret} ret))))]\n (case op\n nil r\n (::alt ::accept ::amp)\n (let [ret (preturn p)]\n ;;(prn {:ret ret})\n (if (= ret ::nil) r (conj r (if k {k ret} ret))))\n\n (::rep ::pcat) (prop))))\n\n(defn- deriv\n [p x]\n (let [{[p0 & pr :as ps] :ps, [k0 & kr :as ks] :ks, :keys [::op p1 p2 ret splice forms amp] :as p} (reg-resolve! p)]\n (when p\n (case op\n ::accept nil\n nil (let [ret (dt p x p)]\n (when-not (invalid? ret) (accept ret)))\n ::amp (when-let [p1 (deriv p1 x)]\n (if (= ::accept (::op p1))\n (let [ret (-> (preturn p1) (and-preds ps (next forms)))]\n (when-not (invalid? ret)\n (accept ret)))\n (amp-impl p1 amp ps forms)))\n ::pcat (alt2 (pcat* {:ps (cons (deriv p0 x) pr), :ks ks, :forms forms, :ret ret})\n (when (accept-nil? p0) (deriv (pcat* {:ps pr, :ks kr, :forms (next forms), :ret (add-ret p0 ret k0)}) x)))\n ::alt (alt* (map #(deriv % x) ps) ks forms)\n ::rep (alt2 (rep* (deriv p1 x) p2 ret splice forms)\n (when (accept-nil? p1) (deriv (rep* p2 p2 (add-ret p1 ret nil) splice forms) x)))))))\n\n(defn- op-describe [p]\n (let [{:keys [::op ps ks forms splice p1 rep+ maybe amp] :as p} (reg-resolve! p)]\n ;;(prn {:op op :ks ks :forms forms :p p})\n (when p\n (case op\n ::accept nil\n nil p\n ::amp (list* 'cljs.spec.alpha/& amp forms)\n ::pcat (if rep+\n (list `+ rep+)\n (cons `cat (mapcat vector (c/or (seq ks) (repeat :_)) forms)))\n ::alt (if maybe\n (list `? maybe)\n (cons `alt (mapcat vector ks forms)))\n ::rep (list (if splice `+ `*) forms)))))\n\n(defn- op-explain [form p path via in input]\n ;;(prn {:form form :p p :path path :input input})\n (let [[x :as input] input\n {:keys [::op ps ks forms splice p1 p2] :as p} (reg-resolve! p)\n via (if-let [name (spec-name p)] (conj via name) via)\n insufficient (fn [path form]\n [{:path path\n :reason \"Insufficient input\"\n :pred form\n :val ()\n :via via\n :in in}])]\n (when p\n (case op\n ::accept nil\n nil (if (empty? input)\n (insufficient path form)\n (explain-1 form p path via in x))\n ::amp (if (empty? input)\n (if (accept-nil? p1)\n (explain-pred-list forms ps path via in (preturn p1))\n (insufficient path (:amp p)))\n (if-let [p1 (deriv p1 x)]\n (explain-pred-list forms ps path via in (preturn p1))\n (op-explain (:amp p) p1 path via in input)))\n ::pcat (let [pkfs (map vector\n ps\n (c/or (seq ks) (repeat nil))\n (c/or (seq forms) (repeat nil)))\n [pred k form] (if (= 1 (count pkfs))\n (first pkfs)\n (first (remove (fn [[p]] (accept-nil? p)) pkfs)))\n path (if k (conj path k) path)\n form (c/or form (op-describe pred))]\n (if (c/and (empty? input) (not pred))\n (insufficient path form)\n (op-explain form pred path via in input)))\n ::alt (if (empty? input)\n (insufficient path (op-describe p))\n (apply concat\n (map (fn [k form pred]\n (op-explain (c/or form (op-describe pred))\n pred\n (if k (conj path k) path)\n via\n in\n input))\n (c/or (seq ks) (repeat nil))\n (c/or (seq forms) (repeat nil))\n ps)))\n ::rep (op-explain (if (identical? p1 p2)\n forms\n (op-describe p1))\n p1 path via in input)))))\n\n(defn- re-gen [p overrides path rmap f]\n ;;(prn {:op op :ks ks :forms forms})\n (let [origp p\n {:keys [::op ps ks p1 p2 forms splice ret id ::gfn] :as p} (reg-resolve! p)\n rmap (if id (inck rmap id) rmap)\n ggens (fn [ps ks forms]\n (let [gen (fn [p k f]\n ;;(prn {:k k :path path :rmap rmap :op op :id id})\n (when-not (c/and rmap id k (recur-limit? rmap id path k))\n (if id\n (gen/delay (re-gen p overrides (if k (conj path k) path) rmap (c/or f p)))\n (re-gen p overrides (if k (conj path k) path) rmap (c/or f p)))))]\n (map gen ps (c/or (seq ks) (repeat nil)) (c/or (seq forms) (repeat nil)))))]\n (c/or (when-let [gfn (c/or (get overrides (spec-name origp))\n (get overrides (spec-name p))\n (get overrides path))]\n (case op\n (:accept nil) (gen/fmap vector (gfn))\n (gfn)))\n (when gfn\n (gfn))\n (when p\n (case op\n ::accept (if (= ret ::nil)\n (gen/return [])\n (gen/return [ret]))\n nil (when-let [g (gensub p overrides path rmap f)]\n (gen/fmap vector g))\n ::amp (re-gen p1 overrides path rmap (op-describe p1))\n ::pcat (let [gens (ggens ps ks forms)]\n (when (every? identity gens)\n (apply gen/cat gens)))\n ::alt (let [gens (remove nil? (ggens ps ks forms))]\n (when-not (empty? gens)\n (gen/one-of gens)))\n ::rep (if (recur-limit? rmap id [id] id)\n (gen/return [])\n (when-let [g (re-gen p2 overrides path rmap forms)]\n (gen/fmap #(apply concat %)\n (gen/vector g)))))))))\n\n(defn- re-conform [p [x & xs :as data]]\n ;;(prn {:p p :x x :xs xs})\n (if (empty? data)\n (if (accept-nil? p)\n (let [ret (preturn p)]\n (if (= ret ::nil)\n nil\n ret))\n ::invalid)\n (if-let [dp (deriv p x)]\n (recur dp xs)\n ::invalid)))\n\n(defn- re-explain [path via in re input]\n (loop [p re [x & xs :as data] input i 0]\n ;;(prn {:p p :x x :xs xs :re re}) (prn)\n (if (empty? data)\n (if (accept-nil? p)\n nil ;;success\n (op-explain (op-describe p) p path via in nil))\n (if-let [dp (deriv p x)]\n (recur dp xs (inc i))\n (if (accept? p)\n (if (= (::op p) ::pcat)\n (op-explain (op-describe p) p path via (conj in i) (seq data))\n [{:path path\n :reason \"Extra input\"\n :pred (op-describe re)\n :val data\n :via via\n :in (conj in i)}])\n (c/or (op-explain (op-describe p) p path via (conj in i) (seq data))\n [{:path path\n :reason \"Extra input\"\n :pred (op-describe p)\n :val data\n :via via\n :in (conj in i)}]))))))\n\n(defn ^:skip-wiki regex-spec-impl\n \"Do not call this directly, use 'spec' with a regex op argument\"\n [re gfn]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x]\n (if (c/or (nil? x) (sequential? x))\n (re-conform re (seq x))\n ::invalid))\n (unform* [_ x] (op-unform re x))\n (explain* [_ path via in x]\n (if (c/or (nil? x) (sequential? x))\n (re-explain path via in re (seq x))\n [{:path path :pred `(fn [~'%] (c/or (nil? ~'%) (sequential? ~'%))) :val x :via via :in in}]))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (re-gen re overrides path rmap (op-describe re))))\n (with-gen* [_ gfn] (regex-spec-impl re gfn))\n (describe* [_] (op-describe re))))\n\n;;;;;;;;;;;;;;;;; HOFs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defn- call-valid?\n [f specs args]\n (let [cargs (conform (:args specs) args)]\n (when-not (invalid? cargs)\n (let [ret (apply f args)\n cret (conform (:ret specs) ret)]\n (c/and (not (invalid? cret))\n (if (:fn specs)\n (pvalid? (:fn specs) {:args cargs :ret cret})\n true))))))\n\n(defn- validate-fn\n \"returns f if valid, else smallest\"\n [f specs iters]\n (let [g (gen (:args specs))\n prop (gen/for-all* [g] #(call-valid? f specs %))]\n (let [ret (gen/quick-check iters prop)]\n (if-let [[smallest] (-> ret :shrunk :smallest)]\n smallest\n f))))\n\n(defn ^:skip-wiki fspec-impl\n \"Do not call this directly, use 'fspec'\"\n [argspec aform retspec rform fnspec fform gfn]\n (let [specs {:args argspec :ret retspec :fn fnspec}]\n (reify\n ILookup\n (-lookup [this k] (get specs k))\n (-lookup [_ k not-found] (get specs k not-found))\n\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ f] (if (ifn? f)\n (if (identical? f (validate-fn f specs *fspec-iterations*)) f ::invalid)\n ::invalid))\n (unform* [_ f] f)\n (explain* [_ path via in f]\n (if (ifn? f)\n (let [args (validate-fn f specs 100)]\n (if (identical? f args) ;;hrm, we might not be able to reproduce\n nil\n (let [ret (try (apply f args) (catch js/Error t t))]\n (if (instance? js/Error ret)\n ;;TODO add exception data\n [{:path path :pred '(apply fn) :val args :reason (.-message ret) :via via :in in}]\n\n (let [cret (dt retspec ret rform)]\n (if (invalid? cret)\n (explain-1 rform retspec (conj path :ret) via in ret)\n (when fnspec\n (let [cargs (conform argspec args)]\n (explain-1 fform fnspec (conj path :fn) via in {:args cargs :ret cret})))))))))\n [{:path path :pred 'ifn? :val f :via via :in in}]))\n (gen* [_ overrides _ _] (if gfn\n (gfn)\n (gen/return\n (fn [& args]\n (assert (pvalid? argspec args) (with-out-str (explain argspec args)))\n (gen/generate (gen retspec overrides))))))\n (with-gen* [_ gfn] (fspec-impl argspec aform retspec rform fnspec fform gfn))\n (describe* [_] `(fspec :args ~aform :ret ~rform :fn ~fform)))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; non-primitives ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n(cljs.spec.alpha/def ::kvs->map (cljs.spec.alpha/conformer #(zipmap (map ::k %) (map ::v %)) #(map (fn [[k v]] {::k k ::v v}) %)))\n\n(defn nonconforming\n \"takes a spec and returns a spec that has the same properties except\n 'conform' returns the original (not the conformed) value. Note, will specize regex ops.\"\n [spec]\n (let [spec (delay (specize spec))]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x] (let [ret (conform* @spec x)]\n (if (invalid? ret)\n ::invalid\n x)))\n (unform* [_ x] (unform* @spec x))\n (explain* [_ path via in x] (explain* @spec path via in x))\n (gen* [_ overrides path rmap] (gen* @spec overrides path rmap))\n (with-gen* [_ gfn] (nonconforming (with-gen* @spec gfn)))\n (describe* [_] `(nonconforming ~(describe* @spec))))))\n\n(defn ^:skip-wiki nilable-impl\n \"Do not call this directly, use 'nilable'\"\n [form pred gfn]\n (let [spec (delay (specize pred form))]\n (reify\n Specize\n (specize* [s] s)\n (specize* [s _] s)\n\n Spec\n (conform* [_ x] (if (nil? x) nil (conform* @spec x)))\n (unform* [_ x] (if (nil? x) nil (unform* @spec x)))\n (explain* [_ path via in x]\n (when-not (c/or (pvalid? @spec x) (nil? x))\n (conj\n (explain-1 form pred (conj path ::pred) via in x)\n {:path (conj path ::nil) :pred 'nil? :val x :via via :in in})))\n (gen* [_ overrides path rmap]\n (if gfn\n (gfn)\n (gen/frequency\n [[1 (gen/delay (gen/return nil))]\n [9 (gen/delay (gensub pred overrides (conj path ::pred) rmap form))]])))\n (with-gen* [_ gfn] (nilable-impl form pred gfn))\n (describe* [_] `(nilable ~(s/mres form))))))\n\n(defn exercise\n \"generates a number (default 10) of values compatible with spec and maps conform over them,\n returning a sequence of [val conformed-val] tuples. Optionally takes\n a generator overrides map as per gen\"\n ([spec] (exercise spec 10))\n ([spec n] (exercise spec n nil))\n ([spec n overrides]\n (map #(vector % (conform spec %)) (gen/sample (gen spec overrides) n))))\n\n(defn inst-in-range?\n \"Return true if inst at or after start and before end\"\n [start end inst]\n (c/and (inst? inst)\n (let [t (inst-ms inst)]\n (c/and (<= (inst-ms start) t) (< t (inst-ms end))))))\n\n(defn int-in-range?\n \"Return true if start <= val, val < end and val is a fixed\n precision integer.\"\n [start end val]\n (cond\n (integer? val) (c/and (<= start val) (< val end))\n\n (instance? goog.math.Long val)\n (c/and (.lessThanOrEqual start val)\n (.lessThan val end))\n\n (instance? goog.math.Integer val)\n (c/and (.lessThanOrEqual start val)\n (.lessThan val end))\n\n :else false))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; assert ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n(defonce\n ^{:dynamic true\n :doc \"If true, compiler will enable spec asserts, which are then\nsubject to runtime control via check-asserts? If false, compiler\nwill eliminate all spec assert overhead. See 'assert'.\nInitially set to the negation of the ':elide-asserts' compiler option.\nDefaults to true.\"}\n *compile-asserts*\n (s/init-compile-asserts))\n\n(defonce ^{:private true\n :dynamic true}\n *runtime-asserts*\n false)\n\n(defn ^boolean check-asserts?\n \"Returns the value set by check-asserts.\"\n []\n *runtime-asserts*)\n\n(defn check-asserts\n \"Enable or disable spec asserts that have been compiled\nwith '*compile-asserts*' true. See 'assert'.\nInitially set to boolean value of cljs.spec.alpha/*runtime-asserts*.\nDefaults to false.\"\n [^boolean flag]\n (set! *runtime-asserts* flag))\n\n(defn assert*\n \"Do not call this directly, use 'assert'.\"\n [spec x]\n (if (valid? spec x)\n x\n (let [ed (c/merge (assoc (explain-data* spec [] [] [] x)\n ::failure :assertion-failed))]\n (throw (js/Error.\n (str \"Spec assertion failed\\n\" (with-out-str (explain-out ed))))))))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.spec.gen.alpha.js b/out/cljs-runtime/cljs.spec.gen.alpha.js new file mode 100644 index 0000000..9086872 --- /dev/null +++ b/out/cljs-runtime/cljs.spec.gen.alpha.js @@ -0,0 +1,1994 @@ +goog.provide('cljs.spec.gen.alpha'); + +/** +* @constructor + * @implements {cljs.core.IDeref} +*/ +cljs.spec.gen.alpha.LazyVar = (function (f,cached){ +this.f = f; +this.cached = cached; +this.cljs$lang$protocol_mask$partition0$ = 32768; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cljs.spec.gen.alpha.LazyVar.prototype.cljs$core$IDeref$_deref$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +if((!((self__.cached == null)))){ +return self__.cached; +} else { +var x = (self__.f.cljs$core$IFn$_invoke$arity$0 ? self__.f.cljs$core$IFn$_invoke$arity$0() : self__.f.call(null, )); +if((x == null)){ +} else { +(self__.cached = x); +} + +return x; +} +})); + +(cljs.spec.gen.alpha.LazyVar.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"f","f",43394975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"cached","cached",-1216707864,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs.spec.gen.alpha.LazyVar.cljs$lang$type = true); + +(cljs.spec.gen.alpha.LazyVar.cljs$lang$ctorStr = "cljs.spec.gen.alpha/LazyVar"); + +(cljs.spec.gen.alpha.LazyVar.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs.spec.gen.alpha/LazyVar"); +})); + +/** + * Positional factory function for cljs.spec.gen.alpha/LazyVar. + */ +cljs.spec.gen.alpha.__GT_LazyVar = (function cljs$spec$gen$alpha$__GT_LazyVar(f,cached){ +return (new cljs.spec.gen.alpha.LazyVar(f,cached)); +}); + +cljs.spec.gen.alpha.quick_check_ref = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.quick_check !== 'undefined')){ +return clojure.test.check.quick_check; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check","quick-check","clojure.test.check/quick-check",-810344251,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check","quick-check","clojure.test.check/quick-check",-810344251,null))," never required"].join(''))); +} +}),null)); +cljs.spec.gen.alpha.quick_check = (function cljs$spec$gen$alpha$quick_check(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32211 = arguments.length; +var i__5770__auto___32212 = (0); +while(true){ +if((i__5770__auto___32212 < len__5769__auto___32211)){ +args__5775__auto__.push((arguments[i__5770__auto___32212])); + +var G__32213 = (i__5770__auto___32212 + (1)); +i__5770__auto___32212 = G__32213; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.quick_check.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.quick_check.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.spec.gen.alpha.quick_check_ref),args); +})); + +(cljs.spec.gen.alpha.quick_check.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.quick_check.cljs$lang$applyTo = (function (seq31371){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31371)); +})); + +cljs.spec.gen.alpha.for_all_STAR__ref = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.properties !== 'undefined') && (typeof clojure.test.check.properties.for_all_STAR_ !== 'undefined')){ +return clojure.test.check.properties.for_all_STAR_; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.properties","for-all*","clojure.test.check.properties/for-all*",67088845,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.properties","for-all*","clojure.test.check.properties/for-all*",67088845,null))," never required"].join(''))); +} +}),null)); +/** + * Dynamically loaded clojure.test.check.properties/for-all*. + */ +cljs.spec.gen.alpha.for_all_STAR_ = (function cljs$spec$gen$alpha$for_all_STAR_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32223 = arguments.length; +var i__5770__auto___32224 = (0); +while(true){ +if((i__5770__auto___32224 < len__5769__auto___32223)){ +args__5775__auto__.push((arguments[i__5770__auto___32224])); + +var G__32225 = (i__5770__auto___32224 + (1)); +i__5770__auto___32224 = G__32225; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.for_all_STAR_.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.for_all_STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.spec.gen.alpha.for_all_STAR__ref),args); +})); + +(cljs.spec.gen.alpha.for_all_STAR_.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.for_all_STAR_.cljs$lang$applyTo = (function (seq31401){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31401)); +})); + +var g_QMARK__32227 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.generator_QMARK_ !== 'undefined')){ +return clojure.test.check.generators.generator_QMARK_; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","generator?","clojure.test.check.generators/generator?",-1378210460,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","generator?","clojure.test.check.generators/generator?",-1378210460,null))," never required"].join(''))); +} +}),null)); +var g_32228 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.generate !== 'undefined')){ +return clojure.test.check.generators.generate; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","generate","clojure.test.check.generators/generate",-690390711,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","generate","clojure.test.check.generators/generate",-690390711,null))," never required"].join(''))); +} +}),null)); +var mkg_32229 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.__GT_Generator !== 'undefined')){ +return clojure.test.check.generators.__GT_Generator; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","->Generator","clojure.test.check.generators/->Generator",-1179475051,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","->Generator","clojure.test.check.generators/->Generator",-1179475051,null))," never required"].join(''))); +} +}),null)); +cljs.spec.gen.alpha.generator_QMARK_ = (function cljs$spec$gen$alpha$generator_QMARK_(x){ +var fexpr__31445 = cljs.core.deref(g_QMARK__32227); +return (fexpr__31445.cljs$core$IFn$_invoke$arity$1 ? fexpr__31445.cljs$core$IFn$_invoke$arity$1(x) : fexpr__31445.call(null, x)); +}); + +cljs.spec.gen.alpha.generator = (function cljs$spec$gen$alpha$generator(gfn){ +var fexpr__31447 = cljs.core.deref(mkg_32229); +return (fexpr__31447.cljs$core$IFn$_invoke$arity$1 ? fexpr__31447.cljs$core$IFn$_invoke$arity$1(gfn) : fexpr__31447.call(null, gfn)); +}); + +/** + * Generate a single value using generator. + */ +cljs.spec.gen.alpha.generate = (function cljs$spec$gen$alpha$generate(generator){ +var fexpr__31448 = cljs.core.deref(g_32228); +return (fexpr__31448.cljs$core$IFn$_invoke$arity$1 ? fexpr__31448.cljs$core$IFn$_invoke$arity$1(generator) : fexpr__31448.call(null, generator)); +}); +cljs.spec.gen.alpha.delay_impl = (function cljs$spec$gen$alpha$delay_impl(gfnd){ +return cljs.spec.gen.alpha.generator((function (rnd,size){ +var fexpr__31460 = new cljs.core.Keyword(null,"gen","gen",142575302).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(gfnd)); +return (fexpr__31460.cljs$core$IFn$_invoke$arity$2 ? fexpr__31460.cljs$core$IFn$_invoke$arity$2(rnd,size) : fexpr__31460.call(null, rnd,size)); +})); +}); +var g__13260__auto___32232 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.hash_map !== 'undefined')){ +return clojure.test.check.generators.hash_map; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","hash-map","clojure.test.check.generators/hash-map",1961346626,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","hash-map","clojure.test.check.generators/hash-map",1961346626,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/hash-map + */ +cljs.spec.gen.alpha.hash_map = (function cljs$spec$gen$alpha$hash_map(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32233 = arguments.length; +var i__5770__auto___32234 = (0); +while(true){ +if((i__5770__auto___32234 < len__5769__auto___32233)){ +args__5775__auto__.push((arguments[i__5770__auto___32234])); + +var G__32235 = (i__5770__auto___32234 + (1)); +i__5770__auto___32234 = G__32235; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.hash_map.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.hash_map.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32232),args); +})); + +(cljs.spec.gen.alpha.hash_map.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.hash_map.cljs$lang$applyTo = (function (seq31464){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31464)); +})); + + +var g__13260__auto___32244 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.list !== 'undefined')){ +return clojure.test.check.generators.list; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","list","clojure.test.check.generators/list",506971058,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","list","clojure.test.check.generators/list",506971058,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/list + */ +cljs.spec.gen.alpha.list = (function cljs$spec$gen$alpha$list(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32262 = arguments.length; +var i__5770__auto___32263 = (0); +while(true){ +if((i__5770__auto___32263 < len__5769__auto___32262)){ +args__5775__auto__.push((arguments[i__5770__auto___32263])); + +var G__32264 = (i__5770__auto___32263 + (1)); +i__5770__auto___32263 = G__32264; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32244),args); +})); + +(cljs.spec.gen.alpha.list.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.list.cljs$lang$applyTo = (function (seq31485){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31485)); +})); + + +var g__13260__auto___32268 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.map !== 'undefined')){ +return clojure.test.check.generators.map; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","map","clojure.test.check.generators/map",45738796,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","map","clojure.test.check.generators/map",45738796,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/map + */ +cljs.spec.gen.alpha.map = (function cljs$spec$gen$alpha$map(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32272 = arguments.length; +var i__5770__auto___32273 = (0); +while(true){ +if((i__5770__auto___32273 < len__5769__auto___32272)){ +args__5775__auto__.push((arguments[i__5770__auto___32273])); + +var G__32274 = (i__5770__auto___32273 + (1)); +i__5770__auto___32273 = G__32274; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32268),args); +})); + +(cljs.spec.gen.alpha.map.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.map.cljs$lang$applyTo = (function (seq31507){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31507)); +})); + + +var g__13260__auto___32276 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.not_empty !== 'undefined')){ +return clojure.test.check.generators.not_empty; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","not-empty","clojure.test.check.generators/not-empty",-876211682,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","not-empty","clojure.test.check.generators/not-empty",-876211682,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/not-empty + */ +cljs.spec.gen.alpha.not_empty = (function cljs$spec$gen$alpha$not_empty(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32279 = arguments.length; +var i__5770__auto___32280 = (0); +while(true){ +if((i__5770__auto___32280 < len__5769__auto___32279)){ +args__5775__auto__.push((arguments[i__5770__auto___32280])); + +var G__32281 = (i__5770__auto___32280 + (1)); +i__5770__auto___32280 = G__32281; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.not_empty.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.not_empty.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32276),args); +})); + +(cljs.spec.gen.alpha.not_empty.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.not_empty.cljs$lang$applyTo = (function (seq31556){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31556)); +})); + + +var g__13260__auto___32284 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.set !== 'undefined')){ +return clojure.test.check.generators.set; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","set","clojure.test.check.generators/set",-1027639543,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","set","clojure.test.check.generators/set",-1027639543,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/set + */ +cljs.spec.gen.alpha.set = (function cljs$spec$gen$alpha$set(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32287 = arguments.length; +var i__5770__auto___32288 = (0); +while(true){ +if((i__5770__auto___32288 < len__5769__auto___32287)){ +args__5775__auto__.push((arguments[i__5770__auto___32288])); + +var G__32289 = (i__5770__auto___32288 + (1)); +i__5770__auto___32288 = G__32289; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.set.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.set.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32284),args); +})); + +(cljs.spec.gen.alpha.set.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.set.cljs$lang$applyTo = (function (seq31579){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31579)); +})); + + +var g__13260__auto___32294 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.vector !== 'undefined')){ +return clojure.test.check.generators.vector; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","vector","clojure.test.check.generators/vector",1081775325,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","vector","clojure.test.check.generators/vector",1081775325,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/vector + */ +cljs.spec.gen.alpha.vector = (function cljs$spec$gen$alpha$vector(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32295 = arguments.length; +var i__5770__auto___32296 = (0); +while(true){ +if((i__5770__auto___32296 < len__5769__auto___32295)){ +args__5775__auto__.push((arguments[i__5770__auto___32296])); + +var G__32298 = (i__5770__auto___32296 + (1)); +i__5770__auto___32296 = G__32298; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32294),args); +})); + +(cljs.spec.gen.alpha.vector.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.vector.cljs$lang$applyTo = (function (seq31606){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31606)); +})); + + +var g__13260__auto___32300 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.vector_distinct !== 'undefined')){ +return clojure.test.check.generators.vector_distinct; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","vector-distinct","clojure.test.check.generators/vector-distinct",1656877834,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","vector-distinct","clojure.test.check.generators/vector-distinct",1656877834,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/vector-distinct + */ +cljs.spec.gen.alpha.vector_distinct = (function cljs$spec$gen$alpha$vector_distinct(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32306 = arguments.length; +var i__5770__auto___32307 = (0); +while(true){ +if((i__5770__auto___32307 < len__5769__auto___32306)){ +args__5775__auto__.push((arguments[i__5770__auto___32307])); + +var G__32308 = (i__5770__auto___32307 + (1)); +i__5770__auto___32307 = G__32308; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.vector_distinct.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.vector_distinct.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32300),args); +})); + +(cljs.spec.gen.alpha.vector_distinct.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.vector_distinct.cljs$lang$applyTo = (function (seq31622){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31622)); +})); + + +var g__13260__auto___32310 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.fmap !== 'undefined')){ +return clojure.test.check.generators.fmap; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","fmap","clojure.test.check.generators/fmap",1957997092,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","fmap","clojure.test.check.generators/fmap",1957997092,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/fmap + */ +cljs.spec.gen.alpha.fmap = (function cljs$spec$gen$alpha$fmap(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32312 = arguments.length; +var i__5770__auto___32313 = (0); +while(true){ +if((i__5770__auto___32313 < len__5769__auto___32312)){ +args__5775__auto__.push((arguments[i__5770__auto___32313])); + +var G__32315 = (i__5770__auto___32313 + (1)); +i__5770__auto___32313 = G__32315; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32310),args); +})); + +(cljs.spec.gen.alpha.fmap.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.fmap.cljs$lang$applyTo = (function (seq31632){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31632)); +})); + + +var g__13260__auto___32318 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.elements !== 'undefined')){ +return clojure.test.check.generators.elements; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","elements","clojure.test.check.generators/elements",438991326,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","elements","clojure.test.check.generators/elements",438991326,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/elements + */ +cljs.spec.gen.alpha.elements = (function cljs$spec$gen$alpha$elements(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32321 = arguments.length; +var i__5770__auto___32322 = (0); +while(true){ +if((i__5770__auto___32322 < len__5769__auto___32321)){ +args__5775__auto__.push((arguments[i__5770__auto___32322])); + +var G__32323 = (i__5770__auto___32322 + (1)); +i__5770__auto___32322 = G__32323; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.elements.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.elements.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32318),args); +})); + +(cljs.spec.gen.alpha.elements.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.elements.cljs$lang$applyTo = (function (seq31641){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31641)); +})); + + +var g__13260__auto___32325 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.bind !== 'undefined')){ +return clojure.test.check.generators.bind; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","bind","clojure.test.check.generators/bind",-361313906,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","bind","clojure.test.check.generators/bind",-361313906,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/bind + */ +cljs.spec.gen.alpha.bind = (function cljs$spec$gen$alpha$bind(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32328 = arguments.length; +var i__5770__auto___32329 = (0); +while(true){ +if((i__5770__auto___32329 < len__5769__auto___32328)){ +args__5775__auto__.push((arguments[i__5770__auto___32329])); + +var G__32331 = (i__5770__auto___32329 + (1)); +i__5770__auto___32329 = G__32331; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.bind.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.bind.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32325),args); +})); + +(cljs.spec.gen.alpha.bind.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.bind.cljs$lang$applyTo = (function (seq31647){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31647)); +})); + + +var g__13260__auto___32332 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.choose !== 'undefined')){ +return clojure.test.check.generators.choose; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","choose","clojure.test.check.generators/choose",909997832,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","choose","clojure.test.check.generators/choose",909997832,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/choose + */ +cljs.spec.gen.alpha.choose = (function cljs$spec$gen$alpha$choose(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32333 = arguments.length; +var i__5770__auto___32334 = (0); +while(true){ +if((i__5770__auto___32334 < len__5769__auto___32333)){ +args__5775__auto__.push((arguments[i__5770__auto___32334])); + +var G__32336 = (i__5770__auto___32334 + (1)); +i__5770__auto___32334 = G__32336; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.choose.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.choose.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32332),args); +})); + +(cljs.spec.gen.alpha.choose.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.choose.cljs$lang$applyTo = (function (seq31666){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31666)); +})); + + +var g__13260__auto___32337 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.one_of !== 'undefined')){ +return clojure.test.check.generators.one_of; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","one-of","clojure.test.check.generators/one-of",-183339191,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","one-of","clojure.test.check.generators/one-of",-183339191,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/one-of + */ +cljs.spec.gen.alpha.one_of = (function cljs$spec$gen$alpha$one_of(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32338 = arguments.length; +var i__5770__auto___32339 = (0); +while(true){ +if((i__5770__auto___32339 < len__5769__auto___32338)){ +args__5775__auto__.push((arguments[i__5770__auto___32339])); + +var G__32340 = (i__5770__auto___32339 + (1)); +i__5770__auto___32339 = G__32340; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32337),args); +})); + +(cljs.spec.gen.alpha.one_of.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.one_of.cljs$lang$applyTo = (function (seq31671){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31671)); +})); + + +var g__13260__auto___32341 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.such_that !== 'undefined')){ +return clojure.test.check.generators.such_that; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","such-that","clojure.test.check.generators/such-that",-1754178732,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","such-that","clojure.test.check.generators/such-that",-1754178732,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/such-that + */ +cljs.spec.gen.alpha.such_that = (function cljs$spec$gen$alpha$such_that(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32343 = arguments.length; +var i__5770__auto___32345 = (0); +while(true){ +if((i__5770__auto___32345 < len__5769__auto___32343)){ +args__5775__auto__.push((arguments[i__5770__auto___32345])); + +var G__32347 = (i__5770__auto___32345 + (1)); +i__5770__auto___32345 = G__32347; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32341),args); +})); + +(cljs.spec.gen.alpha.such_that.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.such_that.cljs$lang$applyTo = (function (seq31681){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31681)); +})); + + +var g__13260__auto___32356 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.tuple !== 'undefined')){ +return clojure.test.check.generators.tuple; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","tuple","clojure.test.check.generators/tuple",-143711557,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","tuple","clojure.test.check.generators/tuple",-143711557,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/tuple + */ +cljs.spec.gen.alpha.tuple = (function cljs$spec$gen$alpha$tuple(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32370 = arguments.length; +var i__5770__auto___32371 = (0); +while(true){ +if((i__5770__auto___32371 < len__5769__auto___32370)){ +args__5775__auto__.push((arguments[i__5770__auto___32371])); + +var G__32372 = (i__5770__auto___32371 + (1)); +i__5770__auto___32371 = G__32372; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.tuple.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.tuple.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32356),args); +})); + +(cljs.spec.gen.alpha.tuple.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.tuple.cljs$lang$applyTo = (function (seq31686){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31686)); +})); + + +var g__13260__auto___32373 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.sample !== 'undefined')){ +return clojure.test.check.generators.sample; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","sample","clojure.test.check.generators/sample",-382944992,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","sample","clojure.test.check.generators/sample",-382944992,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/sample + */ +cljs.spec.gen.alpha.sample = (function cljs$spec$gen$alpha$sample(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32375 = arguments.length; +var i__5770__auto___32376 = (0); +while(true){ +if((i__5770__auto___32376 < len__5769__auto___32375)){ +args__5775__auto__.push((arguments[i__5770__auto___32376])); + +var G__32378 = (i__5770__auto___32376 + (1)); +i__5770__auto___32376 = G__32378; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.sample.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.sample.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32373),args); +})); + +(cljs.spec.gen.alpha.sample.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.sample.cljs$lang$applyTo = (function (seq31698){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31698)); +})); + + +var g__13260__auto___32385 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.return$ !== 'undefined')){ +return clojure.test.check.generators.return$; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","return","clojure.test.check.generators/return",1744522038,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","return","clojure.test.check.generators/return",1744522038,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/return + */ +cljs.spec.gen.alpha.return$ = (function cljs$spec$gen$alpha$return(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32393 = arguments.length; +var i__5770__auto___32395 = (0); +while(true){ +if((i__5770__auto___32395 < len__5769__auto___32393)){ +args__5775__auto__.push((arguments[i__5770__auto___32395])); + +var G__32397 = (i__5770__auto___32395 + (1)); +i__5770__auto___32395 = G__32397; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32385),args); +})); + +(cljs.spec.gen.alpha.return$.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.return$.cljs$lang$applyTo = (function (seq31714){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31714)); +})); + + +var g__13260__auto___32404 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.large_integer_STAR_ !== 'undefined')){ +return clojure.test.check.generators.large_integer_STAR_; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","large-integer*","clojure.test.check.generators/large-integer*",-437830670,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","large-integer*","clojure.test.check.generators/large-integer*",-437830670,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/large-integer* + */ +cljs.spec.gen.alpha.large_integer_STAR_ = (function cljs$spec$gen$alpha$large_integer_STAR_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32411 = arguments.length; +var i__5770__auto___32412 = (0); +while(true){ +if((i__5770__auto___32412 < len__5769__auto___32411)){ +args__5775__auto__.push((arguments[i__5770__auto___32412])); + +var G__32414 = (i__5770__auto___32412 + (1)); +i__5770__auto___32412 = G__32414; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.large_integer_STAR_.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.large_integer_STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32404),args); +})); + +(cljs.spec.gen.alpha.large_integer_STAR_.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.large_integer_STAR_.cljs$lang$applyTo = (function (seq31723){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31723)); +})); + + +var g__13260__auto___32416 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.double_STAR_ !== 'undefined')){ +return clojure.test.check.generators.double_STAR_; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","double*","clojure.test.check.generators/double*",841542265,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","double*","clojure.test.check.generators/double*",841542265,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/double* + */ +cljs.spec.gen.alpha.double_STAR_ = (function cljs$spec$gen$alpha$double_STAR_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32417 = arguments.length; +var i__5770__auto___32418 = (0); +while(true){ +if((i__5770__auto___32418 < len__5769__auto___32417)){ +args__5775__auto__.push((arguments[i__5770__auto___32418])); + +var G__32419 = (i__5770__auto___32418 + (1)); +i__5770__auto___32418 = G__32419; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.double_STAR_.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.double_STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32416),args); +})); + +(cljs.spec.gen.alpha.double_STAR_.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.double_STAR_.cljs$lang$applyTo = (function (seq31735){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31735)); +})); + + +var g__13260__auto___32427 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.frequency !== 'undefined')){ +return clojure.test.check.generators.frequency; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","frequency","clojure.test.check.generators/frequency",2090703177,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","frequency","clojure.test.check.generators/frequency",2090703177,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/frequency + */ +cljs.spec.gen.alpha.frequency = (function cljs$spec$gen$alpha$frequency(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32429 = arguments.length; +var i__5770__auto___32430 = (0); +while(true){ +if((i__5770__auto___32430 < len__5769__auto___32429)){ +args__5775__auto__.push((arguments[i__5770__auto___32430])); + +var G__32431 = (i__5770__auto___32430 + (1)); +i__5770__auto___32430 = G__32431; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.frequency.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.frequency.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32427),args); +})); + +(cljs.spec.gen.alpha.frequency.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.frequency.cljs$lang$applyTo = (function (seq31750){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31750)); +})); + + +var g__13260__auto___32434 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.shuffle !== 'undefined')){ +return clojure.test.check.generators.shuffle; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","shuffle","clojure.test.check.generators/shuffle",1032401055,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","shuffle","clojure.test.check.generators/shuffle",1032401055,null))," never required"].join(''))); +} +}),null)); +/** + * Lazy loaded version of clojure.test.check.generators/shuffle + */ +cljs.spec.gen.alpha.shuffle = (function cljs$spec$gen$alpha$shuffle(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32439 = arguments.length; +var i__5770__auto___32443 = (0); +while(true){ +if((i__5770__auto___32443 < len__5769__auto___32439)){ +args__5775__auto__.push((arguments[i__5770__auto___32443])); + +var G__32444 = (i__5770__auto___32443 + (1)); +i__5770__auto___32443 = G__32444; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.shuffle.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.shuffle.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(g__13260__auto___32434),args); +})); + +(cljs.spec.gen.alpha.shuffle.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.shuffle.cljs$lang$applyTo = (function (seq31788){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31788)); +})); + +var g__13273__auto___32446 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.any !== 'undefined')){ +return clojure.test.check.generators.any; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","any","clojure.test.check.generators/any",1883743710,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","any","clojure.test.check.generators/any",1883743710,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/any + */ +cljs.spec.gen.alpha.any = (function cljs$spec$gen$alpha$any(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32449 = arguments.length; +var i__5770__auto___32451 = (0); +while(true){ +if((i__5770__auto___32451 < len__5769__auto___32449)){ +args__5775__auto__.push((arguments[i__5770__auto___32451])); + +var G__32452 = (i__5770__auto___32451 + (1)); +i__5770__auto___32451 = G__32452; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.any.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.any.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32446); +})); + +(cljs.spec.gen.alpha.any.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.any.cljs$lang$applyTo = (function (seq31804){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31804)); +})); + + +var g__13273__auto___32453 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.any_printable !== 'undefined')){ +return clojure.test.check.generators.any_printable; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","any-printable","clojure.test.check.generators/any-printable",-1570493991,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","any-printable","clojure.test.check.generators/any-printable",-1570493991,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/any-printable + */ +cljs.spec.gen.alpha.any_printable = (function cljs$spec$gen$alpha$any_printable(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32459 = arguments.length; +var i__5770__auto___32460 = (0); +while(true){ +if((i__5770__auto___32460 < len__5769__auto___32459)){ +args__5775__auto__.push((arguments[i__5770__auto___32460])); + +var G__32462 = (i__5770__auto___32460 + (1)); +i__5770__auto___32460 = G__32462; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.any_printable.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.any_printable.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32453); +})); + +(cljs.spec.gen.alpha.any_printable.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.any_printable.cljs$lang$applyTo = (function (seq31813){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31813)); +})); + + +var g__13273__auto___32483 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.boolean$ !== 'undefined')){ +return clojure.test.check.generators.boolean$; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","boolean","clojure.test.check.generators/boolean",1586992347,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","boolean","clojure.test.check.generators/boolean",1586992347,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/boolean + */ +cljs.spec.gen.alpha.boolean$ = (function cljs$spec$gen$alpha$boolean(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32486 = arguments.length; +var i__5770__auto___32487 = (0); +while(true){ +if((i__5770__auto___32487 < len__5769__auto___32486)){ +args__5775__auto__.push((arguments[i__5770__auto___32487])); + +var G__32488 = (i__5770__auto___32487 + (1)); +i__5770__auto___32487 = G__32488; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.boolean$.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.boolean$.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32483); +})); + +(cljs.spec.gen.alpha.boolean$.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.boolean$.cljs$lang$applyTo = (function (seq31824){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31824)); +})); + + +var g__13273__auto___32490 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.char$ !== 'undefined')){ +return clojure.test.check.generators.char$; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","char","clojure.test.check.generators/char",-1426343459,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","char","clojure.test.check.generators/char",-1426343459,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/char + */ +cljs.spec.gen.alpha.char$ = (function cljs$spec$gen$alpha$char(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32491 = arguments.length; +var i__5770__auto___32492 = (0); +while(true){ +if((i__5770__auto___32492 < len__5769__auto___32491)){ +args__5775__auto__.push((arguments[i__5770__auto___32492])); + +var G__32493 = (i__5770__auto___32492 + (1)); +i__5770__auto___32492 = G__32493; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char$.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.char$.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32490); +})); + +(cljs.spec.gen.alpha.char$.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.char$.cljs$lang$applyTo = (function (seq31851){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31851)); +})); + + +var g__13273__auto___32495 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.char_alpha !== 'undefined')){ +return clojure.test.check.generators.char_alpha; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","char-alpha","clojure.test.check.generators/char-alpha",615785796,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","char-alpha","clojure.test.check.generators/char-alpha",615785796,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/char-alpha + */ +cljs.spec.gen.alpha.char_alpha = (function cljs$spec$gen$alpha$char_alpha(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32497 = arguments.length; +var i__5770__auto___32498 = (0); +while(true){ +if((i__5770__auto___32498 < len__5769__auto___32497)){ +args__5775__auto__.push((arguments[i__5770__auto___32498])); + +var G__32500 = (i__5770__auto___32498 + (1)); +i__5770__auto___32498 = G__32500; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char_alpha.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.char_alpha.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32495); +})); + +(cljs.spec.gen.alpha.char_alpha.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.char_alpha.cljs$lang$applyTo = (function (seq31860){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31860)); +})); + + +var g__13273__auto___32504 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.char_alphanumeric !== 'undefined')){ +return clojure.test.check.generators.char_alphanumeric; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","char-alphanumeric","clojure.test.check.generators/char-alphanumeric",1383091431,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","char-alphanumeric","clojure.test.check.generators/char-alphanumeric",1383091431,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/char-alphanumeric + */ +cljs.spec.gen.alpha.char_alphanumeric = (function cljs$spec$gen$alpha$char_alphanumeric(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32508 = arguments.length; +var i__5770__auto___32509 = (0); +while(true){ +if((i__5770__auto___32509 < len__5769__auto___32508)){ +args__5775__auto__.push((arguments[i__5770__auto___32509])); + +var G__32510 = (i__5770__auto___32509 + (1)); +i__5770__auto___32509 = G__32510; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char_alphanumeric.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.char_alphanumeric.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32504); +})); + +(cljs.spec.gen.alpha.char_alphanumeric.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.char_alphanumeric.cljs$lang$applyTo = (function (seq31871){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31871)); +})); + + +var g__13273__auto___32511 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.char_ascii !== 'undefined')){ +return clojure.test.check.generators.char_ascii; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","char-ascii","clojure.test.check.generators/char-ascii",-899908538,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","char-ascii","clojure.test.check.generators/char-ascii",-899908538,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/char-ascii + */ +cljs.spec.gen.alpha.char_ascii = (function cljs$spec$gen$alpha$char_ascii(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32513 = arguments.length; +var i__5770__auto___32514 = (0); +while(true){ +if((i__5770__auto___32514 < len__5769__auto___32513)){ +args__5775__auto__.push((arguments[i__5770__auto___32514])); + +var G__32515 = (i__5770__auto___32514 + (1)); +i__5770__auto___32514 = G__32515; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.char_ascii.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.char_ascii.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32511); +})); + +(cljs.spec.gen.alpha.char_ascii.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.char_ascii.cljs$lang$applyTo = (function (seq31883){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31883)); +})); + + +var g__13273__auto___32517 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.double$ !== 'undefined')){ +return clojure.test.check.generators.double$; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","double","clojure.test.check.generators/double",668331090,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","double","clojure.test.check.generators/double",668331090,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/double + */ +cljs.spec.gen.alpha.double$ = (function cljs$spec$gen$alpha$double(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32520 = arguments.length; +var i__5770__auto___32521 = (0); +while(true){ +if((i__5770__auto___32521 < len__5769__auto___32520)){ +args__5775__auto__.push((arguments[i__5770__auto___32521])); + +var G__32522 = (i__5770__auto___32521 + (1)); +i__5770__auto___32521 = G__32522; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.double$.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.double$.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32517); +})); + +(cljs.spec.gen.alpha.double$.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.double$.cljs$lang$applyTo = (function (seq31902){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31902)); +})); + + +var g__13273__auto___32523 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.int$ !== 'undefined')){ +return clojure.test.check.generators.int$; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","int","clojure.test.check.generators/int",1756228469,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","int","clojure.test.check.generators/int",1756228469,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/int + */ +cljs.spec.gen.alpha.int$ = (function cljs$spec$gen$alpha$int(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32524 = arguments.length; +var i__5770__auto___32525 = (0); +while(true){ +if((i__5770__auto___32525 < len__5769__auto___32524)){ +args__5775__auto__.push((arguments[i__5770__auto___32525])); + +var G__32527 = (i__5770__auto___32525 + (1)); +i__5770__auto___32525 = G__32527; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.int$.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.int$.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32523); +})); + +(cljs.spec.gen.alpha.int$.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.int$.cljs$lang$applyTo = (function (seq31912){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31912)); +})); + + +var g__13273__auto___32529 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.keyword !== 'undefined')){ +return clojure.test.check.generators.keyword; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","keyword","clojure.test.check.generators/keyword",24530530,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","keyword","clojure.test.check.generators/keyword",24530530,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/keyword + */ +cljs.spec.gen.alpha.keyword = (function cljs$spec$gen$alpha$keyword(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32531 = arguments.length; +var i__5770__auto___32532 = (0); +while(true){ +if((i__5770__auto___32532 < len__5769__auto___32531)){ +args__5775__auto__.push((arguments[i__5770__auto___32532])); + +var G__32533 = (i__5770__auto___32532 + (1)); +i__5770__auto___32532 = G__32533; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.keyword.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.keyword.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32529); +})); + +(cljs.spec.gen.alpha.keyword.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.keyword.cljs$lang$applyTo = (function (seq31918){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31918)); +})); + + +var g__13273__auto___32536 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.keyword_ns !== 'undefined')){ +return clojure.test.check.generators.keyword_ns; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","keyword-ns","clojure.test.check.generators/keyword-ns",-1492628482,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","keyword-ns","clojure.test.check.generators/keyword-ns",-1492628482,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/keyword-ns + */ +cljs.spec.gen.alpha.keyword_ns = (function cljs$spec$gen$alpha$keyword_ns(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32537 = arguments.length; +var i__5770__auto___32538 = (0); +while(true){ +if((i__5770__auto___32538 < len__5769__auto___32537)){ +args__5775__auto__.push((arguments[i__5770__auto___32538])); + +var G__32564 = (i__5770__auto___32538 + (1)); +i__5770__auto___32538 = G__32564; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.keyword_ns.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.keyword_ns.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32536); +})); + +(cljs.spec.gen.alpha.keyword_ns.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.keyword_ns.cljs$lang$applyTo = (function (seq31930){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31930)); +})); + + +var g__13273__auto___32567 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.large_integer !== 'undefined')){ +return clojure.test.check.generators.large_integer; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","large-integer","clojure.test.check.generators/large-integer",-865967138,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","large-integer","clojure.test.check.generators/large-integer",-865967138,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/large-integer + */ +cljs.spec.gen.alpha.large_integer = (function cljs$spec$gen$alpha$large_integer(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32569 = arguments.length; +var i__5770__auto___32570 = (0); +while(true){ +if((i__5770__auto___32570 < len__5769__auto___32569)){ +args__5775__auto__.push((arguments[i__5770__auto___32570])); + +var G__32571 = (i__5770__auto___32570 + (1)); +i__5770__auto___32570 = G__32571; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.large_integer.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.large_integer.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32567); +})); + +(cljs.spec.gen.alpha.large_integer.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.large_integer.cljs$lang$applyTo = (function (seq31944){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31944)); +})); + + +var g__13273__auto___32572 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.ratio !== 'undefined')){ +return clojure.test.check.generators.ratio; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","ratio","clojure.test.check.generators/ratio",1540966915,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","ratio","clojure.test.check.generators/ratio",1540966915,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/ratio + */ +cljs.spec.gen.alpha.ratio = (function cljs$spec$gen$alpha$ratio(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32573 = arguments.length; +var i__5770__auto___32574 = (0); +while(true){ +if((i__5770__auto___32574 < len__5769__auto___32573)){ +args__5775__auto__.push((arguments[i__5770__auto___32574])); + +var G__32575 = (i__5770__auto___32574 + (1)); +i__5770__auto___32574 = G__32575; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.ratio.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.ratio.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32572); +})); + +(cljs.spec.gen.alpha.ratio.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.ratio.cljs$lang$applyTo = (function (seq31970){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31970)); +})); + + +var g__13273__auto___32577 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.simple_type !== 'undefined')){ +return clojure.test.check.generators.simple_type; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","simple-type","clojure.test.check.generators/simple-type",892572284,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","simple-type","clojure.test.check.generators/simple-type",892572284,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/simple-type + */ +cljs.spec.gen.alpha.simple_type = (function cljs$spec$gen$alpha$simple_type(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32579 = arguments.length; +var i__5770__auto___32580 = (0); +while(true){ +if((i__5770__auto___32580 < len__5769__auto___32579)){ +args__5775__auto__.push((arguments[i__5770__auto___32580])); + +var G__32583 = (i__5770__auto___32580 + (1)); +i__5770__auto___32580 = G__32583; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.simple_type.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.simple_type.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32577); +})); + +(cljs.spec.gen.alpha.simple_type.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.simple_type.cljs$lang$applyTo = (function (seq31989){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq31989)); +})); + + +var g__13273__auto___32586 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.simple_type_printable !== 'undefined')){ +return clojure.test.check.generators.simple_type_printable; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","simple-type-printable","clojure.test.check.generators/simple-type-printable",-58489962,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","simple-type-printable","clojure.test.check.generators/simple-type-printable",-58489962,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/simple-type-printable + */ +cljs.spec.gen.alpha.simple_type_printable = (function cljs$spec$gen$alpha$simple_type_printable(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32588 = arguments.length; +var i__5770__auto___32589 = (0); +while(true){ +if((i__5770__auto___32589 < len__5769__auto___32588)){ +args__5775__auto__.push((arguments[i__5770__auto___32589])); + +var G__32590 = (i__5770__auto___32589 + (1)); +i__5770__auto___32589 = G__32590; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.simple_type_printable.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.simple_type_printable.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32586); +})); + +(cljs.spec.gen.alpha.simple_type_printable.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.simple_type_printable.cljs$lang$applyTo = (function (seq32011){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32011)); +})); + + +var g__13273__auto___32592 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.string !== 'undefined')){ +return clojure.test.check.generators.string; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","string","clojure.test.check.generators/string",-1704750979,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","string","clojure.test.check.generators/string",-1704750979,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/string + */ +cljs.spec.gen.alpha.string = (function cljs$spec$gen$alpha$string(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32593 = arguments.length; +var i__5770__auto___32594 = (0); +while(true){ +if((i__5770__auto___32594 < len__5769__auto___32593)){ +args__5775__auto__.push((arguments[i__5770__auto___32594])); + +var G__32597 = (i__5770__auto___32594 + (1)); +i__5770__auto___32594 = G__32597; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.string.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.string.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32592); +})); + +(cljs.spec.gen.alpha.string.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.string.cljs$lang$applyTo = (function (seq32025){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32025)); +})); + + +var g__13273__auto___32600 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.string_ascii !== 'undefined')){ +return clojure.test.check.generators.string_ascii; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","string-ascii","clojure.test.check.generators/string-ascii",-2009877640,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","string-ascii","clojure.test.check.generators/string-ascii",-2009877640,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/string-ascii + */ +cljs.spec.gen.alpha.string_ascii = (function cljs$spec$gen$alpha$string_ascii(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32601 = arguments.length; +var i__5770__auto___32602 = (0); +while(true){ +if((i__5770__auto___32602 < len__5769__auto___32601)){ +args__5775__auto__.push((arguments[i__5770__auto___32602])); + +var G__32603 = (i__5770__auto___32602 + (1)); +i__5770__auto___32602 = G__32603; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.string_ascii.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.string_ascii.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32600); +})); + +(cljs.spec.gen.alpha.string_ascii.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.string_ascii.cljs$lang$applyTo = (function (seq32035){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32035)); +})); + + +var g__13273__auto___32606 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.string_alphanumeric !== 'undefined')){ +return clojure.test.check.generators.string_alphanumeric; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","string-alphanumeric","clojure.test.check.generators/string-alphanumeric",836374939,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","string-alphanumeric","clojure.test.check.generators/string-alphanumeric",836374939,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/string-alphanumeric + */ +cljs.spec.gen.alpha.string_alphanumeric = (function cljs$spec$gen$alpha$string_alphanumeric(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32607 = arguments.length; +var i__5770__auto___32608 = (0); +while(true){ +if((i__5770__auto___32608 < len__5769__auto___32607)){ +args__5775__auto__.push((arguments[i__5770__auto___32608])); + +var G__32609 = (i__5770__auto___32608 + (1)); +i__5770__auto___32608 = G__32609; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.string_alphanumeric.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.string_alphanumeric.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32606); +})); + +(cljs.spec.gen.alpha.string_alphanumeric.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.string_alphanumeric.cljs$lang$applyTo = (function (seq32067){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32067)); +})); + + +var g__13273__auto___32634 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.symbol !== 'undefined')){ +return clojure.test.check.generators.symbol; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","symbol","clojure.test.check.generators/symbol",-1305461065,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","symbol","clojure.test.check.generators/symbol",-1305461065,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/symbol + */ +cljs.spec.gen.alpha.symbol = (function cljs$spec$gen$alpha$symbol(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32635 = arguments.length; +var i__5770__auto___32636 = (0); +while(true){ +if((i__5770__auto___32636 < len__5769__auto___32635)){ +args__5775__auto__.push((arguments[i__5770__auto___32636])); + +var G__32637 = (i__5770__auto___32636 + (1)); +i__5770__auto___32636 = G__32637; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.symbol.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.symbol.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32634); +})); + +(cljs.spec.gen.alpha.symbol.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.symbol.cljs$lang$applyTo = (function (seq32073){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32073)); +})); + + +var g__13273__auto___32638 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.symbol_ns !== 'undefined')){ +return clojure.test.check.generators.symbol_ns; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","symbol-ns","clojure.test.check.generators/symbol-ns",-862629490,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","symbol-ns","clojure.test.check.generators/symbol-ns",-862629490,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/symbol-ns + */ +cljs.spec.gen.alpha.symbol_ns = (function cljs$spec$gen$alpha$symbol_ns(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32640 = arguments.length; +var i__5770__auto___32641 = (0); +while(true){ +if((i__5770__auto___32641 < len__5769__auto___32640)){ +args__5775__auto__.push((arguments[i__5770__auto___32641])); + +var G__32642 = (i__5770__auto___32641 + (1)); +i__5770__auto___32641 = G__32642; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.symbol_ns.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.symbol_ns.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32638); +})); + +(cljs.spec.gen.alpha.symbol_ns.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.symbol_ns.cljs$lang$applyTo = (function (seq32082){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32082)); +})); + + +var g__13273__auto___32643 = (new cljs.spec.gen.alpha.LazyVar((function (){ +if((typeof clojure !== 'undefined') && (typeof clojure.test !== 'undefined') && (typeof clojure.test.check !== 'undefined') && (typeof clojure.test.check.generators !== 'undefined') && (typeof clojure.test.check.generators.uuid !== 'undefined')){ +return clojure.test.check.generators.uuid; +} else { +throw (new Error(["Var ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Symbol("clojure.test.check.generators","uuid","clojure.test.check.generators/uuid",1589373144,null))," does not exist, ",cljs.core.namespace(new cljs.core.Symbol("clojure.test.check.generators","uuid","clojure.test.check.generators/uuid",1589373144,null))," never required"].join(''))); +} +}),null)); +/** + * Fn returning clojure.test.check.generators/uuid + */ +cljs.spec.gen.alpha.uuid = (function cljs$spec$gen$alpha$uuid(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32646 = arguments.length; +var i__5770__auto___32647 = (0); +while(true){ +if((i__5770__auto___32647 < len__5769__auto___32646)){ +args__5775__auto__.push((arguments[i__5770__auto___32647])); + +var G__32648 = (i__5770__auto___32647 + (1)); +i__5770__auto___32647 = G__32648; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.uuid.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.uuid.cljs$core$IFn$_invoke$arity$variadic = (function (args){ +return cljs.core.deref(g__13273__auto___32643); +})); + +(cljs.spec.gen.alpha.uuid.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.uuid.cljs$lang$applyTo = (function (seq32098){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32098)); +})); + +/** + * Returns a generator of a sequence catenated from results of + * gens, each of which should generate something sequential. + */ +cljs.spec.gen.alpha.cat = (function cljs$spec$gen$alpha$cat(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___32699 = arguments.length; +var i__5770__auto___32704 = (0); +while(true){ +if((i__5770__auto___32704 < len__5769__auto___32699)){ +args__5775__auto__.push((arguments[i__5770__auto___32704])); + +var G__32705 = (i__5770__auto___32704 + (1)); +i__5770__auto___32704 = G__32705; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs.spec.gen.alpha.cat.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs.spec.gen.alpha.cat.cljs$core$IFn$_invoke$arity$variadic = (function (gens){ +return cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__32139_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.concat,p1__32139_SHARP_); +}),cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.spec.gen.alpha.tuple,gens)], 0)); +})); + +(cljs.spec.gen.alpha.cat.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs.spec.gen.alpha.cat.cljs$lang$applyTo = (function (seq32140){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq32140)); +})); + +cljs.spec.gen.alpha.qualified_QMARK_ = (function cljs$spec$gen$alpha$qualified_QMARK_(ident){ +return (!((cljs.core.namespace(ident) == null))); +}); +cljs.spec.gen.alpha.gen_builtins = (new cljs.core.Delay((function (){ +var simple = cljs.spec.gen.alpha.simple_type_printable(); +return cljs.core.PersistentHashMap.fromArrays([cljs.core.qualified_keyword_QMARK_,cljs.core.seq_QMARK_,cljs.core.vector_QMARK_,cljs.core.any_QMARK_,cljs.core.boolean_QMARK_,cljs.core.char_QMARK_,cljs.core.some_QMARK_,cljs.core.inst_QMARK_,cljs.core.simple_symbol_QMARK_,cljs.core.sequential_QMARK_,cljs.core.float_QMARK_,cljs.core.set_QMARK_,cljs.core.map_QMARK_,cljs.core.empty_QMARK_,cljs.core.string_QMARK_,cljs.core.uri_QMARK_,cljs.core.double_QMARK_,cljs.core.int_QMARK_,cljs.core.associative_QMARK_,cljs.core.keyword_QMARK_,cljs.core.indexed_QMARK_,cljs.core.zero_QMARK_,cljs.core.simple_keyword_QMARK_,cljs.core.neg_int_QMARK_,cljs.core.nil_QMARK_,cljs.core.ident_QMARK_,cljs.core.qualified_ident_QMARK_,cljs.core.true_QMARK_,cljs.core.integer_QMARK_,cljs.core.nat_int_QMARK_,cljs.core.pos_int_QMARK_,cljs.core.uuid_QMARK_,cljs.core.false_QMARK_,cljs.core.list_QMARK_,cljs.core.simple_ident_QMARK_,cljs.core.number_QMARK_,cljs.core.qualified_symbol_QMARK_,cljs.core.seqable_QMARK_,cljs.core.symbol_QMARK_,cljs.core.coll_QMARK_],[cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.gen.alpha.qualified_QMARK_,cljs.spec.gen.alpha.keyword_ns()], 0)),cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([null], 0)),cljs.spec.gen.alpha.any_printable()], null)], 0)),cljs.spec.gen.alpha.boolean$(),cljs.spec.gen.alpha.char$(),cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.some_QMARK_,cljs.spec.gen.alpha.any_printable()], 0)),cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__32161_SHARP_){ +return (new Date(p1__32161_SHARP_)); +}),cljs.spec.gen.alpha.large_integer()], 0)),cljs.spec.gen.alpha.symbol(),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0))], null)], 0)),cljs.spec.gen.alpha.double$(),cljs.spec.gen.alpha.set.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple,simple], 0)),cljs.spec.gen.alpha.elements.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,cljs.core.List.EMPTY,cljs.core.PersistentVector.EMPTY,cljs.core.PersistentArrayMap.EMPTY,cljs.core.PersistentHashSet.EMPTY], null)], 0)),cljs.spec.gen.alpha.string_alphanumeric(),cljs.spec.gen.alpha.fmap.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (p1__32160_SHARP_){ +return (new goog.Uri(["http://",cljs.core.str.cljs$core$IFn$_invoke$arity$1(p1__32160_SHARP_),".com"].join(''))); +}),cljs.spec.gen.alpha.uuid()], 0)),cljs.spec.gen.alpha.double$(),cljs.spec.gen.alpha.large_integer(),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple,simple], 0)),cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0))], null)], 0)),cljs.spec.gen.alpha.keyword_ns(),cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(0)], 0)),cljs.spec.gen.alpha.keyword(),cljs.spec.gen.alpha.large_integer_STAR_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"max","max",61366548),(-1)], null)], 0)),cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([null], 0)),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.keyword_ns(),cljs.spec.gen.alpha.symbol_ns()], null)], 0)),cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.gen.alpha.qualified_QMARK_,cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.keyword_ns(),cljs.spec.gen.alpha.symbol_ns()], null)], 0))], 0)),cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([true], 0)),cljs.spec.gen.alpha.large_integer(),cljs.spec.gen.alpha.large_integer_STAR_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"min","min",444991522),(0)], null)], 0)),cljs.spec.gen.alpha.large_integer_STAR_.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"min","min",444991522),(1)], null)], 0)),cljs.spec.gen.alpha.uuid(),cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([false], 0)),cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.keyword(),cljs.spec.gen.alpha.symbol()], null)], 0)),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.large_integer(),cljs.spec.gen.alpha.double$()], null)], 0)),cljs.spec.gen.alpha.such_that.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.spec.gen.alpha.qualified_QMARK_,cljs.spec.gen.alpha.symbol_ns()], 0)),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.return$.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([null], 0)),cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple,simple], 0)),cljs.spec.gen.alpha.set.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.string_alphanumeric()], null)], 0)),cljs.spec.gen.alpha.symbol_ns(),cljs.spec.gen.alpha.one_of.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.spec.gen.alpha.map.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple,simple], 0)),cljs.spec.gen.alpha.list.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.vector.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0)),cljs.spec.gen.alpha.set.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([simple], 0))], null)], 0))]); +}),null)); +/** + * Given a predicate, returns a built-in generator if one exists. + */ +cljs.spec.gen.alpha.gen_for_pred = (function cljs$spec$gen$alpha$gen_for_pred(pred){ +if(cljs.core.set_QMARK_(pred)){ +return cljs.spec.gen.alpha.elements.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([pred], 0)); +} else { +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(cljs.spec.gen.alpha.gen_builtins),pred); +} +}); + +//# sourceMappingURL=cljs.spec.gen.alpha.js.map diff --git a/out/cljs-runtime/cljs.spec.gen.alpha.js.map b/out/cljs-runtime/cljs.spec.gen.alpha.js.map new file mode 100644 index 0000000..4aee1a9 --- /dev/null +++ b/out/cljs-runtime/cljs.spec.gen.alpha.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/spec/gen/alpha.cljs"],"mappings":";AAgBA,AAAA;;;;;;;;;;;AAAA,AAAA,CAAA,AAAA,wEAAA,xEAASI,mFAEEI;;AAFX,AAAA,gBAAA,ZAEWA;AAFX,AAGI,GAAA,GAAQ,kBAAA,jBAAMD;AACZA;;AACA,IAAME,IAAE,CAACH,yCAAAA,2CAAAA;AAAT,AACE,GAAU,MAAA,LAAMG;AAAhB;AAAA,AACE,CAAMF,gBAAOE;;;AACfA;;;;AARR,CAAA,uCAAA,vCAASL;AAAT,AAAA,AAAA;;;AAAA,CAAA,6CAAA,7CAASA;;AAAT,CAAA,gDAAA,hDAASA;;AAAT,CAAA,qDAAA,WAAAJ,mBAAAC,qBAAAC,xGAASE;AAAT,AAAA,OAAAD,iBAAAF,qBAAA;;;AAAA;;;mCAAA,nCAASI,8EAASC,EAAYC;AAA9B,AAAA,YAAAH,4BAAkBE,EAAYC;;;AAArBH,AAUT,AAAeM,sCACb,KAAAN,4BAAA;AAAA,AAAA,GAAA,QAAAO,oCAAAC,yCAAAC,+CAAAC;AAAWG;;AAAX,MAAA,KAAAF,MAAA,CAAA,mDAAA,AAAA,2GAAA,oBAAA,AAAAC,oBAAA,AAAA,2GAAA;;GAAA;AAEF,AAAA,kCAAA,0CAAAE,5EAAMM;AAAN,AAAA,IAAAL,qBAAA;AAAA,AAAA,IAAAC,0BAAA,AAAA;AAAA,AAAA,IAAAC,wBAAA;;AAAA,AAAA,GAAA,CAAAA,wBAAAD;AAAA,A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,CAAA,sDAAAD,kBAAA;6kGAnBV,kHAAA,lHAACzB,qMAAQ,AAAClD,oCAAe,AAAChB,9wCACzB,AAACgB,t+DACL,AAACA,wvEACG,+HAAA,2CAAA,kDAAA,5NAAC0D,p8CACD,+HAAA,2CAAA,iDAAA,3NAACA,stCACD,+HAAA,2CAAA,kDAAA,5NAACA,xiEAEF,AAAC1E,8rCAEF,kHAAA,lHAACkE,qMAAQ,AAACtD,iCAAY,AAACoC,u3CAChB,kHAAA,lHAACkB,qMAAQ,AAAC1D,8BAAS,AAACoC,5iDACjB,AAACyB,qHAAUT,qCAAW,kHAAA,lHAACM,qMAAQ,AAACtD,iCAAY,AAACoC,3zCACrD,AAACpC,6RACM,AAACJ,gkHAET,AAACwC,tjCAES,AAACqB,qHAAUT,qCAAW,AAACZ,p9BACnC,AAACI,riFACqC,AAACA,+hHAGpC,kHAAA,lHAACc,qMAAQ,mHAAA,nHAACC,8HACD,AAAC8B,gHAAKjC,aACN,AAACkC,kHAAOlC,aACR,AAACmC,+GAAInC,OAAOA,aACZ,AAACoC,+GAAIpC,aACL,AAACxB,pwHACV,AAAC0D,kHAAOlC,o/DAGX,AAACiC,gHAAKjC,9sDAIP,mHAAA,nHAACG,+9CACC,mHAAA,nHAACA,zpBACF,mHAAA,nHAACA,/sCAED,mHAAA,nHAACA,6tHAED,kHAAA,lHAACD,qMAAQ,AAACiC,+GAAInC,OAAOA,aACZ,AAACiC,gHAAKjC,aACN,AAACkC,kHAAOlC,aACR,AAACoC,+GAAIpC,rgKAEP,kHAAA,lHAACE,qMAAQ,AAACiC,+GAAInC,OAAOA,aAAQ,AAACkC,kHAAOlC;GAlDvD;AAuDF;;;mCAAA,nCAAMsD,8EAEHC;AAFH,AAGE,GAAI,AAACZ,qBAAKY;AACR,OAACJ,oHAASI;;AACV,mDAAA,AAAAtQ,5CAACuQ,4DAAK1D,kCAAayD;;;AAEvB","names":["this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cljs.core/-write","cljs.spec.gen.alpha/LazyVar","cljs.spec.gen.alpha/->LazyVar","f","cached","this","x","cljs.spec.gen.alpha/quick-check-ref","js/clojure","js/clojure.test","js/clojure.test.check","js/clojure.test.check.quick-check","js/Error","cljs.core/namespace","clojure.test.check/quick-check","var_args","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","cljs.spec.gen.alpha/quick-check","seq31371","self__5755__auto__","cljs.core/seq","args","cljs.core/deref","cljs.core.apply","cljs.spec.gen.alpha/for-all*-ref","js/clojure.test.check.properties","js/clojure.test.check.properties.for-all*","clojure.test.check.properties/for-all*","cljs.spec.gen.alpha/for-all*","seq31401","g?","js/clojure.test.check.generators","js/clojure.test.check.generators.generator?","clojure.test.check.generators/generator?","g","js/clojure.test.check.generators.generate","clojure.test.check.generators/generate","mkg","js/clojure.test.check.generators.->Generator","clojure.test.check.generators/->Generator","cljs.spec.gen.alpha/generator?","fexpr__31445","cljs.spec.gen.alpha/generator","gfn","fexpr__31447","cljs.spec.gen.alpha/generate","generator","fexpr__31448","cljs.spec.gen.alpha/delay-impl","gfnd","rnd","size","fexpr__31460","g__13260__auto__","js/clojure.test.check.generators.hash-map","clojure.test.check.generators/hash-map","cljs.spec.gen.alpha/hash-map","seq31464","js/clojure.test.check.generators.list","clojure.test.check.generators/list","cljs.spec.gen.alpha/list","seq31485","js/clojure.test.check.generators.map","clojure.test.check.generators/map","cljs.spec.gen.alpha/map","seq31507","js/clojure.test.check.generators.not-empty","clojure.test.check.generators/not-empty","cljs.spec.gen.alpha/not-empty","seq31556","js/clojure.test.check.generators.set","clojure.test.check.generators/set","cljs.spec.gen.alpha/set","seq31579","js/clojure.test.check.generators.vector","clojure.test.check.generators/vector","cljs.spec.gen.alpha/vector","seq31606","js/clojure.test.check.generators.vector-distinct","clojure.test.check.generators/vector-distinct","cljs.spec.gen.alpha/vector-distinct","seq31622","js/clojure.test.check.generators.fmap","clojure.test.check.generators/fmap","cljs.spec.gen.alpha/fmap","seq31632","js/clojure.test.check.generators.elements","clojure.test.check.generators/elements","cljs.spec.gen.alpha/elements","seq31641","js/clojure.test.check.generators.bind","clojure.test.check.generators/bind","cljs.spec.gen.alpha/bind","seq31647","js/clojure.test.check.generators.choose","clojure.test.check.generators/choose","cljs.spec.gen.alpha/choose","seq31666","js/clojure.test.check.generators.one-of","clojure.test.check.generators/one-of","cljs.spec.gen.alpha/one-of","seq31671","js/clojure.test.check.generators.such-that","clojure.test.check.generators/such-that","cljs.spec.gen.alpha/such-that","seq31681","js/clojure.test.check.generators.tuple","clojure.test.check.generators/tuple","cljs.spec.gen.alpha/tuple","seq31686","js/clojure.test.check.generators.sample","clojure.test.check.generators/sample","cljs.spec.gen.alpha/sample","seq31698","js/clojure.test.check.generators.return","clojure.test.check.generators/return","cljs.spec.gen.alpha/return","seq31714","js/clojure.test.check.generators.large-integer*","clojure.test.check.generators/large-integer*","cljs.spec.gen.alpha/large-integer*","seq31723","js/clojure.test.check.generators.double*","clojure.test.check.generators/double*","cljs.spec.gen.alpha/double*","seq31735","js/clojure.test.check.generators.frequency","clojure.test.check.generators/frequency","cljs.spec.gen.alpha/frequency","seq31750","js/clojure.test.check.generators.shuffle","clojure.test.check.generators/shuffle","cljs.spec.gen.alpha/shuffle","seq31788","g__13273__auto__","js/clojure.test.check.generators.any","clojure.test.check.generators/any","cljs.spec.gen.alpha/any","seq31804","js/clojure.test.check.generators.any-printable","clojure.test.check.generators/any-printable","cljs.spec.gen.alpha/any-printable","seq31813","js/clojure.test.check.generators.boolean","clojure.test.check.generators/boolean","cljs.spec.gen.alpha/boolean","seq31824","js/clojure.test.check.generators.char","clojure.test.check.generators/char","cljs.spec.gen.alpha/char","seq31851","js/clojure.test.check.generators.char-alpha","clojure.test.check.generators/char-alpha","cljs.spec.gen.alpha/char-alpha","seq31860","js/clojure.test.check.generators.char-alphanumeric","clojure.test.check.generators/char-alphanumeric","cljs.spec.gen.alpha/char-alphanumeric","seq31871","js/clojure.test.check.generators.char-ascii","clojure.test.check.generators/char-ascii","cljs.spec.gen.alpha/char-ascii","seq31883","js/clojure.test.check.generators.double","clojure.test.check.generators/double","cljs.spec.gen.alpha/double","seq31902","js/clojure.test.check.generators.int","clojure.test.check.generators/int","cljs.spec.gen.alpha/int","seq31912","js/clojure.test.check.generators.keyword","clojure.test.check.generators/keyword","cljs.spec.gen.alpha/keyword","seq31918","js/clojure.test.check.generators.keyword-ns","clojure.test.check.generators/keyword-ns","cljs.spec.gen.alpha/keyword-ns","seq31930","js/clojure.test.check.generators.large-integer","clojure.test.check.generators/large-integer","cljs.spec.gen.alpha/large-integer","seq31944","js/clojure.test.check.generators.ratio","clojure.test.check.generators/ratio","cljs.spec.gen.alpha/ratio","seq31970","js/clojure.test.check.generators.simple-type","clojure.test.check.generators/simple-type","cljs.spec.gen.alpha/simple-type","seq31989","js/clojure.test.check.generators.simple-type-printable","clojure.test.check.generators/simple-type-printable","cljs.spec.gen.alpha/simple-type-printable","seq32011","js/clojure.test.check.generators.string","clojure.test.check.generators/string","cljs.spec.gen.alpha/string","seq32025","js/clojure.test.check.generators.string-ascii","clojure.test.check.generators/string-ascii","cljs.spec.gen.alpha/string-ascii","seq32035","js/clojure.test.check.generators.string-alphanumeric","clojure.test.check.generators/string-alphanumeric","cljs.spec.gen.alpha/string-alphanumeric","seq32067","js/clojure.test.check.generators.symbol","clojure.test.check.generators/symbol","cljs.spec.gen.alpha/symbol","seq32073","js/clojure.test.check.generators.symbol-ns","clojure.test.check.generators/symbol-ns","cljs.spec.gen.alpha/symbol-ns","seq32082","js/clojure.test.check.generators.uuid","clojure.test.check.generators/uuid","cljs.spec.gen.alpha/uuid","seq32098","cljs.spec.gen.alpha/cat","seq32140","gens","p1__32139#","cljs.spec.gen.alpha.fmap","cljs.core/concat","cljs.spec.gen.alpha/qualified?","ident","cljs.spec.gen.alpha/gen-builtins","cljs.core/Delay","simple","cljs.core/any?","cljs.spec.gen.alpha.one_of","cljs.spec.gen.alpha.return$","cljs.core/some?","cljs.spec.gen.alpha.such_that","cljs.core/number?","cljs.core/integer?","cljs.core/int?","cljs.core/pos-int?","cljs.spec.gen.alpha.large_integer_STAR_","cljs.core/neg-int?","cljs.core/nat-int?","cljs.core/float?","cljs.core/double?","cljs.core/string?","cljs.core/ident?","cljs.core/simple-ident?","cljs.core/qualified-ident?","cljs.core/keyword?","cljs.core/simple-keyword?","cljs.core/qualified-keyword?","cljs.core/symbol?","cljs.core/simple-symbol?","cljs.core/qualified-symbol?","cljs.core/uuid?","cljs.core/uri?","p1__32160#","js/goog.Uri","cljs.core/inst?","p1__32161#","js/Date","cljs.core/seqable?","cljs.spec.gen.alpha.list","cljs.spec.gen.alpha.vector","cljs.spec.gen.alpha.map","cljs.spec.gen.alpha.set","cljs.core/indexed?","cljs.core/map?","cljs.core/vector?","cljs.core/list?","cljs.core/seq?","cljs.core/char?","cljs.core/set?","cljs.core/nil?","cljs.core/false?","cljs.core/true?","cljs.core/boolean?","cljs.core/zero?","cljs.core/coll?","cljs.core/empty?","cljs.spec.gen.alpha.elements","cljs.core/associative?","cljs.core/sequential?","cljs.spec.gen.alpha/gen-for-pred","pred","cljs.core.get"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns cljs.spec.gen.alpha\n (:refer-clojure :exclude [boolean cat hash-map list map not-empty set vector\n char double int keyword symbol string uuid delay shuffle])\n (:require-macros [cljs.core :as c]\n [cljs.spec.gen.alpha :as gen :refer [dynaload lazy-combinators lazy-prims]])\n (:require [cljs.core :as c])\n (:import (goog Uri)))\n\n(deftype LazyVar [f ^:mutable cached]\n IDeref\n (-deref [this]\n (if-not (nil? cached)\n cached\n (let [x (f)]\n (when-not (nil? x)\n (set! cached x))\n x))))\n\n(def ^:private quick-check-ref\n (dynaload 'clojure.test.check/quick-check))\n\n(defn quick-check\n [& args]\n (apply @quick-check-ref args))\n\n(def ^:private for-all*-ref\n (dynaload 'clojure.test.check.properties/for-all*))\n\n(defn for-all*\n \"Dynamically loaded clojure.test.check.properties/for-all*.\"\n [& args]\n (apply @for-all*-ref args))\n\n(let [g? (dynaload 'clojure.test.check.generators/generator?)\n g (dynaload 'clojure.test.check.generators/generate)\n mkg (dynaload 'clojure.test.check.generators/->Generator)]\n (defn- generator?\n [x]\n (@g? x))\n (defn- generator\n [gfn]\n (@mkg gfn))\n (defn generate\n \"Generate a single value using generator.\"\n [generator]\n (@g generator)))\n\n(defn ^:skip-wiki delay-impl\n [gfnd]\n ;;N.B. depends on test.check impl details\n (generator (fn [rnd size]\n ((:gen @gfnd) rnd size))))\n\n;(defn gen-for-name\n; \"Dynamically loads test.check generator named s.\"\n; [s]\n; (let [g (dynaload s)]\n; (if (generator? g)\n; g\n; (throw (js/Error. (str \"Var \" s \" is not a generator\"))))))\n\n(lazy-combinators hash-map list map not-empty set vector vector-distinct fmap elements\n bind choose one-of such-that tuple sample return\n large-integer* double* frequency shuffle)\n\n(lazy-prims any any-printable boolean char char-alpha char-alphanumeric char-ascii double\n int keyword keyword-ns large-integer ratio simple-type simple-type-printable\n string string-ascii string-alphanumeric symbol symbol-ns uuid)\n\n(defn cat\n \"Returns a generator of a sequence catenated from results of\ngens, each of which should generate something sequential.\"\n [& gens]\n (fmap #(apply concat %)\n (apply tuple gens)))\n\n(defn- ^boolean qualified? [ident] (not (nil? (namespace ident))))\n\n(def ^:private\ngen-builtins\n (c/delay\n (let [simple (simple-type-printable)]\n {any? (one-of [(return nil) (any-printable)])\n some? (such-that some? (any-printable))\n number? (one-of [(large-integer) (double)])\n integer? (large-integer)\n int? (large-integer)\n pos-int? (large-integer* {:min 1})\n neg-int? (large-integer* {:max -1})\n nat-int? (large-integer* {:min 0})\n float? (double)\n double? (double)\n string? (string-alphanumeric)\n ident? (one-of [(keyword-ns) (symbol-ns)])\n simple-ident? (one-of [(keyword) (symbol)])\n qualified-ident? (such-that qualified? (one-of [(keyword-ns) (symbol-ns)]))\n keyword? (keyword-ns)\n simple-keyword? (keyword)\n qualified-keyword? (such-that qualified? (keyword-ns))\n symbol? (symbol-ns)\n simple-symbol? (symbol)\n qualified-symbol? (such-that qualified? (symbol-ns))\n uuid? (uuid)\n uri? (fmap #(Uri. (str \"http://\" % \".com\")) (uuid))\n inst? (fmap #(js/Date. %)\n (large-integer))\n seqable? (one-of [(return nil)\n (list simple)\n (vector simple)\n (map simple simple)\n (set simple)\n (string-alphanumeric)])\n indexed? (vector simple)\n map? (map simple simple)\n vector? (vector simple)\n list? (list simple)\n seq? (list simple)\n char? (char)\n set? (set simple)\n nil? (return nil)\n false? (return false)\n true? (return true)\n boolean? (boolean)\n zero? (return 0)\n ;rational? (one-of [(large-integer) (ratio)])\n coll? (one-of [(map simple simple)\n (list simple)\n (vector simple)\n (set simple)])\n empty? (elements [nil '() [] {} #{}])\n associative? (one-of [(map simple simple) (vector simple)])\n sequential? (one-of [(list simple) (vector simple)])\n ;ratio? (such-that ratio? (ratio))\n })))\n\n(defn gen-for-pred\n \"Given a predicate, returns a built-in generator if one exists.\"\n [pred]\n (if (set? pred)\n (elements pred)\n (get @gen-builtins pred)))\n\n(comment\n (require 'clojure.test.check)\n (require 'clojure.test.check.properties)\n (require 'cljs.spec.gen)\n (in-ns 'cljs.spec.gen)\n\n ;; combinators, see call to lazy-combinators above for complete list\n (generate (one-of [(gen-for-pred integer?) (gen-for-pred string?)]))\n (generate (such-that #(< 10000 %) (gen-for-pred integer?)))\n (let [reqs {:a (gen-for-pred number?)\n :b (gen-for-pred keyword?)}\n opts {:c (gen-for-pred string?)}]\n (generate (bind (choose 0 (count opts))\n #(let [args (concat (seq reqs) (c/shuffle (seq opts)))]\n (->> args\n (take (+ % (count reqs)))\n (mapcat identity)\n (apply hash-map))))))\n (generate (cat (list (gen-for-pred string?))\n (list (gen-for-pred integer?))))\n\n ;; load your own generator\n ;(gen-for-name 'clojure.test.check.generators/int)\n\n ;; failure modes\n ;(gen-for-name 'unqualified)\n ;(gen-for-name 'clojure.core/+)\n ;(gen-for-name 'clojure.core/name-does-not-exist)\n ;(gen-for-name 'ns.does.not.exist/f)\n\n )\n\n\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs.user.js b/out/cljs-runtime/cljs.user.js new file mode 100644 index 0000000..b9f3f8f --- /dev/null +++ b/out/cljs-runtime/cljs.user.js @@ -0,0 +1,3 @@ +goog.provide('cljs.user'); + +//# sourceMappingURL=cljs.user.js.map diff --git a/out/cljs-runtime/cljs.user.js.map b/out/cljs-runtime/cljs.user.js.map new file mode 100644 index 0000000..12fd760 --- /dev/null +++ b/out/cljs-runtime/cljs.user.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs/user.cljs"],"mappings":"","names":[],"sourcesContent":["[(ns cljs.user (:require [cljs.repl :refer (doc find-doc source apropos pst dir)]))]"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs_bean.core.js b/out/cljs-runtime/cljs_bean.core.js new file mode 100644 index 0000000..ef9575c --- /dev/null +++ b/out/cljs-runtime/cljs_bean.core.js @@ -0,0 +1,2233 @@ +goog.provide('cljs_bean.core'); +goog.scope(function(){ + cljs_bean.core.goog$module$goog$object = goog.module.get('goog.object'); +}); +cljs_bean.core.lookup_sentinel = ({}); +cljs_bean.core.primitive_QMARK_ = (function cljs_bean$core$primitive_QMARK_(x){ +return ((typeof x === 'number') || (((typeof x === 'string') || (((cljs.core.boolean_QMARK_(x)) || ((x == null))))))); +}); +cljs_bean.core.__GT_val = (function cljs_bean$core$__GT_val(x,prop__GT_key,key__GT_prop,transform){ +var temp__5825__auto__ = (((!((transform == null))))?(transform.cljs$core$IFn$_invoke$arity$1 ? transform.cljs$core$IFn$_invoke$arity$1(x) : transform.call(null, x)):null); +if((temp__5825__auto__ == null)){ +if(cljs_bean.core.primitive_QMARK_(x)){ +return x; +} else { +if(cljs.core.object_QMARK_(x)){ +return (new cljs_bean.core.Bean(null,x,prop__GT_key,key__GT_prop,transform,true,null,null,null)); +} else { +if(cljs.core.array_QMARK_(x)){ +return (new cljs_bean.core.ArrayVector(null,prop__GT_key,key__GT_prop,transform,x,null)); +} else { +return x; + +} +} +} +} else { +var transformed = temp__5825__auto__; +return transformed; +} +}); +cljs_bean.core.unwrap = (function cljs_bean$core$unwrap(x){ +if(cljs_bean.core.primitive_QMARK_(x)){ +return x; +} else { +if((x instanceof cljs_bean.core.Bean)){ +return x.obj; +} else { +if((x instanceof cljs_bean.core.ArrayVector)){ +return x.arr; +} else { +return x; + +} +} +} +}); +cljs_bean.core.empty_map = cljs.core.PersistentArrayMap.EMPTY; +cljs_bean.core.snapshot = (function cljs_bean$core$snapshot(x,prop__GT_key,key__GT_prop,transform,recursive_QMARK_){ +var result = cljs.core.volatile_BANG_(cljs.core.transient$(cljs_bean.core.empty_map)); +cljs_bean.core.goog$module$goog$object.forEach(x,(function (v,k,_){ +return result.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(result.cljs$core$IDeref$_deref$arity$1(null, ),(prop__GT_key.cljs$core$IFn$_invoke$arity$1 ? prop__GT_key.cljs$core$IFn$_invoke$arity$1(k) : prop__GT_key.call(null, k)),(function (){var G__38707 = v; +if(cljs.core.truth_(recursive_QMARK_)){ +return cljs_bean.core.__GT_val(G__38707,prop__GT_key,key__GT_prop,transform); +} else { +return G__38707; +} +})())); +})); + +return cljs.core.persistent_BANG_(cljs.core.deref(result)); +}); +cljs_bean.core.snapshot_arr = (function cljs_bean$core$snapshot_arr(arr){ +return cljs.core.vec((function (){var a__5630__auto__ = arr; +var l__5631__auto__ = a__5630__auto__.length; +var ret = cljs.core.aclone(a__5630__auto__); +var idx = (0); +while(true){ +if((idx < l__5631__auto__)){ +(ret[idx] = (function (){var G__38708 = (arr[idx]); +return (cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1 ? cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1(G__38708) : cljs_bean.core.__GT_clj.call(null, G__38708)); +})()); + +var G__38876 = (idx + (1)); +idx = G__38876; +continue; +} else { +return ret; +} +break; +} +})()); +}); +cljs_bean.core.indexed_entry = (function cljs_bean$core$indexed_entry(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i){ +var prop = (arr[i]); +return (new cljs.core.MapEntry((prop__GT_key.cljs$core$IFn$_invoke$arity$1 ? prop__GT_key.cljs$core$IFn$_invoke$arity$1(prop) : prop__GT_key.call(null, prop)),(function (){var G__38709 = (obj[prop]); +if(recursive_QMARK_){ +return cljs_bean.core.__GT_val(G__38709,prop__GT_key,key__GT_prop,transform); +} else { +return G__38709; +} +})(),null)); +}); +cljs_bean.core.compatible_key_QMARK_ = (function cljs_bean$core$compatible_key_QMARK_(k,prop__GT_key){ +return (((((k instanceof cljs.core.Keyword)) && ((prop__GT_key === cljs.core.keyword)))) || (((typeof k === 'string') && ((prop__GT_key === cljs.core.identity))))); +}); +cljs_bean.core.compatible_value_QMARK_ = (function cljs_bean$core$compatible_value_QMARK_(v,recursive_QMARK_){ +return ((cljs_bean.core.primitive_QMARK_(v)) || ((((!(((((cljs.core.map_QMARK_(v)) && ((!((v instanceof cljs_bean.core.Bean)))))) || (((cljs.core.vector_QMARK_(v)) && ((!((v instanceof cljs_bean.core.ArrayVector)))))))))) && (cljs.core.not((function (){var and__5043__auto____$1 = recursive_QMARK_; +if(cljs.core.truth_(and__5043__auto____$1)){ +return ((cljs.core.object_QMARK_(v)) || (cljs.core.array_QMARK_(v))); +} else { +return and__5043__auto____$1; +} +})()))))); +}); +cljs_bean.core.snapshot_QMARK_ = (function cljs_bean$core$snapshot_QMARK_(k,v,prop__GT_key,recursive_QMARK_){ +return (!(((cljs_bean.core.compatible_key_QMARK_(k,prop__GT_key)) && (cljs_bean.core.compatible_value_QMARK_(v,recursive_QMARK_))))); +}); + +/** +* @constructor + * @implements {cljs.core.IFn} + * @implements {cljs.core.ITransientMap} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ITransientCollection} + * @implements {cljs.core.ITransientAssociative} + * @implements {cljs.core.ILookup} +*/ +cljs_bean.core.TransientBean = (function (editable_QMARK_,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__cnt){ +this.editable_QMARK_ = editable_QMARK_; +this.obj = obj; +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.recursive_QMARK_ = recursive_QMARK_; +this.__cnt = __cnt; +this.cljs$lang$protocol_mask$partition0$ = 259; +this.cljs$lang$protocol_mask$partition1$ = 56; +}); +(cljs_bean.core.TransientBean.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (_,k){ +var self__ = this; +var ___$1 = this; +if(self__.editable_QMARK_){ +var G__38714 = (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]); +if(self__.recursive_QMARK_){ +return cljs_bean.core.__GT_val(G__38714,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38714; +} +} else { +throw (new Error("lookup after persistent!")); +} +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (_,k,not_found){ +var self__ = this; +var ___$1 = this; +if(self__.editable_QMARK_){ +var ret = cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found); +var G__38715 = ret; +if(((self__.recursive_QMARK_) && ((!((ret === not_found)))))){ +return cljs_bean.core.__GT_val(G__38715,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38715; +} +} else { +throw (new Error("lookup after persistent!")); +} +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if((self__.__cnt == null)){ +return (self__.__cnt = cljs.core.count(cljs.core.js_keys(self__.obj))); +} else { +return self__.__cnt; +} +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ +var self__ = this; +var tcoll__$1 = this; +return cljs_bean.from.cljs.core.TransientArrayMap_conj_BANG_(tcoll__$1,o,self__.editable_QMARK_); +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +(self__.editable_QMARK_ = false); + +return (new cljs_bean.core.Bean(null,self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,null,self__.__cnt,null)); +} else { +throw (new Error("persistent! called twice")); +} +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,k,v){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +if(cljs_bean.core.snapshot_QMARK_(k,v,self__.prop__GT_key,self__.recursive_QMARK_)){ +return cljs.core._assoc_BANG_(cljs.core.transient$(cljs_bean.core.snapshot(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_)),k,v); +} else { +(self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))] = (function (){var G__38719 = v; +if(self__.recursive_QMARK_){ +return cljs_bean.core.unwrap(G__38719); +} else { +return G__38719; +} +})()); + +(self__.__cnt = null); + +return tcoll__$1; +} +} else { +throw (new Error("assoc! after persistent!")); +} +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 = (function (tcoll,k){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +delete self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]; + +(self__.__cnt = null); + +return tcoll__$1; +} else { +throw (new Error("dissoc! after persistent!")); +} +})); + +(cljs_bean.core.TransientBean.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__38721 = (arguments.length - (1)); +switch (G__38721) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs_bean.core.TransientBean.prototype.apply = (function (self__,args38710){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38710))); +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var _ = this; +if(self__.editable_QMARK_){ +var G__38722 = (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]); +if(self__.recursive_QMARK_){ +return cljs_bean.core.__GT_val(G__38722,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38722; +} +} else { +throw (new Error("lookup after persistent!")); +} +})); + +(cljs_bean.core.TransientBean.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var _ = this; +if(self__.editable_QMARK_){ +var ret = cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found); +var G__38723 = ret; +if(((self__.recursive_QMARK_) && ((!((ret === not_found)))))){ +return cljs_bean.core.__GT_val(G__38723,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38723; +} +} else { +throw (new Error("lookup after persistent!")); +} +})); + +(cljs_bean.core.TransientBean.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"editable?","editable?",-164945806,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"obj","obj",-1672671807,null),new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,"recursive?","recursive?",-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__cnt","__cnt",1833584904,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs_bean.core.TransientBean.cljs$lang$type = true); + +(cljs_bean.core.TransientBean.cljs$lang$ctorStr = "cljs-bean.core/TransientBean"); + +(cljs_bean.core.TransientBean.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/TransientBean"); +})); + +/** + * Positional factory function for cljs-bean.core/TransientBean. + */ +cljs_bean.core.__GT_TransientBean = (function cljs_bean$core$__GT_TransientBean(editable_QMARK_,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__cnt){ +return (new cljs_bean.core.TransientBean(editable_QMARK_,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__cnt)); +}); + + +/** +* @constructor +*/ +cljs_bean.core.BeanIterator = (function (obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,cnt){ +this.obj = obj; +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.recursive_QMARK_ = recursive_QMARK_; +this.arr = arr; +this.i = i; +this.cnt = cnt; +}); +(cljs_bean.core.BeanIterator.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (self__.i < self__.cnt); +})); + +(cljs_bean.core.BeanIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i); +(self__.i = (self__.i + (1))); + +return ret; +})); + +(cljs_bean.core.BeanIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"obj","obj",-1672671807,null),new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,"recursive?","recursive?",-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null)], null); +})); + +(cljs_bean.core.BeanIterator.cljs$lang$type = true); + +(cljs_bean.core.BeanIterator.cljs$lang$ctorStr = "cljs-bean.core/BeanIterator"); + +(cljs_bean.core.BeanIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/BeanIterator"); +})); + +/** + * Positional factory function for cljs-bean.core/BeanIterator. + */ +cljs_bean.core.__GT_BeanIterator = (function cljs_bean$core$__GT_BeanIterator(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,cnt){ +return (new cljs_bean.core.BeanIterator(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,cnt)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ASeq} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs_bean.core.BeanSeq = (function (obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,meta){ +this.obj = obj; +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.recursive_QMARK_ = recursive_QMARK_; +this.arr = arr; +this.i = i; +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 2179858686; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs_bean.core.BeanSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs_bean.core.BeanSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs_bean.core.BeanSeq.prototype.indexOf = (function() { +var G__38894 = null; +var G__38894__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__38894__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__38894 = function(x,start){ +switch(arguments.length){ +case 1: +return G__38894__1.call(this,x); +case 2: +return G__38894__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__38894.cljs$core$IFn$_invoke$arity$1 = G__38894__1; +G__38894.cljs$core$IFn$_invoke$arity$2 = G__38894__2; +return G__38894; +})() +); + +(cljs_bean.core.BeanSeq.prototype.lastIndexOf = (function() { +var G__38897 = null; +var G__38897__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__38897__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__38897 = function(x,start){ +switch(arguments.length){ +case 1: +return G__38897__1.call(this,x); +case 2: +return G__38897__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__38897.cljs$core$IFn$_invoke$arity$1 = G__38897__1; +G__38897.cljs$core$IFn$_invoke$arity$2 = G__38897__2; +return G__38897; +})() +); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (_,n){ +var self__ = this; +var ___$1 = this; +var i__$1 = (n + self__.i); +if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ +return cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,i__$1); +} else { +throw (new Error("Index out of bounds")); +} +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (_,n,not_found){ +var self__ = this; +var ___$1 = this; +var i__$1 = (n + self__.i); +if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ +return cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,i__$1); +} else { +return not_found; +} +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var self__ = this; +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.meta; +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i,self__.meta)); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$INext$_next$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(((self__.i + (1)) < self__.arr.length)){ +return (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,(self__.i + (1)),null)); +} else { +return null; +} +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +var x__5130__auto__ = (0); +var y__5131__auto__ = (self__.arr.length - self__.i); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,start); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i); +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(((self__.i + (1)) < self__.arr.length)){ +return (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,(self__.i + (1)),null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return this$__$1; +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i,new_meta)); +} +})); + +(cljs_bean.core.BeanSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs_bean.core.BeanSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"obj","obj",-1672671807,null),new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,"recursive?","recursive?",-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +})); + +(cljs_bean.core.BeanSeq.cljs$lang$type = true); + +(cljs_bean.core.BeanSeq.cljs$lang$ctorStr = "cljs-bean.core/BeanSeq"); + +(cljs_bean.core.BeanSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/BeanSeq"); +})); + +/** + * Positional factory function for cljs-bean.core/BeanSeq. + */ +cljs_bean.core.__GT_BeanSeq = (function cljs_bean$core$__GT_BeanSeq(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,meta){ +return (new cljs_bean.core.BeanSeq(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,meta)); +}); + + +/** +* @constructor + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs_bean.core.Bean = (function (meta,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__arr,__cnt,__hash){ +this.meta = meta; +this.obj = obj; +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.recursive_QMARK_ = recursive_QMARK_; +this.__arr = __arr; +this.__cnt = __cnt; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2164131599; +this.cljs$lang$protocol_mask$partition1$ = 139268; +}); +(cljs_bean.core.Bean.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs_bean.core.Bean.prototype.cljs$core$IFind$_find$arity$2 = (function (_,k){ +var self__ = this; +var ___$1 = this; +var v = cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),cljs_bean.core.lookup_sentinel); +if((v === cljs_bean.core.lookup_sentinel)){ +return null; +} else { +return (new cljs.core.MapEntry(k,(function (){var G__38727 = v; +if(self__.recursive_QMARK_){ +return cljs_bean.core.__GT_val(G__38727,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38727; +} +})(),null)); +} +})); + +(cljs_bean.core.Bean.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs_bean.core.Bean.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs_bean.core.Bean.prototype.keys = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator(cljs.core.keys(coll)); +})); + +(cljs_bean.core.Bean.prototype.entries = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_entries_iterator(cljs.core.seq(coll)); +})); + +(cljs_bean.core.Bean.prototype.values = (function (){ +var self__ = this; +var coll = this; +return cljs.core.es6_iterator(cljs.core.vals(coll)); +})); + +(cljs_bean.core.Bean.prototype.has = (function (k){ +var self__ = this; +var coll = this; +return cljs.core.contains_QMARK_(coll,k); +})); + +(cljs_bean.core.Bean.prototype.get = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs_bean.core.Bean.prototype.forEach = (function (f){ +var self__ = this; +var coll = this; +var seq__38733 = cljs.core.seq(coll); +var chunk__38734 = null; +var count__38735 = (0); +var i__38736 = (0); +while(true){ +if((i__38736 < count__38735)){ +var vec__38743 = chunk__38734.cljs$core$IIndexed$_nth$arity$2(null, i__38736); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38743,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38743,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__38914 = seq__38733; +var G__38915 = chunk__38734; +var G__38916 = count__38735; +var G__38917 = (i__38736 + (1)); +seq__38733 = G__38914; +chunk__38734 = G__38915; +count__38735 = G__38916; +i__38736 = G__38917; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__38733); +if(temp__5823__auto__){ +var seq__38733__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__38733__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__38733__$1); +var G__38918 = cljs.core.chunk_rest(seq__38733__$1); +var G__38919 = c__5568__auto__; +var G__38920 = cljs.core.count(c__5568__auto__); +var G__38921 = (0); +seq__38733 = G__38918; +chunk__38734 = G__38919; +count__38735 = G__38920; +i__38736 = G__38921; +continue; +} else { +var vec__38746 = cljs.core.first(seq__38733__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38746,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38746,(1),null); +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); + + +var G__38924 = cljs.core.next(seq__38733__$1); +var G__38925 = null; +var G__38926 = (0); +var G__38927 = (0); +seq__38733 = G__38924; +chunk__38734 = G__38925; +count__38735 = G__38926; +i__38736 = G__38927; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (_,k){ +var self__ = this; +var ___$1 = this; +var G__38749 = (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]); +if(self__.recursive_QMARK_){ +return cljs_bean.core.__GT_val(G__38749,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38749; +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (_,k,not_found){ +var self__ = this; +var ___$1 = this; +var ret = cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found); +var G__38750 = ret; +if(((self__.recursive_QMARK_) && ((!((ret === not_found)))))){ +return cljs_bean.core.__GT_val(G__38750,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38750; +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (_,f,init){ +var self__ = this; +var ___$1 = this; +try{var result = cljs.core.volatile_BANG_(init); +cljs_bean.core.goog$module$goog$object.forEach(self__.obj,(function (v,k,___$2){ +var r = result.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, (function (){var G__38752 = result.cljs$core$IDeref$_deref$arity$1(null, ); +var G__38753 = (self__.prop__GT_key.cljs$core$IFn$_invoke$arity$1 ? self__.prop__GT_key.cljs$core$IFn$_invoke$arity$1(k) : self__.prop__GT_key.call(null, k)); +var G__38754 = (function (){var G__38755 = v; +if(self__.recursive_QMARK_){ +return cljs_bean.core.__GT_val(G__38755,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38755; +} +})(); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__38752,G__38753,G__38754) : f.call(null, G__38752,G__38753,G__38754)); +})()); +if(cljs.core.reduced_QMARK_(r)){ +throw r; +} else { +return null; +} +})); + +return cljs.core.deref(result); +}catch (e38751){var x = e38751; +if(cljs.core.reduced_QMARK_(x)){ +return cljs.core.deref(x); +} else { +throw x; +} +}})); + +(cljs_bean.core.Bean.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var self__ = this; +var coll__$1 = this; +return cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.__arr == null)){ +(self__.__arr = cljs.core.js_keys(self__.obj)); +} else { +} + +return (new cljs_bean.core.BeanIterator(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,(0),coll__$1.cljs$core$ICounted$_count$arity$1(null, ))); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.meta; +})); + +(cljs_bean.core.Bean.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.Bean(self__.meta,self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,self__.__cnt,self__.__hash)); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if((self__.__cnt == null)){ +if((self__.__arr == null)){ +(self__.__arr = cljs.core.js_keys(self__.obj)); +} else { +} + +return (self__.__cnt = self__.__arr.length); +} else { +return self__.__cnt; +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_unordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs.core.equiv_map(coll__$1,other); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.TransientBean(true,cljs_bean.core.goog$module$goog$object.clone(self__.obj),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__cnt)); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.Bean(self__.meta,({}),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,[],(0),null)); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs.core._reduce(coll__$1.cljs$core$ISeqable$_seq$arity$1(null, ),f); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$IKVReduce$_kv_reduce$arity$3(null, (function (r,k,v){ +var G__38761 = r; +var G__38762 = (new cljs.core.MapEntry(k,v,null)); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__38761,G__38762) : f.call(null, G__38761,G__38762)); +}),start); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (_,k){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.Bean(self__.meta,(function (){var G__38763 = cljs_bean.core.goog$module$goog$object.clone(self__.obj); +delete G__38763[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]; + +return G__38763; +})(),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,null,null,null)); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (_,k,v){ +var self__ = this; +var ___$1 = this; +if(cljs_bean.core.snapshot_QMARK_(k,v,self__.prop__GT_key,self__.recursive_QMARK_)){ +return cljs.core._assoc(cljs.core.with_meta(cljs_bean.core.snapshot(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_),self__.meta),k,v); +} else { +return (new cljs_bean.core.Bean(self__.meta,(function (){var G__38766 = cljs_bean.core.goog$module$goog$object.clone(self__.obj); +(G__38766[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))] = (function (){var G__38767 = v; +if(self__.recursive_QMARK_){ +return cljs_bean.core.unwrap(G__38767); +} else { +return G__38767; +} +})()); + +return G__38766; +})(),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,null,null,null)); +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return (!((coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,cljs_bean.core.lookup_sentinel) === cljs_bean.core.lookup_sentinel))); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if((self__.__arr == null)){ +(self__.__arr = cljs.core.js_keys(self__.obj)); +} else { +} + +if((self__.__arr.length > (0))){ +return (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,(0),null)); +} else { +return null; +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs_bean.core.Bean(new_meta,self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,self__.__cnt,self__.__hash)); +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,entry){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.PersistentArrayMap_conj(coll__$1,entry); +})); + +(cljs_bean.core.Bean.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__38769 = (arguments.length - (1)); +switch (G__38769) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs_bean.core.Bean.prototype.apply = (function (self__,args38726){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38726))); +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var _ = this; +var G__38770 = (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]); +if(self__.recursive_QMARK_){ +return cljs_bean.core.__GT_val(G__38770,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38770; +} +})); + +(cljs_bean.core.Bean.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var _ = this; +var ret = cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found); +var G__38773 = ret; +if(((self__.recursive_QMARK_) && ((!((ret === not_found)))))){ +return cljs_bean.core.__GT_val(G__38773,self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return G__38773; +} +})); + +(cljs_bean.core.Bean.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"obj","obj",-1672671807,null),new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,"recursive?","recursive?",-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null)], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__arr","__arr",2056204649,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__cnt","__cnt",1833584904,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs_bean.core.Bean.cljs$lang$type = true); + +(cljs_bean.core.Bean.cljs$lang$ctorStr = "cljs-bean.core/Bean"); + +(cljs_bean.core.Bean.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/Bean"); +})); + +/** + * Positional factory function for cljs-bean.core/Bean. + */ +cljs_bean.core.__GT_Bean = (function cljs_bean$core$__GT_Bean(meta,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__arr,__cnt,__hash){ +return (new cljs_bean.core.Bean(meta,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__arr,__cnt,__hash)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ITransientCollection} + * @implements {cljs.core.ITransientVector} + * @implements {cljs.core.ITransientAssociative} + * @implements {cljs.core.ILookup} +*/ +cljs_bean.core.TransientArrayVector = (function (editable_QMARK_,arr,prop__GT_key,key__GT_prop,transform){ +this.editable_QMARK_ = editable_QMARK_; +this.arr = arr; +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.cljs$lang$protocol_mask$partition1$ = 88; +this.cljs$lang$protocol_mask$partition0$ = 275; +}); +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 = (function (tcoll,o){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +if((!(cljs_bean.core.compatible_value_QMARK_(o,true)))){ +return cljs.core._conj_BANG_(cljs.core.transient$(cljs_bean.core.snapshot_arr(self__.arr)),o); +} else { +self__.arr.push(cljs_bean.core.unwrap(o)); + +return tcoll__$1; +} +} else { +throw (new Error("conj! after persistent!")); +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(self__.editable_QMARK_){ +(self__.editable_QMARK_ = false); + +return (new cljs_bean.core.ArrayVector(null,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,null)); +} else { +throw (new Error("persistent! called twice")); +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 = (function (tcoll,key,val){ +var self__ = this; +var tcoll__$1 = this; +return cljs_bean.from.cljs.core.TransientVector_assoc_BANG_(tcoll__$1,key,val,"TransientArrayVector"); +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3 = (function (tcoll,n,val){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +if((!(cljs_bean.core.compatible_value_QMARK_(val,true)))){ +return cljs.core._assoc_n_BANG_(cljs.core.transient$(cljs_bean.core.snapshot_arr(self__.arr)),n,val); +} else { +if(((((0) <= n)) && ((n < self__.arr.length)))){ +(self__.arr[n] = cljs_bean.core.unwrap(val)); + +return tcoll__$1; +} else { +if((n === self__.arr.length)){ +return tcoll__$1.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null, val); +} else { +throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds for TransientArrayVector of length",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.arr.length)].join(''))); + +} +} +} +} else { +throw (new Error("assoc! after persistent!")); +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientVector$_pop_BANG_$arity$1 = (function (tcoll){ +var self__ = this; +var tcoll__$1 = this; +if(self__.editable_QMARK_){ +if((self__.arr.length === (0))){ +throw (new Error("Can't pop empty vector")); +} else { +(self__.arr = self__.arr.slice((0),(self__.arr.length - (1)))); + +return tcoll__$1; +} +} else { +throw (new Error("pop! after persistent!")); +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(self__.editable_QMARK_){ +return self__.arr.length; +} else { +throw (new Error("count after persistent!")); +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (_,n){ +var self__ = this; +var ___$1 = this; +if(self__.editable_QMARK_){ +return cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +throw (new Error("nth after persistent!")); +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.arr.length)))){ +return coll__$1.cljs$core$IIndexed$_nth$arity$2(null, n); +} else { +return not_found; +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +if(typeof k === 'number'){ +return coll__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +} else { +return not_found; +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__38780 = (arguments.length - (1)); +switch (G__38780) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs_bean.core.TransientArrayVector.prototype.apply = (function (self__,args38779){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38779))); +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$2(null, k); +})); + +(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found); +})); + +(cljs_bean.core.TransientArrayVector.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"editable?","editable?",-164945806,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null)], null); +})); + +(cljs_bean.core.TransientArrayVector.cljs$lang$type = true); + +(cljs_bean.core.TransientArrayVector.cljs$lang$ctorStr = "cljs-bean.core/TransientArrayVector"); + +(cljs_bean.core.TransientArrayVector.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/TransientArrayVector"); +})); + +/** + * Positional factory function for cljs-bean.core/TransientArrayVector. + */ +cljs_bean.core.__GT_TransientArrayVector = (function cljs_bean$core$__GT_TransientArrayVector(editable_QMARK_,arr,prop__GT_key,key__GT_prop,transform){ +return (new cljs_bean.core.TransientArrayVector(editable_QMARK_,arr,prop__GT_key,key__GT_prop,transform)); +}); + + +/** +* @constructor +*/ +cljs_bean.core.ArrayVectorIterator = (function (prop__GT_key,key__GT_prop,transform,arr,i,cnt){ +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.arr = arr; +this.i = i; +this.cnt = cnt; +}); +(cljs_bean.core.ArrayVectorIterator.prototype.hasNext = (function (){ +var self__ = this; +var _ = this; +return (self__.i < self__.cnt); +})); + +(cljs_bean.core.ArrayVectorIterator.prototype.next = (function (){ +var self__ = this; +var _ = this; +var ret = cljs_bean.core.__GT_val((self__.arr[self__.i]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +(self__.i = (self__.i + (1))); + +return ret; +})); + +(cljs_bean.core.ArrayVectorIterator.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null),new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"cnt","cnt",1924510325,null)], null); +})); + +(cljs_bean.core.ArrayVectorIterator.cljs$lang$type = true); + +(cljs_bean.core.ArrayVectorIterator.cljs$lang$ctorStr = "cljs-bean.core/ArrayVectorIterator"); + +(cljs_bean.core.ArrayVectorIterator.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/ArrayVectorIterator"); +})); + +/** + * Positional factory function for cljs-bean.core/ArrayVectorIterator. + */ +cljs_bean.core.__GT_ArrayVectorIterator = (function cljs_bean$core$__GT_ArrayVectorIterator(prop__GT_key,key__GT_prop,transform,arr,i,cnt){ +return (new cljs_bean.core.ArrayVectorIterator(prop__GT_key,key__GT_prop,transform,arr,i,cnt)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ASeq} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeq} + * @implements {cljs.core.INext} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IReduce} +*/ +cljs_bean.core.ArrayVectorSeq = (function (prop__GT_key,key__GT_prop,transform,arr,i,meta){ +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.arr = arr; +this.i = i; +this.meta = meta; +this.cljs$lang$protocol_mask$partition0$ = 2179858686; +this.cljs$lang$protocol_mask$partition1$ = 8192; +}); +(cljs_bean.core.ArrayVectorSeq.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.indexOf = (function() { +var G__38967 = null; +var G__38967__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__38967__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__38967 = function(x,start){ +switch(arguments.length){ +case 1: +return G__38967__1.call(this,x); +case 2: +return G__38967__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__38967.cljs$core$IFn$_invoke$arity$1 = G__38967__1; +G__38967.cljs$core$IFn$_invoke$arity$2 = G__38967__2; +return G__38967; +})() +); + +(cljs_bean.core.ArrayVectorSeq.prototype.lastIndexOf = (function() { +var G__38970 = null; +var G__38970__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +}); +var G__38970__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__38970 = function(x,start){ +switch(arguments.length){ +case 1: +return G__38970__1.call(this,x); +case 2: +return G__38970__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__38970.cljs$core$IFn$_invoke$arity$1 = G__38970__1; +G__38970.cljs$core$IFn$_invoke$arity$2 = G__38970__2; +return G__38970; +})() +); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (_,n){ +var self__ = this; +var ___$1 = this; +var i__$1 = (n + self__.i); +if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ +return cljs_bean.core.__GT_val((self__.arr[i__$1]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +throw (new Error("Index out of bounds")); +} +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (_,n,not_found){ +var self__ = this; +var ___$1 = this; +var i__$1 = (n + self__.i); +if(((((0) <= i__$1)) && ((i__$1 < self__.arr.length)))){ +return cljs_bean.core.__GT_val((self__.arr[i__$1]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return not_found; +} +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var self__ = this; +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"("," ",")",opts,coll__$1); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return self__.meta; +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.i,self__.meta)); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$INext$_next$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(((self__.i + (1)) < self__.arr.length)){ +return (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(self__.i + (1)),null)); +} else { +return null; +} +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ICounted$_count$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +var x__5130__auto__ = (0); +var y__5131__auto__ = (self__.arr.length - self__.i); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return cljs.core.hash_ordered_coll(coll__$1); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.equiv_sequential(coll__$1,other); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs.core.List.EMPTY; +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (coll,f){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (coll,f,start){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,start); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ISeq$_first$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return cljs_bean.core.__GT_val((self__.arr[self__.i]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ISeq$_rest$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +if(((self__.i + (1)) < self__.arr.length)){ +return (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(self__.i + (1)),null)); +} else { +return cljs.core.List.EMPTY; +} +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return this$__$1; +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.i,new_meta)); +} +})); + +(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ICollection$_conj$arity$2 = (function (coll,o){ +var self__ = this; +var coll__$1 = this; +return cljs.core.cons(o,coll__$1); +})); + +(cljs_bean.core.ArrayVectorSeq.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null),new cljs.core.Symbol(null,"arr","arr",2115492975,null),new cljs.core.Symbol(null,"i","i",253690212,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +})); + +(cljs_bean.core.ArrayVectorSeq.cljs$lang$type = true); + +(cljs_bean.core.ArrayVectorSeq.cljs$lang$ctorStr = "cljs-bean.core/ArrayVectorSeq"); + +(cljs_bean.core.ArrayVectorSeq.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/ArrayVectorSeq"); +})); + +/** + * Positional factory function for cljs-bean.core/ArrayVectorSeq. + */ +cljs_bean.core.__GT_ArrayVectorSeq = (function cljs_bean$core$__GT_ArrayVectorSeq(prop__GT_key,key__GT_prop,transform,arr,i,meta){ +return (new cljs_bean.core.ArrayVectorSeq(prop__GT_key,key__GT_prop,transform,arr,i,meta)); +}); + + +/** +* @constructor + * @implements {cljs.core.IIndexed} + * @implements {cljs.core.IVector} + * @implements {cljs.core.IReversible} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.IFn} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.IEditableCollection} + * @implements {cljs.core.IFind} + * @implements {cljs.core.IEmptyableCollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IStack} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IComparable} + * @implements {cljs.core.ISequential} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.ILookup} + * @implements {cljs.core.IReduce} +*/ +cljs_bean.core.ArrayVector = (function (meta,prop__GT_key,key__GT_prop,transform,arr,__hash){ +this.meta = meta; +this.prop__GT_key = prop__GT_key; +this.key__GT_prop = key__GT_prop; +this.transform = transform; +this.arr = arr; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2315150111; +this.cljs$lang$protocol_mask$partition1$ = 141316; +}); +(cljs_bean.core.ArrayVector.prototype.cljs$core$IFind$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IFind$_find$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.arr.length)))){ +return (new cljs.core.MapEntry(n,cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform),null)); +} else { +return null; +} +})); + +(cljs_bean.core.ArrayVector.prototype.toString = (function (){ +var self__ = this; +var coll = this; +return cljs.core.pr_str_STAR_(coll); +})); + +(cljs_bean.core.ArrayVector.prototype.equiv = (function (other){ +var self__ = this; +var this$ = this; +return this$.cljs$core$IEquiv$_equiv$arity$2(null, other); +})); + +(cljs_bean.core.ArrayVector.prototype.indexOf = (function() { +var G__38986 = null; +var G__38986__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +}); +var G__38986__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__38986 = function(x,start){ +switch(arguments.length){ +case 1: +return G__38986__1.call(this,x); +case 2: +return G__38986__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__38986.cljs$core$IFn$_invoke$arity$1 = G__38986__1; +G__38986.cljs$core$IFn$_invoke$arity$2 = G__38986__2; +return G__38986; +})() +); + +(cljs_bean.core.ArrayVector.prototype.lastIndexOf = (function() { +var G__38988 = null; +var G__38988__1 = (function (x){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2(coll,x); +}); +var G__38988__2 = (function (x,start){ +var self__ = this; +var coll = this; +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start); +}); +G__38988 = function(x,start){ +switch(arguments.length){ +case 1: +return G__38988__1.call(this,x); +case 2: +return G__38988__2.call(this,x,start); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__38988.cljs$core$IFn$_invoke$arity$1 = G__38988__1; +G__38988.cljs$core$IFn$_invoke$arity$2 = G__38988__2; +return G__38988; +})() +); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (coll,k,not_found){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.PersistentVector_lookup(coll__$1,k,not_found); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (v,f,init){ +var self__ = this; +var v__$1 = this; +var i = (0); +var init__$1 = init; +while(true){ +if((i < self__.arr.length)){ +var len = self__.arr.length; +var init__$2 = (function (){var j = (0); +var init__$2 = init__$1; +while(true){ +if((j < len)){ +var init__$3 = (function (){var G__38803 = init__$2; +var G__38804 = (j + i); +var G__38805 = cljs_bean.core.__GT_val((self__.arr[j]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__38803,G__38804,G__38805) : f.call(null, G__38803,G__38804,G__38805)); +})(); +if(cljs.core.reduced_QMARK_(init__$3)){ +return init__$3; +} else { +var G__38993 = (j + (1)); +var G__38994 = init__$3; +j = G__38993; +init__$2 = G__38994; +continue; +} +} else { +return init__$2; +} +break; +} +})(); +if(cljs.core.reduced_QMARK_(init__$2)){ +return cljs.core.deref(init__$2); +} else { +var G__38995 = (i + len); +var G__38996 = init__$2; +i = G__38995; +init__$1 = G__38996; +continue; +} +} else { +return init__$1; +} +break; +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IIndexed$_nth$arity$2 = (function (coll,n){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.arr.length)))){ +return cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +throw (new Error(["No item ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," in vector of length ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.arr.length)].join(''))); +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IIndexed$_nth$arity$3 = (function (coll,n,not_found){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.arr.length)))){ +return cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform); +} else { +return not_found; +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (coll,writer,opts){ +var self__ = this; +var coll__$1 = this; +return cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,"["," ","]",opts,coll__$1); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IVector$_assoc_n$arity$3 = (function (coll,n,val){ +var self__ = this; +var coll__$1 = this; +if(((((0) <= n)) && ((n < self__.arr.length)))){ +if((!(cljs_bean.core.compatible_value_QMARK_(val,true)))){ +return cljs.core._assoc_n(cljs_bean.core.snapshot_arr(self__.arr),n,val); +} else { +var new_arr = cljs.core.aclone(self__.arr); +(new_arr[n] = cljs_bean.core.unwrap(val)); + +return (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,new_arr,null)); +} +} else { +if((n === self__.arr.length)){ +return coll__$1.cljs$core$ICollection$_conj$arity$2(null, val); +} else { +throw (new Error(["Index ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(n)," out of bounds [0,",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.arr.length),"]"].join(''))); + +} +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.ArrayVectorIterator(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(0),self__.arr.length)); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IMeta$_meta$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.meta; +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.__hash)); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$ICounted$_count$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return self__.arr.length; +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IStack$_peek$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.arr.length > (0))){ +return coll__$1.cljs$core$IIndexed$_nth$arity$2(null, (self__.arr.length - (1))); +} else { +return null; +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IStack$_pop$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.arr.length === (0))){ +throw (new Error("Can't pop empty vector")); +} else { +if(((1) === self__.arr.length)){ +return coll__$1.cljs$core$IEmptyableCollection$_empty$arity$1(null, ); +} else { +var new_arr = cljs.core.aclone(self__.arr); +return (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,new_arr.slice((0),(new_arr.length - (1))),null)); + +} +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IReversible$_rseq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.arr.length > (0))){ +return (new cljs.core.RSeq(coll__$1,(self__.arr.length - (1)),null)); +} else { +return null; +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IHash$_hash$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = cljs.core.hash_ordered_coll(coll__$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (coll,other){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.PersistentVector_equiv(coll__$1,other,cljs_bean.core.ArrayVector,self__.arr.length); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs_bean.core.TransientArrayVector(true,cljs.core.aclone(self__.arr),self__.prop__GT_key,self__.key__GT_prop,self__.transform)); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +return (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,[],null)); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IReduce$_reduce$arity$2 = (function (v,f){ +var self__ = this; +var v__$1 = this; +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(v__$1,f); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IReduce$_reduce$arity$3 = (function (v,f,init){ +var self__ = this; +var v__$1 = this; +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(v__$1,f,init); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (coll,k,v){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.PersistentVector_assoc(coll__$1,k,v); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (coll,k){ +var self__ = this; +var coll__$1 = this; +return cljs_bean.from.cljs.core.PersistentVector_contains_key_QMARK_(coll__$1,k,self__.arr.length); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (coll){ +var self__ = this; +var coll__$1 = this; +if((self__.arr.length > (0))){ +return (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(0),null)); +} else { +return null; +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (coll,new_meta){ +var self__ = this; +var coll__$1 = this; +if((new_meta === self__.meta)){ +return coll__$1; +} else { +return (new cljs_bean.core.ArrayVector(new_meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.__hash)); +} +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$ICollection$_conj$arity$2 = (function (_,o){ +var self__ = this; +var ___$1 = this; +if((!(cljs_bean.core.compatible_value_QMARK_(o,true)))){ +return cljs.core._conj(cljs_bean.core.snapshot_arr(self__.arr),o); +} else { +var new_arr = cljs.core.aclone(self__.arr); +(new_arr[new_arr.length] = cljs_bean.core.unwrap(o)); + +return (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,new_arr,null)); +} +})); + +(cljs_bean.core.ArrayVector.prototype.call = (function (unused__11796__auto__){ +var self__ = this; +var self__ = this; +var G__38812 = (arguments.length - (1)); +switch (G__38812) { +case (1): +return self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)])); + +break; +case (2): +return self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(''))); + +} +})); + +(cljs_bean.core.ArrayVector.prototype.apply = (function (self__,args38799){ +var self__ = this; +var self____$1 = this; +return self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38799))); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IFn$_invoke$arity$1 = (function (k){ +var self__ = this; +var coll = this; +return coll.cljs$core$IIndexed$_nth$arity$2(null, k); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IFn$_invoke$arity$2 = (function (k,not_found){ +var self__ = this; +var coll = this; +return coll.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +})); + +(cljs_bean.core.ArrayVector.prototype.cljs$core$IComparable$_compare$arity$2 = (function (x,y){ +var self__ = this; +var x__$1 = this; +if(cljs.core.vector_QMARK_(y)){ +return cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''))); +} +})); + +(cljs_bean.core.ArrayVector.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"meta","meta",-1154898805,null),new cljs.core.Symbol(null,"prop->key","prop->key",342816281,null),new cljs.core.Symbol(null,"key->prop","key->prop",612078996,null),new cljs.core.Symbol(null,"transform","transform",-1273134005,null),new cljs.core.Symbol(null,"arr","arr",2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,"__hash","__hash",-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null); +})); + +(cljs_bean.core.ArrayVector.cljs$lang$type = true); + +(cljs_bean.core.ArrayVector.cljs$lang$ctorStr = "cljs-bean.core/ArrayVector"); + +(cljs_bean.core.ArrayVector.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cljs-bean.core/ArrayVector"); +})); + +/** + * Positional factory function for cljs-bean.core/ArrayVector. + */ +cljs_bean.core.__GT_ArrayVector = (function cljs_bean$core$__GT_ArrayVector(meta,prop__GT_key,key__GT_prop,transform,arr,__hash){ +return (new cljs_bean.core.ArrayVector(meta,prop__GT_key,key__GT_prop,transform,arr,__hash)); +}); + +cljs_bean.core.default_key__GT_prop = (function cljs_bean$core$default_key__GT_prop(x){ +if((x instanceof cljs.core.Keyword)){ +return x.fqn; +} else { +return null; +} +}); +/** + * Takes a JavaScript object and returns a read-only implementation of the map + * abstraction backed by the object. + * + * By default, bean produces beans that keywordize the keys. Supply + * :keywordize-keys false to suppress this behavior. You can alternatively + * supply :prop->key and :key->prop with functions that control the mapping + * between properties and keys. + * + * Supply :recursive true to create a bean which recursively converts + * JavaScript object values to beans and JavaScript arrays into vectors. + * + * Supply :transform and a function of one argument to transform values being + * converted from JavaScript to ClojureScript. This function should return nil + * if no conversion is to be performed, thus allowing default logic to be applied. + * + * Calling (bean) produces an empty bean. + */ +cljs_bean.core.bean = (function cljs_bean$core$bean(var_args){ +var G__38826 = arguments.length; +switch (G__38826) { +case 0: +return cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___39033 = arguments.length; +var i__5770__auto___39035 = (0); +while(true){ +if((i__5770__auto___39035 < len__5769__auto___39033)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___39035])); + +var G__39036 = (i__5770__auto___39035 + (1)); +i__5770__auto___39035 = G__39036; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$0 = (function (){ +return (new cljs_bean.core.Bean(null,({}),cljs.core.keyword,cljs_bean.core.default_key__GT_prop,null,false,[],(0),null)); +})); + +(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return (new cljs_bean.core.Bean(null,x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,null,false,null,null,null)); +})); + +(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$variadic = (function (x,opts){ +var map__38830 = opts; +var map__38830__$1 = cljs.core.__destructure_map(map__38830); +var keywordize_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,"keywordize-keys","keywordize-keys",1310784252)); +var prop__GT_key = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,"prop->key","prop->key",-1297715246)); +var key__GT_prop = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,"key->prop","key->prop",-1028452531)); +var transform = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,"transform","transform",1381301764)); +var recursive = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,"recursive","recursive",718885872)); +if(keywordize_keys === false){ +return (new cljs_bean.core.Bean(null,x,cljs.core.identity,cljs.core.identity,transform,cljs.core.boolean$(recursive),null,null,null)); +} else { +if((((!((prop__GT_key == null)))) && ((!((key__GT_prop == null)))))){ +return (new cljs_bean.core.Bean(null,x,prop__GT_key,key__GT_prop,transform,cljs.core.boolean$(recursive),null,null,null)); +} else { +return (new cljs_bean.core.Bean(null,x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,transform,cljs.core.boolean$(recursive),null,null,null)); + +} +} +})); + +/** @this {Function} */ +(cljs_bean.core.bean.cljs$lang$applyTo = (function (seq38824){ +var G__38825 = cljs.core.first(seq38824); +var seq38824__$1 = cljs.core.next(seq38824); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__38825,seq38824__$1); +})); + +(cljs_bean.core.bean.cljs$lang$maxFixedArity = (1)); + +/** + * Returns true if x is a bean. + */ +cljs_bean.core.bean_QMARK_ = (function cljs_bean$core$bean_QMARK_(x){ +return (x instanceof cljs_bean.core.Bean); +}); +/** + * Takes a bean and returns a JavaScript object. + */ +cljs_bean.core.object = (function cljs_bean$core$object(b){ +return b.obj; +}); +/** + * Recursively converts JavaScript values to ClojureScript. + * + * JavaScript objects are converted to beans with keywords for keys. + * + * JavaScript arrays are converted to read-only implementations of the vector + * abstraction, backed by the supplied array. + * + * By default, ->clj produces values that keywordize the keys. Supply + * :keywordize-keys false to suppress this behavior. You can alternatively + * supply :prop->key and :key->prop with functions that control the mapping + * between properties and keys. + * + * Supply :transform and a function of one argument to transform values being + * converted from JavaScript to ClojureScript. This function should return nil + * if no conversion is to be performed, thus allowing default logic to be applied. + */ +cljs_bean.core.__GT_clj = (function cljs_bean$core$__GT_clj(var_args){ +var G__38845 = arguments.length; +switch (G__38845) { +case 1: +return cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___39047 = arguments.length; +var i__5770__auto___39048 = (0); +while(true){ +if((i__5770__auto___39048 < len__5769__auto___39047)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___39048])); + +var G__39050 = (i__5770__auto___39048 + (1)); +i__5770__auto___39048 = G__39050; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return cljs_bean.core.__GT_val(x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,null); +})); + +(cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$variadic = (function (x,opts){ +var map__38847 = opts; +var map__38847__$1 = cljs.core.__destructure_map(map__38847); +var keywordize_keys = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,"keywordize-keys","keywordize-keys",1310784252)); +var prop__GT_key = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,"prop->key","prop->key",-1297715246)); +var key__GT_prop = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,"key->prop","key->prop",-1028452531)); +var transform = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,"transform","transform",1381301764)); +if(keywordize_keys === false){ +return cljs_bean.core.__GT_val(x,cljs.core.identity,cljs.core.identity,transform); +} else { +if((((!((prop__GT_key == null)))) && ((!((key__GT_prop == null)))))){ +return cljs_bean.core.__GT_val(x,prop__GT_key,key__GT_prop,transform); +} else { +return cljs_bean.core.__GT_val(x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,transform); + +} +} +})); + +/** @this {Function} */ +(cljs_bean.core.__GT_clj.cljs$lang$applyTo = (function (seq38840){ +var G__38841 = cljs.core.first(seq38840); +var seq38840__$1 = cljs.core.next(seq38840); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__38841,seq38840__$1); +})); + +(cljs_bean.core.__GT_clj.cljs$lang$maxFixedArity = (1)); + +/** + * Recursively converts ClojureScript values to JavaScript. + * + * Where possible, directly returns the backing objects and arrays for values + * produced using ->clj and bean. + * + * Otherwise delegates to clj->js to perform the conversion, converting keyword + * keys using their qualified names. You can alternatively supply :key->prop with + * a function that controls the mapping from keys to properties. + */ +cljs_bean.core.__GT_js = (function cljs_bean$core$__GT_js(var_args){ +var G__38859 = arguments.length; +switch (G__38859) { +case 1: +return cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___39056 = arguments.length; +var i__5770__auto___39057 = (0); +while(true){ +if((i__5770__auto___39057 < len__5769__auto___39056)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___39057])); + +var G__39059 = (i__5770__auto___39057 + (1)); +i__5770__auto___39057 = G__39059; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null)); +return cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__); + +} +}); + +(cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$1 = (function (x){ +if((x instanceof cljs_bean.core.Bean)){ +return x.obj; +} else { +if((x instanceof cljs_bean.core.ArrayVector)){ +return x.arr; +} else { +return cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic(x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"keyword-fn","keyword-fn",-64566675),cljs_bean.core.default_key__GT_prop], 0)); + +} +} +})); + +(cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$variadic = (function (x,opts){ +if((x instanceof cljs_bean.core.Bean)){ +return x.obj; +} else { +if((x instanceof cljs_bean.core.ArrayVector)){ +return x.arr; +} else { +var map__38864 = opts; +var map__38864__$1 = cljs.core.__destructure_map(map__38864); +var key__GT_prop = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__38864__$1,new cljs.core.Keyword(null,"key->prop","key->prop",-1028452531),cljs_bean.core.default_key__GT_prop); +return cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic(x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"keyword-fn","keyword-fn",-64566675),key__GT_prop], 0)); + +} +} +})); + +/** @this {Function} */ +(cljs_bean.core.__GT_js.cljs$lang$applyTo = (function (seq38855){ +var G__38856 = cljs.core.first(seq38855); +var seq38855__$1 = cljs.core.next(seq38855); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__38856,seq38855__$1); +})); + +(cljs_bean.core.__GT_js.cljs$lang$maxFixedArity = (1)); + +/** + * Set empty map and array to Bean and ArrayVector. Useful for testing. + */ +cljs_bean.core.set_empty_colls_BANG_ = (function cljs_bean$core$set_empty_colls_BANG_(){ +(cljs.core.PersistentArrayMap.EMPTY = cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1(({}))); + +(cljs.core.PersistentVector.EMPTY = cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1([])); + +return null; +}); + +//# sourceMappingURL=cljs_bean.core.js.map diff --git a/out/cljs-runtime/cljs_bean.core.js.map b/out/cljs-runtime/cljs_bean.core.js.map new file mode 100644 index 0000000..ff6f4cc --- /dev/null +++ b/out/cljs-runtime/cljs_bean.core.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs_bean/core.cljs"],"mappings":";;;;AAKA,AAAA,AACA,AAAA,AACA,AAAA,AAEA,iCAAA,jCAAeA;AAEf,kCAAA,lCAAOC,4EAAYC;AAAnB,AACE,oCAAA,6BAAA,xDAAI,OAASA,sBACT,OAASA,sBACT,AAACC,yBAASD,QACV,MAAA,LAAMA;;AAEZ,0BAAA,1BAAOE,4DAAOF,EAAEG,aAAUC,aAAUC;AAApC,AACE,IAAAC,qBAAsB,4BAAA,iHAAA,3IAAM,GAAA,cAAA,bAAOD,sBACX,CAACA,0CAAAA,6CAAAA,LAAUL,0BAAAA;AADnC,AAAA,GAAA,CAAAM,sBAAA;AAGE,GACE,AAACP,gCAAWC;AAAGA;;AADjB,GAEE,AAACQ,wBAAQR;AAAG,YAAAS,oBAAA,2CAAA,KAAA,KAAA,KAAA,rDAAWT,EAAEG,aAAUC,aAAUC;;AAF/C,GAGE,AAACK,uBAAOV;AAAG,YAAAW,2BAAA,2CAAA,tCAAkBR,aAAUC,aAAUC,UAAUL;;AAH7D,AAIQA;;;;;;AAPV,kBAAAM,dAAUC;AAAV,AAEEA;;;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AA;AAAA,AAAA,IAAAC,wBAAA;;AAAA,AAAA,GAAA,CAAAA,wBAAAD;AAAA,AAAA,AAAAD,4BAAA,CAAA,UAAAE;;AAAA,eAAA,CAAAA,wBAAA;;;;AAAA;;;;AAAA,IAAAC,uBAAA,KAAAC,qBAAA,AAAAJ,6BAAA,KAAA,IAAA;AAAA,AAAA,OAAAsB,4DAAA,CAAA,UAAA,MAAAnB;;;;;AAAA,CAAA,uDAAA,vDAAMmB,kEASFzN;AATJ,AAUG,GACE,cAAWS,bAAKT;AAAG,OAAOA;;AAD5B,GAEE,cAAWW,bAAYX;AAAG,OAAOA;;AAFnC,AAGQ,qHAAA,9GAAC4N,0DAAQ5N,oHAAc+L;;;;;;AAblC,AAAA,CAAA,8DAAA,9DAAM0B,yEAcFzN,EAAIuG;AAdR,AAeG,GACE,cAAW9F,bAAKT;AAAG,OAAOA;;AAD5B,GAEE,cAAWW,bAAYX;AAAG,OAAOA;;AAFnC,AAGQ,IAAA6N,aAC4CtH;IAD5CsH,iBAAA,AAAAjB,4BAAAiB;mBAAA,AAAAhB,4CAAAgB,eAAA,1EAAczN,0IACU2L;AADxB,AAEE,qHAAA,9GAAC6B,0DAAQ5N,oHAAcI;;;;;;AApBpC;AAAA,CAAA,2CAAA,WAAAsN,tDAAMD;AAAN,AAAA,IAAAE,WAAA,AAAAzF,gBAAAwF;IAAAA,eAAA,AAAAvF,eAAAuF;AAAA,AAAA,IAAAhB,qBAAA;AAAA,AAAA,OAAAA,wDAAAiB,SAAAD;;;AAAA,CAAA,iDAAA,jDAAMD;;AAAN,AAsBA;;;uCAAA,vCAAOK;AAAP,AAGE,CAAM,AAAA,AAAA,AAAIhN,qCAA0C,sDAAA,tDAACiN;;AACrD,CAAM,AAAA,AAAA,AAAIjN,mCAAwC,sDAAA,tDAACiN;;AAJrD","names":["cljs-bean.core/lookup-sentinel","cljs-bean.core/primitive?","x","cljs.core/boolean?","cljs-bean.core/->val","prop->key","key->prop","transform","temp__5825__auto__","transformed","cljs.core/object?","cljs-bean.core/Bean","cljs.core/array?","cljs-bean.core/ArrayVector","cljs-bean.core/unwrap","cljs-bean.core/empty-map","js/cljs","cljs-bean.core/snapshot","recursive?","result","cljs.core/volatile!","cljs.core/transient","cljs_bean.core.goog$module$goog$object.forEach","v","k","_","cljs.core.assoc_BANG_","G__38707","cljs.core/deref","cljs.core/persistent!","cljs-bean.core/snapshot-arr","arr","cljs.core/vec","a__5630__auto__","l__5631__auto__","cljs.core/aclone","idx","ret","G__38708","cljs-bean.core/->clj","cljs-bean.core/indexed-entry","obj","i","prop","cljs.core/MapEntry","G__38709","cljs-bean.core/compatible-key?","cljs.core/Keyword","cljs.core/keyword","cljs.core/identity","cljs-bean.core/compatible-value?","cljs.core/map?","cljs.core/vector?","cljs.core/not","and__5043__auto__","cljs-bean.core/snapshot?","unused__11796__auto__","self__","G__38721","js/Error","args38710","this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cljs.core/-write","cljs-bean.core/TransientBean","cljs-bean.core/->TransientBean","editable?","__cnt","G__38714","not-found","cljs_bean.core.goog$module$goog$object.get","G__38715","cljs.core/count","cljs.core/js-keys","tcoll","o","cljs-bean.from.cljs.core/TransientArrayMap-conj!","cljs.core/-assoc!","G__38719","G__38722","G__38723","cljs-bean.core/BeanIterator","cljs-bean.core/->BeanIterator","cnt","cljs-bean.core/BeanSeq","cljs-bean.core/->BeanSeq","meta","coll","cljs.core/pr-str*","this","other","cljs_bean.from.cljs.core._indexOf","start","cljs_bean.from.cljs.core._lastIndexOf","new-meta","x__5130__auto__","y__5131__auto__","n","cljs-bean.from.cljs.core/equiv-sequential","cljs.core/cons","f","cljs_bean.from.cljs.core.ci_reduce","cljs.core/hash-ordered-coll","writer","opts","cljs.core/pr-sequential-writer","cljs.core/pr-writer","cljs.core/PROTOCOL_SENTINEL","G__38769","args38726","cljs-bean.core/->Bean","__arr","__hash","cljs.core/es6-iterator","cljs.core/keys","cljs.core/es6-entries-iterator","cljs.core/seq","cljs.core/vals","cljs.core/contains?","seq__38733","chunk__38734","count__38735","i__38736","vec__38743","cljs.core.nth","temp__5823__auto__","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","vec__38746","cljs.core/first","cljs.core/next","entry","cljs-bean.from.cljs.core/PersistentArrayMap-conj","cljs.core/equiv-map","h__5154__auto__","cljs.core/hash-unordered-coll","cljs.core/-assoc","cljs.core/with-meta","G__38766","cljs_bean.core.goog$module$goog$object.clone","G__38767","G__38727","G__38763","G__38749","G__38750","init","e38751","r","G__38752","G__38753","G__38754","G__38755","cljs.core/reduced?","cljs.core/-reduce","G__38761","G__38762","G__38770","G__38773","cljs.core/print-map","G__38780","args38779","cljs-bean.core/TransientArrayVector","cljs-bean.core/->TransientArrayVector","cljs.core/-conj!","key","val","cljs-bean.from.cljs.core/TransientVector-assoc!","cljs.core/-assoc-n!","cljs-bean.core/ArrayVectorIterator","cljs-bean.core/->ArrayVectorIterator","cljs-bean.core/ArrayVectorSeq","cljs-bean.core/->ArrayVectorSeq","G__38812","args38799","cljs-bean.core/->ArrayVector","new-arr","cljs.core/-conj","cljs-bean.from.cljs.core/PersistentVector-equiv","cljs-bean.from.cljs.core/PersistentVector-lookup","cljs-bean.from.cljs.core/PersistentVector-assoc","cljs-bean.from.cljs.core/PersistentVector-contains-key?","cljs.core/-assoc-n","len","j","G__38803","G__38804","G__38805","cljs.core/RSeq","y","cljs_bean.from.cljs.core.compare_indexed","cljs-bean.core/default-key->prop","var_args","G__38826","cljs-bean.core/bean","args-arr__5794__auto__","len__5769__auto__","i__5770__auto__","argseq__5795__auto__","cljs.core/IndexedSeq","seq38824","G__38825","self__5754__auto__","map__38830","cljs.core/--destructure-map","cljs.core.get","keywordize-keys","recursive","cljs.core/boolean","cljs-bean.core/bean?","cljs-bean.core/object","b","G__38845","seq38840","G__38841","map__38847","G__38859","cljs-bean.core/->js","seq38855","G__38856","cljs.core.clj__GT_js","map__38864","cljs-bean.core/set-empty-colls!","cljs_bean.core.__GT_clj"],"sourcesContent":["(ns cljs-bean.core\n (:require\n [cljs-bean.from.cljs.core :as core]\n [goog.object :as gobj]))\n\n(declare Bean)\n(declare ArrayVector)\n(declare ->clj)\n\n(def ^:private lookup-sentinel #js {})\n\n(defn- primitive? [x]\n (or (number? x)\n (string? x)\n (boolean? x)\n (nil? x)))\n\n(defn- ->val [x prop->key key->prop transform]\n (if-some [transformed (when (some? transform)\n (transform x))]\n transformed\n (cond\n (primitive? x) x\n (object? x) (Bean. nil x prop->key key->prop transform true nil nil nil)\n (array? x) (ArrayVector. nil prop->key key->prop transform x nil)\n :else x)))\n\n(defn- unwrap [x]\n (cond\n (primitive? x) x\n (instance? Bean x) (.-obj x)\n (instance? ArrayVector x) (.-arr x)\n :else x))\n\n(def ^:private empty-map (.. js/cljs -core -PersistentArrayMap -EMPTY))\n\n(defn- snapshot [x prop->key key->prop transform recursive?]\n (let [result (volatile! (transient empty-map))]\n (gobj/forEach x (fn [v k _] (vswap! result assoc! (prop->key k)\n (cond-> v\n recursive? (->val prop->key key->prop transform)))))\n (persistent! @result)))\n\n(defn- snapshot-arr [arr]\n (vec (amap arr idx ret (->clj (aget arr idx)))))\n\n(defn- indexed-entry [obj prop->key key->prop transform ^boolean recursive? arr i]\n (let [prop (aget arr i)]\n (MapEntry. (prop->key prop)\n (cond-> (unchecked-get obj prop)\n recursive? (->val prop->key key->prop transform))\n nil)))\n\n(defn- compatible-key? [k prop->key]\n (or\n (and (keyword? k) (identical? prop->key keyword))\n (and (string? k) (identical? prop->key identity))))\n\n(defn- compatible-value? [v recursive?]\n (or (primitive? v)\n (and (not (or (and (map? v) (not (instance? Bean v)))\n (and (vector? v) (not (instance? ArrayVector v)))))\n (not (and recursive?\n (or (object? v)\n (array? v)))))))\n\n(defn- snapshot? [k v prop->key recursive?]\n (not (and (compatible-key? k prop->key)\n (compatible-value? v recursive?))))\n\n(deftype ^:private TransientBean [^:mutable ^boolean editable?\n obj prop->key key->prop transform ^boolean recursive?\n ^:mutable __cnt]\n ILookup\n (-lookup [_ k]\n (if editable?\n (cond-> (unchecked-get obj (key->prop k))\n recursive? (->val prop->key key->prop transform))\n (throw (js/Error. \"lookup after persistent!\"))))\n (-lookup [_ k not-found]\n (if editable?\n (let [ret (gobj/get obj (key->prop k) not-found)]\n (cond-> ret\n (and recursive? (not (identical? ret not-found)))\n (->val prop->key key->prop transform)))\n (throw (js/Error. \"lookup after persistent!\"))))\n\n ICounted\n (-count [_]\n (if (nil? __cnt)\n (set! __cnt (count (js-keys obj)))\n __cnt))\n\n ITransientCollection\n (-conj! [tcoll o]\n (core/TransientArrayMap-conj! tcoll o editable?))\n\n (-persistent! [tcoll]\n (if editable?\n (do\n (set! editable? false)\n (Bean. nil obj prop->key key->prop transform recursive? nil __cnt nil))\n (throw (js/Error. \"persistent! called twice\"))))\n\n ITransientAssociative\n (-assoc! [tcoll k v]\n (if editable?\n (if (snapshot? k v prop->key recursive?)\n (-assoc! (transient (snapshot obj prop->key key->prop transform recursive?)) k v)\n (do\n (unchecked-set obj (key->prop k) (cond-> v recursive? unwrap))\n (set! __cnt nil)\n tcoll))\n (throw (js/Error. \"assoc! after persistent!\"))))\n\n ITransientMap\n (-dissoc! [tcoll k]\n (if editable?\n (do\n (js-delete obj (key->prop k))\n (set! __cnt nil)\n tcoll)\n (throw (js/Error. \"dissoc! after persistent!\"))))\n\n IFn\n (-invoke [_ k]\n (if editable?\n (cond-> (unchecked-get obj (key->prop k))\n recursive? (->val prop->key key->prop transform))\n (throw (js/Error. \"lookup after persistent!\"))))\n (-invoke [_ k not-found]\n (if editable?\n (let [ret (gobj/get obj (key->prop k) not-found)]\n (cond-> ret\n (and recursive? (not (identical? ret not-found)))\n (->val prop->key key->prop transform)))\n (throw (js/Error. \"lookup after persistent!\")))))\n\n(deftype ^:private BeanIterator [obj prop->key key->prop transform ^boolean recursive? arr ^:mutable i cnt]\n Object\n (hasNext [_]\n (< i cnt))\n (next [_]\n (let [ret (indexed-entry obj prop->key key->prop transform recursive? arr i)]\n (set! i (inc i))\n ret)))\n\n(deftype ^:private BeanSeq [obj prop->key key->prop transform ^boolean recursive? arr i meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (core/-indexOf coll x 0))\n (indexOf [coll x start]\n (core/-indexOf coll x start))\n (lastIndexOf [coll x]\n (core/-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (core/-lastIndexOf coll x start))\n\n ICloneable\n (-clone [_] (BeanSeq. obj prop->key key->prop transform recursive? arr i meta))\n\n ISeqable\n (-seq [this] this)\n\n IMeta\n (-meta [_] meta)\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (BeanSeq. obj prop->key key->prop transform recursive? arr i new-meta)))\n\n ASeq\n ISeq\n (-first [_] (indexed-entry obj prop->key key->prop transform recursive? arr i))\n (-rest [_] (if (< (inc i) (alength arr))\n (BeanSeq. obj prop->key key->prop transform recursive? arr (inc i) nil)\n ()))\n\n INext\n (-next [_] (if (< (inc i) (alength arr))\n (BeanSeq. obj prop->key key->prop transform recursive? arr (inc i) nil)\n nil))\n\n ICounted\n (-count [_]\n (max 0 (- (alength arr) i)))\n\n IIndexed\n (-nth [_ n]\n (let [i (+ n i)]\n (if (and (<= 0 i) (< i (alength arr)))\n (indexed-entry obj prop->key key->prop transform recursive? arr i)\n (throw (js/Error. \"Index out of bounds\")))))\n (-nth [_ n not-found]\n (let [i (+ n i)]\n (if (and (<= 0 i) (< i (alength arr)))\n (indexed-entry obj prop->key key->prop transform recursive? arr i)\n not-found)))\n\n ISequential\n IEquiv\n (-equiv [coll other]\n (core/equiv-sequential coll other))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [_] ())\n\n IReduce\n (-reduce [coll f]\n (core/ci-reduce coll f))\n (-reduce [coll f start]\n (core/ci-reduce coll f start))\n\n IHash\n (-hash [coll] (hash-ordered-coll coll))\n\n IPrintWithWriter\n (-pr-writer [coll writer opts]\n (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll)))\n\n(deftype ^:private Bean [meta obj prop->key key->prop transform ^boolean recursive?\n ^:mutable __arr ^:mutable __cnt ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n\n (keys [coll]\n (es6-iterator (keys coll)))\n (entries [coll]\n (es6-entries-iterator (seq coll)))\n (values [coll]\n (es6-iterator (vals coll)))\n (has [coll k]\n (contains? coll k))\n (get [coll k not-found]\n (-lookup coll k not-found))\n (forEach [coll f]\n (doseq [[k v] coll]\n (f v k)))\n\n ICloneable\n (-clone [_] (Bean. meta obj prop->key key->prop transform recursive? __arr __cnt __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (Bean. new-meta obj prop->key key->prop transform recursive? __arr __cnt __hash)))\n\n IMeta\n (-meta [_] meta)\n\n ICollection\n (-conj [coll entry]\n (core/PersistentArrayMap-conj coll entry))\n\n IEmptyableCollection\n (-empty [_] (Bean. meta #js {} prop->key key->prop transform recursive? #js [] 0 nil))\n\n IEquiv\n (-equiv [coll other]\n (equiv-map coll other))\n\n IHash\n (-hash [coll] (caching-hash coll hash-unordered-coll __hash))\n\n IIterable\n (-iterator [coll]\n (when (nil? __arr)\n (set! __arr (js-keys obj)))\n (BeanIterator. obj prop->key key->prop transform recursive? __arr 0 (-count coll)))\n\n ISeqable\n (-seq [_]\n (when (nil? __arr)\n (set! __arr (js-keys obj)))\n (when (pos? (alength __arr))\n (BeanSeq. obj prop->key key->prop transform recursive? __arr 0 nil)))\n\n IAssociative\n (-assoc [_ k v]\n (if (snapshot? k v prop->key recursive?)\n (-assoc (with-meta (snapshot obj prop->key key->prop transform recursive?) meta) k v)\n (Bean. meta\n (doto (gobj/clone obj) (unchecked-set (key->prop k) (cond-> v recursive? unwrap)))\n prop->key key->prop transform recursive? nil nil nil)))\n\n (-contains-key? [coll k]\n (not (identical? (-lookup coll k lookup-sentinel) lookup-sentinel)))\n\n IFind\n (-find [_ k]\n (let [v (gobj/get obj (key->prop k) lookup-sentinel)]\n (when-not (identical? v lookup-sentinel)\n (MapEntry. k (cond-> v recursive? (->val prop->key key->prop transform)) nil))))\n\n IMap\n (-dissoc [_ k]\n (Bean. meta (doto (gobj/clone obj) (js-delete (key->prop k)))\n prop->key key->prop transform recursive? nil nil nil))\n\n ICounted\n (-count [_]\n (if (nil? __cnt)\n (do\n (when (nil? __arr)\n (set! __arr (js-keys obj)))\n (set! __cnt (alength __arr)))\n __cnt))\n\n ILookup\n (-lookup [_ k]\n (cond-> (unchecked-get obj (key->prop k))\n recursive? (->val prop->key key->prop transform)))\n (-lookup [_ k not-found]\n (let [ret (gobj/get obj (key->prop k) not-found)]\n (cond-> ret\n (and recursive? (not (identical? ret not-found)))\n (->val prop->key key->prop transform))))\n\n IKVReduce\n (-kv-reduce [_ f init]\n (try\n (let [result (volatile! init)]\n (gobj/forEach obj\n (fn [v k _]\n (let [r (vswap! result f (prop->key k)\n (cond-> v recursive? (->val prop->key key->prop transform)))]\n (when (reduced? r) (throw r)))))\n @result)\n (catch :default x\n (if (reduced? x) @x (throw x)))))\n\n IReduce\n (-reduce [coll f]\n (-reduce (-seq coll) f))\n (-reduce [coll f start]\n (-kv-reduce coll (fn [r k v] (f r (MapEntry. k v nil))) start))\n\n IFn\n (-invoke [_ k]\n (cond-> (unchecked-get obj (key->prop k))\n recursive? (->val prop->key key->prop transform)))\n\n (-invoke [_ k not-found]\n (let [ret (gobj/get obj (key->prop k) not-found)]\n (cond-> ret\n (and recursive? (not (identical? ret not-found)))\n (->val prop->key key->prop transform))))\n\n IEditableCollection\n (-as-transient [_]\n (TransientBean. true (gobj/clone obj) prop->key key->prop transform recursive? __cnt))\n\n IPrintWithWriter\n (-pr-writer [coll writer opts]\n (print-map coll pr-writer writer opts)))\n\n(deftype ^:private TransientArrayVector [^:mutable ^boolean editable?\n ^:mutable arr prop->key key->prop transform]\n ITransientCollection\n (-conj! [tcoll o]\n (if editable?\n (if (not (compatible-value? o true))\n (-conj! (transient (snapshot-arr arr)) o)\n (do\n (.push arr (unwrap o))\n tcoll))\n (throw (js/Error. \"conj! after persistent!\"))))\n\n (-persistent! [_]\n (if editable?\n (do\n (set! editable? false)\n (ArrayVector. nil prop->key key->prop transform arr nil))\n (throw (js/Error. \"persistent! called twice\"))))\n\n ITransientAssociative\n (-assoc! [tcoll key val]\n (core/TransientVector-assoc! tcoll key val \"TransientArrayVector\"))\n\n ITransientVector\n (-assoc-n! [tcoll n val]\n (if editable?\n (if (not (compatible-value? val true))\n (-assoc-n! (transient (snapshot-arr arr)) n val)\n (cond\n (and (<= 0 n) (< n (alength arr)))\n (do (aset arr n (unwrap val))\n tcoll)\n (== n (alength arr)) (-conj! tcoll val)\n :else\n (throw\n (js/Error.\n (str \"Index \" n \" out of bounds for TransientArrayVector of length\" (alength arr))))))\n (throw (js/Error. \"assoc! after persistent!\"))))\n\n (-pop! [tcoll]\n (if editable?\n (if (zero? (alength arr))\n (throw (js/Error. \"Can't pop empty vector\"))\n (do\n (set! arr (.slice arr 0 (dec (alength arr))))\n tcoll))\n (throw (js/Error. \"pop! after persistent!\"))))\n\n ICounted\n (-count [_]\n (if editable?\n (alength arr)\n (throw (js/Error. \"count after persistent!\"))))\n\n IIndexed\n (-nth [_ n]\n (if editable?\n (->val (aget arr n) prop->key key->prop transform)\n (throw (js/Error. \"nth after persistent!\"))))\n\n (-nth [coll n not-found]\n (if (and (<= 0 n) (< n (alength arr)))\n (-nth coll n)\n not-found))\n\n ILookup\n (-lookup [coll k] (-lookup coll k nil))\n\n (-lookup [coll k not-found] (if (number? k)\n (-nth coll k not-found)\n not-found))\n\n IFn\n (-invoke [coll k]\n (-lookup coll k))\n\n (-invoke [coll k not-found]\n (-lookup coll k not-found)))\n\n(deftype ^:private ArrayVectorIterator [prop->key key->prop transform arr ^:mutable i cnt]\n Object\n (hasNext [_]\n (< i cnt))\n (next [_]\n (let [ret (->val (aget arr i) prop->key key->prop transform)]\n (set! i (inc i))\n ret)))\n\n(deftype ^:private ArrayVectorSeq [prop->key key->prop transform arr i meta]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (core/-indexOf coll x 0))\n (indexOf [coll x start]\n (core/-indexOf coll x start))\n (lastIndexOf [coll x]\n (core/-lastIndexOf coll x (count coll)))\n (lastIndexOf [coll x start]\n (core/-lastIndexOf coll x start))\n\n ICloneable\n (-clone [_] (ArrayVectorSeq. prop->key key->prop transform arr i meta))\n\n ISeqable\n (-seq [this] this)\n\n IMeta\n (-meta [_] meta)\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (ArrayVectorSeq. prop->key key->prop transform arr i new-meta)))\n\n ASeq\n ISeq\n (-first [_] (->val (aget arr i) prop->key key->prop transform))\n (-rest [_] (if (< (inc i) (alength arr))\n (ArrayVectorSeq. prop->key key->prop transform arr (inc i) nil)\n ()))\n\n INext\n (-next [_] (if (< (inc i) (alength arr))\n (ArrayVectorSeq. prop->key key->prop transform arr (inc i) nil)\n nil))\n\n ICounted\n (-count [_]\n (max 0 (- (alength arr) i)))\n\n IIndexed\n (-nth [_ n]\n (let [i (+ n i)]\n (if (and (<= 0 i) (< i (alength arr)))\n (->val (aget arr i) prop->key key->prop transform)\n (throw (js/Error. \"Index out of bounds\")))))\n (-nth [_ n not-found]\n (let [i (+ n i)]\n (if (and (<= 0 i) (< i (alength arr)))\n (->val (aget arr i) prop->key key->prop transform)\n not-found)))\n\n ISequential\n IEquiv\n (-equiv [coll other]\n (core/equiv-sequential coll other))\n\n ICollection\n (-conj [coll o] (cons o coll))\n\n IEmptyableCollection\n (-empty [_] ())\n\n IReduce\n (-reduce [coll f]\n (core/ci-reduce coll f))\n (-reduce [coll f start]\n (core/ci-reduce coll f start))\n\n IHash\n (-hash [coll] (hash-ordered-coll coll))\n\n IPrintWithWriter\n (-pr-writer [coll writer opts]\n (pr-sequential-writer writer pr-writer \"(\" \" \" \")\" opts coll)))\n\n(deftype ^:private ArrayVector [meta prop->key key->prop transform arr ^:mutable __hash]\n Object\n (toString [coll]\n (pr-str* coll))\n (equiv [this other]\n (-equiv this other))\n (indexOf [coll x]\n (core/-indexOf coll x 0))\n (indexOf [coll x start]\n (core/-indexOf coll x start))\n (lastIndexOf [coll x]\n (core/-lastIndexOf coll x))\n (lastIndexOf [coll x start]\n (core/-lastIndexOf coll x start))\n\n ICloneable\n (-clone [_] (ArrayVector. meta prop->key key->prop transform arr __hash))\n\n IWithMeta\n (-with-meta [coll new-meta]\n (if (identical? new-meta meta)\n coll\n (ArrayVector. new-meta prop->key key->prop transform arr __hash)))\n\n IMeta\n (-meta [coll] meta)\n\n IStack\n (-peek [coll]\n (when (pos? (alength arr))\n (-nth coll (dec (alength arr)))))\n (-pop [coll]\n (cond\n (zero? (alength arr)) (throw (js/Error. \"Can't pop empty vector\"))\n (== 1 (alength arr)) (-empty coll)\n :else\n (let [new-arr (aclone arr)]\n (ArrayVector. meta prop->key key->prop transform\n (.slice new-arr 0 (dec (alength new-arr))) nil))))\n\n ICollection\n (-conj [_ o]\n (if (not (compatible-value? o true))\n (-conj (snapshot-arr arr) o)\n (let [new-arr (aclone arr)]\n (unchecked-set new-arr (alength new-arr) (unwrap o))\n (ArrayVector. meta prop->key key->prop transform new-arr nil))))\n\n IEmptyableCollection\n (-empty [coll]\n (ArrayVector. meta prop->key key->prop transform #js [] nil))\n\n ISequential\n IEquiv\n (-equiv [coll other]\n (core/PersistentVector-equiv coll other ArrayVector (alength arr)))\n\n IHash\n (-hash [coll] (caching-hash coll hash-ordered-coll __hash))\n\n ISeqable\n (-seq [coll]\n (when (pos? (alength arr))\n (ArrayVectorSeq. prop->key key->prop transform arr 0 nil)))\n\n ICounted\n (-count [coll] (alength arr))\n\n IIndexed\n (-nth [coll n]\n (if (and (<= 0 n) (< n (alength arr)))\n (->val (aget arr n) prop->key key->prop transform)\n (throw (js/Error. (str \"No item \" n \" in vector of length \" (alength arr))))))\n (-nth [coll n not-found]\n (if (and (<= 0 n) (< n (alength arr)))\n (->val (aget arr n) prop->key key->prop transform)\n not-found))\n\n ILookup\n (-lookup [coll k] (-lookup coll k nil))\n (-lookup [coll k not-found] (core/PersistentVector-lookup coll k not-found))\n\n IAssociative\n (-assoc [coll k v]\n (core/PersistentVector-assoc coll k v))\n (-contains-key? [coll k]\n (core/PersistentVector-contains-key? coll k (alength arr)))\n\n IFind\n (-find [coll n]\n (when (and (<= 0 n) (< n (alength arr)))\n (MapEntry. n (->val (aget arr n) prop->key key->prop transform) nil)))\n\n IVector\n (-assoc-n [coll n val]\n (cond\n (and (<= 0 n) (< n (alength arr)))\n (if (not (compatible-value? val true))\n (-assoc-n (snapshot-arr arr) n val)\n (let [new-arr (aclone arr)]\n (aset new-arr n (unwrap val))\n (ArrayVector. meta prop->key key->prop transform new-arr nil)))\n (== n (alength arr)) (-conj coll val)\n :else (throw (js/Error. (str \"Index \" n \" out of bounds [0,\" (alength arr) \"]\")))))\n\n\n IReduce\n (-reduce [v f]\n (core/ci-reduce v f))\n (-reduce [v f init]\n (core/ci-reduce v f init))\n\n\n IKVReduce\n (-kv-reduce [v f init]\n ;; Derived from PersistentVector -kv-reduce\n (loop [i 0 init init]\n (if (< i (alength arr))\n (let [len (alength arr)\n init (loop [j 0 init init]\n (if (< j len)\n (let [init (f init (+ j i) (->val (aget arr j) prop->key key->prop transform))]\n (if (reduced? init)\n init\n (recur (inc j) init)))\n init))]\n (if (reduced? init)\n @init\n (recur (+ i len) init)))\n init)))\n\n IFn\n (-invoke [coll k]\n (-nth coll k))\n (-invoke [coll k not-found]\n (-nth coll k not-found))\n\n IEditableCollection\n (-as-transient [coll]\n (TransientArrayVector. true (aclone arr) prop->key key->prop transform))\n\n IReversible\n (-rseq [coll]\n (when (pos? (alength arr))\n (RSeq. coll (dec (alength arr)) nil)))\n\n IIterable\n (-iterator [_]\n (ArrayVectorIterator. prop->key key->prop transform arr 0 (alength arr)))\n\n IComparable\n (-compare [x y]\n (if (vector? y)\n (core/compare-indexed x y)\n (throw (js/Error. (str \"Cannot compare \" x \" to \" y)))))\n\n IPrintWithWriter\n (-pr-writer [coll writer opts]\n (pr-sequential-writer writer pr-writer \"[\" \" \" \"]\" opts coll)))\n\n(defn- default-key->prop [x]\n (when (keyword? x)\n (.-fqn x)))\n\n(defn bean\n \"Takes a JavaScript object and returns a read-only implementation of the map\n abstraction backed by the object.\n\n By default, bean produces beans that keywordize the keys. Supply\n :keywordize-keys false to suppress this behavior. You can alternatively\n supply :prop->key and :key->prop with functions that control the mapping\n between properties and keys.\n\n Supply :recursive true to create a bean which recursively converts\n JavaScript object values to beans and JavaScript arrays into vectors.\n\n Supply :transform and a function of one argument to transform values being\n converted from JavaScript to ClojureScript. This function should return nil\n if no conversion is to be performed, thus allowing default logic to be applied.\n\n Calling (bean) produces an empty bean.\"\n ([]\n (Bean. nil #js {} keyword default-key->prop nil false #js [] 0 nil))\n ([x]\n (Bean. nil x keyword default-key->prop nil false nil nil nil))\n ([x & opts]\n (let [{:keys [keywordize-keys prop->key key->prop transform recursive]} opts]\n (cond\n (false? keywordize-keys)\n (Bean. nil x identity identity transform (boolean recursive) nil nil nil)\n\n (and (some? prop->key) (some? key->prop))\n (Bean. nil x prop->key key->prop transform (boolean recursive) nil nil nil)\n\n :else\n (Bean. nil x keyword default-key->prop transform (boolean recursive) nil nil nil)))))\n\n(defn bean?\n \"Returns true if x is a bean.\"\n [x]\n (instance? Bean x))\n\n(defn ^js object\n \"Takes a bean and returns a JavaScript object.\"\n [b]\n (.-obj b))\n\n(defn ->clj\n \"Recursively converts JavaScript values to ClojureScript.\n\n JavaScript objects are converted to beans with keywords for keys.\n\n JavaScript arrays are converted to read-only implementations of the vector\n abstraction, backed by the supplied array.\n\n By default, ->clj produces values that keywordize the keys. Supply\n :keywordize-keys false to suppress this behavior. You can alternatively\n supply :prop->key and :key->prop with functions that control the mapping\n between properties and keys.\n\n Supply :transform and a function of one argument to transform values being\n converted from JavaScript to ClojureScript. This function should return nil\n if no conversion is to be performed, thus allowing default logic to be applied.\"\n ([x]\n (->val x keyword default-key->prop nil))\n ([x & opts]\n (let [{:keys [keywordize-keys prop->key key->prop transform]} opts]\n (cond\n (false? keywordize-keys)\n (->val x identity identity transform)\n\n (and (some? prop->key) (some? key->prop))\n (->val x prop->key key->prop transform)\n\n :else\n (->val x keyword default-key->prop transform)))))\n\n(defn ->js\n \"Recursively converts ClojureScript values to JavaScript.\n\n Where possible, directly returns the backing objects and arrays for values\n produced using ->clj and bean.\n\n Otherwise delegates to clj->js to perform the conversion, converting keyword\n keys using their qualified names. You can alternatively supply :key->prop with\n a function that controls the mapping from keys to properties.\"\n ([x]\n (cond\n (instance? Bean x) (.-obj x)\n (instance? ArrayVector x) (.-arr x)\n :else (clj->js x :keyword-fn default-key->prop)))\n ([x & opts]\n (cond\n (instance? Bean x) (.-obj x)\n (instance? ArrayVector x) (.-arr x)\n :else (let [{:keys [key->prop]\n :or {key->prop default-key->prop}} opts]\n (clj->js x :keyword-fn key->prop)))))\n\n(defn- set-empty-colls!\n \"Set empty map and array to Bean and ArrayVector. Useful for testing.\"\n []\n (set! (.. js/cljs -core -PersistentArrayMap -EMPTY) (->clj #js {}))\n (set! (.. js/cljs -core -PersistentVector -EMPTY) (->clj #js []))\n nil)\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs_bean.from.cljs.core.js b/out/cljs-runtime/cljs_bean.from.cljs.core.js new file mode 100644 index 0000000..6ab7346 --- /dev/null +++ b/out/cljs-runtime/cljs_bean.from.cljs.core.js @@ -0,0 +1,413 @@ +goog.provide('cljs_bean.from.cljs.core'); +cljs_bean.from.cljs.core._indexOf = (function cljs_bean$from$cljs$core$_indexOf(var_args){ +var G__37559 = arguments.length; +switch (G__37559) { +case 2: +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ +return cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0)); +})); + +(cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ +var len = cljs.core.count(coll); +if((start >= len)){ +return (-1); +} else { +var idx = (((start > (0)))?start:(((start < (0)))?(function (){var x__5130__auto__ = (0); +var y__5131__auto__ = (start + len); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})():start +)); +while(true){ +if((idx < len)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx),x)){ +return idx; +} else { +var G__37687 = (idx + (1)); +idx = G__37687; +continue; +} +} else { +return (-1); +} +break; +} +} +})); + +(cljs_bean.from.cljs.core._indexOf.cljs$lang$maxFixedArity = 3); + +cljs_bean.from.cljs.core._lastIndexOf = (function cljs_bean$from$cljs$core$_lastIndexOf(var_args){ +var G__37567 = arguments.length; +switch (G__37567) { +case 2: +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2 = (function (coll,x){ +return cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll)); +})); + +(cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3 = (function (coll,x,start){ +var len = cljs.core.count(coll); +if((len === (0))){ +return (-1); +} else { +var idx = (((start > (0)))?(function (){var x__5133__auto__ = (len - (1)); +var y__5134__auto__ = start; +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})():(((start < (0)))?(len + start):start +)); +while(true){ +if((idx >= (0))){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx),x)){ +return idx; +} else { +var G__37712 = (idx - (1)); +idx = G__37712; +continue; +} +} else { +return (-1); +} +break; +} +} +})); + +(cljs_bean.from.cljs.core._lastIndexOf.cljs$lang$maxFixedArity = 3); + +/** + * Compare indexed collection. + */ +cljs_bean.from.cljs.core.compare_indexed = (function cljs_bean$from$cljs$core$compare_indexed(var_args){ +var G__37594 = arguments.length; +switch (G__37594) { +case 2: +return cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 4: +return cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2 = (function (xs,ys){ +var xl = cljs.core.count(xs); +var yl = cljs.core.count(ys); +if((xl < yl)){ +return (-1); +} else { +if((xl > yl)){ +return (1); +} else { +if((xl === (0))){ +return (0); +} else { +return cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4(xs,ys,xl,(0)); + +} +} +} +})); + +(cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4 = (function (xs,ys,len,n){ +while(true){ +var d = cljs.core.compare(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(xs,n),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(ys,n)); +if((((d === (0))) && (((n + (1)) < len)))){ +var G__37715 = xs; +var G__37716 = ys; +var G__37717 = len; +var G__37718 = (n + (1)); +xs = G__37715; +ys = G__37716; +len = G__37717; +n = G__37718; +continue; +} else { +return d; +} +break; +} +})); + +(cljs_bean.from.cljs.core.compare_indexed.cljs$lang$maxFixedArity = 4); + +/** + * Assumes x is sequential. Returns true if x equals y, otherwise + * returns false. + */ +cljs_bean.from.cljs.core.equiv_sequential = (function cljs_bean$from$cljs$core$equiv_sequential(x,y){ +return cljs.core.boolean$(((cljs.core.sequential_QMARK_(y))?((((cljs.core.counted_QMARK_(x)) && (((cljs.core.counted_QMARK_(y)) && ((!((cljs.core.count(x) === cljs.core.count(y)))))))))?false:(function (){var xs = cljs.core.seq(x); +var ys = cljs.core.seq(y); +while(true){ +if((xs == null)){ +return (ys == null); +} else { +if((ys == null)){ +return false; +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.first(xs),cljs.core.first(ys))){ +var G__37720 = cljs.core.next(xs); +var G__37721 = cljs.core.next(ys); +xs = G__37720; +ys = G__37721; +continue; +} else { +return false; + +} +} +} +break; +} +})()):null)); +}); +/** + * Accepts any collection which satisfies the ICount and IIndexed protocols and + * reduces them without incurring seq initialization + */ +cljs_bean.from.cljs.core.ci_reduce = (function cljs_bean$from$cljs$core$ci_reduce(var_args){ +var G__37614 = arguments.length; +switch (G__37614) { +case 2: +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2 = (function (cicoll,f){ +var cnt = cicoll.cljs$core$ICounted$_count$arity$1(null, ); +if((cnt === (0))){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +} else { +var val = cicoll.cljs$core$IIndexed$_nth$arity$2(null, (0)); +var n = (1); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__37635 = val; +var G__37636 = cicoll.cljs$core$IIndexed$_nth$arity$2(null, n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__37635,G__37636) : f.call(null, G__37635,G__37636)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__37724 = nval; +var G__37725 = (n + (1)); +val = G__37724; +n = G__37725; +continue; +} +} else { +return val; +} +break; +} +} +})); + +(cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3 = (function (cicoll,f,val){ +var cnt = cicoll.cljs$core$ICounted$_count$arity$1(null, ); +var val__$1 = val; +var n = (0); +while(true){ +if((n < cnt)){ +var nval = (function (){var G__37657 = val__$1; +var G__37658 = cicoll.cljs$core$IIndexed$_nth$arity$2(null, n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__37657,G__37658) : f.call(null, G__37657,G__37658)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__37732 = nval; +var G__37733 = (n + (1)); +val__$1 = G__37732; +n = G__37733; +continue; +} +} else { +return val__$1; +} +break; +} +})); + +(cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$4 = (function (cicoll,f,val,idx){ +var cnt = cicoll.cljs$core$ICounted$_count$arity$1(null, ); +var val__$1 = val; +var n = idx; +while(true){ +if((n < cnt)){ +var nval = (function (){var G__37664 = val__$1; +var G__37665 = cicoll.cljs$core$IIndexed$_nth$arity$2(null, n); +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__37664,G__37665) : f.call(null, G__37664,G__37665)); +})(); +if(cljs.core.reduced_QMARK_(nval)){ +return cljs.core.deref(nval); +} else { +var G__37736 = nval; +var G__37737 = (n + (1)); +val__$1 = G__37736; +n = G__37737; +continue; +} +} else { +return val__$1; +} +break; +} +})); + +(cljs_bean.from.cljs.core.ci_reduce.cljs$lang$maxFixedArity = 4); + +cljs_bean.from.cljs.core.TransientArrayMap_conj_BANG_ = (function cljs_bean$from$cljs$core$TransientArrayMap_conj_BANG_(tcoll,o,editable_QMARK_){ +if(cljs.core.truth_(editable_QMARK_)){ +if(cljs.core.map_entry_QMARK_(o)){ +return tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null, cljs.core.key(o),cljs.core.val(o)); +} else { +if(cljs.core.vector_QMARK_(o)){ +return tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null, (o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((0)) : o.call(null, (0))),(o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((1)) : o.call(null, (1)))); +} else { +var es = cljs.core.seq(o); +var tcoll__$1 = tcoll; +while(true){ +var temp__5821__auto__ = cljs.core.first(es); +if(cljs.core.truth_(temp__5821__auto__)){ +var e = temp__5821__auto__; +var G__37738 = cljs.core.next(es); +var G__37739 = cljs.core._assoc_BANG_(tcoll__$1,cljs.core.key(e),cljs.core.val(e)); +es = G__37738; +tcoll__$1 = G__37739; +continue; +} else { +return tcoll__$1; +} +break; +} + +} +} +} else { +throw (new Error("conj! after persistent!")); +} +}); +cljs_bean.from.cljs.core.PersistentArrayMap_conj = (function cljs_bean$from$cljs$core$PersistentArrayMap_conj(coll,entry){ +if(cljs.core.vector_QMARK_(entry)){ +return coll.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry,(0)),cljs.core._nth(entry,(1))); +} else { +var ret = coll; +var es = cljs.core.seq(entry); +while(true){ +if((es == null)){ +return ret; +} else { +var e = cljs.core.first(es); +if(cljs.core.vector_QMARK_(e)){ +var G__37743 = cljs.core._assoc(ret,cljs.core._nth(e,(0)),cljs.core._nth(e,(1))); +var G__37744 = cljs.core.next(es); +ret = G__37743; +es = G__37744; +continue; +} else { +throw (new Error("conj on a map takes map entries or seqables of map entries")); +} +} +break; +} +} +}); +cljs_bean.from.cljs.core.TransientVector_assoc_BANG_ = (function cljs_bean$from$cljs$core$TransientVector_assoc_BANG_(tcoll,key,val,type_name){ +if(typeof key === 'number'){ +return tcoll.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3(null, key,val); +} else { +throw (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1(type_name),"'s key for assoc! must be a number."].join(''))); +} +}); +cljs_bean.from.cljs.core.PersistentVector_equiv = (function cljs_bean$from$cljs$core$PersistentVector_equiv(coll,other,type,cnt){ +if((other instanceof type)){ +if((cnt === cljs.core.count(other))){ +var me_iter = coll.cljs$core$IIterable$_iterator$arity$1(null, ); +var you_iter = cljs.core._iterator(other); +while(true){ +if(me_iter.hasNext()){ +var x = me_iter.next(); +var y = you_iter.next(); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)){ +continue; +} else { +return false; +} +} else { +return true; +} +break; +} +} else { +return false; +} +} else { +return cljs_bean.from.cljs.core.equiv_sequential(coll,other); +} +}); +cljs_bean.from.cljs.core.PersistentVector_lookup = (function cljs_bean$from$cljs$core$PersistentVector_lookup(coll,k,not_found){ +if(typeof k === 'number'){ +return coll.cljs$core$IIndexed$_nth$arity$3(null, k,not_found); +} else { +return not_found; +} +}); +cljs_bean.from.cljs.core.PersistentVector_assoc = (function cljs_bean$from$cljs$core$PersistentVector_assoc(coll,k,v){ +if(typeof k === 'number'){ +return coll.cljs$core$IVector$_assoc_n$arity$3(null, k,v); +} else { +throw (new Error("Vector's key for assoc must be a number.")); +} +}); +cljs_bean.from.cljs.core.PersistentVector_contains_key_QMARK_ = (function cljs_bean$from$cljs$core$PersistentVector_contains_key_QMARK_(coll,k,cnt){ +if(cljs.core.integer_QMARK_(k)){ +return ((((0) <= k)) && ((k < cnt))); +} else { +return false; +} +}); + +//# sourceMappingURL=cljs_bean.from.cljs.core.js.map diff --git a/out/cljs-runtime/cljs_bean.from.cljs.core.js.map b/out/cljs-runtime/cljs_bean.from.cljs.core.js.map new file mode 100644 index 0000000..080c47a --- /dev/null +++ b/out/cljs-runtime/cljs_bean.from.cljs.core.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs_bean/from/cljs/core.cljs"],"mappings":";AAWA,AAAA,oCAAA,4CAAAA,hFAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,gEAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,gEAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,CAAA,kEAAA,lEAAMD,6EACUE,KAAKC;AADrB,AAEG,8EAAA,vEAACC,gEAASF,KAAKC;;;AAFlB,CAAA,kEAAA,lEAAMH,6EAGUE,KAAKC,EAAEE;AAHvB,AAIG,IAAMC,MAAI,AAACC,gBAAML;AAAjB,AACE,GAAI,CAAIG,SAAMC;AAAd;;AAEE,IAAOE,MAAI,uBAAA,rBACE,SAAA,RAAMH,cAAOA,QACb,SAAA,RAAMA,cAAO,iBAAAI,kBAAA;IAAAC,kBAAO,CAAGL,QAAMC;AAAhB,AAAA,SAAAG,kBAAAC,mBAAAD,kBAAAC;KAFf,AA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_bean.from.cljs.core._indexOf","start","len","cljs.core/count","idx","x__5130__auto__","y__5131__auto__","cljs.core._EQ_","cljs.core.nth","G__37567","cljs-bean.from.cljs.core/-lastIndexOf","cljs_bean.from.cljs.core._lastIndexOf","x__5133__auto__","y__5134__auto__","G__37594","cljs-bean.from.cljs.core/compare-indexed","xs","ys","xl","yl","cljs_bean.from.cljs.core.compare_indexed","n","d","cljs.core/compare","cljs-bean.from.cljs.core/equiv-sequential","y","cljs.core/boolean","cljs.core/sequential?","cljs.core/counted?","cljs.core/seq","cljs.core/first","cljs.core/next","G__37614","cljs-bean.from.cljs.core/ci-reduce","cicoll","f","cnt","val","nval","G__37635","G__37636","cljs.core/deref","cljs.core/reduced?","G__37657","G__37658","G__37664","G__37665","cljs-bean.from.cljs.core/TransientArrayMap-conj!","tcoll","o","editable?","cljs.core/map-entry?","cljs.core/key","cljs.core/val","cljs.core/vector?","es","temp__5821__auto__","e","cljs.core/-assoc!","cljs-bean.from.cljs.core/PersistentArrayMap-conj","entry","cljs.core/-nth","ret","cljs.core/-assoc","cljs-bean.from.cljs.core/TransientVector-assoc!","key","type-name","cljs-bean.from.cljs.core/PersistentVector-equiv","other","type","me-iter","you-iter","cljs.core/-iterator","cljs-bean.from.cljs.core/PersistentVector-lookup","k","not-found","cljs-bean.from.cljs.core/PersistentVector-assoc","v","cljs-bean.from.cljs.core/PersistentVector-contains-key?","cljs.core/integer?"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns ^:no-doc cljs-bean.from.cljs.core)\n\n;; Copied and made public, adding ^not-native hints\n(defn -indexOf\n ([^not-native coll x]\n (-indexOf coll x 0))\n ([^not-native coll x start]\n (let [len (count coll)]\n (if (>= start len)\n -1\n (loop [idx (cond\n (pos? start) start\n (neg? start) (max 0 (+ start len))\n :else start)]\n (if (< idx len)\n (if (= (nth coll idx) x)\n idx\n (recur (inc idx)))\n -1))))))\n\n;; Copied and made public, adding ^not-native hints\n(defn -lastIndexOf\n ([^not-native coll x]\n (-lastIndexOf coll x (count coll)))\n ([^not-native coll x start]\n (let [len (count coll)]\n (if (zero? len)\n -1\n (loop [idx (cond\n (pos? start) (min (dec len) start)\n (neg? start) (+ len start)\n :else start)]\n (if (>= idx 0)\n (if (= (nth coll idx) x)\n idx\n (recur (dec idx)))\n -1))))))\n\n;; Copied and made public, adding ^not-native hints\n(defn compare-indexed\n \"Compare indexed collection.\"\n ([^not-native xs ys]\n (let [xl (count xs)\n yl (count ys)]\n (cond\n (< xl yl) -1\n (> xl yl) 1\n (== xl 0) 0\n :else (compare-indexed xs ys xl 0))))\n ([^not-native xs ys len n]\n (let [d (compare (nth xs n) (nth ys n))]\n (if (and (zero? d) (< (+ n 1) len))\n (recur xs ys len (inc n))\n d))))\n\n;; Copied and made public, adding ^not-native hint\n(defn equiv-sequential\n \"Assumes x is sequential. Returns true if x equals y, otherwise\n returns false.\"\n [^not-native x y]\n (boolean\n (when (sequential? y)\n (if (and (counted? x) (counted? y)\n (not (== (count x) (count y))))\n false\n (loop [xs (seq x) ys (seq y)]\n (cond (nil? xs) (nil? ys)\n (nil? ys) false\n (= (first xs) (first ys)) (recur (next xs) (next ys))\n :else false))))))\n\n;; Copied and made public, adding ^not-native hints\n(defn ci-reduce\n \"Accepts any collection which satisfies the ICount and IIndexed protocols and\nreduces them without incurring seq initialization\"\n ([^not-native cicoll f]\n (let [cnt (-count cicoll)]\n (if (zero? cnt)\n (f)\n (loop [val (-nth cicoll 0), n 1]\n (if (< n cnt)\n (let [nval (f val (-nth cicoll n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val)))))\n ([^not-native cicoll f val]\n (let [cnt (-count cicoll)]\n (loop [val val, n 0]\n (if (< n cnt)\n (let [nval (f val (-nth cicoll n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val))))\n ([^not-native cicoll f val idx]\n (let [cnt (-count cicoll)]\n (loop [val val, n idx]\n (if (< n cnt)\n (let [nval (f val (-nth cicoll n))]\n (if (reduced? nval)\n @nval\n (recur nval (inc n))))\n val)))))\n\n;; Copied from TransientArrayMap and modified with editable? param, adding ^not-native hint\n(defn TransientArrayMap-conj! [^not-native tcoll o editable?]\n (if editable?\n (cond\n (map-entry? o)\n (-assoc! tcoll (key o) (val o))\n\n (vector? o)\n (-assoc! tcoll (o 0) (o 1))\n\n :else\n (loop [es (seq o) tcoll tcoll]\n (if-let [e (first es)]\n (recur (next es)\n (-assoc! tcoll (key e) (val e)))\n tcoll)))\n (throw (js/Error. \"conj! after persistent!\"))))\n\n;; Copied from PersistentArrayMap, adding ^not-native hint\n(defn PersistentArrayMap-conj [^not-native coll entry]\n (if (vector? entry)\n (-assoc coll (-nth entry 0) (-nth entry 1))\n (loop [ret coll es (seq entry)]\n (if (nil? es)\n ret\n (let [e (first es)]\n (if (vector? e)\n (recur (-assoc ret (-nth e 0) (-nth e 1))\n (next es))\n (throw (js/Error. \"conj on a map takes map entries or seqables of map entries\"))))))))\n\n;; Copied from TransientVector and parameterized on type-name, adding ^not-native hint\n(defn TransientVector-assoc! [^not-native tcoll key val type-name]\n (if (number? key)\n (-assoc-n! tcoll key val)\n (throw (js/Error. (str type-name \"'s key for assoc! must be a number.\")))))\n\n;; Copied from PersistentVector and parameterized on type and cnt, adding ^not-native hint\n(defn PersistentVector-equiv [^not-native coll other type cnt]\n (if (instance? type other)\n (if (== cnt (count other))\n (let [me-iter (-iterator coll)\n you-iter (-iterator other)]\n (loop []\n (if ^boolean (.hasNext me-iter)\n (let [x (.next me-iter)\n y (.next you-iter)]\n (if (= x y)\n (recur)\n false))\n true)))\n false)\n (equiv-sequential coll other)))\n\n;; Copied from PersistentVector, adding ^not-native hint\n(defn PersistentVector-lookup [^not-native coll k not-found]\n (if (number? k)\n (-nth coll k not-found)\n not-found))\n\n;; Copied from PersistentVector, adding ^not-native hint\n(defn PersistentVector-assoc [^not-native coll k v]\n (if (number? k)\n (-assoc-n coll k v)\n (throw (js/Error. \"Vector's key for assoc must be a number.\"))))\n\n;; Copied from PersistentVector an parameterized on cnt\n(defn PersistentVector-contains-key? [coll k cnt]\n (if (integer? k)\n (and (<= 0 k) (< k cnt))\n false))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cljs_react_devtools.core.js b/out/cljs-runtime/cljs_react_devtools.core.js new file mode 100644 index 0000000..5ccb3e0 --- /dev/null +++ b/out/cljs-runtime/cljs_react_devtools.core.js @@ -0,0 +1,2439 @@ +goog.provide('cljs_react_devtools.core'); +if((typeof cljs_react_devtools !== 'undefined') && (typeof cljs_react_devtools.core !== 'undefined') && (typeof cljs_react_devtools.core.popout_window !== 'undefined')){ +} else { +cljs_react_devtools.core.popout_window = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null); +} +cljs_react_devtools.core.color_themes = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"light","light",1918998747),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"icon-chevron","icon-chevron",-1823771456),new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509),new cljs.core.Keyword(null,"highlight-text","highlight-text",980506446),new cljs.core.Keyword(null,"resize-handle","resize-handle",542557491),new cljs.core.Keyword(null,"data-view-primitive","data-view-primitive",-805867117),new cljs.core.Keyword(null,"devtools-text","devtools-text",1734170100),new cljs.core.Keyword(null,"data-view-keyword","data-view-keyword",-1300167945),new cljs.core.Keyword(null,"devtools-bg","devtools-bg",-1808526887),new cljs.core.Keyword(null,"tree-view-bg","tree-view-bg",1629664539),new cljs.core.Keyword(null,"highlight-bg","highlight-bg",747485851),new cljs.core.Keyword(null,"data-view-string","data-view-string",2012141852)],["#b78ff1","#a769ff","#8835ff","#fcf8ff","#216aef","#51485f","#c94d22","#fefdff","#fbfafd","#eadcff","#388e28"]),new cljs.core.Keyword(null,"dark","dark",1818973999),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"icon-chevron","icon-chevron",-1823771456),new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509),new cljs.core.Keyword(null,"highlight-text","highlight-text",980506446),new cljs.core.Keyword(null,"resize-handle","resize-handle",542557491),new cljs.core.Keyword(null,"data-view-primitive","data-view-primitive",-805867117),new cljs.core.Keyword(null,"devtools-text","devtools-text",1734170100),new cljs.core.Keyword(null,"data-view-keyword","data-view-keyword",-1300167945),new cljs.core.Keyword(null,"devtools-bg","devtools-bg",-1808526887),new cljs.core.Keyword(null,"tree-view-bg","tree-view-bg",1629664539),new cljs.core.Keyword(null,"highlight-bg","highlight-bg",747485851),new cljs.core.Keyword(null,"data-view-string","data-view-string",2012141852)],["#ede2fd","#ebe0fc","#ebe0fb","#3e2e44","#7be0ff","#ede2ff","#fac543","#302b32","#2d292d","#4d27f9","#5de144"])], null); +cljs_react_devtools.core.theme = uix.core.create_context.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"light","light",1918998747).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes)); +cljs_react_devtools.core.node__GT_siblings = (function cljs_react_devtools$core$node__GT_siblings(node){ +if(cljs.core.truth_(node)){ +return (new cljs.core.LazySeq(null,(function (){ +return cljs.core.cons(node,(cljs.core.truth_(node.sibling)?(function (){var G__30150 = node.sibling; +return (cljs_react_devtools.core.node__GT_siblings.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.node__GT_siblings.cljs$core$IFn$_invoke$arity$1(G__30150) : cljs_react_devtools.core.node__GT_siblings.call(null, G__30150)); +})():null)); +}),null,null)); +} else { +return null; +} +}); +cljs_react_devtools.core.fiber__GT_child = (function cljs_react_devtools$core$fiber__GT_child(fiber){ +var or__5045__auto__ = fiber.child; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var G__30151 = fiber; +var G__30151__$1 = (((G__30151 == null))?null:G__30151.alternate); +if((G__30151__$1 == null)){ +return null; +} else { +return G__30151__$1.child; +} +} +}); +cljs_react_devtools.core.render_children = (function cljs_react_devtools$core$render_children(node,state,set_state){ +var child = cljs_react_devtools.core.fiber__GT_child(node); +if(cljs.core.truth_(child)){ +var iter__5523__auto__ = (function cljs_react_devtools$core$render_children_$_iter__30152(s__30153){ +return (new cljs.core.LazySeq(null,(function (){ +var s__30153__$1 = s__30153; +while(true){ +var temp__5823__auto__ = cljs.core.seq(s__30153__$1); +if(temp__5823__auto__){ +var s__30153__$2 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(s__30153__$2)){ +var c__5521__auto__ = cljs.core.chunk_first(s__30153__$2); +var size__5522__auto__ = cljs.core.count(c__5521__auto__); +var b__30155 = cljs.core.chunk_buffer(size__5522__auto__); +if((function (){var i__30154 = (0); +while(true){ +if((i__30154 < size__5522__auto__)){ +var node__$1 = cljs.core._nth(c__5521__auto__,i__30154); +cljs.core.chunk_append(b__30155,uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"node","node",581201198),node__$1,new cljs.core.Keyword(null,"state","state",-1988618099),state,new cljs.core.Keyword(null,"set-state","set-state",1344116913),set_state,new cljs.core.Keyword(null,"key","key",-1516042587),node__$1.index], null)],[])); + +var G__30480 = (i__30154 + (1)); +i__30154 = G__30480; +continue; +} else { +return true; +} +break; +} +})()){ +return cljs.core.chunk_cons(cljs.core.chunk(b__30155),cljs_react_devtools$core$render_children_$_iter__30152(cljs.core.chunk_rest(s__30153__$2))); +} else { +return cljs.core.chunk_cons(cljs.core.chunk(b__30155),null); +} +} else { +var node__$1 = cljs.core.first(s__30153__$2); +return cljs.core.cons(uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"node","node",581201198),node__$1,new cljs.core.Keyword(null,"state","state",-1988618099),state,new cljs.core.Keyword(null,"set-state","set-state",1344116913),set_state,new cljs.core.Keyword(null,"key","key",-1516042587),node__$1.index], null)],[]),cljs_react_devtools$core$render_children_$_iter__30152(cljs.core.rest(s__30153__$2))); +} +} else { +return null; +} +break; +} +}),null,null)); +}); +return iter__5523__auto__(cljs_react_devtools.core.node__GT_siblings(child)); +} else { +return null; +} +}); +cljs_react_devtools.core.reagent_node_QMARK_ = (function cljs_react_devtools$core$reagent_node_QMARK_(node){ +var el_type = node.elementType; +var and__5043__auto__ = cljs.core.fn_QMARK_(el_type); +if(and__5043__auto__){ +return el_type.cljs$lang$type; +} else { +return and__5043__auto__; +} +}); +cljs_react_devtools.core.uix_node_QMARK_ = (function cljs_react_devtools$core$uix_node_QMARK_(node){ +var el_type = node.elementType; +var and__5043__auto__ = cljs.core.fn_QMARK_(el_type); +if(and__5043__auto__){ +return el_type.uix_component_QMARK_; +} else { +return and__5043__auto__; +} +}); +cljs_react_devtools.core.memo_node_QMARK_ = (function cljs_react_devtools$core$memo_node_QMARK_(node){ +var el_type = node.elementType; +var and__5043__auto__ = el_type; +if(cljs.core.truth_(and__5043__auto__)){ +return ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,el_type.constructor)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((el_type["$$typeof"]),Symbol.for("react.memo")))); +} else { +return and__5043__auto__; +} +}); +cljs_react_devtools.core.demunge_name = (function cljs_react_devtools$core$demunge_name(name){ +var s = clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge_str(name),/\./); +return [clojure.string.join.cljs$core$IFn$_invoke$arity$2(".",cljs.core.butlast(s)),"/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.last(s))].join(''); +}); +cljs_react_devtools.core.demunge_fn_name = (function cljs_react_devtools$core$demunge_fn_name(name){ +var s = clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge_str(name),/\//); +return [clojure.string.join.cljs$core$IFn$_invoke$arity$2(".",cljs.core.butlast(s)),"/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.last(s))].join(''); +}); +cljs_react_devtools.core.node__GT_name = (function cljs_react_devtools$core$node__GT_name(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___30482 = arguments.length; +var i__5770__auto___30487 = (0); +while(true){ +if((i__5770__auto___30487 < len__5769__auto___30482)){ +args__5775__auto__.push((arguments[i__5770__auto___30487])); + +var G__30488 = (i__5770__auto___30487 + (1)); +i__5770__auto___30487 = G__30488; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic = (function (node,p__30158){ +var map__30159 = p__30158; +var map__30159__$1 = cljs.core.__destructure_map(map__30159); +var lib_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30159__$1,new cljs.core.Keyword(null,"lib?","lib?",-150324554)); +var file_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30159__$1,new cljs.core.Keyword(null,"file?","file?",1755223728)); +var el_type = node.elementType; +var memo_QMARK_ = cljs_react_devtools.core.memo_node_QMARK_(node.return); +return uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'justifyContent':"space-between"}}],[uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs(((typeof el_type === 'string')?el_type:(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))?cljs_react_devtools.core.demunge_name(el_type.displayName):((cljs.core.fn_QMARK_(el_type))?(function (){var or__5045__auto__ = el_type.displayName; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs_react_devtools.core.demunge_fn_name(el_type.name); +} +})():null))),["span",null,null,false],false),[(cljs.core.truth_(memo_QMARK_)?" [memo]":null),(cljs.core.truth_(lib_QMARK_)?(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))?" [reagent]":(cljs.core.truth_(cljs_react_devtools.core.uix_node_QMARK_(node))?" [uix]":((cljs.core.fn_QMARK_(el_type))?" [react]":null))):null)]),uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs((cljs.core.truth_((function (){var and__5043__auto__ = file_QMARK_; +if(cljs.core.truth_(and__5043__auto__)){ +return cljs.core.fn_QMARK_(el_type); +} else { +return and__5043__auto__; +} +})())?(function (){var temp__5823__auto__ = node.type._source; +if(cljs.core.truth_(temp__5823__auto__)){ +var o = temp__5823__auto__; +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(o.file),":",cljs.core.str.cljs$core$IFn$_invoke$arity$1(o.lineNumber)].join(''); +} else { +return null; +} +})():null),["span",null,null,false],false),[])]); +})); + +(cljs_react_devtools.core.node__GT_name.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(cljs_react_devtools.core.node__GT_name.cljs$lang$applyTo = (function (seq30156){ +var G__30157 = cljs.core.first(seq30156); +var seq30156__$1 = cljs.core.next(seq30156); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__30157,seq30156__$1); +})); + +cljs_react_devtools.core.button = (function cljs_react_devtools$core$button(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30162 = [clj_props__29460__auto__]; +var props = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30162,(0),null); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30493 = cljs_react_devtools.core.button.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30493)){ +var f__29390__auto___30494 = temp__5823__auto___30493; +(f__29390__auto___30494.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30494.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30494.call(null, )); +} else { +} +} else { +} + +return uix.compiler.aot._GT_el("button",uix.compiler.attributes.interpret_attrs(cljs.core.update.cljs$core$IFn$_invoke$arity$3(props,new cljs.core.Keyword(null,"style","style",-496642736),(function (p1__30160_SHARP_){ +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"background","background",-863952629),new cljs.core.Keyword(null,"transparent","transparent",-2073609949),new cljs.core.Keyword(null,"border","border",1444987323),new cljs.core.Keyword(null,"none","none",1333468478),new cljs.core.Keyword(null,"cursor","cursor",1011937484),new cljs.core.Keyword(null,"pointer","pointer",85071187),new cljs.core.Keyword(null,"padding","padding",1660304693),(0),new cljs.core.Keyword(null,"opacity","opacity",397153780),(cljs.core.truth_(new cljs.core.Keyword(null,"disabled","disabled",-1529784218).cljs$core$IFn$_invoke$arity$1(props))?0.5:null)], null),cljs.core.filter.cljs$core$IFn$_invoke$arity$2(cljs.core.comp.cljs$core$IFn$_invoke$arity$2(cljs.core.some_QMARK_,cljs.core.val),p1__30160_SHARP_)], 0)); +})),["button",null,null,false],false),[]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30165 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30166 = cljs_react_devtools.core.button; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30166); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30165); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.button.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.button.displayName = "cljs-react-devtools.core/button"); + +Object.defineProperty(cljs_react_devtools.core.button,"name",(function (){var obj30168 = ({"value":"cljs-react-devtools.core/button"}); +return obj30168; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30498 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30498.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30498.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.button,"",null,null) : sig__29399__auto___30498.call(null, cljs_react_devtools.core.button,"",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.button,cljs_react_devtools.core.button.displayName); + +(cljs_react_devtools.core.button.fast_refresh_signature = sig__29399__auto___30498); +} else { +} +} else { +} + +cljs_react_devtools.core.icon_chevron_down = uix.compiler.aot._GT_el("svg",[{'xmlns':"http://www.w3.org/2000/svg",'fill':"none",'viewBox':"0 0 24 24",'strokeWidth':"4",'stroke':"currentColor",'width':(8),'height':(8)}],[uix.compiler.aot._GT_el("path",[{'strokeLinecap':"round",'strokeLinejoin':"round",'d':"M19.5 8.25l-7.5 7.5-7.5-7.5"}],[])]); +cljs_react_devtools.core.icon_cursor_rays = uix.compiler.aot._GT_el("svg",[{'xmlns':"http://www.w3.org/2000/svg",'fill':"none",'viewBox':"0 0 24 24",'strokeWidth':"2",'stroke':"currentColor",'width':(18),'height':(18)}],[uix.compiler.aot._GT_el("path",[{'strokeLinecap':"round",'strokeLinejoin':"round",'d':"M15.042 21.672L13.684 16.6m0 0l-2.51 2.225.569-9.47 5.227 7.917-3.286-.672zM12 2.25V4.5m5.834.166l-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243l-1.59-1.59"}],[])]); +cljs_react_devtools.core.icon_window = uix.compiler.aot._GT_el("svg",[{'xmlns':"http://www.w3.org/2000/svg",'fill':"none",'viewBox':"0 0 24 24",'strokeWidth':"2",'stroke':"currentColor",'width':(18),'height':(18)}],[uix.compiler.aot._GT_el("path",[{'strokeLinecap':"round",'strokeLinejoin':"round",'d':"M3 8.25V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18V8.25m-18 0V6a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6zM7.5 6h.008v.008H7.5V6zm2.25 0h.008v.008H9.75V6z"}],[])]); +cljs_react_devtools.core.icon_dock_bottom = uix.compiler.aot._GT_el("svg",[{'width':(18),'height':(18),'viewBox':"0 0 24 24",'fill':"none",'xmlns':"http://www.w3.org/2000/svg"}],[uix.compiler.aot._GT_el("path",[{'d':"M3 14H21M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z",'stroke':"currentColor",'strokeWidth':"2",'strokeLinecap':"round",'strokeLinejoin':"round"}],[]),uix.compiler.aot._GT_el("path",[{'d':"M3.375 18L3.375 14.5L20.625 14.5L20.625 18C20.625 18.621 20.121 19.125 19.5 19.125L4.5 19.125C3.879 19.125 3.375 18.621 3.375 18Z",'fill':"currentColor"}],[])]); +cljs_react_devtools.core.icon_dock_right = uix.compiler.aot._GT_el("svg",[{'width':(19),'height':(19),'viewBox':"0 0 24 24",'fill':"none",'xmlns':"http://www.w3.org/2000/svg"}],[uix.compiler.aot._GT_el("path",[{'d':"M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z",'stroke':"currentColor",'strokeWidth':"2",'strokeLinecap':"round",'strokeLinejoin':"round"}],[]),uix.compiler.aot._GT_el("path",[{'d':"M19.875 19.5H15V4.5H19.875C20.496 4.5 21 5.004 21 5.625V18.375C21 18.996 20.496 19.5 19.875 19.5Z",'fill':"currentColor"}],[])]); +cljs_react_devtools.core.icon_dock_left = uix.compiler.aot._GT_el("svg",[{'width':(19),'height':(19),'viewBox':"0 0 24 24",'fill':"none",'xmlns':"http://www.w3.org/2000/svg"}],[uix.compiler.aot._GT_el("path",[{'d':"M9 4.5V19.5M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z",'stroke':"currentColor",'strokeWidth':"2",'strokeLinecap':"round",'strokeLinejoin':"round"}],[]),uix.compiler.aot._GT_el("path",[{'d':"M4.125 19.5H9V4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z",'fill':"currentColor"}],[])]); +cljs_react_devtools.core.icon_arrow_path = uix.compiler.aot._GT_el("svg",[{'xmlns':"http://www.w3.org/2000/svg",'fill':"none",'viewBox':"0 0 24 24",'strokeWidth':"2",'stroke':"currentColor",'width':(14),'height':(14)}],[uix.compiler.aot._GT_el("path",[{'strokeLinecap':"round",'strokeLinejoin':"round",'d':"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"}],[])]); +cljs_react_devtools.core.preview_ctx = uix.core.create_context.cljs$core$IFn$_invoke$arity$0(); +cljs_react_devtools.core.has_non_primitive_children_QMARK_ = (function cljs_react_devtools$core$has_non_primitive_children_QMARK_(node){ +var children = cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(node)); +return cljs.core.some((function (p1__30169_SHARP_){ +return (p1__30169_SHARP_.elementType == null); +}),children); +}); +cljs_react_devtools.core.tree_view = (function cljs_react_devtools$core$tree_view(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30171 = [clj_props__29460__auto__]; +var map__30174 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30171,(0),null); +var map__30174__$1 = cljs.core.__destructure_map(map__30174); +var node = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30174__$1,new cljs.core.Keyword(null,"node","node",581201198)); +var state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30174__$1,new cljs.core.Keyword(null,"state","state",-1988618099)); +var set_state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30174__$1,new cljs.core.Keyword(null,"set-state","set-state",1344116913)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30505 = cljs_react_devtools.core.tree_view.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30505)){ +var f__29390__auto___30506 = temp__5823__auto___30505; +(f__29390__auto___30506.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30506.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30506.call(null, )); +} else { +} +} else { +} + +var memo_QMARK_ = cljs_react_devtools.core.memo_node_QMARK_(node); +var node__$1 = (cljs.core.truth_(memo_QMARK_)?cljs_react_devtools.core.fiber__GT_child(node):node); +var el_type = node__$1.elementType; +var vec__30175 = uix.core.use_state(false); +var closed_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30175,(0),null); +var set_closed = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30175,(1),null); +var map__30178 = state; +var map__30178__$1 = cljs.core.__destructure_map(map__30178); +var hide_dom_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30178__$1,new cljs.core.Keyword(null,"hide-dom?","hide-dom?",2128980793)); +var selected = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30178__$1,new cljs.core.Keyword(null,"selected","selected",574897764)); +var selected_QMARK_ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(selected,node__$1); +var set_preview_node = uix.core.use_context(cljs_react_devtools.core.preview_ctx); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +if(cljs.core.truth_((function (){var or__5045__auto__ = (el_type == null); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +var and__5043__auto__ = typeof el_type === 'string'; +if(and__5043__auto__){ +return hide_dom_QMARK_; +} else { +return and__5043__auto__; +} +} +})())){ +return cljs_react_devtools.core.render_children(node__$1,state,set_state); +} else { +return uix.compiler.aot._GT_el("div",[{'style':{'margin':"4px 0 4px 8px"}}],[(cljs.core.truth_(cljs_react_devtools.core.has_non_primitive_children_QMARK_(node__$1))?null:uix.compiler.aot._GT_el("span",[{'style':{'margin':"0 4px 0 0",'color':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"icon-chevron","icon-chevron",-1823771456).cljs$core$IFn$_invoke$arity$1(colors)),'display':"inline-block",'transition':"transform 100ms ease-in-out",'transform':uix.compiler.attributes.keyword__GT_string((cljs.core.truth_(closed_QMARK_)?"rotate(-90deg)":"rotate(0deg)"))}}],[cljs_react_devtools.core.icon_chevron_down])),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"highlight-text","highlight-text",980506446).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,"user-select","user-select",-346451650),new cljs.core.Keyword(null,"none","none",1333468478),new cljs.core.Keyword(null,"background","background",-863952629),((selected_QMARK_)?new cljs.core.Keyword(null,"highlight-bg","highlight-bg",747485851).cljs$core$IFn$_invoke$arity$1(colors):null)], null),new cljs.core.Keyword(null,"on-mouse-enter","on-mouse-enter",-1664921661),(function (){ +return (set_preview_node.cljs$core$IFn$_invoke$arity$1 ? set_preview_node.cljs$core$IFn$_invoke$arity$1(node__$1) : set_preview_node.call(null, node__$1)); +}),new cljs.core.Keyword(null,"on-mouse-leave","on-mouse-leave",-1864319528),(function (){ +return (set_preview_node.cljs$core$IFn$_invoke$arity$1 ? set_preview_node.cljs$core$IFn$_invoke$arity$1(null) : set_preview_node.call(null, null)); +}),new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +var G__30179_30514 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,"selected","selected",574897764),node__$1); +(set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30179_30514) : set_state.call(null, G__30179_30514)); + +if(selected_QMARK_){ +return (set_closed.cljs$core$IFn$_invoke$arity$1 ? set_closed.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_closed.call(null, cljs.core.not)); +} else { +return null; +} +})], null)],[cljs_react_devtools.core.node__GT_name(node__$1)]),(cljs.core.truth_(closed_QMARK_)?null:cljs_react_devtools.core.render_children(node__$1,state,set_state))]); + +} +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30180 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30181 = cljs_react_devtools.core.tree_view; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30181); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30180); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.tree_view.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.tree_view.displayName = "cljs-react-devtools.core/tree-view"); + +Object.defineProperty(cljs_react_devtools.core.tree_view,"name",(function (){var obj30183 = ({"value":"cljs-react-devtools.core/tree-view"}); +return obj30183; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30515 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30515.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30515.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.tree_view,"(uix/use-state false)(uix/use-context preview-ctx)(uix/use-context theme)",null,null) : sig__29399__auto___30515.call(null, cljs_react_devtools.core.tree_view,"(uix/use-state false)(uix/use-context preview-ctx)(uix/use-context theme)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.tree_view,cljs_react_devtools.core.tree_view.displayName); + +(cljs_react_devtools.core.tree_view.fast_refresh_signature = sig__29399__auto___30515); +} else { +} +} else { +} + + +cljs_react_devtools.core.data_view_map = (function cljs_react_devtools$core$data_view_map(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30185 = [clj_props__29460__auto__]; +var map__30188 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30185,(0),null); +var map__30188__$1 = cljs.core.__destructure_map(map__30188); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var tag = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,"tag","tag",-1290361223)); +var entries_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30188__$1,new cljs.core.Keyword(null,"entries-fn","entries-fn",792747104),cljs.core.seq); +var key_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30188__$1,new cljs.core.Keyword(null,"key-fn","key-fn",-636154479),cljs.core.identity); +var open_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,"open?","open?",1238443125)); +var set_open = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703)); +var closing = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,"closing","closing",-1862893890)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30518 = cljs_react_devtools.core.data_view_map.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30518)){ +var f__29390__auto___30519 = temp__5823__auto___30518; +(f__29390__auto___30519.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30519.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30519.call(null, )); +} else { +} +} else { +} + +var entries = (entries_fn.cljs$core$IFn$_invoke$arity$1 ? entries_fn.cljs$core$IFn$_invoke$arity$1(data) : entries_fn.call(null, data)); +if(cljs.core.seq(entries)){ +return cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__30189){ +var vec__30190 = p__30189; +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30190,(0),null); +var val = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30190,(1),null); +var last_idx_QMARK_ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(idx,(cljs.core.count(entries) - (1))); +var closing__$1 = ((last_idx_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs("}",[],false),[closing]):null); +return uix.compiler.aot._GT_el("div",[{'key':uix.compiler.attributes.keyword__GT_string(key),'style':{'display':"flex",'margin':uix.compiler.attributes.keyword__GT_string(((last_idx_QMARK_)?null:"0 0 4px 0"))}}],[(((idx === (0)))?uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs([(cljs.core.truth_(tag)?["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag)," "].join(''):null),"{"].join(''),["span",null,null,false],false),[]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"data","data",-232669377),(key_fn.cljs$core$IFn$_invoke$arity$1 ? key_fn.cljs$core$IFn$_invoke$arity$1(key) : key_fn.call(null, key)),new cljs.core.Keyword(null,"key?","key?",1224624682),true,new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +return (set_open.cljs$core$IFn$_invoke$arity$1 ? set_open.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_open.call(null, cljs.core.not)); +}),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"margin-right","margin-right",809689658),(8),new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),(((idx > (0)))?(cljs.core.truth_(tag)?(7.5 * ((3) + cljs.core.count(tag))):(6)):null)], null)], null)],[]),(cljs.core.truth_(open_QMARK_)?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),val,new cljs.core.Keyword(null,"closing","closing",-1862893890),closing__$1], null)],[]):uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.closed_data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),val,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open], null)],[]),[],false),[closing__$1]))]); +}),entries); +} else { +return null; +} +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30193 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30194 = cljs_react_devtools.core.data_view_map; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30194); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30193); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.data_view_map.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.data_view_map.displayName = "cljs-react-devtools.core/data-view-map"); + +Object.defineProperty(cljs_react_devtools.core.data_view_map,"name",(function (){var obj30196 = ({"value":"cljs-react-devtools.core/data-view-map"}); +return obj30196; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30527 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30527.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30527.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_map,"",null,null) : sig__29399__auto___30527.call(null, cljs_react_devtools.core.data_view_map,"",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_map,cljs_react_devtools.core.data_view_map.displayName); + +(cljs_react_devtools.core.data_view_map.fast_refresh_signature = sig__29399__auto___30527); +} else { +} +} else { +} + +cljs_react_devtools.core.data_view_seq = (function cljs_react_devtools$core$data_view_seq(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30198 = [clj_props__29460__auto__]; +var map__30201 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30198,(0),null); +var map__30201__$1 = cljs.core.__destructure_map(map__30201); +var vec__30202 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,"brackets","brackets",1720097338)); +var open = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30202,(0),null); +var close = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30202,(1),null); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var tag = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,"tag","tag",-1290361223)); +var closing = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,"closing","closing",-1862893890)); +var open_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,"open?","open?",1238443125)); +var set_open = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30528 = cljs_react_devtools.core.data_view_seq.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30528)){ +var f__29390__auto___30529 = temp__5823__auto___30528; +(f__29390__auto___30529.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30529.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30529.call(null, )); +} else { +} +} else { +} + +if(cljs.core.empty_QMARK_(data)){ +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(open,[],false),[close,closing]); +} else { +return uix.compiler.aot._GT_el("div",[{'style':{'display':"flex"}}],[cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,val){ +var last_idx_QMARK_ = cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(idx,(cljs.core.count(data) - (1))); +var closing__$1 = ((last_idx_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(close,[],false),[closing]):null); +return uix.compiler.aot._GT_el("div",[{'key':uix.compiler.attributes.keyword__GT_string(idx),'style':{'display':"flex"}}],[(((idx === (0)))?uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs([(cljs.core.truth_(tag)?["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag)," "].join(''):null),cljs.core.str.cljs$core$IFn$_invoke$arity$1(open)].join(''),["span",null,null,false],false),[]):null),(cljs.core.truth_(open_QMARK_)?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"data","data",-232669377),val,new cljs.core.Keyword(null,"style","style",-496642736),(((idx === (0)))?new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null):null),new cljs.core.Keyword(null,"closing","closing",-1862893890),closing__$1], null)],[]):uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.closed_data_view,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"data","data",-232669377),val,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open,new cljs.core.Keyword(null,"style","style",-496642736),((last_idx_QMARK_)?null:new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-right","margin-right",809689658),(8)], null))], null)],[]),[],false),[closing__$1]))]); +}),data)]); +} +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30205 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30206 = cljs_react_devtools.core.data_view_seq; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30206); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30205); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.data_view_seq.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.data_view_seq.displayName = "cljs-react-devtools.core/data-view-seq"); + +Object.defineProperty(cljs_react_devtools.core.data_view_seq,"name",(function (){var obj30208 = ({"value":"cljs-react-devtools.core/data-view-seq"}); +return obj30208; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30534 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30534.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30534.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_seq,"",null,null) : sig__29399__auto___30534.call(null, cljs_react_devtools.core.data_view_seq,"",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_seq,cljs_react_devtools.core.data_view_seq.displayName); + +(cljs_react_devtools.core.data_view_seq.fast_refresh_signature = sig__29399__auto___30534); +} else { +} +} else { +} + +if((typeof cljs_react_devtools !== 'undefined') && (typeof cljs_react_devtools.core !== 'undefined') && (typeof cljs_react_devtools.core.hint_ctx !== 'undefined')){ +} else { +cljs_react_devtools.core.hint_ctx = uix.core.create_context.cljs$core$IFn$_invoke$arity$0(); +} +cljs_react_devtools.core.fmt_fn = (function cljs_react_devtools$core$fmt_fn(data){ +return ["fn<",cljs.core.str.cljs$core$IFn$_invoke$arity$1(((clojure.string.blank_QMARK_(data.name))?"anonymous":((clojure.string.includes_QMARK_(data.name,"$"))?(function (){var parts = clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge(data.name),"/"); +var name = cljs.core.last(parts); +var ns = clojure.string.join.cljs$core$IFn$_invoke$arity$2(".",cljs.core.butlast(parts)); +return [ns,"/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(''); +})():data.name +))),">"].join(''); +}); +cljs_react_devtools.core.data_view_primitive = (function cljs_react_devtools$core$data_view_primitive(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30210 = [clj_props__29460__auto__]; +var map__30213 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30210,(0),null); +var map__30213__$1 = cljs.core.__destructure_map(map__30213); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var data_raw = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,"data-raw","data-raw",822066711)); +var closing = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,"closing","closing",-1862893890)); +var color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,"color","color",1011675173)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30544 = cljs_react_devtools.core.data_view_primitive.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30544)){ +var f__29390__auto___30545 = temp__5823__auto___30544; +(f__29390__auto___30545.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30545.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30545.call(null, )); +} else { +} +} else { +} + +var data__$1 = (function (){var or__5045__auto__ = data_raw; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([data], 0)); +} +})(); +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el("span",[{'title':uix.compiler.attributes.keyword__GT_string(data__$1),'style':{'color':uix.compiler.attributes.keyword__GT_string(color),'maxWidth':(180),'display':"inline-block",'overflow':"hidden",'textOverflow':"ellipsis"}}],[data__$1]),[],false),[closing]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30214 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30215 = cljs_react_devtools.core.data_view_primitive; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30215); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30214); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.data_view_primitive.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.data_view_primitive.displayName = "cljs-react-devtools.core/data-view-primitive"); + +Object.defineProperty(cljs_react_devtools.core.data_view_primitive,"name",(function (){var obj30217 = ({"value":"cljs-react-devtools.core/data-view-primitive"}); +return obj30217; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30551 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30551.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30551.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_primitive,"",null,null) : sig__29399__auto___30551.call(null, cljs_react_devtools.core.data_view_primitive,"",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_primitive,cljs_react_devtools.core.data_view_primitive.displayName); + +(cljs_react_devtools.core.data_view_primitive.fast_refresh_signature = sig__29399__auto___30551); +} else { +} +} else { +} + +cljs_react_devtools.core.atomic_data_view = (function cljs_react_devtools$core$atomic_data_view(p__30218){ +var map__30219 = p__30218; +var map__30219__$1 = cljs.core.__destructure_map(map__30219); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30219__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var colors = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30219__$1,new cljs.core.Keyword(null,"colors","colors",1157174732)); +if(typeof data === 'number'){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"data-view-primitive","data-view-primitive",-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]); +} else { +if((data == null)){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"data-view-primitive","data-view-primitive",-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]); +} else { +if(cljs.core.boolean_QMARK_(data)){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"data-view-primitive","data-view-primitive",-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]); +} else { +if(typeof data === 'string'){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"data-view-string","data-view-string",2012141852).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]); +} else { +if(cljs.core.uuid_QMARK_(data)){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"data-view-string","data-view-string",2012141852).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]); +} else { +if((data instanceof cljs.core.Keyword)){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"data-view-keyword","data-view-keyword",-1300167945).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]); +} else { +if(cljs.core.fn_QMARK_(data)){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data-raw","data-raw",822066711),cljs_react_devtools.core.fmt_fn(data),new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"data-view-primitive","data-view-primitive",-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]); +} else { +return null; +} +} +} +} +} +} +} +}); +cljs_react_devtools.core.constructor$ = (function cljs_react_devtools$core$constructor(o){ +var G__30220 = o; +if((G__30220 == null)){ +return null; +} else { +return G__30220.constructor; +} +}); +cljs_react_devtools.core.atomic_QMARK_ = cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic(cljs.core.number_QMARK_,cljs.core.nil_QMARK_,cljs.core.boolean_QMARK_,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.string_QMARK_,cljs.core.uuid_QMARK_,cljs.core.keyword_QMARK_,cljs.core.fn_QMARK_], 0)); +cljs_react_devtools.core.closed_data_view = (function cljs_react_devtools$core$closed_data_view(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30223 = [clj_props__29460__auto__]; +var map__30226 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30223,(0),null); +var map__30226__$1 = cljs.core.__destructure_map(map__30226); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var style = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,"style","style",-496642736)); +var key_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,"key?","key?",1224624682)); +var set_open = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30556 = cljs_react_devtools.core.closed_data_view.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30556)){ +var f__29390__auto___30557 = temp__5823__auto___30556; +(f__29390__auto___30557.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30557.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30557.call(null, )); +} else { +} +} else { +} + +var set_active = uix.core.use_context(cljs_react_devtools.core.hint_ctx); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +return uix.compiler.aot._GT_el("pre",[{'style':uix.compiler.attributes.convert_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0),new cljs.core.Keyword(null,"cursor","cursor",1011937484),new cljs.core.Keyword(null,"pointer","pointer",85071187),new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"12px"], null),style], 0)),[],true),'onMouseEnter':(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true)); +}),'onMouseLeave':(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false)); +}),'onClick':(function (p1__30221_SHARP_){ +if(cljs.core.truth_(cljs_react_devtools.core.atomic_QMARK_(data))){ +} else { +(set_open.cljs$core$IFn$_invoke$arity$1 ? set_open.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_open.call(null, cljs.core.not)); +} + +if(cljs.core.truth_(key_QMARK_)){ +return null; +} else { +p1__30221_SHARP_.stopPropagation(); + +return console.dir(data); +} +})}],[((cljs.core.map_QMARK_(data))?((cljs.core.seq(data))?"{...}":"{}"):((cljs.core.vector_QMARK_(data))?((cljs.core.seq(data))?"[...]":"[]"):((cljs.core.set_QMARK_(data))?((cljs.core.seq(data))?"#{...}":"#{}"):((cljs.core.seq_QMARK_(data))?((cljs.core.seq(data))?"(...)":"()"):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,cljs_react_devtools.core.constructor$(data)))?(((Object.keys(data).length > (0)))?"#js {...}":"#js {}"):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Array,cljs_react_devtools.core.constructor$(data)))?(((data.length > (0)))?"#js [...]":"#js []"):(function (){var or__5045__auto__ = cljs_react_devtools.core.atomic_data_view(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"colors","colors",1157174732),colors], null)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return "..."; +} +})() +))))))]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30227 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30228 = cljs_react_devtools.core.closed_data_view; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30228); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30227); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.closed_data_view.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.closed_data_view.displayName = "cljs-react-devtools.core/closed-data-view"); + +Object.defineProperty(cljs_react_devtools.core.closed_data_view,"name",(function (){var obj30230 = ({"value":"cljs-react-devtools.core/closed-data-view"}); +return obj30230; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30564 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30564.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30564.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.closed_data_view,"(uix/use-context hint-ctx)(uix/use-context theme)",null,null) : sig__29399__auto___30564.call(null, cljs_react_devtools.core.closed_data_view,"(uix/use-context hint-ctx)(uix/use-context theme)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.closed_data_view,cljs_react_devtools.core.closed_data_view.displayName); + +(cljs_react_devtools.core.closed_data_view.fast_refresh_signature = sig__29399__auto___30564); +} else { +} +} else { +} + +cljs_react_devtools.core.data_view30231 = (function cljs_react_devtools$core$data_view30231(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30232 = [clj_props__29460__auto__]; +var map__30235 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30232,(0),null); +var map__30235__$1 = cljs.core.__destructure_map(map__30235); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var style = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,"style","style",-496642736)); +var key_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,"key?","key?",1224624682)); +var on_click = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,"on-click","on-click",1632826543)); +var open_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,"open?","open?",1238443125)); +var closing = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,"closing","closing",-1862893890)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30567 = cljs_react_devtools.core.data_view30231.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30567)){ +var f__29390__auto___30568 = temp__5823__auto___30567; +(f__29390__auto___30568.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30568.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30568.call(null, )); +} else { +} +} else { +} + +var set_active = uix.core.use_context(cljs_react_devtools.core.hint_ctx); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +var vec__30236 = uix.core.use_state(open_QMARK_); +var open_QMARK___$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30236,(0),null); +var set_open = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30236,(1),null); +return uix.compiler.aot._GT_el("pre",[{'style':uix.compiler.attributes.convert_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0),new cljs.core.Keyword(null,"cursor","cursor",1011937484),new cljs.core.Keyword(null,"pointer","pointer",85071187),new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"12px"], null),style], 0)),[],true),'onMouseEnter':(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true)); +}),'onMouseLeave':(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false)); +}),'onClick':(function (e){ +if(cljs.core.truth_(on_click)){ +(on_click.cljs$core$IFn$_invoke$arity$0 ? on_click.cljs$core$IFn$_invoke$arity$0() : on_click.call(null, )); +} else { +} + +if(cljs.core.truth_(key_QMARK_)){ +return null; +} else { +e.stopPropagation(); + +return console.dir(data); +} +})}],[((cljs.core.map_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_map,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"open?","open?",1238443125),open_QMARK___$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open,new cljs.core.Keyword(null,"closing","closing",-1862893890),closing], null)],[]):((cljs.core.vector_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"brackets","brackets",1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["[","]"], null),new cljs.core.Keyword(null,"open?","open?",1238443125),open_QMARK___$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open,new cljs.core.Keyword(null,"closing","closing",-1862893890),closing], null)],[]):((cljs.core.set_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"brackets","brackets",1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["#{","}"], null),new cljs.core.Keyword(null,"open?","open?",1238443125),open_QMARK___$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open,new cljs.core.Keyword(null,"closing","closing",-1862893890),closing], null)],[]):((cljs.core.seq_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"brackets","brackets",1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["(",")"], null),new cljs.core.Keyword(null,"open?","open?",1238443125),open_QMARK___$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open,new cljs.core.Keyword(null,"closing","closing",-1862893890),closing], null)],[]):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,cljs_react_devtools.core.constructor$(data)))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_map,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"tag","tag",-1290361223),"js",new cljs.core.Keyword(null,"entries-fn","entries-fn",792747104),Object.entries,new cljs.core.Keyword(null,"key-fn","key-fn",-636154479),cljs.core.keyword,new cljs.core.Keyword(null,"open?","open?",1238443125),open_QMARK___$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open,new cljs.core.Keyword(null,"closing","closing",-1862893890),closing], null)],[]):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Array,cljs_react_devtools.core.constructor$(data)))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"tag","tag",-1290361223),"js",new cljs.core.Keyword(null,"brackets","brackets",1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["[","]"], null),new cljs.core.Keyword(null,"open?","open?",1238443125),open_QMARK___$1,new cljs.core.Keyword(null,"set-open","set-open",-55119703),set_open,new cljs.core.Keyword(null,"closing","closing",-1862893890),closing], null)],[]):(function (){var or__5045__auto__ = cljs_react_devtools.core.atomic_data_view(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),data,new cljs.core.Keyword(null,"colors","colors",1157174732),colors], null)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([data], 0)),[],false),[closing]); +} +})() +))))))]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30239 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30240 = cljs_react_devtools.core.data_view30231; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30240); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30239); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.data_view30231.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.data_view30231.displayName = "cljs-react-devtools.core/data-view"); + +Object.defineProperty(cljs_react_devtools.core.data_view30231,"name",(function (){var obj30242 = ({"value":"cljs-react-devtools.core/data-view"}); +return obj30242; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30578 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30578.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30578.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view30231,"(uix/use-context hint-ctx)(uix/use-context theme)(uix/use-state open?)",null,null) : sig__29399__auto___30578.call(null, cljs_react_devtools.core.data_view30231,"(uix/use-context hint-ctx)(uix/use-context theme)(uix/use-state open?)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.data_view30231,cljs_react_devtools.core.data_view30231.displayName); + +(cljs_react_devtools.core.data_view30231.fast_refresh_signature = sig__29399__auto___30578); +} else { +} +} else { +} + +cljs_react_devtools.core.data_view = uix.core.memo.cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.data_view30231); +cljs_react_devtools.core.node__GT_props = (function cljs_react_devtools$core$node__GT_props(node){ +var el_type = node.elementType; +if(typeof el_type === 'string'){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),node.memoizedProps,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[]); +} else { +if(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),(function (){var props = cljs.core.rest((function (){var G__30243 = node; +var G__30243__$1 = (((G__30243 == null))?null:G__30243.memoizedProps); +if((G__30243__$1 == null)){ +return null; +} else { +return G__30243__$1.argv; +} +})()); +if(cljs.core.seq(props)){ +return cljs.core.vec(props); +} else { +return null; +} +})(),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[]); +} else { +if(cljs.core.truth_(cljs_react_devtools.core.uix_node_QMARK_(node))){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),node.memoizedProps.argv,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[]); +} else { +return null; +} +} +} +}); +cljs_react_devtools.core.node__GT_hooks = (function cljs_react_devtools$core$node__GT_hooks(mem_state){ +if(cljs.core.truth_((function (){var and__5043__auto__ = mem_state; +if(cljs.core.truth_(and__5043__auto__)){ +return (!((mem_state.memoizedState == null))); +} else { +return and__5043__auto__; +} +})())){ +return (new cljs.core.LazySeq(null,(function (){ +return cljs.core.cons(mem_state.memoizedState,(cljs.core.truth_(mem_state.next)?(function (){var G__30244 = mem_state.next; +return (cljs_react_devtools.core.node__GT_hooks.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.node__GT_hooks.cljs$core$IFn$_invoke$arity$1(G__30244) : cljs_react_devtools.core.node__GT_hooks.call(null, G__30244)); +})():null)); +}),null,null)); +} else { +return null; +} +}); +cljs_react_devtools.core.node__GT_captured_state = (function cljs_react_devtools$core$node__GT_captured_state(node){ +var G__30245 = node; +var G__30245__$1 = (((G__30245 == null))?null:G__30245.stateNode); +var G__30245__$2 = (((G__30245__$1 == null))?null:G__30245__$1.cljsRatom); +if((G__30245__$2 == null)){ +return null; +} else { +return G__30245__$2.captured; +} +}); +cljs_react_devtools.core.rf_sub = (function cljs_react_devtools$core$rf_sub(node){ +return node.__devtools_label; +}); +cljs_react_devtools.core.node__GT_rf_subs = (function cljs_react_devtools$core$node__GT_rf_subs(node){ +return cljs.core.keep.cljs$core$IFn$_invoke$arity$2((function (p1__30246_SHARP_){ +var temp__5823__auto__ = cljs_react_devtools.core.rf_sub(p1__30246_SHARP_); +if(cljs.core.truth_(temp__5823__auto__)){ +var label = temp__5823__auto__; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),label,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[]),p1__30246_SHARP_], null); +} else { +return null; +} +}),cljs_react_devtools.core.node__GT_captured_state(node)); +}); +cljs_react_devtools.core.node__GT_reactions = (function cljs_react_devtools$core$node__GT_reactions(node){ +return cljs.core.keep.cljs$core$IFn$_invoke$arity$2((function (p1__30247_SHARP_){ +if(((cljs.core.not((function (){var G__30248 = p1__30247_SHARP_; +var G__30248__$1 = (((G__30248 == null))?null:G__30248.state); +if((G__30248__$1 == null)){ +return null; +} else { +return G__30248__$1.generation; +} +})())) && (cljs.core.not(cljs_react_devtools.core.rf_sub(p1__30247_SHARP_))))){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ratom",p1__30247_SHARP_], null); +} else { +return null; +} +}),cljs_react_devtools.core.node__GT_captured_state(node)); +}); +cljs_react_devtools.core.camel_case__GT_kebab_case = (function cljs_react_devtools$core$camel_case__GT_kebab_case(s){ +return clojure.string.join.cljs$core$IFn$_invoke$arity$2("-",cljs.core.map.cljs$core$IFn$_invoke$arity$2(clojure.string.lower_case,clojure.string.split.cljs$core$IFn$_invoke$arity$2(s,/(?<=[a-z])(?=[A-Z])/))); +}); +cljs_react_devtools.core.section_header = (function cljs_react_devtools$core$section_header(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30250 = [clj_props__29460__auto__]; +var map__30253 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30250,(0),null); +var map__30253__$1 = cljs.core.__destructure_map(map__30253); +var children = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30253__$1,new cljs.core.Keyword(null,"children","children",-940561982)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30588 = cljs_react_devtools.core.section_header.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30588)){ +var f__29390__auto___30591 = temp__5823__auto___30588; +(f__29390__auto___30591.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30591.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30591.call(null, )); +} else { +} +} else { +} + +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +return uix.compiler.aot._GT_el("div",[{'style':{'color':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"highlight-text","highlight-text",980506446).cljs$core$IFn$_invoke$arity$1(colors)),'background':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"highlight-bg","highlight-bg",747485851).cljs$core$IFn$_invoke$arity$1(colors)),'margin':"0 0 4px 0",'padding':"0 4px"}}],[children]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30254 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30255 = cljs_react_devtools.core.section_header; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30255); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30254); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.section_header.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.section_header.displayName = "cljs-react-devtools.core/section-header"); + +Object.defineProperty(cljs_react_devtools.core.section_header,"name",(function (){var obj30257 = ({"value":"cljs-react-devtools.core/section-header"}); +return obj30257; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30592 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30592.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30592.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.section_header,"(uix/use-context theme)",null,null) : sig__29399__auto___30592.call(null, cljs_react_devtools.core.section_header,"(uix/use-context theme)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.section_header,cljs_react_devtools.core.section_header.displayName); + +(cljs_react_devtools.core.section_header.fast_refresh_signature = sig__29399__auto___30592); +} else { +} +} else { +} + +cljs_react_devtools.core.editable_ref = (function cljs_react_devtools$core$editable_ref(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30260 = [clj_props__29460__auto__]; +var map__30263 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30260,(0),null); +var map__30263__$1 = cljs.core.__destructure_map(map__30263); +var ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,"ref","ref",1289896967)); +var set_hint = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619)); +var label = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,"label","label",1718410804)); +var type = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,"type","type",1174270348)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30594 = cljs_react_devtools.core.editable_ref.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30594)){ +var f__29390__auto___30595 = temp__5823__auto___30594; +(f__29390__auto___30595.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30595.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30595.call(null, )); +} else { +} +} else { +} + +var vec__30264 = uix.core.use_state(false); +var active_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30264,(0),null); +var set_active = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30264,(1),null); +var value = ref.state; +return uix.compiler.aot._GT_el("div",[{'onDoubleClick':(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true)); +}),'onMouseEnter':(cljs.core.truth_(active_QMARK_)?null:(function (p1__30258_SHARP_){ +var G__30267_30600 = ["double click on the value to update the ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(label)].join(''); +(set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(G__30267_30600) : set_hint.call(null, G__30267_30600)); + +return p1__30258_SHARP_.stopPropagation(); +})),'onMouseLeave':(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null)); +})}],[(cljs.core.truth_(active_QMARK_)?uix.compiler.aot.create_uix_input("input",[{'defaultValue':uix.compiler.attributes.keyword__GT_string(value),'type':((typeof value === 'number')?new cljs.core.Keyword(null,"number","number",1570378438):new cljs.core.Keyword(null,"text","text",-1790561697)),'autoFocus':true,'onBlur':(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false)); +}),'onKeyDown':(function (e){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(e.key,"Enter")){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"sub","sub",-2093760025),type)){ +(ref.on_set = cljs.core.identity); +} else { +} + +if(typeof value === 'number'){ +cljs.core.reset_BANG_(ref,parseFloat(e.target.value,(10))); +} else { +cljs.core.reset_BANG_(ref,e.target.value); +} + +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"sub","sub",-2093760025),type)){ +(ref.on_set = undefined); +} else { +} + +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false)); +} else { +return null; +} +})}],[]):uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),value,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[]))]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30268 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30269 = cljs_react_devtools.core.editable_ref; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30269); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30268); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.editable_ref.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.editable_ref.displayName = "cljs-react-devtools.core/editable-ref"); + +Object.defineProperty(cljs_react_devtools.core.editable_ref,"name",(function (){var obj30271 = ({"value":"cljs-react-devtools.core/editable-ref"}); +return obj30271; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30603 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30603.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30603.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.editable_ref,"(uix/use-state false)",null,null) : sig__29399__auto___30603.call(null, cljs_react_devtools.core.editable_ref,"(uix/use-state false)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.editable_ref,cljs_react_devtools.core.editable_ref.displayName); + +(cljs_react_devtools.core.editable_ref.fast_refresh_signature = sig__29399__auto___30603); +} else { +} +} else { +} + +cljs_react_devtools.core.reactions_view = (function cljs_react_devtools$core$reactions_view(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30273 = [clj_props__29460__auto__]; +var map__30276 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30273,(0),null); +var map__30276__$1 = cljs.core.__destructure_map(map__30276); +var node = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30276__$1,new cljs.core.Keyword(null,"node","node",581201198)); +var set_hint = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30276__$1,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30606 = cljs_react_devtools.core.reactions_view.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30606)){ +var f__29390__auto___30607 = temp__5823__auto___30606; +(f__29390__auto___30607.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30607.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30607.call(null, )); +} else { +} +} else { +} + +var reactions = cljs_react_devtools.core.node__GT_reactions(node); +var subs = cljs_react_devtools.core.node__GT_rf_subs(node); +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(((cljs.core.seq(reactions))?uix.compiler.aot._GT_el("div",[{'style':{'margin':"8px 0 0 0"}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props("reactions"),[]),cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__30277){ +var vec__30278 = p__30277; +var type = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30278,(0),null); +var reaction = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30278,(1),null); +return uix.compiler.aot._GT_el("div",[{'key':uix.compiler.attributes.keyword__GT_string(idx),'style':{'display':"flex",'justifyContent':"space-between"}}],[uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'gap':(8)}}],[uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs(type,["span",null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.editable_ref,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"ref","ref",1289896967),reaction,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619),set_hint,new cljs.core.Keyword(null,"label","label",1718410804),"reaction"], null)],[])])]); +}),reactions)]):null),[],false),[((cljs.core.seq(subs))?uix.compiler.aot._GT_el("div",[{'style':{'margin':"8px 0 0 0"}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props("re-frame subscriptions"),[]),cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__30281){ +var vec__30282 = p__30281; +var type = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30282,(0),null); +var sub = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30282,(1),null); +return uix.compiler.aot._GT_el("div",[{'key':uix.compiler.attributes.keyword__GT_string(idx),'style':{'display':"flex",'justifyContent':"space-between"}}],[uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'gap':(8)}}],[uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs(type,["span",null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.editable_ref,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"ref","ref",1289896967),sub,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619),set_hint,new cljs.core.Keyword(null,"label","label",1718410804),"subscription",new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"sub","sub",-2093760025)], null)],[])])]); +}),subs)]):null)]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30285 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30286 = cljs_react_devtools.core.reactions_view; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30286); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30285); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.reactions_view.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.reactions_view.displayName = "cljs-react-devtools.core/reactions-view"); + +Object.defineProperty(cljs_react_devtools.core.reactions_view,"name",(function (){var obj30288 = ({"value":"cljs-react-devtools.core/reactions-view"}); +return obj30288; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30609 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30609.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30609.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.reactions_view,"",null,null) : sig__29399__auto___30609.call(null, cljs_react_devtools.core.reactions_view,"",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.reactions_view,cljs_react_devtools.core.reactions_view.displayName); + +(cljs_react_devtools.core.reactions_view.fast_refresh_signature = sig__29399__auto___30609); +} else { +} +} else { +} + +cljs_react_devtools.core.hooks_view = (function cljs_react_devtools$core$hooks_view(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30290 = [clj_props__29460__auto__]; +var map__30293 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30290,(0),null); +var map__30293__$1 = cljs.core.__destructure_map(map__30293); +var node = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30293__$1,new cljs.core.Keyword(null,"node","node",581201198)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30614 = cljs_react_devtools.core.hooks_view.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30614)){ +var f__29390__auto___30615 = temp__5823__auto___30614; +(f__29390__auto___30615.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30615.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30615.call(null, )); +} else { +} +} else { +} + +var hooks = cljs_react_devtools.core.node__GT_hooks(node.memoizedState); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +if(cljs.core.seq(hooks)){ +return uix.compiler.aot._GT_el("div",[{'style':{'margin':"8px 0 0 0"}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props("hooks"),[]),cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,hook){ +if(cljs.core.truth_((function (){var and__5043__auto__ = Array.isArray(hook); +if(cljs.core.truth_(and__5043__auto__)){ +var and__5043__auto____$1 = Array.isArray((hook[(1)])); +if(cljs.core.truth_(and__5043__auto____$1)){ +return ((cljs.core.fn_QMARK_(((hook[(1)])[(0)]))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("bound dispatchSetState",((hook[(1)])[(0)]).name))); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})())){ +return null; +} else { +var name = cljs_react_devtools.core.camel_case__GT_kebab_case((node._debugHookTypes[idx])); +return uix.compiler.aot._GT_el("div",[{'key':uix.compiler.attributes.keyword__GT_string(idx),'style':{'margin':"8px 0"}}],[uix.compiler.aot._GT_el("span",[{'style':{'color':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"highlight-text","highlight-text",980506446).cljs$core$IFn$_invoke$arity$1(colors))}}],[name]),(function (){var G__30294 = name; +switch (G__30294) { +case "use-callback": +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'gap':(8)}}],[uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs("callback:",["span",null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),(hook[(0)]),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[])]),[],false),[uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'gap':(8)}}],[uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs("deps:",["span",null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),cljs.core.vec((hook[(1)])),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[])])]); + +break; +case "use-effect": +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'gap':(8)}}],[uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs("effect:",["span",null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),hook.create,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[])]),[],false),[uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'gap':(8)}}],[uix.compiler.aot._GT_el("span",uix.compiler.attributes.interpret_attrs("deps:",["span",null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),cljs.core.vec(hook.deps),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[])])]); + +break; +case "use-ref": +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),hook.current.current,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[]); + +break; +default: +return uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"data","data",-232669377),hook,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),(0)], null)], null)],[]); + +} +})()]); +} +}),hooks)]); +} else { +return null; +} +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30295 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30296 = cljs_react_devtools.core.hooks_view; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30296); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30295); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.hooks_view.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.hooks_view.displayName = "cljs-react-devtools.core/hooks-view"); + +Object.defineProperty(cljs_react_devtools.core.hooks_view,"name",(function (){var obj30298 = ({"value":"cljs-react-devtools.core/hooks-view"}); +return obj30298; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30639 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30639.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30639.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.hooks_view,"(uix/use-context theme)",null,null) : sig__29399__auto___30639.call(null, cljs_react_devtools.core.hooks_view,"(uix/use-context theme)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.hooks_view,cljs_react_devtools.core.hooks_view.displayName); + +(cljs_react_devtools.core.hooks_view.fast_refresh_signature = sig__29399__auto___30639); +} else { +} +} else { +} + +cljs_react_devtools.core.use_resize_handler = (function cljs_react_devtools$core$use_resize_handler(p__30300){ +var map__30301 = p__30300; +var map__30301__$1 = cljs.core.__destructure_map(map__30301); +var set_size = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30301__$1,new cljs.core.Keyword(null,"set-size","set-size",-1037159587)); +var dir = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30301__$1,new cljs.core.Keyword(null,"dir","dir",1734754661)); +var max = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30301__$1,new cljs.core.Keyword(null,"max","max",61366548),(100)); +var min = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30301__$1,new cljs.core.Keyword(null,"min","min",444991522),(0)); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30301__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var vec__30302 = uix.core.use_state(false); +var active_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30302,(0),null); +var set_active = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30302,(1),null); +var ref = uix.core.use_ref.cljs$core$IFn$_invoke$arity$0(); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +if(cljs.core.truth_(active_QMARK_)){ +var move_handler = (function (e){ +var node = cljs.core.deref(ref); +var bb = node.getBoundingClientRect(); +var v = (((100) / ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,"vertical","vertical",718696748)))?window.innerHeight:window.innerWidth)) * ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,"vertical","vertical",718696748)))?(bb.y - e.y):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"left","left",-399115937)))?(e.x - (bb.x + bb.width)):(bb.x - e.x) +))); +var G__30306 = (function (p1__30299_SHARP_){ +var v__$1 = (p1__30299_SHARP_ + v); +if((((max >= v__$1)) && ((v__$1 >= min)))){ +return v__$1; +} else { +return p1__30299_SHARP_; +} +}); +return (set_size.cljs$core$IFn$_invoke$arity$1 ? set_size.cljs$core$IFn$_invoke$arity$1(G__30306) : set_size.call(null, G__30306)); +}); +var up_handler = (function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false)); +}); +document.addEventListener("mousemove",move_handler); + +document.addEventListener("mouseup",up_handler); + +return (function (){ +document.removeEventListener("mousemove",move_handler); + +return document.removeEventListener("mouseup",up_handler); +}); +} else { +return null; +} +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [active_QMARK_,set_size,dir,max,min,location__$1], null))]); + +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [ref,set_active], null); +}); +cljs_react_devtools.core.resize_handle = (function cljs_react_devtools$core$resize_handle(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30308 = [clj_props__29460__auto__]; +var map__30311 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30308,(0),null); +var map__30311__$1 = cljs.core.__destructure_map(map__30311); +var props = map__30311__$1; +var set_size = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,"set-size","set-size",-1037159587)); +var dir = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,"dir","dir",1734754661)); +var max = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,"max","max",61366548)); +var min = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,"min","min",444991522)); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30644 = cljs_react_devtools.core.resize_handle.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30644)){ +var f__29390__auto___30645 = temp__5823__auto___30644; +(f__29390__auto___30645.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30645.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30645.call(null, )); +} else { +} +} else { +} + +var vec__30312 = cljs_react_devtools.core.use_resize_handler(props); +var ref = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30312,(0),null); +var set_active = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30312,(1),null); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +return uix.compiler.aot._GT_el("div",[{'ref':uix.compiler.attributes.keyword__GT_string(ref),'onMouseDown':(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true)); +}),'style':{'height':uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,"vertical","vertical",718696748)))?"4px":"100%")),'width':uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,"vertical","vertical",718696748)))?"100%":"4px")),'position':"absolute",'left':uix.compiler.attributes.keyword__GT_string(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"left","left",-399115937)))?(0):null)),'right':uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"left","left",-399115937)))?(0):null)),'top':(0),'background':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"resize-handle","resize-handle",542557491).cljs$core$IFn$_invoke$arity$1(colors)),'cursor':uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,"vertical","vertical",718696748)))?new cljs.core.Keyword(null,"ns-resize","ns-resize",956566071):new cljs.core.Keyword(null,"ew-resize","ew-resize",2045777767)))}}],[]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30315 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30316 = cljs_react_devtools.core.resize_handle; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30316); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30315); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.resize_handle.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.resize_handle.displayName = "cljs-react-devtools.core/resize-handle"); + +Object.defineProperty(cljs_react_devtools.core.resize_handle,"name",(function (){var obj30318 = ({"value":"cljs-react-devtools.core/resize-handle"}); +return obj30318; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30648 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30648.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30648.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.resize_handle,"(use-resize-handler props)(uix/use-context theme)",null,null) : sig__29399__auto___30648.call(null, cljs_react_devtools.core.resize_handle,"(use-resize-handler props)(uix/use-context theme)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.resize_handle,cljs_react_devtools.core.resize_handle.displayName); + +(cljs_react_devtools.core.resize_handle.fast_refresh_signature = sig__29399__auto___30648); +} else { +} +} else { +} + +cljs_react_devtools.core.use_size = (function cljs_react_devtools$core$use_size(v,k){ +var vec__30320 = uix.core.use_state((function (){ +var temp__5821__auto__ = localStorage.getItem(cljs.core.str.cljs$core$IFn$_invoke$arity$1(k)); +if(cljs.core.truth_(temp__5821__auto__)){ +var n = temp__5821__auto__; +var n__$1 = parseFloat(n,(10)); +if(cljs.core.truth_(Number.isNaN(n__$1))){ +return v; +} else { +return n__$1; +} +} else { +return v; +} +})); +var size = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30320,(0),null); +var set_size = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30320,(1),null); +var f = uix.hooks.alpha.use_memo((function (){ +return goog.functions.debounce((function (p1__30319_SHARP_){ +return localStorage.setItem(cljs.core.str.cljs$core$IFn$_invoke$arity$1(k),p1__30319_SHARP_); +}),(100)); +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [k], null))]); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(size) : f.call(null, size)); +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [size,f], null))]); + +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [size,set_size], null); +}); +cljs_react_devtools.core.inspector = (function cljs_react_devtools$core$inspector(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30324 = [clj_props__29460__auto__]; +var map__30327 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30324,(0),null); +var map__30327__$1 = cljs.core.__destructure_map(map__30327); +var state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30327__$1,new cljs.core.Keyword(null,"state","state",-1988618099)); +var set_hint = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30327__$1,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619)); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30327__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30651 = cljs_react_devtools.core.inspector.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30651)){ +var f__29390__auto___30652 = temp__5823__auto___30651; +(f__29390__auto___30652.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30652.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30652.call(null, )); +} else { +} +} else { +} + +var map__30328 = state; +var map__30328__$1 = cljs.core.__destructure_map(map__30328); +var selected = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30328__$1,new cljs.core.Keyword(null,"selected","selected",574897764)); +var vec__30329 = cljs_react_devtools.core.use_size((35),new cljs.core.Keyword("cljs-devtools-inspector","ui-size","cljs-devtools-inspector/ui-size",-1292295346)); +var size = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30329,(0),null); +var set_size = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30329,(1),null); +var vec__30332 = uix.core.use_state(false); +var active_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30332,(0),null); +var set_active = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30332,(1),null); +var horizontal_QMARK_ = cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"bottom","bottom",-1550509018),null,new cljs.core.Keyword(null,"window","window",724519534),null], null), null),location__$1); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +if(cljs.core.truth_(active_QMARK_)){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("click on the value to log it to console") : set_hint.call(null, "click on the value to log it to console")); +} else { +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("") : set_hint.call(null, "")); +} +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [active_QMARK_,set_hint], null))]); + +return uix.compiler.aot._GT_el("div",[{'style':{'borderTop':uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?null:"1px solid #8632ff75")),'width':uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),"%"].join(''):"100%")),'flexDirection':"column",'padding':"0 8px 32px",'borderLeft':uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?"1px solid #8632ff75":null)),'display':"flex",'position':"relative",'boxSizing':"border-box",'height':uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?null:[cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),"vh"].join('')))}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.resize_handle,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"set-size","set-size",-1037159587),set_size,new cljs.core.Keyword(null,"dir","dir",1734754661),((horizontal_QMARK_)?new cljs.core.Keyword(null,"horizontal","horizontal",2062109475):new cljs.core.Keyword(null,"vertical","vertical",718696748)),new cljs.core.Keyword(null,"max","max",61366548),(50),new cljs.core.Keyword(null,"min","min",444991522),(20)], null)],[]),(cljs.core.truth_(selected)?uix.compiler.alpha.component_element(cljs_react_devtools.core.hint_ctx.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"value","value",305978217),set_active], null)],[uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +return console.log(selected.elementType); +}),new cljs.core.Keyword(null,"on-mouse-enter","on-mouse-enter",-1664921661),(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true)); +}),new cljs.core.Keyword(null,"on-mouse-leave","on-mouse-leave",-1864319528),(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false)); +}),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"8px 0 0 0",new cljs.core.Keyword(null,"display","display",242065432),new cljs.core.Keyword(null,"block","block",664686210),new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"highlight-text","highlight-text",980506446).cljs$core$IFn$_invoke$arity$1(colors)], null)], null)],[cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic(selected,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"lib?","lib?",-150324554),true,new cljs.core.Keyword(null,"file?","file?",1755223728),true], 0))]),[],false),[uix.compiler.aot._GT_el("div",[{'style':{'margin':"8px 0 0 0",'overflowY':"auto",'flex':(1)}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props("props"),[]),cljs_react_devtools.core.node__GT_props(selected),(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(selected))?uix.compiler.alpha.component_element(cljs_react_devtools.core.reactions_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"node","node",581201198),selected,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619),set_hint], null)],[]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.hooks_view,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"node","node",581201198),selected], null)],[])])])]):null)]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30335 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30336 = cljs_react_devtools.core.inspector; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30336); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30335); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.inspector.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.inspector.displayName = "cljs-react-devtools.core/inspector"); + +Object.defineProperty(cljs_react_devtools.core.inspector,"name",(function (){var obj30338 = ({"value":"cljs-react-devtools.core/inspector"}); +return obj30338; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30662 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30662.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30662.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.inspector,"(use-size 35 :cljs-devtools-inspector/ui-size)(uix/use-state false)(uix/use-context theme)(uix/use-effect (fn [] (if active? (set-hint \"click on the value to log it to console\") (set-hint \"\"))) [active? set-hint])",null,null) : sig__29399__auto___30662.call(null, cljs_react_devtools.core.inspector,"(use-size 35 :cljs-devtools-inspector/ui-size)(uix/use-state false)(uix/use-context theme)(uix/use-effect (fn [] (if active? (set-hint \"click on the value to log it to console\") (set-hint \"\"))) [active? set-hint])",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.inspector,cljs_react_devtools.core.inspector.displayName); + +(cljs_react_devtools.core.inspector.fast_refresh_signature = sig__29399__auto___30662); +} else { +} +} else { +} + +cljs_react_devtools.core.error_boundary = uix.core.create_error_boundary(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"derive-error-state","derive-error-state",-1373095498),(function (error){ +return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"error","error",-978969032),error], null); +})], null),(function (p__30339,p__30340){ +var vec__30341 = p__30339; +var map__30344 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30341,(0),null); +var map__30344__$1 = cljs.core.__destructure_map(map__30344); +var error = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30344__$1,new cljs.core.Keyword(null,"error","error",-978969032)); +var set_state = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30341,(1),null); +var map__30345 = p__30340; +var map__30345__$1 = cljs.core.__destructure_map(map__30345); +var children = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30345__$1,new cljs.core.Keyword(null,"children","children",-940561982)); +if(cljs.core.truth_(error)){ +return uix.compiler.aot._GT_el("div",[{'style':{'color':"#ec681f",'background':"#faf0ec",'flex':(1),'flexDirection':"column",'justifyContent':"center",'gap':(16),'display':"flex",'fontSize':"16px",'alignItems':"center"}}],[uix.compiler.aot._GT_el("div",uix.compiler.attributes.interpret_attrs("Something went wrong",["div",null,null,false],false),[]),uix.compiler.aot._GT_el("div",uix.compiler.attributes.interpret_attrs((((error instanceof Error))?error.message:error),["div",null,null,false],false),[]),uix.compiler.aot._GT_el("a",[{'href':"https://github.com/roman01la/cljs-react-devtools",'target':"blank_",'style':{'background':"#ff784b",'color':"#faf0ec",'padding':"8px 12px",'borderRadius':"3px"}}],["report an issue"])]); +} else { +return children; +} +})); +if((typeof cljs_react_devtools !== 'undefined') && (typeof cljs_react_devtools.core !== 'undefined') && (typeof cljs_react_devtools.core.window_settings !== 'undefined')){ +} else { +cljs_react_devtools.core.window_settings = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"width","width",-384071477),(800),new cljs.core.Keyword(null,"height","height",1025178622),(400),new cljs.core.Keyword(null,"top","top",-1856271961),(0),new cljs.core.Keyword(null,"left","left",-399115937),(0),new cljs.core.Keyword(null,"location","location",1815599388),(function (){var v = localStorage.getItem(":cljs-devtools/window-location"); +if(clojure.string.blank_QMARK_(v)){ +return new cljs.core.Keyword(null,"bottom","bottom",-1550509018); +} else { +return cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(v); +} +})()], null)); +} +cljs_react_devtools.core.close_window = (function cljs_react_devtools$core$close_window(location){ +if(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.popout_window))){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.window_settings,cljs.core.assoc,new cljs.core.Keyword(null,"location","location",1815599388),location); + +return cljs.core.deref(cljs_react_devtools.core.popout_window).close(); +} else { +return (cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$2 ? cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"location","location",1815599388),location) : cljs_react_devtools.core.dock_devtools.call(null, new cljs.core.Keyword(null,"location","location",1815599388),location)); +} +}); +cljs_react_devtools.core.toolbar = (function cljs_react_devtools$core$toolbar(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30347 = [clj_props__29460__auto__]; +var map__30350 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30347,(0),null); +var map__30350__$1 = cljs.core.__destructure_map(map__30350); +var state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"state","state",-1988618099)); +var set_state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"set-state","set-state",1344116913)); +var hint = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"hint","hint",439639918)); +var set_hint = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619)); +var set_inspecting = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"set-inspecting","set-inspecting",-862492542)); +var inspecting_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"inspecting?","inspecting?",784834160)); +var dock_devtools = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"dock-devtools","dock-devtools",-2013730452)); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30667 = cljs_react_devtools.core.toolbar.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30667)){ +var f__29390__auto___30668 = temp__5823__auto___30667; +(f__29390__auto___30668.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30668.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30668.call(null, )); +} else { +} +} else { +} + +var map__30351 = state; +var map__30351__$1 = cljs.core.__destructure_map(map__30351); +var hide_dom_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30351__$1,new cljs.core.Keyword(null,"hide-dom?","hide-dom?",2128980793)); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +return uix.compiler.aot._GT_el("div",[{'style':{'padding':"4px 8px",'borderBottom':"1px solid #8632ff75",'fontSize':"12px",'display':"flex",'justifyContent':"space-between",'gap':(32)}}],[uix.compiler.aot._GT_el("div",[{'onMouseEnter':(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("toggle DOM nodes in the tree view") : set_hint.call(null, "toggle DOM nodes in the tree view")); +}),'onMouseLeave':(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null)); +})}],[uix.compiler.aot.create_uix_input("input",[{'id':"cljs-devtools_hide-mo-nodes",'type':"checkbox",'checked':uix.compiler.attributes.keyword__GT_string(hide_dom_QMARK_),'onChange':(function (){ +var G__30352 = cljs.core.update.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,"hide-dom?","hide-dom?",2128980793),cljs.core.not); +return (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30352) : set_state.call(null, G__30352)); +}),'style':{'margin':"0 4px 0 0"}}],[]),uix.compiler.aot._GT_el("label",[{'htmlFor':"cljs-devtools_hide-mo-nodes"}],["Hide DOM nodes"])]),uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'alignItems':"center"}}],[uix.compiler.aot._GT_el("div",[{'style':{'color':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509).cljs$core$IFn$_invoke$arity$1(colors)),'opacity':uix.compiler.attributes.keyword__GT_string(((clojure.string.blank_QMARK_(hint))?(0):(1))),'transition':"opacity 100ms ease-in-out"}}],[hint]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(inspecting_QMARK_)?new cljs.core.Keyword(null,"highlight-bg","highlight-bg",747485851).cljs$core$IFn$_invoke$arity$1(colors):null),new cljs.core.Keyword(null,"margin","margin",-995903681),"0 0 0 8px"], null),new cljs.core.Keyword(null,"on-mouse-enter","on-mouse-enter",-1664921661),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("select an element to inspect") : set_hint.call(null, "select an element to inspect")); +}),new cljs.core.Keyword(null,"on-mouse-leave","on-mouse-leave",-1864319528),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null)); +}),new cljs.core.Keyword(null,"title","title",636505583),"Select an element to inspect",new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +return (set_inspecting.cljs$core$IFn$_invoke$arity$1 ? set_inspecting.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_inspecting.call(null, cljs.core.not)); +})], null)],[cljs_react_devtools.core.icon_cursor_rays]),((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"window","window",724519534),location__$1))?uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,"margin","margin",-995903681),"0 0 0 8px"], null),new cljs.core.Keyword(null,"on-mouse-enter","on-mouse-enter",-1664921661),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("undock into separate window") : set_hint.call(null, "undock into separate window")); +}),new cljs.core.Keyword(null,"on-mouse-leave","on-mouse-leave",-1864319528),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null)); +}),new cljs.core.Keyword(null,"title","title",636505583),"Undock into separate window",new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +return (dock_devtools.cljs$core$IFn$_invoke$arity$2 ? dock_devtools.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"location","location",1815599388),new cljs.core.Keyword(null,"window","window",724519534)) : dock_devtools.call(null, new cljs.core.Keyword(null,"location","location",1815599388),new cljs.core.Keyword(null,"window","window",724519534))); +})], null)],[cljs_react_devtools.core.icon_window]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,"margin","margin",-995903681),"0 0 0 8px"], null),new cljs.core.Keyword(null,"on-mouse-enter","on-mouse-enter",-1664921661),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("dock to bottom") : set_hint.call(null, "dock to bottom")); +}),new cljs.core.Keyword(null,"on-mouse-leave","on-mouse-leave",-1864319528),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null)); +}),new cljs.core.Keyword(null,"title","title",636505583),"Dock to bottom",new cljs.core.Keyword(null,"disabled","disabled",-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"bottom","bottom",-1550509018)),new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +return cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,"bottom","bottom",-1550509018)); +})], null)],[cljs_react_devtools.core.icon_dock_bottom]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,"margin","margin",-995903681),"0 0 0 8px"], null),new cljs.core.Keyword(null,"on-mouse-enter","on-mouse-enter",-1664921661),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("dock to the left") : set_hint.call(null, "dock to the left")); +}),new cljs.core.Keyword(null,"on-mouse-leave","on-mouse-leave",-1864319528),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null)); +}),new cljs.core.Keyword(null,"title","title",636505583),"Dock to the left",new cljs.core.Keyword(null,"disabled","disabled",-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"left","left",-399115937)),new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +return cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,"left","left",-399115937)); +})], null)],[cljs_react_devtools.core.icon_dock_left]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"tool-bar-text","tool-bar-text",-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,"margin","margin",-995903681),"0 0 0 8px"], null),new cljs.core.Keyword(null,"on-mouse-enter","on-mouse-enter",-1664921661),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1("dock to the right") : set_hint.call(null, "dock to the right")); +}),new cljs.core.Keyword(null,"on-mouse-leave","on-mouse-leave",-1864319528),(function (){ +return (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null)); +}),new cljs.core.Keyword(null,"title","title",636505583),"Dock to the right",new cljs.core.Keyword(null,"disabled","disabled",-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"right","right",-452581833)),new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +return cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,"right","right",-452581833)); +})], null)],[cljs_react_devtools.core.icon_dock_right])])]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30353 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30354 = cljs_react_devtools.core.toolbar; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30354); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30353); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.toolbar.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.toolbar.displayName = "cljs-react-devtools.core/toolbar"); + +Object.defineProperty(cljs_react_devtools.core.toolbar,"name",(function (){var obj30356 = ({"value":"cljs-react-devtools.core/toolbar"}); +return obj30356; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30673 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30673.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30673.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.toolbar,"(uix/use-context theme)",null,null) : sig__29399__auto___30673.call(null, cljs_react_devtools.core.toolbar,"(uix/use-context theme)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.toolbar,cljs_react_devtools.core.toolbar.displayName); + +(cljs_react_devtools.core.toolbar.fast_refresh_signature = sig__29399__auto___30673); +} else { +} +} else { +} + +cljs_react_devtools.core.intersects_QMARK_ = (function cljs_react_devtools$core$intersects_QMARK_(p__30357,rect){ +var vec__30358 = p__30357; +var x = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30358,(0),null); +var y = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30358,(1),null); +return (((((rect.x <= x)) && ((x <= (rect.x + rect.width))))) && ((((rect.y <= y)) && ((y <= (rect.y + rect.height)))))); +}); +cljs_react_devtools.core.use_dom_inspector = (function cljs_react_devtools$core$use_dom_inspector(p__30368){ +var map__30369 = p__30368; +var map__30369__$1 = cljs.core.__destructure_map(map__30369); +var root = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,"root","root",-448657453)); +var set_inspecting = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,"set-inspecting","set-inspecting",-862492542)); +var on_target = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,"on-target","on-target",-1404015998)); +var skip_dom_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,"skip-dom?","skip-dom?",-1882515885)); +var preview_node = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,"preview-node","preview-node",310928567)); +var vec__30370 = uix.core.use_state(null); +var rect = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30370,(0),null); +var set_rect = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30370,(1),null); +var nodes = uix.hooks.alpha.use_memo((function (){ +return cljs.core.reverse(cljs.core.tree_seq((function (p1__30361_SHARP_){ +return (!((p1__30361_SHARP_.children == null))); +}),(function (p1__30362_SHARP_){ +return cljs.core.seq(p1__30362_SHARP_.children); +}),root)); +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [root], null))]); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +if(cljs.core.truth_(preview_node)){ +var nodes__$1 = cljs.core.tree_seq((function (p1__30363_SHARP_){ +return (!((cljs_react_devtools.core.fiber__GT_child(p1__30363_SHARP_) == null))); +}),(function (p1__30364_SHARP_){ +return cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(p1__30364_SHARP_)); +}),preview_node); +var temp__5823__auto__ = cljs.core.some((function (p1__30365_SHARP_){ +if(cljs.core.truth_(p1__30365_SHARP_.stateNode)){ +return p1__30365_SHARP_; +} else { +return null; +} +}),nodes__$1); +if(cljs.core.truth_(temp__5823__auto__)){ +var node = temp__5823__auto__; +var dom_node = node.stateNode; +var temp__5823__auto____$1 = (cljs.core.truth_(dom_node.getBoundingClientRect)?dom_node.getBoundingClientRect():(function (){var G__30375 = uix.dom.find_dom_node(dom_node); +if((G__30375 == null)){ +return null; +} else { +return G__30375.getBoundingClientRect(); +} +})()); +if(cljs.core.truth_(temp__5823__auto____$1)){ +var rect__$1 = temp__5823__auto____$1; +return (set_rect.cljs$core$IFn$_invoke$arity$1 ? set_rect.cljs$core$IFn$_invoke$arity$1(rect__$1) : set_rect.call(null, rect__$1)); +} else { +return null; +} +} else { +return null; +} +} else { +var node_BANG_ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null); +var mouse_handler = (function (e){ +var x = e.x; +var y = e.y; +var temp__5823__auto__ = cljs.core.some((function (p1__30366_SHARP_){ +if(cljs_react_devtools.core.intersects_QMARK_(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [x,y], null),p1__30366_SHARP_.getBoundingClientRect())){ +return p1__30366_SHARP_; +} else { +return null; +} +}),nodes); +if(cljs.core.truth_(temp__5823__auto__)){ +var node = temp__5823__auto__; +cljs.core.reset_BANG_(node_BANG_,node); + +var G__30376 = node.getBoundingClientRect(); +return (set_rect.cljs$core$IFn$_invoke$arity$1 ? set_rect.cljs$core$IFn$_invoke$arity$1(G__30376) : set_rect.call(null, G__30376)); +} else { +return null; +} +}); +var click_handler = (function (){ +var temp__5823__auto__ = cljs.core.deref(node_BANG_); +if(cljs.core.truth_(temp__5823__auto__)){ +var node = temp__5823__auto__; +var temp__5823__auto____$1 = cljs.core.some((function (p1__30367_SHARP_){ +if(clojure.string.starts_with_QMARK_(p1__30367_SHARP_,"__reactFiber")){ +if(cljs.core.truth_(skip_dom_QMARK_)){ +return (node[p1__30367_SHARP_])._debugOwner; +} else { +return (node[p1__30367_SHARP_]); +} +} else { +return null; +} +}),Object.keys(node)); +if(cljs.core.truth_(temp__5823__auto____$1)){ +var target = temp__5823__auto____$1; +(on_target.cljs$core$IFn$_invoke$arity$1 ? on_target.cljs$core$IFn$_invoke$arity$1(target) : on_target.call(null, target)); + +(set_inspecting.cljs$core$IFn$_invoke$arity$1 ? set_inspecting.cljs$core$IFn$_invoke$arity$1(false) : set_inspecting.call(null, false)); + +var temp__5823__auto____$2 = cljs.core.deref(cljs_react_devtools.core.popout_window); +if(cljs.core.truth_(temp__5823__auto____$2)){ +var w = temp__5823__auto____$2; +return w.focus(); +} else { +return null; +} +} else { +return null; +} +} else { +return null; +} +}); +document.addEventListener("mousemove",mouse_handler); + +document.addEventListener("click",click_handler); + +return (function (){ +document.removeEventListener("mousemove",mouse_handler); + +return document.removeEventListener("click",click_handler); +}); +} +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [root,nodes,on_target,set_inspecting,skip_dom_QMARK_,preview_node], null))]); + +return rect; +}); +cljs_react_devtools.core.inspector_overlay = (function cljs_react_devtools$core$inspector_overlay(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30379 = [clj_props__29460__auto__]; +var map__30382 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30379,(0),null); +var map__30382__$1 = cljs.core.__destructure_map(map__30382); +var props = map__30382__$1; +var set_inspecting = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,"set-inspecting","set-inspecting",-862492542)); +var root = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,"root","root",-448657453)); +var on_target = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,"on-target","on-target",-1404015998)); +var skip_dom_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,"skip-dom?","skip-dom?",-1882515885)); +var preview_node = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,"preview-node","preview-node",310928567)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30680 = cljs_react_devtools.core.inspector_overlay.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30680)){ +var f__29390__auto___30681 = temp__5823__auto___30680; +(f__29390__auto___30681.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30681.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30681.call(null, )); +} else { +} +} else { +} + +var temp__5823__auto__ = cljs_react_devtools.core.use_dom_inspector(props); +if(cljs.core.truth_(temp__5823__auto__)){ +var rect = temp__5823__auto__; +return uix.compiler.aot._GT_el("div",[{'style':{'zIndex':(9998),'position':"fixed",'width':"100vw",'height':"100vh",'top':(0),'left':(0),'background':"#e7c2ff1a",'onClick':uix.compiler.attributes.keyword__GT_string((function (p1__30377_SHARP_){ +return p1__30377_SHARP_.stopPropagation(); +}))}}],[uix.compiler.aot._GT_el("div",[{'style':{'pointerEvents':"none",'top':uix.compiler.attributes.keyword__GT_string(rect.y),'width':uix.compiler.attributes.keyword__GT_string(rect.width),'background':"#cd80ffa6",'position':"absolute",'boxSizing':"border-box",'border':"1px dashed #da33ff",'height':uix.compiler.attributes.keyword__GT_string(rect.height),'left':uix.compiler.attributes.keyword__GT_string(rect.x)}}],[])]); +} else { +return null; +} +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30383 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30384 = cljs_react_devtools.core.inspector_overlay; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30384); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30383); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.inspector_overlay.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.inspector_overlay.displayName = "cljs-react-devtools.core/inspector-overlay"); + +Object.defineProperty(cljs_react_devtools.core.inspector_overlay,"name",(function (){var obj30386 = ({"value":"cljs-react-devtools.core/inspector-overlay"}); +return obj30386; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30685 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30685.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30685.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.inspector_overlay,"(use-dom-inspector props)",null,null) : sig__29399__auto___30685.call(null, cljs_react_devtools.core.inspector_overlay,"(use-dom-inspector props)",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.inspector_overlay,cljs_react_devtools.core.inspector_overlay.displayName); + +(cljs_react_devtools.core.inspector_overlay.fast_refresh_signature = sig__29399__auto___30685); +} else { +} +} else { +} + +cljs_react_devtools.core.devtools_STAR_ = (function cljs_react_devtools$core$devtools_STAR_(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30390 = [clj_props__29460__auto__]; +var map__30393 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30390,(0),null); +var map__30393__$1 = cljs.core.__destructure_map(map__30393); +var root = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30393__$1,new cljs.core.Keyword(null,"root","root",-448657453)); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30393__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30686 = cljs_react_devtools.core.devtools_STAR_.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30686)){ +var f__29390__auto___30687 = temp__5823__auto___30686; +(f__29390__auto___30687.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30687.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30687.call(null, )); +} else { +} +} else { +} + +var vec__30394 = uix.core.use_state((0)); +var tid = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30394,(0),null); +var set_tid = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30394,(1),null); +var fiber = uix.hooks.alpha.use_memo((function (){ +if(cljs.core.truth_(root)){ + +return cljs.core.some((function (p1__30387_SHARP_){ +if(clojure.string.starts_with_QMARK_(p1__30387_SHARP_,"__reactContainer")){ +return (root[p1__30387_SHARP_]); +} else { +return null; +} +}),Object.keys(root)); +} else { +return null; +} +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [root,tid], null))]); +var vec__30397 = uix.core.use_state(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"hide-dom?","hide-dom?",2128980793),true,new cljs.core.Keyword(null,"selected","selected",574897764),(cljs.core.truth_((function (){var and__5043__auto__ = root; +if(cljs.core.truth_(and__5043__auto__)){ +return fiber; +} else { +return and__5043__auto__; +} +})())?cljs_react_devtools.core.fiber__GT_child(fiber):null)], null)); +var state = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30397,(0),null); +var set_state = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30397,(1),null); +var vec__30400 = cljs_react_devtools.core.use_size((35),new cljs.core.Keyword("cljs-devtools","ui-size","cljs-devtools/ui-size",1389587364)); +var size = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30400,(0),null); +var set_size = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30400,(1),null); +var vec__30403 = uix.core.use_state(""); +var hint = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30403,(0),null); +var set_hint = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30403,(1),null); +var vec__30406 = uix.core.use_state(false); +var inspecting_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30406,(0),null); +var set_inspecting = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30406,(1),null); +var vec__30409 = uix.core.use_state(false); +var preview_node = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30409,(0),null); +var set_preview_node = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30409,(1),null); +var on_target = uix.hooks.alpha.use_callback((function (fiber__$1){ +var G__30413 = (function (p1__30388_SHARP_){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(p1__30388_SHARP_,new cljs.core.Keyword(null,"selected","selected",574897764),fiber__$1); +}); +return (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30413) : set_state.call(null, G__30413)); +}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]); +var colors = uix.core.use_context(cljs_react_devtools.core.theme); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +var handler = goog.functions.throttle((function (){ +return (set_tid.cljs$core$IFn$_invoke$arity$1 ? set_tid.cljs$core$IFn$_invoke$arity$1(cljs.core.inc) : set_tid.call(null, cljs.core.inc)); +}),(100)); +var obs = (new MutationObserver(handler)); +obs.observe(root,({"childList": true, "subtree": true, "attributes": true})); + +return (function (){ +return obs.disconnect(); +}); +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [root], null))]); + +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs((cljs.core.truth_((function (){var or__5045__auto__ = inspecting_QMARK_; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return preview_node; +} +})())?uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2(uix.compiler.alpha.component_element(cljs_react_devtools.core.inspector_overlay,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"set-inspecting","set-inspecting",-862492542),set_inspecting,new cljs.core.Keyword(null,"root","root",-448657453),root,new cljs.core.Keyword(null,"on-target","on-target",-1404015998),on_target,new cljs.core.Keyword(null,"skip-dom?","skip-dom?",-1882515885),new cljs.core.Keyword(null,"hide-dom?","hide-dom?",2128980793).cljs$core$IFn$_invoke$arity$1(state),new cljs.core.Keyword(null,"preview-node","preview-node",310928567),preview_node], null)],[]),document.getElementById("cljs-devtools-inspector-overlay")):null),[],false),[uix.compiler.aot._GT_el("div",[{'style':{'color':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"devtools-text","devtools-text",1734170100).cljs$core$IFn$_invoke$arity$1(colors)),'bottom':(0),'borderTop':uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"bottom","bottom",-1550509018)))?"2px solid #8632ff75":null)),'width':uix.compiler.attributes.keyword__GT_string((function (){var G__30414 = location__$1; +var G__30414__$1 = (((G__30414 instanceof cljs.core.Keyword))?G__30414.fqn:null); +switch (G__30414__$1) { +case "bottom": +case "window": +return "100vw"; + +break; +case "left": +case "right": +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),"vw"].join(''); + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30414__$1)].join(''))); + +} +})()),'background':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"devtools-bg","devtools-bg",-1808526887).cljs$core$IFn$_invoke$arity$1(colors)),'font':"normal 14px sans-serif",'borderRight':uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"left","left",-399115937)))?"2px solid #8632ff75":null)),'borderLeft':uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"right","right",-452581833)))?"2px solid #8632ff75":null)),'zIndex':(9999),'right':uix.compiler.attributes.keyword__GT_string((function (){var G__30415 = location__$1; +var G__30415__$1 = (((G__30415 instanceof cljs.core.Keyword))?G__30415.fqn:null); +switch (G__30415__$1) { +case "right": +return (0); + +break; +default: +return null; + +} +})()),'display':"flex",'position':"fixed",'height':uix.compiler.attributes.keyword__GT_string((function (){var G__30416 = location__$1; +var G__30416__$1 = (((G__30416 instanceof cljs.core.Keyword))?G__30416.fqn:null); +switch (G__30416__$1) { +case "left": +case "right": +case "window": +return "100vh"; + +break; +case "bottom": +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),"vh"].join(''); + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30416__$1)].join(''))); + +} +})()),'left':uix.compiler.attributes.keyword__GT_string((function (){var G__30417 = location__$1; +var G__30417__$1 = (((G__30417 instanceof cljs.core.Keyword))?G__30417.fqn:null); +switch (G__30417__$1) { +case "bottom": +case "left": +case "window": +return (0); + +break; +default: +return null; + +} +})())}}],[((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"window","window",724519534)))?null:uix.compiler.alpha.component_element(cljs_react_devtools.core.resize_handle,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"set-size","set-size",-1037159587),set_size,new cljs.core.Keyword(null,"dir","dir",1734754661),((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"bottom","bottom",-1550509018)))?new cljs.core.Keyword(null,"vertical","vertical",718696748):new cljs.core.Keyword(null,"horizontal","horizontal",2062109475)),new cljs.core.Keyword(null,"location","location",1815599388),location__$1,new cljs.core.Keyword(null,"min","min",444991522),(10),new cljs.core.Keyword(null,"max","max",61366548),(90)], null)],[])),((((cljs.core.not(root)) || (cljs.core.not(fiber))))?uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'flexDirection':"column",'gap':(8),'flex':(1),'justifyContent':"center",'alignItems':"center",'color':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"highlight-text","highlight-text",980506446).cljs$core$IFn$_invoke$arity$1(colors)),'fontSize':"18px"}}],[((cljs.core.not(root))?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs("Devtools are not connected to React root",[],false),[uix.compiler.aot._GT_el("span",[{'style':{'fontSize':"16px"}}],["make sure to pass the root node when initializing devtools"]),uix.compiler.aot._GT_el("pre",[{'style':{'fontSize':"14px",'margin':(0)}}],[cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.list(new cljs.core.Symbol("cljs-react-devtools.core","init!","cljs-react-devtools.core/init!",185639625,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"root","root",-448657453),cljs.core.list(new cljs.core.Symbol("js","document.getElementById","js/document.getElementById",2053304690,null),"root")], null))], 0))])]):"Provided root node doesn't have React app rendered")]):uix.compiler.alpha.component_element(cljs_react_devtools.core.error_boundary,[cljs.core.PersistentArrayMap.EMPTY],[uix.compiler.aot._GT_el("div",[{'style':{'flex':(1)}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.toolbar,[new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"state","state",-1988618099),state,new cljs.core.Keyword(null,"set-state","set-state",1344116913),set_state,new cljs.core.Keyword(null,"hint","hint",439639918),(cljs.core.truth_((function (){var fexpr__30418 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"bottom","bottom",-1550509018),null,new cljs.core.Keyword(null,"window","window",724519534),null], null), null); +return (fexpr__30418.cljs$core$IFn$_invoke$arity$1 ? fexpr__30418.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__30418.call(null, location__$1)); +})())?hint:null),new cljs.core.Keyword(null,"set-hint","set-hint",2057522619),set_hint,new cljs.core.Keyword(null,"inspecting?","inspecting?",784834160),inspecting_QMARK_,new cljs.core.Keyword(null,"set-inspecting","set-inspecting",-862492542),set_inspecting,new cljs.core.Keyword(null,"dock-devtools","dock-devtools",-2013730452),cljs_react_devtools.core.dock_devtools,new cljs.core.Keyword(null,"location","location",1815599388),location__$1], null)],[]),uix.compiler.aot._GT_el("div",[{'style':{'display':"flex",'flexDirection':uix.compiler.attributes.keyword__GT_string((cljs.core.truth_((function (){var fexpr__30419 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"bottom","bottom",-1550509018),null,new cljs.core.Keyword(null,"window","window",724519534),null], null), null); +return (fexpr__30419.cljs$core$IFn$_invoke$arity$1 ? fexpr__30419.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__30419.call(null, location__$1)); +})())?new cljs.core.Keyword(null,"row","row",-570139521):new cljs.core.Keyword(null,"column","column",2078222095))),'flex':(1),'maxHeight':"100%",'minHeight':"100%",'width':uix.compiler.attributes.keyword__GT_string((cljs.core.truth_((function (){var fexpr__30420 = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"bottom","bottom",-1550509018),null,new cljs.core.Keyword(null,"window","window",724519534),null], null), null); +return (fexpr__30420.cljs$core$IFn$_invoke$arity$1 ? fexpr__30420.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__30420.call(null, location__$1)); +})())?"100vw":null))}}],[uix.compiler.aot._GT_el("div",[{'style':{'flex':(1),'overflowY':"auto",'padding':"8px 0",'background':uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,"tree-view-bg","tree-view-bg",1629664539).cljs$core$IFn$_invoke$arity$1(colors))}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.preview_ctx.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"value","value",305978217),set_preview_node], null)],[cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (node){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"node","node",581201198),node,new cljs.core.Keyword(null,"state","state",-1988618099),state,new cljs.core.Keyword(null,"set-state","set-state",1344116913),set_state,new cljs.core.Keyword(null,"key","key",-1516042587),node.index], null)],[]); +}),cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(fiber)))])]),uix.compiler.alpha.component_element(cljs_react_devtools.core.inspector,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"state","state",-1988618099),state,new cljs.core.Keyword(null,"set-state","set-state",1344116913),set_state,new cljs.core.Keyword(null,"set-hint","set-hint",2057522619),set_hint,new cljs.core.Keyword(null,"location","location",1815599388),location__$1], null)],[])])])]) +)])]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30421 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30422 = cljs_react_devtools.core.devtools_STAR_; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30422); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30421); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.devtools_STAR_.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.devtools_STAR_.displayName = "cljs-react-devtools.core/devtools*"); + +Object.defineProperty(cljs_react_devtools.core.devtools_STAR_,"name",(function (){var obj30424 = ({"value":"cljs-react-devtools.core/devtools*"}); +return obj30424; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30705 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30705.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30705.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools_STAR_,"(uix/use-state 0)(uix/use-memo (fn [] (when root tid (->> (js/Object.keys root) (some (fn* [p1] (when (str/starts-with? p1 \"__reactContainer\") (aget root p1))))))) [root tid])(uix/use-state {:hide-dom? true, :selected (when (and root fiber) (fiber->child fiber))})(use-size 35 :cljs-devtools/ui-size)(uix/use-state \"\")(uix/use-state false)(uix/use-state false)(uix/use-callback (fn [fiber] (set-state (fn* [p1] (assoc p1 :selected fiber)))) [])(uix/use-context theme)(uix/use-effect (fn [] (let [handler (fns/throttle (fn* [] (set-tid inc)) 100) obs (js/MutationObserver. handler)] (.observe obs root {:childList true, :subtree true, :attributes true}) (fn* [] (.disconnect obs)))) [root])",null,null) : sig__29399__auto___30705.call(null, cljs_react_devtools.core.devtools_STAR_,"(uix/use-state 0)(uix/use-memo (fn [] (when root tid (->> (js/Object.keys root) (some (fn* [p1] (when (str/starts-with? p1 \"__reactContainer\") (aget root p1))))))) [root tid])(uix/use-state {:hide-dom? true, :selected (when (and root fiber) (fiber->child fiber))})(use-size 35 :cljs-devtools/ui-size)(uix/use-state \"\")(uix/use-state false)(uix/use-state false)(uix/use-callback (fn [fiber] (set-state (fn* [p1] (assoc p1 :selected fiber)))) [])(uix/use-context theme)(uix/use-effect (fn [] (let [handler (fns/throttle (fn* [] (set-tid inc)) 100) obs (js/MutationObserver. handler)] (.observe obs root {:childList true, :subtree true, :attributes true}) (fn* [] (.disconnect obs)))) [root])",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.devtools_STAR_,cljs_react_devtools.core.devtools_STAR_.displayName); + +(cljs_react_devtools.core.devtools_STAR_.fast_refresh_signature = sig__29399__auto___30705); +} else { +} +} else { +} + +cljs_react_devtools.core.matches_QMARK_ = (function cljs_react_devtools$core$matches_QMARK_(){ +return window.matchMedia("(prefers-color-scheme: dark)").matches; +}); +cljs_react_devtools.core.devtools = (function cljs_react_devtools$core$devtools(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30427 = [clj_props__29460__auto__]; +var map__30430 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30427,(0),null); +var map__30430__$1 = cljs.core.__destructure_map(map__30430); +var props = map__30430__$1; +var shortcut = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30430__$1,new cljs.core.Keyword(null,"shortcut","shortcut",-431647697)); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30430__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30706 = cljs_react_devtools.core.devtools.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30706)){ +var f__29390__auto___30707 = temp__5823__auto___30706; +(f__29390__auto___30707.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30707.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30707.call(null, )); +} else { +} +} else { +} + +var vec__30431 = uix.core.use_state((function (){ +var v = JSON.parse(localStorage.getItem(":cljs-devtools/visible?")); +var or__5045__auto__ = (v == null); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return v; +} +})); +var visible_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30431,(0),null); +var set_visible = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30431,(1),null); +var vec__30434 = uix.core.use_state(cljs_react_devtools.core.matches_QMARK_); +var dark_mode_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30434,(0),null); +var set_dark_mode = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30434,(1),null); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +var handler = (function (){ +var G__30438 = cljs_react_devtools.core.matches_QMARK_(); +return (set_dark_mode.cljs$core$IFn$_invoke$arity$1 ? set_dark_mode.cljs$core$IFn$_invoke$arity$1(G__30438) : set_dark_mode.call(null, G__30438)); +}); +var m = window.matchMedia("(prefers-color-scheme: dark)"); +m.addListener(handler); + +return (function (){ +return m.removeListener(handler); +}); +}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]); + +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +if(typeof shortcut === 'string'){ +var shortcut__$1 = clojure.string.split.cljs$core$IFn$_invoke$arity$2(shortcut,/-/); +if(cljs.core.seq(shortcut__$1)){ +var down_handler = (function (e){ +if(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"window","window",724519534),location__$1)) && (cljs.core.every_QMARK_((function (p1__30425_SHARP_){ +var G__30440 = p1__30425_SHARP_; +switch (G__30440) { +case "Control": +return e.ctrlKey; + +break; +case "Alt": +return e.altKey; + +break; +case "Meta": +return e.metaKey; + +break; +case "Shift": +return e.shiftKey; + +break; +default: +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p1__30425_SHARP_,e.key); + +} +}),shortcut__$1)))){ +return (set_visible.cljs$core$IFn$_invoke$arity$1 ? set_visible.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_visible.call(null, cljs.core.not)); +} else { +return null; +} +}); +window.addEventListener("keydown",down_handler); + +return (function (){ +return window.removeEventListener("keydown",down_handler); +}); +} else { +return null; +} +} else { +return null; +} +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [shortcut,location__$1], null))]); + +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +return localStorage.setItem(":cljs-devtools/visible?",visible_QMARK_); +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [visible_QMARK_], null))]); + +if(cljs.core.truth_(visible_QMARK_)){ +return uix.compiler.alpha.component_element(cljs_react_devtools.core.theme.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"value","value",305978217),(cljs.core.truth_(dark_mode_QMARK_)?new cljs.core.Keyword(null,"dark","dark",1818973999).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes):new cljs.core.Keyword(null,"light","light",1918998747).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes))], null)],[uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools_STAR_,uix.compiler.attributes.interpret_props(props),[])]); +} else { +return null; +} +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30441 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30442 = cljs_react_devtools.core.devtools; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30442); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30441); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.devtools.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.devtools.displayName = "cljs-react-devtools.core/devtools"); + +Object.defineProperty(cljs_react_devtools.core.devtools,"name",(function (){var obj30444 = ({"value":"cljs-react-devtools.core/devtools"}); +return obj30444; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30713 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30713.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30713.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools,"(uix/use-state (fn* [] (let [v (js/JSON.parse (js/localStorage.getItem \":cljs-devtools/visible?\"))] (or (nil? v) v))))(uix/use-state matches?)(uix/use-effect (fn [] (let [handler (fn* [] (set-dark-mode (matches?))) m (js/window.matchMedia \"(prefers-color-scheme: dark)\")] (.addListener m handler) (fn* [] (.removeListener m handler)))) [])(uix/use-effect (fn [] (when (string? shortcut) (let [shortcut (str/split shortcut #\"-\")] (when (seq shortcut) (let [down-handler (fn [e] (when (and (not= :window location) (->> shortcut (every? (fn* [p1] (case p1 \"Control\" (.-ctrlKey e) \"Alt\" (.-altKey e) \"Meta\" (.-metaKey e) \"Shift\" (.-shiftKey e) (= p1 (.-key e))))))) (set-visible not)))] (.addEventListener js/window \"keydown\" down-handler) (fn [] (.removeEventListener js/window \"keydown\" down-handler))))))) [shortcut location])(uix/use-effect (fn [] (js/localStorage.setItem \":cljs-devtools/visible?\" visible?)) [visible?])",null,null) : sig__29399__auto___30713.call(null, cljs_react_devtools.core.devtools,"(uix/use-state (fn* [] (let [v (js/JSON.parse (js/localStorage.getItem \":cljs-devtools/visible?\"))] (or (nil? v) v))))(uix/use-state matches?)(uix/use-effect (fn [] (let [handler (fn* [] (set-dark-mode (matches?))) m (js/window.matchMedia \"(prefers-color-scheme: dark)\")] (.addListener m handler) (fn* [] (.removeListener m handler)))) [])(uix/use-effect (fn [] (when (string? shortcut) (let [shortcut (str/split shortcut #\"-\")] (when (seq shortcut) (let [down-handler (fn [e] (when (and (not= :window location) (->> shortcut (every? (fn* [p1] (case p1 \"Control\" (.-ctrlKey e) \"Alt\" (.-altKey e) \"Meta\" (.-metaKey e) \"Shift\" (.-shiftKey e) (= p1 (.-key e))))))) (set-visible not)))] (.addEventListener js/window \"keydown\" down-handler) (fn [] (.removeEventListener js/window \"keydown\" down-handler))))))) [shortcut location])(uix/use-effect (fn [] (js/localStorage.setItem \":cljs-devtools/visible?\" visible?)) [visible?])",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.devtools,cljs_react_devtools.core.devtools.displayName); + +(cljs_react_devtools.core.devtools.fast_refresh_signature = sig__29399__auto___30713); +} else { +} +} else { +} + +cljs_react_devtools.core.hijack_re_frame = (function cljs_react_devtools$core$hijack_re_frame(){ +if((typeof re_frame !== 'undefined') && (typeof re_frame.core !== 'undefined') && (typeof re_frame.core.subscribe !== 'undefined')){ +var subscribe = re_frame.core.subscribe; +return (re_frame.core.subscribe = (function() { +var G__30716 = null; +var G__30716__1 = (function (query){ +var ret = (subscribe.cljs$core$IFn$_invoke$arity$1 ? subscribe.cljs$core$IFn$_invoke$arity$1(query) : subscribe.call(null, query)); +(ret.__devtools_label = cljs.core.first(query)); + +return ret; +}); +var G__30716__2 = (function (query,dynv){ +var ret = (subscribe.cljs$core$IFn$_invoke$arity$2 ? subscribe.cljs$core$IFn$_invoke$arity$2(query,dynv) : subscribe.call(null, query,dynv)); +(ret.__devtools_label = cljs.core.first(query)); + +return ret; +}); +G__30716 = function(query,dynv){ +switch(arguments.length){ +case 1: +return G__30716__1.call(this,query); +case 2: +return G__30716__2.call(this,query,dynv); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30716.cljs$core$IFn$_invoke$arity$1 = G__30716__1; +G__30716.cljs$core$IFn$_invoke$arity$2 = G__30716__2; +return G__30716; +})() +); +} else { +return null; +} +}); +if((typeof cljs_react_devtools !== 'undefined') && (typeof cljs_react_devtools.core !== 'undefined') && (typeof cljs_react_devtools.core.opts_STAR_ !== 'undefined')){ +} else { +cljs_react_devtools.core.opts_STAR_ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null); +} +cljs_react_devtools.core.devtools_popup = (function cljs_react_devtools$core$devtools_popup(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30446 = [clj_props__29460__auto__]; +var map__30449 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30446,(0),null); +var map__30449__$1 = cljs.core.__destructure_map(map__30449); +var on_mount = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30449__$1,new cljs.core.Keyword(null,"on-mount","on-mount",-1236735840)); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30449__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30718 = cljs_react_devtools.core.devtools_popup.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30718)){ +var f__29390__auto___30719 = temp__5823__auto___30718; +(f__29390__auto___30719.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30719.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30719.call(null, )); +} else { +} +} else { +} + +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +return (on_mount.cljs$core$IFn$_invoke$arity$0 ? on_mount.cljs$core$IFn$_invoke$arity$0() : on_mount.call(null, )); +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [on_mount], null))]); + +return uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs_react_devtools.core.opts_STAR_),new cljs.core.Keyword(null,"location","location",1815599388),location__$1)),[]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30450 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30451 = cljs_react_devtools.core.devtools_popup; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30451); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30450); +}} else { +return f__29461__auto__(); +} +}); + +(cljs_react_devtools.core.devtools_popup.uix_component_QMARK_ = true); + +(cljs_react_devtools.core.devtools_popup.displayName = "cljs-react-devtools.core/devtools-popup"); + +Object.defineProperty(cljs_react_devtools.core.devtools_popup,"name",(function (){var obj30453 = ({"value":"cljs-react-devtools.core/devtools-popup"}); +return obj30453; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30720 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30720.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30720.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools_popup,"(uix/use-effect (fn* [] (on-mount)) [on-mount])",null,null) : sig__29399__auto___30720.call(null, cljs_react_devtools.core.devtools_popup,"(uix/use-effect (fn* [] (on-mount)) [on-mount])",null,null)); + +window.uix.dev.register_BANG_(cljs_react_devtools.core.devtools_popup,cljs_react_devtools.core.devtools_popup.displayName); + +(cljs_react_devtools.core.devtools_popup.fast_refresh_signature = sig__29399__auto___30720); +} else { +} +} else { +} + +cljs_react_devtools.core.m__GT_str = (function cljs_react_devtools$core$m__GT_str(m){ +return clojure.string.join.cljs$core$IFn$_invoke$arity$2(",",cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,p__30454){ +var vec__30455 = p__30454; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30455,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30455,(1),null); +var k__$1 = (((k instanceof cljs.core.Keyword))?cljs.core.name(k):k); +var v__$1 = (((v instanceof cljs.core.Keyword))?cljs.core.name(v):v); +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(k__$1),"=",cljs.core.str.cljs$core$IFn$_invoke$arity$1(v__$1)].join('')); +}),cljs.core.PersistentVector.EMPTY,m)); +}); +if((typeof cljs_react_devtools !== 'undefined') && (typeof cljs_react_devtools.core !== 'undefined') && (typeof cljs_react_devtools.core.devtools_root_STAR_ !== 'undefined')){ +} else { +cljs_react_devtools.core.devtools_root_STAR_ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null); +} +cljs_react_devtools.core.mount = (function cljs_react_devtools$core$mount(popup_window,popup_document,props){ +var node = popup_document.createElement("div"); +var _ = (node.id = "cljs-react-devtools-root"); +var ___$1 = popup_document.body.append(node); +var shadow_root = node.attachShadow(({"mode": "open"})); +var root = uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(shadow_root); +var resize_update_scheduled_QMARK_ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false); +var handle_window_resize = (function (___$2){ +if(cljs.core.truth_(cljs.core.deref(resize_update_scheduled_QMARK_))){ +return null; +} else { +goog.async.nextTick((function (){ +var width_30721 = popup_window.innerWidth; +var height_30722 = popup_window.innerHeight; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs_react_devtools.core.window_settings,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"width","width",-384071477),width_30721,new cljs.core.Keyword(null,"height","height",1025178622),height_30722], null)); + +return cljs.core.reset_BANG_(resize_update_scheduled_QMARK_,false); +})); + +return cljs.core.reset_BANG_(resize_update_scheduled_QMARK_,true); +} +}); +var handle_window_position = (function (){ +var map__30458 = cljs.core.deref(cljs_react_devtools.core.window_settings); +var map__30458__$1 = cljs.core.__destructure_map(map__30458); +var left = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30458__$1,new cljs.core.Keyword(null,"left","left",-399115937)); +var top = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30458__$1,new cljs.core.Keyword(null,"top","top",-1856271961)); +var screen_left = popup_window.screenX; +var screen_top = popup_window.screenY; +if(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(left,screen_left)) || (cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(top,screen_top)))){ +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs_react_devtools.core.window_settings,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"left","left",-399115937),screen_left,new cljs.core.Keyword(null,"top","top",-1856271961),screen_top], null)); +} else { +return null; +} +}); +var window_position_interval = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null); +var on_unmount = (function (___$2){ +popup_window.removeEventListener("resize",handle_window_resize); + +var G__30459_30726 = cljs.core.deref(window_position_interval); +if((G__30459_30726 == null)){ +} else { +clearInterval(G__30459_30726); +} + +var G__30460_30728 = new cljs.core.Keyword(null,"location","location",1815599388); +var G__30461_30729 = new cljs.core.Keyword(null,"location","location",1815599388).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs_react_devtools.core.window_settings)); +var G__30462_30730 = new cljs.core.Keyword(null,"unload?","unload?",436291763); +var G__30463_30731 = true; +(cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$4 ? cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$4(G__30460_30728,G__30461_30729,G__30462_30730,G__30463_30731) : cljs_react_devtools.core.dock_devtools.call(null, G__30460_30728,G__30461_30729,G__30462_30730,G__30463_30731)); + +return null; +}); +var on_mount = (function (){ +popup_window.addEventListener("resize",handle_window_resize); + +popup_window.addEventListener("beforeunload",on_unmount); + +return cljs.core.reset_BANG_(window_position_interval,setInterval(handle_window_position,(2000))); +}); +(popup_window["onunload"] = (function (){ +return cljs.core.reset_BANG_(cljs_react_devtools.core.popout_window,null); +})); + +cljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,root); + +return uix.dom.render_root(uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools_popup,uix.compiler.attributes.interpret_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-mount","on-mount",-1236735840),on_mount], null),props], 0))),[]),root); +}); +/** + * Originally copied from re-frisk.devtool/open-debugger-window + */ +cljs_react_devtools.core.open_debugger_window = (function cljs_react_devtools$core$open_debugger_window(p__30464,props){ +var map__30465 = p__30464; +var map__30465__$1 = cljs.core.__destructure_map(map__30465); +var width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,"width","width",-384071477)); +var height = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,"height","height",1025178622)); +var top = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,"top","top",-1856271961)); +var left = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,"left","left",-399115937)); +var document_title = document.title; +var window_title = goog.string.escapeString(["cljs-react-devtools | ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(document_title)].join('')); +var window_html = ["",cljs.core.str.cljs$core$IFn$_invoke$arity$1(window_title),""].join(''); +var window_features = cljs_react_devtools.core.m__GT_str(cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"top","top",-1856271961),new cljs.core.Keyword(null,"width","width",-384071477),new cljs.core.Keyword(null,"resizable","resizable",-2107060206),new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"directories","directories",-900278123),new cljs.core.Keyword(null,"toolbar","toolbar",-1172789065),new cljs.core.Keyword(null,"scrollbars","scrollbars",1817245048),new cljs.core.Keyword(null,"menubar","menubar",1684613273),new cljs.core.Keyword(null,"height","height",1025178622),new cljs.core.Keyword(null,"left","left",-399115937)],[top,width,new cljs.core.Keyword(null,"yes","yes",182838819),new cljs.core.Keyword(null,"no","no",-390373634),new cljs.core.Keyword(null,"no","no",-390373634),new cljs.core.Keyword(null,"no","no",-390373634),new cljs.core.Keyword(null,"yes","yes",182838819),new cljs.core.Keyword(null,"no","no",-390373634),height,left])); +var temp__5821__auto__ = window.open("about:blank","re-frame-10x-popout",window_features); +if(cljs.core.truth_(temp__5821__auto__)){ +var w = temp__5821__auto__; +var d = w.document; +d.open(); + +d.write(window_html); + +(w["onload"] = (function (){ +return cljs_react_devtools.core.mount(w,d,props); +})); + +d.close(); + +return cljs.core.reset_BANG_(cljs_react_devtools.core.popout_window,w); +} else { +return null; +} +}); +cljs_react_devtools.core.dock_devtools = (function cljs_react_devtools$core$dock_devtools(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___30733 = arguments.length; +var i__5770__auto___30734 = (0); +while(true){ +if((i__5770__auto___30734 < len__5769__auto___30733)){ +args__5775__auto__.push((arguments[i__5770__auto___30734])); + +var G__30735 = (i__5770__auto___30734 + (1)); +i__5770__auto___30734 = G__30735; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((0) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null); +return cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__); +}); + +(cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$variadic = (function (p__30467){ +var map__30468 = p__30467; +var map__30468__$1 = cljs.core.__destructure_map(map__30468); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30468__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var unload_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30468__$1,new cljs.core.Keyword(null,"unload?","unload?",436291763)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.window_settings,cljs.core.assoc,new cljs.core.Keyword(null,"location","location",1815599388),location__$1); + +localStorage.setItem(":cljs-devtools/window-location",cljs.core.name(location__$1)); + +if(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.popout_window))){ +cljs.core.deref(cljs_react_devtools.core.devtools_root_STAR_).unmount(); + +cljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,null); + +if(cljs.core.truth_(unload_QMARK_)){ +} else { +cljs.core.deref(cljs_react_devtools.core.popout_window).close(); +} + +return setTimeout((function (){ +var G__30469 = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"location","location",1815599388),location__$1], null); +return (cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1(G__30469) : cljs_react_devtools.core.render_devtools.call(null, G__30469)); +}),(50)); +} else { +cljs.core.deref(cljs_react_devtools.core.devtools_root_STAR_).unmount(); + +cljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,null); + +document.getElementById("cljs-react-devtools-root").remove(); + +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,"window","window",724519534))){ +return cljs_react_devtools.core.open_debugger_window(cljs.core.deref(cljs_react_devtools.core.window_settings),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"location","location",1815599388),location__$1], null)); +} else { +var G__30470 = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"location","location",1815599388),location__$1], null); +return (cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1(G__30470) : cljs_react_devtools.core.render_devtools.call(null, G__30470)); +} +} +})); + +(cljs_react_devtools.core.dock_devtools.cljs$lang$maxFixedArity = (0)); + +/** @this {Function} */ +(cljs_react_devtools.core.dock_devtools.cljs$lang$applyTo = (function (seq30466){ +var self__5755__auto__ = this; +return self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq30466)); +})); + +cljs_react_devtools.core.render_devtools = (function cljs_react_devtools$core$render_devtools(p__30471){ +var map__30472 = p__30471; +var map__30472__$1 = cljs.core.__destructure_map(map__30472); +var location__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30472__$1,new cljs.core.Keyword(null,"location","location",1815599388)); +var node = document.createElement("div"); +var shadow_root = node.attachShadow(({"mode": "open"})); +var _ = document.body.append(node); +var ___$1 = (node.id = "cljs-react-devtools-root"); +var root = uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(shadow_root); +cljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,root); + +uix.dom.render_root(uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs_react_devtools.core.opts_STAR_),new cljs.core.Keyword(null,"location","location",1815599388),location__$1)),[]),root); + +return null; +}); +if((typeof cljs_react_devtools !== 'undefined') && (typeof cljs_react_devtools.core !== 'undefined') && (typeof cljs_react_devtools.core.initialized_QMARK_ !== 'undefined')){ +} else { +cljs_react_devtools.core.initialized_QMARK_ = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false); +} +cljs_react_devtools.core.init_BANG_ = (function cljs_react_devtools$core$init_BANG_(p__30473){ +var map__30474 = p__30473; +var map__30474__$1 = cljs.core.__destructure_map(map__30474); +var opts = map__30474__$1; +var root = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30474__$1,new cljs.core.Keyword(null,"root","root",-448657453)); +var shortcut = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30474__$1,new cljs.core.Keyword(null,"shortcut","shortcut",-431647697)); +if(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.initialized_QMARK_))){ +return null; +} else { +cljs.core.reset_BANG_(cljs_react_devtools.core.initialized_QMARK_,true); + +cljs.core.reset_BANG_(cljs_react_devtools.core.opts_STAR_,opts); + +cljs_react_devtools.core.hijack_re_frame(); + +return setTimeout((function (){ +var node = document.createElement("div"); +(node.id = "cljs-devtools-inspector-overlay"); + +document.body.append(node); + +return cljs_react_devtools.core.render_devtools(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"location","location",1815599388),new cljs.core.Keyword(null,"location","location",1815599388).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs_react_devtools.core.window_settings))], null)); +}),(100)); +} +}); + +//# sourceMappingURL=cljs_react_devtools.core.js.map diff --git a/out/cljs-runtime/cljs_react_devtools.core.js.map b/out/cljs-runtime/cljs_react_devtools.core.js.map new file mode 100644 index 0000000..2bc593e --- /dev/null +++ b/out/cljs-runtime/cljs_react_devtools.core.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cljs_react_devtools/core.cljs"],"mappings":";AAQA,GAAA,QAAAA,gDAAAC,qDAAAC;AAAA;AAAA,AAAA,AAASC,yCAAc,6CAAA,7CAACC;;AAExB,wCAAA,2CAAA,uDAAA,wCAAA,sEAAA,wEAAA,wEAAA,sEAAA,mFAAA,uEAAA,gFAAA,oEAAA,qEAAA,oEAAA,+EAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,YAAA,qDAAA,wCAAA,sEAAA,wEAAA,wEAAA,sEAAA,mFAAA,uEAAA,gFAAA,oEAAA,qEAAA,oEAAA,+EAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,viEAAKC;AA0BL,AAAKC,iCAAM,AAACC,sDAAmB,AAAA,qFAAQF;AAEvC,6CAAA,7CAAMG,kGAAoBC;AAA1B,AACE,oBAAMA;AAAN,AAC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A,IAAAD,aAAAD;IAAAC,iBAAA,AAAAhf,4BAAAgf;WAAAA,PAAwCE;WAAxC,AAAAjf,4CAAA+e,eAAA,lEAAqBvK;eAArB,AAAAxU,4CAAA+e,eAAA,tEAA0B9F;AAA1B,AACE,oBAAA,AAAAxJ,gBAAWoP;AAAX;;AAAA,AACE,kEAAA,lEAAC9R,sBAAO8R;;AACR,AAAC9R,sBAAOyN,oCAAMyE;;AACd,AAAClF;;AACD,OAACqE,WACC;AAAA,AACE,IAAMjiB,OAAK,uBAAA,vBAACuiB;AAAZ,AACE,WAAA,VAAM,AAAMviB;;AACZ,AAACwiB,qBAAwBxiB;;AACzB,gDAAA,2CAAA,pFAACmiB,iJAA2B,AAAA,2FAAA,AAAA7O,gBAAYoD;GAL9C","names":["js/cljs-react-devtools","js/cljs-react-devtools.core","js/cljs-react-devtools.core.popout-window","cljs-react-devtools.core/popout-window","cljs.core.atom","cljs-react-devtools.core/color-themes","cljs-react-devtools.core/theme","uix.core.create_context","cljs-react-devtools.core/node->siblings","node","cljs.core/LazySeq","cljs.core/cons","G__30150","cljs-react-devtools.core/fiber->child","fiber","or__5045__auto__","G__30151","cljs-react-devtools.core/render-children","state","set-state","child","iter__5523__auto__","s__30153","temp__5823__auto__","cljs.core/seq","cljs.core/chunked-seq?","c__5521__auto__","size__5522__auto__","cljs.core/count","b__30155","cljs.core/chunk-buffer","i__30154","cljs.core/-nth","cljs.core/chunk-append","cljs.core/chunk-cons","cljs.core/chunk","iter__30152","cljs.core/chunk-rest","cljs.core/first","cljs.core/rest","uix.compiler.alpha/component-element","cljs-react-devtools.core/tree-view","cljs-react-devtools.core/reagent-node?","el-type","and__5043__auto__","cljs.core/fn?","cljs-react-devtools.core/uix-node?","cljs-react-devtools.core/memo-node?","cljs.core._EQ_","js/Object","js/Symbol","cljs-react-devtools.core/demunge-name","name","s","clojure.string.split","cljs.core/demunge-str","clojure.string.join","cljs.core/butlast","cljs.core/last","cljs-react-devtools.core/demunge-fn-name","var_args","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","cljs-react-devtools.core/node->name","p__30158","map__30159","cljs.core/--destructure-map","cljs.core.get","seq30156","G__30157","cljs.core/next","self__5754__auto__","lib?","file?","memo?","uix.compiler.aot/>el","uix.compiler.attributes/interpret-attrs","o","props__29459__auto__","clj-props__29460__auto__","uix.core/glue-args","vec__30162","cljs.core.nth","f__29461__auto__","js/goog.DEBUG","cljs-react-devtools.core/button","f__29390__auto__","*current-component*-orig-val__30165","uix.core/*current-component*","*current-component*-temp-val__30166","cljs.core/map?","js/Error","js/Object.defineProperty","obj30168","js/window","js/window.uix","js/window.uix.dev","sig__29399__auto__","js/window.uix.dev.signature!","js/window.uix.dev.register!","props","p1__30160#","cljs.core.update","cljs.core.merge","cljs.core.filter","cljs.core.comp","cljs.core/some?","cljs.core/val","cljs-react-devtools.core/icon-chevron-down","cljs-react-devtools.core/icon-cursor-rays","cljs-react-devtools.core/icon-window","cljs-react-devtools.core/icon-dock-bottom","cljs-react-devtools.core/icon-dock-right","cljs-react-devtools.core/icon-dock-left","cljs-react-devtools.core/icon-arrow-path","cljs-react-devtools.core/preview-ctx","cljs-react-devtools.core/has-non-primitive-children?","children","p1__30169#","cljs.core/some","vec__30171","map__30174","*current-component*-orig-val__30180","*current-component*-temp-val__30181","obj30183","vec__30175","map__30178","closed?","set-closed","uix.core/use-state","hide-dom?","selected","selected?","set-preview-node","uix.core/use-context","colors","uix.compiler.attributes/keyword->string","G__30179","cljs.core.assoc","cljs.core/not","vec__30185","map__30188","cljs-react-devtools.core/data-view-map","*current-component*-orig-val__30193","*current-component*-temp-val__30194","obj30196","data","tag","entries-fn","key-fn","open?","set-open","closing","cljs.core/identity","entries","cljs.core.map_indexed","p__30189","vec__30190","idx","key","val","last-idx?","uix.compiler.aot/fragment","cljs-react-devtools.core/data-view","cljs-react-devtools.core/closed-data-view","vec__30198","map__30201","vec__30202","cljs-react-devtools.core/data-view-seq","*current-component*-orig-val__30205","*current-component*-temp-val__30206","obj30208","open","close","cljs.core/empty?","js/cljs-react-devtools.core.hint-ctx","cljs-react-devtools.core/hint-ctx","cljs-react-devtools.core/fmt-fn","clojure.string/blank?","clojure.string/includes?","parts","cljs.core/demunge","ns","vec__30210","map__30213","cljs-react-devtools.core/data-view-primitive","*current-component*-orig-val__30214","*current-component*-temp-val__30215","obj30217","data-raw","color","cljs.core.pr_str","p__30218","map__30219","cljs-react-devtools.core/atomic-data-view","cljs.core/boolean?","cljs.core/uuid?","cljs.core/Keyword","cljs-react-devtools.core/constructor","G__30220","cljs-react-devtools.core/atomic?","cljs.core.some_fn","cljs.core/number?","cljs.core/nil?","cljs.core/string?","cljs.core/keyword?","vec__30223","map__30226","*current-component*-orig-val__30227","*current-component*-temp-val__30228","obj30230","style","key?","set-active","uix.compiler.attributes/convert-props","p1__30221#","js/console.dir","cljs.core/vector?","cljs.core/set?","cljs.core/seq?","js/Object.keys","js/Array","vec__30232","map__30235","cljs-react-devtools.core/data-view30231","*current-component*-orig-val__30239","*current-component*-temp-val__30240","obj30242","uix.core.memo","on-click","vec__30236","e","js/Object.entries","cljs.core/keyword","cljs-react-devtools.core/node->props","G__30243","cljs.core/vec","cljs-react-devtools.core/node->hooks","mem-state","G__30244","cljs-react-devtools.core/node->captured-state","G__30245","cljs-react-devtools.core/rf-sub","cljs-react-devtools.core/node->rf-subs","p1__30246#","cljs.core.keep","label","cljs-react-devtools.core/node->reactions","p1__30247#","G__30248","cljs-react-devtools.core/camel-case->kebab-case","cljs.core.map","clojure.string/lower-case","vec__30250","map__30253","cljs-react-devtools.core/section-header","*current-component*-orig-val__30254","*current-component*-temp-val__30255","obj30257","vec__30260","map__30263","cljs-react-devtools.core/editable-ref","*current-component*-orig-val__30268","*current-component*-temp-val__30269","obj30271","ref","set-hint","type","vec__30264","active?","value","p1__30258#","G__30267","uix.compiler.aot/create-uix-input","cljs.core/reset!","js/parseFloat","js/undefined","vec__30273","map__30276","cljs-react-devtools.core/reactions-view","*current-component*-orig-val__30285","*current-component*-temp-val__30286","obj30288","reactions","subs","uix.compiler.attributes/interpret-props","p__30277","vec__30278","reaction","p__30281","vec__30282","sub","vec__30290","map__30293","cljs-react-devtools.core/hooks-view","*current-component*-orig-val__30295","*current-component*-temp-val__30296","obj30298","hooks","cljs.core.keep_indexed","hook","js/Array.isArray","G__30294","p__30300","map__30301","cljs-react-devtools.core/use-resize-handler","set-size","dir","max","min","location","vec__30302","uix.core.use_ref","uix.hooks.alpha.use_effect","uix.hooks.alpha/use-clj-deps","move-handler","cljs.core/deref","bb","v","js/window.innerHeight","js/window.innerWidth","G__30306","p1__30299#","up-handler","js/document","vec__30308","map__30311","cljs-react-devtools.core/resize-handle","*current-component*-orig-val__30315","*current-component*-temp-val__30316","obj30318","vec__30312","cljs.core.not_EQ_","cljs-react-devtools.core/use-size","k","vec__30320","size","temp__5821__auto__","n","js/localStorage.getItem","js/Number.isNaN","f","uix.hooks.alpha/use-memo","p1__30319#","goog.functions/debounce","js/localStorage.setItem","vec__30324","map__30327","cljs-react-devtools.core/inspector","*current-component*-orig-val__30335","*current-component*-temp-val__30336","obj30338","map__30328","vec__30329","vec__30332","horizontal?","cljs.core/contains?","js/console.log","cljs_react_devtools.core.node__GT_name","cljs-react-devtools.core/error-boundary","uix.core/create-error-boundary","error","p__30339","p__30340","vec__30341","map__30344","map__30345","js/cljs-react-devtools.core.window-settings","cljs-react-devtools.core/window-settings","cljs.core.keyword","cljs-react-devtools.core/close-window","cljs.core.swap_BANG_","cljs.core/assoc","cljs-react-devtools.core/dock-devtools","vec__30347","map__30350","cljs-react-devtools.core/toolbar","*current-component*-orig-val__30353","*current-component*-temp-val__30354","obj30356","hint","set-inspecting","inspecting?","dock-devtools","map__30351","G__30352","p__30357","vec__30358","cljs-react-devtools.core/intersects?","x","y","rect","p__30368","map__30369","cljs-react-devtools.core/use-dom-inspector","root","on-target","skip-dom?","preview-node","vec__30370","set-rect","nodes","p1__30361#","p1__30362#","cljs.core/tree-seq","cljs.core/reverse","p1__30363#","p1__30364#","p1__30365#","dom-node","G__30375","uix.dom/find-dom-node","node!","mouse-handler","p1__30366#","G__30376","click-handler","target","p1__30367#","clojure.string/starts-with?","w","vec__30379","map__30382","cljs-react-devtools.core/inspector-overlay","*current-component*-orig-val__30383","*current-component*-temp-val__30384","obj30386","p1__30377#","vec__30390","map__30393","cljs-react-devtools.core/devtools*","*current-component*-orig-val__30421","*current-component*-temp-val__30422","obj30424","vec__30394","vec__30397","vec__30400","vec__30403","vec__30406","vec__30409","tid","set-tid","p1__30387#","uix.hooks.alpha/use-callback","G__30413","p1__30388#","handler","goog.functions/throttle","cljs.core/inc","obs","js/MutationObserver","uix.dom.create_portal","js/document.getElementById","G__30417","G__30415","G__30414","G__30416","fexpr__30418","fexpr__30419","fexpr__30420","cljs-react-devtools.core/matches?","js/window.matchMedia","vec__30427","map__30430","cljs-react-devtools.core/devtools","*current-component*-orig-val__30441","*current-component*-temp-val__30442","obj30444","shortcut","vec__30431","vec__30434","visible?","set-visible","js/JSON.parse","dark-mode?","set-dark-mode","G__30438","m","down-handler","p1__30425#","cljs.core/every?","G__30440","cljs-react-devtools.core/hijack-re-frame","js/re-frame","js/re-frame.core","js/re-frame.core.subscribe","subscribe","query","ret","dynv","js/cljs-react-devtools.core.opts*","cljs-react-devtools.core/opts*","vec__30446","map__30449","cljs-react-devtools.core/devtools-popup","*current-component*-orig-val__30450","*current-component*-temp-val__30451","obj30453","on-mount","cljs-react-devtools.core/m->str","cljs.core.reduce","p__30454","vec__30455","cljs.core/name","cljs.core.conj","js/cljs-react-devtools.core.devtools-root*","cljs-react-devtools.core/devtools-root*","cljs-react-devtools.core/mount","popup-window","popup-document","_","shadow-root","uix.dom.create_root","resize-update-scheduled?","handle-window-resize","js/goog.async.nextTick","width","height","cljs.core/merge","handle-window-position","map__30458","left","top","screen-left","screen-top","window-position-interval","on-unmount","G__30459","js/clearInterval","G__30460","G__30461","G__30462","G__30463","js/setInterval","uix.dom/render-root","p__30464","map__30465","cljs-react-devtools.core/open-debugger-window","document-title","js/document.title","window-title","goog.string/escapeString","window-html","window-features","js/window.open","d","p__30467","map__30468","seq30466","self__5755__auto__","unload?","js/setTimeout","G__30469","cljs-react-devtools.core/render-devtools","G__30470","p__30471","map__30472","js/document.createElement","js/document.body.append","js/cljs-react-devtools.core.initialized?","cljs-react-devtools.core/initialized?","p__30473","map__30474","cljs-react-devtools.core/init!","opts","cljs.core/chunk-first"],"sourcesContent":["(ns cljs-react-devtools.core\n (:require [clojure.string :as str]\n [uix.core :as uix :refer [$ defui]]\n [uix.dom]\n [goog.functions :as fns]\n [goog.string :as gstr]\n [goog.async.nextTick]))\n\n(defonce popout-window (atom nil))\n\n(def color-themes\n {:light\n {:highlight-text \"#8835ff\"\n :highlight-bg \"#eadcff\"\n :icon-chevron \"#b78ff1\"\n :data-view-primitive \"#216aef\"\n :data-view-string \"#388e28\"\n :data-view-keyword \"#c94d22\"\n :resize-handle \"#fcf8ff\"\n :tool-bar-text \"#a769ff\"\n :devtools-bg \"#fefdff\"\n :devtools-text \"#51485f\"\n :tree-view-bg \"#fbfafd\"}\n :dark\n {:highlight-text \"#ebe0fb\"\n :highlight-bg \"#4d27f9\"\n :icon-chevron \"#ede2fd\"\n :data-view-primitive \"#7be0ff\"\n :data-view-string \"#5de144\"\n :data-view-keyword \"#fac543\"\n :resize-handle \"#3e2e44\"\n :tool-bar-text \"#ebe0fc\"\n :devtools-bg \"#302b32\"\n :devtools-text \"#ede2ff\"\n :tree-view-bg \"#2d292d\"}})\n\n(def theme (uix/create-context (:light color-themes)))\n\n(defn node->siblings [^js node]\n (when node\n (lazy-seq\n (cons node (when (.-sibling node)\n (node->siblings (.-sibling node)))))))\n\n(declare tree-view)\n\n(defn fiber->child [fiber]\n (or (.-child fiber) (some-> fiber .-alternate .-child)))\n\n(defn render-children [^js node state set-state]\n (let [child (fiber->child node)]\n (when child\n (for [node (node->siblings child)]\n ($ tree-view {:node node\n :state state\n :set-state set-state\n :key (.-index node)})))))\n\n(defn reagent-node? [^js node]\n (let [el-type (.-elementType node)]\n (and (fn? el-type)\n (.-cljs$lang$type el-type))))\n\n(defn uix-node? [^js node]\n (let [el-type (.-elementType node)]\n (and (fn? el-type)\n (.-uix-component? el-type))))\n\n(defn memo-node? [node]\n (let [el-type (.-elementType node)]\n (and el-type\n (= js/Object (.-constructor el-type))\n (= (aget el-type \"$$typeof\") (.for js/Symbol \"react.memo\")))))\n\n(defn demunge-name [name]\n (let [s (str/split (demunge-str name) #\"\\.\")]\n (str (str/join \".\" (butlast s)) \"/\" (last s))))\n\n(defn demunge-fn-name [name]\n (let [s (str/split (demunge-str name) #\"/\")]\n (str (str/join \".\" (butlast s)) \"/\" (last s))))\n\n(defn node->name [^js node & {:keys [lib? file?]}]\n (let [el-type (.-elementType node)\n memo? (memo-node? (.-return node))]\n ($ :div {:style {:display :flex\n :justify-content :space-between}}\n ($ :span\n (cond\n (string? el-type) el-type\n\n (reagent-node? node)\n (demunge-name (.-displayName el-type))\n\n (fn? el-type) (or (.-displayName el-type)\n (demunge-fn-name (.-name el-type))))\n (when memo?\n \" [memo]\")\n (when lib?\n (cond\n (reagent-node? node) \" [reagent]\"\n (uix-node? node) \" [uix]\"\n (fn? el-type) \" [react]\")))\n ($ :span\n (when (and file?\n (fn? el-type))\n (when-let [o (.. node -type -_source)]\n (str (.-file o) \":\" (.-lineNumber o))))))))\n\n(defui button [props]\n ($ :button\n (update props :style\n #(merge {:background :transparent\n :border :none\n :cursor :pointer\n :padding 0\n :opacity (when (:disabled props) 0.5)}\n (filter (comp some? val) %)))))\n\n(def icon-chevron-down\n ($ :svg {:xmlns \"http://www.w3.org/2000/svg\" :fill \"none\" :viewBox \"0 0 24 24\" :stroke-width \"4\" :stroke \"currentColor\"\n :width 8 :height 8}\n ($ :path {:stroke-linecap \"round\" :stroke-linejoin \"round\" :d \"M19.5 8.25l-7.5 7.5-7.5-7.5\"})))\n\n(def icon-cursor-rays\n ($ :svg {:xmlns \"http://www.w3.org/2000/svg\" :fill \"none\" :viewBox \"0 0 24 24\" :stroke-width \"2\" :stroke \"currentColor\"\n :width 18 :height 18}\n ($ :path {:stroke-linecap \"round\" :stroke-linejoin \"round\" :d \"M15.042 21.672L13.684 16.6m0 0l-2.51 2.225.569-9.47 5.227 7.917-3.286-.672zM12 2.25V4.5m5.834.166l-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243l-1.59-1.59\"})))\n\n(def icon-window\n ($ :svg {:xmlns \"http://www.w3.org/2000/svg\" :fill \"none\" :viewBox \"0 0 24 24\" :stroke-width \"2\" :stroke \"currentColor\"\n :width 18 :height 18}\n ($ :path {:stroke-linecap \"round\" :stroke-linejoin \"round\" :d \"M3 8.25V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18V8.25m-18 0V6a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6zM7.5 6h.008v.008H7.5V6zm2.25 0h.008v.008H9.75V6z\"})))\n\n(def icon-dock-bottom\n ($ :svg {:width 18 :height 18 :viewBox \"0 0 24 24\" :fill \"none\" :xmlns \"http://www.w3.org/2000/svg\"}\n ($ :path {:d \"M3 14H21M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\" :stroke \"currentColor\" :stroke-width \"2\" :stroke-linecap \"round\" :stroke-linejoin \"round\"})\n ($ :path {:d \"M3.375 18L3.375 14.5L20.625 14.5L20.625 18C20.625 18.621 20.121 19.125 19.5 19.125L4.5 19.125C3.879 19.125 3.375 18.621 3.375 18Z\" :fill \"currentColor\"})))\n\n(def icon-dock-right\n ($ :svg {:width 19 :height 19 :viewBox \"0 0 24 24\" :fill \"none\" :xmlns \"http://www.w3.org/2000/svg\"}\n ($ :path {:d \"M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\" :stroke \"currentColor\" :stroke-width \"2\" :stroke-linecap \"round\" :stroke-linejoin \"round\"})\n ($ :path {:d \"M19.875 19.5H15V4.5H19.875C20.496 4.5 21 5.004 21 5.625V18.375C21 18.996 20.496 19.5 19.875 19.5Z\" :fill \"currentColor\"})))\n\n(def icon-dock-left\n ($ :svg {:width 19 :height 19 :viewBox \"0 0 24 24\" :fill \"none\" :xmlns \"http://www.w3.org/2000/svg\"}\n ($ :path {:d \"M9 4.5V19.5M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\" :stroke \"currentColor\" :stroke-width \"2\" :stroke-linecap \"round\" :stroke-linejoin \"round\"})\n ($ :path {:d \"M4.125 19.5H9V4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\" :fill \"currentColor\"})))\n\n(def icon-arrow-path\n ($ :svg {:xmlns \"http://www.w3.org/2000/svg\" :fill \"none\" :viewBox \"0 0 24 24\" :stroke-width \"2\" :stroke \"currentColor\"\n :width 14 :height 14}\n ($ :path {:stroke-linecap \"round\" :stroke-linejoin \"round\" :d \"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99\"})))\n\n(def preview-ctx (uix/create-context))\n\n(defn has-non-primitive-children? [node]\n (let [children (node->siblings (fiber->child node))]\n (some #(nil? (.-elementType %)) children)))\n\n\n(defui tree-view [{:keys [^js node state set-state]}]\n (let [memo? (memo-node? node)\n node (if memo? (fiber->child node) node)\n el-type (.-elementType node)\n [closed? set-closed] (uix/use-state false)\n {:keys [hide-dom? selected]} state\n selected? (= selected node)\n set-preview-node (uix/use-context preview-ctx)\n colors (uix/use-context theme)]\n (cond\n (or (nil? el-type)\n (and (string? el-type) hide-dom?))\n (render-children node state set-state)\n\n :else\n ($ :div {:style {:margin \"4px 0 4px 8px\"}}\n (when-not (has-non-primitive-children? node)\n ($ :span {:style {:margin \"0 4px 0 0\"\n :color (:icon-chevron colors)\n :display :inline-block\n :transition \"transform 100ms ease-in-out\"\n :transform (if closed? \"rotate(-90deg)\" \"rotate(0deg)\")}}\n icon-chevron-down))\n ($ button\n {:style {:color (:highlight-text colors)\n :user-select :none\n :background (when selected? (:highlight-bg colors))}\n :on-mouse-enter #(set-preview-node node)\n :on-mouse-leave #(set-preview-node nil)\n :on-click #(do (set-state (assoc state :selected node))\n (when selected?\n (set-closed not)))}\n (node->name node))\n (when-not closed?\n (render-children node state set-state))))))\n\n(declare data-view closed-data-view)\n\n(defui data-view-map\n [{:keys [data tag entries-fn key-fn open? set-open closing]\n :or {entries-fn seq\n key-fn identity}}]\n (let [entries (entries-fn data)]\n (when (seq entries)\n (map-indexed\n (fn [idx [key val]]\n (let [last-idx? (= idx (dec (count entries)))\n closing (when last-idx?\n ($ :<> \"}\" closing))]\n ($ :div\n {:key key\n :style {:display :flex\n :margin (when-not last-idx? \"0 0 4px 0\")}}\n (when (zero? idx)\n ($ :span (str\n (when tag\n (str \"#\" tag \" \"))\n \"{\")))\n ($ data-view\n {:data (key-fn key)\n :key? true\n :on-click #(set-open not)\n :style {:margin-right 8\n :margin-left (when (pos? idx)\n (if tag\n (* 7.5 (+ 3 (count tag)))\n 6))}})\n (if open?\n ($ data-view {:data val :closing closing})\n ($ :<>\n ($ closed-data-view {:data val :set-open set-open})\n closing)))))\n entries))))\n\n(defui data-view-seq\n [{:keys [data tag closing open? set-open]\n [open close] :brackets}]\n (if (empty? data)\n ($ :<> open close closing)\n ($ :div\n {:style {:display :flex}}\n (map-indexed\n (fn [idx val]\n (let [last-idx? (= idx (dec (count data)))\n closing (when last-idx?\n ($ :<> close closing))]\n ($ :div\n {:key idx\n :style {:display :flex}}\n (when (zero? idx)\n ($ :span\n (str (when tag (str \"#\" tag \" \")) open)))\n (if open?\n ($ data-view\n {:data val\n :style (when (zero? idx) {:margin 0})\n :closing closing})\n ($ :<>\n ($ closed-data-view {:data val :set-open set-open\n :style (when-not last-idx? {:margin-right 8})})\n closing)))))\n data))))\n\n(defonce hint-ctx (uix/create-context))\n\n(defn- fmt-fn [data]\n (str \"fn<\"\n (cond\n (str/blank? (.-name data))\n \"anonymous\"\n\n (str/includes? (.-name data) \"$\")\n (let [parts (-> (.-name data)\n demunge\n (str/split \"/\"))\n name (last parts)\n ns (str/join \".\" (butlast parts))]\n (str ns \"/\" name))\n\n :else (.-name data))\n \">\"))\n\n(defui data-view-primitive [{:keys [data data-raw closing color]}]\n (let [data (or data-raw (pr-str data))]\n ($ :<>\n ($ :span {:title data\n :style {:color color\n :max-width 180\n :display :inline-block\n :overflow :hidden\n :text-overflow :ellipsis}}\n data)\n closing)))\n\n(defn atomic-data-view [{:keys [data colors]}]\n (cond\n (number? data) ($ data-view-primitive {:data data :color (:data-view-primitive colors)})\n (nil? data) ($ data-view-primitive {:data data :color (:data-view-primitive colors)})\n (boolean? data) ($ data-view-primitive {:data data :color (:data-view-primitive colors)})\n (string? data) ($ data-view-primitive {:data data :color (:data-view-string colors)})\n (uuid? data) ($ data-view-primitive {:data data :color (:data-view-string colors)})\n (keyword? data) ($ data-view-primitive {:data data :color (:data-view-keyword colors)})\n (fn? data) ($ data-view-primitive {:data-raw (fmt-fn data) :color (:data-view-primitive colors)})))\n\n(defn- constructor [o]\n (some-> o .-constructor))\n\n(def atomic? (some-fn number? nil? boolean? string? uuid? keyword? fn?))\n\n(defui closed-data-view\n [{:keys [data style key? set-open]}]\n (let [set-active (uix/use-context hint-ctx)\n colors (uix/use-context theme)]\n ($ :pre\n {:style (merge {:margin 0\n :cursor :pointer\n :font-size \"12px\"}\n style)\n :on-mouse-enter #(set-active true)\n :on-mouse-leave #(set-active false)\n :on-click #(do\n (when-not (atomic? data)\n (set-open not))\n (when-not key?\n (.stopPropagation %)\n (js/console.dir data)))}\n (cond\n (map? data) (if (seq data) \"{...}\" \"{}\")\n (vector? data) (if (seq data) \"[...]\" \"[]\")\n (set? data) (if (seq data) \"#{...}\" \"#{}\")\n (seq? data) (if (seq data) \"(...)\" \"()\")\n (= js/Object (constructor data)) (if (pos? (.-length (js/Object.keys data)))\n \"#js {...}\"\n \"#js {}\")\n (= js/Array (constructor data)) (if (pos? (.-length data))\n \"#js [...]\"\n \"#js []\")\n :else (or (atomic-data-view {:data data :colors colors})\n \"...\")))))\n\n(defui ^:memo data-view\n [{:keys [data style key? on-click open? closing]}]\n (let [set-active (uix/use-context hint-ctx)\n colors (uix/use-context theme)\n [open? set-open] (uix/use-state open?)]\n ($ :pre\n {:style (merge {:margin 0\n :cursor :pointer\n :font-size \"12px\"}\n style)\n :on-mouse-enter #(set-active true)\n :on-mouse-leave #(set-active false)\n :on-click (fn [e]\n (when on-click (on-click))\n (when-not key?\n (.stopPropagation e)\n (js/console.dir data)))}\n (cond\n (map? data) ($ data-view-map {:data data :open? open? :set-open set-open :closing closing})\n (vector? data) ($ data-view-seq {:data data :brackets [\"[\" \"]\"] :open? open? :set-open set-open :closing closing})\n (set? data) ($ data-view-seq {:data data :brackets [\"#{\" \"}\"] :open? open? :set-open set-open :closing closing})\n (seq? data) ($ data-view-seq {:data data :brackets [\"(\" \")\"] :open? open? :set-open set-open :closing closing})\n (= js/Object (constructor data)) ($ data-view-map\n {:data data\n :tag \"js\"\n :entries-fn js/Object.entries\n :key-fn keyword\n :open? open?\n :set-open set-open\n :closing closing})\n (= js/Array (constructor data)) ($ data-view-seq {:data data :tag \"js\" :brackets [\"[\" \"]\"] :open? open? :set-open set-open :closing closing})\n :else (or (atomic-data-view {:data data :colors colors})\n ($ :<> (pr-str data) closing))))))\n\n(defn node->props [^js node]\n (let [el-type (.-elementType node)]\n (cond\n (string? el-type)\n ($ data-view {:data (.. node -memoizedProps)\n :style {:margin 0}})\n\n (reagent-node? node)\n ($ data-view {:data (let [props (rest (some-> node .-memoizedProps .-argv))]\n (when (seq props) (vec props)))\n :style {:margin 0}})\n\n (uix-node? node)\n ($ data-view {:data (.. node -memoizedProps -argv)\n :style {:margin 0}}))))\n\n(defn node->hooks [^js mem-state]\n (when (and mem-state (some? (.-memoizedState mem-state)))\n (lazy-seq\n (cons (.-memoizedState mem-state)\n (when (.-next mem-state)\n (node->hooks (.-next mem-state)))))))\n\n(defn node->captured-state [node]\n (some-> node .-stateNode ^js (.-cljsRatom) .-captured))\n\n(defn- rf-sub [^js node]\n (.-__devtools-label node))\n\n(defn node->rf-subs [^js node]\n (->> (node->captured-state node)\n (keep #(when-let [label (rf-sub %)]\n [($ data-view {:data label :style {:margin 0}})\n %]))))\n\n(defn node->reactions [^js node]\n (->> (node->captured-state node)\n (keep #(when (and (not (some-> ^js % .-state .-generation))\n (not (rf-sub %)))\n [\"ratom\" %]))))\n\n(defn camel-case->kebab-case [s]\n (->> (str/split s #\"(?<=[a-z])(?=[A-Z])\")\n (map str/lower-case)\n (str/join \"-\")))\n\n(defui section-header [{:keys [children]}]\n (let [colors (uix/use-context theme)]\n ($ :div\n {:style {:color (:highlight-text colors)\n :background (:highlight-bg colors)\n :margin \"0 0 4px 0\"\n :padding \"0 4px\"}}\n children)))\n\n(defui editable-ref [{:keys [ref set-hint label type]}]\n (let [[active? set-active] (uix/use-state false)\n value (.-state ref)]\n ($ :div\n {:on-double-click #(set-active true)\n :on-mouse-enter (when-not active?\n #(do (set-hint (str \"double click on the value to update the \" label))\n (.stopPropagation %)))\n :on-mouse-leave #(set-hint nil)}\n (if active?\n ($ :input\n {:default-value value\n :type (if (number? value) :number :text)\n :auto-focus true\n :on-blur #(set-active false)\n :on-key-down (fn [^js e]\n (when (= (.-key e) \"Enter\")\n (when (= :sub type)\n (set! (.-on-set ^js ref) identity))\n (if (number? value)\n (reset! ref (js/parseFloat (.. e -target -value) 10))\n (reset! ref (.. e -target -value)))\n (when (= :sub type)\n (set! (.-on-set ^js ref) js/undefined))\n (set-active false)))})\n ($ data-view\n {:data value\n :style {:margin 0}})))))\n\n(defui reactions-view [{:keys [node set-hint]}]\n (let [reactions (node->reactions node)\n subs (node->rf-subs node)]\n ($ :<>\n (when (seq reactions)\n ($ :div {:style {:margin \"8px 0 0 0\"}}\n ($ section-header \"reactions\")\n (map-indexed\n (fn [idx [type reaction]]\n ($ :div\n {:key idx\n :style {:display :flex :justify-content :space-between}}\n ($ :div {:style {:display :flex :gap 8}}\n ($ :span type)\n ($ editable-ref {:ref reaction :set-hint set-hint :label \"reaction\"}))\n #_($ button\n {:style {:color (:tool-bar-text colors)\n :margin \"0 0 0 8px\"}\n :on-mouse-enter #(set-hint \"restore to initial value\")\n :on-mouse-leave #(set-hint nil)\n :title \"restore to initial value\"\n :on-click #(reset! reaction \"INITIAL\")}\n icon-arrow-path)))\n reactions)))\n (when (seq subs)\n ($ :div {:style {:margin \"8px 0 0 0\"}}\n ($ section-header \"re-frame subscriptions\")\n (map-indexed\n (fn [idx [type sub]]\n ($ :div\n {:key idx\n :style {:display :flex :justify-content :space-between}}\n ($ :div {:style {:display :flex :gap 8}}\n ($ :span type)\n ($ editable-ref {:ref sub :set-hint set-hint :label \"subscription\" :type :sub}))\n #_($ button\n {:style {:color (:tool-bar-text colors)\n :margin \"0 0 0 8px\"}\n :on-mouse-enter #(set-hint \"restore to initial value\")\n :on-mouse-leave #(set-hint nil)\n :title \"restore to initial value\"\n :on-click #(do\n (set! (.-on-set ^js sub) identity)\n (reset! sub \"INITIAL\")\n (set! (.-on-set ^js sub) js/undefined))}\n icon-arrow-path)))\n subs))))))\n\n(defui hooks-view [{:keys [node]}]\n (let [hooks (node->hooks (.-memoizedState node))\n colors (uix/use-context theme)]\n (when (seq hooks)\n ($ :div {:style {:margin \"8px 0 0 0\"}}\n ($ section-header \"hooks\")\n (keep-indexed\n (fn [idx hook]\n (when-not (and (js/Array.isArray hook)\n (js/Array.isArray (aget hook 1))\n (fn? (aget (aget hook 1) 0))\n (= \"bound dispatchSetState\" (.-name (aget (aget hook 1) 0))))\n (let [name (camel-case->kebab-case (aget (.-_debugHookTypes ^js node) idx))]\n ($ :div {:key idx\n :style {:margin \"8px 0\"}}\n ($ :span {:style {:color (:highlight-text colors)}}\n name)\n (case name\n \"use-callback\"\n ($ :<>\n ($ :div {:style {:display :flex :gap 8}}\n ($ :span \"callback:\")\n ($ data-view {:data (aget hook 0) :style {:margin 0}}))\n ($ :div {:style {:display :flex :gap 8}}\n ($ :span \"deps:\")\n ($ data-view {:data (vec (aget hook 1)) :style {:margin 0}})))\n\n \"use-effect\"\n ($ :<>\n ($ :div {:style {:display :flex :gap 8}}\n ($ :span \"effect:\")\n ($ data-view {:data (.-create hook) :style {:margin 0}}))\n ($ :div {:style {:display :flex :gap 8}}\n ($ :span \"deps:\")\n ($ data-view {:data (vec (.-deps hook)) :style {:margin 0}})))\n\n \"use-ref\"\n ($ data-view {:data (.. hook -current -current) :style {:margin 0}})\n\n ($ data-view {:data hook :style {:margin 0}}))))))\n hooks)))))\n\n(uix/defhook use-resize-handler [{:keys [set-size dir max min location]\n :or {max 100 min 0}}]\n (let [[active? set-active] (uix/use-state false)\n ref (uix/use-ref)]\n (uix/use-effect\n (fn []\n (when active?\n (let [move-handler (fn [^js e]\n (let [node @ref\n bb (.getBoundingClientRect node)\n v (* (/ 100 (if (= dir :vertical) js/window.innerHeight js/window.innerWidth))\n (cond\n (= dir :vertical)\n (- (.-y bb) (.-y e))\n\n (= location :left)\n (- (.-x e) (+ (.-x bb) (.-width bb)))\n\n :else (- (.-x bb) (.-x e))))]\n (set-size\n #(let [v (+ % v)]\n (if (>= max v min)\n v\n %)))))\n up-handler #(set-active false)]\n (.addEventListener js/document \"mousemove\" move-handler)\n (.addEventListener js/document \"mouseup\" up-handler)\n (fn []\n (.removeEventListener js/document \"mousemove\" move-handler)\n (.removeEventListener js/document \"mouseup\" up-handler)))))\n [active? set-size dir max min location])\n [ref set-active]))\n\n(defui resize-handle [{:keys [set-size dir max min location] :as props}]\n (let [[ref set-active] (use-resize-handler props)\n colors (uix/use-context theme)]\n ($ :div {:ref ref\n :on-mouse-down #(set-active true)\n :style {:height (if (= dir :vertical) \"4px\" \"100%\")\n :width (if (= dir :vertical) \"100%\" \"4px\")\n :position :absolute\n :left (when (not= location :left) 0)\n :right (when (= location :left) 0)\n :top 0\n :background (:resize-handle colors)\n :cursor (if (= dir :vertical) :ns-resize :ew-resize)}})))\n\n(uix/defhook use-size [v k]\n (let [[size set-size] (uix/use-state #(if-let [n (js/localStorage.getItem (str k))]\n (let [n (js/parseFloat n 10)]\n (if (js/Number.isNaN n)\n v\n n))\n v))\n f (uix/use-memo (fn []\n (fns/debounce #(js/localStorage.setItem (str k) %) 100))\n [k])]\n (uix/use-effect\n #(f size)\n [size f])\n [size set-size]))\n\n(defui inspector [{:keys [state set-hint location]}]\n (let [{:keys [selected]} state\n [size set-size] (use-size 35 :cljs-devtools-inspector/ui-size)\n [active? set-active] (uix/use-state false)\n horizontal? (contains? #{:window :bottom} location)\n colors (uix/use-context theme)]\n (uix/use-effect\n (fn []\n (if active?\n (set-hint \"click on the value to log it to console\")\n (set-hint \"\")))\n [active? set-hint])\n ($ :div\n {:style {:box-sizing :border-box\n :width (if horizontal? (str size \"%\") \"100%\")\n :height (when-not horizontal? (str size \"vh\"))\n :border-left (when horizontal? \"1px solid #8632ff75\")\n :border-top (when-not horizontal? \"1px solid #8632ff75\")\n :padding \"0 8px 32px\"\n :display :flex\n :flex-direction :column\n :position :relative}}\n ($ resize-handle {:set-size set-size\n :dir (if horizontal? :horizontal :vertical)\n :max 50\n :min 20})\n (when selected\n ($ (.-Provider hint-ctx) {:value set-active}\n ($ :<>\n ($ button\n {:on-click #(js/console.log (.-elementType selected))\n :on-mouse-enter #(set-active true)\n :on-mouse-leave #(set-active false)\n :style {:margin \"8px 0 0 0\"\n :display :block\n :color (:highlight-text colors)}}\n (node->name selected :lib? true :file? true))\n ($ :div {:style {:margin \"8px 0 0 0\"\n :overflow-y :auto\n :flex 1}}\n ($ section-header \"props\")\n (node->props selected)\n (when (reagent-node? selected)\n ($ reactions-view {:node selected :set-hint set-hint}))\n ($ hooks-view {:node selected}))))))))\n\n(def error-boundary\n (uix/create-error-boundary\n {:derive-error-state (fn [error]\n {:error error})}\n (fn [[{:keys [error]} set-state] {:keys [children]}]\n (if error\n ($ :div\n {:style {:background \"#faf0ec\"\n :color \"#ec681f\"\n :font-size \"16px\"\n :flex 1\n :display :flex\n :flex-direction :column\n :gap 16\n :justify-content :center\n :align-items :center}}\n ($ :div\n \"Something went wrong\")\n ($ :div\n (if (instance? js/Error error)\n (.-message error)\n error))\n ($ :a\n {:href \"https://github.com/roman01la/cljs-react-devtools\"\n :target \"blank_\"\n :style {:background \"#ff784b\"\n :color \"#faf0ec\"\n :padding \"8px 12px\"\n :border-radius \"3px\"}}\n \"report an issue\"))\n children))))\n\n(defonce window-settings (atom {:width 800 :height 400 :top 0 :left 0\n :location (let [v (js/localStorage.getItem \":cljs-devtools/window-location\")]\n (if (str/blank? v)\n :bottom\n (keyword v)))}))\n(declare dock-devtools)\n\n(defn close-window [location]\n (if @popout-window\n (do\n (swap! window-settings assoc :location location)\n (.close @popout-window))\n (dock-devtools :location location)))\n\n(defui toolbar\n [{:keys [state set-state hint set-hint\n set-inspecting inspecting? dock-devtools location]}]\n (let [{:keys [hide-dom?]} state\n colors (uix/use-context theme)]\n ($ :div\n {:style {:padding \"4px 8px\"\n :border-bottom \"1px solid #8632ff75\"\n :font-size \"12px\"\n :display :flex\n :justify-content :space-between\n :gap 32}}\n ($ :div\n {:on-mouse-enter #(set-hint \"toggle DOM nodes in the tree view\")\n :on-mouse-leave #(set-hint nil)}\n ($ :input#cljs-devtools_hide-mo-nodes\n {:type :checkbox\n :checked hide-dom?\n :on-change #(set-state (update state :hide-dom? not))\n :style {:margin \"0 4px 0 0\"}})\n ($ :label\n {:for \"cljs-devtools_hide-mo-nodes\"}\n \"Hide DOM nodes\"))\n ($ :div {:style {:display :flex\n :align-items :center}}\n ($ :div {:style {:color (:tool-bar-text colors)\n :opacity (if (str/blank? hint) 0 1)\n :transition \"opacity 100ms ease-in-out\"}}\n hint)\n ($ button\n {:style {:color (:tool-bar-text colors)\n :background (when inspecting? (:highlight-bg colors))\n :margin \"0 0 0 8px\"}\n :on-mouse-enter #(set-hint \"select an element to inspect\")\n :on-mouse-leave #(set-hint nil)\n :title \"Select an element to inspect\"\n :on-click #(set-inspecting not)}\n icon-cursor-rays)\n (when (not= :window location)\n ($ button\n {:style {:color (:tool-bar-text colors)\n :margin \"0 0 0 8px\"}\n :on-mouse-enter #(set-hint \"undock into separate window\")\n :on-mouse-leave #(set-hint nil)\n :title \"Undock into separate window\"\n :on-click #(dock-devtools :location :window)}\n icon-window))\n ($ button\n {:style {:color (:tool-bar-text colors)\n :margin \"0 0 0 8px\"}\n :on-mouse-enter #(set-hint \"dock to bottom\")\n :on-mouse-leave #(set-hint nil)\n :title \"Dock to bottom\"\n :disabled (= location :bottom)\n :on-click #(close-window :bottom)}\n icon-dock-bottom)\n ($ button\n {:style {:color (:tool-bar-text colors)\n :margin \"0 0 0 8px\"}\n :on-mouse-enter #(set-hint \"dock to the left\")\n :on-mouse-leave #(set-hint nil)\n :title \"Dock to the left\"\n :disabled (= location :left)\n :on-click #(close-window :left)}\n icon-dock-left)\n ($ button\n {:style {:color (:tool-bar-text colors)\n :margin \"0 0 0 8px\"}\n :on-mouse-enter #(set-hint \"dock to the right\")\n :on-mouse-leave #(set-hint nil)\n :title \"Dock to the right\"\n :disabled (= location :right)\n :on-click #(close-window :right)}\n icon-dock-right)))))\n\n(defn intersects? [[x y] rect]\n (and (<= (.-x rect) x (+ (.-x rect) (.-width rect)))\n (<= (.-y rect) y (+ (.-y rect) (.-height rect)))))\n\n(uix/defhook use-dom-inspector [{:keys [root set-inspecting on-target skip-dom? preview-node]}]\n (let [[rect set-rect] (uix/use-state nil)\n nodes (uix/use-memo\n (fn []\n (->> root\n (tree-seq #(some? (.-children %)) #(seq (.-children %)))\n (reverse)))\n [root])]\n (uix/use-effect\n (fn []\n (if preview-node\n (let [nodes (tree-seq #(some? (fiber->child %)) #(node->siblings (fiber->child %))\n preview-node)]\n (when-let [node (some #(when (.-stateNode %) %) nodes)]\n (let [dom-node (.-stateNode node)]\n (when-let [rect (if (.-getBoundingClientRect dom-node)\n ;; DOM node\n (.getBoundingClientRect dom-node)\n ;; class component\n (some-> (uix.dom/find-dom-node dom-node) (.getBoundingClientRect)))]\n (set-rect rect)))))\n (let [node! (atom nil)\n mouse-handler (fn [^js e]\n (let [x (.-x e)\n y (.-y e)]\n (when-let [node (some #(when (intersects? [x y] (.getBoundingClientRect %)) %)\n nodes)]\n (reset! node! node)\n (set-rect (.getBoundingClientRect node)))))\n click-handler (fn []\n (when-let [node @node!]\n (when-let [target (->> (js/Object.keys node)\n (some #(when (str/starts-with? % \"__reactFiber\")\n (if skip-dom?\n (.-_debugOwner ^js (aget node %))\n (aget node %)))))]\n (on-target target)\n (set-inspecting false)\n (when-let [w @popout-window]\n (.focus w)))))]\n (.addEventListener js/document \"mousemove\" mouse-handler)\n (.addEventListener js/document \"click\" click-handler)\n (fn []\n (.removeEventListener js/document \"mousemove\" mouse-handler)\n (.removeEventListener js/document \"click\" click-handler)))))\n [root nodes on-target set-inspecting skip-dom? preview-node])\n rect))\n\n(defui inspector-overlay [{:keys [set-inspecting root on-target skip-dom? preview-node] :as props}]\n (when-let [rect (use-dom-inspector props)]\n ($ :div\n {:style {:z-index 9998\n :position :fixed\n :width \"100vw\"\n :height \"100vh\"\n :top 0\n :left 0\n :background \"#e7c2ff1a\"\n :on-click #(.stopPropagation %)}}\n ($ :div\n {:style {:position :absolute\n :top (.-y rect)\n :left (.-x rect)\n :width (.-width rect)\n :height (.-height rect)\n :background \"#cd80ffa6\"\n :box-sizing :border-box\n :border \"1px dashed #da33ff\"\n :pointer-events :none}}))))\n\n(defui devtools* [{:keys [root location]}]\n (let [[tid set-tid] (uix/use-state 0)\n fiber (uix/use-memo (fn []\n (when root\n tid\n (->> (js/Object.keys root)\n (some #(when (str/starts-with? % \"__reactContainer\") (aget root %))))))\n [root tid])\n [state set-state] (uix/use-state {:hide-dom? true\n :selected (when (and root fiber) (fiber->child fiber))})\n [size set-size] (use-size 35 :cljs-devtools/ui-size)\n [hint set-hint] (uix/use-state \"\")\n [inspecting? set-inspecting] (uix/use-state false)\n [preview-node set-preview-node] (uix/use-state false)\n on-target (uix/use-callback\n (fn [fiber]\n (set-state #(assoc % :selected fiber)))\n [])\n colors (uix/use-context theme)]\n (uix/use-effect\n (fn []\n (let [handler (fns/throttle #(set-tid inc) 100)\n obs (js/MutationObserver. handler)]\n (.observe obs root #js {:childList true :subtree true :attributes true})\n #(.disconnect obs)))\n [root])\n ($ :<>\n (when (or inspecting? preview-node)\n (uix.dom/create-portal\n ($ inspector-overlay\n {:set-inspecting set-inspecting\n :root root\n :on-target on-target\n :skip-dom? (:hide-dom? state)\n :preview-node preview-node})\n (js/document.getElementById \"cljs-devtools-inspector-overlay\")))\n ($ :div\n {:style {:position :fixed\n :z-index 9999\n :left (case location\n (:bottom :left :window) 0\n nil)\n :right (case location\n (:right) 0\n nil)\n :bottom 0\n :width (case location\n (:bottom :window) \"100vw\"\n (:left :right) (str size \"vw\"))\n :height (case location\n (:left :right :window) \"100vh\"\n :bottom (str size \"vh\"))\n :background (:devtools-bg colors)\n :color (:devtools-text colors)\n :font \"normal 14px sans-serif\"\n :display :flex\n :border-top (when (= location :bottom) \"2px solid #8632ff75\")\n :border-left (when (= location :right) \"2px solid #8632ff75\")\n :border-right (when (= location :left) \"2px solid #8632ff75\")}}\n (when-not (= location :window)\n ($ resize-handle\n {:set-size set-size\n :dir (if (= location :bottom)\n :vertical\n :horizontal)\n :location location\n :min 10\n :max 90}))\n (cond\n (or (not root) (not fiber))\n ($ :div\n {:style {:display :flex\n :flex-direction :column\n :gap 8\n :flex 1\n :justify-content :center\n :align-items :center\n :color (:highlight-text colors)\n :font-size \"18px\"}}\n (if-not root\n ($ :<>\n \"Devtools are not connected to React root\"\n ($ :span {:style {:font-size \"16px\"}}\n \"make sure to pass the root node when initializing devtools\")\n ($ :pre {:style {:font-size \"14px\" :margin 0}}\n (pr-str\n '(cljs-react-devtools.core/init!\n {:root (js/document.getElementById \"root\")}))))\n \"Provided root node doesn't have React app rendered\"))\n\n :else ($ error-boundary\n ($ :div {:style {:flex 1}}\n ($ toolbar\n {:state state\n :set-state set-state\n :hint (when (#{:bottom :window} location) hint)\n :set-hint set-hint\n :inspecting? inspecting?\n :set-inspecting set-inspecting\n :dock-devtools dock-devtools\n :location location})\n ($ :div {:style {:display :flex\n :flex-direction (if (#{:window :bottom} location) :row :column)\n :flex 1\n :max-height \"100%\"\n :min-height \"100%\"\n :width (when (#{:window :bottom} location) \"100vw\")}}\n ($ :div {:style {:flex 1\n :overflow-y :auto\n :padding \"8px 0\"\n :background (:tree-view-bg colors)}}\n ($ (.-Provider preview-ctx) {:value set-preview-node}\n (for [node (node->siblings (fiber->child fiber))]\n ($ tree-view {:node node\n :state state\n :set-state set-state\n :key (.-index node)}))))\n ($ inspector\n {:state state\n :set-state set-state\n :set-hint set-hint\n :location location})))))))))\n\n(defn matches? []\n (.-matches (js/window.matchMedia \"(prefers-color-scheme: dark)\")))\n\n(defui devtools [{:keys [shortcut location] :as props}]\n (let [[visible? set-visible] (uix/use-state #(let [v (js/JSON.parse (js/localStorage.getItem \":cljs-devtools/visible?\"))]\n (or (nil? v) v)))\n [dark-mode? set-dark-mode] (uix/use-state matches?)]\n (uix/use-effect\n (fn []\n (let [handler #(set-dark-mode (matches?))\n m (js/window.matchMedia \"(prefers-color-scheme: dark)\")]\n (.addListener m handler)\n #(.removeListener m handler)))\n [])\n (uix/use-effect\n (fn []\n (when (string? shortcut)\n (let [shortcut (str/split shortcut #\"-\")]\n (when (seq shortcut)\n (let [down-handler (fn [^js e]\n (when\n (and (not= :window location)\n (->> shortcut\n (every? #(case %\n \"Control\" (.-ctrlKey e)\n \"Alt\" (.-altKey e)\n \"Meta\" (.-metaKey e)\n \"Shift\" (.-shiftKey e)\n (= % (.-key e))))))\n (set-visible not)))]\n (.addEventListener js/window \"keydown\" down-handler)\n (fn []\n (.removeEventListener js/window \"keydown\" down-handler)))))))\n [shortcut location])\n (uix/use-effect\n (fn []\n (js/localStorage.setItem \":cljs-devtools/visible?\" visible?))\n [visible?])\n (when visible?\n ($ (.-Provider theme) {:value (if dark-mode? (:dark color-themes) (:light color-themes))}\n ($ devtools* props)))))\n\n(defn hijack-re-frame []\n (when (exists? js/re-frame.core.subscribe)\n (let [subscribe js/re-frame.core.subscribe]\n (set! js/re-frame.core.subscribe\n (fn\n ([query]\n (let [ret (subscribe query)]\n (set! (.-__devtools-label ^js ret) (first query))\n ret))\n ([query dynv]\n (let [ret (subscribe query dynv)]\n (set! (.-__devtools-label ^js ret) (first query))\n ret)))))))\n\n(defonce opts* (atom nil))\n\n(defui devtools-popup [{:keys [on-mount location]}]\n (uix/use-effect\n #(on-mount)\n [on-mount])\n ($ devtools (assoc @opts* :location location)))\n\n;; https://github.com/day8/re-frame-10x/blob/788bbd8e474c5e61e3cc604d2b01aa2b5a1be75d/src/day8/re_frame_10x/fx/window.cljs\n\n(defn m->str [m]\n (->> m\n (reduce (fn [ret [k v]]\n (let [k (if (keyword? k) (name k) k)\n v (if (keyword? v) (name v) v)]\n (conj ret (str k \"=\" v))))\n [])\n (str/join \",\")))\n\n(defonce devtools-root* (atom nil))\n\n(defn mount [popup-window popup-document props]\n ;; When programming here, we need to be careful about which document and window\n ;; we are operating on, and keep in mind that the window can close without going\n ;; through standard react lifecycle, so we hook the beforeunload event.\n (let [node (.createElement popup-document \"div\")\n _ (set! (.-id node) \"cljs-react-devtools-root\")\n _ (.append (.-body popup-document) node)\n shadow-root (.attachShadow node #js {:mode \"open\"})\n root (uix.dom/create-root shadow-root)\n resize-update-scheduled? (atom false)\n handle-window-resize (fn [_]\n (when-not @resize-update-scheduled?\n (goog.async.nextTick\n (fn []\n (let [width (.-innerWidth popup-window)\n height (.-innerHeight popup-window)]\n (swap! window-settings merge {:width width :height height}))\n (reset! resize-update-scheduled? false)))\n (reset! resize-update-scheduled? true)))\n handle-window-position (fn []\n ;; Only update re-frame if the windows position has changed.\n (let [{:keys [left top]} @window-settings\n screen-left (.-screenX popup-window)\n screen-top (.-screenY popup-window)]\n (when (or (not= left screen-left)\n (not= top screen-top))\n (swap! window-settings merge {:left screen-left :top screen-top}))))\n window-position-interval (atom nil)\n on-unmount (fn [_]\n (.removeEventListener popup-window \"resize\" handle-window-resize)\n (some-> @window-position-interval js/clearInterval)\n (dock-devtools :location (:location @window-settings) :unload? true)\n nil)\n on-mount (fn []\n (.addEventListener popup-window \"resize\" handle-window-resize)\n (.addEventListener popup-window \"beforeunload\" on-unmount)\n ;; Check the window position every 2 seconds\n (reset! window-position-interval\n (js/setInterval\n handle-window-position\n 2000)))]\n (aset popup-window \"onunload\" #(reset! popout-window nil))\n (reset! devtools-root* root)\n (uix.dom/render-root ($ devtools-popup\n (merge\n {:on-mount on-mount}\n props))\n root)))\n\n(defn open-debugger-window\n \"Originally copied from re-frisk.devtool/open-debugger-window\"\n [{:keys [width height top left]} props]\n (let [document-title js/document.title\n window-title (gstr/escapeString (str \"cljs-react-devtools | \" document-title))\n window-html (str \"\"\n window-title\n \"\")\n window-features (m->str\n {:width width\n :height height\n :left left\n :top top\n :resizable :yes\n :scrollbars :yes\n :status :no\n :directories :no\n :toolbar :no\n :menubar :no})]\n ;; We would like to set the windows left and top positions to match the monitor that it was on previously, but Chrome doesn't give us\n ;; control over this, it will only position it within the same display that it was popped out on.\n (if-let [w (js/window.open \"about:blank\" \"re-frame-10x-popout\" window-features)]\n (let [d (.-document w)]\n ;; We had to comment out the following unmountComponentAtNode as it causes a React exception we assume\n ;; because React says el is not a root container that it knows about.\n ;; In theory by not freeing up the resources associated with this container (e.g. event handlers) we may be\n ;; creating memory leaks. However, with observation of the heap in developer tools we cannot see any significant\n ;; unbounded growth in memory usage.\n ;(when-let [el (.getElementById d \"--re-frame-10x--\")]\n ; (r/unmount-component-at-node el)))\n (.open d)\n (.write d window-html)\n (aset w \"onload\" #(mount w d props))\n (.close d)\n (reset! popout-window w)))))\n\n(declare render-devtools)\n\n(defn dock-devtools [& {:keys [location unload?]}]\n (swap! window-settings assoc :location location)\n (js/localStorage.setItem \":cljs-devtools/window-location\" (name location))\n (if @popout-window\n (do\n (.unmount @devtools-root*)\n (reset! devtools-root* nil)\n (when-not unload?\n (.close @popout-window))\n (js/setTimeout #(render-devtools {:location location}) 50))\n (do\n (.unmount @devtools-root*)\n (reset! devtools-root* nil)\n (.remove (js/document.getElementById \"cljs-react-devtools-root\"))\n (if (= location :window)\n (open-debugger-window @window-settings {:location location})\n (render-devtools {:location location})))))\n\n(defn render-devtools [{:keys [location]}]\n (let [node (js/document.createElement \"div\")\n shadow-root (.attachShadow node #js {:mode \"open\"})\n _ (js/document.body.append node)\n _ (set! (.-id node) \"cljs-react-devtools-root\")\n root (uix.dom/create-root shadow-root)]\n (reset! devtools-root* root)\n (uix.dom/render-root ($ devtools (assoc @opts* :location location)) root)\n nil))\n\n(defonce ^:private initialized? (atom false))\n\n(defn init! [{:keys [root shortcut] :as opts}]\n (when-not @initialized?\n (reset! initialized? true)\n (reset! opts* opts)\n (hijack-re-frame)\n (js/setTimeout\n (fn []\n (let [node (js/document.createElement \"div\")]\n (set! (.-id node) \"cljs-devtools-inspector-overlay\")\n (js/document.body.append node)\n (render-devtools {:location (:location @window-settings)})))\n 100)))\n"]} \ No newline at end of file diff --git a/out/cljs-runtime/clojure.core.protocols.js b/out/cljs-runtime/clojure.core.protocols.js new file mode 100644 index 0000000..16a2fe0 --- /dev/null +++ b/out/cljs-runtime/clojure.core.protocols.js @@ -0,0 +1,94 @@ +goog.provide('clojure.core.protocols'); + +/** + * @interface + */ +clojure.core.protocols.Datafiable = function(){}; + +var clojure$core$protocols$Datafiable$datafy$dyn_30969 = (function (o){ +var x__5393__auto__ = (((o == null))?null:o); +var m__5394__auto__ = (clojure.core.protocols.datafy[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5394__auto__.call(null, o)); +} else { +var m__5392__auto__ = (clojure.core.protocols.datafy["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(o) : m__5392__auto__.call(null, o)); +} else { +throw cljs.core.missing_protocol("Datafiable.datafy",o); +} +} +}); +/** + * return a representation of o as data (default identity) + */ +clojure.core.protocols.datafy = (function clojure$core$protocols$datafy(o){ +var temp__5821__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.meta(o),cljs.core.with_meta(new cljs.core.Symbol("clojure.core.protocols","datafy","clojure.core.protocols/datafy",707534751,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword("cljs.analyzer","no-resolve","cljs.analyzer/no-resolve",-1872351017),true], null))); +if(temp__5821__auto__){ +var meta_impl__5395__auto__ = temp__5821__auto__; +return (meta_impl__5395__auto__.cljs$core$IFn$_invoke$arity$1 ? meta_impl__5395__auto__.cljs$core$IFn$_invoke$arity$1(o) : meta_impl__5395__auto__.call(null, o)); +} else { +if((((!((o == null)))) && ((!((o.clojure$core$protocols$Datafiable$datafy$arity$1 == null)))))){ +return o.clojure$core$protocols$Datafiable$datafy$arity$1(o); +} else { +return clojure$core$protocols$Datafiable$datafy$dyn_30969(o); +} +} +}); + +(clojure.core.protocols.Datafiable["null"] = true); + +(clojure.core.protocols.datafy["null"] = (function (_){ +return null; +})); + +(clojure.core.protocols.Datafiable["_"] = true); + +(clojure.core.protocols.datafy["_"] = (function (o){ +return o; +})); + +/** + * @interface + */ +clojure.core.protocols.Navigable = function(){}; + +var clojure$core$protocols$Navigable$nav$dyn_30997 = (function (coll,k,v){ +var x__5393__auto__ = (((coll == null))?null:coll); +var m__5394__auto__ = (clojure.core.protocols.nav[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__5394__auto__.call(null, coll,k,v)); +} else { +var m__5392__auto__ = (clojure.core.protocols.nav["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : m__5392__auto__.call(null, coll,k,v)); +} else { +throw cljs.core.missing_protocol("Navigable.nav",coll); +} +} +}); +/** + * return (possibly transformed) v in the context of coll and k (a key/index or nil), + * defaults to returning v. + */ +clojure.core.protocols.nav = (function clojure$core$protocols$nav(coll,k,v){ +var temp__5821__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.meta(coll),cljs.core.with_meta(new cljs.core.Symbol("clojure.core.protocols","nav","clojure.core.protocols/nav",298936762,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword("cljs.analyzer","no-resolve","cljs.analyzer/no-resolve",-1872351017),true], null))); +if(temp__5821__auto__){ +var meta_impl__5395__auto__ = temp__5821__auto__; +return (meta_impl__5395__auto__.cljs$core$IFn$_invoke$arity$3 ? meta_impl__5395__auto__.cljs$core$IFn$_invoke$arity$3(coll,k,v) : meta_impl__5395__auto__.call(null, coll,k,v)); +} else { +if((((!((coll == null)))) && ((!((coll.clojure$core$protocols$Navigable$nav$arity$3 == null)))))){ +return coll.clojure$core$protocols$Navigable$nav$arity$3(coll,k,v); +} else { +return clojure$core$protocols$Navigable$nav$dyn_30997(coll,k,v); +} +} +}); + +(clojure.core.protocols.Navigable["_"] = true); + +(clojure.core.protocols.nav["_"] = (function (_,___$1,x){ +return x; +})); + +//# sourceMappingURL=clojure.core.protocols.js.map diff --git a/out/cljs-runtime/clojure.core.protocols.js.map b/out/cljs-runtime/clojure.core.protocols.js.map new file mode 100644 index 0000000..2a38000 --- /dev/null +++ b/out/cljs-runtime/clojure.core.protocols.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["clojure/core/protocols.cljs"],"mappings":";AAUA,AAAA;AAAA;;;oCAAA,pCAAaW;;AAAb,IAAAX,qDAAA,WAEWY;AAFX,AAAA,IAAAX,kBAAA,EAAA,MAAA,OAAA,ZAEWW,iBAAAA;IAFXV,kBAAA,CAAAC,8BAAA,AAAAC,YAAAH;AAAA,AAAA,GAAA,GAAA,CAAAC,mBAAA;AAAA,QAAAA,gDAAAA,mDAAAA,LAEWU,gCAAAA;;AAFX,IAAAP,kBAAA,CAAAF,8BAAA;AAAA,AAAA,GAAA,GAAA,CAAAE,mBAAA;AAAA,QAAAA,gDAAAA,mDAAAA,LAEWO,gCAAAA;;AAFX,MAAA,AAAAN,2BAAA,oBAEWM;;;;AAFX,AAAA;;;gCAAA,hCAEGT,wEAAQS;AAFX,AAAA,IAAAL,qBAAA,AAAAC,4CAAA,AAAAC,kBAAA,AAAA,HAEWG;AAFX,AAAA,GAAAL;AAAA,IAAAG,0BAAAH;AAAA,AAAA,QAAAG,wDAAAA,2DAAAA,LAEWE,wCAAAA;;AAFX,GAAA,EAAA,GAAA,MAAA,aAAA,GAAA,CAAA,sDAAA,5EAEWA,sBAAAA;AAFX,OAEWA,mDAAAA;;AAFX,OAAAZ,mDAEWY;;;;;AAFX,AAIA,AAAA,AAAA,CAAAD,kCAAA,UAAA;;AAAA,CAAAR,8BAAA,UAEE,WAASU;AAAT,AAAA;;;AAFF,AAAA,CAAAF,kCAAA,OAAA;;AAAA,CAAAR,8BAAA,OAKE,WAASS;AAAT,AAAYA;;AAEd,AAAA;AAAA;;;mCAAA,nCAAaI;;AAAb,IAAAF,iDAAA,WAEQG,KAAKC,EAAEC;AAFf,AAAA,IAAAlB,kBAAA,EAAA,SAAA,OAAA,fAEQgB,oBAAAA;IAFRf,kBAAA,CAAAa,2BAAA,AAAAX,YAAAH;AAAA,AAAA,GAAA,GAAA,CAAAC,mBAAA;AAAA,QAAAA,gDAAAA,0DAAAA,ZAEQe,uCAAAA,lCAAKC,uCAAAA,rCAAEC,uCAAAA;;AAFf,IAAAd,kBAAA,CAAAU,2BAAA;AAAA,AAAA,GAAA,GAAA,CAAAV,mBAAA;AAAA,QAAAA,gDAAAA,0DAAAA,ZAEQY,uCAAAA,lCAAKC,uCAAAA,rCAAEC,uCAAAA;;AAFf,MAAA,AAAAb,2BAAA,gBAEQW;;;;AAFR,AAAA;;;;6BAAA,7BAEGF,kEAAKE,KAAKC,EAAEC;AAFf,AAAA,IAAAZ,qBAAA,AAAAC,4CAAA,AAAAC,qBAAA,AAAA,NAEQQ;AAFR,AAAA,GAAAV;AAAA,IAAAG,0BAAAH;AAAA,AAAA,QAAAG,wDAAAA,kEAAAA,ZAEQO,+CAAAA,1CAAKC,+CAAAA,7CAAEC,+CAAAA;;AAFf,GAAA,EAAA,GAAA,SAAA,aAAA,GAAA,CAAA,qDAAA,9EAEQF,yBAAAA;AAFR,OAEQA,kDAAAA,KAAKC,EAAEC;;AAFf,OAAAL,+CAEQG,KAAKC,EAAEC;;;;;AAFf,AAKA,AAAA,AAAA,CAAAH,iCAAA,OAAA;;AAAA,CAAAD,2BAAA,OAEE,WAAMF,EAAEA,MAAEO;AAAV,AAAaA","names":["clojure$core$protocols$Datafiable$datafy$dyn","x__5393__auto__","m__5394__auto__","clojure.core.protocols/datafy","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","temp__5821__auto__","cljs.core.get","cljs.core/meta","meta-impl__5395__auto__","clojure.core.protocols/Datafiable","o","_","clojure$core$protocols$Navigable$nav$dyn","clojure.core.protocols/nav","clojure.core.protocols/Navigable","coll","k","v","x"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns clojure.core.protocols)\n\n(defprotocol Datafiable\n :extend-via-metadata true\n (datafy [o] \"return a representation of o as data (default identity)\"))\n\n(extend-protocol Datafiable\n nil\n (datafy [_] nil)\n\n default\n (datafy [o] o))\n\n(defprotocol Navigable\n :extend-via-metadata true\n (nav [coll k v] \"return (possibly transformed) v in the context of coll and k (a key/index or nil),\ndefaults to returning v.\"))\n\n(extend-protocol Navigable\n default\n (nav [_ _ x] x))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/clojure.data.js b/out/cljs-runtime/clojure.data.js new file mode 100644 index 0000000..0050e38 --- /dev/null +++ b/out/cljs-runtime/clojure.data.js @@ -0,0 +1,292 @@ +goog.provide('clojure.data'); +/** + * Internal helper for diff. + */ +clojure.data.atom_diff = (function clojure$data$atom_diff(a,b){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(a,b)){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,null,a], null); +} else { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [a,b,null], null); +} +}); +/** + * Convert an associative-by-numeric-index collection into + * an equivalent vector, with nil for any missing keys + */ +clojure.data.vectorize = (function clojure$data$vectorize(m){ +if(cljs.core.seq(m)){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (result,p__30755){ +var vec__30756 = p__30755; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30756,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30756,(1),null); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(result,k,v); +}),cljs.core.vec(cljs.core.repeat.cljs$core$IFn$_invoke$arity$2(cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.max,cljs.core.keys(m)),null)),m); +} else { +return null; +} +}); +/** + * Diff associative things a and b, comparing only the key k. + */ +clojure.data.diff_associative_key = (function clojure$data$diff_associative_key(a,b,k){ +var va = cljs.core.get.cljs$core$IFn$_invoke$arity$2(a,k); +var vb = cljs.core.get.cljs$core$IFn$_invoke$arity$2(b,k); +var vec__30761 = clojure.data.diff(va,vb); +var a_STAR_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30761,(0),null); +var b_STAR_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30761,(1),null); +var ab = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30761,(2),null); +var in_a = cljs.core.contains_QMARK_(a,k); +var in_b = cljs.core.contains_QMARK_(b,k); +var same = ((in_a) && (((in_b) && ((((!((ab == null)))) || ((((va == null)) && ((vb == null))))))))); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [((((in_a) && ((((!((a_STAR_ == null)))) || ((!(same)))))))?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,a_STAR_]):null),((((in_b) && ((((!((b_STAR_ == null)))) || ((!(same)))))))?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,b_STAR_]):null),((same)?cljs.core.PersistentArrayMap.createAsIfByAssoc([k,ab]):null)], null); +}); +/** + * Diff associative things a and b, comparing only keys in ks (if supplied). + */ +clojure.data.diff_associative = (function clojure$data$diff_associative(var_args){ +var G__30779 = arguments.length; +switch (G__30779) { +case 2: +return clojure.data.diff_associative.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return clojure.data.diff_associative.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(clojure.data.diff_associative.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +return clojure.data.diff_associative.cljs$core$IFn$_invoke$arity$3(a,b,clojure.set.union.cljs$core$IFn$_invoke$arity$2(cljs.core.keys(a),cljs.core.keys(b))); +})); + +(clojure.data.diff_associative.cljs$core$IFn$_invoke$arity$3 = (function (a,b,ks){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (diff1,diff2){ +return cljs.core.doall.cljs$core$IFn$_invoke$arity$1(cljs.core.map.cljs$core$IFn$_invoke$arity$3(cljs.core.merge,diff1,diff2)); +}),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,null,null], null),cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.partial.cljs$core$IFn$_invoke$arity$3(clojure.data.diff_associative_key,a,b),ks)); +})); + +(clojure.data.diff_associative.cljs$lang$maxFixedArity = 3); + +clojure.data.diff_sequential = (function clojure$data$diff_sequential(a,b){ +return cljs.core.vec(cljs.core.map.cljs$core$IFn$_invoke$arity$2(clojure.data.vectorize,clojure.data.diff_associative.cljs$core$IFn$_invoke$arity$3(((cljs.core.vector_QMARK_(a))?a:cljs.core.vec(a)),((cljs.core.vector_QMARK_(b))?b:cljs.core.vec(b)),cljs.core.range.cljs$core$IFn$_invoke$arity$1((function (){var x__5130__auto__ = cljs.core.count(a); +var y__5131__auto__ = cljs.core.count(b); +return ((x__5130__auto__ > y__5131__auto__) ? x__5130__auto__ : y__5131__auto__); +})())))); +}); +clojure.data.diff_set = (function clojure$data$diff_set(a,b){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.not_empty(clojure.set.difference.cljs$core$IFn$_invoke$arity$2(a,b)),cljs.core.not_empty(clojure.set.difference.cljs$core$IFn$_invoke$arity$2(b,a)),cljs.core.not_empty(clojure.set.intersection.cljs$core$IFn$_invoke$arity$2(a,b))], null); +}); + +/** + * Implementation detail. Subject to change. + * @interface + */ +clojure.data.EqualityPartition = function(){}; + +var clojure$data$EqualityPartition$equality_partition$dyn_30868 = (function (x){ +var x__5393__auto__ = (((x == null))?null:x); +var m__5394__auto__ = (clojure.data.equality_partition[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5394__auto__.call(null, x)); +} else { +var m__5392__auto__ = (clojure.data.equality_partition["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(x) : m__5392__auto__.call(null, x)); +} else { +throw cljs.core.missing_protocol("EqualityPartition.equality-partition",x); +} +} +}); +/** + * Implementation detail. Subject to change. + */ +clojure.data.equality_partition = (function clojure$data$equality_partition(x){ +if((((!((x == null)))) && ((!((x.clojure$data$EqualityPartition$equality_partition$arity$1 == null)))))){ +return x.clojure$data$EqualityPartition$equality_partition$arity$1(x); +} else { +return clojure$data$EqualityPartition$equality_partition$dyn_30868(x); +} +}); + + +/** + * Implementation detail. Subject to change. + * @interface + */ +clojure.data.Diff = function(){}; + +var clojure$data$Diff$diff_similar$dyn_30878 = (function (a,b){ +var x__5393__auto__ = (((a == null))?null:a); +var m__5394__auto__ = (clojure.data.diff_similar[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(a,b) : m__5394__auto__.call(null, a,b)); +} else { +var m__5392__auto__ = (clojure.data.diff_similar["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(a,b) : m__5392__auto__.call(null, a,b)); +} else { +throw cljs.core.missing_protocol("Diff.diff-similar",a); +} +} +}); +/** + * Implementation detail. Subject to change. + */ +clojure.data.diff_similar = (function clojure$data$diff_similar(a,b){ +if((((!((a == null)))) && ((!((a.clojure$data$Diff$diff_similar$arity$2 == null)))))){ +return a.clojure$data$Diff$diff_similar$arity$2(a,b); +} else { +return clojure$data$Diff$diff_similar$dyn_30878(a,b); +} +}); + +(clojure.data.EqualityPartition["null"] = true); + +(clojure.data.equality_partition["null"] = (function (x){ +return new cljs.core.Keyword(null,"atom","atom",-397043653); +})); + +(clojure.data.EqualityPartition["string"] = true); + +(clojure.data.equality_partition["string"] = (function (x){ +return new cljs.core.Keyword(null,"atom","atom",-397043653); +})); + +(clojure.data.EqualityPartition["number"] = true); + +(clojure.data.equality_partition["number"] = (function (x){ +return new cljs.core.Keyword(null,"atom","atom",-397043653); +})); + +(clojure.data.EqualityPartition["array"] = true); + +(clojure.data.equality_partition["array"] = (function (x){ +return new cljs.core.Keyword(null,"sequential","sequential",-1082983960); +})); + +(clojure.data.EqualityPartition["function"] = true); + +(clojure.data.equality_partition["function"] = (function (x){ +return new cljs.core.Keyword(null,"atom","atom",-397043653); +})); + +(clojure.data.EqualityPartition["boolean"] = true); + +(clojure.data.equality_partition["boolean"] = (function (x){ +return new cljs.core.Keyword(null,"atom","atom",-397043653); +})); + +(clojure.data.EqualityPartition["_"] = true); + +(clojure.data.equality_partition["_"] = (function (x){ +if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition0$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IMap$))))?true:(((!x.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IMap,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IMap,x))){ +return new cljs.core.Keyword(null,"map","map",1371690461); +} else { +if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition0$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISet$))))?true:(((!x.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.ISet,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.ISet,x))){ +return new cljs.core.Keyword(null,"set","set",304602554); +} else { +if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition0$ & (16777216))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$ISequential$))))?true:(((!x.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.ISequential,x):false)):cljs.core.native_satisfies_QMARK_(cljs.core.ISequential,x))){ +return new cljs.core.Keyword(null,"sequential","sequential",-1082983960); +} else { +return new cljs.core.Keyword(null,"atom","atom",-397043653); + +} +} +} +})); +(clojure.data.Diff["null"] = true); + +(clojure.data.diff_similar["null"] = (function (a,b){ +return clojure.data.atom_diff(a,b); +})); + +(clojure.data.Diff["string"] = true); + +(clojure.data.diff_similar["string"] = (function (a,b){ +return clojure.data.atom_diff(a,b); +})); + +(clojure.data.Diff["number"] = true); + +(clojure.data.diff_similar["number"] = (function (a,b){ +return clojure.data.atom_diff(a,b); +})); + +(clojure.data.Diff["array"] = true); + +(clojure.data.diff_similar["array"] = (function (a,b){ +return clojure.data.diff_sequential(a,b); +})); + +(clojure.data.Diff["function"] = true); + +(clojure.data.diff_similar["function"] = (function (a,b){ +return clojure.data.atom_diff(a,b); +})); + +(clojure.data.Diff["boolean"] = true); + +(clojure.data.diff_similar["boolean"] = (function (a,b){ +return clojure.data.atom_diff(a,b); +})); + +(clojure.data.Diff["_"] = true); + +(clojure.data.diff_similar["_"] = (function (a,b){ +var fexpr__30837 = (function (){var G__30838 = clojure.data.equality_partition(a); +var G__30838__$1 = (((G__30838 instanceof cljs.core.Keyword))?G__30838.fqn:null); +switch (G__30838__$1) { +case "atom": +return clojure.data.atom_diff; + +break; +case "set": +return clojure.data.diff_set; + +break; +case "sequential": +return clojure.data.diff_sequential; + +break; +case "map": +return clojure.data.diff_associative; + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30838__$1)].join(''))); + +} +})(); +return (fexpr__30837.cljs$core$IFn$_invoke$arity$2 ? fexpr__30837.cljs$core$IFn$_invoke$arity$2(a,b) : fexpr__30837.call(null, a,b)); +})); +/** + * Recursively compares a and b, returning a tuple of + * [things-only-in-a things-only-in-b things-in-both]. + * Comparison rules: + * + * * For equal a and b, return [nil nil a]. + * * Maps are subdiffed where keys match and values differ. + * * Sets are never subdiffed. + * * All sequential things are treated as associative collections + * by their indexes, with results returned as vectors. + * * Everything else (including strings!) is treated as + * an atom and compared for equality. + */ +clojure.data.diff = (function clojure$data$diff(a,b){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(a,b)){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,null,a], null); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(clojure.data.equality_partition(a),clojure.data.equality_partition(b))){ +return clojure.data.diff_similar(a,b); +} else { +return clojure.data.atom_diff(a,b); +} +} +}); + +//# sourceMappingURL=clojure.data.js.map diff --git a/out/cljs-runtime/clojure.data.js.map b/out/cljs-runtime/clojure.data.js.map new file mode 100644 index 0000000..485e0c0 --- /dev/null +++ b/out/cljs-runtime/clojure.data.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["clojure/data.cljs"],"mappings":";AAcA,AAAA,AAEA;;;yBAAA,zBAAOA,0DAEJC,EAAEC;AAFL,AAGE,GAAI,AAACC,6CAAEF,EAAEC;AAAT,0FAAA,KAAA,KAAqBD;;AAArB,8FAAA,JAAyBA,EAAEC;;;AAG7B;;;;yBAAA,zBAAOE,0DAGJC;AAHH,AAIE,GAAM,AAACC,cAAID;AAAX,AACE,OAACE,+CACA,kBAAAC,PAAKG;AAAL,AAAA,IAAAF,aAAAD;QAAA,AAAAE,4CAAAD,WAAA,IAAA,/DAAaG;QAAb,AAAAF,4CAAAD,WAAA,IAAA,/DAAeI;AAAf,AAAmB,OAACC,8CAAMH,OAAOC,EAAEC;GACnC,AAACE,cAAI,8HAAA,9HAACC,+CAAO,AAACC,8C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AAiE,kBAAA,WAAA;;AAAA,CAAAD,0BAAA,WAcE,WAAejE,EAAEC;AAAjB,AACE,OAAC4C,6BAAgB7C,EAAEC;;;AAfvB,AAAA,CAAAiE,kBAAA,cAAA;;AAAA,CAAAD,0BAAA,cAkBE,WAAejE,EAAEC;AAAjB,AACE,OAACF,uBAAUC,EAAEC;;;AAnBjB,AAAA,CAAAiE,kBAAA,aAAA;;AAAA,CAAAD,0BAAA,aAAA,WAsBiBjE,EAAEC;AAtBnB,AAuBI,OAACF,uBAAUC,EAAEC;;;AAvBjB,AAAA,CAAAiE,kBAAA,OAAA;;AAAA,CAAAD,0BAAA,OA0BE,WAAejE,EAAEC;AAAjB,AACE,IAAAuE,eAAC,iBAAAC,WAAM,AAACf,gCAAmB1D;IAA1ByE,eAAA,EAAA,CAAAA,oBAAAC,oBAAA,AAAAD,aAAA;AAAA,AAAA,QAAAA;KAAA;AACQ1E;;;KADR;AAEOoD;;;KAFP;AAGcN;;;KAHd;AAIOX;;;;AAJP,MAAA,KAAAC,MAAA,CAAA,mEAAAsC;;;;AAAD,AAAA,QAAAD,6CAAAA,kDAAAA,PAKCxE,+BAAAA,7BAAEC,+BAAAA;;AAEP;;;;;;;;;;;;;oBAAA,pBAAM0B,gDAYH3B,EAAEC;AAZL,AAaE,GAAI,AAACC,6CAAEF,EAAEC;AAAT,0FAAA,KAAA,KACWD;;AACT,GAAI,AAACE,6CAAE,AAACwD,gCAAmB1D,GAAG,AAAC0D,gCAAmBzD;AAChD,OAACgE,0BAAajE,EAAEC;;AAChB,OAACF,uBAAUC,EAAEC","names":["clojure.data/atom-diff","a","b","cljs.core._EQ_","clojure.data/vectorize","m","cljs.core/seq","cljs.core.reduce","p__30755","vec__30756","cljs.core.nth","result","k","v","cljs.core.assoc","cljs.core/vec","cljs.core.repeat","cljs.core.apply","cljs.core/max","cljs.core/keys","clojure.data/diff-associative-key","vec__30761","va","cljs.core.get","vb","a*","b*","ab","clojure.data/diff","in-a","cljs.core/contains?","in-b","same","var_args","G__30779","clojure.data/diff-associative","js/Error","clojure.data.diff_associative","clojure.set.union","ks","diff1","diff2","cljs.core.doall","cljs.core.map","cljs.core/merge","cljs.core.partial","clojure.data/diff-sequential","cljs.core/vector?","cljs.core.range","x__5130__auto__","y__5131__auto__","cljs.core/count","clojure.data/diff-set","cljs.core/not-empty","clojure.set.difference","clojure.set.intersection","clojure$data$EqualityPartition$equality_partition$dyn","x__5393__auto__","m__5394__auto__","clojure.data/equality-partition","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","clojure.data/EqualityPartition","x","clojure$data$Diff$diff_similar$dyn","clojure.data/diff-similar","clojure.data/Diff","cljs.core/PROTOCOL_SENTINEL","cljs.core/native-satisfies?","cljs.core/IMap","cljs.core/ISet","cljs.core/ISequential","fexpr__30837","G__30838","cljs.core/Keyword"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns \n ^{:author \"Stuart Halloway\",\n :doc \"Non-core data functions.\"}\n clojure.data\n (:require [clojure.set :as set]))\n\n(declare ^{:arglists '([a b])} diff)\n\n(defn- atom-diff\n \"Internal helper for diff.\"\n [a b]\n (if (= a b) [nil nil a] [a b nil]))\n\n;; for big things a sparse vector class would be better\n(defn- vectorize\n \"Convert an associative-by-numeric-index collection into\n an equivalent vector, with nil for any missing keys\"\n [m]\n (when (seq m)\n (reduce\n (fn [result [k v]] (assoc result k v))\n (vec (repeat (apply max (keys m)) nil))\n m)))\n\n(defn- diff-associative-key\n \"Diff associative things a and b, comparing only the key k.\"\n [a b k]\n (let [va (get a k)\n vb (get b k)\n [a* b* ab] (diff va vb)\n in-a (contains? a k)\n in-b (contains? b k)\n same (and in-a in-b\n (or (not (nil? ab))\n (and (nil? va) (nil? vb))))]\n [(when (and in-a (or (not (nil? a*)) (not same))) {k a*})\n (when (and in-b (or (not (nil? b*)) (not same))) {k b*})\n (when same {k ab})\n ]))\n\n(defn- diff-associative\n \"Diff associative things a and b, comparing only keys in ks (if supplied).\"\n ([a b]\n (diff-associative a b (set/union (keys a) (keys b))))\n ([a b ks]\n (reduce\n (fn [diff1 diff2]\n (doall (map merge diff1 diff2)))\n [nil nil nil]\n (map\n (partial diff-associative-key a b)\n ks))))\n\n(defn- diff-sequential\n [a b]\n (vec (map vectorize (diff-associative\n (if (vector? a) a (vec a))\n (if (vector? b) b (vec b))\n (range (max (count a) (count b)))))))\n\n(defn- diff-set\n [a b]\n [(not-empty (set/difference a b))\n (not-empty (set/difference b a))\n (not-empty (set/intersection a b))])\n\n(defprotocol EqualityPartition\n \"Implementation detail. Subject to change.\"\n (equality-partition [x] \"Implementation detail. Subject to change.\"))\n\n(defprotocol Diff\n \"Implementation detail. Subject to change.\"\n (diff-similar [a b] \"Implementation detail. Subject to change.\"))\n\n(extend-protocol EqualityPartition\n nil\n (equality-partition [x] :atom)\n\n string\n (equality-partition [x] :atom)\n\n number\n (equality-partition [x] :atom)\n\n array\n (equality-partition [x] :sequential)\n\n function\n (equality-partition [x] :atom)\n\n boolean\n (equality-partition [x] :atom)\n\n default\n (equality-partition [x]\n (cond\n (satisfies? IMap x) :map\n (satisfies? ISet x) :set\n (satisfies? ISequential x) :sequential\n :default :atom)))\n\n(extend-protocol Diff\n nil\n (diff-similar [a b]\n (atom-diff a b))\n\n string\n (diff-similar [a b]\n (atom-diff a b))\n\n number\n (diff-similar [a b]\n (atom-diff a b))\n\n array\n (diff-similar [a b]\n (diff-sequential a b))\n\n function\n (diff-similar [a b]\n (atom-diff a b))\n\n boolean\n (diff-similar [a b]\n (atom-diff a b))\n\n default\n (diff-similar [a b]\n ((case (equality-partition a)\n :atom atom-diff\n :set diff-set\n :sequential diff-sequential\n :map diff-associative)\n a b)))\n\n(defn diff\n \"Recursively compares a and b, returning a tuple of\n [things-only-in-a things-only-in-b things-in-both].\n Comparison rules:\n\n * For equal a and b, return [nil nil a].\n * Maps are subdiffed where keys match and values differ.\n * Sets are never subdiffed.\n * All sequential things are treated as associative collections\n by their indexes, with results returned as vectors.\n * Everything else (including strings!) is treated as\n an atom and compared for equality.\"\n [a b]\n (if (= a b)\n [nil nil a]\n (if (= (equality-partition a) (equality-partition b))\n (diff-similar a b)\n (atom-diff a b))))\n \n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/clojure.datafy.js b/out/cljs-runtime/clojure.datafy.js new file mode 100644 index 0000000..9a74cd3 --- /dev/null +++ b/out/cljs-runtime/clojure.datafy.js @@ -0,0 +1,69 @@ +goog.provide('clojure.datafy'); +/** + * Attempts to return x as data. + * datafy will return the value of clojure.protocols/datafy. If + * the value has been transformed and the result supports + * metadata, :clojure.datafy/obj will be set on the metadata to the + * original value of x. + */ +clojure.datafy.datafy = (function clojure$datafy$datafy(x){ +var v = clojure.core.protocols.datafy(x); +if((v === x)){ +return v; +} else { +if((((!((v == null))))?(((((v.cljs$lang$protocol_mask$partition0$ & (262144))) || ((cljs.core.PROTOCOL_SENTINEL === v.cljs$core$IWithMeta$))))?true:false):false)){ +return cljs.core.vary_meta.cljs$core$IFn$_invoke$arity$4(v,cljs.core.assoc,new cljs.core.Keyword("clojure.datafy","obj","clojure.datafy/obj",-330079421),x); +} else { +return v; +} +} +}); +/** + * Returns (possibly transformed) v in the context of coll and k (a + * key/index or nil). Callers should attempt to provide the key/index + * context k for Indexed/Associative/ILookup colls if possible, but not + * to fabricate one e.g. for sequences (pass nil). nav will return the + * value of clojure.core.protocols/nav. + */ +clojure.datafy.nav = (function clojure$datafy$nav(coll,k,v){ +return clojure.core.protocols.nav(coll,k,v); +}); +clojure.datafy.datify_ref = (function clojure$datafy$datify_ref(r){ +return cljs.core.with_meta(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref(r)], null),cljs.core.meta(r)); +}); +(cljs.core.Var.prototype.clojure$core$protocols$Datafiable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Var.prototype.clojure$core$protocols$Datafiable$datafy$arity$1 = (function (r){ +var r__$1 = this; +return clojure.datafy.datify_ref(r__$1); +})); + +(cljs.core.Reduced.prototype.clojure$core$protocols$Datafiable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Reduced.prototype.clojure$core$protocols$Datafiable$datafy$arity$1 = (function (r){ +var r__$1 = this; +return clojure.datafy.datify_ref(r__$1); +})); + +(cljs.core.Atom.prototype.clojure$core$protocols$Datafiable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Atom.prototype.clojure$core$protocols$Datafiable$datafy$arity$1 = (function (r){ +var r__$1 = this; +return clojure.datafy.datify_ref(r__$1); +})); + +(cljs.core.Volatile.prototype.clojure$core$protocols$Datafiable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Volatile.prototype.clojure$core$protocols$Datafiable$datafy$arity$1 = (function (r){ +var r__$1 = this; +return clojure.datafy.datify_ref(r__$1); +})); + +(cljs.core.Delay.prototype.clojure$core$protocols$Datafiable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.Delay.prototype.clojure$core$protocols$Datafiable$datafy$arity$1 = (function (r){ +var r__$1 = this; +return clojure.datafy.datify_ref(r__$1); +})); + +//# sourceMappingURL=clojure.datafy.js.map diff --git a/out/cljs-runtime/clojure.datafy.js.map b/out/cljs-runtime/clojure.datafy.js.map new file mode 100644 index 0000000..f35d6ba --- /dev/null +++ b/out/cljs-runtime/clojure.datafy.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["clojure/datafy.cljs"],"mappings":";AAaA;;;;;;;wBAAA,xBAAMA,wDAMHC;AANH,AAOE,IAAMC,IAAE,AAACC,8BAASF;AAAlB,AACE,GAAI,CAAYC,MAAED;AAChBC;;AACA,GAAI,EAAA,GAAA,MAAA,SAAA,EAAA,EAAA,CAAA,wCAAA,eAAA,CAAAE,gCAAA,2BAAA,KAAA,OAAA,lJAAuBF,mBAAAA,wFAAAA;AACzB,2EAAA,pEAACG,kDAAUH,EAAEI,8FAAYL;;AAIzBC;;;;AAER;;;;;;;qBAAA,rBAAMK,kDAMHC,KAAKC,EAAEP;AANV,AAOE,OAACQ,2BAAMF,KAAKC,EAAEP;;AAEhB,4BAAA,5BAAOS,gEAAYC;AAAnB,AACE,2BAAA,pBAACC,uGAAW,AAACC,gBAAMF,WAAI,AAACG,eAAKH;;AAE/B,AAAA,AAAA,CAAA,AAAA,6DAAAR,7DACEY;;AADF,CAAA,AAAA,AACEA,2EACA,WAASJ;AAAT,AAAA,YAAA,RAASA;AAAT,AAAY,OAACD,0BAAWC;;;AAF1B,AAAA,CAAA,AAAA,iEAAAR,jEAIEa;;AAJF,CAAA,AAAA,AAIEA,+EACA,WAASL;AAAT,AAAA,YAAA,RAASA;AAAT,AAAY,OAACD,0BAAWC;;;AAL1B,AAAA,CAAA,AAAA,8DAAAR,9DAOEc;;AAPF,CAAA,AAAA,AAOEA,4EACA,WAASN;AAAT,AAAA,YAAA,RAASA;AAAT,AAAY,OAACD,0BAAWC;;;AAR1B,AAAA,CAAA,AAAA,kEAAAR,lEAUEe;;AAVF,CAAA,AAAA,AAUEA,gFACA,WAASP;AAAT,AAAA,YAAA,RAASA;AAAT,AAAY,OAACD,0BAAWC;;;AAX1B,AAAA,CAAA,AAAA,+DAAAR,/DAaEgB;;AAbF,CAAA,AAAA,AAaEA,6EACA,WAASR;AAAT,AAAA,YAAA,RAASA;AAAT,AAAY,OAACD,0BAAWC","names":["clojure.datafy/datafy","x","v","clojure.core.protocols/datafy","cljs.core/PROTOCOL_SENTINEL","cljs.core.vary_meta","cljs.core/assoc","clojure.datafy/nav","coll","k","clojure.core.protocols/nav","clojure.datafy/datify-ref","r","cljs.core/with-meta","cljs.core/deref","cljs.core/meta","cljs.core/Var","cljs.core/Reduced","cljs.core/Atom","cljs.core/Volatile","cljs.core/Delay"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns\n ^{:doc \"Functions to turn objects into data. Alpha, subject to change\"}\n clojure.datafy\n (:require [clojure.core.protocols :as p]))\n\n(defn datafy\n \"Attempts to return x as data.\n datafy will return the value of clojure.protocols/datafy. If\n the value has been transformed and the result supports\n metadata, :clojure.datafy/obj will be set on the metadata to the\n original value of x.\"\n [x]\n (let [v (p/datafy x)]\n (if (identical? v x)\n v\n (if (implements? IWithMeta v)\n (vary-meta v assoc ::obj x\n ;; Circling back to this at a later date per @dnolen\n ;; ::class (-> x .-constructor .-name symbol)\n )\n v))))\n\n(defn nav\n \"Returns (possibly transformed) v in the context of coll and k (a\n key/index or nil). Callers should attempt to provide the key/index\n context k for Indexed/Associative/ILookup colls if possible, but not\n to fabricate one e.g. for sequences (pass nil). nav will return the\n value of clojure.core.protocols/nav.\"\n [coll k v]\n (p/nav coll k v))\n\n(defn- datify-ref [r]\n (with-meta [(deref r)] (meta r)))\n\n(extend-protocol p/Datafiable\n Var\n (datafy [r] (datify-ref r))\n\n Reduced\n (datafy [r] (datify-ref r))\n\n Atom\n (datafy [r] (datify-ref r))\n\n Volatile\n (datafy [r] (datify-ref r))\n\n Delay\n (datafy [r] (datify-ref r)))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/clojure.set.js b/out/cljs-runtime/clojure.set.js new file mode 100644 index 0000000..30b3585 --- /dev/null +++ b/out/cljs-runtime/clojure.set.js @@ -0,0 +1,380 @@ +goog.provide('clojure.set'); +clojure.set.bubble_max_key = (function clojure$set$bubble_max_key(k,coll){ + +var max = cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.max_key,k,coll); +return cljs.core.cons(max,cljs.core.remove.cljs$core$IFn$_invoke$arity$2((function (p1__28076_SHARP_){ +return (max === p1__28076_SHARP_); +}),coll)); +}); +/** + * Return a set that is the union of the input sets + */ +clojure.set.union = (function clojure$set$union(var_args){ +var G__28084 = arguments.length; +switch (G__28084) { +case 0: +return clojure.set.union.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return clojure.set.union.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return clojure.set.union.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28137 = arguments.length; +var i__5770__auto___28138 = (0); +while(true){ +if((i__5770__auto___28138 < len__5769__auto___28137)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28138])); + +var G__28139 = (i__5770__auto___28138 + (1)); +i__5770__auto___28138 = G__28139; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return clojure.set.union.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(clojure.set.union.cljs$core$IFn$_invoke$arity$0 = (function (){ +return cljs.core.PersistentHashSet.EMPTY; +})); + +(clojure.set.union.cljs$core$IFn$_invoke$arity$1 = (function (s1){ +return s1; +})); + +(clojure.set.union.cljs$core$IFn$_invoke$arity$2 = (function (s1,s2){ +if((cljs.core.count(s1) < cljs.core.count(s2))){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,s2,s1); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,s1,s2); +} +})); + +(clojure.set.union.cljs$core$IFn$_invoke$arity$variadic = (function (s1,s2,sets){ +var bubbled_sets = clojure.set.bubble_max_key(cljs.core.count,cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(sets,s2,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([s1], 0))); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.into,cljs.core.first(bubbled_sets),cljs.core.rest(bubbled_sets)); +})); + +/** @this {Function} */ +(clojure.set.union.cljs$lang$applyTo = (function (seq28081){ +var G__28082 = cljs.core.first(seq28081); +var seq28081__$1 = cljs.core.next(seq28081); +var G__28083 = cljs.core.first(seq28081__$1); +var seq28081__$2 = cljs.core.next(seq28081__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28082,G__28083,seq28081__$2); +})); + +(clojure.set.union.cljs$lang$maxFixedArity = (2)); + +/** + * Return a set that is the intersection of the input sets + */ +clojure.set.intersection = (function clojure$set$intersection(var_args){ +var G__28093 = arguments.length; +switch (G__28093) { +case 1: +return clojure.set.intersection.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return clojure.set.intersection.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28142 = arguments.length; +var i__5770__auto___28143 = (0); +while(true){ +if((i__5770__auto___28143 < len__5769__auto___28142)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28143])); + +var G__28144 = (i__5770__auto___28143 + (1)); +i__5770__auto___28143 = G__28144; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return clojure.set.intersection.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(clojure.set.intersection.cljs$core$IFn$_invoke$arity$1 = (function (s1){ +return s1; +})); + +(clojure.set.intersection.cljs$core$IFn$_invoke$arity$2 = (function (s1,s2){ +while(true){ +if((cljs.core.count(s2) < cljs.core.count(s1))){ +var G__28148 = s2; +var G__28149 = s1; +s1 = G__28148; +s2 = G__28149; +continue; +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(((function (s1,s2){ +return (function (result,item){ +if(cljs.core.contains_QMARK_(s2,item)){ +return result; +} else { +return cljs.core.disj.cljs$core$IFn$_invoke$arity$2(result,item); +} +});})(s1,s2)) +,s1,s1); +} +break; +} +})); + +(clojure.set.intersection.cljs$core$IFn$_invoke$arity$variadic = (function (s1,s2,sets){ +var bubbled_sets = clojure.set.bubble_max_key((function (p1__28088_SHARP_){ +return (- cljs.core.count(p1__28088_SHARP_)); +}),cljs.core.conj.cljs$core$IFn$_invoke$arity$variadic(sets,s2,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([s1], 0))); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(clojure.set.intersection,cljs.core.first(bubbled_sets),cljs.core.rest(bubbled_sets)); +})); + +/** @this {Function} */ +(clojure.set.intersection.cljs$lang$applyTo = (function (seq28090){ +var G__28091 = cljs.core.first(seq28090); +var seq28090__$1 = cljs.core.next(seq28090); +var G__28092 = cljs.core.first(seq28090__$1); +var seq28090__$2 = cljs.core.next(seq28090__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28091,G__28092,seq28090__$2); +})); + +(clojure.set.intersection.cljs$lang$maxFixedArity = (2)); + +/** + * Return a set that is the first set without elements of the remaining sets + */ +clojure.set.difference = (function clojure$set$difference(var_args){ +var G__28100 = arguments.length; +switch (G__28100) { +case 1: +return clojure.set.difference.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return clojure.set.difference.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28155 = arguments.length; +var i__5770__auto___28156 = (0); +while(true){ +if((i__5770__auto___28156 < len__5769__auto___28155)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28156])); + +var G__28163 = (i__5770__auto___28156 + (1)); +i__5770__auto___28156 = G__28163; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(clojure.set.difference.cljs$core$IFn$_invoke$arity$1 = (function (s1){ +return s1; +})); + +(clojure.set.difference.cljs$core$IFn$_invoke$arity$2 = (function (s1,s2){ +if((cljs.core.count(s1) < cljs.core.count(s2))){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (result,item){ +if(cljs.core.contains_QMARK_(s2,item)){ +return cljs.core.disj.cljs$core$IFn$_invoke$arity$2(result,item); +} else { +return result; +} +}),s1,s1); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.disj,s1,s2); +} +})); + +(clojure.set.difference.cljs$core$IFn$_invoke$arity$variadic = (function (s1,s2,sets){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(clojure.set.difference,s1,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(sets,s2)); +})); + +/** @this {Function} */ +(clojure.set.difference.cljs$lang$applyTo = (function (seq28097){ +var G__28098 = cljs.core.first(seq28097); +var seq28097__$1 = cljs.core.next(seq28097); +var G__28099 = cljs.core.first(seq28097__$1); +var seq28097__$2 = cljs.core.next(seq28097__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28098,G__28099,seq28097__$2); +})); + +(clojure.set.difference.cljs$lang$maxFixedArity = (2)); + +/** + * Returns a set of the elements for which pred is true + */ +clojure.set.select = (function clojure$set$select(pred,xset){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (s,k){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(k) : pred.call(null, k)))){ +return s; +} else { +return cljs.core.disj.cljs$core$IFn$_invoke$arity$2(s,k); +} +}),xset,xset); +}); +/** + * Returns a rel of the elements of xrel with only the keys in ks + */ +clojure.set.project = (function clojure$set$project(xrel,ks){ +return cljs.core.set(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__28101_SHARP_){ +return cljs.core.select_keys(p1__28101_SHARP_,ks); +}),xrel)); +}); +/** + * Returns the map with the keys in kmap renamed to the vals in kmap + */ +clojure.set.rename_keys = (function clojure$set$rename_keys(map,kmap){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (m,p__28102){ +var vec__28105 = p__28102; +var old = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28105,(0),null); +var new$ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28105,(1),null); +if(cljs.core.contains_QMARK_(map,old)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,new$,cljs.core.get.cljs$core$IFn$_invoke$arity$2(map,old)); +} else { +return m; +} +}),cljs.core.apply.cljs$core$IFn$_invoke$arity$3(cljs.core.dissoc,map,cljs.core.keys(kmap)),kmap); +}); +/** + * Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap + */ +clojure.set.rename = (function clojure$set$rename(xrel,kmap){ +return cljs.core.set(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__28110_SHARP_){ +return clojure.set.rename_keys(p1__28110_SHARP_,kmap); +}),xrel)); +}); +/** + * Returns a map of the distinct values of ks in the xrel mapped to a + * set of the maps in xrel with the corresponding values of ks. + */ +clojure.set.index = (function clojure$set$index(xrel,ks){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (m,x){ +var ik = cljs.core.select_keys(x,ks); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,ik,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.get.cljs$core$IFn$_invoke$arity$3(m,ik,cljs.core.PersistentHashSet.EMPTY),x)); +}),cljs.core.PersistentArrayMap.EMPTY,xrel); +}); +/** + * Returns the map with the vals mapped to the keys. + */ +clojure.set.map_invert = (function clojure$set$map_invert(m){ +return cljs.core.persistent_BANG_(cljs.core.reduce_kv((function (m__$1,k,v){ +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(m__$1,v,k); +}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),m)); +}); +/** + * When passed 2 rels, returns the rel corresponding to the natural + * join. When passed an additional keymap, joins on the corresponding + * keys. + */ +clojure.set.join = (function clojure$set$join(var_args){ +var G__28120 = arguments.length; +switch (G__28120) { +case 2: +return clojure.set.join.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return clojure.set.join.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(clojure.set.join.cljs$core$IFn$_invoke$arity$2 = (function (xrel,yrel){ +if(((cljs.core.seq(xrel)) && (cljs.core.seq(yrel)))){ +var ks = clojure.set.intersection.cljs$core$IFn$_invoke$arity$2(cljs.core.set(cljs.core.keys(cljs.core.first(xrel))),cljs.core.set(cljs.core.keys(cljs.core.first(yrel)))); +var vec__28121 = (((cljs.core.count(xrel) <= cljs.core.count(yrel)))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [xrel,yrel], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [yrel,xrel], null)); +var r = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28121,(0),null); +var s = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28121,(1),null); +var idx = clojure.set.index(r,ks); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,x){ +var found = (function (){var G__28124 = cljs.core.select_keys(x,ks); +return (idx.cljs$core$IFn$_invoke$arity$1 ? idx.cljs$core$IFn$_invoke$arity$1(G__28124) : idx.call(null, G__28124)); +})(); +if(cljs.core.truth_(found)){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__28114_SHARP_,p2__28115_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__28114_SHARP_,cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([p2__28115_SHARP_,x], 0))); +}),ret,found); +} else { +return ret; +} +}),cljs.core.PersistentHashSet.EMPTY,s); +} else { +return cljs.core.PersistentHashSet.EMPTY; +} +})); + +(clojure.set.join.cljs$core$IFn$_invoke$arity$3 = (function (xrel,yrel,km){ +var vec__28125 = (((cljs.core.count(xrel) <= cljs.core.count(yrel)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [xrel,yrel,clojure.set.map_invert(km)], null):new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [yrel,xrel,km], null)); +var r = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28125,(0),null); +var s = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28125,(1),null); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28125,(2),null); +var idx = clojure.set.index(r,cljs.core.vals(k)); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,x){ +var found = (function (){var G__28129 = clojure.set.rename_keys(cljs.core.select_keys(x,cljs.core.keys(k)),k); +return (idx.cljs$core$IFn$_invoke$arity$1 ? idx.cljs$core$IFn$_invoke$arity$1(G__28129) : idx.call(null, G__28129)); +})(); +if(cljs.core.truth_(found)){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (p1__28117_SHARP_,p2__28118_SHARP_){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(p1__28117_SHARP_,cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([p2__28118_SHARP_,x], 0))); +}),ret,found); +} else { +return ret; +} +}),cljs.core.PersistentHashSet.EMPTY,s); +})); + +(clojure.set.join.cljs$lang$maxFixedArity = 3); + +/** + * Is set1 a subset of set2? + */ +clojure.set.subset_QMARK_ = (function clojure$set$subset_QMARK_(set1,set2){ +return (((cljs.core.count(set1) <= cljs.core.count(set2))) && (cljs.core.every_QMARK_((function (p1__28130_SHARP_){ +return cljs.core.contains_QMARK_(set2,p1__28130_SHARP_); +}),set1))); +}); +/** + * Is set1 a superset of set2? + */ +clojure.set.superset_QMARK_ = (function clojure$set$superset_QMARK_(set1,set2){ +return (((cljs.core.count(set1) >= cljs.core.count(set2))) && (cljs.core.every_QMARK_((function (p1__28132_SHARP_){ +return cljs.core.contains_QMARK_(set1,p1__28132_SHARP_); +}),set2))); +}); + +//# sourceMappingURL=clojure.set.js.map diff --git a/out/cljs-runtime/clojure.set.js.map b/out/cljs-runtime/clojure.set.js.map new file mode 100644 index 0000000..159fb37 --- /dev/null +++ b/out/cljs-runtime/clojure.set.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["clojure/set.cljs"],"mappings":";AAYA,6BAAA,7BAAOA,kEAAgBC,EAAEC;AAAzB,AAAA;AAGE,IAAMC,MAAI,AAACC,8CAAMC,kBAAQJ,EAAEC;AAA3B,AACE,OAACI,eAAKH,IAAI,+CAAA,WAAAI,1DAACC;AAAD,AAAS,gBAAAD,RAAYJ;GAAOD;;AAE1C,AAAA;;;oBAAA,4BAAAO,hDAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC;;;KAAA;AAAA,OAAAA,gDAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,gDAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,IAAAC,yBAAA;AAAA,AAAA,IAAAC,0BAAA,AAAA;AAAA,AAAA,IAAAC,wBAAA;;AAAA,AAAA,GAAA,CAAAA,wBAAAD;AAAA,AAAA,AAAAD,4BAAA,CAAA,UAAAE;;AAAA,eAAA,CAAAA,wBAAA;;;;AAAA;;;;AAAA,I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AAT,AAAAa,4CAAAmC,WAAA,IAAA,/DAAWnG;IAGL2F,MAAI,AAACjB,kBAAMgB,EAAE,AAACU,eAAKpG;AAHzB,AAIE,OAACyB,+CAAO,WAAKmE,IAAIjB;AAAT,AACE,IAAMkB,QAAM,iBAAAQ,WAAK,AAAC1C,wBAAY,AAACD,sBAAYiB,EAAE,AAACJ,eAAKvE,IAAIA;AAA3C,AAAA,8EAAAqG,2BAAAA,jGAACV,oCAAAA,8CAAAA;;AAAb,AACE,oBAAIE;AACF,sDAAA,WAAAS,iBAAAC,3EAAC9E;AAAD,AAAS,oDAAA6E,7CAACzE,8DAAQ,uGAAA0E,vGAACN,wHAAStB;GAAIiB,IAAIC;;AACpCD;;GAJd,kCAKYzC;;;AA5BjB,CAAA,2CAAA,3CAAMiC;;AAAN,AA8BA;;;4BAAA,5BAAMoB,gEAEHC,KAAKC;AAFR,AAGE,SAAK,CAAI,AAAClF,gBAAMiF,SAAM,AAACjF,gBAAMkF,YACxB,uBAAA,WAAAC,lCAACC;AAAD,AAAS,sCAAAD,/BAACpE,0BAAUmE;GAAQD;;AAEnC;;;8BAAA,9BAAMI,oEAEHJ,KAAKC;AAFR,AAGE,SAAK,CAAI,AAAClF,gBAAMiF,SAAM,AAACjF,gBAAMkF,YACxB,uBAAA,WAAAI,lCAACF;AAAD,AAAS,sCAAAE,/BAACvE,0BAAUkE;GAAQC;;AAEnC","names":["clojure.set/bubble-max-key","k","coll","max","cljs.core.apply","cljs.core/max-key","cljs.core/cons","p1__28076#","cljs.core.remove","var_args","G__28084","clojure.set/union","args-arr__5794__auto__","len__5769__auto__","i__5770__auto__","argseq__5795__auto__","cljs.core/IndexedSeq","seq28081","G__28082","cljs.core/first","cljs.core/next","G__28083","self__5754__auto__","s1","s2","cljs.core/count","cljs.core.reduce","cljs.core/conj","sets","bubbled-sets","cljs.core.conj","cljs.core/into","cljs.core/rest","G__28093","clojure.set/intersection","seq28090","G__28091","G__28092","result","item","cljs.core/contains?","cljs.core.disj","p1__28088#","G__28100","clojure.set/difference","seq28097","G__28098","G__28099","cljs.core/disj","clojure.set/select","pred","xset","s","clojure.set/project","xrel","ks","cljs.core/set","p1__28101#","cljs.core.map","cljs.core/select-keys","clojure.set/rename-keys","map","kmap","p__28102","vec__28105","cljs.core.nth","m","old","new","cljs.core.assoc","cljs.core.get","cljs.core/dissoc","cljs.core/keys","clojure.set/rename","p1__28110#","clojure.set/index","x","ik","clojure.set/map-invert","cljs.core/persistent!","cljs.core/reduce-kv","v","cljs.core.assoc_BANG_","cljs.core/transient","G__28120","clojure.set/join","js/Error","yrel","cljs.core/seq","vec__28121","clojure.set.intersection","r","idx","ret","found","G__28124","p1__28114#","p2__28115#","cljs.core.merge","km","vec__28125","cljs.core/vals","G__28129","p1__28117#","p2__28118#","clojure.set/subset?","set1","set2","p1__28130#","cljs.core/every?","clojure.set/superset?","p1__28132#"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns ^{:doc \"Set operations such as union/intersection.\"\n :author \"Rich Hickey\"}\n clojure.set)\n\n(defn- bubble-max-key [k coll]\n \"Move a maximal element of coll according to fn k (which returns a number) \n to the front of coll.\"\n (let [max (apply max-key k coll)]\n (cons max (remove #(identical? max %) coll))))\n\n(defn union\n \"Return a set that is the union of the input sets\"\n ([] #{})\n ([s1] s1)\n ([s1 s2]\n (if (< (count s1) (count s2))\n (reduce conj s2 s1)\n (reduce conj s1 s2)))\n ([s1 s2 & sets]\n (let [bubbled-sets (bubble-max-key count (conj sets s2 s1))]\n (reduce into (first bubbled-sets) (rest bubbled-sets)))))\n\n(defn intersection\n \"Return a set that is the intersection of the input sets\"\n ([s1] s1)\n ([s1 s2]\n (if (< (count s2) (count s1))\n (recur s2 s1)\n (reduce (fn [result item]\n (if (contains? s2 item)\n\t\t result\n (disj result item)))\n\t s1 s1)))\n ([s1 s2 & sets] \n (let [bubbled-sets (bubble-max-key #(- (count %)) (conj sets s2 s1))]\n (reduce intersection (first bubbled-sets) (rest bubbled-sets)))))\n\n(defn difference\n \"Return a set that is the first set without elements of the remaining sets\"\n ([s1] s1)\n ([s1 s2] \n (if (< (count s1) (count s2))\n (reduce (fn [result item] \n (if (contains? s2 item) \n (disj result item) \n result))\n s1 s1)\n (reduce disj s1 s2)))\n ([s1 s2 & sets] \n (reduce difference s1 (conj sets s2))))\n\n\n(defn select\n \"Returns a set of the elements for which pred is true\"\n [pred xset]\n (reduce (fn [s k] (if (pred k) s (disj s k)))\n xset xset))\n\n(defn project\n \"Returns a rel of the elements of xrel with only the keys in ks\"\n [xrel ks]\n (set (map #(select-keys % ks) xrel)))\n\n(defn rename-keys\n \"Returns the map with the keys in kmap renamed to the vals in kmap\"\n [map kmap]\n (reduce\n (fn [m [old new]]\n (if (contains? map old)\n (assoc m new (get map old))\n m))\n (apply dissoc map (keys kmap)) kmap))\n\n(defn rename\n \"Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap\"\n [xrel kmap]\n (set (map #(rename-keys % kmap) xrel)))\n\n(defn index\n \"Returns a map of the distinct values of ks in the xrel mapped to a\n set of the maps in xrel with the corresponding values of ks.\"\n [xrel ks]\n (reduce\n (fn [m x]\n (let [ik (select-keys x ks)]\n (assoc m ik (conj (get m ik #{}) x))))\n {} xrel))\n \n(defn map-invert\n \"Returns the map with the vals mapped to the keys.\"\n [m]\n (persistent!\n (reduce-kv (fn [m k v] (assoc! m v k))\n (transient {})\n m)))\n\n(defn join\n \"When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys.\"\n ([xrel yrel] ;natural join\n (if (and (seq xrel) (seq yrel))\n (let [ks (intersection (set (keys (first xrel))) (set (keys (first yrel))))\n [r s] (if (<= (count xrel) (count yrel))\n [xrel yrel]\n [yrel xrel])\n idx (index r ks)]\n (reduce (fn [ret x]\n (let [found (idx (select-keys x ks))]\n (if found\n (reduce #(conj %1 (merge %2 x)) ret found)\n ret)))\n #{} s))\n #{}))\n ([xrel yrel km] ;arbitrary key mapping\n (let [[r s k] (if (<= (count xrel) (count yrel))\n [xrel yrel (map-invert km)]\n [yrel xrel km])\n idx (index r (vals k))]\n (reduce (fn [ret x]\n (let [found (idx (rename-keys (select-keys x (keys k)) k))]\n (if found\n (reduce #(conj %1 (merge %2 x)) ret found)\n ret)))\n #{} s))))\n\n(defn subset? \n \"Is set1 a subset of set2?\"\n [set1 set2]\n (and (<= (count set1) (count set2))\n (every? #(contains? set2 %) set1)))\n\n(defn superset? \n \"Is set1 a superset of set2?\"\n [set1 set2]\n (and (>= (count set1) (count set2))\n (every? #(contains? set1 %) set2)))\n\n(comment\n(refer 'set)\n(def xs #{{:a 11 :b 1 :c 1 :d 4}\n {:a 2 :b 12 :c 2 :d 6}\n {:a 3 :b 3 :c 3 :d 8 :f 42}})\n\n(def ys #{{:a 11 :b 11 :c 11 :e 5}\n {:a 12 :b 11 :c 12 :e 3}\n {:a 3 :b 3 :c 3 :e 7 }})\n\n(join xs ys)\n(join xs (rename ys {:b :yb :c :yc}) {:a :a})\n\n(union #{:a :b :c} #{:c :d :e })\n(difference #{:a :b :c} #{:c :d :e})\n(intersection #{:a :b :c} #{:c :d :e})\n\n(index ys [:b]))\n\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/clojure.string.js b/out/cljs-runtime/clojure.string.js new file mode 100644 index 0000000..0be7c51 --- /dev/null +++ b/out/cljs-runtime/clojure.string.js @@ -0,0 +1,476 @@ +goog.provide('clojure.string'); +clojure.string.seq_reverse = (function clojure$string$seq_reverse(coll){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core.conj,cljs.core.List.EMPTY,coll); +}); +clojure.string.re_surrogate_pair = (new RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g")); +/** + * Returns s with its characters reversed. + */ +clojure.string.reverse = (function clojure$string$reverse(s){ +return s.replace(clojure.string.re_surrogate_pair,"$2$1").split("").reverse().join(""); +}); +clojure.string.replace_all = (function clojure$string$replace_all(s,re,replacement){ +var r = (new RegExp(re.source,(function (){var G__28085 = "g"; +var G__28085__$1 = (cljs.core.truth_(re.ignoreCase)?[G__28085,"i"].join(''):G__28085); +var G__28085__$2 = (cljs.core.truth_(re.multiline)?[G__28085__$1,"m"].join(''):G__28085__$1); +if(cljs.core.truth_(re.unicode)){ +return [G__28085__$2,"u"].join(''); +} else { +return G__28085__$2; +} +})())); +return s.replace(r,replacement); +}); +clojure.string.replace_with = (function clojure$string$replace_with(f){ +return (function() { +var G__28147__delegate = function (args){ +var matches = cljs.core.drop_last.cljs$core$IFn$_invoke$arity$2((2),args); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(matches),(1))){ +var G__28086 = cljs.core.first(matches); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__28086) : f.call(null, G__28086)); +} else { +var G__28087 = cljs.core.vec(matches); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__28087) : f.call(null, G__28087)); +} +}; +var G__28147 = function (var_args){ +var args = null; +if (arguments.length > 0) { +var G__28154__i = 0, G__28154__a = new Array(arguments.length - 0); +while (G__28154__i < G__28154__a.length) {G__28154__a[G__28154__i] = arguments[G__28154__i + 0]; ++G__28154__i;} + args = new cljs.core.IndexedSeq(G__28154__a,0,null); +} +return G__28147__delegate.call(this,args);}; +G__28147.cljs$lang$maxFixedArity = 0; +G__28147.cljs$lang$applyTo = (function (arglist__28157){ +var args = cljs.core.seq(arglist__28157); +return G__28147__delegate(args); +}); +G__28147.cljs$core$IFn$_invoke$arity$variadic = G__28147__delegate; +return G__28147; +})() +; +}); +/** + * Replaces all instance of match with replacement in s. + * + * match/replacement can be: + * + * string / string + * pattern / (string or function of match). + * + * See also replace-first. + * + * The replacement is literal (i.e. none of its characters are treated + * specially) for all cases above except pattern / string. + * + * For pattern / string, $1, $2, etc. in the replacement string are + * substituted with the string that matched the corresponding + * parenthesized group in the pattern. + * + * Example: + * (clojure.string/replace "Almost Pig Latin" #"\b(\w)(\w+)\b" "$2$1ay") + * -> "lmostAay igPay atinLay" + */ +clojure.string.replace = (function clojure$string$replace(s,match,replacement){ +if(typeof match === 'string'){ +return s.replace((new RegExp(goog.string.regExpEscape(match),"g")),replacement); +} else { +if((match instanceof RegExp)){ +if(typeof replacement === 'string'){ +return clojure.string.replace_all(s,match,replacement); +} else { +return clojure.string.replace_all(s,match,clojure.string.replace_with(replacement)); +} +} else { +throw ["Invalid match arg: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(match)].join(''); + +} +} +}); +/** + * Replaces the first instance of match with replacement in s. + * + * match/replacement can be: + * + * string / string + * pattern / (string or function of match). + * + * See also replace. + * + * The replacement is literal (i.e. none of its characters are treated + * specially) for all cases above except pattern / string. + * + * For pattern / string, $1, $2, etc. in the replacement string are + * substituted with the string that matched the corresponding + * parenthesized group in the pattern. + * + * Example: + * (clojure.string/replace-first "swap first two words" + * #"(\w+)(\s+)(\w+)" "$3$2$1") + * -> "first swap two words" + */ +clojure.string.replace_first = (function clojure$string$replace_first(s,match,replacement){ +return s.replace(match,replacement); +}); +/** + * Returns a string of all elements in coll, as returned by (seq coll), + * separated by an optional separator. + */ +clojure.string.join = (function clojure$string$join(var_args){ +var G__28095 = arguments.length; +switch (G__28095) { +case 1: +return clojure.string.join.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return clojure.string.join.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(clojure.string.join.cljs$core$IFn$_invoke$arity$1 = (function (coll){ +var sb = (new goog.string.StringBuffer()); +var coll__$1 = cljs.core.seq(coll); +while(true){ +if((!((coll__$1 == null)))){ +var G__28166 = sb.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(coll__$1))); +var G__28167 = cljs.core.next(coll__$1); +sb = G__28166; +coll__$1 = G__28167; +continue; +} else { +return sb.toString(); +} +break; +} +})); + +(clojure.string.join.cljs$core$IFn$_invoke$arity$2 = (function (separator,coll){ +var sb = (new goog.string.StringBuffer()); +var coll__$1 = cljs.core.seq(coll); +while(true){ +if((!((coll__$1 == null)))){ +sb.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(coll__$1))); + +var coll__$2 = cljs.core.next(coll__$1); +if((coll__$2 == null)){ +} else { +sb.append(separator); +} + +var G__28174 = sb; +var G__28175 = coll__$2; +sb = G__28174; +coll__$1 = G__28175; +continue; +} else { +return sb.toString(); +} +break; +} +})); + +(clojure.string.join.cljs$lang$maxFixedArity = 2); + +/** + * Converts string to all upper-case. + */ +clojure.string.upper_case = (function clojure$string$upper_case(s){ +return s.toUpperCase(); +}); +/** + * Converts string to all lower-case. + */ +clojure.string.lower_case = (function clojure$string$lower_case(s){ +return s.toLowerCase(); +}); +/** + * Converts first character of the string to upper-case, all other + * characters to lower-case. + */ +clojure.string.capitalize = (function clojure$string$capitalize(s){ +return goog.string.capitalize(s); +}); +clojure.string.pop_last_while_empty = (function clojure$string$pop_last_while_empty(v){ +var v__$1 = v; +while(true){ +if(("" === cljs.core.peek(v__$1))){ +var G__28179 = cljs.core.pop(v__$1); +v__$1 = G__28179; +continue; +} else { +return v__$1; +} +break; +} +}); +clojure.string.discard_trailing_if_needed = (function clojure$string$discard_trailing_if_needed(limit,v){ +if(((((0) === limit)) && (((1) < cljs.core.count(v))))){ +return clojure.string.pop_last_while_empty(v); +} else { +return v; +} +}); +clojure.string.split_with_empty_regex = (function clojure$string$split_with_empty_regex(s,limit){ +if((((limit <= (0))) || ((limit >= ((2) + cljs.core.count(s)))))){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.vec(cljs.core.cons("",cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.seq(s)))),""); +} else { +var pred__28103 = cljs.core._EQ__EQ_; +var expr__28104 = limit; +if(cljs.core.truth_((pred__28103.cljs$core$IFn$_invoke$arity$2 ? pred__28103.cljs$core$IFn$_invoke$arity$2((1),expr__28104) : pred__28103.call(null, (1),expr__28104)))){ +return (new cljs.core.PersistentVector(null,1,(5),cljs.core.PersistentVector.EMPTY_NODE,[s],null)); +} else { +if(cljs.core.truth_((pred__28103.cljs$core$IFn$_invoke$arity$2 ? pred__28103.cljs$core$IFn$_invoke$arity$2((2),expr__28104) : pred__28103.call(null, (2),expr__28104)))){ +return (new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,["",s],null)); +} else { +var c = (limit - (2)); +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(cljs.core.vec(cljs.core.cons("",cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(cljs.core.vec(cljs.core.map.cljs$core$IFn$_invoke$arity$2(cljs.core.str,cljs.core.seq(s))),(0),c))),cljs.core.subs.cljs$core$IFn$_invoke$arity$2(s,c)); +} +} +} +}); +/** + * Splits string on a regular expression. Optional argument limit is + * the maximum number of parts. Not lazy. Returns vector of the parts. + * Trailing empty strings are not returned - pass limit of -1 to return all. + */ +clojure.string.split = (function clojure$string$split(var_args){ +var G__28112 = arguments.length; +switch (G__28112) { +case 2: +return clojure.string.split.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return clojure.string.split.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(clojure.string.split.cljs$core$IFn$_invoke$arity$2 = (function (s,re){ +return clojure.string.split.cljs$core$IFn$_invoke$arity$3(s,re,(0)); +})); + +(clojure.string.split.cljs$core$IFn$_invoke$arity$3 = (function (s,re,limit){ +return clojure.string.discard_trailing_if_needed(limit,((("/(?:)/" === cljs.core.str.cljs$core$IFn$_invoke$arity$1(re)))?clojure.string.split_with_empty_regex(s,limit):(((limit < (1)))?cljs.core.vec(cljs.core.str.cljs$core$IFn$_invoke$arity$1(s).split(re)):(function (){var s__$1 = s; +var limit__$1 = limit; +var parts = cljs.core.PersistentVector.EMPTY; +while(true){ +if(((1) === limit__$1)){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(parts,s__$1); +} else { +var m = cljs.core.re_find(re,s__$1); +if((!((m == null)))){ +var index = s__$1.indexOf(m); +var G__28191 = s__$1.substring((index + cljs.core.count(m))); +var G__28192 = (limit__$1 - (1)); +var G__28193 = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(parts,s__$1.substring((0),index)); +s__$1 = G__28191; +limit__$1 = G__28192; +parts = G__28193; +continue; +} else { +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(parts,s__$1); +} +} +break; +} +})()))); +})); + +(clojure.string.split.cljs$lang$maxFixedArity = 3); + +/** + * Splits s on \n or \r\n. Trailing empty lines are not returned. + */ +clojure.string.split_lines = (function clojure$string$split_lines(s){ +return clojure.string.split.cljs$core$IFn$_invoke$arity$2(s,/\n|\r\n/); +}); +/** + * Removes whitespace from both ends of string. + */ +clojure.string.trim = (function clojure$string$trim(s){ +return goog.string.trim(s); +}); +/** + * Removes whitespace from the left side of string. + */ +clojure.string.triml = (function clojure$string$triml(s){ +return goog.string.trimLeft(s); +}); +/** + * Removes whitespace from the right side of string. + */ +clojure.string.trimr = (function clojure$string$trimr(s){ +return goog.string.trimRight(s); +}); +/** + * Removes all trailing newline \n or return \r characters from + * string. Similar to Perl's chomp. + */ +clojure.string.trim_newline = (function clojure$string$trim_newline(s){ +var index = s.length; +while(true){ +if((index === (0))){ +return ""; +} else { +var ch = cljs.core.get.cljs$core$IFn$_invoke$arity$2(s,(index - (1))); +if(((("\n" === ch)) || (("\r" === ch)))){ +var G__28221 = (index - (1)); +index = G__28221; +continue; +} else { +return s.substring((0),index); +} +} +break; +} +}); +/** + * True is s is nil, empty, or contains only whitespace. + */ +clojure.string.blank_QMARK_ = (function clojure$string$blank_QMARK_(s){ +return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(s)); +}); +/** + * Return a new string, using cmap to escape each character ch + * from s as follows: + * + * If (cmap ch) is nil, append ch to the new string. + * If (cmap ch) is non-nil, append (str (cmap ch)) instead. + */ +clojure.string.escape = (function clojure$string$escape(s,cmap){ +var buffer = (new goog.string.StringBuffer()); +var length = s.length; +var index = (0); +while(true){ +if((length === index)){ +return buffer.toString(); +} else { +var ch = s.charAt(index); +var replacement = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cmap,ch); +if((!((replacement == null)))){ +buffer.append(cljs.core.str.cljs$core$IFn$_invoke$arity$1(replacement)); +} else { +buffer.append(ch); +} + +var G__28237 = (index + (1)); +index = G__28237; +continue; +} +break; +} +}); +/** + * Return index of value (string or char) in s, optionally searching + * forward from from-index or nil if not found. + */ +clojure.string.index_of = (function clojure$string$index_of(var_args){ +var G__28133 = arguments.length; +switch (G__28133) { +case 2: +return clojure.string.index_of.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return clojure.string.index_of.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(clojure.string.index_of.cljs$core$IFn$_invoke$arity$2 = (function (s,value){ +var result = s.indexOf(value); +if((result < (0))){ +return null; +} else { +return result; +} +})); + +(clojure.string.index_of.cljs$core$IFn$_invoke$arity$3 = (function (s,value,from_index){ +var result = s.indexOf(value,from_index); +if((result < (0))){ +return null; +} else { +return result; +} +})); + +(clojure.string.index_of.cljs$lang$maxFixedArity = 3); + +/** + * Return last index of value (string or char) in s, optionally + * searching backward from from-index or nil if not found. + */ +clojure.string.last_index_of = (function clojure$string$last_index_of(var_args){ +var G__28135 = arguments.length; +switch (G__28135) { +case 2: +return clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$2 = (function (s,value){ +var result = s.lastIndexOf(value); +if((result < (0))){ +return null; +} else { +return result; +} +})); + +(clojure.string.last_index_of.cljs$core$IFn$_invoke$arity$3 = (function (s,value,from_index){ +var result = s.lastIndexOf(value,from_index); +if((result < (0))){ +return null; +} else { +return result; +} +})); + +(clojure.string.last_index_of.cljs$lang$maxFixedArity = 3); + +/** + * True if s starts with substr. + */ +clojure.string.starts_with_QMARK_ = (function clojure$string$starts_with_QMARK_(s,substr){ +return goog.string.startsWith(s,substr); +}); +/** + * True if s ends with substr. + */ +clojure.string.ends_with_QMARK_ = (function clojure$string$ends_with_QMARK_(s,substr){ +return goog.string.endsWith(s,substr); +}); +/** + * True if s includes substr. + */ +clojure.string.includes_QMARK_ = (function clojure$string$includes_QMARK_(s,substr){ +return goog.string.contains(s,substr); +}); + +//# sourceMappingURL=clojure.string.js.map diff --git a/out/cljs-runtime/clojure.string.js.map b/out/cljs-runtime/clojure.string.js.map new file mode 100644 index 0000000..c6af77f --- /dev/null +++ b/out/cljs-runtime/clojure.string.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["clojure/string.cljs"],"mappings":";AAaA,6BAAA,7BAAOA,kEACJC;AADH,AAEE,qEAAA,9DAACC,+CAAOC,oCAAQF;;AAElB,AAAeG,mCACb,KAAAC,OAAA,yCAAA;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OAAAA,2DAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAA1D,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,CAAA,6DAAA,7DAAM0D,wEAGFlF,EAAE8E;AAHN,AAIG,IAAMC,SAAO,AAAc/E,cAAE8E;AAA7B,AACE,GAAI,UAAA,TAAMC;AAAV;;AAEEA;;;;AAPP,CAAA,6DAAA,7DAAMG,wEAQFlF,EAAE8E,MAAME;AARZ,AASG,IAAMD,SAAO,AAAc/E,cAAE8E,MAAME;AAAnC,AACE,GAAI,UAAA,TAAMD;AAAV;;AAEEA;;;;AAZP,CAAA,uDAAA,vDAAMG;;AAAN,AAcA;;;oCAAA,pCAAeC,gFAEZnF,EAAEoF;AAFL,AAGE,OAACC,uBAAmBrF,EAAEoF;;AAExB;;;kCAAA,lCAAeE,4EAEZtF,EAAEoF;AAFL,AAGE,OAACG,qBAAiBvF,EAAEoF;;AAEtB;;;iCAAA,jCAAeI,0EAEZxF,EAAEoF;AAFL,AAGE,OAACK,qBAAiBzF,EAAEoF","names":["clojure.string/seq-reverse","coll","cljs.core.reduce","cljs.core/conj","clojure.string/re-surrogate-pair","js/RegExp","clojure.string/reverse","s","clojure.string/replace-all","re","replacement","r","G__28085","clojure.string/replace-with","f","args","matches","cljs.core.drop_last","cljs.core._EQ_","cljs.core/count","G__28086","cljs.core/first","G__28087","cljs.core/vec","clojure.string/replace","match","goog.string/regExpEscape","clojure.string/replace-first","var_args","G__28095","clojure.string/join","js/Error","sb","js/goog.string.StringBuffer","cljs.core/seq","cljs.core/next","separator","clojure.string/upper-case","clojure.string/lower-case","clojure.string/capitalize","goog.string/capitalize","clojure.string/pop-last-while-empty","v","cljs.core/peek","cljs.core/pop","clojure.string/discard-trailing-if-needed","limit","clojure.string/split-with-empty-regex","cljs.core.conj","cljs.core/cons","cljs.core.map","cljs.core/str","pred__28103","expr__28104","cljs.core/==","cljs.core/PersistentVector","c","cljs.core.subvec","cljs.core.subs","G__28112","clojure.string/split","clojure.string.split","parts","m","cljs.core/re-find","index","clojure.string/split-lines","clojure.string/trim","goog.string/trim","clojure.string/triml","goog.string/trimLeft","clojure.string/trimr","goog.string/trimRight","clojure.string/trim-newline","ch","cljs.core.get","clojure.string/blank?","goog.string/isEmptyOrWhitespace","goog.string/makeSafe","clojure.string/escape","cmap","buffer","length","G__28133","clojure.string/index-of","value","result","from-index","G__28135","clojure.string/last-index-of","clojure.string/starts-with?","substr","goog.string/startsWith","clojure.string/ends-with?","goog.string/endsWith","clojure.string/includes?","goog.string/contains"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n(ns clojure.string\n (:refer-clojure :exclude [replace reverse])\n (:require [goog.string :as gstring])\n (:import [goog.string StringBuffer]))\n\n(defn- seq-reverse\n [coll]\n (reduce conj () coll))\n\n(def ^:private re-surrogate-pair\n (js/RegExp. \"([\\\\uD800-\\\\uDBFF])([\\\\uDC00-\\\\uDFFF])\" \"g\"))\n\n(defn ^string reverse\n \"Returns s with its characters reversed.\"\n [s]\n (-> (.replace s re-surrogate-pair \"$2$1\")\n (.. (split \"\") (reverse) (join \"\"))))\n\n(defn- replace-all\n [s re replacement]\n (let [r (js/RegExp. (.-source re)\n (cond-> \"g\"\n (.-ignoreCase re) (str \"i\")\n (.-multiline re) (str \"m\")\n (.-unicode re) (str \"u\")))]\n (.replace s r replacement)))\n\n(defn- replace-with\n [f]\n (fn [& args]\n (let [matches (drop-last 2 args)]\n (if (= (count matches) 1)\n (f (first matches))\n (f (vec matches))))))\n\n(defn ^string replace\n \"Replaces all instance of match with replacement in s.\n\n match/replacement can be:\n\n string / string\n pattern / (string or function of match).\n\n See also replace-first.\n\n The replacement is literal (i.e. none of its characters are treated\n specially) for all cases above except pattern / string.\n\n For pattern / string, $1, $2, etc. in the replacement string are\n substituted with the string that matched the corresponding\n parenthesized group in the pattern.\n\n Example:\n (clojure.string/replace \\\"Almost Pig Latin\\\" #\\\"\\\\b(\\\\w)(\\\\w+)\\\\b\\\" \\\"$2$1ay\\\")\n -> \\\"lmostAay igPay atinLay\\\"\"\n [s match replacement]\n (cond\n (string? match)\n (.replace s (js/RegExp. (gstring/regExpEscape match) \"g\") replacement)\n\n (instance? js/RegExp match)\n (if (string? replacement)\n (replace-all s match replacement)\n (replace-all s match (replace-with replacement)))\n\n :else (throw (str \"Invalid match arg: \" match))))\n\n(defn ^string replace-first\n \"Replaces the first instance of match with replacement in s.\n\n match/replacement can be:\n\n string / string\n pattern / (string or function of match).\n\n See also replace.\n\n The replacement is literal (i.e. none of its characters are treated\n specially) for all cases above except pattern / string.\n\n For pattern / string, $1, $2, etc. in the replacement string are\n substituted with the string that matched the corresponding\n parenthesized group in the pattern.\n\n Example:\n (clojure.string/replace-first \\\"swap first two words\\\"\n #\\\"(\\\\w+)(\\\\s+)(\\\\w+)\\\" \\\"$3$2$1\\\")\n -> \\\"first swap two words\\\"\"\n [s match replacement]\n (.replace s match replacement))\n\n(defn join\n \"Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator.\"\n ([coll]\n (loop [sb (StringBuffer.) coll (seq coll)]\n (if-not (nil? coll)\n (recur (. sb (append (str (first coll)))) (next coll))\n ^string (.toString sb))))\n ([separator coll]\n (loop [sb (StringBuffer.) coll (seq coll)]\n (if-not (nil? coll)\n (do\n (. sb (append (str (first coll))))\n (let [coll (next coll)]\n (when-not (nil? coll)\n (. sb (append separator)))\n (recur sb coll)))\n ^string (.toString sb)))))\n\n(defn ^string upper-case\n \"Converts string to all upper-case.\"\n [s]\n (.toUpperCase s))\n\n(defn ^string lower-case\n \"Converts string to all lower-case.\"\n [s]\n (.toLowerCase s))\n\n(defn ^string capitalize\n \"Converts first character of the string to upper-case, all other\n characters to lower-case.\"\n [s]\n (gstring/capitalize s))\n\n;; The JavaScript split function takes a limit argument but the return\n;; value is not the same as the Java split function.\n;;\n;; Java: (.split \"a-b-c\" #\"-\" 2) => [\"a\" \"b-c\"]\n;; JavaScript: (.split \"a-b-c\" #\"-\" 2) => [\"a\" \"b\"]\n;;\n;; For consistency, the three arg version has been implemented to\n;; mimic Java's behavior.\n\n(defn- pop-last-while-empty\n [v]\n (loop [v v]\n (if (identical? \"\" (peek v))\n (recur (pop v))\n v)))\n\n(defn- discard-trailing-if-needed\n [limit v]\n (if (and (== 0 limit) (< 1 (count v)))\n (pop-last-while-empty v)\n v))\n\n(defn- split-with-empty-regex\n [s limit]\n (if (or (<= limit 0) (>= limit (+ 2 (count s))))\n (conj (vec (cons \"\" (map str (seq s)))) \"\")\n (condp == limit\n 1 (vector s)\n 2 (vector \"\" s)\n (let [c (- limit 2)]\n (conj (vec (cons \"\" (subvec (vec (map str (seq s))) 0 c))) (subs s c))))))\n\n(defn split\n \"Splits string on a regular expression. Optional argument limit is\n the maximum number of parts. Not lazy. Returns vector of the parts.\n Trailing empty strings are not returned - pass limit of -1 to return all.\"\n ([s re]\n (split s re 0))\n ([s re limit]\n (discard-trailing-if-needed limit\n (if (identical? \"/(?:)/\" (str re))\n (split-with-empty-regex s limit)\n (if (< limit 1)\n (vec (.split (str s) re))\n (loop [s s\n limit limit\n parts []]\n (if (== 1 limit)\n (conj parts s)\n (let [m (re-find re s)]\n (if-not (nil? m)\n (let [index (.indexOf s m)]\n (recur (.substring s (+ index (count m)))\n (dec limit)\n (conj parts (.substring s 0 index))))\n (conj parts s))))))))))\n\n(defn split-lines\n \"Splits s on \\\\n or \\\\r\\\\n. Trailing empty lines are not returned.\"\n [s]\n (split s #\"\\n|\\r\\n\"))\n\n(defn ^string trim\n \"Removes whitespace from both ends of string.\"\n [s]\n (gstring/trim s))\n\n(defn ^string triml\n \"Removes whitespace from the left side of string.\"\n [s]\n (gstring/trimLeft s))\n\n(defn ^string trimr\n \"Removes whitespace from the right side of string.\"\n [s]\n (gstring/trimRight s))\n\n(defn ^string trim-newline\n \"Removes all trailing newline \\\\n or return \\\\r characters from\n string. Similar to Perl's chomp.\"\n [s]\n (loop [index (.-length s)]\n (if (zero? index)\n \"\"\n (let [ch (get s (dec index))]\n (if (or (identical? \\newline ch)\n (identical? \\return ch))\n (recur (dec index))\n (.substring s 0 index))))))\n\n(defn ^boolean blank?\n \"True is s is nil, empty, or contains only whitespace.\"\n [s]\n (gstring/isEmptyOrWhitespace (gstring/makeSafe s)))\n\n(defn ^string escape\n \"Return a new string, using cmap to escape each character ch\n from s as follows:\n\n If (cmap ch) is nil, append ch to the new string.\n If (cmap ch) is non-nil, append (str (cmap ch)) instead.\"\n [s cmap]\n (let [buffer (StringBuffer.)\n length (.-length s)]\n (loop [index 0]\n (if (== length index)\n (. buffer (toString))\n (let [ch (.charAt s index)\n replacement (get cmap ch)]\n (if-not (nil? replacement)\n (.append buffer (str replacement))\n (.append buffer ch))\n (recur (inc index)))))))\n\n(defn index-of\n \"Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found.\"\n ([s value]\n (let [result (.indexOf s value)]\n (if (neg? result)\n nil\n result)))\n ([s value from-index]\n (let [result (.indexOf s value from-index)]\n (if (neg? result)\n nil\n result))))\n\n(defn last-index-of\n \"Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found.\"\n ([s value]\n (let [result (.lastIndexOf s value)]\n (if (neg? result)\n nil\n result)))\n ([s value from-index]\n (let [result (.lastIndexOf s value from-index)]\n (if (neg? result)\n nil\n result))))\n\n(defn ^boolean starts-with?\n \"True if s starts with substr.\"\n [s substr]\n (gstring/startsWith s substr))\n\n(defn ^boolean ends-with?\n \"True if s ends with substr.\"\n [s substr]\n (gstring/endsWith s substr))\n\n(defn ^boolean includes?\n \"True if s includes substr.\"\n [s substr]\n (gstring/contains s substr))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/clojure.walk.js b/out/cljs-runtime/clojure.walk.js new file mode 100644 index 0000000..9cbf884 --- /dev/null +++ b/out/cljs-runtime/clojure.walk.js @@ -0,0 +1,130 @@ +goog.provide('clojure.walk'); +/** + * Traverses form, an arbitrary data structure. inner and outer are + * functions. Applies inner to each element of form, building up a + * data structure of the same type, then applies outer to the result. + * Recognizes all Clojure data structures. Consumes seqs as with doall. + */ +clojure.walk.walk = (function clojure$walk$walk(inner,outer,form){ +if(cljs.core.list_QMARK_(form)){ +var G__31350 = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.list,cljs.core.map.cljs$core$IFn$_invoke$arity$2(inner,form)); +return (outer.cljs$core$IFn$_invoke$arity$1 ? outer.cljs$core$IFn$_invoke$arity$1(G__31350) : outer.call(null, G__31350)); +} else { +if(cljs.core.map_entry_QMARK_(form)){ +var G__31351 = (new cljs.core.MapEntry((function (){var G__31352 = cljs.core.key(form); +return (inner.cljs$core$IFn$_invoke$arity$1 ? inner.cljs$core$IFn$_invoke$arity$1(G__31352) : inner.call(null, G__31352)); +})(),(function (){var G__31354 = cljs.core.val(form); +return (inner.cljs$core$IFn$_invoke$arity$1 ? inner.cljs$core$IFn$_invoke$arity$1(G__31354) : inner.call(null, G__31354)); +})(),null)); +return (outer.cljs$core$IFn$_invoke$arity$1 ? outer.cljs$core$IFn$_invoke$arity$1(G__31351) : outer.call(null, G__31351)); +} else { +if(cljs.core.seq_QMARK_(form)){ +var G__31357 = cljs.core.doall.cljs$core$IFn$_invoke$arity$1(cljs.core.map.cljs$core$IFn$_invoke$arity$2(inner,form)); +return (outer.cljs$core$IFn$_invoke$arity$1 ? outer.cljs$core$IFn$_invoke$arity$1(G__31357) : outer.call(null, G__31357)); +} else { +if(cljs.core.record_QMARK_(form)){ +var G__31359 = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (r,x){ +return cljs.core.conj.cljs$core$IFn$_invoke$arity$2(r,(inner.cljs$core$IFn$_invoke$arity$1 ? inner.cljs$core$IFn$_invoke$arity$1(x) : inner.call(null, x))); +}),form,form); +return (outer.cljs$core$IFn$_invoke$arity$1 ? outer.cljs$core$IFn$_invoke$arity$1(G__31359) : outer.call(null, G__31359)); +} else { +if(cljs.core.coll_QMARK_(form)){ +var G__31362 = cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.empty(form),cljs.core.map.cljs$core$IFn$_invoke$arity$2(inner,form)); +return (outer.cljs$core$IFn$_invoke$arity$1 ? outer.cljs$core$IFn$_invoke$arity$1(G__31362) : outer.call(null, G__31362)); +} else { +return (outer.cljs$core$IFn$_invoke$arity$1 ? outer.cljs$core$IFn$_invoke$arity$1(form) : outer.call(null, form)); + +} +} +} +} +} +}); +/** + * Performs a depth-first, post-order traversal of form. Calls f on + * each sub-form, uses f's return value in place of the original. + * Recognizes all Clojure data structures. Consumes seqs as with doall. + */ +clojure.walk.postwalk = (function clojure$walk$postwalk(f,form){ +return clojure.walk.walk(cljs.core.partial.cljs$core$IFn$_invoke$arity$2(clojure.walk.postwalk,f),f,form); +}); +/** + * Like postwalk, but does pre-order traversal. + */ +clojure.walk.prewalk = (function clojure$walk$prewalk(f,form){ +return clojure.walk.walk(cljs.core.partial.cljs$core$IFn$_invoke$arity$2(clojure.walk.prewalk,f),cljs.core.identity,(f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(form) : f.call(null, form))); +}); +/** + * Recursively transforms all map keys from strings to keywords. + */ +clojure.walk.keywordize_keys = (function clojure$walk$keywordize_keys(m){ +var f = (function (p__31375){ +var vec__31376 = p__31375; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31376,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31376,(1),null); +if(typeof k === 'string'){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(k),v], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v], null); +} +}); +return clojure.walk.postwalk((function (x){ +if(cljs.core.map_QMARK_(x)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$2(f,x)); +} else { +return x; +} +}),m); +}); +/** + * Recursively transforms all map keys from keywords to strings. + */ +clojure.walk.stringify_keys = (function clojure$walk$stringify_keys(m){ +var f = (function (p__31402){ +var vec__31403 = p__31402; +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31403,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__31403,(1),null); +if((k instanceof cljs.core.Keyword)){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.name(k),v], null); +} else { +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,v], null); +} +}); +return clojure.walk.postwalk((function (x){ +if(cljs.core.map_QMARK_(x)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$2(f,x)); +} else { +return x; +} +}),m); +}); +/** + * Recursively transforms form by replacing keys in smap with their + * values. Like clojure/replace but works on any data structure. Does + * replacement at the root of the tree first. + */ +clojure.walk.prewalk_replace = (function clojure$walk$prewalk_replace(smap,form){ +return clojure.walk.prewalk((function (x){ +if(cljs.core.contains_QMARK_(smap,x)){ +return (smap.cljs$core$IFn$_invoke$arity$1 ? smap.cljs$core$IFn$_invoke$arity$1(x) : smap.call(null, x)); +} else { +return x; +} +}),form); +}); +/** + * Recursively transforms form by replacing keys in smap with their + * values. Like clojure/replace but works on any data structure. Does + * replacement at the leaves of the tree first. + */ +clojure.walk.postwalk_replace = (function clojure$walk$postwalk_replace(smap,form){ +return clojure.walk.postwalk((function (x){ +if(cljs.core.contains_QMARK_(smap,x)){ +return (smap.cljs$core$IFn$_invoke$arity$1 ? smap.cljs$core$IFn$_invoke$arity$1(x) : smap.call(null, x)); +} else { +return x; +} +}),form); +}); + +//# sourceMappingURL=clojure.walk.js.map diff --git a/out/cljs-runtime/clojure.walk.js.map b/out/cljs-runtime/clojure.walk.js.map new file mode 100644 index 0000000..24ef6d5 --- /dev/null +++ b/out/cljs-runtime/clojure.walk.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["clojure/walk.cljs"],"mappings":";AAoCA;;;;;;oBAAA,pBAAMA,gDAOHC,MAAMC,MAAMC;AAPf,AAQE,GACE,AAACC,sBAAMD;AAAW,IAAAE,WAAO,AAACC,8CAAMC,eAAK,AAACC,4CAAIP,MAAME;AAA9B,AAAA,kFAAAE,6BAAAA,vGAACH,sCAAAA,gDAAAA;;AADrB,GAEE,AAACO,2BAAWN;AACZ,IAAAO,WAAO,KAAAC,mBAAW,iBAAAC,WAAO,AAACC,cAAIV;AAAZ,AAAA,kFAAAS,6BAAAA,vGAACX,sCAAAA,gDAAAA;KAAkB,iBAAAa,WAAO,AAACC,cAAIZ;AAAZ,AAAA,kFAAAW,6BAAAA,vGAACb,sCAAAA,gDAAAA;KAA/B;AAAP,AAAA,kFAAAS,6BAAAA,vGAACR,sCAAAA,gDAAAA;;AAHH,GAIE,AAACc,qBAAKb;AAAY,IAAAc,WAAO,AAACC,8CAAM,AAACV,4CAAIP,MAAME;AAAzB,AAAA,kFAAAc,6BAAAA,vGAACf,sCAAAA,gDAAAA;;AAJrB,GAKE,AAACiB,wBAAQhB;AAAS,IAAAiB,WAAO,AAACC,+CAAO,WAAKC,EAAEC;AAAP,AAAU,OAACC,6CAAKF,EAAE,CAACrB,sCAAAA,yCAAAA,LAAMsB,sBAAAA;GAAKpB,KAAKA;AAAlD,AAAA,kFAAAiB,6BAAAA,vGAAClB,sCAAAA,gDAAAA;;AALrB,GAME,AAACuB,sBAAMtB;AAAW,IAAAuB,WAAO,AAACC,6CAAK,AAACC,gBAAMzB,MAAM,AAACK,4CAA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KHC,KAAK9C;AALR,AAME,OAAC6B,qBAAQ,WAAKT;AAAL,AAAQ,GAAI,AAAC2B,0BAAUD,KAAK1B;AAAG,QAAC0B,qCAAAA,wCAAAA,LAAK1B,qBAAAA;;AAAGA;;GAAIpB;;AAEvD;;;;;gCAAA,hCAAMgD,wEAKHF,KAAK9C;AALR,AAME,OAAC0B,sBAAS,WAAKN;AAAL,AAAQ,GAAI,AAAC2B,0BAAUD,KAAK1B;AAAG,QAAC0B,qCAAAA,wCAAAA,LAAK1B,qBAAAA;;AAAGA;;GAAIpB","names":["clojure.walk/walk","inner","outer","form","cljs.core/list?","G__31350","cljs.core.apply","cljs.core/list","cljs.core.map","cljs.core/map-entry?","G__31351","cljs.core/MapEntry","G__31352","cljs.core/key","G__31354","cljs.core/val","cljs.core/seq?","G__31357","cljs.core.doall","cljs.core/record?","G__31359","cljs.core.reduce","r","x","cljs.core.conj","cljs.core/coll?","G__31362","cljs.core.into","cljs.core/empty","clojure.walk/postwalk","f","cljs.core.partial","clojure.walk/prewalk","cljs.core/identity","clojure.walk/keywordize-keys","m","p__31375","vec__31376","cljs.core.nth","k","v","cljs.core.keyword","cljs.core/map?","clojure.walk/stringify-keys","p__31402","vec__31403","cljs.core/Keyword","cljs.core/name","clojure.walk/prewalk-replace","smap","cljs.core/contains?","clojure.walk/postwalk-replace"],"sourcesContent":["; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distribution terms for this software are covered by the\n; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)\n; which can be found in the file epl-v10.html at the root of this distribution.\n; By using this software in any fashion, you are agreeing to be bound by\n; the terms of this license.\n; You must not remove this notice, or any other, from this software.\n\n;;; walk.cljs - generic tree walker with replacement\n\n;; by Stuart Sierra\n;; Jul5 17, 2011\n\n;; CHANGE LOG:\n;;\n;; * July 17, 2011: Port to ClojureScript\n;; \n;; * December 15, 2008: replaced 'walk' with 'prewalk' & 'postwalk'\n;;\n;; * December 9, 2008: first version\n\n\n(ns \n ^{:author \"Stuart Sierra\",\n :doc \"This file defines a generic tree walker for Clojure data\nstructures. It takes any data structure (list, vector, map, set,\nseq), calls a function on every element, and uses the return value\nof the function in place of the original. This makes it fairly\neasy to write recursive search-and-replace functions, as shown in\nthe examples.\n\nNote: \\\"walk\\\" supports all Clojure data structures EXCEPT maps\ncreated with sorted-map-by. There is no (obvious) way to retrieve\nthe sorting function.\"}\n clojure.walk)\n\n(defn walk\n \"Traverses form, an arbitrary data structure. inner and outer are\n functions. Applies inner to each element of form, building up a\n data structure of the same type, then applies outer to the result.\n Recognizes all Clojure data structures. Consumes seqs as with doall.\"\n\n {:added \"1.1\"}\n [inner outer form]\n (cond\n (list? form) (outer (apply list (map inner form)))\n (map-entry? form)\n (outer (MapEntry. (inner (key form)) (inner (val form)) nil))\n (seq? form) (outer (doall (map inner form)))\n (record? form) (outer (reduce (fn [r x] (conj r (inner x))) form form))\n (coll? form) (outer (into (empty form) (map inner form)))\n :else (outer form)))\n\n(defn postwalk\n \"Performs a depth-first, post-order traversal of form. Calls f on\n each sub-form, uses f's return value in place of the original.\n Recognizes all Clojure data structures. Consumes seqs as with doall.\"\n {:added \"1.1\"}\n [f form]\n (walk (partial postwalk f) f form))\n\n(defn prewalk\n \"Like postwalk, but does pre-order traversal.\"\n {:added \"1.1\"}\n [f form]\n (walk (partial prewalk f) identity (f form)))\n\n(defn keywordize-keys\n \"Recursively transforms all map keys from strings to keywords.\"\n {:added \"1.1\"}\n [m]\n (let [f (fn [[k v]] (if (string? k) [(keyword k) v] [k v]))]\n ;; only apply to maps\n (postwalk (fn [x] (if (map? x) (into {} (map f x)) x)) m)))\n\n(defn stringify-keys\n \"Recursively transforms all map keys from keywords to strings.\"\n {:added \"1.1\"}\n [m]\n (let [f (fn [[k v]] (if (keyword? k) [(name k) v] [k v]))]\n ;; only apply to maps\n (postwalk (fn [x] (if (map? x) (into {} (map f x)) x)) m)))\n\n(defn prewalk-replace\n \"Recursively transforms form by replacing keys in smap with their\n values. Like clojure/replace but works on any data structure. Does\n replacement at the root of the tree first.\"\n {:added \"1.1\"}\n [smap form]\n (prewalk (fn [x] (if (contains? smap x) (smap x) x)) form))\n\n(defn postwalk-replace\n \"Recursively transforms form by replacing keys in smap with their\n values. Like clojure/replace but works on any data structure. Does\n replacement at the leaves of the tree first.\"\n {:added \"1.1\"}\n [smap form]\n (postwalk (fn [x] (if (contains? smap x) (smap x) x)) form))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/cognitect.transit.js b/out/cljs-runtime/cognitect.transit.js new file mode 100644 index 0000000..dc1ed13 --- /dev/null +++ b/out/cljs-runtime/cognitect.transit.js @@ -0,0 +1,1273 @@ +goog.provide('cognitect.transit'); +goog.scope(function(){ + cognitect.transit.goog$module$goog$object = goog.module.get('goog.object'); + cognitect.transit.goog$module$goog$math$Long = goog.module.get('goog.math.Long'); +}); +(cljs.core.UUID.prototype.cljs$core$IEquiv$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.UUID.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var this$__$1 = this; +if((other instanceof cljs.core.UUID)){ +return (this$__$1.uuid === other.uuid); +} else { +if((other instanceof com.cognitect.transit.types.UUID)){ +return (this$__$1.uuid === other.toString()); +} else { +return false; + +} +} +})); +(cljs.core.UUID.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(cljs.core.UUID.prototype.cljs$core$IComparable$_compare$arity$2 = (function (this$,other){ +var this$__$1 = this; +if((((other instanceof cljs.core.UUID)) || ((other instanceof com.cognitect.transit.types.UUID)))){ +return cljs.core.compare(this$__$1.toString(),other.toString()); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(other)].join(''))); +} +})); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IComparable$ = cljs.core.PROTOCOL_SENTINEL); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IComparable$_compare$arity$2 = (function (this$,other){ +var this$__$1 = this; +if((((other instanceof cljs.core.UUID)) || ((other instanceof com.cognitect.transit.types.UUID)))){ +return cljs.core.compare(this$__$1.toString(),other.toString()); +} else { +throw (new Error(["Cannot compare ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(this$__$1)," to ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(other)].join(''))); +} +})); +(cognitect.transit.goog$module$goog$math$Long.prototype.cljs$core$IEquiv$ = cljs.core.PROTOCOL_SENTINEL); + +(cognitect.transit.goog$module$goog$math$Long.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var this$__$1 = this; +return this$__$1.equiv(other); +})); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IEquiv$ = cljs.core.PROTOCOL_SENTINEL); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var this$__$1 = this; +if((other instanceof cljs.core.UUID)){ +return other.cljs$core$IEquiv$_equiv$arity$2(null, this$__$1); +} else { +return this$__$1.equiv(other); +} +})); + +(com.cognitect.transit.types.TaggedValue.prototype.cljs$core$IEquiv$ = cljs.core.PROTOCOL_SENTINEL); + +(com.cognitect.transit.types.TaggedValue.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var this$__$1 = this; +return this$__$1.equiv(other); +})); +(cognitect.transit.goog$module$goog$math$Long.prototype.cljs$core$IHash$ = cljs.core.PROTOCOL_SENTINEL); + +(cognitect.transit.goog$module$goog$math$Long.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var this$__$1 = this; +return com.cognitect.transit.eq.hashCode(this$__$1); +})); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IHash$ = cljs.core.PROTOCOL_SENTINEL); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var this$__$1 = this; +return cljs.core.hash(this$__$1.toString()); +})); + +(com.cognitect.transit.types.TaggedValue.prototype.cljs$core$IHash$ = cljs.core.PROTOCOL_SENTINEL); + +(com.cognitect.transit.types.TaggedValue.prototype.cljs$core$IHash$_hash$arity$1 = (function (this$){ +var this$__$1 = this; +return com.cognitect.transit.eq.hashCode(this$__$1); +})); +(com.cognitect.transit.types.UUID.prototype.cljs$core$IUUID$ = cljs.core.PROTOCOL_SENTINEL); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IPrintWithWriter$ = cljs.core.PROTOCOL_SENTINEL); + +(com.cognitect.transit.types.UUID.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (uuid,writer,_){ +var uuid__$1 = this; +return cljs.core._write(writer,["#uuid \"",cljs.core.str.cljs$core$IFn$_invoke$arity$1(uuid__$1.toString()),"\""].join('')); +})); +cognitect.transit.opts_merge = (function cognitect$transit$opts_merge(a,b){ +var seq__30733_31068 = cljs.core.seq(cljs.core.js_keys(b)); +var chunk__30734_31069 = null; +var count__30735_31070 = (0); +var i__30736_31071 = (0); +while(true){ +if((i__30736_31071 < count__30735_31070)){ +var k_31072 = chunk__30734_31069.cljs$core$IIndexed$_nth$arity$2(null, i__30736_31071); +var v_31074 = cognitect.transit.goog$module$goog$object.get(b,k_31072); +cognitect.transit.goog$module$goog$object.set(a,k_31072,v_31074); + + +var G__31075 = seq__30733_31068; +var G__31076 = chunk__30734_31069; +var G__31077 = count__30735_31070; +var G__31078 = (i__30736_31071 + (1)); +seq__30733_31068 = G__31075; +chunk__30734_31069 = G__31076; +count__30735_31070 = G__31077; +i__30736_31071 = G__31078; +continue; +} else { +var temp__5823__auto___31079 = cljs.core.seq(seq__30733_31068); +if(temp__5823__auto___31079){ +var seq__30733_31080__$1 = temp__5823__auto___31079; +if(cljs.core.chunked_seq_QMARK_(seq__30733_31080__$1)){ +var c__5568__auto___31081 = cljs.core.chunk_first(seq__30733_31080__$1); +var G__31082 = cljs.core.chunk_rest(seq__30733_31080__$1); +var G__31083 = c__5568__auto___31081; +var G__31084 = cljs.core.count(c__5568__auto___31081); +var G__31085 = (0); +seq__30733_31068 = G__31082; +chunk__30734_31069 = G__31083; +count__30735_31070 = G__31084; +i__30736_31071 = G__31085; +continue; +} else { +var k_31086 = cljs.core.first(seq__30733_31080__$1); +var v_31087 = cognitect.transit.goog$module$goog$object.get(b,k_31086); +cognitect.transit.goog$module$goog$object.set(a,k_31086,v_31087); + + +var G__31088 = cljs.core.next(seq__30733_31080__$1); +var G__31089 = null; +var G__31090 = (0); +var G__31091 = (0); +seq__30733_31068 = G__31088; +chunk__30734_31069 = G__31089; +count__30735_31070 = G__31090; +i__30736_31071 = G__31091; +continue; +} +} else { +} +} +break; +} + +return a; +}); + +/** +* @constructor +*/ +cognitect.transit.MapBuilder = (function (){ +}); +(cognitect.transit.MapBuilder.prototype.init = (function (node){ +var self__ = this; +var _ = this; +return cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY); +})); + +(cognitect.transit.MapBuilder.prototype.add = (function (m,k,v,node){ +var self__ = this; +var _ = this; +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(m,k,v); +})); + +(cognitect.transit.MapBuilder.prototype.finalize = (function (m,node){ +var self__ = this; +var _ = this; +return cljs.core.persistent_BANG_(m); +})); + +(cognitect.transit.MapBuilder.prototype.fromArray = (function (arr,node){ +var self__ = this; +var _ = this; +return (cljs.core.PersistentArrayMap.fromArray.cljs$core$IFn$_invoke$arity$3 ? cljs.core.PersistentArrayMap.fromArray.cljs$core$IFn$_invoke$arity$3(arr,true,true) : cljs.core.PersistentArrayMap.fromArray.call(null, arr,true,true)); +})); + +(cognitect.transit.MapBuilder.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.MapBuilder.cljs$lang$type = true); + +(cognitect.transit.MapBuilder.cljs$lang$ctorStr = "cognitect.transit/MapBuilder"); + +(cognitect.transit.MapBuilder.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/MapBuilder"); +})); + +/** + * Positional factory function for cognitect.transit/MapBuilder. + */ +cognitect.transit.__GT_MapBuilder = (function cognitect$transit$__GT_MapBuilder(){ +return (new cognitect.transit.MapBuilder()); +}); + + +/** +* @constructor +*/ +cognitect.transit.VectorBuilder = (function (){ +}); +(cognitect.transit.VectorBuilder.prototype.init = (function (node){ +var self__ = this; +var _ = this; +return cljs.core.transient$(cljs.core.PersistentVector.EMPTY); +})); + +(cognitect.transit.VectorBuilder.prototype.add = (function (v,x,node){ +var self__ = this; +var _ = this; +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(v,x); +})); + +(cognitect.transit.VectorBuilder.prototype.finalize = (function (v,node){ +var self__ = this; +var _ = this; +return cljs.core.persistent_BANG_(v); +})); + +(cognitect.transit.VectorBuilder.prototype.fromArray = (function (arr,node){ +var self__ = this; +var _ = this; +return (cljs.core.PersistentVector.fromArray.cljs$core$IFn$_invoke$arity$2 ? cljs.core.PersistentVector.fromArray.cljs$core$IFn$_invoke$arity$2(arr,true) : cljs.core.PersistentVector.fromArray.call(null, arr,true)); +})); + +(cognitect.transit.VectorBuilder.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.VectorBuilder.cljs$lang$type = true); + +(cognitect.transit.VectorBuilder.cljs$lang$ctorStr = "cognitect.transit/VectorBuilder"); + +(cognitect.transit.VectorBuilder.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/VectorBuilder"); +})); + +/** + * Positional factory function for cognitect.transit/VectorBuilder. + */ +cognitect.transit.__GT_VectorBuilder = (function cognitect$transit$__GT_VectorBuilder(){ +return (new cognitect.transit.VectorBuilder()); +}); + +/** + * Return a transit reader. type may be either :json or :json-verbose. + * opts may be a map optionally containing a :handlers entry. The value + * of :handlers should be map from string tag to a decoder function of one + * argument which returns the in-memory representation of the semantic transit + * value. If a :default handler is provided, it will be used when no matching + * read handler can be found. + */ +cognitect.transit.reader = (function cognitect$transit$reader(var_args){ +var G__30777 = arguments.length; +switch (G__30777) { +case 1: +return cognitect.transit.reader.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cognitect.transit.reader.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cognitect.transit.reader.cljs$core$IFn$_invoke$arity$1 = (function (type){ +return cognitect.transit.reader.cljs$core$IFn$_invoke$arity$2(type,null); +})); + +(cognitect.transit.reader.cljs$core$IFn$_invoke$arity$2 = (function (type,opts){ +return com.cognitect.transit.reader(cljs.core.name(type),cognitect.transit.opts_merge(({"handlers": cljs.core.clj__GT_js(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 6, ["$",(function (v){ +return cljs.core.symbol.cljs$core$IFn$_invoke$arity$1(v); +}),":",(function (v){ +return cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(v); +}),"set",(function (v){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentHashSet.EMPTY,v); +}),"list",(function (v){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.List.EMPTY,v.reverse()); +}),"cmap",(function (v){ +var i = (0); +var ret = cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY); +while(true){ +if((i < v.length)){ +var G__31124 = (i + (2)); +var G__31125 = cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(ret,(v[i]),(v[(i + (1))])); +i = G__31124; +ret = G__31125; +continue; +} else { +return cljs.core.persistent_BANG_(ret); +} +break; +} +}),"with-meta",(function (v){ +return cljs.core.with_meta((v[(0)]),(v[(1)])); +})], null),cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"handlers","handlers",79528781).cljs$core$IFn$_invoke$arity$1(opts),new cljs.core.Keyword(null,"default","default",-1987822328))], 0))), "defaultHandler": new cljs.core.Keyword(null,"default","default",-1987822328).cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"handlers","handlers",79528781).cljs$core$IFn$_invoke$arity$1(opts)), "mapBuilder": (new cognitect.transit.MapBuilder()), "arrayBuilder": (new cognitect.transit.VectorBuilder()), "preferStrings": false, "preferBuffers": false}),cljs.core.clj__GT_js(clojure.set.rename_keys(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"handlers","handlers",79528781)),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"array-builder","array-builder",1275998041),new cljs.core.Keyword(null,"arrayBuilder","arrayBuilder",1446317421),new cljs.core.Keyword(null,"map-builder","map-builder",-1843343288),new cljs.core.Keyword(null,"mapBuilder","mapBuilder",-278083754),new cljs.core.Keyword(null,"prefer-strings","prefer-strings",1254507185),new cljs.core.Keyword(null,"preferStrings","preferStrings",-1532249482),new cljs.core.Keyword(null,"prefer-buffers","prefer-buffers",377042081),new cljs.core.Keyword(null,"preferBuffers","preferBuffers",1843176451)], null))))); +})); + +(cognitect.transit.reader.cljs$lang$maxFixedArity = 2); + +/** + * Read a transit encoded string into ClojureScript values given a + * transit reader. + */ +cognitect.transit.read = (function cognitect$transit$read(r,str){ +return r.read(str); +}); + +/** +* @constructor +*/ +cognitect.transit.KeywordHandler = (function (){ +}); +(cognitect.transit.KeywordHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return ":"; +})); + +(cognitect.transit.KeywordHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +return v.fqn; +})); + +(cognitect.transit.KeywordHandler.prototype.stringRep = (function (v){ +var self__ = this; +var _ = this; +return v.fqn; +})); + +(cognitect.transit.KeywordHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.KeywordHandler.cljs$lang$type = true); + +(cognitect.transit.KeywordHandler.cljs$lang$ctorStr = "cognitect.transit/KeywordHandler"); + +(cognitect.transit.KeywordHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/KeywordHandler"); +})); + +/** + * Positional factory function for cognitect.transit/KeywordHandler. + */ +cognitect.transit.__GT_KeywordHandler = (function cognitect$transit$__GT_KeywordHandler(){ +return (new cognitect.transit.KeywordHandler()); +}); + + +/** +* @constructor +*/ +cognitect.transit.SymbolHandler = (function (){ +}); +(cognitect.transit.SymbolHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return "$"; +})); + +(cognitect.transit.SymbolHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +return v.str; +})); + +(cognitect.transit.SymbolHandler.prototype.stringRep = (function (v){ +var self__ = this; +var _ = this; +return v.str; +})); + +(cognitect.transit.SymbolHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.SymbolHandler.cljs$lang$type = true); + +(cognitect.transit.SymbolHandler.cljs$lang$ctorStr = "cognitect.transit/SymbolHandler"); + +(cognitect.transit.SymbolHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/SymbolHandler"); +})); + +/** + * Positional factory function for cognitect.transit/SymbolHandler. + */ +cognitect.transit.__GT_SymbolHandler = (function cognitect$transit$__GT_SymbolHandler(){ +return (new cognitect.transit.SymbolHandler()); +}); + + +/** +* @constructor +*/ +cognitect.transit.ListHandler = (function (){ +}); +(cognitect.transit.ListHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return "list"; +})); + +(cognitect.transit.ListHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +var ret = []; +var seq__30795_31142 = cljs.core.seq(v); +var chunk__30796_31143 = null; +var count__30797_31144 = (0); +var i__30798_31145 = (0); +while(true){ +if((i__30798_31145 < count__30797_31144)){ +var x_31146 = chunk__30796_31143.cljs$core$IIndexed$_nth$arity$2(null, i__30798_31145); +ret.push(x_31146); + + +var G__31147 = seq__30795_31142; +var G__31148 = chunk__30796_31143; +var G__31149 = count__30797_31144; +var G__31150 = (i__30798_31145 + (1)); +seq__30795_31142 = G__31147; +chunk__30796_31143 = G__31148; +count__30797_31144 = G__31149; +i__30798_31145 = G__31150; +continue; +} else { +var temp__5823__auto___31152 = cljs.core.seq(seq__30795_31142); +if(temp__5823__auto___31152){ +var seq__30795_31154__$1 = temp__5823__auto___31152; +if(cljs.core.chunked_seq_QMARK_(seq__30795_31154__$1)){ +var c__5568__auto___31158 = cljs.core.chunk_first(seq__30795_31154__$1); +var G__31159 = cljs.core.chunk_rest(seq__30795_31154__$1); +var G__31160 = c__5568__auto___31158; +var G__31161 = cljs.core.count(c__5568__auto___31158); +var G__31162 = (0); +seq__30795_31142 = G__31159; +chunk__30796_31143 = G__31160; +count__30797_31144 = G__31161; +i__30798_31145 = G__31162; +continue; +} else { +var x_31163 = cljs.core.first(seq__30795_31154__$1); +ret.push(x_31163); + + +var G__31165 = cljs.core.next(seq__30795_31154__$1); +var G__31166 = null; +var G__31167 = (0); +var G__31168 = (0); +seq__30795_31142 = G__31165; +chunk__30796_31143 = G__31166; +count__30797_31144 = G__31167; +i__30798_31145 = G__31168; +continue; +} +} else { +} +} +break; +} + +return com.cognitect.transit.tagged("array",ret); +})); + +(cognitect.transit.ListHandler.prototype.stringRep = (function (v){ +var self__ = this; +var _ = this; +return null; +})); + +(cognitect.transit.ListHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.ListHandler.cljs$lang$type = true); + +(cognitect.transit.ListHandler.cljs$lang$ctorStr = "cognitect.transit/ListHandler"); + +(cognitect.transit.ListHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/ListHandler"); +})); + +/** + * Positional factory function for cognitect.transit/ListHandler. + */ +cognitect.transit.__GT_ListHandler = (function cognitect$transit$__GT_ListHandler(){ +return (new cognitect.transit.ListHandler()); +}); + + +/** +* @constructor +*/ +cognitect.transit.MapHandler = (function (){ +}); +(cognitect.transit.MapHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return "map"; +})); + +(cognitect.transit.MapHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +return v; +})); + +(cognitect.transit.MapHandler.prototype.stringRep = (function (v){ +var self__ = this; +var _ = this; +return null; +})); + +(cognitect.transit.MapHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.MapHandler.cljs$lang$type = true); + +(cognitect.transit.MapHandler.cljs$lang$ctorStr = "cognitect.transit/MapHandler"); + +(cognitect.transit.MapHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/MapHandler"); +})); + +/** + * Positional factory function for cognitect.transit/MapHandler. + */ +cognitect.transit.__GT_MapHandler = (function cognitect$transit$__GT_MapHandler(){ +return (new cognitect.transit.MapHandler()); +}); + + +/** +* @constructor +*/ +cognitect.transit.SetHandler = (function (){ +}); +(cognitect.transit.SetHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return "set"; +})); + +(cognitect.transit.SetHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +var ret = []; +var seq__30818_31173 = cljs.core.seq(v); +var chunk__30819_31174 = null; +var count__30820_31175 = (0); +var i__30821_31176 = (0); +while(true){ +if((i__30821_31176 < count__30820_31175)){ +var x_31177 = chunk__30819_31174.cljs$core$IIndexed$_nth$arity$2(null, i__30821_31176); +ret.push(x_31177); + + +var G__31179 = seq__30818_31173; +var G__31180 = chunk__30819_31174; +var G__31181 = count__30820_31175; +var G__31182 = (i__30821_31176 + (1)); +seq__30818_31173 = G__31179; +chunk__30819_31174 = G__31180; +count__30820_31175 = G__31181; +i__30821_31176 = G__31182; +continue; +} else { +var temp__5823__auto___31183 = cljs.core.seq(seq__30818_31173); +if(temp__5823__auto___31183){ +var seq__30818_31186__$1 = temp__5823__auto___31183; +if(cljs.core.chunked_seq_QMARK_(seq__30818_31186__$1)){ +var c__5568__auto___31189 = cljs.core.chunk_first(seq__30818_31186__$1); +var G__31190 = cljs.core.chunk_rest(seq__30818_31186__$1); +var G__31191 = c__5568__auto___31189; +var G__31192 = cljs.core.count(c__5568__auto___31189); +var G__31193 = (0); +seq__30818_31173 = G__31190; +chunk__30819_31174 = G__31191; +count__30820_31175 = G__31192; +i__30821_31176 = G__31193; +continue; +} else { +var x_31195 = cljs.core.first(seq__30818_31186__$1); +ret.push(x_31195); + + +var G__31196 = cljs.core.next(seq__30818_31186__$1); +var G__31197 = null; +var G__31198 = (0); +var G__31199 = (0); +seq__30818_31173 = G__31196; +chunk__30819_31174 = G__31197; +count__30820_31175 = G__31198; +i__30821_31176 = G__31199; +continue; +} +} else { +} +} +break; +} + +return com.cognitect.transit.tagged("array",ret); +})); + +(cognitect.transit.SetHandler.prototype.stringRep = (function (){ +var self__ = this; +var v = this; +return null; +})); + +(cognitect.transit.SetHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.SetHandler.cljs$lang$type = true); + +(cognitect.transit.SetHandler.cljs$lang$ctorStr = "cognitect.transit/SetHandler"); + +(cognitect.transit.SetHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/SetHandler"); +})); + +/** + * Positional factory function for cognitect.transit/SetHandler. + */ +cognitect.transit.__GT_SetHandler = (function cognitect$transit$__GT_SetHandler(){ +return (new cognitect.transit.SetHandler()); +}); + + +/** +* @constructor +*/ +cognitect.transit.VectorHandler = (function (){ +}); +(cognitect.transit.VectorHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return "array"; +})); + +(cognitect.transit.VectorHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +var ret = []; +var seq__30847_31205 = cljs.core.seq(v); +var chunk__30848_31206 = null; +var count__30849_31207 = (0); +var i__30850_31208 = (0); +while(true){ +if((i__30850_31208 < count__30849_31207)){ +var x_31209 = chunk__30848_31206.cljs$core$IIndexed$_nth$arity$2(null, i__30850_31208); +ret.push(x_31209); + + +var G__31210 = seq__30847_31205; +var G__31211 = chunk__30848_31206; +var G__31212 = count__30849_31207; +var G__31213 = (i__30850_31208 + (1)); +seq__30847_31205 = G__31210; +chunk__30848_31206 = G__31211; +count__30849_31207 = G__31212; +i__30850_31208 = G__31213; +continue; +} else { +var temp__5823__auto___31215 = cljs.core.seq(seq__30847_31205); +if(temp__5823__auto___31215){ +var seq__30847_31216__$1 = temp__5823__auto___31215; +if(cljs.core.chunked_seq_QMARK_(seq__30847_31216__$1)){ +var c__5568__auto___31219 = cljs.core.chunk_first(seq__30847_31216__$1); +var G__31222 = cljs.core.chunk_rest(seq__30847_31216__$1); +var G__31223 = c__5568__auto___31219; +var G__31224 = cljs.core.count(c__5568__auto___31219); +var G__31225 = (0); +seq__30847_31205 = G__31222; +chunk__30848_31206 = G__31223; +count__30849_31207 = G__31224; +i__30850_31208 = G__31225; +continue; +} else { +var x_31226 = cljs.core.first(seq__30847_31216__$1); +ret.push(x_31226); + + +var G__31227 = cljs.core.next(seq__30847_31216__$1); +var G__31228 = null; +var G__31229 = (0); +var G__31230 = (0); +seq__30847_31205 = G__31227; +chunk__30848_31206 = G__31228; +count__30849_31207 = G__31229; +i__30850_31208 = G__31230; +continue; +} +} else { +} +} +break; +} + +return ret; +})); + +(cognitect.transit.VectorHandler.prototype.stringRep = (function (v){ +var self__ = this; +var _ = this; +return null; +})); + +(cognitect.transit.VectorHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.VectorHandler.cljs$lang$type = true); + +(cognitect.transit.VectorHandler.cljs$lang$ctorStr = "cognitect.transit/VectorHandler"); + +(cognitect.transit.VectorHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/VectorHandler"); +})); + +/** + * Positional factory function for cognitect.transit/VectorHandler. + */ +cognitect.transit.__GT_VectorHandler = (function cognitect$transit$__GT_VectorHandler(){ +return (new cognitect.transit.VectorHandler()); +}); + + +/** +* @constructor +*/ +cognitect.transit.UUIDHandler = (function (){ +}); +(cognitect.transit.UUIDHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return "u"; +})); + +(cognitect.transit.UUIDHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +return v.uuid; +})); + +(cognitect.transit.UUIDHandler.prototype.stringRep = (function (v){ +var self__ = this; +var this$ = this; +return this$.rep(v); +})); + +(cognitect.transit.UUIDHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.UUIDHandler.cljs$lang$type = true); + +(cognitect.transit.UUIDHandler.cljs$lang$ctorStr = "cognitect.transit/UUIDHandler"); + +(cognitect.transit.UUIDHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/UUIDHandler"); +})); + +/** + * Positional factory function for cognitect.transit/UUIDHandler. + */ +cognitect.transit.__GT_UUIDHandler = (function cognitect$transit$__GT_UUIDHandler(){ +return (new cognitect.transit.UUIDHandler()); +}); + + +/** +* @constructor +*/ +cognitect.transit.WithMeta = (function (value,meta){ +this.value = value; +this.meta = meta; +}); + +(cognitect.transit.WithMeta.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"value","value",1946509744,null),new cljs.core.Symbol(null,"meta","meta",-1154898805,null)], null); +})); + +(cognitect.transit.WithMeta.cljs$lang$type = true); + +(cognitect.transit.WithMeta.cljs$lang$ctorStr = "cognitect.transit/WithMeta"); + +(cognitect.transit.WithMeta.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/WithMeta"); +})); + +/** + * Positional factory function for cognitect.transit/WithMeta. + */ +cognitect.transit.__GT_WithMeta = (function cognitect$transit$__GT_WithMeta(value,meta){ +return (new cognitect.transit.WithMeta(value,meta)); +}); + + +/** +* @constructor +*/ +cognitect.transit.WithMetaHandler = (function (){ +}); +(cognitect.transit.WithMetaHandler.prototype.tag = (function (v){ +var self__ = this; +var _ = this; +return "with-meta"; +})); + +(cognitect.transit.WithMetaHandler.prototype.rep = (function (v){ +var self__ = this; +var _ = this; +return com.cognitect.transit.tagged("array",[v.value,v.meta]); +})); + +(cognitect.transit.WithMetaHandler.prototype.stringRep = (function (v){ +var self__ = this; +var _ = this; +return null; +})); + +(cognitect.transit.WithMetaHandler.getBasis = (function (){ +return cljs.core.PersistentVector.EMPTY; +})); + +(cognitect.transit.WithMetaHandler.cljs$lang$type = true); + +(cognitect.transit.WithMetaHandler.cljs$lang$ctorStr = "cognitect.transit/WithMetaHandler"); + +(cognitect.transit.WithMetaHandler.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/WithMetaHandler"); +})); + +/** + * Positional factory function for cognitect.transit/WithMetaHandler. + */ +cognitect.transit.__GT_WithMetaHandler = (function cognitect$transit$__GT_WithMetaHandler(){ +return (new cognitect.transit.WithMetaHandler()); +}); + +/** + * Return a transit writer. type maybe either :json or :json-verbose. + * opts is a map with the following optional keys: + * + * :handlers - a map of type constructors to handler instances. Can optionally + * provide a :default write handler which will be used if no + * matching handler can be found. + * :transform - a function of one argument returning a transformed value. Will + * be invoked on a value before it is written. + */ +cognitect.transit.writer = (function cognitect$transit$writer(var_args){ +var G__30888 = arguments.length; +switch (G__30888) { +case 1: +return cognitect.transit.writer.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return cognitect.transit.writer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cognitect.transit.writer.cljs$core$IFn$_invoke$arity$1 = (function (type){ +return cognitect.transit.writer.cljs$core$IFn$_invoke$arity$2(type,null); +})); + +(cognitect.transit.writer.cljs$core$IFn$_invoke$arity$2 = (function (type,opts){ +var keyword_handler = (new cognitect.transit.KeywordHandler()); +var symbol_handler = (new cognitect.transit.SymbolHandler()); +var list_handler = (new cognitect.transit.ListHandler()); +var map_handler = (new cognitect.transit.MapHandler()); +var set_handler = (new cognitect.transit.SetHandler()); +var vector_handler = (new cognitect.transit.VectorHandler()); +var uuid_handler = (new cognitect.transit.UUIDHandler()); +var meta_handler = (new cognitect.transit.WithMetaHandler()); +var handlers = cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.PersistentHashMap.fromArrays([cljs.core.PersistentHashMap,cljs.core.Cons,cljs.core.PersistentArrayMap,cljs.core.NodeSeq,cljs.core.PersistentQueue,cljs.core.IndexedSeq,cljs.core.Keyword,cljs.core.BlackNode,cljs.core.EmptyList,cljs.core.LazySeq,cljs.core.Subvec,cljs.core.PersistentQueueSeq,cljs.core.ArrayNodeSeq,cljs.core.ValSeq,cognitect.transit.WithMeta,cljs.core.PersistentArrayMapSeq,cljs.core.PersistentVector,cljs.core.List,cljs.core.RSeq,cljs.core.PersistentHashSet,cljs.core.PersistentTreeMap,cljs.core.KeySeq,cljs.core.ChunkedSeq,cljs.core.PersistentTreeSet,cljs.core.ChunkedCons,cljs.core.Symbol,cljs.core.UUID,cljs.core.Range,cljs.core.PersistentTreeMapSeq,cljs.core.RedNode],[map_handler,list_handler,map_handler,list_handler,list_handler,list_handler,keyword_handler,vector_handler,list_handler,list_handler,vector_handler,list_handler,list_handler,list_handler,meta_handler,list_handler,vector_handler,list_handler,list_handler,set_handler,map_handler,list_handler,list_handler,set_handler,list_handler,symbol_handler,uuid_handler,list_handler,list_handler,vector_handler]),(((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.Eduction !== 'undefined'))?cljs.core.PersistentArrayMap.createAsIfByAssoc([cljs.core.Eduction,list_handler]):null),(((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.Repeat !== 'undefined'))?cljs.core.PersistentArrayMap.createAsIfByAssoc([cljs.core.Repeat,list_handler]):null),(((typeof cljs !== 'undefined') && (typeof cljs.core !== 'undefined') && (typeof cljs.core.MapEntry !== 'undefined'))?cljs.core.PersistentArrayMap.createAsIfByAssoc([cljs.core.MapEntry,vector_handler]):null),new cljs.core.Keyword(null,"handlers","handlers",79528781).cljs$core$IFn$_invoke$arity$1(opts)], 0)); +return com.cognitect.transit.writer(cljs.core.name(type),cognitect.transit.opts_merge(({"objectBuilder": (function (m,kfn,vfn){ +return cljs.core.reduce_kv((function (obj,k,v){ +var G__30899 = obj; +G__30899.push((kfn.cljs$core$IFn$_invoke$arity$1 ? kfn.cljs$core$IFn$_invoke$arity$1(k) : kfn.call(null, k)),(vfn.cljs$core$IFn$_invoke$arity$1 ? vfn.cljs$core$IFn$_invoke$arity$1(v) : vfn.call(null, v))); + +return G__30899; +}),["^ "],m); +}), "handlers": (function (){var x30901 = cljs.core.clone(handlers); +(x30901.forEach = (function (f){ +var coll = this; +var seq__30903 = cljs.core.seq(coll); +var chunk__30904 = null; +var count__30905 = (0); +var i__30906 = (0); +while(true){ +if((i__30906 < count__30905)){ +var vec__30948 = chunk__30904.cljs$core$IIndexed$_nth$arity$2(null, i__30906); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30948,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30948,(1),null); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"default","default",-1987822328),k)){ +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,"default") : f.call(null, v,"default")); +} else { +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); +} + + +var G__31254 = seq__30903; +var G__31255 = chunk__30904; +var G__31256 = count__30905; +var G__31257 = (i__30906 + (1)); +seq__30903 = G__31254; +chunk__30904 = G__31255; +count__30905 = G__31256; +i__30906 = G__31257; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__30903); +if(temp__5823__auto__){ +var seq__30903__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__30903__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__30903__$1); +var G__31258 = cljs.core.chunk_rest(seq__30903__$1); +var G__31259 = c__5568__auto__; +var G__31260 = cljs.core.count(c__5568__auto__); +var G__31261 = (0); +seq__30903 = G__31258; +chunk__30904 = G__31259; +count__30905 = G__31260; +i__30906 = G__31261; +continue; +} else { +var vec__30960 = cljs.core.first(seq__30903__$1); +var k = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30960,(0),null); +var v = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30960,(1),null); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"default","default",-1987822328),k)){ +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,"default") : f.call(null, v,"default")); +} else { +(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k)); +} + + +var G__31262 = cljs.core.next(seq__30903__$1); +var G__31263 = null; +var G__31264 = (0); +var G__31265 = (0); +seq__30903 = G__31262; +chunk__30904 = G__31263; +count__30905 = G__31264; +i__30906 = G__31265; +continue; +} +} else { +return null; +} +} +break; +} +})); + +return x30901; +})(), "unpack": (function (x){ +if((x instanceof cljs.core.PersistentArrayMap)){ +return x.arr; +} else { +return false; +} +})}),cljs.core.clj__GT_js(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(opts,new cljs.core.Keyword(null,"handlers","handlers",79528781))))); +})); + +(cognitect.transit.writer.cljs$lang$maxFixedArity = 2); + +/** + * Encode an object into a transit string given a transit writer. + */ +cognitect.transit.write = (function cognitect$transit$write(w,o){ +return w.write(o); +}); +/** + * Construct a read handler. Implemented as identity, exists primarily + * for API compatiblity with transit-clj + */ +cognitect.transit.read_handler = (function cognitect$transit$read_handler(from_rep){ +return from_rep; +}); +cognitect.transit.fn_or_val = (function cognitect$transit$fn_or_val(f){ +if(cljs.core.fn_QMARK_(f)){ +return f; +} else { +return cljs.core.constantly(f); +} +}); + +/** +* @constructor + * @implements {cljs.core.IMeta} + * @implements {cljs.core.IWithMeta} +*/ +cognitect.transit.t_cognitect$transit31005 = (function (tag_fn,rep_fn,str_rep_fn,verbose_handler_fn,meta31006){ +this.tag_fn = tag_fn; +this.rep_fn = rep_fn; +this.str_rep_fn = str_rep_fn; +this.verbose_handler_fn = verbose_handler_fn; +this.meta31006 = meta31006; +this.cljs$lang$protocol_mask$partition0$ = 393216; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(cognitect.transit.t_cognitect$transit31005.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (_31007,meta31006__$1){ +var self__ = this; +var _31007__$1 = this; +return (new cognitect.transit.t_cognitect$transit31005(self__.tag_fn,self__.rep_fn,self__.str_rep_fn,self__.verbose_handler_fn,meta31006__$1)); +})); + +(cognitect.transit.t_cognitect$transit31005.prototype.cljs$core$IMeta$_meta$arity$1 = (function (_31007){ +var self__ = this; +var _31007__$1 = this; +return self__.meta31006; +})); + +(cognitect.transit.t_cognitect$transit31005.prototype.tag = (function (o){ +var self__ = this; +var _ = this; +return (self__.tag_fn.cljs$core$IFn$_invoke$arity$1 ? self__.tag_fn.cljs$core$IFn$_invoke$arity$1(o) : self__.tag_fn.call(null, o)); +})); + +(cognitect.transit.t_cognitect$transit31005.prototype.rep = (function (o){ +var self__ = this; +var _ = this; +return (self__.rep_fn.cljs$core$IFn$_invoke$arity$1 ? self__.rep_fn.cljs$core$IFn$_invoke$arity$1(o) : self__.rep_fn.call(null, o)); +})); + +(cognitect.transit.t_cognitect$transit31005.prototype.stringRep = (function (o){ +var self__ = this; +var _ = this; +if(cljs.core.truth_(self__.str_rep_fn)){ +return (self__.str_rep_fn.cljs$core$IFn$_invoke$arity$1 ? self__.str_rep_fn.cljs$core$IFn$_invoke$arity$1(o) : self__.str_rep_fn.call(null, o)); +} else { +return null; +} +})); + +(cognitect.transit.t_cognitect$transit31005.prototype.getVerboseHandler = (function (){ +var self__ = this; +var _ = this; +if(cljs.core.truth_(self__.verbose_handler_fn)){ +return (self__.verbose_handler_fn.cljs$core$IFn$_invoke$arity$0 ? self__.verbose_handler_fn.cljs$core$IFn$_invoke$arity$0() : self__.verbose_handler_fn.call(null, )); +} else { +return null; +} +})); + +(cognitect.transit.t_cognitect$transit31005.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"tag-fn","tag-fn",242055482,null),new cljs.core.Symbol(null,"rep-fn","rep-fn",-1724891035,null),new cljs.core.Symbol(null,"str-rep-fn","str-rep-fn",-1179615016,null),new cljs.core.Symbol(null,"verbose-handler-fn","verbose-handler-fn",547340594,null),new cljs.core.Symbol(null,"meta31006","meta31006",-1888612374,null)], null); +})); + +(cognitect.transit.t_cognitect$transit31005.cljs$lang$type = true); + +(cognitect.transit.t_cognitect$transit31005.cljs$lang$ctorStr = "cognitect.transit/t_cognitect$transit31005"); + +(cognitect.transit.t_cognitect$transit31005.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"cognitect.transit/t_cognitect$transit31005"); +})); + +/** + * Positional factory function for cognitect.transit/t_cognitect$transit31005. + */ +cognitect.transit.__GT_t_cognitect$transit31005 = (function cognitect$transit$__GT_t_cognitect$transit31005(tag_fn,rep_fn,str_rep_fn,verbose_handler_fn,meta31006){ +return (new cognitect.transit.t_cognitect$transit31005(tag_fn,rep_fn,str_rep_fn,verbose_handler_fn,meta31006)); +}); + + +/** + * Creates a transit write handler whose tag, rep, + * stringRep, and verboseWriteHandler methods + * invoke the provided fns. + */ +cognitect.transit.write_handler = (function cognitect$transit$write_handler(var_args){ +var G__30983 = arguments.length; +switch (G__30983) { +case 2: +return cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$2 = (function (tag_fn,rep_fn){ +return cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$4(tag_fn,rep_fn,null,null); +})); + +(cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$3 = (function (tag_fn,rep_fn,str_rep_fn){ +return cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$4(tag_fn,rep_fn,str_rep_fn,null); +})); + +(cognitect.transit.write_handler.cljs$core$IFn$_invoke$arity$4 = (function (tag_fn,rep_fn,str_rep_fn,verbose_handler_fn){ +var tag_fn__$1 = cognitect.transit.fn_or_val(tag_fn); +var rep_fn__$1 = cognitect.transit.fn_or_val(rep_fn); +var str_rep_fn__$1 = cognitect.transit.fn_or_val(str_rep_fn); +var verbose_handler_fn__$1 = cognitect.transit.fn_or_val(verbose_handler_fn); +return (new cognitect.transit.t_cognitect$transit31005(tag_fn__$1,rep_fn__$1,str_rep_fn__$1,verbose_handler_fn__$1,cljs.core.PersistentArrayMap.EMPTY)); +})); + +(cognitect.transit.write_handler.cljs$lang$maxFixedArity = 4); + +/** + * Construct a tagged value. tag must be a string and rep can + * be any transit encodeable value. + */ +cognitect.transit.tagged_value = (function cognitect$transit$tagged_value(tag,rep){ +return com.cognitect.transit.types.taggedValue(tag,rep); +}); +/** + * Returns true if x is a transit tagged value, false otherwise. + */ +cognitect.transit.tagged_value_QMARK_ = (function cognitect$transit$tagged_value_QMARK_(x){ +return com.cognitect.transit.types.isTaggedValue(x); +}); +/** + * Construct a transit integer value. Returns JavaScript number if + * in the 53bit integer range, a goog.math.Long instance if above. s + * may be a string or a JavaScript number. + */ +cognitect.transit.integer = (function cognitect$transit$integer(s){ +return com.cognitect.transit.types.intValue(s); +}); +/** + * Returns true if x is an integer value between the 53bit and 64bit + * range, false otherwise. + */ +cognitect.transit.integer_QMARK_ = (function cognitect$transit$integer_QMARK_(x){ +return com.cognitect.transit.types.isInteger(x); +}); +/** + * Construct a big integer from a string. + */ +cognitect.transit.bigint = (function cognitect$transit$bigint(s){ +return com.cognitect.transit.types.bigInteger(s); +}); +/** + * Returns true if x is a transit big integer value, false otherwise. + */ +cognitect.transit.bigint_QMARK_ = (function cognitect$transit$bigint_QMARK_(x){ +return com.cognitect.transit.types.isBigInteger(x); +}); +/** + * Construct a big decimal from a string. + */ +cognitect.transit.bigdec = (function cognitect$transit$bigdec(s){ +return com.cognitect.transit.types.bigDecimalValue(s); +}); +/** + * Returns true if x is a transit big decimal value, false otherwise. + */ +cognitect.transit.bigdec_QMARK_ = (function cognitect$transit$bigdec_QMARK_(x){ +return com.cognitect.transit.types.isBigDecimal(x); +}); +/** + * Construct a URI from a string. + */ +cognitect.transit.uri = (function cognitect$transit$uri(s){ +return com.cognitect.transit.types.uri(s); +}); +/** + * Returns true if x is a transit URI value, false otherwise. + */ +cognitect.transit.uri_QMARK_ = (function cognitect$transit$uri_QMARK_(x){ +return com.cognitect.transit.types.isURI(x); +}); +/** + * Construct a UUID from a string. + */ +cognitect.transit.uuid = (function cognitect$transit$uuid(s){ +return com.cognitect.transit.types.uuid(s); +}); +/** + * Returns true if x is a transit UUID value, false otherwise. + */ +cognitect.transit.uuid_QMARK_ = (function cognitect$transit$uuid_QMARK_(x){ +var or__5045__auto__ = com.cognitect.transit.types.isUUID(x); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return (x instanceof cljs.core.UUID); +} +}); +/** + * Construct a transit binary value. s should be base64 encoded + * string. + */ +cognitect.transit.binary = (function cognitect$transit$binary(s){ +return com.cognitect.transit.types.binary(s); +}); +/** + * Returns true if x is a transit binary value, false otherwise. + */ +cognitect.transit.binary_QMARK_ = (function cognitect$transit$binary_QMARK_(x){ +return com.cognitect.transit.types.isBinary(x); +}); +/** + * Construct a quoted transit value. x should be a transit + * encodeable value. + */ +cognitect.transit.quoted = (function cognitect$transit$quoted(x){ +return com.cognitect.transit.types.quoted(x); +}); +/** + * Returns true if x is a transit quoted value, false otherwise. + */ +cognitect.transit.quoted_QMARK_ = (function cognitect$transit$quoted_QMARK_(x){ +return com.cognitect.transit.types.isQuoted(x); +}); +/** + * Construct a transit link value. x should be an IMap instance + * containing at a minimum the following keys: :href, :rel. It + * may optionall include :name, :render, and :prompt. :href must + * be a transit URI, all other values are strings, and :render must + * be either :image or :link. + */ +cognitect.transit.link = (function cognitect$transit$link(x){ +return com.cognitect.transit.types.link(x); +}); +/** + * Returns true if x a transit link value, false if otherwise. + */ +cognitect.transit.link_QMARK_ = (function cognitect$transit$link_QMARK_(x){ +return com.cognitect.transit.types.isLink(x); +}); +/** + * For :transform. Will write any metadata present on the value. + */ +cognitect.transit.write_meta = (function cognitect$transit$write_meta(x){ +if((((!((x == null))))?(((((x.cljs$lang$protocol_mask$partition0$ & (131072))) || ((cljs.core.PROTOCOL_SENTINEL === x.cljs$core$IMeta$))))?true:false):false)){ +var m = x.cljs$core$IMeta$_meta$arity$1(null, ); +if((!((m == null)))){ +return (new cognitect.transit.WithMeta(x.cljs$core$IWithMeta$_with_meta$arity$2(null, null),m)); +} else { +return x; +} +} else { +return x; +} +}); + +//# sourceMappingURL=cognitect.transit.js.map diff --git a/out/cljs-runtime/cognitect.transit.js.map b/out/cljs-runtime/cognitect.transit.js.map new file mode 100644 index 0000000..473ea66 --- /dev/null +++ b/out/cljs-runtime/cognitect.transit.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["cognitect/transit.cljs"],"mappings":";;;;;AAyBA,AAAA,CAAA,AAAA,6CAAAA,7CAAaC;;AAAb,CAAA,AAAA,AAAaA,2DAEX,WAASC,MAAKC;AAAd,AAAA,gBAAA,ZAASD;AAAT,AACE,GACE,kBAAWD,jBAAKE;AAChB,QAAY,AAAQD,mBAAM,AAAQC;;AAFpC,GAIE,kBAAWC,jBAAQD;AACnB,QAAY,AAAQD,mBAAM,AAAWC;;AALvC,AAAA;;;;;AASJ,AAAA,AAAA,CAAA,AAAA,kDAAAH,lDACEC;;AADF,CAAA,AAAA,AACEA,kEACA,WAAWC,MAAKC;AAAhB,AAAA,gBAAA,ZAAWD;AAAX,AACE,GAAI,EAAI,kBAAWD,jBAAKE,sCAChB,kBAAWC,jBAAQD;AACzB,OAACE,kBAAQ,AAAWH,qBAAM,AAAWC;;AACrC,MAAO,KAAAG,MAAW,CAAA,yEAAA,XAAuBJ,8DAAYC;;;;AAN3D,AAAA,CAAA,AAAA,oEAAAH,pEAOEI;;AAPF,CAAA,AAAA,AAOEA,oFACA,WAAWF,MAAKC;AAAhB,AAAA,gBAAA,ZAAWD;AAAX,AACE,GAAI,EAAI,kBAAWD,jBAAKE,sCAChB,kBAAWC,jBAAQD;AACzB,OAACE,kBAAQ,AAAWH,qBAAM,AAAWC;;AACrC,MAAO,KAAAG,MAAW,CAAA,yEAAA,XAA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GE,OAAC+J,kCAAS/J;;AAEZ;;;yBAAA,zBAAMgK,0DAEHhB;AAFH,AAGE,OAACiB,iCAAQjB;;AAEX;;;gCAAA,hCAAMkB,wEAEHlK;AAFH,AAGE,IAAAmK,mBAAI,AAACC,mCAAUpK;AAAf,AAAA,oBAAAmK;AAAAA;;AAAkB,qBAAWpN,bAAKiD;;;AAEpC;;;;2BAAA,3BAAMqK,8DAGHrB;AAHH,AAIE,OAACsB,mCAAUtB;;AAEb;;;kCAAA,lCAAMuB,4EAEHvK;AAFH,AAGE,OAACwK,qCAAYxK;;AAEf;;;;2BAAA,3BAAMyK,8DAGHzK;AAHH,AAIE,OAAC0K,mCAAU1K;;AAEb;;;kCAAA,lCAAM2K,4EAEH3K;AAFH,AAGE,OAAC4K,qCAAY5K;;AAEf;;;;;;;yBAAA,zBAAM6K,0DAMH7K;AANH,AAOE,OAAC8K,iCAAQ9K;;AAEX;;;gCAAA,hCAAM+K,wEAEH/K;AAFH,AAGE,OAACgL,mCAAUhL;;AAEb;;;+BAAA,/BAAMiL,sEAEHjL;AAFH,AAGE,GAAI,EAAA,GAAA,MAAA,SAAA,EAAA,EAAA,CAAA,wCAAA,eAAA,CAAAlD,gCAAA,uBAAA,KAAA,OAAA,9IAAmBkD,mBAAAA,wFAAAA;AACrB,IAAMP,IAAE,AAAmBO;AAA3B,AACE,GAAA,GAAQ,MAAA,LAAMP;AACZ,YAAA0D,2BAAW,+CAAA,/CAAwBnD,qDAAOP;;AAC1CO;;;AACJA","names":["cljs.core/PROTOCOL_SENTINEL","cljs.core/UUID","this","other","com.cognitect.transit.types/UUID","cljs.core/compare","js/Error","cognitect.transit.goog$module$goog$math$Long","com.cognitect.transit.types/TaggedValue","com.cognitect.transit.eq/hashCode","cljs.core/hash","uuid","writer","_","cljs.core/-write","cognitect.transit/opts-merge","a","b","seq__30733","cljs.core/seq","chunk__30734","count__30735","i__30736","temp__5823__auto__","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","cljs.core/count","cljs.core/first","cljs.core/next","k","cljs.core/js-keys","v","cognitect.transit.goog$module$goog$object.get","cognitect.transit.goog$module$goog$object.set","this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cognitect.transit/MapBuilder","cognitect.transit/->MapBuilder","node","cljs.core/transient","m","cljs.core.assoc_BANG_","cljs.core/persistent!","arr","cljs.core/PersistentArrayMap","cognitect.transit/VectorBuilder","cognitect.transit/->VectorBuilder","x","cljs.core.conj_BANG_","cljs.core/PersistentVector","var_args","G__30777","cognitect.transit/reader","type","cognitect.transit.reader","opts","com.cognitect.transit/reader","cljs.core/name","cljs.core/clj->js","cljs.core.merge","cljs.core.symbol","cljs.core.keyword","cljs.core.into","i","ret","cljs.core/with-meta","cljs.core.dissoc","clojure.set/rename-keys","cognitect.transit/read","r","str","cognitect.transit/KeywordHandler","cognitect.transit/->KeywordHandler","cognitect.transit/SymbolHandler","cognitect.transit/->SymbolHandler","cognitect.transit/ListHandler","cognitect.transit/->ListHandler","seq__30795","chunk__30796","count__30797","i__30798","com.cognitect.transit/tagged","cognitect.transit/MapHandler","cognitect.transit/->MapHandler","cognitect.transit/SetHandler","cognitect.transit/->SetHandler","seq__30818","chunk__30819","count__30820","i__30821","cognitect.transit/VectorHandler","cognitect.transit/->VectorHandler","seq__30847","chunk__30848","count__30849","i__30850","cognitect.transit/UUIDHandler","cognitect.transit/->UUIDHandler","cognitect.transit/WithMeta","cognitect.transit/->WithMeta","value","meta","cognitect.transit/WithMetaHandler","cognitect.transit/->WithMetaHandler","G__30888","cognitect.transit/writer","cognitect.transit.writer","keyword-handler","symbol-handler","list-handler","map-handler","set-handler","vector-handler","uuid-handler","meta-handler","handlers","cljs.core/Keyword","cljs.core/Symbol","cljs.core/Range","cljs.core/List","cljs.core/Cons","cljs.core/EmptyList","cljs.core/LazySeq","cljs.core/RSeq","cljs.core/IndexedSeq","cljs.core/ChunkedCons","cljs.core/ChunkedSeq","cljs.core/PersistentQueueSeq","cljs.core/PersistentQueue","cljs.core/PersistentArrayMapSeq","cljs.core/PersistentTreeMapSeq","cljs.core/NodeSeq","cljs.core/ArrayNodeSeq","cljs.core/KeySeq","cljs.core/ValSeq","cljs.core/PersistentHashMap","cljs.core/PersistentTreeMap","cljs.core/PersistentHashSet","cljs.core/PersistentTreeSet","cljs.core/Subvec","cljs.core/BlackNode","cljs.core/RedNode","js/cljs","js/cljs.core","js/cljs.core.Eduction","cljs.core/Eduction","js/cljs.core.Repeat","cljs.core/Repeat","js/cljs.core.MapEntry","cljs.core/MapEntry","com.cognitect.transit/writer","kfn","vfn","cljs.core/reduce-kv","obj","G__30899","x30901","cljs.core/clone","coll","f","seq__30903","chunk__30904","count__30905","i__30906","vec__30948","cljs.core.nth","vec__30960","cljs.core._EQ_","cognitect.transit/write","w","o","cognitect.transit/read-handler","from-rep","cognitect.transit/fn-or-val","cljs.core/fn?","cljs.core/constantly","G__30983","cognitect.transit/write-handler","tag-fn","rep-fn","cognitect.transit.write_handler","str-rep-fn","verbose-handler-fn","cognitect.transit/t_cognitect$transit31005","cognitect.transit/tagged-value","tag","rep","com.cognitect.transit.types/taggedValue","cognitect.transit/tagged-value?","com.cognitect.transit.types/isTaggedValue","cognitect.transit/integer","s","com.cognitect.transit.types/intValue","cognitect.transit/integer?","com.cognitect.transit.types/isInteger","cognitect.transit/bigint","com.cognitect.transit.types/bigInteger","cognitect.transit/bigint?","com.cognitect.transit.types/isBigInteger","cognitect.transit/bigdec","com.cognitect.transit.types/bigDecimalValue","cognitect.transit/bigdec?","com.cognitect.transit.types/isBigDecimal","cognitect.transit/uri","com.cognitect.transit.types/uri","cognitect.transit/uri?","com.cognitect.transit.types/isURI","cognitect.transit/uuid","com.cognitect.transit.types/uuid","cognitect.transit/uuid?","or__5045__auto__","com.cognitect.transit.types/isUUID","cognitect.transit/binary","com.cognitect.transit.types/binary","cognitect.transit/binary?","com.cognitect.transit.types/isBinary","cognitect.transit/quoted","com.cognitect.transit.types/quoted","cognitect.transit/quoted?","com.cognitect.transit.types/isQuoted","cognitect.transit/link","com.cognitect.transit.types/link","cognitect.transit/link?","com.cognitect.transit.types/isLink","cognitect.transit/write-meta"],"sourcesContent":[";; Copyright 2014-2022 Cognitect. All Rights Reserved.\n;;\n;; Licensed under the Apache License, Version 2.0 (the \"License\");\n;; you may not use this file except in compliance with the License.\n;; You may obtain a copy of the License at\n;;\n;; http://www.apache.org/licenses/LICENSE-2.0\n;;\n;; Unless required by applicable law or agreed to in writing, software\n;; distributed under the License is distributed on an \"AS-IS\" BASIS,\n;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n;; See the License for the specific language governing permissions and\n;; limitations under the License.\n\n(ns cognitect.transit\n (:refer-clojure :exclude [integer? uuid uuid? uri?])\n (:require [clojure.set :as set]\n [com.cognitect.transit :as t]\n [com.cognitect.transit.types :as ty]\n [com.cognitect.transit.eq :as eq]\n [goog.object :as gobj])\n (:import [goog.math Long]))\n\n;; patch cljs.core/UUID IEquiv\n\n(extend-type UUID\n IEquiv\n (-equiv [this other]\n (cond\n (instance? UUID other)\n (identical? (.-uuid this) (.-uuid other))\n\n (instance? ty/UUID other)\n (identical? (.-uuid this) (.toString other))\n\n :else false)))\n\n(extend-protocol IComparable\n UUID\n (-compare [this other]\n (if (or (instance? UUID other)\n (instance? ty/UUID other))\n (compare (.toString this) (.toString other))\n (throw (js/Error. (str \"Cannot compare \" this \" to \" other)))))\n ty/UUID\n (-compare [this other]\n (if (or (instance? UUID other)\n (instance? ty/UUID other))\n (compare (.toString this) (.toString other))\n (throw (js/Error. (str \"Cannot compare \" this \" to \" other))))))\n\n(extend-protocol IEquiv\n Long\n (-equiv [this other]\n (.equiv this other))\n\n ty/UUID\n (-equiv [this other]\n (if (instance? UUID other)\n (-equiv other this)\n (.equiv this other)))\n\n ty/TaggedValue\n (-equiv [this other]\n (.equiv this other)))\n\n(extend-protocol IHash\n Long\n (-hash [this]\n (eq/hashCode this))\n\n ty/UUID\n (-hash [this]\n (hash (.toString this)))\n\n ty/TaggedValue\n (-hash [this]\n (eq/hashCode this)))\n\n(extend-type ty/UUID\n IUUID\n IPrintWithWriter\n (-pr-writer [uuid writer _]\n (-write writer (str \"#uuid \\\"\" (.toString uuid) \"\\\"\"))))\n\n(defn ^:no-doc opts-merge [a b]\n (doseq [k (js-keys b)]\n (let [v (gobj/get b k)]\n (gobj/set a k v)))\n a)\n\n(deftype ^:no-doc MapBuilder []\n Object\n (init [_ node] (transient {}))\n (add [_ m k v node] (assoc! m k v))\n (finalize [_ m node] (persistent! m))\n (fromArray [_ arr node] (cljs.core/PersistentArrayMap.fromArray arr true true)))\n\n(deftype ^:no-doc VectorBuilder []\n Object\n (init [_ node] (transient []))\n (add [_ v x node] (conj! v x))\n (finalize [_ v node] (persistent! v))\n (fromArray [_ arr node] (cljs.core/PersistentVector.fromArray arr true)))\n\n(defn reader\n \"Return a transit reader. type may be either :json or :json-verbose.\n opts may be a map optionally containing a :handlers entry. The value\n of :handlers should be map from string tag to a decoder function of one\n argument which returns the in-memory representation of the semantic transit\n value. If a :default handler is provided, it will be used when no matching\n read handler can be found.\"\n ([type] (reader type nil))\n ([type opts]\n (t/reader (name type)\n (opts-merge\n #js {:handlers\n (clj->js\n (merge\n {\"$\" (fn [v] (symbol v))\n \":\" (fn [v] (keyword v))\n \"set\" (fn [v] (into #{} v))\n \"list\" (fn [v] (into () (.reverse v)))\n \"cmap\" (fn [v]\n (loop [i 0 ret (transient {})]\n (if (< i (alength v))\n (recur (+ i 2)\n (assoc! ret (aget v i) (aget v (inc i))))\n (persistent! ret))))\n \"with-meta\"\n (fn [v] (with-meta (aget v 0) (aget v 1)))}\n (dissoc (:handlers opts) :default)))\n :defaultHandler (-> opts :handlers :default)\n :mapBuilder (MapBuilder.)\n :arrayBuilder (VectorBuilder.)\n :preferStrings false\n :preferBuffers false}\n (clj->js\n (set/rename-keys\n (dissoc opts :handlers)\n {:array-builder :arrayBuilder\n :map-builder :mapBuilder\n :prefer-strings :preferStrings\n :prefer-buffers :preferBuffers}))))))\n\n(defn read\n \"Read a transit encoded string into ClojureScript values given a\n transit reader.\"\n [r str]\n (.read r str))\n\n(deftype ^:no-doc KeywordHandler []\n Object\n (tag [_ v] \":\")\n (rep [_ v] (.-fqn v))\n (stringRep [_ v] (.-fqn v)))\n\n(deftype ^:no-doc SymbolHandler []\n Object\n (tag [_ v] \"$\")\n (rep [_ v] (.-str v))\n (stringRep [_ v] (.-str v)))\n\n(deftype ^:no-doc ListHandler []\n Object\n (tag [_ v] \"list\")\n (rep [_ v]\n (let [ret #js []]\n (doseq [x v] (.push ret x))\n (t/tagged \"array\" ret)))\n (stringRep [_ v] nil))\n\n(deftype ^:no-doc MapHandler []\n Object\n (tag [_ v] \"map\")\n (rep [_ v] v)\n (stringRep [_ v] nil))\n\n(deftype ^:no-doc SetHandler []\n Object\n (tag [_ v] \"set\")\n (rep [_ v]\n (let [ret #js []]\n (doseq [x v] (.push ret x))\n (t/tagged \"array\" ret)))\n (stringRep [v] nil))\n\n(deftype ^:no-doc VectorHandler []\n Object\n (tag [_ v] \"array\")\n (rep [_ v]\n (let [ret #js []]\n (doseq [x v] (.push ret x))\n ret))\n (stringRep [_ v] nil))\n\n(deftype ^:no-doc UUIDHandler []\n Object\n (tag [_ v] \"u\")\n (rep [_ v] (.-uuid v))\n (stringRep [this v] (.rep this v)))\n\n(deftype ^:no-doc WithMeta [value meta])\n\n(deftype ^:no-doc WithMetaHandler []\n Object\n (tag [_ v] \"with-meta\")\n (rep [_ v]\n (t/tagged \"array\" #js [(.-value v) (.-meta v)]))\n (stringRep [_ v] nil))\n\n(defn writer\n \"Return a transit writer. type maybe either :json or :json-verbose.\n opts is a map with the following optional keys:\n\n :handlers - a map of type constructors to handler instances. Can optionally\n provide a :default write handler which will be used if no\n matching handler can be found.\n :transform - a function of one argument returning a transformed value. Will\n be invoked on a value before it is written.\"\n ([type] (writer type nil))\n ([type opts]\n (let [keyword-handler (KeywordHandler.)\n symbol-handler (SymbolHandler.)\n list-handler (ListHandler.)\n map-handler (MapHandler.)\n set-handler (SetHandler.)\n vector-handler (VectorHandler.)\n uuid-handler (UUIDHandler.)\n meta-handler (WithMetaHandler.)\n handlers\n (merge\n {cljs.core/Keyword keyword-handler\n cljs.core/Symbol symbol-handler\n cljs.core/Range list-handler\n cljs.core/List list-handler\n cljs.core/Cons list-handler\n cljs.core/EmptyList list-handler\n cljs.core/LazySeq list-handler\n cljs.core/RSeq list-handler\n cljs.core/IndexedSeq list-handler\n cljs.core/ChunkedCons list-handler\n cljs.core/ChunkedSeq list-handler\n cljs.core/PersistentQueueSeq list-handler\n cljs.core/PersistentQueue list-handler\n cljs.core/PersistentArrayMapSeq list-handler\n cljs.core/PersistentTreeMapSeq list-handler\n cljs.core/NodeSeq list-handler\n cljs.core/ArrayNodeSeq list-handler\n cljs.core/KeySeq list-handler\n cljs.core/ValSeq list-handler\n cljs.core/PersistentArrayMap map-handler\n cljs.core/PersistentHashMap map-handler\n cljs.core/PersistentTreeMap map-handler\n cljs.core/PersistentHashSet set-handler\n cljs.core/PersistentTreeSet set-handler\n cljs.core/PersistentVector vector-handler\n cljs.core/Subvec vector-handler\n cljs.core/UUID uuid-handler\n cljs.core/BlackNode vector-handler\n cljs.core/RedNode vector-handler\n WithMeta meta-handler}\n (when (exists? cljs.core/Eduction)\n {^:cljs.analyzer/no-resolve cljs.core/Eduction list-handler})\n (when (exists? cljs.core/Repeat)\n {^:cljs.analyzer/no-resolve cljs.core/Repeat list-handler})\n (when (exists? cljs.core/MapEntry)\n {^:cljs.analyzer/no-resolve cljs.core/MapEntry vector-handler})\n (:handlers opts))]\n (t/writer (name type)\n (opts-merge\n #js {:objectBuilder\n (fn [m kfn vfn]\n (reduce-kv\n (fn [obj k v]\n (doto obj (.push (kfn k) (vfn v))))\n #js [\"^ \"] m))\n :handlers\n (specify handlers\n Object\n (forEach\n ([coll f]\n (doseq [[k v] coll]\n (if (= :default k)\n (f v \"default\")\n (f v k))))))\n :unpack\n (fn [x]\n (if (instance? cljs.core/PersistentArrayMap x)\n (.-arr x)\n false))}\n (clj->js (dissoc opts :handlers)))))))\n\n(defn write\n \"Encode an object into a transit string given a transit writer.\"\n [w o]\n (.write w o))\n\n(defn read-handler\n \"Construct a read handler. Implemented as identity, exists primarily\n for API compatiblity with transit-clj\"\n [from-rep]\n from-rep)\n\n(defn- fn-or-val\n [f]\n (if (fn? f) f (constantly f)))\n\n(defn write-handler\n \"Creates a transit write handler whose tag, rep,\n stringRep, and verboseWriteHandler methods\n invoke the provided fns.\"\n ([tag-fn rep-fn]\n (write-handler tag-fn rep-fn nil nil))\n ([tag-fn rep-fn str-rep-fn]\n (write-handler tag-fn rep-fn str-rep-fn nil))\n ([tag-fn rep-fn str-rep-fn verbose-handler-fn]\n (let [tag-fn (fn-or-val tag-fn)\n rep-fn (fn-or-val rep-fn)\n str-rep-fn (fn-or-val str-rep-fn)\n verbose-handler-fn (fn-or-val verbose-handler-fn)]\n (reify\n Object\n (tag [_ o] (tag-fn o))\n (rep [_ o] (rep-fn o))\n (stringRep [_ o] (when str-rep-fn (str-rep-fn o)))\n (getVerboseHandler [_] (when verbose-handler-fn (verbose-handler-fn)))))))\n\n;; =============================================================================\n;; Constructors & Predicates\n\n(defn tagged-value\n \"Construct a tagged value. tag must be a string and rep can\n be any transit encodeable value.\"\n [tag rep]\n (ty/taggedValue tag rep))\n\n(defn tagged-value?\n \"Returns true if x is a transit tagged value, false otherwise.\"\n [x]\n (ty/isTaggedValue x))\n\n(defn integer\n \"Construct a transit integer value. Returns JavaScript number if\n in the 53bit integer range, a goog.math.Long instance if above. s\n may be a string or a JavaScript number.\"\n [s]\n (ty/intValue s))\n\n(defn integer?\n \"Returns true if x is an integer value between the 53bit and 64bit\n range, false otherwise.\"\n [x]\n (ty/isInteger x))\n\n(defn bigint\n \"Construct a big integer from a string.\"\n [s]\n (ty/bigInteger s))\n\n(defn bigint?\n \"Returns true if x is a transit big integer value, false otherwise.\"\n [x]\n (ty/isBigInteger x))\n\n(defn bigdec\n \"Construct a big decimal from a string.\"\n [s]\n (ty/bigDecimalValue s))\n\n(defn bigdec?\n \"Returns true if x is a transit big decimal value, false otherwise.\"\n [x]\n (ty/isBigDecimal x))\n\n(defn uri\n \"Construct a URI from a string.\"\n [s]\n (ty/uri s))\n\n(defn uri?\n \"Returns true if x is a transit URI value, false otherwise.\"\n [x]\n (ty/isURI x))\n\n(defn uuid\n \"Construct a UUID from a string.\"\n [s]\n (ty/uuid s))\n\n(defn uuid?\n \"Returns true if x is a transit UUID value, false otherwise.\"\n [x]\n (or (ty/isUUID x) (instance? UUID x)))\n\n(defn binary\n \"Construct a transit binary value. s should be base64 encoded\n string.\"\n [s]\n (ty/binary s))\n\n(defn binary?\n \"Returns true if x is a transit binary value, false otherwise.\"\n [x]\n (ty/isBinary x))\n\n(defn quoted\n \"Construct a quoted transit value. x should be a transit\n encodeable value.\"\n [x]\n (ty/quoted x))\n\n(defn quoted?\n \"Returns true if x is a transit quoted value, false otherwise.\"\n [x]\n (ty/isQuoted x))\n\n(defn link\n \"Construct a transit link value. x should be an IMap instance\n containing at a minimum the following keys: :href, :rel. It\n may optionall include :name, :render, and :prompt. :href must\n be a transit URI, all other values are strings, and :render must\n be either :image or :link.\"\n [x]\n (ty/link x))\n\n(defn link?\n \"Returns true if x a transit link value, false if otherwise.\"\n [x]\n (ty/isLink x))\n\n(defn write-meta\n \"For :transform. Will write any metadata present on the value.\"\n [x]\n (if (implements? IMeta x)\n (let [m (-meta ^not-native x)]\n (if-not (nil? m)\n (WithMeta. (-with-meta ^not-native x nil) m)\n x))\n x))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/com.cognitect.transit.caching.js b/out/cljs-runtime/com.cognitect.transit.caching.js new file mode 100644 index 0000000..e2ff2cb --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.caching.js @@ -0,0 +1,112 @@ +goog.provide("com.cognitect.transit.caching"); +goog.require("com.cognitect.transit.delimiters"); +goog.scope(function() { + var caching = com.cognitect.transit.caching; + var d = com.cognitect.transit.delimiters; + caching.MIN_SIZE_CACHEABLE = 3; + caching.BASE_CHAR_IDX = 48; + caching.CACHE_CODE_DIGITS = 44; + caching.MAX_CACHE_ENTRIES = caching.CACHE_CODE_DIGITS * caching.CACHE_CODE_DIGITS; + caching.MAX_CACHE_SIZE = 4096; + caching.isCacheable = function(string, asMapKey) { + if (string.length > caching.MIN_SIZE_CACHEABLE) { + if (asMapKey) { + return true; + } else { + var c0 = string.charAt(0); + var c1 = string.charAt(1); + if (c0 === d.ESC) { + return c1 === ":" || c1 === "$" || c1 === "#"; + } else { + return false; + } + } + } else { + return false; + } + }; + caching.idxToCode = function(idx) { + var hi = Math.floor(idx / caching.CACHE_CODE_DIGITS); + var lo = idx % caching.CACHE_CODE_DIGITS; + var loc = String.fromCharCode(lo + caching.BASE_CHAR_IDX); + if (hi === 0) { + return d.SUB + loc; + } else { + return d.SUB + String.fromCharCode(hi + caching.BASE_CHAR_IDX) + loc; + } + }; + caching.WriteCache = function() { + this.idx = 0; + this.gen = 0; + this.cacheSize = 0; + this.cache = {}; + }; + caching.WriteCache.prototype.write = function(string, asMapKey) { + if (caching.isCacheable(string, asMapKey)) { + if (this.cacheSize === caching.MAX_CACHE_SIZE) { + this.clear(); + this.gen = 0; + this.cache = {}; + } else if (this.idx === caching.MAX_CACHE_ENTRIES) { + this.clear(); + } + var entry = this.cache[string]; + if (entry == null) { + this.cache[string] = [caching.idxToCode(this.idx), this.gen]; + this.idx++; + return string; + } else if (entry[1] != this.gen) { + entry[1] = this.gen; + entry[0] = caching.idxToCode(this.idx); + this.idx++; + return string; + } else { + return entry[0]; + } + } else { + return string; + } + }; + caching.WriteCache.prototype.clear = function Transit$WriteCache() { + this.idx = 0; + this.gen++; + }; + caching.writeCache = function() { + return new caching.WriteCache(); + }; + caching.isCacheCode = function(string) { + return string.charAt(0) === d.SUB && string.charAt(1) !== " "; + }; + caching.codeToIdx = function(code) { + if (code.length === 2) { + return code.charCodeAt(1) - caching.BASE_CHAR_IDX; + } else { + var hi = (code.charCodeAt(1) - caching.BASE_CHAR_IDX) * caching.CACHE_CODE_DIGITS; + var lo = code.charCodeAt(2) - caching.BASE_CHAR_IDX; + return hi + lo; + } + }; + caching.ReadCache = function Transit$ReadCache() { + this.idx = 0; + this.cache = []; + }; + caching.ReadCache.prototype.write = function(obj, asMapKey) { + if (this.idx == caching.MAX_CACHE_ENTRIES) { + this.idx = 0; + } + this.cache[this.idx] = obj; + this.idx++; + return obj; + }; + caching.ReadCache.prototype.read = function(string, asMapKey) { + return this.cache[caching.codeToIdx(string)]; + }; + caching.ReadCache.prototype.clear = function() { + this.idx = 0; + }; + caching.readCache = function() { + return new caching.ReadCache(); + }; +}); + +//# sourceMappingURL=com.cognitect.transit.caching.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.caching.js.map b/out/cljs-runtime/com.cognitect.transit.caching.js.map new file mode 100644 index 0000000..11b0a31 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.caching.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.caching.js", +"lineCount":111, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,+BAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,kCAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAQ,EAAG;AAAA,MAElBC,UAAUC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQH,CAAAA,OAFd;AAEtB,MACII,IAAUH,GAAIC,CAAAA,SAAUC,CAAAA,OAAQE,CAAAA,UADpC;AAOAL,SAAQM,CAAAA,kBAAR,GAA6B,CAA7B;AAMAN,SAAQO,CAAAA,aAAR,GAAwB,EAAxB;AAMAP,SAAQQ,CAAAA,iBAAR,GAA4B,EAA5B;AAMAR,SAAQS,CAAAA,iBAAR,GAA4BT,OAAQQ,CAAAA,iBAApC,GAAsDR,OAAQQ,CAAAA,iBAA9D;AAMAR,SAAQU,CAAAA,cAAR,GAA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AAAA,SAAUf,CAAAA,SAAUC,CAAAA,KAA5B,GAAoCiB,QAAQ,CAACC,GAAD,EAAMzC,QAAN,CAAgB;AACxD,QAAG,IAAKQ,CAAAA,GAAR,IAAetB,OAAQS,CAAAA,iBAAvB;AACI,UAAKa,CAAAA,GAAL,GAAW,CAAX;AADJ;AAGA,QAAKa,CAAAA,KAAL,CAAW,IAAKb,CAAAA,GAAhB,CAAA,GAAuBiC,GAAvB;AACA,QAAKjC,CAAAA,GAAL,EAAA;AACA,WAAOiC,GAAP;AANwD,GAA5D;AASAvD,SAAQmD,CAAAA,SAAUf,CAAAA,SAAUoB,CAAAA,IAA5B,GAAmCC,QAAQ,CAAC5C,MAAD,EAASC,QAAT,CAAmB;AAC1D,WAAO,IAAKqB,CAAAA,KAAL,CAAWnC,OAAQ+C,CAAAA,SAAR,CAAkBlC,MAAlB,CAAX,CAAP;AAD0D,GAA9D;AAIAb,SAAQmD,CAAAA,SAAUf,CAAAA,SAAUG,CAAAA,KAA5B,GAAoCmB,QAAQ,EAAG;AAC3C,QAAKpC,CAAAA,GAAL,GAAW,CAAX;AAD2C,GAA/C;AAIAtB,SAAQ2D,CAAAA,SAAR,GAAoBC,QAAQ,EAAG;AAC3B,WAAO,IAAI5D,OAAQmD,CAAAA,SAAZ,EAAP;AAD2B,GAA/B;AA3JsB,CAAtB,CAAA;;", +"sources":["com/cognitect/transit/caching.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.caching\");\ngoog.require(\"com.cognitect.transit.delimiters\");\n\ngoog.scope(function() {\n\nvar caching = com.cognitect.transit.caching,\n d = com.cognitect.transit.delimiters;\n\n/**\n * @const\n * @type {number}\n */\ncaching.MIN_SIZE_CACHEABLE = 3;\n\n/**\n * @const\n * @type {number}\n */\ncaching.BASE_CHAR_IDX = 48;\n\n/**\n * @const\n * @type {number}\n */\ncaching.CACHE_CODE_DIGITS = 44;\n\n/**\n * @const\n * @type {number}\n */\ncaching.MAX_CACHE_ENTRIES = caching.CACHE_CODE_DIGITS*caching.CACHE_CODE_DIGITS;\n\n/**\n * @const\n * @type {number}\n */\ncaching.MAX_CACHE_SIZE = 4096;\n\ncaching.isCacheable = function(string, asMapKey) {\n if(string.length > caching.MIN_SIZE_CACHEABLE) {\n if(asMapKey) {\n return true;\n } else {\n var c0 = string.charAt(0),\n c1 = string.charAt(1);\n if(c0 === d.ESC) {\n return c1 === \":\" || c1 === \"$\" || c1 === \"#\";\n } else {\n return false;\n }\n }\n } else {\n return false;\n }\n};\n\n// =============================================================================\n// WriteCache\n\ncaching.idxToCode = function(idx) {\n var hi = Math.floor(idx / caching.CACHE_CODE_DIGITS),\n lo = idx % caching.CACHE_CODE_DIGITS,\n loc = String.fromCharCode(lo + caching.BASE_CHAR_IDX)\n if(hi === 0) {\n return d.SUB + loc;\n } else {\n return d.SUB + String.fromCharCode(hi + caching.BASE_CHAR_IDX) + loc;\n }\n};\n\n/**\n * @constructor\n */\ncaching.WriteCache = function() {\n this.idx = 0;\n this.gen = 0;\n this.cacheSize = 0;\n this.cache = {};\n};\n\ncaching.WriteCache.prototype.write = function(string, asMapKey) {\n if(caching.isCacheable(string, asMapKey)) {\n if(this.cacheSize === caching.MAX_CACHE_SIZE) {\n this.clear();\n this.gen = 0;\n this.cache = {};\n } else if(this.idx === caching.MAX_CACHE_ENTRIES) {\n this.clear();\n }\n var entry = this.cache[string];\n if(entry == null) {\n this.cache[string] = [caching.idxToCode(this.idx), this.gen];\n this.idx++;\n return string;\n } else if(entry[1] != this.gen) {\n entry[1] = this.gen;\n entry[0] = caching.idxToCode(this.idx);\n this.idx++;\n return string;\n } else {\n return entry[0];\n }\n } else {\n return string;\n }\n};\n\ncaching.WriteCache.prototype.clear = function Transit$WriteCache() {\n this.idx = 0;\n this.gen++;\n};\n\ncaching.writeCache = function() {\n return new caching.WriteCache();\n};\n\n// =============================================================================\n// ReadCache\n\ncaching.isCacheCode = function(string) {\n return (string.charAt(0) === d.SUB) && (string.charAt(1) !== \" \");\n};\n\ncaching.codeToIdx = function(code) {\n if(code.length === 2) {\n return code.charCodeAt(1) - caching.BASE_CHAR_IDX; \n } else {\n var hi = (code.charCodeAt(1) - caching.BASE_CHAR_IDX) * caching.CACHE_CODE_DIGITS,\n lo = (code.charCodeAt(2) - caching.BASE_CHAR_IDX);\n return hi + lo; \n }\n};\n\n/**\n * @constructor\n */\ncaching.ReadCache = function Transit$ReadCache() {\n this.idx = 0;\n this.cache = [];\n};\n\ncaching.ReadCache.prototype.write = function(obj, asMapKey) {\n if(this.idx == caching.MAX_CACHE_ENTRIES) {\n this.idx = 0;\n }\n this.cache[this.idx] = obj;\n this.idx++;\n return obj;\n};\n\ncaching.ReadCache.prototype.read = function(string, asMapKey) {\n return this.cache[caching.codeToIdx(string)];\n};\n\ncaching.ReadCache.prototype.clear = function() {\n this.idx = 0;\n};\n\ncaching.readCache = function() {\n return new caching.ReadCache();\n};\n\n}); \n"], +"names":["goog","provide","require","scope","caching","com","cognitect","transit","d","delimiters","MIN_SIZE_CACHEABLE","BASE_CHAR_IDX","CACHE_CODE_DIGITS","MAX_CACHE_ENTRIES","MAX_CACHE_SIZE","isCacheable","caching.isCacheable","string","asMapKey","length","c0","charAt","c1","ESC","idxToCode","caching.idxToCode","idx","hi","Math","floor","lo","loc","String","fromCharCode","SUB","WriteCache","caching.WriteCache","gen","cacheSize","cache","prototype","write","caching.WriteCache.prototype.write","clear","entry","caching.WriteCache.prototype.clear","Transit$WriteCache","writeCache","caching.writeCache","isCacheCode","caching.isCacheCode","codeToIdx","caching.codeToIdx","code","charCodeAt","ReadCache","caching.ReadCache","Transit$ReadCache","caching.ReadCache.prototype.write","obj","read","caching.ReadCache.prototype.read","caching.ReadCache.prototype.clear","readCache","caching.readCache"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.delimiters.js b/out/cljs-runtime/com.cognitect.transit.delimiters.js new file mode 100644 index 0000000..e1e3168 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.delimiters.js @@ -0,0 +1,11 @@ +goog.provide("com.cognitect.transit.delimiters"); +goog.scope(function() { + var delimiters = com.cognitect.transit.delimiters; + delimiters.ESC = "~"; + delimiters.TAG = "#"; + delimiters.SUB = "^"; + delimiters.RES = "`"; + delimiters.ESC_TAG = "~#"; +}); + +//# sourceMappingURL=com.cognitect.transit.delimiters.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.delimiters.js.map b/out/cljs-runtime/com.cognitect.transit.delimiters.js.map new file mode 100644 index 0000000..4d8c32f --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.delimiters.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.delimiters.js", +"lineCount":10, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,kCAAb,CAAA;AAEAD,IAAKE,CAAAA,KAAL,CAAW,QAAQ,EAAG;AAEtB,MAAIC,aAAaC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQH,CAAAA,UAAvC;AAMAA,YAAWI,CAAAA,GAAX,GAAqB,GAArB;AAMAJ,YAAWK,CAAAA,GAAX,GAAqB,GAArB;AAMAL,YAAWM,CAAAA,GAAX,GAAqB,GAArB;AAMAN,YAAWO,CAAAA,GAAX,GAAqB,GAArB;AAMAP,YAAWQ,CAAAA,OAAX,GAAqB,IAArB;AAhCsB,CAAtB,CAAA;;", +"sources":["com/cognitect/transit/delimiters.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.delimiters\");\n\ngoog.scope(function() {\n\nvar delimiters = com.cognitect.transit.delimiters;\n \n/**\n * @const\n * @type {string}\n */\ndelimiters.ESC = \"~\";\n\n/**\n * @const\n * @type {string}\n */\ndelimiters.TAG = \"#\";\n\n/**\n * @const\n * @type {string}\n */\ndelimiters.SUB = \"^\";\n\n/**\n * @const\n * @type {string}\n */\ndelimiters.RES = \"`\";\n\n/**\n * @const\n * @type {string}\n */\ndelimiters.ESC_TAG = \"~#\";\n\n});\n"], +"names":["goog","provide","scope","delimiters","com","cognitect","transit","ESC","TAG","SUB","RES","ESC_TAG"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.eq.js b/out/cljs-runtime/com.cognitect.transit.eq.js new file mode 100644 index 0000000..1c9ae6c --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.eq.js @@ -0,0 +1,168 @@ +goog.provide("com.cognitect.transit.eq"); +goog.require("com.cognitect.transit.util"); +goog.scope(function() { + var eq = com.cognitect.transit.eq; + var util = com.cognitect.transit.util; + eq.hashCodeProperty = "transit$hashCode$"; + eq.hashCodeCounter = 1; + eq.equals = function(x, y) { + if (x == null) { + return y == null; + } else if (x === y) { + return true; + } else if (typeof x === "object") { + if (util.isArray(x)) { + if (util.isArray(y)) { + if (x.length === y.length) { + var i = 0; + for (; i < x.length; i++) { + if (!eq.equals(x[i], y[i])) { + return false; + } + } + return true; + } else { + return false; + } + } else { + return false; + } + } else if (x.com$cognitect$transit$equals) { + return x.com$cognitect$transit$equals(y); + } else if (y != null && typeof y === "object") { + if (y.com$cognitect$transit$equals) { + return y.com$cognitect$transit$equals(x); + } else { + var xklen = 0; + var yklen = util.objectKeys(y).length; + var p; + for (p in x) { + if (!x.hasOwnProperty(p)) { + continue; + } + xklen++; + if (!y.hasOwnProperty(p)) { + return false; + } else { + if (!eq.equals(x[p], y[p])) { + return false; + } + } + } + return xklen === yklen; + } + } else { + return false; + } + } else { + return false; + } + }; + eq.hashCombine = function(seed, hash) { + return seed ^ hash + 2654435769 + (seed << 6) + (seed >> 2); + }; + eq.stringCodeCache = {}; + eq.stringCodeCacheSize = 0; + eq.STR_CACHE_MAX = 256; + eq.hashString = function(str) { + var cached = eq.stringCodeCache[str]; + if (cached != null) { + return cached; + } + var code = 0; + var i = 0; + for (; i < str.length; ++i) { + code = 31 * code + str.charCodeAt(i); + code = code % 4294967296; + } + eq.stringCodeCacheSize++; + if (eq.stringCodeCacheSize >= eq.STR_CACHE_MAX) { + eq.stringCodeCache = {}; + eq.stringCodeCacheSize = 1; + } + eq.stringCodeCache[str] = code; + return code; + }; + eq.hashMapLike = function(m) { + var code = 0; + if (m.forEach != null) { + m.forEach(function(val, key, m) { + code = (code + (eq.hashCode(key) ^ eq.hashCode(val))) % 4503599627370496; + }); + } else { + var keys = util.objectKeys(m); + var i = 0; + for (; i < keys.length; i++) { + var key = keys[i]; + var val = m[key]; + code = (code + (eq.hashCode(key) ^ eq.hashCode(val))) % 4503599627370496; + } + } + return code; + }; + eq.hashArrayLike = function(arr) { + var code = 0; + if (util.isArray(arr)) { + var i = 0; + for (; i < arr.length; i++) { + code = eq.hashCombine(code, eq.hashCode(arr[i])); + } + } else if (arr.forEach) { + arr.forEach(function(x, i) { + code = eq.hashCombine(code, eq.hashCode(x)); + }); + } + return code; + }; + eq.hashCode = function(x) { + if (x == null) { + return 0; + } else { + switch(typeof x) { + case "number": + return x; + break; + case "boolean": + return x === true ? 1 : 0; + break; + case "string": + return eq.hashString(x); + break; + case "function": + var code = x[eq.hashCodeProperty]; + if (code) { + return code; + } else { + code = eq.hashCodeCounter; + if (typeof Object.defineProperty != "undefined") { + Object.defineProperty(x, eq.hashCodeProperty, {value:code, enumerable:false}); + } else { + x[eq.hashCodeProperty] = code; + } + eq.hashCodeCounter++; + return code; + } + break; + default: + if (x instanceof Date) { + return x.valueOf(); + } else if (util.isArray(x)) { + return eq.hashArrayLike(x); + } + if (x.com$cognitect$transit$hashCode) { + return x.com$cognitect$transit$hashCode(); + } else { + return eq.hashMapLike(x); + } + break; + } + } + }; + eq.extendToEQ = function(obj, opts) { + obj.com$cognitect$transit$hashCode = opts["hashCode"]; + obj.com$cognitect$transit$equals = opts["equals"]; + return obj; + }; +}); + +//# sourceMappingURL=com.cognitect.transit.eq.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.eq.js.map b/out/cljs-runtime/com.cognitect.transit.eq.js.map new file mode 100644 index 0000000..9cf8906 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.eq.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.eq.js", +"lineCount":167, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,0BAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,4BAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAQ,EAAG;AAAA,MAElBC,KAAOC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQH,CAAAA,EAFX;AAEtB,MACII,OAAOH,GAAIC,CAAAA,SAAUC,CAAAA,OAAQC,CAAAA,IADjC;AAOAJ,IAAGK,CAAAA,gBAAH,GAAsB,mBAAtB;AAKAL,IAAGM,CAAAA,eAAH,GAAqB,CAArB;AAEAN,IAAGO,CAAAA,MAAH,GAAYC,QAAS,CAACC,CAAD,EAAIC,CAAJ,CAAO;AACxB,QAAGD,CAAH,IAAQ,IAAR;AACI,aAAOC,CAAP,IAAY,IAAZ;AADJ,UAEO,KAAGD,CAAH,KAASC,CAAT;AACH,aAAO,IAAP;AADG,UAEA,KAAG,MAAOD,EAAV,KAAgB,QAAhB;AACH,UAAGL,IAAKO,CAAAA,OAAL,CAAaF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AAgBwC,IAAhB;AACI,mBAAOxC,CAAEyC,CAAAA,OAAF,EAAP;AADJ,gBAEO,KAAG9C,IAAKO,CAAAA,OAAL,CAAaF,CAAb,CAAH;AACH,mBAAOT,EAAGyC,CAAAA,aAAH,CAAiBhC,CAAjB,CAAP;AADG;AAEL,cAAGA,CAAE0C,CAAAA,8BAAL;AACE,mBAAO1C,CAAE0C,CAAAA,8BAAF,EAAP;AADF;AAGE,mBAAOnD,EAAGiC,CAAAA,WAAH,CAAexB,CAAf,CAAP;AAHF;AAKF;AAtCJ;AAHJ;AADsB,GAA1B;AA+CAT,IAAGoD,CAAAA,UAAH,GAAgBC,QAAQ,CAACC,GAAD,EAAMC,IAAN,CAAY;AAChCD,OAAIH,CAAAA,8BAAJ,GAAqCI,IAAA,CAAK,UAAL,CAArC;AACAD,OAAIxC,CAAAA,4BAAJ,GAAmCyC,IAAA,CAAK,QAAL,CAAnC;AACA,WAAOD,GAAP;AAHgC,GAApC;AApLsB,CAAtB,CAAA;;", +"sources":["com/cognitect/transit/eq.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.eq\");\ngoog.require(\"com.cognitect.transit.util\");\n\ngoog.scope(function() {\n\nvar eq = com.cognitect.transit.eq,\n util = com.cognitect.transit.util;\n\n/**\n * @const\n * @type {string}\n */\neq.hashCodeProperty = \"transit$hashCode$\";\n\n/**\n * @type {number}\n */\neq.hashCodeCounter = 1;\n\neq.equals = function (x, y) {\n if(x == null) {\n return y == null;\n } else if(x === y) {\n return true;\n } else if(typeof x === \"object\") {\n if(util.isArray(x)) {\n if(util.isArray(y)) {\n if(x.length === y.length) {\n for(var i = 0; i < x.length; i++) {\n if(!eq.equals(x[i], y[i])) {\n return false;\n }\n }\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n } else if(x.com$cognitect$transit$equals) {\n return x.com$cognitect$transit$equals(y);\n } else if((y != null) && (typeof y === \"object\")) {\n if(y.com$cognitect$transit$equals) {\n return y.com$cognitect$transit$equals(x);\n } else {\n var xklen = 0,\n yklen = util.objectKeys(y).length;\n for(var p in x) {\n if(!x.hasOwnProperty(p)) continue;\n xklen++;\n if(!y.hasOwnProperty(p)) {\n return false;\n } else {\n if(!eq.equals(x[p], y[p])) {\n return false;\n }\n }\n }\n return xklen === yklen;\n }\n } else {\n return false;\n }\n } else {\n return false\n }\n};\n\neq.hashCombine = function(seed, hash) {\n return seed ^ (hash + 0x9e3779b9 + (seed << 6) + (seed >> 2));\n};\n\neq.stringCodeCache = {};\neq.stringCodeCacheSize = 0;\n\n/**\n * @const\n * @type {number}\n */\neq.STR_CACHE_MAX = 256;\n\neq.hashString = function(str) {\n // a la goog.string.HashCode\n // http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1206\n var cached = eq.stringCodeCache[str];\n if(cached != null) {\n return cached;\n }\n var code = 0;\n for (var i = 0; i < str.length; ++i) {\n code = 31 * code + str.charCodeAt(i);\n code %= 0x100000000;\n }\n eq.stringCodeCacheSize++;\n if(eq.stringCodeCacheSize >= eq.STR_CACHE_MAX) {\n eq.stringCodeCache = {};\n eq.stringCodeCacheSize = 1;\n }\n eq.stringCodeCache[str] = code;\n return code;\n};\n\neq.hashMapLike = function(m) {\n var code = 0;\n // ES6 Map-like case\n if(m.forEach != null) {\n m.forEach(function(val, key, m) {\n code = (code + (eq.hashCode(key) ^ eq.hashCode(val))) % 4503599627370496;\n });\n } else {\n // JS Object case\n var keys = util.objectKeys(m);\n for(var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var val = m[key];\n code = (code + (eq.hashCode(key) ^ eq.hashCode(val))) % 4503599627370496;\n }\n }\n return code;\n};\n\neq.hashArrayLike = function(arr) {\n var code = 0;\n if(util.isArray(arr)) {\n for(var i = 0; i < arr.length; i++) {\n code = eq.hashCombine(code, eq.hashCode(arr[i]));\n }\n } else if(arr.forEach) {\n arr.forEach(function(x, i) {\n code = eq.hashCombine(code, eq.hashCode(x));\n });\n }\n return code;\n};\n\neq.hashCode = function(x) {\n if(x == null) {\n return 0;\n } else {\n switch(typeof x) {\n case 'number':\n return x;\n break;\n case 'boolean':\n return x === true ? 1 : 0;\n break;\n case 'string':\n return eq.hashString(x);\n break;\n case 'function':\n var code = x[eq.hashCodeProperty];\n if(code) {\n return code;\n } else {\n code = eq.hashCodeCounter;\n if(typeof Object.defineProperty != \"undefined\") {\n Object.defineProperty(x, eq.hashCodeProperty, {\n value: code,\n enumerable: false\n });\n } else {\n x[eq.hashCodeProperty] = code;\n }\n eq.hashCodeCounter++; \n return code;\n }\n break;\n default:\n if(x instanceof Date) {\n return x.valueOf();\n } else if(util.isArray(x)) {\n return eq.hashArrayLike(x);\n } if(x.com$cognitect$transit$hashCode) {\n return x.com$cognitect$transit$hashCode();\n } else {\n return eq.hashMapLike(x);\n }\n break;\n }\n }\n}\n\neq.extendToEQ = function(obj, opts) {\n obj.com$cognitect$transit$hashCode = opts[\"hashCode\"];\n obj.com$cognitect$transit$equals = opts[\"equals\"];\n return obj;\n}\n\n});\n"], +"names":["goog","provide","require","scope","eq","com","cognitect","transit","util","hashCodeProperty","hashCodeCounter","equals","eq.equals","x","y","isArray","length","i","com$cognitect$transit$equals","xklen","yklen","objectKeys","p","hasOwnProperty","hashCombine","eq.hashCombine","seed","hash","stringCodeCache","stringCodeCacheSize","STR_CACHE_MAX","hashString","eq.hashString","str","cached","code","charCodeAt","hashMapLike","eq.hashMapLike","m","forEach","val","key","hashCode","keys","hashArrayLike","eq.hashArrayLike","arr","eq.hashCode","Object","defineProperty","value","enumerable","Date","valueOf","com$cognitect$transit$hashCode","extendToEQ","eq.extendToEQ","obj","opts"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.handlers.js b/out/cljs-runtime/com.cognitect.transit.handlers.js new file mode 100644 index 0000000..7706074 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.handlers.js @@ -0,0 +1,330 @@ +goog.provide("com.cognitect.transit.handlers"); +goog.require("com.cognitect.transit.util"); +goog.require("com.cognitect.transit.types"); +goog.require("goog.math.Long"); +goog.scope(function() { + var handlers = com.cognitect.transit.handlers; + var util = com.cognitect.transit.util; + var types = com.cognitect.transit.types; + var Long = goog.math.Long; + handlers.ctorGuid = 0; + handlers.ctorGuidProperty = "transit$guid$" + util.randomUUID(); + handlers.typeTag = function(ctor) { + if (ctor == null) { + return "null"; + } else if (ctor === String) { + return "string"; + } else if (ctor === Boolean) { + return "boolean"; + } else if (ctor === Number) { + return "number"; + } else if (ctor === Array) { + return "array"; + } else if (ctor === Object) { + return "map"; + } else { + var tag = ctor[handlers.ctorGuidProperty]; + if (tag == null) { + if (typeof Object.defineProperty != "undefined") { + tag = ++handlers.ctorGuid; + Object.defineProperty(ctor, handlers.ctorGuidProperty, {value:tag, enumerable:false}); + } else { + ctor[handlers.ctorGuidProperty] = tag = ++handlers.ctorGuid; + } + } + return tag; + } + }; + handlers.constructor = function(x) { + if (x == null) { + return null; + } else { + return x.constructor; + } + }; + handlers.padZeros = function(n, m) { + var s = n.toString(); + var i = s.length; + for (; i < m; i++) { + s = "0" + s; + } + return s; + }; + handlers.stringableKeys = function(m) { + var stringable = false; + var ks = util.objectKeys(m); + var i = 0; + for (; i < ks.length; i++) { + } + return true; + }; + handlers.NilHandler = function Transit$NilHandler() { + }; + handlers.NilHandler.prototype.tag = function(v) { + return "_"; + }; + handlers.NilHandler.prototype.rep = function(v) { + return null; + }; + handlers.NilHandler.prototype.stringRep = function(v) { + return "null"; + }; + handlers.StringHandler = function Transit$StringHandler() { + }; + handlers.StringHandler.prototype.tag = function(v) { + return "s"; + }; + handlers.StringHandler.prototype.rep = function(v) { + return v; + }; + handlers.StringHandler.prototype.stringRep = function(v) { + return v; + }; + handlers.NumberHandler = function Transit$NumberHandler() { + }; + handlers.NumberHandler.prototype.tag = function(v) { + return "i"; + }; + handlers.NumberHandler.prototype.rep = function(v) { + return v; + }; + handlers.NumberHandler.prototype.stringRep = function(v) { + return v.toString(); + }; + handlers.IntegerHandler = function Transit$IntegerHandler() { + }; + handlers.IntegerHandler.prototype.tag = function(v) { + return "i"; + }; + handlers.IntegerHandler.prototype.rep = function(v) { + return v.toString(); + }; + handlers.IntegerHandler.prototype.stringRep = function(v) { + return v.toString(); + }; + handlers.BooleanHandler = function Transit$BooleanHandler() { + }; + handlers.BooleanHandler.prototype.tag = function(v) { + return "?"; + }; + handlers.BooleanHandler.prototype.rep = function(v) { + return v; + }; + handlers.BooleanHandler.prototype.stringRep = function(v) { + return v.toString(); + }; + handlers.ArrayHandler = function Transit$ArrayHandler() { + }; + handlers.ArrayHandler.prototype.tag = function(v) { + return "array"; + }; + handlers.ArrayHandler.prototype.rep = function(v) { + return v; + }; + handlers.ArrayHandler.prototype.stringRep = function(v) { + return null; + }; + handlers.MapHandler = function Transit$MapHandler() { + }; + handlers.MapHandler.prototype.tag = function(v) { + return "map"; + }; + handlers.MapHandler.prototype.rep = function(v) { + return v; + }; + handlers.MapHandler.prototype.stringRep = function(v) { + return null; + }; + handlers.VerboseDateHandler = function Transit$VerboseDateHandler() { + }; + handlers.VerboseDateHandler.prototype.tag = function(v) { + return "t"; + }; + handlers.VerboseDateHandler.prototype.rep = function(v) { + return v.getUTCFullYear() + "-" + handlers.padZeros(v.getUTCMonth() + 1, 2) + "-" + handlers.padZeros(v.getUTCDate(), 2) + "T" + handlers.padZeros(v.getUTCHours(), 2) + ":" + handlers.padZeros(v.getUTCMinutes(), 2) + ":" + handlers.padZeros(v.getUTCSeconds(), 2) + "." + handlers.padZeros(v.getUTCMilliseconds(), 3) + "Z"; + }; + handlers.VerboseDateHandler.prototype.stringRep = function(v, h) { + return h.rep(v); + }; + handlers.DateHandler = function Transit$DateHandler() { + }; + handlers.DateHandler.prototype.tag = function(v) { + return "m"; + }; + handlers.DateHandler.prototype.rep = function(v) { + return v.valueOf(); + }; + handlers.DateHandler.prototype.stringRep = function(v) { + return v.valueOf().toString(); + }; + handlers.DateHandler.prototype.getVerboseHandler = function(v) { + return new handlers.VerboseDateHandler(); + }; + handlers.UUIDHandler = function Transit$UUIDHandler() { + }; + handlers.UUIDHandler.prototype.tag = function(v) { + return "u"; + }; + handlers.UUIDHandler.prototype.rep = function(v) { + return v.toString(); + }; + handlers.UUIDHandler.prototype.stringRep = function(v) { + return v.toString(); + }; + handlers.KeywordHandler = function Transit$KeywordHandler() { + }; + handlers.KeywordHandler.prototype.tag = function(v) { + return ":"; + }; + handlers.KeywordHandler.prototype.rep = function(v) { + return v._name; + }; + handlers.KeywordHandler.prototype.stringRep = function(v, h) { + return h.rep(v); + }; + handlers.SymbolHandler = function Transit$SymbolHandler() { + }; + handlers.SymbolHandler.prototype.tag = function(v) { + return "$"; + }; + handlers.SymbolHandler.prototype.rep = function(v) { + return v._name; + }; + handlers.SymbolHandler.prototype.stringRep = function(v, h) { + return h.rep(v); + }; + handlers.TaggedHandler = function Transit$TaggedHandler() { + }; + handlers.TaggedHandler.prototype.tag = function(v) { + return v.tag; + }; + handlers.TaggedHandler.prototype.rep = function(v) { + return v.rep; + }; + handlers.TaggedHandler.prototype.stringRep = function(v, h) { + return null; + }; + handlers.TransitSetHandler = function Transit$TransitSetHandler() { + }; + handlers.TransitSetHandler.prototype.tag = function(v) { + return "set"; + }; + handlers.TransitSetHandler.prototype.rep = function(v) { + var arr = []; + v.forEach(function(key, set) { + arr.push(key); + }); + return types.taggedValue("array", arr); + }; + handlers.TransitSetHandler.prototype.stringRep = function(v, h) { + return null; + }; + handlers.TransitArrayMapHandler = function Transit$ArrayMapHandler() { + }; + handlers.TransitArrayMapHandler.prototype.tag = function(v) { + return "map"; + }; + handlers.TransitArrayMapHandler.prototype.rep = function(v) { + return v; + }; + handlers.TransitArrayMapHandler.prototype.stringRep = function(v, h) { + return null; + }; + handlers.TransitMapHandler = function Transit$MapHandler() { + }; + handlers.TransitMapHandler.prototype.tag = function(v) { + return "map"; + }; + handlers.TransitMapHandler.prototype.rep = function(v) { + return v; + }; + handlers.TransitMapHandler.prototype.stringRep = function(v, h) { + return null; + }; + handlers.BufferHandler = function Transit$BufferHandler() { + }; + handlers.BufferHandler.prototype.tag = function(v) { + return "b"; + }; + handlers.BufferHandler.prototype.rep = function(v) { + return v.toString("base64"); + }; + handlers.BufferHandler.prototype.stringRep = function(v, h) { + return null; + }; + handlers.Uint8ArrayHandler = function Transit$Uint8ArrayHandler() { + }; + handlers.Uint8ArrayHandler.prototype.tag = function(v) { + return "b"; + }; + handlers.Uint8ArrayHandler.prototype.rep = function(v) { + return util.Uint8ToBase64(v); + }; + handlers.Uint8ArrayHandler.prototype.stringRep = function(v, h) { + return null; + }; + handlers.defaultHandlers = function(hs) { + hs.set(null, new handlers.NilHandler()); + hs.set(String, new handlers.StringHandler()); + hs.set(Number, new handlers.NumberHandler()); + hs.set(Long, new handlers.IntegerHandler()); + hs.set(Boolean, new handlers.BooleanHandler()); + hs.set(Array, new handlers.ArrayHandler()); + hs.set(Object, new handlers.MapHandler()); + hs.set(Date, new handlers.DateHandler()); + hs.set(types.UUID, new handlers.UUIDHandler()); + hs.set(types.Keyword, new handlers.KeywordHandler()); + hs.set(types.Symbol, new handlers.SymbolHandler()); + hs.set(types.TaggedValue, new handlers.TaggedHandler()); + hs.set(types.TransitSet, new handlers.TransitSetHandler()); + hs.set(types.TransitArrayMap, new handlers.TransitArrayMapHandler()); + hs.set(types.TransitMap, new handlers.TransitMapHandler()); + if (typeof goog.global.Buffer != "undefined") { + hs.set(goog.global.Buffer, new handlers.BufferHandler()); + } + if (typeof Uint8Array != "undefined") { + hs.set(Uint8Array, new handlers.Uint8ArrayHandler()); + } + return hs; + }; + handlers.Handlers = function Transit$Handlers() { + this.handlers = {}; + handlers.defaultHandlers(this); + }; + handlers.Handlers.prototype.get = function(ctor) { + var h = null; + if (typeof ctor === "string") { + h = this.handlers[ctor]; + } else { + h = this.handlers[handlers.typeTag(ctor)]; + } + if (h != null) { + return h; + } else { + return this.handlers["default"]; + } + }; + handlers.Handlers.prototype["get"] = handlers.Handlers.prototype.get; + handlers.validTag = function(tag) { + switch(tag) { + case "null": + case "string": + case "boolean": + case "number": + case "array": + case "map": + return false; + break; + } + return true; + }; + handlers.Handlers.prototype.set = function(ctor, handler) { + if (typeof ctor === "string" && handlers.validTag(ctor)) { + this.handlers[ctor] = handler; + } else { + this.handlers[handlers.typeTag(ctor)] = handler; + } + }; +}); + +//# sourceMappingURL=com.cognitect.transit.handlers.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.handlers.js.map b/out/cljs-runtime/com.cognitect.transit.handlers.js.map new file mode 100644 index 0000000..4a4c84c --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.handlers.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.handlers.js", +"lineCount":329, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,gCAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,4BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,6BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,gBAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAS,EAAG;AAAA,MAEfC,WAAWC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQH,CAAAA,QAFlB;AAAA,MAGfI,OAAWH,GAAIC,CAAAA,SAAUC,CAAAA,OAAQC,CAAAA,IAHlB;AAAA,MAIfC,QAAWJ,GAAIC,CAAAA,SAAUC,CAAAA,OAAQE,CAAAA,KAJlB;AAEnB,MAGIC,OAAWV,IAAKW,CAAAA,IAAKD,CAAAA,IAHzB;AAKAN,UAASQ,CAAAA,QAA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;AADuD,GAA3D;AAhamB,CAAvB,CAAA;;", +"sources":["com/cognitect/transit/handlers.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.handlers\");\ngoog.require(\"com.cognitect.transit.util\");\ngoog.require(\"com.cognitect.transit.types\");\ngoog.require(\"goog.math.Long\");\n\ngoog.scope(function () {\n\n var handlers = com.cognitect.transit.handlers,\n util = com.cognitect.transit.util,\n types = com.cognitect.transit.types,\n Long = goog.math.Long;\n\n handlers.ctorGuid = 0;\n\n /**\n * @const\n * @type {string}\n */\n handlers.ctorGuidProperty = \"transit$guid$\" + util.randomUUID();\n\n handlers.typeTag = function (ctor) {\n if (ctor == null) {\n return \"null\";\n } else if (ctor === String) {\n return \"string\";\n } else if (ctor === Boolean) {\n return \"boolean\";\n } else if (ctor === Number) {\n return \"number\";\n } else if (ctor === Array) {\n return \"array\";\n } else if (ctor === Object) {\n return \"map\";\n } else {\n var tag = ctor[handlers.ctorGuidProperty];\n if (tag == null) {\n if (typeof Object.defineProperty != \"undefined\") {\n tag = ++handlers.ctorGuid;\n Object.defineProperty(ctor, handlers.ctorGuidProperty, {\n value: tag,\n enumerable: false\n });\n } else {\n ctor[handlers.ctorGuidProperty] = tag = ++handlers.ctorGuid;\n }\n }\n return tag;\n }\n };\n\n handlers.constructor = function (x) {\n if (x == null) {\n return null;\n } else {\n return x.constructor;\n }\n };\n\n handlers.padZeros = function (n, m) {\n var s = n.toString();\n for (var i = s.length; i < m; i++) {\n s = \"0\" + s;\n }\n return s;\n };\n\n handlers.stringableKeys = function (m) {\n var stringable = false,\n ks = util.objectKeys(m);\n\n for (var i = 0; i < ks.length; i++) {\n }\n\n return true;\n };\n\n /**\n * @constructor\n */\n handlers.NilHandler = function Transit$NilHandler() {\n };\n handlers.NilHandler.prototype.tag = function (v) {\n return \"_\";\n };\n handlers.NilHandler.prototype.rep = function (v) {\n return null;\n };\n handlers.NilHandler.prototype.stringRep = function (v) {\n return \"null\";\n };\n\n /**\n * @constructor\n */\n handlers.StringHandler = function Transit$StringHandler() {\n };\n handlers.StringHandler.prototype.tag = function (v) {\n return \"s\";\n };\n handlers.StringHandler.prototype.rep = function (v) {\n return v;\n };\n handlers.StringHandler.prototype.stringRep = function (v) {\n return v;\n };\n\n /**\n * @constructor\n */\n handlers.NumberHandler = function Transit$NumberHandler() {\n };\n handlers.NumberHandler.prototype.tag = function (v) {\n return \"i\";\n };\n handlers.NumberHandler.prototype.rep = function (v) {\n return v;\n };\n handlers.NumberHandler.prototype.stringRep = function (v) {\n return v.toString();\n };\n\n /**\n * @constructor\n */\n handlers.IntegerHandler = function Transit$IntegerHandler() {\n };\n handlers.IntegerHandler.prototype.tag = function (v) {\n return \"i\";\n };\n handlers.IntegerHandler.prototype.rep = function (v) {\n return v.toString();\n };\n handlers.IntegerHandler.prototype.stringRep = function (v) {\n return v.toString();\n };\n\n /**\n * @constructor\n */\n handlers.BooleanHandler = function Transit$BooleanHandler() {\n };\n handlers.BooleanHandler.prototype.tag = function (v) {\n return \"?\";\n };\n handlers.BooleanHandler.prototype.rep = function (v) {\n return v;\n };\n handlers.BooleanHandler.prototype.stringRep = function (v) {\n return v.toString();\n };\n\n /**\n * @constructor\n */\n handlers.ArrayHandler = function Transit$ArrayHandler() {\n };\n handlers.ArrayHandler.prototype.tag = function (v) {\n return \"array\";\n };\n handlers.ArrayHandler.prototype.rep = function (v) {\n return v;\n };\n handlers.ArrayHandler.prototype.stringRep = function (v) {\n return null;\n };\n\n /**\n * @constructor\n */\n handlers.MapHandler = function Transit$MapHandler() {\n };\n handlers.MapHandler.prototype.tag = function (v) {\n return \"map\";\n };\n handlers.MapHandler.prototype.rep = function (v) {\n return v;\n };\n handlers.MapHandler.prototype.stringRep = function (v) {\n return null;\n };\n\n /**\n * @constructor\n */\n handlers.VerboseDateHandler = function Transit$VerboseDateHandler() {\n };\n handlers.VerboseDateHandler.prototype.tag = function (v) {\n return \"t\";\n };\n handlers.VerboseDateHandler.prototype.rep = function (v) {\n return v.getUTCFullYear() + \"-\" + handlers.padZeros(v.getUTCMonth() + 1, 2) + \"-\" +\n handlers.padZeros(v.getUTCDate(), 2) + \"T\" + handlers.padZeros(v.getUTCHours(), 2) + \":\" +\n handlers.padZeros(v.getUTCMinutes(), 2) + \":\" + handlers.padZeros(v.getUTCSeconds(), 2) + \".\" +\n handlers.padZeros(v.getUTCMilliseconds(), 3) + \"Z\";\n };\n handlers.VerboseDateHandler.prototype.stringRep = function (v, h) {\n return h.rep(v);\n };\n\n /**\n * @constructor\n */\n handlers.DateHandler = function Transit$DateHandler() {\n };\n handlers.DateHandler.prototype.tag = function (v) {\n return \"m\";\n };\n handlers.DateHandler.prototype.rep = function (v) {\n return v.valueOf();\n };\n handlers.DateHandler.prototype.stringRep = function (v) {\n return v.valueOf().toString();\n };\n handlers.DateHandler.prototype.getVerboseHandler = function (v) {\n return new handlers.VerboseDateHandler();\n };\n\n /**\n * @constructor\n */\n handlers.UUIDHandler = function Transit$UUIDHandler() {\n };\n handlers.UUIDHandler.prototype.tag = function (v) {\n return \"u\";\n };\n handlers.UUIDHandler.prototype.rep = function (v) {\n return v.toString();\n };\n handlers.UUIDHandler.prototype.stringRep = function (v) {\n return v.toString();\n };\n\n /**\n * @constructor\n */\n handlers.KeywordHandler = function Transit$KeywordHandler() {\n };\n handlers.KeywordHandler.prototype.tag = function (v) {\n return \":\";\n };\n handlers.KeywordHandler.prototype.rep = function (v) {\n return v._name;\n }; // NOTE: should be fqn\n handlers.KeywordHandler.prototype.stringRep = function (v, h) {\n return h.rep(v);\n };\n\n /**\n * @constructor\n */\n handlers.SymbolHandler = function Transit$SymbolHandler() {\n };\n handlers.SymbolHandler.prototype.tag = function (v) {\n return \"$\";\n };\n handlers.SymbolHandler.prototype.rep = function (v) {\n return v._name;\n }; // NOTE: should be str\n handlers.SymbolHandler.prototype.stringRep = function (v, h) {\n return h.rep(v);\n };\n\n /**\n * @constructor\n */\n handlers.TaggedHandler = function Transit$TaggedHandler() {\n };\n handlers.TaggedHandler.prototype.tag = function (v) {\n return v.tag;\n };\n handlers.TaggedHandler.prototype.rep = function (v) {\n return v.rep;\n };\n handlers.TaggedHandler.prototype.stringRep = function (v, h) {\n return null;\n };\n\n /**\n * @constructor\n */\n handlers.TransitSetHandler = function Transit$TransitSetHandler() {\n };\n handlers.TransitSetHandler.prototype.tag = function (v) {\n return \"set\";\n };\n handlers.TransitSetHandler.prototype.rep = function (v) {\n var arr = [];\n v.forEach(function (key, set) {\n arr.push(key);\n });\n return types.taggedValue(\"array\", arr);\n };\n handlers.TransitSetHandler.prototype.stringRep = function (v, h) {\n return null;\n };\n\n /**\n * @constructor\n */\n handlers.TransitArrayMapHandler = function Transit$ArrayMapHandler() {\n };\n handlers.TransitArrayMapHandler.prototype.tag = function (v) {\n return \"map\";\n };\n handlers.TransitArrayMapHandler.prototype.rep = function (v) {\n return v;\n };\n handlers.TransitArrayMapHandler.prototype.stringRep = function (v, h) {\n return null;\n };\n\n /**\n * @constructor\n */\n handlers.TransitMapHandler = function Transit$MapHandler() {\n };\n handlers.TransitMapHandler.prototype.tag = function (v) {\n return \"map\";\n };\n handlers.TransitMapHandler.prototype.rep = function (v) {\n return v;\n };\n handlers.TransitMapHandler.prototype.stringRep = function (v, h) {\n return null;\n };\n\n /**\n * @constructor\n */\n handlers.BufferHandler = function Transit$BufferHandler() {\n };\n handlers.BufferHandler.prototype.tag = function (v) {\n return \"b\";\n };\n handlers.BufferHandler.prototype.rep = function (v) {\n return v.toString(\"base64\");\n };\n handlers.BufferHandler.prototype.stringRep = function (v, h) {\n return null;\n };\n\n /**\n * @constructor\n */\n handlers.Uint8ArrayHandler = function Transit$Uint8ArrayHandler() {\n };\n handlers.Uint8ArrayHandler.prototype.tag = function (v) {\n return \"b\";\n };\n handlers.Uint8ArrayHandler.prototype.rep = function (v) {\n return util.Uint8ToBase64(v);\n };\n handlers.Uint8ArrayHandler.prototype.stringRep = function (v, h) {\n return null;\n };\n\n handlers.defaultHandlers = function (hs) {\n hs.set(null, new handlers.NilHandler());\n hs.set(String, new handlers.StringHandler());\n hs.set(Number, new handlers.NumberHandler());\n hs.set(Long, new handlers.IntegerHandler());\n hs.set(Boolean, new handlers.BooleanHandler());\n hs.set(Array, new handlers.ArrayHandler());\n hs.set(Object, new handlers.MapHandler());\n hs.set(Date, new handlers.DateHandler());\n hs.set(types.UUID, new handlers.UUIDHandler());\n hs.set(types.Keyword, new handlers.KeywordHandler());\n hs.set(types.Symbol, new handlers.SymbolHandler());\n hs.set(types.TaggedValue, new handlers.TaggedHandler());\n hs.set(types.TransitSet, new handlers.TransitSetHandler());\n hs.set(types.TransitArrayMap, new handlers.TransitArrayMapHandler());\n hs.set(types.TransitMap, new handlers.TransitMapHandler());\n\n if (typeof goog.global.Buffer != \"undefined\") {\n hs.set(goog.global.Buffer, new handlers.BufferHandler());\n }\n\n if (typeof Uint8Array != \"undefined\") {\n hs.set(Uint8Array, new handlers.Uint8ArrayHandler());\n }\n\n return hs;\n };\n\n /**\n * @constructor\n */\n handlers.Handlers = function Transit$Handlers() {\n this.handlers = {};\n handlers.defaultHandlers(this);\n };\n\n handlers.Handlers.prototype.get = function (ctor) {\n var h = null;\n if (typeof ctor === \"string\") {\n h = this.handlers[ctor];\n } else {\n h = this.handlers[handlers.typeTag(ctor)];\n }\n if (h != null) {\n return h;\n } else {\n return this.handlers[\"default\"];\n }\n };\n handlers.Handlers.prototype[\"get\"] = handlers.Handlers.prototype.get;\n\n handlers.validTag = function (tag) {\n switch (tag) {\n case \"null\":\n case \"string\":\n case \"boolean\":\n case \"number\":\n case \"array\":\n case \"map\":\n return false;\n break;\n }\n return true;\n };\n\n handlers.Handlers.prototype.set = function (ctor, handler) {\n if (typeof ctor === \"string\" && handlers.validTag(ctor)) {\n this.handlers[ctor] = handler;\n } else {\n this.handlers[handlers.typeTag(ctor)] = handler;\n }\n };\n\n}); \n"], +"names":["goog","provide","require","scope","handlers","com","cognitect","transit","util","types","Long","math","ctorGuid","ctorGuidProperty","randomUUID","typeTag","handlers.typeTag","ctor","String","Boolean","Number","Array","Object","tag","defineProperty","value","enumerable","constructor","handlers.constructor","x","padZeros","handlers.padZeros","n","m","s","toString","i","length","stringableKeys","handlers.stringableKeys","stringable","ks","objectKeys","NilHandler","handlers.NilHandler","Transit$NilHandler","prototype","handlers.NilHandler.prototype.tag","v","rep","handlers.NilHandler.prototype.rep","stringRep","handlers.NilHandler.prototype.stringRep","StringHandler","handlers.StringHandler","Transit$StringHandler","handlers.StringHandler.prototype.tag","handlers.StringHandler.prototype.rep","handlers.StringHandler.prototype.stringRep","NumberHandler","handlers.NumberHandler","Transit$NumberHandler","handlers.NumberHandler.prototype.tag","handlers.NumberHandler.prototype.rep","handlers.NumberHandler.prototype.stringRep","IntegerHandler","handlers.IntegerHandler","Transit$IntegerHandler","handlers.IntegerHandler.prototype.tag","handlers.IntegerHandler.prototype.rep","handlers.IntegerHandler.prototype.stringRep","BooleanHandler","handlers.BooleanHandler","Transit$BooleanHandler","handlers.BooleanHandler.prototype.tag","handlers.BooleanHandler.prototype.rep","handlers.BooleanHandler.prototype.stringRep","ArrayHandler","handlers.ArrayHandler","Transit$ArrayHandler","handlers.ArrayHandler.prototype.tag","handlers.ArrayHandler.prototype.rep","handlers.ArrayHandler.prototype.stringRep","MapHandler","handlers.MapHandler","Transit$MapHandler","handlers.MapHandler.prototype.tag","handlers.MapHandler.prototype.rep","handlers.MapHandler.prototype.stringRep","VerboseDateHandler","handlers.VerboseDateHandler","Transit$VerboseDateHandler","handlers.VerboseDateHandler.prototype.tag","handlers.VerboseDateHandler.prototype.rep","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","handlers.VerboseDateHandler.prototype.stringRep","h","DateHandler","handlers.DateHandler","Transit$DateHandler","handlers.DateHandler.prototype.tag","handlers.DateHandler.prototype.rep","valueOf","handlers.DateHandler.prototype.stringRep","getVerboseHandler","handlers.DateHandler.prototype.getVerboseHandler","UUIDHandler","handlers.UUIDHandler","Transit$UUIDHandler","handlers.UUIDHandler.prototype.tag","handlers.UUIDHandler.prototype.rep","handlers.UUIDHandler.prototype.stringRep","KeywordHandler","handlers.KeywordHandler","Transit$KeywordHandler","handlers.KeywordHandler.prototype.tag","handlers.KeywordHandler.prototype.rep","_name","handlers.KeywordHandler.prototype.stringRep","SymbolHandler","handlers.SymbolHandler","Transit$SymbolHandler","handlers.SymbolHandler.prototype.tag","handlers.SymbolHandler.prototype.rep","handlers.SymbolHandler.prototype.stringRep","TaggedHandler","handlers.TaggedHandler","Transit$TaggedHandler","handlers.TaggedHandler.prototype.tag","handlers.TaggedHandler.prototype.rep","handlers.TaggedHandler.prototype.stringRep","TransitSetHandler","handlers.TransitSetHandler","Transit$TransitSetHandler","handlers.TransitSetHandler.prototype.tag","handlers.TransitSetHandler.prototype.rep","arr","forEach","key","set","push","taggedValue","handlers.TransitSetHandler.prototype.stringRep","TransitArrayMapHandler","handlers.TransitArrayMapHandler","Transit$ArrayMapHandler","handlers.TransitArrayMapHandler.prototype.tag","handlers.TransitArrayMapHandler.prototype.rep","handlers.TransitArrayMapHandler.prototype.stringRep","TransitMapHandler","handlers.TransitMapHandler","handlers.TransitMapHandler.prototype.tag","handlers.TransitMapHandler.prototype.rep","handlers.TransitMapHandler.prototype.stringRep","BufferHandler","handlers.BufferHandler","Transit$BufferHandler","handlers.BufferHandler.prototype.tag","handlers.BufferHandler.prototype.rep","handlers.BufferHandler.prototype.stringRep","Uint8ArrayHandler","handlers.Uint8ArrayHandler","Transit$Uint8ArrayHandler","handlers.Uint8ArrayHandler.prototype.tag","handlers.Uint8ArrayHandler.prototype.rep","Uint8ToBase64","handlers.Uint8ArrayHandler.prototype.stringRep","defaultHandlers","handlers.defaultHandlers","hs","Date","UUID","Keyword","Symbol","TaggedValue","TransitSet","TransitArrayMap","TransitMap","global","Buffer","Uint8Array","Handlers","handlers.Handlers","Transit$Handlers","get","handlers.Handlers.prototype.get","validTag","handlers.validTag","handlers.Handlers.prototype.set","handler"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.impl.decoder.js b/out/cljs-runtime/com.cognitect.transit.impl.decoder.js new file mode 100644 index 0000000..782cdfe --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.impl.decoder.js @@ -0,0 +1,281 @@ +goog.provide("com.cognitect.transit.impl.decoder"); +goog.require("com.cognitect.transit.util"); +goog.require("com.cognitect.transit.delimiters"); +goog.require("com.cognitect.transit.caching"); +goog.require("com.cognitect.transit.types"); +goog.scope(function() { + var decoder = com.cognitect.transit.impl.decoder; + var util = com.cognitect.transit.util; + var d = com.cognitect.transit.delimiters; + var caching = com.cognitect.transit.caching; + var types = com.cognitect.transit.types; + decoder.Tag = function Transit$Tag(s) { + this.str = s; + }; + decoder.tag = function(s) { + return new decoder.Tag(s); + }; + decoder.isTag = function(x) { + return x && x instanceof decoder.Tag; + }; + decoder.isGroundHandler = function(handler) { + switch(handler) { + case "_": + case "s": + case "?": + case "i": + case "d": + case "b": + case "'": + case "array": + case "map": + return true; + } + return false; + }; + decoder.Decoder = function Transit$Decoder(options) { + this.options = options || {}; + this.handlers = {}; + var h; + for (h in this.defaults.handlers) { + this.handlers[h] = this.defaults.handlers[h]; + } + for (h in this.options["handlers"]) { + if (decoder.isGroundHandler(h)) { + throw new Error('Cannot override handler for ground type "' + h + '"'); + } + this.handlers[h] = this.options["handlers"][h]; + } + this.preferStrings = this.options["preferStrings"] != null ? this.options["preferStrings"] : this.defaults.preferStrings; + this.preferBuffers = this.options["preferBuffers"] != null ? this.options["preferBuffers"] : this.defaults.preferBuffers; + this.defaultHandler = this.options["defaultHandler"] || this.defaults.defaultHandler; + this.mapBuilder = this.options["mapBuilder"]; + this.arrayBuilder = this.options["arrayBuilder"]; + }; + decoder.Decoder.prototype.defaults = {handlers:{"_":function(v, d) { + return types.nullValue(); + }, "?":function(v, d) { + return types.boolValue(v); + }, "b":function(v, d) { + return types.binary(v, d); + }, "i":function(v, d) { + return types.intValue(v); + }, "n":function(v, d) { + return types.bigInteger(v); + }, "d":function(v, d) { + return types.floatValue(v); + }, "f":function(v, d) { + return types.bigDecimalValue(v); + }, "c":function(v, d) { + return types.charValue(v); + }, ":":function(v, d) { + return types.keyword(v); + }, "$":function(v, d) { + return types.symbol(v); + }, "r":function(v, d) { + return types.uri(v); + }, "z":function(v, d) { + return types.specialDouble(v); + }, "'":function(v, d) { + return v; + }, "m":function(v, d) { + return types.date(v); + }, "t":function(v, d) { + return types.verboseDate(v); + }, "u":function(v, d) { + return types.uuid(v); + }, "set":function(v, d) { + return types.set(v); + }, "list":function(v, d) { + return types.list(v); + }, "link":function(v, d) { + return types.link(v); + }, "cmap":function(v, d) { + return types.map(v, false); + }}, defaultHandler:function(c, val) { + return types.taggedValue(c, val); + }, preferStrings:true, preferBuffers:true}; + decoder.Decoder.prototype.decode = function(node, cache, asMapKey, tagValue) { + if (node == null) { + return null; + } + var t = typeof node; + switch(t) { + case "string": + return this.decodeString(node, cache, asMapKey, tagValue); + break; + case "object": + if (util.isArray(node)) { + if (node[0] === "^ ") { + return this.decodeArrayHash(node, cache, asMapKey, tagValue); + } else { + return this.decodeArray(node, cache, asMapKey, tagValue); + } + } else { + return this.decodeHash(node, cache, asMapKey, tagValue); + } + break; + } + return node; + }; + decoder.Decoder.prototype["decode"] = decoder.Decoder.prototype.decode; + decoder.Decoder.prototype.decodeString = function(string, cache, asMapKey, tagValue) { + if (caching.isCacheable(string, asMapKey)) { + var val = this.parseString(string, cache, false); + if (cache) { + cache.write(val, asMapKey); + } + return val; + } else if (caching.isCacheCode(string)) { + return cache.read(string, asMapKey); + } else { + return this.parseString(string, cache, asMapKey); + } + }; + decoder.Decoder.prototype.decodeHash = function(hash, cache, asMapKey, tagValue) { + var ks = util.objectKeys(hash); + var key = ks[0]; + var tag = ks.length == 1 ? this.decode(key, cache, false, false) : null; + if (decoder.isTag(tag)) { + var val = hash[key]; + var handler = this.handlers[tag.str]; + if (handler != null) { + return handler(this.decode(val, cache, false, true), this); + } else { + return types.taggedValue(tag.str, this.decode(val, cache, false, false)); + } + } else if (this.mapBuilder) { + if (ks.length < types.SMALL_ARRAY_MAP_THRESHOLD * 2 && this.mapBuilder.fromArray) { + var nodep = []; + var i = 0; + for (; i < ks.length; i++) { + var strKey = ks[i]; + nodep.push(this.decode(strKey, cache, true, false)); + nodep.push(this.decode(hash[strKey], cache, false, false)); + } + return this.mapBuilder.fromArray(nodep, hash); + } else { + var ret = this.mapBuilder.init(hash); + i = 0; + for (; i < ks.length; i++) { + strKey = ks[i]; + ret = this.mapBuilder.add(ret, this.decode(strKey, cache, true, false), this.decode(hash[strKey], cache, false, false), hash); + } + return this.mapBuilder.finalize(ret, hash); + } + } else { + nodep = []; + i = 0; + for (; i < ks.length; i++) { + strKey = ks[i]; + nodep.push(this.decode(strKey, cache, true, false)); + nodep.push(this.decode(hash[strKey], cache, false, false)); + } + return types.map(nodep, false); + } + }; + decoder.Decoder.prototype.decodeArrayHash = function(node, cache, asMapKey, tagValue) { + if (this.mapBuilder) { + if (node.length < types.SMALL_ARRAY_MAP_THRESHOLD * 2 + 1 && this.mapBuilder.fromArray) { + var nodep = []; + var i = 1; + for (; i < node.length; i = i + 2) { + nodep.push(this.decode(node[i], cache, true, false)); + nodep.push(this.decode(node[i + 1], cache, false, false)); + } + return this.mapBuilder.fromArray(nodep, node); + } else { + var ret = this.mapBuilder.init(node); + i = 1; + for (; i < node.length; i = i + 2) { + ret = this.mapBuilder.add(ret, this.decode(node[i], cache, true, false), this.decode(node[i + 1], cache, false, false), node); + } + return this.mapBuilder.finalize(ret, node); + } + } else { + nodep = []; + i = 1; + for (; i < node.length; i = i + 2) { + nodep.push(this.decode(node[i], cache, true, false)); + nodep.push(this.decode(node[i + 1], cache, false, false)); + } + return types.map(nodep, false); + } + }; + decoder.Decoder.prototype.decodeArray = function(node, cache, asMapKey, tagValue) { + if (tagValue) { + var ret = []; + var i = 0; + for (; i < node.length; i++) { + ret.push(this.decode(node[i], cache, asMapKey, false)); + } + return ret; + } else { + var cacheIdx = cache && cache.idx; + if (node.length === 2 && typeof node[0] === "string") { + var tag = this.decode(node[0], cache, false, false); + if (decoder.isTag(tag)) { + var val = node[1]; + var handler = this.handlers[tag.str]; + if (handler != null) { + ret = handler(this.decode(val, cache, asMapKey, true), this); + return ret; + } else { + return types.taggedValue(tag.str, this.decode(val, cache, asMapKey, false)); + } + } + } + if (cache && cacheIdx != cache.idx) { + cache.idx = cacheIdx; + } + if (this.arrayBuilder) { + if (node.length <= 32 && this.arrayBuilder.fromArray) { + var arr = []; + i = 0; + for (; i < node.length; i++) { + arr.push(this.decode(node[i], cache, asMapKey, false)); + } + return this.arrayBuilder.fromArray(arr, node); + } else { + ret = this.arrayBuilder.init(node); + i = 0; + for (; i < node.length; i++) { + ret = this.arrayBuilder.add(ret, this.decode(node[i], cache, asMapKey, false), node); + } + return this.arrayBuilder.finalize(ret, node); + } + } else { + ret = []; + i = 0; + for (; i < node.length; i++) { + ret.push(this.decode(node[i], cache, asMapKey, false)); + } + return ret; + } + } + }; + decoder.Decoder.prototype.parseString = function(string, cache, asMapKey) { + if (string.charAt(0) === d.ESC) { + var c = string.charAt(1); + if (c === d.ESC || c === d.SUB || c === d.RES) { + return string.substring(1); + } else if (c === d.TAG) { + return decoder.tag(string.substring(2)); + } else { + var handler = this.handlers[c]; + if (handler == null) { + return this.defaultHandler(c, string.substring(2)); + } else { + return handler(string.substring(2), this); + } + } + } else { + return string; + } + }; + decoder.decoder = function(options) { + return new decoder.Decoder(options); + }; +}); + +//# sourceMappingURL=com.cognitect.transit.impl.decoder.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.impl.decoder.js.map b/out/cljs-runtime/com.cognitect.transit.impl.decoder.js.map new file mode 100644 index 0000000..89a642b --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.impl.decoder.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.impl.decoder.js", +"lineCount":280, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,oCAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,4BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,kCAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,+BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,6BAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAS,EAAG;AAAA,MAEfC,UAAUC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQC,CAAAA,IAAKJ,CAAAA,OAFtB;AAAA,MAGfK,OAAUJ,GAAIC,CAAAA,SAAUC,CAAAA,OAAQE,CAAAA,IAHjB;AAAA,MAIfC,IAAUL,GAAIC,CAAAA,SAAUC,CAAAA,OAAQI,CAAAA,UAJjB;AAAA,MAKfC,UAAUP,GAAIC,CAAAA,SAAUC,CAAAA,OAAQK,CAAAA,OALjB;AAEnB,MAIIC,QAAUR,GAAIC,CAAAA,SAAUC,CAAAA,OAAQM,CAAAA,KAJpC;AAYAT,SAAQU,CAAAA,GAAR,GAAcC,QAASC,YAAW,CAACC,CAAD,CAAI;AAClC,QAAKC,CAAAA,GAAL,GAAWD,CAAX;AADkC,GAAtC;AAIAb,SAAQe,CAAAA,GAAR,GAAcC,QAAS,CAACH,CAAD,CAAI;AACvB,WAAO,IAAIb,OAAQU,CAAAA,GAAZ,CAAgBG,CAAhB,CAAP;AADuB,GAA3B;AAIAb,SAAQiB,CAAAA,KAAR,GAAgBC,QAAS,CAACC,CAAD,CAAI;AACzB,WAAOA,CAAP,IAAaA,CAAb,YA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,IAAf;AACI,iBAAO,IAAKW,CAAAA,cAAL,CAAoBkB,CAApB,EAAuBoC,MAAO+B,CAAAA,SAAP,CAAiB,CAAjB,CAAvB,CAAP;AADJ;AAGI,iBAAOhG,OAAA,CAAQiE,MAAO+B,CAAAA,SAAP,CAAiB,CAAjB,CAAR,EAA6B,IAA7B,CAAP;AAHJ;AAFG;AANqB,KAAhC;AAeI,aAAO/B,MAAP;AAfJ;AADuE,GAA3E;AAoBAvF,SAAQA,CAAAA,OAAR,GAAkBwH,QAAS,CAAC9F,OAAD,CAAU;AACjC,WAAO,IAAI1B,OAAQuB,CAAAA,OAAZ,CAAoBG,OAApB,CAAP;AADiC,GAArC;AAnVmB,CAAvB,CAAA;;", +"sources":["com/cognitect/transit/impl/decoder.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.impl.decoder\");\ngoog.require(\"com.cognitect.transit.util\");\ngoog.require(\"com.cognitect.transit.delimiters\");\ngoog.require(\"com.cognitect.transit.caching\");\ngoog.require(\"com.cognitect.transit.types\");\n\ngoog.scope(function () {\n\n var decoder = com.cognitect.transit.impl.decoder,\n util = com.cognitect.transit.util,\n d = com.cognitect.transit.delimiters,\n caching = com.cognitect.transit.caching,\n types = com.cognitect.transit.types;\n\n // =========================================================================\n // Decoder\n\n /**\n * @constructor\n */\n decoder.Tag = function Transit$Tag(s) {\n this.str = s;\n };\n\n decoder.tag = function (s) {\n return new decoder.Tag(s);\n };\n\n decoder.isTag = function (x) {\n return x && (x instanceof decoder.Tag);\n };\n\n decoder.isGroundHandler = function (handler) {\n switch (handler) {\n case \"_\":\n case \"s\":\n case \"?\":\n case \"i\":\n case \"d\":\n case \"b\":\n case \"'\":\n case \"array\":\n case \"map\":\n return true;\n }\n return false;\n };\n\n /**\n * A transit decoder\n * @constructor\n */\n decoder.Decoder = function Transit$Decoder(options) {\n this.options = options || {};\n this.handlers = {};\n for (var h in this.defaults.handlers) {\n this.handlers[h] = this.defaults.handlers[h];\n }\n for (var h in this.options[\"handlers\"]) {\n if (decoder.isGroundHandler(h)) {\n throw new Error(\"Cannot override handler for ground type \\\"\" + h + \"\\\"\");\n }\n this.handlers[h] = this.options[\"handlers\"][h];\n }\n this.preferStrings = this.options[\"preferStrings\"] != null ? this.options[\"preferStrings\"] : this.defaults.preferStrings;\n this.preferBuffers = this.options[\"preferBuffers\"] != null ? this.options[\"preferBuffers\"] : this.defaults.preferBuffers;\n this.defaultHandler = this.options[\"defaultHandler\"] || this.defaults.defaultHandler;\n /* NOT PUBLIC */\n this.mapBuilder = this.options[\"mapBuilder\"];\n this.arrayBuilder = this.options[\"arrayBuilder\"];\n };\n\n\n decoder.Decoder.prototype.defaults = {\n handlers: {\n \"_\": function (v, d) {\n return types.nullValue();\n },\n \"?\": function (v, d) {\n return types.boolValue(v);\n },\n \"b\": function (v, d) {\n return types.binary(v, d);\n },\n \"i\": function (v, d) {\n return types.intValue(v);\n },\n \"n\": function (v, d) {\n return types.bigInteger(v);\n },\n \"d\": function (v, d) {\n return types.floatValue(v);\n },\n \"f\": function (v, d) {\n return types.bigDecimalValue(v);\n },\n \"c\": function (v, d) {\n return types.charValue(v);\n },\n \":\": function (v, d) {\n return types.keyword(v);\n },\n \"$\": function (v, d) {\n return types.symbol(v);\n },\n \"r\": function (v, d) {\n return types.uri(v);\n },\n \"z\": function (v, d) {\n return types.specialDouble(v);\n },\n\n // tagged\n \"'\": function (v, d) {\n return v;\n },\n \"m\": function (v, d) {\n return types.date(v);\n },\n \"t\": function (v, d) {\n return types.verboseDate(v);\n },\n \"u\": function (v, d) {\n return types.uuid(v);\n },\n \"set\": function (v, d) {\n return types.set(v);\n },\n \"list\": function (v, d) {\n return types.list(v);\n },\n \"link\": function (v, d) {\n return types.link(v);\n },\n \"cmap\": function (v, d) {\n return types.map(v, false);\n }\n },\n defaultHandler: function (c, val) {\n return types.taggedValue(c, val);\n },\n preferStrings: true,\n preferBuffers: true\n };\n\n /**\n * @param {*} node\n * @param {*} cache\n * @param {boolean=} asMapKey\n * @param {boolean=} tagValue\n * @returns {*}\n */\n decoder.Decoder.prototype.decode = function (node, cache, asMapKey, tagValue) {\n if (node == null) return null;\n\n var t = typeof node;\n\n switch (t) {\n case \"string\":\n return this.decodeString(node, cache, asMapKey, tagValue);\n break;\n case \"object\":\n if (util.isArray(node)) {\n if (node[0] === \"^ \") {\n return this.decodeArrayHash(node, cache, asMapKey, tagValue);\n } else {\n return this.decodeArray(node, cache, asMapKey, tagValue);\n }\n } else {\n return this.decodeHash(node, cache, asMapKey, tagValue);\n }\n break;\n }\n\n return node;\n };\n decoder.Decoder.prototype[\"decode\"] = decoder.Decoder.prototype.decode;\n\n decoder.Decoder.prototype.decodeString = function (string, cache, asMapKey, tagValue) {\n if (caching.isCacheable(string, asMapKey)) {\n var val = this.parseString(string, cache, false);\n if (cache) {\n cache.write(val, asMapKey);\n }\n return val;\n } else if (caching.isCacheCode(string)) {\n return cache.read(string, asMapKey);\n } else {\n return this.parseString(string, cache, asMapKey);\n }\n };\n\n decoder.Decoder.prototype.decodeHash = function (hash, cache, asMapKey, tagValue) {\n var ks = util.objectKeys(hash),\n key = ks[0],\n tag = ks.length == 1 ? this.decode(key, cache, false, false) : null;\n\n if (decoder.isTag(tag)) {\n var val = hash[key],\n handler = this.handlers[tag.str];\n if (handler != null) {\n return handler(this.decode(val, cache, false, true), this);\n } else {\n return types.taggedValue(tag.str, this.decode(val, cache, false, false));\n }\n } else if (this.mapBuilder) {\n if ((ks.length < (types.SMALL_ARRAY_MAP_THRESHOLD * 2)) && this.mapBuilder.fromArray) {\n var nodep = [];\n for (var i = 0; i < ks.length; i++) {\n var strKey = ks[i];\n nodep.push(this.decode(strKey, cache, true, false));\n nodep.push(this.decode(hash[strKey], cache, false, false));\n }\n return this.mapBuilder.fromArray(nodep, hash);\n } else {\n var ret = this.mapBuilder.init(hash);\n for (var i = 0; i < ks.length; i++) {\n var strKey = ks[i];\n ret = this.mapBuilder.add(ret,\n this.decode(strKey, cache, true, false),\n this.decode(hash[strKey], cache, false, false),\n hash);\n }\n return this.mapBuilder.finalize(ret, hash);\n }\n } else {\n var nodep = [];\n\n for (var i = 0; i < ks.length; i++) {\n var strKey = ks[i];\n nodep.push(this.decode(strKey, cache, true, false));\n nodep.push(this.decode(hash[strKey], cache, false, false));\n }\n\n return types.map(nodep, false);\n }\n };\n\n decoder.Decoder.prototype.decodeArrayHash = function (node, cache, asMapKey, tagValue) {\n if (this.mapBuilder) {\n if ((node.length < ((types.SMALL_ARRAY_MAP_THRESHOLD * 2) + 1)) && this.mapBuilder.fromArray) {\n var nodep = [];\n for (var i = 1; i < node.length; i += 2) {\n nodep.push(this.decode(node[i], cache, true, false));\n nodep.push(this.decode(node[i + 1], cache, false, false));\n }\n return this.mapBuilder.fromArray(nodep, node);\n } else {\n var ret = this.mapBuilder.init(node);\n for (var i = 1; i < node.length; i += 2) {\n ret = this.mapBuilder.add(ret,\n this.decode(node[i], cache, true, false),\n this.decode(node[i + 1], cache, false, false),\n node)\n }\n return this.mapBuilder.finalize(ret, node);\n }\n } else {\n var nodep = [];\n\n // collect keys\n for (var i = 1; i < node.length; i += 2) {\n nodep.push(this.decode(node[i], cache, true, false));\n nodep.push(this.decode(node[i + 1], cache, false, false));\n }\n\n return types.map(nodep, false);\n }\n };\n\n decoder.Decoder.prototype.decodeArray = function (node, cache, asMapKey, tagValue) {\n if (tagValue) {\n var ret = [];\n for (var i = 0; i < node.length; i++) {\n ret.push(this.decode(node[i], cache, asMapKey, false));\n }\n return ret;\n } else {\n var cacheIdx = cache && cache.idx;\n // tagged value as 2-array case\n if ((node.length === 2) &&\n (typeof node[0] === \"string\")) {\n var tag = this.decode(node[0], cache, false, false);\n if (decoder.isTag(tag)) {\n var val = node[1],\n handler = this.handlers[tag.str];\n if (handler != null) {\n var ret = handler(this.decode(val, cache, asMapKey, true), this);\n return ret;\n } else {\n return types.taggedValue(tag.str, this.decode(val, cache, asMapKey, false))\n }\n }\n }\n\n // rewind cache\n if (cache && (cacheIdx != cache.idx)) {\n cache.idx = cacheIdx;\n }\n\n if (this.arrayBuilder) {\n // NOTE: hard coded for ClojureScript for now - David\n if (node.length <= 32 && this.arrayBuilder.fromArray) {\n var arr = [];\n for (var i = 0; i < node.length; i++) {\n arr.push(this.decode(node[i], cache, asMapKey, false));\n }\n return this.arrayBuilder.fromArray(arr, node);\n } else {\n var ret = this.arrayBuilder.init(node);\n for (var i = 0; i < node.length; i++) {\n ret = this.arrayBuilder.add(ret, this.decode(node[i], cache, asMapKey, false), node);\n }\n return this.arrayBuilder.finalize(ret, node);\n }\n } else {\n var ret = [];\n for (var i = 0; i < node.length; i++) {\n ret.push(this.decode(node[i], cache, asMapKey, false));\n }\n return ret;\n }\n }\n };\n\n decoder.Decoder.prototype.parseString = function (string, cache, asMapKey) {\n if (string.charAt(0) === d.ESC) {\n var c = string.charAt(1);\n if (c === d.ESC || c === d.SUB || c === d.RES) {\n return string.substring(1);\n } else if (c === d.TAG) {\n return decoder.tag(string.substring(2));\n } else {\n var handler = this.handlers[c];\n if (handler == null) {\n return this.defaultHandler(c, string.substring(2));\n } else {\n return handler(string.substring(2), this);\n }\n }\n } else {\n return string;\n }\n };\n\n decoder.decoder = function (options) {\n return new decoder.Decoder(options);\n };\n\n});\n"], +"names":["goog","provide","require","scope","decoder","com","cognitect","transit","impl","util","d","delimiters","caching","types","Tag","decoder.Tag","Transit$Tag","s","str","tag","decoder.tag","isTag","decoder.isTag","x","isGroundHandler","decoder.isGroundHandler","handler","Decoder","decoder.Decoder","Transit$Decoder","options","handlers","h","defaults","Error","preferStrings","preferBuffers","defaultHandler","mapBuilder","arrayBuilder","prototype","_","v","nullValue","?","boolValue","b","binary","i","intValue","n","bigInteger","floatValue","f","bigDecimalValue","c","charValue",":","keyword","$","symbol","r","uri","z","specialDouble","'","m","date","t","verboseDate","u","uuid","set","list","link","cmap","map","val","taggedValue","decode","decoder.Decoder.prototype.decode","node","cache","asMapKey","tagValue","decodeString","isArray","decodeArrayHash","decodeArray","decodeHash","decoder.Decoder.prototype.decodeString","string","isCacheable","parseString","write","isCacheCode","read","decoder.Decoder.prototype.decodeHash","hash","ks","objectKeys","key","length","SMALL_ARRAY_MAP_THRESHOLD","fromArray","nodep","strKey","push","ret","init","add","finalize","decoder.Decoder.prototype.decodeArrayHash","decoder.Decoder.prototype.decodeArray","cacheIdx","idx","arr","decoder.Decoder.prototype.parseString","charAt","ESC","SUB","RES","substring","TAG","decoder.decoder"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.impl.reader.js b/out/cljs-runtime/com.cognitect.transit.impl.reader.js new file mode 100644 index 0000000..d8a49c2 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.impl.reader.js @@ -0,0 +1,27 @@ +goog.provide("com.cognitect.transit.impl.reader"); +goog.require("com.cognitect.transit.impl.decoder"); +goog.require("com.cognitect.transit.caching"); +goog.scope(function() { + var reader = com.cognitect.transit.impl.reader; + var decoder = com.cognitect.transit.impl.decoder; + var caching = com.cognitect.transit.caching; + reader.JSONUnmarshaller = function Transit$JSONUnmarshaller(opts) { + this.decoder = new decoder.Decoder(opts); + }; + reader.JSONUnmarshaller.prototype.unmarshal = function(str, cache) { + return this.decoder.decode(JSON.parse(str), cache); + }; + reader.Reader = function Transit$Reader(unmarshaller, options) { + this.unmarshaller = unmarshaller; + this.options = options || {}; + this.cache = this.options["cache"] ? this.options["cache"] : new caching.ReadCache(); + }; + reader.Reader.prototype.read = function(str) { + var ret = this.unmarshaller.unmarshal(str, this.cache); + this.cache.clear(); + return ret; + }; + reader.Reader.prototype["read"] = reader.Reader.prototype.read; +}); + +//# sourceMappingURL=com.cognitect.transit.impl.reader.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.impl.reader.js.map b/out/cljs-runtime/com.cognitect.transit.impl.reader.js.map new file mode 100644 index 0000000..464762f --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.impl.reader.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.impl.reader.js", +"lineCount":26, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,mCAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,oCAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,+BAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAS,EAAG;AAAA,MAEfC,SAAUC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQC,CAAAA,IAAKJ,CAAAA,MAFtB;AAAA,MAGfK,UAAUJ,GAAIC,CAAAA,SAAUC,CAAAA,OAAQC,CAAAA,IAAKC,CAAAA,OAHtB;AAEnB,MAEIC,UAAUL,GAAIC,CAAAA,SAAUC,CAAAA,OAAQG,CAAAA,OAFpC;AAQAN,QAAOO,CAAAA,gBAAP,GAA0BC,QAASC,yBAAwB,CAACC,IAAD,CAAO;AAC9D,QAAKL,CAAAA,OAAL,GAAe,IAAIA,OAAQM,CAAAA,OAAZ,CAAoBD,IAApB,CAAf;AAD8D,GAAlE;AASAV,QAAOO,CAAAA,gBAAiBK,CAAAA,SAAUC,CAAAA,SAAlC,GAA8CC,QAAS,CAACC,GAAD,EAAMC,KAAN,CAAa;AAChE,WAAO,IAAKX,CAAAA,OAAQY,CAAAA,MAAb,CAAoBC,IAAKC,CAAAA,KAAL,CAAWJ,GAAX,CAApB,EAAqCC,KAArC,CAAP;AADgE,GAApE;AAUAhB,QAAOoB,CAAAA,MAAP,GAAgBC,QAASC,eAAc,CAACC,YAAD,EAAeC,OAAf,CAAwB;AAC3D,QAAKD,CAAAA,YAAL,GAAoBA,YAApB;AACA,QAAKC,CAAAA,OAAL,GAAeA,OAAf,IAA0B,EAA1B;AACA,QAAKR,CAAAA,KAAL,GAAa,IAAKQ,CAAAA,OAAL,CAAa,OAAb,CAAA,GAAwB,IAAKA,CAAAA,OAAL,CAAa,OAAb,CAAxB,GAAgD,IAAIlB,OAAQmB,CAAAA,SAAZ,EAA7D;AAH2D,GAA/D;AAUAzB,QAAOoB,CAAAA,MAAOR,CAAAA,SAAUc,CAAAA,IAAxB,GAA+BC,QAAS,CAACZ,GAAD,CAAM;AAC1C,QAAIa,MAAM,IAAKL,CAAAA,YAAaV,CAAAA,SAAlB,CAA4BE,GAA5B,EAAiC,IAAKC,CAAAA,KAAtC,CAAV;AACA,QAAKA,CAAAA,KAAMa,CAAAA,KAAX,EAAA;AACA,WAAOD,GAAP;AAH0C,GAA9C;AAKA5B,QAAOoB,CAAAA,MAAOR,CAAAA,SAAd,CAAwB,MAAxB,CAAA,GAAkCZ,MAAOoB,CAAAA,MAAOR,CAAAA,SAAUc,CAAAA,IAA1D;AA5CmB,CAAvB,CAAA;;", +"sources":["com/cognitect/transit/impl/reader.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.impl.reader\");\ngoog.require(\"com.cognitect.transit.impl.decoder\");\ngoog.require(\"com.cognitect.transit.caching\");\n\ngoog.scope(function () {\n\n var reader = com.cognitect.transit.impl.reader,\n decoder = com.cognitect.transit.impl.decoder,\n caching = com.cognitect.transit.caching;\n\n /**\n * A JSON unmarshaller\n * @constructor\n */\n reader.JSONUnmarshaller = function Transit$JSONUnmarshaller(opts) {\n this.decoder = new decoder.Decoder(opts);\n };\n\n /**\n * @param {string} str a JSON string\n * @param {caching.ReadCache} cache a read cache\n * @returns {*}\n */\n reader.JSONUnmarshaller.prototype.unmarshal = function (str, cache) {\n return this.decoder.decode(JSON.parse(str), cache);\n };\n\n /**\n * A transit reader\n * @constructor\n * @param {reader.JSONUnmarshaller} unmarshaller\n * @param {Object=} options\n */\n reader.Reader = function Transit$Reader(unmarshaller, options) {\n this.unmarshaller = unmarshaller;\n this.options = options || {};\n this.cache = this.options[\"cache\"] ? this.options[\"cache\"] : new caching.ReadCache();\n };\n\n /**\n * @param {string} str a string to be read\n * @returns {*}\n */\n reader.Reader.prototype.read = function (str) {\n var ret = this.unmarshaller.unmarshal(str, this.cache)\n this.cache.clear();\n return ret;\n };\n reader.Reader.prototype[\"read\"] = reader.Reader.prototype.read;\n\n});\n"], +"names":["goog","provide","require","scope","reader","com","cognitect","transit","impl","decoder","caching","JSONUnmarshaller","reader.JSONUnmarshaller","Transit$JSONUnmarshaller","opts","Decoder","prototype","unmarshal","reader.JSONUnmarshaller.prototype.unmarshal","str","cache","decode","JSON","parse","Reader","reader.Reader","Transit$Reader","unmarshaller","options","ReadCache","read","reader.Reader.prototype.read","ret","clear"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.impl.writer.js b/out/cljs-runtime/com.cognitect.transit.impl.writer.js new file mode 100644 index 0000000..25e62d3 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.impl.writer.js @@ -0,0 +1,440 @@ +goog.provide("com.cognitect.transit.impl.writer"); +goog.require("com.cognitect.transit.util"); +goog.require("com.cognitect.transit.caching"); +goog.require("com.cognitect.transit.handlers"); +goog.require("com.cognitect.transit.types"); +goog.require("com.cognitect.transit.delimiters"); +goog.require("goog.math.Long"); +goog.scope(function() { + var writer = com.cognitect.transit.impl.writer; + var util = com.cognitect.transit.util; + var caching = com.cognitect.transit.caching; + var handlers = com.cognitect.transit.handlers; + var types = com.cognitect.transit.types; + var d = com.cognitect.transit.delimiters; + var Long = goog.math.Long; + writer.escape = function(string) { + if (string.length > 0) { + var c = string.charAt(0); + if (c === d.ESC || c === d.SUB || c === d.RES) { + return d.ESC + string; + } else { + return string; + } + } else { + return string; + } + }; + writer.JSONMarshaller = function Transit$JSONMarshaller(opts) { + this.opts = opts || {}; + this.preferStrings = this.opts["preferStrings"] != null ? this.opts["preferStrings"] : true; + this.objectBuilder = this.opts["objectBuilder"] || null; + this.transform = this.opts["transform"] || null; + this.handlers = new handlers.Handlers(); + var optsHandlers = this.opts["handlers"]; + if (optsHandlers) { + if (util.isArray(optsHandlers) || !optsHandlers.forEach) { + throw new Error('transit writer "handlers" option must be a map'); + } + var self = this; + optsHandlers.forEach(function(v, k) { + if (k !== undefined) { + self.handlers.set(k, v); + } else { + throw new Error("Cannot create handler for JavaScript undefined"); + } + }); + } + this.handlerForForeign = this.opts["handlerForForeign"]; + this.unpack = this.opts["unpack"] || function(x) { + if (types.isArrayMap(x) && x.backingMap === null) { + return x._entries; + } else { + return false; + } + }; + this.verbose = this.opts && this.opts["verbose"] || false; + }; + writer.JSONMarshaller.prototype.handler = function(obj) { + var h = this.handlers.get(handlers.constructor(obj)); + if (h != null) { + return h; + } else { + var tag = obj && obj["transitTag"]; + if (tag) { + return this.handlers.get(tag); + } else { + return null; + } + } + }; + writer.JSONMarshaller.prototype.registerHandler = function(ctor, handler) { + this.handlers.set(ctor, handler); + }; + writer.JSONMarshaller.prototype.emitNil = function(asMapKey, cache) { + if (asMapKey) { + return this.emitString(d.ESC, "_", "", asMapKey, cache); + } else { + return null; + } + }; + writer.JSONMarshaller.prototype.emitString = function(prefix, tag, s, asMapKey, cache) { + var string = prefix + tag + s; + if (cache) { + return cache.write(string, asMapKey); + } else { + return string; + } + }; + writer.JSONMarshaller.prototype.emitBoolean = function(b, asMapKey, cache) { + if (asMapKey) { + var s = b.toString(); + return this.emitString(d.ESC, "?", s[0], asMapKey, cache); + } else { + return b; + } + }; + writer.JSONMarshaller.prototype.emitInteger = function(i, asMapKey, cache) { + if (i === Infinity) { + return this.emitString(d.ESC, "z", "INF", asMapKey, cache); + } else if (i === -Infinity) { + return this.emitString(d.ESC, "z", "-INF", asMapKey, cache); + } else if (isNaN(i)) { + return this.emitString(d.ESC, "z", "NaN", asMapKey, cache); + } else if (asMapKey || typeof i === "string" || i instanceof Long) { + return this.emitString(d.ESC, "i", i.toString(), asMapKey, cache); + } else { + return i; + } + }; + writer.JSONMarshaller.prototype.emitDouble = function(d, asMapKey, cache) { + if (asMapKey) { + return this.emitString(d.ESC, "d", d, asMapKey, cache); + } else { + return d; + } + }; + writer.JSONMarshaller.prototype.emitBinary = function(b, asMapKey, cache) { + return this.emitString(d.ESC, "b", b, asMapKey, cache); + }; + writer.JSONMarshaller.prototype.emitQuoted = function(em, obj, cache) { + if (em.verbose) { + var ret = {}; + var k = this.emitString(d.ESC_TAG, "'", "", true, cache); + ret[k] = writer.marshal(this, obj, false, cache); + return ret; + } else { + return [this.emitString(d.ESC_TAG, "'", "", true, cache), writer.marshal(this, obj, false, cache)]; + } + }; + writer.emitObjects = function(em, iterable, cache) { + var ret = []; + if (util.isArray(iterable)) { + var i = 0; + for (; i < iterable.length; i++) { + ret.push(writer.marshal(em, iterable[i], false, cache)); + } + } else { + iterable.forEach(function(v, i) { + ret.push(writer.marshal(em, v, false, cache)); + }); + } + return ret; + }; + writer.emitArray = function(em, iterable, skip, cache) { + return writer.emitObjects(em, iterable, cache); + }; + writer.isStringableKey = function(em, k) { + if (typeof k !== "string") { + var h = em.handler(k); + return h && h.tag(k).length === 1; + } else { + return true; + } + }; + writer.stringableKeys = function(em, obj) { + var arr = em.unpack(obj); + var stringableKeys = true; + if (arr) { + var i = 0; + for (; i < arr.length; i = i + 2) { + stringableKeys = writer.isStringableKey(em, arr[i]); + if (!stringableKeys) { + break; + } + } + return stringableKeys; + } else if (obj.keys) { + var iter = obj.keys(); + var step = null; + if (iter.next) { + step = iter.next(); + for (; !step.done;) { + stringableKeys = writer.isStringableKey(em, step.value); + if (!stringableKeys) { + break; + } + step = iter.next(); + } + return stringableKeys; + } + } + if (obj.forEach) { + obj.forEach(function(v, k) { + stringableKeys = stringableKeys && writer.isStringableKey(em, k); + }); + return stringableKeys; + } else { + throw new Error("Cannot walk keys of object type " + handlers.constructor(obj).name); + } + }; + writer.isForeignObject = function(x) { + if (x.constructor["transit$isObject"]) { + return true; + } + var ret = x.constructor.toString(); + ret = ret.substr("function ".length); + ret = ret.substr(0, ret.indexOf("(")); + var isObject = ret == "Object"; + if (typeof Object.defineProperty != "undefined") { + Object.defineProperty(x.constructor, "transit$isObject", {value:isObject, enumerable:false}); + } else { + x.constructor["transit$isObject"] = isObject; + } + return isObject; + }; + writer.emitMap = function(em, obj, skip, cache) { + var arr = null; + var rep = null; + var tag = null; + var ks = null; + var i = 0; + if (obj.constructor === Object || obj.forEach != null || em.handlerForForeign && writer.isForeignObject(obj)) { + if (em.verbose) { + if (obj.forEach != null) { + if (writer.stringableKeys(em, obj)) { + var ret = {}; + obj.forEach(function(v, k) { + ret[writer.marshal(em, k, true, false)] = writer.marshal(em, v, false, cache); + }); + return ret; + } else { + arr = em.unpack(obj); + rep = []; + tag = em.emitString(d.ESC_TAG, "cmap", "", true, cache); + if (arr) { + for (; i < arr.length; i = i + 2) { + rep.push(writer.marshal(em, arr[i], false, false)); + rep.push(writer.marshal(em, arr[i + 1], false, cache)); + } + } else { + obj.forEach(function(v, k) { + rep.push(writer.marshal(em, k, false, false)); + rep.push(writer.marshal(em, v, false, cache)); + }); + } + ret = {}; + ret[tag] = rep; + return ret; + } + } else { + ks = util.objectKeys(obj); + ret = {}; + for (; i < ks.length; i++) { + ret[writer.marshal(em, ks[i], true, false)] = writer.marshal(em, obj[ks[i]], false, cache); + } + return ret; + } + } else { + if (obj.forEach != null) { + if (writer.stringableKeys(em, obj)) { + arr = em.unpack(obj); + ret = ["^ "]; + if (arr) { + for (; i < arr.length; i = i + 2) { + ret.push(writer.marshal(em, arr[i], true, cache)); + ret.push(writer.marshal(em, arr[i + 1], false, cache)); + } + } else { + obj.forEach(function(v, k) { + ret.push(writer.marshal(em, k, true, cache)); + ret.push(writer.marshal(em, v, false, cache)); + }); + } + return ret; + } else { + arr = em.unpack(obj); + rep = []; + tag = em.emitString(d.ESC_TAG, "cmap", "", true, cache); + if (arr) { + for (; i < arr.length; i = i + 2) { + rep.push(writer.marshal(em, arr[i], false, cache)); + rep.push(writer.marshal(em, arr[i + 1], false, cache)); + } + } else { + obj.forEach(function(v, k) { + rep.push(writer.marshal(em, k, false, cache)); + rep.push(writer.marshal(em, v, false, cache)); + }); + } + return [tag, rep]; + } + } else { + ret = ["^ "]; + ks = util.objectKeys(obj); + for (; i < ks.length; i++) { + ret.push(writer.marshal(em, ks[i], true, cache)); + ret.push(writer.marshal(em, obj[ks[i]], false, cache)); + } + return ret; + } + } + } else if (em.objectBuilder != null) { + return em.objectBuilder(obj, function(k) { + return writer.marshal(em, k, true, cache); + }, function(v) { + return writer.marshal(em, v, false, cache); + }); + } else { + var name = handlers.constructor(obj).name; + var err = new Error("Cannot write " + name); + err.data = {obj:obj, type:name}; + throw err; + } + }; + writer.emitTaggedMap = function(em, tag, rep, skip, cache) { + if (em.verbose) { + var ret = {}; + ret[em.emitString(d.ESC_TAG, tag, "", true, cache)] = writer.marshal(em, rep, false, cache); + return ret; + } else { + return [em.emitString(d.ESC_TAG, tag, "", true, cache), writer.marshal(em, rep, false, cache)]; + } + }; + writer.emitEncoded = function(em, h, tag, rep, obj, asMapKey, cache) { + if (tag.length === 1) { + if (typeof rep === "string") { + return em.emitString(d.ESC, tag, rep, asMapKey, cache); + } else if (asMapKey || em.preferStrings) { + var vh = em.verbose && h.getVerboseHandler(); + if (vh) { + tag = vh.tag(obj); + rep = vh.stringRep(obj, vh); + } else { + rep = h.stringRep(obj, h); + } + if (rep !== null) { + return em.emitString(d.ESC, tag, rep, asMapKey, cache); + } else { + var err = new Error('Tag "' + tag + '" cannot be encoded as string'); + err.data = {tag:tag, rep:rep, obj:obj}; + throw err; + } + } else { + return writer.emitTaggedMap(em, tag, rep, asMapKey, cache); + } + } else { + return writer.emitTaggedMap(em, tag, rep, asMapKey, cache); + } + }; + writer.marshal = function(em, obj, asMapKey, cache) { + if (em.transform !== null) { + obj = em.transform(obj); + } + var h = em.handler(obj) || (em.handlerForForeign ? em.handlerForForeign(obj, em.handlers) : null); + var tag = h ? h.tag(obj) : null; + var rep = h ? h.rep(obj) : null; + if (h != null && tag != null) { + switch(tag) { + case "_": + return em.emitNil(asMapKey, cache); + break; + case "s": + return em.emitString("", "", writer.escape(rep), asMapKey, cache); + break; + case "?": + return em.emitBoolean(rep, asMapKey, cache); + break; + case "i": + return em.emitInteger(rep, asMapKey, cache); + break; + case "d": + return em.emitDouble(rep, asMapKey, cache); + break; + case "b": + return em.emitBinary(rep, asMapKey, cache); + break; + case "'": + return em.emitQuoted(em, rep, cache); + break; + case "array": + return writer.emitArray(em, rep, asMapKey, cache); + break; + case "map": + return writer.emitMap(em, rep, asMapKey, cache); + break; + default: + return writer.emitEncoded(em, h, tag, rep, obj, asMapKey, cache); + break; + } + } else { + var name = handlers.constructor(obj).name; + var err = new Error("Cannot write " + name); + err.data = {obj:obj, type:name}; + throw err; + } + }; + writer.maybeQuoted = function(em, obj) { + var h = em.handler(obj) || (em.handlerForForeign ? em.handlerForForeign(obj, em.handlers) : null); + if (h != null) { + if (h.tag(obj).length === 1) { + return types.quoted(obj); + } else { + return obj; + } + } else { + var name = handlers.constructor(obj).name; + var err = new Error("Cannot write " + name); + err.data = {obj:obj, type:name}; + throw err; + } + }; + writer.marshalTop = function(em, obj, asMapKey, cache) { + return JSON.stringify(writer.marshal(em, writer.maybeQuoted(em, obj), asMapKey, cache)); + }; + writer.Writer = function Transit$Writer(marshaller, options) { + this._marshaller = marshaller; + this.options = options || {}; + if (this.options["cache"] === false) { + this.cache = null; + } else { + this.cache = this.options["cache"] ? this.options["cache"] : new caching.WriteCache(); + } + }; + writer.Writer.prototype.marshaller = function() { + return this._marshaller; + }; + writer.Writer.prototype["marshaller"] = writer.Writer.prototype.marshaller; + writer.Writer.prototype.write = function(obj, opts) { + var ret = null; + var ropts = opts || {}; + var asMapKey = ropts["asMapKey"] || false; + var cache = this._marshaller.verbose ? false : this.cache; + if (ropts["marshalTop"] === false) { + ret = writer.marshal(this._marshaller, obj, asMapKey, cache); + } else { + ret = writer.marshalTop(this._marshaller, obj, asMapKey, cache); + } + if (this.cache != null) { + this.cache.clear(); + } + return ret; + }; + writer.Writer.prototype["write"] = writer.Writer.prototype.write; + writer.Writer.prototype.register = function(type, handler) { + this._marshaller.registerHandler(type, handler); + }; + writer.Writer.prototype["register"] = writer.Writer.prototype.register; +}); + +//# sourceMappingURL=com.cognitect.transit.impl.writer.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.impl.writer.js.map b/out/cljs-runtime/com.cognitect.transit.impl.writer.js.map new file mode 100644 index 0000000..db7e398 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.impl.writer.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.impl.writer.js", +"lineCount":439, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,mCAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,4BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,+BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,gCAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,6BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,kCAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,gBAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAS,EAAG;AAAA,MAEfC,SAAWC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQC,CAAAA,IAAKJ,CAAAA,MAFvB;AAAA,MAGfK,OAAWJ,GAAIC,CAAAA,SAAUC,CAAAA,OAAQ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;", +"sources":["com/cognitect/transit/impl/writer.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.impl.writer\");\ngoog.require(\"com.cognitect.transit.util\");\ngoog.require(\"com.cognitect.transit.caching\");\ngoog.require(\"com.cognitect.transit.handlers\");\ngoog.require(\"com.cognitect.transit.types\");\ngoog.require(\"com.cognitect.transit.delimiters\");\ngoog.require(\"goog.math.Long\");\n\ngoog.scope(function () {\n\n var writer = com.cognitect.transit.impl.writer,\n util = com.cognitect.transit.util,\n caching = com.cognitect.transit.caching,\n handlers = com.cognitect.transit.handlers,\n types = com.cognitect.transit.types,\n d = com.cognitect.transit.delimiters,\n Long = goog.math.Long;\n\n writer.escape = function (string) {\n if (string.length > 0) {\n var c = string.charAt(0);\n if (c === d.ESC || c === d.SUB || c === d.RES) {\n return d.ESC + string;\n } else {\n return string;\n }\n } else {\n return string;\n }\n };\n\n /**\n * @constructor\n */\n writer.JSONMarshaller = function Transit$JSONMarshaller(opts) {\n this.opts = opts || {};\n this.preferStrings = this.opts[\"preferStrings\"] != null ? this.opts[\"preferStrings\"] : true;\n\n this.objectBuilder = this.opts[\"objectBuilder\"] || null;\n this.transform = this.opts[\"transform\"] || null;\n\n this.handlers = new handlers.Handlers();\n\n var optsHandlers = this.opts[\"handlers\"];\n if (optsHandlers) {\n if (util.isArray(optsHandlers) || !optsHandlers.forEach) {\n throw new Error(\"transit writer \\\"handlers\\\" option must be a map\");\n }\n var self = this;\n optsHandlers.forEach(function (v, k) {\n if (k !== undefined) {\n self.handlers.set(k, v);\n } else {\n throw new Error(\"Cannot create handler for JavaScript undefined\");\n }\n });\n }\n\n // Multiple JS context helper\n this.handlerForForeign = this.opts[\"handlerForForeign\"];\n\n this.unpack = this.opts[\"unpack\"] || function (x) {\n if (types.isArrayMap(x) && x.backingMap === null) {\n return x._entries;\n } else {\n return false;\n }\n };\n\n this.verbose = (this.opts && this.opts[\"verbose\"]) || false;\n };\n\n writer.JSONMarshaller.prototype.handler = function (obj) {\n var h = this.handlers.get(handlers.constructor(obj));\n\n if (h != null) {\n return h;\n } else {\n var tag = obj && obj[\"transitTag\"];\n if (tag) {\n return this.handlers.get(tag)\n } else {\n return null;\n }\n }\n };\n\n writer.JSONMarshaller.prototype.registerHandler = function (ctor, handler) {\n this.handlers.set(ctor, handler);\n };\n\n writer.JSONMarshaller.prototype.emitNil = function (asMapKey, cache) {\n if (asMapKey) {\n return this.emitString(d.ESC, \"_\", \"\", asMapKey, cache);\n } else {\n return null;\n }\n };\n\n writer.JSONMarshaller.prototype.emitString = function (prefix, tag, s, asMapKey, cache) {\n var string = prefix + tag + s;\n if (cache) {\n return cache.write(string, asMapKey);\n } else {\n return string;\n }\n };\n\n writer.JSONMarshaller.prototype.emitBoolean = function (b, asMapKey, cache) {\n if (asMapKey) {\n var s = b.toString();\n return this.emitString(d.ESC, \"?\", s[0], asMapKey, cache);\n } else {\n return b;\n }\n };\n\n writer.JSONMarshaller.prototype.emitInteger = function (i, asMapKey, cache) {\n if (i === Infinity) {\n return this.emitString(d.ESC, \"z\", \"INF\", asMapKey, cache);\n } else if (i === -Infinity) {\n return this.emitString(d.ESC, \"z\", \"-INF\", asMapKey, cache);\n } else if (isNaN(i)) {\n return this.emitString(d.ESC, \"z\", \"NaN\", asMapKey, cache);\n } else if (asMapKey || (typeof i === \"string\") || (i instanceof Long)) {\n return this.emitString(d.ESC, \"i\", i.toString(), asMapKey, cache);\n } else {\n return i;\n }\n };\n\n writer.JSONMarshaller.prototype.emitDouble = function (d, asMapKey, cache) {\n if (asMapKey) {\n return this.emitString(d.ESC, \"d\", d, asMapKey, cache);\n } else {\n return d;\n }\n };\n\n writer.JSONMarshaller.prototype.emitBinary = function (b, asMapKey, cache) {\n return this.emitString(d.ESC, \"b\", b, asMapKey, cache);\n };\n\n writer.JSONMarshaller.prototype.emitQuoted = function (em, obj, cache) {\n if (em.verbose) {\n var ret = {},\n k = this.emitString(d.ESC_TAG, \"'\", \"\", true, cache);\n ret[k] = writer.marshal(this, obj, false, cache);\n return ret;\n } else {\n return [this.emitString(d.ESC_TAG, \"'\", \"\", true, cache), writer.marshal(this, obj, false, cache)];\n }\n };\n\n writer.emitObjects = function (em, iterable, cache) {\n var ret = [];\n if (util.isArray(iterable)) {\n for (var i = 0; i < iterable.length; i++) {\n ret.push(writer.marshal(em, iterable[i], false, cache));\n }\n } else {\n iterable.forEach(function (v, i) {\n ret.push(writer.marshal(em, v, false, cache));\n });\n }\n return ret;\n };\n\n writer.emitArray = function (em, iterable, skip, cache) {\n return writer.emitObjects(em, iterable, cache);\n };\n\n writer.isStringableKey = function (em, k) {\n if (typeof k !== \"string\") {\n var h = em.handler(k);\n return h && h.tag(k).length === 1;\n } else {\n return true;\n }\n };\n\n /**\n * Returns true if map-like obj parameter has only stringable keys -\n * strings, symbols or keywords. If false, obj is a cmap value.\n * @param em\n * @param obj\n * @returns {boolean}\n */\n writer.stringableKeys = function (em, obj) {\n var arr = em.unpack(obj),\n stringableKeys = true;\n\n if (arr) {\n for (var i = 0; i < arr.length; i += 2) {\n stringableKeys = writer.isStringableKey(em, arr[i]);\n if (!stringableKeys) {\n break;\n }\n }\n return stringableKeys;\n } else if (obj.keys) {\n var iter = obj.keys(),\n step = null;\n\n if (iter.next) {\n step = iter.next();\n while (!step.done) {\n stringableKeys = writer.isStringableKey(em, step.value);\n if (!stringableKeys) {\n break;\n }\n step = iter.next();\n }\n return stringableKeys;\n }\n }\n\n if (obj.forEach) {\n obj.forEach(function (v, k) {\n stringableKeys = stringableKeys && writer.isStringableKey(em, k);\n });\n return stringableKeys;\n } else {\n throw new Error(\"Cannot walk keys of object type \" + handlers.constructor(obj).name);\n }\n };\n\n /**\n * Returns true if x is an Object instance from a different JavaScript\n * context.\n * @param x\n * @returns {boolean}\n */\n writer.isForeignObject = function (x) {\n if (x.constructor[\"transit$isObject\"]) {\n return true;\n }\n\n var ret = x.constructor.toString();\n\n ret = ret.substr('function '.length);\n ret = ret.substr(0, ret.indexOf('('));\n var isObject = ret == \"Object\";\n\n if (typeof Object.defineProperty != \"undefined\") {\n Object.defineProperty(x.constructor, \"transit$isObject\", {\n value: isObject,\n enumerable: false\n });\n } else {\n x.constructor[\"transit$isObject\"] = isObject;\n }\n\n return isObject;\n };\n\n writer.emitMap = function (em, obj, skip, cache) {\n var arr = null, rep = null, tag = null, ks = null, i = 0;\n\n if ((obj.constructor === Object) ||\n (obj.forEach != null) ||\n (em.handlerForForeign && writer.isForeignObject(obj))) {\n if (em.verbose) {\n if (obj.forEach != null) {\n if (writer.stringableKeys(em, obj)) {\n var ret = {};\n obj.forEach(function (v, k) {\n ret[writer.marshal(em, k, true, false)] = writer.marshal(em, v, false, cache);\n });\n return ret;\n } else {\n arr = em.unpack(obj);\n rep = [];\n tag = em.emitString(d.ESC_TAG, \"cmap\", \"\", true, cache);\n if (arr) {\n for (; i < arr.length; i += 2) {\n rep.push(writer.marshal(em, arr[i], false, false));\n rep.push(writer.marshal(em, arr[i + 1], false, cache));\n }\n } else {\n obj.forEach(function (v, k) {\n rep.push(writer.marshal(em, k, false, false));\n rep.push(writer.marshal(em, v, false, cache));\n });\n }\n ret = {};\n ret[tag] = rep;\n return ret;\n }\n } else {\n ks = util.objectKeys(obj);\n ret = {};\n for (; i < ks.length; i++) {\n ret[writer.marshal(em, ks[i], true, false)] = writer.marshal(em, obj[ks[i]], false, cache);\n }\n return ret;\n }\n } else {\n if (obj.forEach != null) {\n if (writer.stringableKeys(em, obj)) {\n arr = em.unpack(obj);\n ret = [\"^ \"];\n if (arr) {\n for (; i < arr.length; i += 2) {\n ret.push(writer.marshal(em, arr[i], true, cache));\n ret.push(writer.marshal(em, arr[i + 1], false, cache));\n }\n } else {\n obj.forEach(function (v, k) {\n ret.push(writer.marshal(em, k, true, cache));\n ret.push(writer.marshal(em, v, false, cache));\n });\n }\n return ret;\n } else {\n arr = em.unpack(obj);\n rep = [];\n tag = em.emitString(d.ESC_TAG, \"cmap\", \"\", true, cache);\n if (arr) {\n for (; i < arr.length; i += 2) {\n rep.push(writer.marshal(em, arr[i], false, cache));\n rep.push(writer.marshal(em, arr[i + 1], false, cache));\n }\n } else {\n obj.forEach(function (v, k) {\n rep.push(writer.marshal(em, k, false, cache));\n rep.push(writer.marshal(em, v, false, cache));\n });\n }\n return [tag, rep];\n }\n } else {\n ret = [\"^ \"];\n ks = util.objectKeys(obj);\n for (; i < ks.length; i++) {\n ret.push(writer.marshal(em, ks[i], true, cache));\n ret.push(writer.marshal(em, obj[ks[i]], false, cache));\n }\n return ret;\n }\n }\n } else if (em.objectBuilder != null) {\n return em.objectBuilder(obj, function (k) {\n return writer.marshal(em, k, true, cache);\n },\n function (v) {\n return writer.marshal(em, v, false, cache);\n });\n } else {\n var name = handlers.constructor(obj).name,\n err = new Error(\"Cannot write \" + name);\n err.data = {obj: obj, type: name};\n throw err;\n }\n };\n\n writer.emitTaggedMap = function (em, tag, rep, skip, cache) {\n if (em.verbose) {\n var ret = {};\n ret[em.emitString(d.ESC_TAG, tag, \"\", true, cache)] = writer.marshal(em, rep, false, cache);\n return ret;\n } else {\n return [em.emitString(d.ESC_TAG, tag, \"\", true, cache), writer.marshal(em, rep, false, cache)];\n }\n };\n\n writer.emitEncoded = function (em, h, tag, rep, obj, asMapKey, cache) {\n if (tag.length === 1) {\n if (typeof rep === \"string\") {\n return em.emitString(d.ESC, tag, rep, asMapKey, cache);\n } else if (asMapKey || em.preferStrings) {\n var vh = em.verbose && h.getVerboseHandler();\n if (vh) {\n tag = vh.tag(obj);\n rep = vh.stringRep(obj, vh);\n } else {\n rep = h.stringRep(obj, h);\n }\n if (rep !== null) {\n return em.emitString(d.ESC, tag, rep, asMapKey, cache);\n } else {\n var err = new Error(\"Tag \\\"\" + tag + \"\\\" cannot be encoded as string\");\n err.data = {tag: tag, rep: rep, obj: obj};\n throw err;\n }\n } else {\n return writer.emitTaggedMap(em, tag, rep, asMapKey, cache);\n }\n } else {\n return writer.emitTaggedMap(em, tag, rep, asMapKey, cache);\n }\n };\n\n writer.marshal = function (em, obj, asMapKey, cache) {\n if(em.transform !== null) {\n obj = em.transform(obj);\n }\n\n var h = em.handler(obj) || (em.handlerForForeign ? em.handlerForForeign(obj, em.handlers) : null),\n tag = h ? h.tag(obj) : null,\n rep = h ? h.rep(obj) : null;\n\n if (h != null && tag != null) {\n switch (tag) {\n case \"_\":\n return em.emitNil(asMapKey, cache);\n break;\n case \"s\":\n return em.emitString(\"\", \"\", writer.escape(rep), asMapKey, cache);\n break;\n case \"?\":\n return em.emitBoolean(rep, asMapKey, cache);\n break;\n case \"i\":\n return em.emitInteger(rep, asMapKey, cache);\n break;\n case \"d\":\n return em.emitDouble(rep, asMapKey, cache);\n break;\n case \"b\":\n return em.emitBinary(rep, asMapKey, cache);\n break;\n case \"'\":\n return em.emitQuoted(em, rep, cache);\n break;\n case \"array\":\n return writer.emitArray(em, rep, asMapKey, cache);\n break;\n case \"map\":\n return writer.emitMap(em, rep, asMapKey, cache);\n break;\n default:\n return writer.emitEncoded(em, h, tag, rep, obj, asMapKey, cache);\n break;\n }\n } else {\n var name = handlers.constructor(obj).name,\n err = new Error(\"Cannot write \" + name);\n err.data = {obj: obj, type: name};\n throw err;\n }\n };\n\n writer.maybeQuoted = function (em, obj) {\n var h = em.handler(obj) || (em.handlerForForeign ? em.handlerForForeign(obj, em.handlers) : null);\n\n if (h != null) {\n if (h.tag(obj).length === 1) {\n return types.quoted(obj);\n } else {\n return obj;\n }\n } else {\n var name = handlers.constructor(obj).name,\n err = new Error(\"Cannot write \" + name);\n err.data = {obj: obj, type: name};\n throw err;\n }\n };\n\n writer.marshalTop = function (em, obj, asMapKey, cache) {\n return JSON.stringify(writer.marshal(em, writer.maybeQuoted(em, obj), asMapKey, cache));\n };\n\n /**\n * @constructor\n */\n writer.Writer = function Transit$Writer(marshaller, options) {\n this._marshaller = marshaller;\n this.options = options || {};\n if (this.options[\"cache\"] === false) {\n this.cache = null;\n } else {\n this.cache = this.options[\"cache\"] ? this.options[\"cache\"] : new caching.WriteCache();\n }\n };\n\n writer.Writer.prototype.marshaller = function () {\n return this._marshaller;\n };\n writer.Writer.prototype[\"marshaller\"] = writer.Writer.prototype.marshaller;\n\n writer.Writer.prototype.write = function (obj, opts) {\n var ret = null,\n ropts = opts || {},\n asMapKey = ropts[\"asMapKey\"] || false,\n cache = this._marshaller.verbose ? false : this.cache;\n\n if (ropts[\"marshalTop\"] === false) {\n ret = writer.marshal(this._marshaller, obj, asMapKey, cache)\n } else {\n ret = writer.marshalTop(this._marshaller, obj, asMapKey, cache)\n }\n if (this.cache != null) {\n this.cache.clear();\n }\n return ret;\n };\n writer.Writer.prototype[\"write\"] = writer.Writer.prototype.write;\n\n writer.Writer.prototype.register = function (type, handler) {\n this._marshaller.registerHandler(type, handler);\n };\n writer.Writer.prototype[\"register\"] = writer.Writer.prototype.register;\n\n});\n"], +"names":["goog","provide","require","scope","writer","com","cognitect","transit","impl","util","caching","handlers","types","d","delimiters","Long","math","escape","writer.escape","string","length","c","charAt","ESC","SUB","RES","JSONMarshaller","writer.JSONMarshaller","Transit$JSONMarshaller","opts","preferStrings","objectBuilder","transform","Handlers","optsHandlers","isArray","forEach","Error","self","v","k","undefined","set","handlerForForeign","unpack","x","isArrayMap","backingMap","_entries","verbose","prototype","handler","writer.JSONMarshaller.prototype.handler","obj","h","get","constructor","tag","registerHandler","writer.JSONMarshaller.prototype.registerHandler","ctor","emitNil","writer.JSONMarshaller.prototype.emitNil","asMapKey","cache","emitString","writer.JSONMarshaller.prototype.emitString","prefix","s","write","emitBoolean","writer.JSONMarshaller.prototype.emitBoolean","b","toString","emitInteger","writer.JSONMarshaller.prototype.emitInteger","i","Infinity","isNaN","emitDouble","writer.JSONMarshaller.prototype.emitDouble","emitBinary","writer.JSONMarshaller.prototype.emitBinary","emitQuoted","writer.JSONMarshaller.prototype.emitQuoted","em","ret","ESC_TAG","marshal","emitObjects","writer.emitObjects","iterable","push","emitArray","writer.emitArray","skip","isStringableKey","writer.isStringableKey","stringableKeys","writer.stringableKeys","arr","keys","iter","step","next","done","value","name","isForeignObject","writer.isForeignObject","substr","indexOf","isObject","Object","defineProperty","enumerable","emitMap","writer.emitMap","rep","ks","objectKeys","err","data","type","emitTaggedMap","writer.emitTaggedMap","emitEncoded","writer.emitEncoded","vh","getVerboseHandler","stringRep","writer.marshal","maybeQuoted","writer.maybeQuoted","quoted","marshalTop","writer.marshalTop","JSON","stringify","Writer","writer.Writer","Transit$Writer","marshaller","options","_marshaller","WriteCache","writer.Writer.prototype.marshaller","writer.Writer.prototype.write","ropts","clear","register","writer.Writer.prototype.register"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.js b/out/cljs-runtime/com.cognitect.transit.js new file mode 100644 index 0000000..fdfe70c --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.js @@ -0,0 +1,183 @@ +goog.provide("com.cognitect.transit"); +goog.require("com.cognitect.transit.util"); +goog.require("com.cognitect.transit.impl.reader"); +goog.require("com.cognitect.transit.impl.writer"); +goog.require("com.cognitect.transit.types"); +goog.require("com.cognitect.transit.eq"); +goog.require("com.cognitect.transit.impl.decoder"); +goog.require("com.cognitect.transit.caching"); +var TRANSIT_DEV = true; +var TRANSIT_NODE_TARGET = false; +var TRANSIT_BROWSER_TARGET = false; +var TRANSIT_BROWSER_AMD_TARGET = false; +goog.scope(function() { + var transit = com.cognitect.transit; + var util = com.cognitect.transit.util; + var reader = com.cognitect.transit.impl.reader; + var writer = com.cognitect.transit.impl.writer; + var decoder = com.cognitect.transit.impl.decoder; + var types = com.cognitect.transit.types; + var eq = com.cognitect.transit.eq; + var caching = com.cognitect.transit.caching; + transit.MapLike; + transit.SetLike; + transit.reader = function(type, opts) { + if (type === "json" || type === "json-verbose" || type == null) { + type = "json"; + var unmarshaller = new reader.JSONUnmarshaller(opts); + return new reader.Reader(unmarshaller, opts); + } else { + throw new Error("Cannot create reader of type " + type); + } + }; + transit.writer = function(type, opts) { + if (type === "json" || type === "json-verbose" || type == null) { + if (type === "json-verbose") { + if (opts == null) { + opts = {}; + } + opts["verbose"] = true; + } + var marshaller = new writer.JSONMarshaller(opts); + return new writer.Writer(marshaller, opts); + } else { + var err = new Error('Type must be "json"'); + err.data = {type:type}; + throw err; + } + }; + transit.makeWriteHandler = function(obj) { + var Handler = function() { + }; + Handler.prototype.tag = obj["tag"]; + Handler.prototype.rep = obj["rep"]; + Handler.prototype.stringRep = obj["stringRep"]; + Handler.prototype.getVerboseHandler = obj["getVerboseHandler"]; + return new Handler(); + }; + transit.makeBuilder = function(obj) { + var Builder = function() { + }; + Builder.prototype.init = obj["init"]; + Builder.prototype.add = obj["add"]; + Builder.prototype.finalize = obj["finalize"]; + Builder.prototype.fromArray = obj["fromArray"]; + return new Builder(); + }; + transit.date = types.date; + transit.integer = types.intValue; + transit.isInteger = types.isInteger; + transit.uuid = types.uuid; + transit.isUUID = types.isUUID; + transit.bigInt = types.bigInteger; + transit.isBigInt = types.isBigInteger; + transit.bigDec = types.bigDecimalValue; + transit.isBigDec = types.isBigDecimal; + transit.keyword = types.keyword; + transit.isKeyword = types.isKeyword; + transit.symbol = types.symbol; + transit.isSymbol = types.isSymbol; + transit.binary = types.binary; + transit.isBinary = types.isBinary; + transit.uri = types.uri; + transit.isURI = types.isURI; + transit.map = types.map; + transit.isMap = types.isMap; + transit.set = types.set; + transit.isSet = types.isSet; + transit.list = types.list; + transit.isList = types.isList; + transit.quoted = types.quoted; + transit.isQuoted = types.isQuoted; + transit.tagged = types.taggedValue; + transit.isTaggedValue = types.isTaggedValue; + transit.link = types.link; + transit.isLink = types.isLink; + transit.hash = eq.hashCode; + transit.hashMapLike = eq.hashMapLike; + transit.hashArrayLike = eq.hashArrayLike; + transit.equals = eq.equals; + transit.extendToEQ = eq.extendToEQ; + transit.mapToObject = function(m) { + var ret = {}; + m.forEach(function(v, k) { + if (typeof k !== "string") { + throw Error("Cannot convert map with non-string keys"); + } else { + ret[k] = v; + } + }); + return ret; + }; + transit.objectToMap = function(obj) { + var ret = transit.map(); + var p; + for (p in obj) { + if (obj.hasOwnProperty(p)) { + ret.set(p, obj[p]); + } + } + return ret; + }; + transit.decoder = decoder.decoder; + transit.readCache = caching.readCache; + transit.writeCache = caching.writeCache; + transit.UUIDfromString = types.UUIDfromString; + transit.randomUUID = util.randomUUID; + transit.stringableKeys = writer.stringableKeys; + if (TRANSIT_BROWSER_TARGET) { + goog.exportSymbol("transit.reader", transit.reader); + goog.exportSymbol("transit.writer", transit.writer); + goog.exportSymbol("transit.makeBuilder", transit.makeBuilder); + goog.exportSymbol("transit.makeWriteHandler", transit.makeWriteHandler); + goog.exportSymbol("transit.date", types.date); + goog.exportSymbol("transit.integer", types.intValue); + goog.exportSymbol("transit.isInteger", types.isInteger); + goog.exportSymbol("transit.uuid", types.uuid); + goog.exportSymbol("transit.isUUID", types.isUUID); + goog.exportSymbol("transit.bigInt", types.bigInteger); + goog.exportSymbol("transit.isBigInt", types.isBigInteger); + goog.exportSymbol("transit.bigDec", types.bigDecimalValue); + goog.exportSymbol("transit.isBigDec", types.isBigDecimal); + goog.exportSymbol("transit.keyword", types.keyword); + goog.exportSymbol("transit.isKeyword", types.isKeyword); + goog.exportSymbol("transit.symbol", types.symbol); + goog.exportSymbol("transit.isSymbol", types.isSymbol); + goog.exportSymbol("transit.binary", types.binary); + goog.exportSymbol("transit.isBinary", types.isBinary); + goog.exportSymbol("transit.uri", types.uri); + goog.exportSymbol("transit.isURI", types.isURI); + goog.exportSymbol("transit.map", types.map); + goog.exportSymbol("transit.isMap", types.isMap); + goog.exportSymbol("transit.set", types.set); + goog.exportSymbol("transit.isSet", types.isSet); + goog.exportSymbol("transit.list", types.list); + goog.exportSymbol("transit.isList", types.isList); + goog.exportSymbol("transit.quoted", types.quoted); + goog.exportSymbol("transit.isQuoted", types.isQuoted); + goog.exportSymbol("transit.tagged", types.taggedValue); + goog.exportSymbol("transit.isTaggedValue", types.isTaggedValue); + goog.exportSymbol("transit.link", types.link); + goog.exportSymbol("transit.isLink", types.isLink); + goog.exportSymbol("transit.hash", eq.hashCode); + goog.exportSymbol("transit.hashMapLike", eq.hashMapLike); + goog.exportSymbol("transit.hashArrayLike", eq.hashArrayLike); + goog.exportSymbol("transit.equals", eq.equals); + goog.exportSymbol("transit.extendToEQ", eq.extendToEQ); + goog.exportSymbol("transit.mapToObject", transit.mapToObject); + goog.exportSymbol("transit.objectToMap", transit.objectToMap); + goog.exportSymbol("transit.decoder", decoder.decoder); + goog.exportSymbol("transit.UUIDfromString", types.UUIDfromString); + goog.exportSymbol("transit.randomUUID", util.randomUUID); + goog.exportSymbol("transit.stringableKeys", writer.stringableKeys); + goog.exportSymbol("transit.readCache", caching.readCache); + goog.exportSymbol("transit.writeCache", caching.writeCache); + } + if (TRANSIT_NODE_TARGET) { + module.exports = {reader:transit.reader, writer:transit.writer, makeBuilder:transit.makeBuilder, makeWriteHandler:transit.makeWriteHandler, date:types.date, integer:types.intValue, isInteger:types.isInteger, uuid:types.uuid, isUUID:types.isUUID, bigInt:types.bigInteger, isBigInt:types.isBigInteger, bigDec:types.bigDecimalValue, isBigDec:types.isBigDecimal, keyword:types.keyword, isKeyword:types.isKeyword, symbol:types.symbol, isSymbol:types.isSymbol, binary:types.binary, isBinary:types.isBinary, + uri:types.uri, isURI:types.isURI, map:types.map, isMap:types.isMap, set:types.set, isSet:types.isSet, list:types.list, isList:types.isList, quoted:types.quoted, isQuoted:types.isQuoted, tagged:types.taggedValue, isTaggedValue:types.isTaggedValue, link:types.link, isLink:types.isLink, hash:eq.hashCode, hashArrayLike:eq.hashArrayLike, hashMapLike:eq.hashMapLike, equals:eq.equals, extendToEQ:eq.extendToEQ, mapToObject:transit.mapToObject, objectToMap:transit.objectToMap, decoder:decoder.decoder, + UUIDfromString:types.UUIDfromString, randomUUID:util.randomUUID, stringableKeys:writer.stringableKeys, readCache:caching.readCache, writeCache:caching.writeCache}; + } +}); + +//# sourceMappingURL=com.cognitect.transit.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.js.map b/out/cljs-runtime/com.cognitect.transit.js.map new file mode 100644 index 0000000..7e130a9 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.js", +"lineCount":182, +"mappings":"AAgBAA,IAAKC,CAAAA,OAAL,CAAa,uBAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,4BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,mCAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,mCAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,6BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,0BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,oCAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,+BAAb,CAAA;AAGA,IAAIC,cAAc,IAAlB;AAGA,IAAIC,sBAAsB,KAA1B;AAGA,IAAIC,yBAAyB,KAA7B;AAGA,IAAIC,6BAA6B,KAAjC;AAEAN,IAAKO,CAAAA,KAAL,CAAW,QAAQ,EAAG;AAKlB,MAAIC,UAAUC,GAAIC,CAAAA,SAAUF,CAAAA,OAA5B;AALkB,MAOdG,OAAUF,GAAIC,CAAAA,SAAUF,CAAAA,OAAQG,CAAAA,IAPlB;AAAA,MAQdC,SAAUH,GAAIC,CAAAA,SAAUF,CAAAA,OAAQK,CAAAA,IAAKD,CAAAA,MARvB;AAAA,MASdE,SAAUL,GAAIC,CAAAA,SAAUF,CAAAA,OAAQK,CAAAA,IAAKC,CAAAA,MATvB;AAAA,MAUdC,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AA,cA1CT,EA2CbC,WAAgB9F,IAAK8F,CAAAA,UA3CR,EA4CbC,eAAgB5F,MAAO4F,CAAAA,cA5CV,EA6CbJ,UAAgBpF,OAAQoF,CAAAA,SA7CX,EA8CbC,WAAgBrF,OAAQqF,CAAAA,UA9CX,CAAjB;AADJ;AAlmBkB,CAAtB,CAAA;;", +"sources":["com/cognitect/transit.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n\"use strict\";\n\ngoog.provide(\"com.cognitect.transit\");\ngoog.require(\"com.cognitect.transit.util\");\ngoog.require(\"com.cognitect.transit.impl.reader\");\ngoog.require(\"com.cognitect.transit.impl.writer\");\ngoog.require(\"com.cognitect.transit.types\");\ngoog.require(\"com.cognitect.transit.eq\");\ngoog.require(\"com.cognitect.transit.impl.decoder\");\ngoog.require(\"com.cognitect.transit.caching\");\n\n/** @define {boolean} */\nvar TRANSIT_DEV = true;\n\n/** @define {boolean} */\nvar TRANSIT_NODE_TARGET = false;\n\n/** @define {boolean} */\nvar TRANSIT_BROWSER_TARGET = false;\n\n/** @define {boolean} */\nvar TRANSIT_BROWSER_AMD_TARGET = false;\n\ngoog.scope(function() {\n\n /**\n * @class transit\n */\n var transit = com.cognitect.transit;\n\n var util = com.cognitect.transit.util,\n reader = com.cognitect.transit.impl.reader,\n writer = com.cognitect.transit.impl.writer,\n decoder = com.cognitect.transit.impl.decoder,\n types = com.cognitect.transit.types,\n eq = com.cognitect.transit.eq,\n caching = com.cognitect.transit.caching;\n\n /**\n * @typedef {Map|com.cognitect.transit.types.TransitArrayMap|com.cognitect.transit.types.TransitMap}\n */\n transit.MapLike;\n\n /**\n * @typedef {Set|com.cognitect.transit.types.TransitSet}\n */\n transit.SetLike;\n\n /**\n * Create a transit reader instance.\n * @method transit.reader\n * @param {string=} type\n * type of reader to construct. Default to \"json\". For verbose mode\n * supply \"json-verbose\".\n * @param {Object=} opts\n * reader options. A JavaScript object to customize the writer Valid\n * entries include \"defaultHandler\", and \"handler\". \"defaultHandler\"\n * should be JavaScript function taking two arguments, the first is the\n * tag, the second the value. \"handlers\" should be an object of tags to\n * handle. The values are functions that will receive the value of matched\n * tag. \"preferBuffers\" may be supplied to customize binary\n * decoding. If available binary data will read as Node.js Buffers,\n * If Buffer is not available or \"prefersBuffers\" is set to false\n * data will be read as Uint8Array. If neither Buffer nor Uint8Array is\n * available - defaults to tagged value that simply wraps the\n * base64 encoded string.\n * @return {com.cognitect.transit.impl.reader.Reader} A transit reader.\n * @example\n * var r = transit.reader(\"json\", {\n * handlers: {\n * \"point\": function(v) { return new Point(v[0], v[1]); }\n * }\n * });\n */\n transit.reader = function(type, opts) {\n if(type === \"json\" || type === \"json-verbose\" || type == null) {\n type = \"json\";\n var unmarshaller = new reader.JSONUnmarshaller(opts);\n return new reader.Reader(unmarshaller, opts);\n } else {\n throw new Error(\"Cannot create reader of type \" + type);\n }\n };\n\n /**\n * Create a transit writer instance.\n * @method transit.writer\n * @param {string=} type\n * type of writer to construct. Defaults to \"json\". For verbose mode\n * supply \"json-verbose\".\n * @param {Object=} opts\n * writer options. A JavaScript object to customize the writer.\n * \"handlers\" options, a transit.map of JavaScript constructor and\n * transit writer handler instance entries. \"handlerForForeign\" option,\n * for dealing with values from other JavaScript contexts. This function\n * will be passed the unmatchable value and the installed handlers. The\n * function should return the correct handler. Note if this function is\n * provided, special handling for Objects will also be\n * auto-installed to catch plain Objects from the foreign context.\n * @return {com.cognitect.transit.impl.writer.Writer} A transit writer.\n * @example\n * var r = transit.writer(\"json\", {\n * handlers: transit.map([\n * Point, PointHandler\n * ])\n * });\n */\n transit.writer = function(type, opts) {\n if(type === \"json\" || type === \"json-verbose\" || type == null) {\n if(type === \"json-verbose\") {\n if(opts == null) opts = {};\n opts[\"verbose\"] = true;\n }\n var marshaller = new writer.JSONMarshaller(opts);\n return new writer.Writer(marshaller, opts);\n } else {\n var err = new Error(\"Type must be \\\"json\\\"\");\n err.data = {type: type};\n throw err;\n }\n };\n\n /**\n * Create a transit writer handler.\n * @method transit.makeWriteHandler\n * @param {Object} obj\n * An object containing 3 functions, tag, rep and stringRep. \"tag\" should\n * return a string representing the tag to be written on the wire. \"rep\"\n * should return the representation on the wire. \"stringRep\" is should\n * return the string representation of the value. Optional\n * \"getVerboseHandler\" should return a handler for writing verbose output.\n * @return {Object} A transit write handler.\n * @example\n * var PointHandler = transit.makeWriteHandler({\n * tag: function(p) { return \"point\"; },\n * rep: function(p) { return [p.x, p.y]; },\n * stringRep: function(p) { return null; }\n * });\n */\n transit.makeWriteHandler = function(obj) {\n /** @constructor */\n var Handler = function(){};\n Handler.prototype.tag = obj[\"tag\"];\n Handler.prototype.rep = obj[\"rep\"];\n Handler.prototype.stringRep = obj[\"stringRep\"];\n Handler.prototype.getVerboseHandler = obj[\"getVerboseHandler\"];\n return new Handler();\n };\n\n transit.makeBuilder = function(obj) {\n /** @constructor */\n var Builder = function(){};\n Builder.prototype.init = obj[\"init\"];\n Builder.prototype.add = obj[\"add\"];\n Builder.prototype.finalize = obj[\"finalize\"];\n Builder.prototype.fromArray = obj[\"fromArray\"];\n return new Builder();\n };\n\n /**\n * Create a transit date.\n * @method transit.date\n * @param {number|string} x\n * A number or string representing milliseconds since epoch.\n * @return {Date} A JavaScript Date.\n */\n transit.date = types.date;\n\n /**\n * Create an integer. If given a transit integer or a JavaScript\n * number will simply return that value. Given a string will\n * return a JavaScript number if the string represents an integer\n * value in the 53bit range and a transit integer otherwise.\n * @method transit.integer\n * @param {number|string} s\n * A value representing an integer.\n * @return {number|goog.math.Long} A JavaScript number or transit integer.\n */\n transit.integer = types.intValue;\n\n /**\n * Test if an object is a transit integer. Will return true if argument\n * is a 64 bit integer or a JavaScript number that has an interpretation as\n * an integer value, i.e. parseFloat(n) === parseInt(n)\n * @method transit.isInteger\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if the value is a transit integer, false otherwise.\n */\n transit.isInteger = types.isInteger;\n\n /**\n * Create transit UUID from a string\n * @method transit.uuid\n * @param {string} s\n * A string.\n * @return {com.cognitect.transit.types.UUID} A transit UUID.\n */\n transit.uuid = types.uuid;\n\n /**\n * Test if an object is a transit UUID.\n * @method transit.isUUID\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if the vlaue is a transit UUID instance, false otherwise.\n */\n transit.isUUID = types.isUUID;\n\n /**\n * Create a transit big integer.\n * @method transit.bigInt\n * @param {string} s\n * A string representing an arbitrary size integer value.\n * @return {com.cognitect.transit.types.TaggedValue} A transit big integer.\n */\n transit.bigInt = types.bigInteger;\n\n /**\n * Test if an object is a transit big integer.\n * @method transit.isBigInt\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit big integer, false otherwise.\n */\n transit.isBigInt = types.isBigInteger;\n\n /**\n * Create a transit big decimal.\n * @method transit.bigDec\n * @param {string} s\n * A string representing an arbitrary precisions decimal value.\n * @return {com.cognitect.transit.types.TaggedValue} A transit big decimal.\n */\n transit.bigDec = types.bigDecimalValue;\n\n /**\n * Test if an object is a transit big decimal.\n * @method transit.isBigDec\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit big decimal, false otherwise.\n */\n transit.isBigDec = types.isBigDecimal;\n\n /**\n * Create transit keyword.\n * @method transit.keyword\n * @param {string} name A string.\n * @return {com.cognitect.transit.types.Keyword} A transit keyword.\n * @example\n * transit.keyword(\"foo\");\n */\n transit.keyword = types.keyword;\n\n /**\n * Test if an object is a transit keyword.\n * @method transit.isKeyword\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit keyword, false otherwise.\n */\n transit.isKeyword = types.isKeyword;\n\n /**\n * Create a transit symbol.\n * @method transit.symbol\n * @param {string} name\n * A string.\n * @return {com.cognitect.transit.types.Symbol} A transit symbol instance.\n * @example\n * transit.symbol(\"foo\");\n */\n transit.symbol = types.symbol;\n\n /**\n * Test if an object is a transit symbol\n * @method transit.isSymbol\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit symbol, false otherwise.\n */\n transit.isSymbol = types.isSymbol;\n\n /**\n * Create transit binary blob.\n * @method transit.binary\n * @param {string} s\n * A base64 encoded string.\n * @param {*=} decoder\n * A Transit compliant decoder\n * @return {com.cognitect.transit.types.TaggedValue|Uint8Array} A transit binary blob instance.\n */\n transit.binary = types.binary;\n\n /**\n * Test if an object is a transit binary blob.\n * @method transit.isBinary\n * @param {*} x\n * Any JavaScript value.\n * @return {Boolean} true if x is a binary value, false otheriwse.\n */\n transit.isBinary = types.isBinary;\n\n /**\n * Create a transit URI.\n * @method transit.uri\n * @param {string} s\n * A string representing a valid URI.\n * @return {com.cognitect.transit.types.TaggedValue} A transit URI.\n */\n transit.uri = types.uri;\n\n /**\n * Test if an object is a transit URI.\n * @method transit.isURI\n * @param {*} x\n * Any JavaScript value.\n * @return {Boolean} true if x is a transit symbol, false otherwise.\n */\n transit.isURI = types.isURI;\n\n /**\n * Create a transit hash map. Transit maps satisfy the current version\n * of the ECMAScript 6 Map specification.\n * @method transit.map\n * @param {Array=} xs\n * A JavaScript array of alternating key value pairs.\n * @return {com.cognitect.transit.MapLike} A transit map.\n * @example\n * transit.map([new Date(), \"foo\", [1,2], 3]);\n */\n transit.map = types.map;\n\n /**\n * Test if an object is a transit map.\n * @method transit.isMap\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit map, false otherwise.\n */\n transit.isMap = types.isMap;\n\n /**\n * Create a transit set. Transit sets satisfy the current version of the\n * of the ECMAScript 6 Set specification.\n * @method transit.set\n * @param {Array=} xs\n * A JavaScript array of values.\n * @return {com.cognitect.transit.SetLike} A transit set.\n * @example\n * transit.set([\"foo\", [1,2], 3, {bar: \"baz\"}]);\n */\n transit.set = types.set;\n\n /**\n * Test if an object is a transit set.\n * @method transit.isSet\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit set, false otherwise.\n */\n transit.isSet = types.isSet;\n\n /**\n * Create a transit list.\n * @method transit.list\n * @param {Array} xs\n * A JavaScript array.\n * @return {com.cognitect.transit.types.TaggedValue} A transit list.\n */\n transit.list = types.list;\n\n /**\n * Test if an object is a transit list.\n * @method transit.isList\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit list, false otherwise.\n */\n transit.isList = types.isList;\n\n /**\n * Create a transit quoted value.\n * @method transit.quoted\n * @param {*} x\n * Any JavaScript value.\n * @return {com.cognitect.transit.types.TaggedValue} A transit quoted value.\n */\n transit.quoted = types.quoted;\n\n /**\n * Test if an object is a transit quoted value.\n * @method transit.isQuoted\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit value, false otherwise.\n */\n transit.isQuoted = types.isQuoted;\n\n /**\n * Create a transit tagged value.\n * @method transit.tagged\n * @param {string} tag A tag.\n * @param {*} value\n * A JavaScrpt array, object, or string.\n * @return {com.cognitect.transit.types.TaggedValue} A transit tagged value.\n * @example\n * transit.tagged(\"point\", new Point(1,2));\n */\n transit.tagged = types.taggedValue;\n\n /**\n * Test if an object is a transit tagged value.\n * @method transit.isTaggedValue\n * @param {*} x\n * Any JavaScript value.\n * @return {boolean} true if x is a transit value, false otherwise.\n */\n transit.isTaggedValue = types.isTaggedValue;\n\n /**\n * Create a transit link.\n * @method transit.link\n * @param {com.cognitect.transit.MapLike} m\n * A transit map which must contain at a minimum the following keys:\n * href, rel. It may optionally include name, render, and prompt. href\n * must be a transit.uri, all other values are strings, and render must\n * be either \"image\" or \"link\".\n * @return {Object} A transit link.\n */\n transit.link = types.link;\n\n /**\n * Test if an object is a transit link.\n * @method transit.isLink\n * @param {*} x\n * Any JavaScript object.\n * @return {boolean} true if x is a transit link, false otherwise.\n */\n transit.isLink = types.isLink;\n\n /**\n * Compute the hashCode for any JavaScript object that has been\n * extend to transit's equality and hashing protocol. JavaScript\n * primitives and transit value are already extended to this protocol.\n * Custom types may be extended to the protocol via transit.extenToEQ.\n * @method transit.hash\n * @param {*} x\n * Any JavaScript object that has been extended to transit's equality\n * and hashing protocol.\n * @return {number} Returns JavaScript number - semantically a 32bit integer.\n */\n transit.hash = eq.hashCode;\n\n /**\n * Compute the hashCode for JavaScript map-like types - either a JavaScript\n * object or a JavaScript object that implements ES6 Map forEach.\n * @method transit.hashMapLike\n * @param {Object|com.cognitect.transit.MapLike} x\n * A plain JavaScript Object or Object that implements ES6 Map forEach.\n * @return {number} Returns JavaScript number - semantically a 32bit integer.\n */\n transit.hashMapLike = eq.hashMapLike;\n\n /**\n * Compute the hashCode for JavaScript array-like types - either a JavaScript\n * array or a JavaScript object that implements Array forEach.\n * @method transit.hashArrayLike\n * @param {Object} x\n * A JavaScript Array or Object that implements Array forEach.\n * @return {number} Returns JavaScript number - semantically a 32bit integer.\n */\n transit.hashArrayLike = eq.hashArrayLike;\n\n /**\n * Test whether two JavaScript objects represent equal values. The\n * objects to be tested should be extended to transit's equality\n * and hasing protocol. JavaScript natives and transit value have\n * already been extended to the protocol, including objects and\n * arrays. Also transit maps and JavaScript objects may be\n * compared for equality. Custom types may be extended via\n * transit.extendToEQ.\n * @param {*} x\n * A JavaScript object\n * @param {*} y\n * A JavaScript object\n * @return {Boolean} true if the x and y are equal, false otherwise.\n */\n transit.equals = eq.equals;\n\n /**\n * Extend an object to hashing and equality required by\n * transit maps and sets. Only required for custom\n * types, JavaScript primitive types and transit\n * types are handled.\n * @method transit.extendToEQ\n * @param {*} x\n * A JavaScript object, will be mutated.\n * @param {{hashCode: function(), equals: function(*,*):boolean}}\n * A JavaScript object supplying `hashCode` and `equals`\n * implementations\n * @return {*} x\n * @example\n * transit.extendToEq(Point.protototype, {\n * hashCode: function() {\n * var bits = (this.x | 0) ^ ((this.y | 0) * 31);\n * return bits ^ (bits >>> 32);\n * },\n * equals: function(other) {\n * return this.x == other.x && this.y == other.y;\n * }\n * });\n */\n transit.extendToEQ = eq.extendToEQ;\n\n /**\n * Convert a transit map instance into a JavaScript Object.\n * Throws if the map has keys which have no string representation.\n * @method transit.mapToObject\n * @param {com.cognitect.transit.MapLike} m\n * a transit map\n * @return {Object} a JavaScript Object\n */\n transit.mapToObject = function(m) {\n var ret = {};\n m.forEach(function(v, k) {\n if(typeof k !== \"string\") {\n throw Error(\"Cannot convert map with non-string keys\");\n } else {\n ret[k] = v;\n }\n });\n return ret;\n };\n\n /**\n * Convert a POJO into a transit map.\n * @method transit.objectToMap\n * @param {Object} obj\n * a JavaScript Object\n * @return {com.cognitect.transit.MapLike} a transit map\n */\n transit.objectToMap = function(obj) {\n var ret = transit.map();\n for(var p in obj) {\n if(obj.hasOwnProperty(p)) {\n ret.set(p, obj[p]);\n }\n }\n return ret;\n };\n\n /**\n * Construct a Transit JSON decoder.\n * @method transit.decoder\n * @param {Object} opts\n * options to the decoder. Can include map of\n * handlers.\n * @return {com.cognitect.transit.impl.decoder.Decoder} a Transit JSON decoder\n * @example\n * var decoder = transit.decoder();\n * var x = decoder.decode(json, transit.readCache());\n */\n transit.decoder = decoder.decoder;\n\n /**\n * Construct a Transit read cache\n * @method transit.readCache\n * @return {com.cognitect.transit.caching.ReadCache} a Transit read cache\n */\n transit.readCache = caching.readCache;\n\n /**\n * Construct a Transit write cache\n * @method transit.writeCache\n * @return {com.cognitect.transit.caching.WriteCache} a Transit write cache\n */\n transit.writeCache = caching.writeCache;\n\n transit.UUIDfromString = types.UUIDfromString;\n transit.randomUUID = util.randomUUID;\n transit.stringableKeys = writer.stringableKeys;\n\n if(TRANSIT_BROWSER_TARGET) {\n goog.exportSymbol(\"transit.reader\", transit.reader);\n goog.exportSymbol(\"transit.writer\", transit.writer);\n goog.exportSymbol(\"transit.makeBuilder\", transit.makeBuilder);\n goog.exportSymbol(\"transit.makeWriteHandler\", transit.makeWriteHandler);\n goog.exportSymbol(\"transit.date\", types.date);\n goog.exportSymbol(\"transit.integer\", types.intValue);\n goog.exportSymbol(\"transit.isInteger\", types.isInteger);\n goog.exportSymbol(\"transit.uuid\", types.uuid);\n goog.exportSymbol(\"transit.isUUID\", types.isUUID);\n goog.exportSymbol(\"transit.bigInt\", types.bigInteger);\n goog.exportSymbol(\"transit.isBigInt\", types.isBigInteger);\n goog.exportSymbol(\"transit.bigDec\", types.bigDecimalValue);\n goog.exportSymbol(\"transit.isBigDec\", types.isBigDecimal);\n goog.exportSymbol(\"transit.keyword\", types.keyword);\n goog.exportSymbol(\"transit.isKeyword\", types.isKeyword);\n goog.exportSymbol(\"transit.symbol\", types.symbol);\n goog.exportSymbol(\"transit.isSymbol\", types.isSymbol);\n goog.exportSymbol(\"transit.binary\", types.binary);\n goog.exportSymbol(\"transit.isBinary\", types.isBinary);\n goog.exportSymbol(\"transit.uri\", types.uri);\n goog.exportSymbol(\"transit.isURI\", types.isURI);\n goog.exportSymbol(\"transit.map\", types.map);\n goog.exportSymbol(\"transit.isMap\", types.isMap);\n goog.exportSymbol(\"transit.set\", types.set);\n goog.exportSymbol(\"transit.isSet\", types.isSet);\n goog.exportSymbol(\"transit.list\", types.list);\n goog.exportSymbol(\"transit.isList\", types.isList);\n goog.exportSymbol(\"transit.quoted\", types.quoted);\n goog.exportSymbol(\"transit.isQuoted\", types.isQuoted);\n goog.exportSymbol(\"transit.tagged\", types.taggedValue);\n goog.exportSymbol(\"transit.isTaggedValue\", types.isTaggedValue);\n goog.exportSymbol(\"transit.link\", types.link);\n goog.exportSymbol(\"transit.isLink\", types.isLink);\n goog.exportSymbol(\"transit.hash\", eq.hashCode);\n goog.exportSymbol(\"transit.hashMapLike\", eq.hashMapLike);\n goog.exportSymbol(\"transit.hashArrayLike\", eq.hashArrayLike);\n goog.exportSymbol(\"transit.equals\", eq.equals);\n goog.exportSymbol(\"transit.extendToEQ\", eq.extendToEQ);\n goog.exportSymbol(\"transit.mapToObject\", transit.mapToObject);\n goog.exportSymbol(\"transit.objectToMap\", transit.objectToMap);\n goog.exportSymbol(\"transit.decoder\", decoder.decoder);\n goog.exportSymbol(\"transit.UUIDfromString\", types.UUIDfromString);\n goog.exportSymbol(\"transit.randomUUID\", util.randomUUID);\n goog.exportSymbol(\"transit.stringableKeys\", writer.stringableKeys);\n goog.exportSymbol(\"transit.readCache\", caching.readCache);\n goog.exportSymbol(\"transit.writeCache\", caching.writeCache);\n }\n\n if(TRANSIT_NODE_TARGET) {\n module.exports = {\n reader: transit.reader,\n writer: transit.writer,\n makeBuilder: transit.makeBuilder,\n makeWriteHandler: transit.makeWriteHandler,\n date: types.date,\n integer: types.intValue,\n isInteger: types.isInteger,\n uuid: types.uuid,\n isUUID: types.isUUID,\n bigInt: types.bigInteger,\n isBigInt: types.isBigInteger,\n bigDec: types.bigDecimalValue,\n isBigDec: types.isBigDecimal,\n keyword: types.keyword,\n isKeyword: types.isKeyword,\n symbol: types.symbol,\n isSymbol: types.isSymbol,\n binary: types.binary,\n isBinary: types.isBinary,\n uri: types.uri,\n isURI: types.isURI,\n map: types.map,\n isMap: types.isMap,\n set: types.set,\n isSet: types.isSet,\n list: types.list,\n isList: types.isList,\n quoted: types.quoted,\n isQuoted: types.isQuoted,\n tagged: types.taggedValue,\n isTaggedValue: types.isTaggedValue,\n link: types.link,\n isLink: types.isLink,\n hash: eq.hashCode,\n hashArrayLike: eq.hashArrayLike,\n hashMapLike: eq.hashMapLike,\n equals: eq.equals,\n extendToEQ: eq.extendToEQ,\n mapToObject: transit.mapToObject,\n objectToMap: transit.objectToMap,\n decoder: decoder.decoder,\n UUIDfromString: types.UUIDfromString,\n randomUUID: util.randomUUID,\n stringableKeys: writer.stringableKeys,\n readCache: caching.readCache,\n writeCache: caching.writeCache\n };\n }\n});\n"], +"names":["goog","provide","require","TRANSIT_DEV","TRANSIT_NODE_TARGET","TRANSIT_BROWSER_TARGET","TRANSIT_BROWSER_AMD_TARGET","scope","transit","com","cognitect","util","reader","impl","writer","decoder","types","eq","caching","MapLike","SetLike","transit.reader","type","opts","unmarshaller","JSONUnmarshaller","Reader","Error","transit.writer","marshaller","JSONMarshaller","Writer","err","data","makeWriteHandler","transit.makeWriteHandler","obj","Handler","prototype","tag","rep","stringRep","getVerboseHandler","makeBuilder","transit.makeBuilder","Builder","init","add","finalize","fromArray","date","integer","intValue","isInteger","uuid","isUUID","bigInt","bigInteger","isBigInt","isBigInteger","bigDec","bigDecimalValue","isBigDec","isBigDecimal","keyword","isKeyword","symbol","isSymbol","binary","isBinary","uri","isURI","map","isMap","set","isSet","list","isList","quoted","isQuoted","tagged","taggedValue","isTaggedValue","link","isLink","hash","hashCode","hashMapLike","hashArrayLike","equals","extendToEQ","mapToObject","transit.mapToObject","m","ret","forEach","v","k","objectToMap","transit.objectToMap","p","hasOwnProperty","readCache","writeCache","UUIDfromString","randomUUID","stringableKeys","exportSymbol","module","exports"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.types.js b/out/cljs-runtime/com.cognitect.transit.types.js new file mode 100644 index 0000000..9b25b4e --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.types.js @@ -0,0 +1,1022 @@ +goog.provide("com.cognitect.transit.types"); +goog.require("com.cognitect.transit.util"); +goog.require("com.cognitect.transit.eq"); +goog.require("goog.math.Long"); +goog.scope(function() { + var types = com.cognitect.transit.types; + var util = com.cognitect.transit.util; + var eq = com.cognitect.transit.eq; + var Long = goog.math.Long; + if (typeof Symbol != "undefined") { + types.ITERATOR = Symbol.iterator; + } else { + types.ITERATOR = "@@iterator"; + } + types.TaggedValue = function Transit$TaggedValue(tag, rep) { + this.tag = tag; + this.rep = rep; + this.hashCode = -1; + }; + types.TaggedValue.prototype.toString = function() { + return "[TaggedValue: " + this.tag + ", " + this.rep + "]"; + }; + types.TaggedValue.prototype.equiv = function(other) { + return eq.equals(this, other); + }; + types.TaggedValue.prototype["equiv"] = types.TaggedValue.prototype.equiv; + types.TaggedValue.prototype.com$cognitect$transit$equals = function(other) { + if (other instanceof types.TaggedValue) { + return this.tag === other.tag && eq.equals(this.rep, other.rep); + } else { + return false; + } + }; + types.TaggedValue.prototype.com$cognitect$transit$hashCode = function() { + if (this.hashCode === -1) { + this.hashCode = eq.hashCombine(eq.hashCode(this.tag), eq.hashCode(this.rep)); + } + return this.hashCode; + }; + types.taggedValue = function(tag, rep) { + return new types.TaggedValue(tag, rep); + }; + types.isTaggedValue = function(x) { + return x instanceof types.TaggedValue; + }; + types.nullValue = function() { + return null; + }; + types.boolValue = function(s) { + return s === "t"; + }; + types.MAX_INT = Long.fromString("9007199254740991"); + types.MIN_INT = Long.fromString("-9007199254740991"); + types.intValue = function(s) { + if (typeof s === "number") { + return s; + } else if (s instanceof Long) { + return s; + } else { + var n = Long.fromString(s, 10); + if (n.greaterThan(types.MAX_INT) || n.lessThan(types.MIN_INT)) { + return n; + } else { + return n.toNumber(); + } + } + }; + Long.prototype.equiv = function(other) { + return eq.equals(this, other); + }; + Long.prototype["equiv"] = Long.prototype.equiv; + Long.prototype.com$cognitect$transit$equals = function(other) { + return other instanceof Long && this.equals(other); + }; + Long.prototype.com$cognitect$transit$hashCode = function() { + return this.toInt(); + }; + types.isInteger = function(x) { + if (x instanceof Long) { + return true; + } else { + return typeof x === "number" && !isNaN(x) && !(x === Infinity) && parseFloat(x) === parseInt(x, 10); + } + }; + types.floatValue = function(s) { + return parseFloat(s); + }; + types.bigInteger = function(s) { + return types.taggedValue("n", s); + }; + types.isBigInteger = function(x) { + return x instanceof types.TaggedValue && x.tag === "n"; + }; + types.bigDecimalValue = function(s) { + return types.taggedValue("f", s); + }; + types.isBigDecimal = function(x) { + return x instanceof types.TaggedValue && x.tag === "f"; + }; + types.charValue = function(s) { + return s; + }; + types.Keyword = function Transit$Keyword(name) { + this._name = name; + this.hashCode = -1; + }; + types.Keyword.prototype.toString = function() { + return ":" + this._name; + }; + types.Keyword.prototype["namespace"] = function() { + var idx = this._name.indexOf("/"); + if (idx != -1) { + return this._name.substring(0, idx); + } else { + return null; + } + }; + types.Keyword.prototype["name"] = function() { + var idx = this._name.indexOf("/"); + if (idx != -1) { + return this._name.substring(idx + 1, this._name.length); + } else { + return this._name; + } + }; + types.Keyword.prototype.equiv = function(other) { + return eq.equals(this, other); + }; + types.Keyword.prototype["equiv"] = types.Keyword.prototype.equiv; + types.Keyword.prototype.com$cognitect$transit$equals = function(other) { + return other instanceof types.Keyword && this._name == other._name; + }; + types.Keyword.prototype.com$cognitect$transit$hashCode = function() { + if (this.hashCode === -1) { + this.hashCode = eq.hashCode(this._name); + } + return this.hashCode; + }; + types.keyword = function(s) { + return new types.Keyword(s); + }; + types.isKeyword = function(x) { + return x instanceof types.Keyword; + }; + types.Symbol = function Transit$Symbol(name) { + this._name = name; + this.hashCode = -1; + }; + types.Symbol.prototype["namespace"] = function() { + var idx = this._name.indexOf("/"); + if (idx != -1) { + return this._name.substring(0, idx); + } else { + return null; + } + }; + types.Symbol.prototype["name"] = function() { + var idx = this._name.indexOf("/"); + if (idx != -1) { + return this._name.substring(idx + 1, this._name.length); + } else { + return this._name; + } + }; + types.Symbol.prototype.toString = function() { + return this._name; + }; + types.Symbol.prototype.equiv = function(other) { + return eq.equals(this, other); + }; + types.Symbol.prototype["equiv"] = types.Symbol.prototype.equiv; + types.Symbol.prototype.com$cognitect$transit$equals = function(other) { + return other instanceof types.Symbol && this._name == other._name; + }; + types.Symbol.prototype.com$cognitect$transit$hashCode = function() { + if (this.hashCode === -1) { + this.hashCode = eq.hashCode(this._name); + } + return this.hashCode; + }; + types.symbol = function(s) { + return new types.Symbol(s); + }; + types.isSymbol = function(x) { + return x instanceof types.Symbol; + }; + types.hexFor = function(aLong, sidx, eidx) { + var ret = ""; + eidx = eidx || sidx + 1; + var i = sidx; + var shift = (7 - i) * 8; + var mask = Long.fromInt(255).shiftLeft(shift); + for (; i < eidx; i++, shift = shift - 8, mask = mask.shiftRightUnsigned(8)) { + var s = aLong.and(mask).shiftRightUnsigned(shift).toString(16); + if (s.length == 1) { + s = "0" + s; + } + ret = ret + s; + } + return ret; + }; + types.UUID = function Transit$UUID(high, low) { + this.high = high; + this.low = low; + this.hashCode = -1; + }; + types.UUID.prototype.getLeastSignificantBits = function() { + return this.low; + }; + types.UUID.prototype.getMostSignificantBits = function() { + return this.high; + }; + types.UUID.prototype.toString = function() { + var s = ""; + var hi64 = this.high; + var lo64 = this.low; + s = s + (types.hexFor(hi64, 0, 4) + "-"); + s = s + (types.hexFor(hi64, 4, 6) + "-"); + s = s + (types.hexFor(hi64, 6, 8) + "-"); + s = s + (types.hexFor(lo64, 0, 2) + "-"); + s = s + types.hexFor(lo64, 2, 8); + return s; + }; + types.UUID.prototype.equiv = function(other) { + return eq.equals(this, other); + }; + types.UUID.prototype["equiv"] = types.UUID.prototype.equiv; + types.UUID.prototype.com$cognitect$transit$equals = function(other) { + return other instanceof types.UUID && this.high.equals(other.high) && this.low.equals(other.low); + }; + types.UUID.prototype.com$cognitect$transit$hashCode = function() { + if (this.hashCode === -1) { + this.hashCode = eq.hashCode(this.toString()); + } + return this.hashCode; + }; + types.UUIDfromString = function uuidFromString(s) { + s = s.replace(/-/g, ""); + var hi64 = null; + var lo64 = null; + var hi32 = 0; + var lo32 = 0; + var off = 24; + var i = 0; + hi32 = 0, i = 0, off = 24; + for (; i < 8; i = i + 2, off = off - 8) { + hi32 = hi32 | parseInt(s.substring(i, i + 2), 16) << off; + } + lo32 = 0, i = 8, off = 24; + for (; i < 16; i = i + 2, off = off - 8) { + lo32 = lo32 | parseInt(s.substring(i, i + 2), 16) << off; + } + hi64 = Long.fromBits(lo32, hi32); + hi32 = 0, i = 16, off = 24; + for (; i < 24; i = i + 2, off = off - 8) { + hi32 = hi32 | parseInt(s.substring(i, i + 2), 16) << off; + } + lo32 = 0, i = 24, off = 24; + for (; i < 32; i = i + 2, off = off - 8) { + lo32 = lo32 | parseInt(s.substring(i, i + 2), 16) << off; + } + lo64 = Long.fromBits(lo32, hi32); + return new types.UUID(hi64, lo64); + }; + types.uuid = function(s) { + return types.UUIDfromString(s); + }; + types.isUUID = function(x) { + return x instanceof types.UUID; + }; + types.date = function(s) { + s = typeof s === "number" ? s : parseInt(s, 10); + return new Date(s); + }; + types.verboseDate = function(s) { + return new Date(s); + }; + Date.prototype.com$cognitect$transit$equals = function(other) { + if (other instanceof Date) { + return this.valueOf() === other.valueOf(); + } else { + return false; + } + }; + Date.prototype.com$cognitect$transit$hashCode = function() { + return this.valueOf(); + }; + types.binary = function(str, decoder) { + if ((!decoder || decoder.preferBuffers !== false) && typeof goog.global.Buffer != "undefined") { + return new goog.global.Buffer(str, "base64"); + } else if (typeof Uint8Array != "undefined") { + return util.Base64ToUint8(str); + } else { + return types.taggedValue("b", str); + } + }; + types.isBinary = function(x) { + if (typeof goog.global.Buffer != "undefined" && x instanceof goog.global.Buffer) { + return true; + } else if (typeof Uint8Array != "undefined" && x instanceof Uint8Array) { + return true; + } else { + return x instanceof types.TaggedValue && x.tag === "b"; + } + }; + types.uri = function(s) { + return types.taggedValue("r", s); + }; + types.isURI = function(x) { + return x instanceof types.TaggedValue && x.tag === "r"; + }; + types.KEYS = 0; + types.VALUES = 1; + types.ENTRIES = 2; + types.TransitArrayMapIterator = function Transit$ArrayMapIterator(entries, type) { + this.entries = entries; + this.type = type || types.KEYS; + this.idx = 0; + }; + types.TransitArrayMapIterator.prototype.next = function() { + if (this.idx < this.entries.length) { + var value = null; + if (this.type === types.KEYS) { + value = this.entries[this.idx]; + } else if (this.type === types.VALUES) { + value = this.entries[this.idx + 1]; + } else { + value = [this.entries[this.idx], this.entries[this.idx + 1]]; + } + var ret = {"value":value, "done":false}; + this.idx += 2; + return ret; + } else { + return {"value":null, "done":true}; + } + }; + types.TransitArrayMapIterator.prototype["next"] = types.TransitArrayMapIterator.prototype.next; + types.TransitArrayMapIterator.prototype[types.ITERATOR] = function() { + return this; + }; + types.TransitMapIterator = function Transit$MapIterator(map, type) { + this.map = map; + this.type = type || types.KEYS; + this.keys = this.map.getKeys(); + this.idx = 0; + this.bucket = null; + this.bucketIdx = 0; + }; + types.TransitMapIterator.prototype.next = function() { + if (this.idx < this.map.size) { + if (this.bucket == null || !(this.bucketIdx < this.bucket.length)) { + this.bucket = this.map.map[this.keys[this.idx]]; + this.bucketIdx = 0; + } + var value = null; + if (this.type === types.KEYS) { + value = this.bucket[this.bucketIdx]; + } else if (this.type === types.VALUES) { + value = this.bucket[this.bucketIdx + 1]; + } else { + value = [this.bucket[this.bucketIdx], this.bucket[this.bucketIdx + 1]]; + } + var ret = {"value":value, "done":false}; + this.idx++; + this.bucketIdx += 2; + return ret; + } else { + return {"value":null, "done":true}; + } + }; + types.TransitMapIterator.prototype["next"] = types.TransitMapIterator.prototype.next; + types.TransitMapIterator.prototype[types.ITERATOR] = function() { + return this; + }; + types.mapEquals = function(me, you) { + if (me instanceof types.TransitMap && types.isMap(you)) { + if (me.size !== you.size) { + return false; + } + var code; + for (code in me.map) { + var bucket = me.map[code]; + var j = 0; + for (; j < bucket.length; j = j + 2) { + if (!eq.equals(bucket[j + 1], you.get(bucket[j]))) { + return false; + } + } + } + return true; + } else if (me instanceof types.TransitArrayMap && types.isMap(you)) { + if (me.size !== you.size) { + return false; + } + var entries = me._entries; + j = 0; + for (; j < entries.length; j = j + 2) { + if (!eq.equals(entries[j + 1], you.get(entries[j]))) { + return false; + } + } + return true; + } else if (you != null && typeof you === "object") { + var ks = util.objectKeys(you); + var kslen = ks.length; + if (me.size === kslen) { + var i = 0; + for (; i < kslen; i++) { + var k = ks[i]; + if (!me.has(k) || !eq.equals(you[k], me.get(k))) { + return false; + } + } + return true; + } else { + return false; + } + } else { + return false; + } + }; + types.SMALL_ARRAY_MAP_THRESHOLD = 8; + types.ARRAY_MAP_THRESHOLD = 32; + types.ARRAY_MAP_ACCESS_THRESHOLD = 32; + types.print = function(x) { + if (x == null) { + return "null"; + } + if (goog.typeOf(x) === "array") { + return "[" + x.toString() + "]"; + } else if (goog.typeOf(x) === "string") { + return '"' + x + '"'; + } else { + return x.toString(); + } + }; + types.printMap = function(map) { + var idx = 0; + var str = "TransitMap {"; + map.forEach(function(v, k) { + str = str + (types.print(k) + " \x3d\x3e " + types.print(v)); + if (idx < map.size - 1) { + str = str + ", "; + } + idx++; + }); + return str + "}"; + }; + types.printSet = function(set) { + var idx = 0; + var str = "TransitSet {"; + set.forEach(function(v) { + str = str + types.print(v); + if (idx < set.size - 1) { + str = str + ", "; + } + idx++; + }); + return str + "}"; + }; + types.TransitArrayMap = function Transit$ArrayMap(entries) { + this._entries = entries; + this.backingMap = null; + this.hashCode = -1; + this.size = entries.length / 2; + this.accesses = 0; + }; + types.TransitArrayMap.prototype.toString = function() { + return types.printMap(this); + }; + types.TransitArrayMap.prototype["inspect"] = function() { + return this.toString(); + }; + types.TransitArrayMap.prototype.convert = function() { + if (this.backingMap) { + throw Error("Invalid operation, already converted"); + } + if (this.size < types.SMALL_ARRAY_MAP_THRESHOLD) { + return false; + } + this.accesses++; + if (this.accesses > types.ARRAY_MAP_ACCESS_THRESHOLD) { + this.backingMap = types.map(this._entries, false, true); + this._entries = []; + return true; + } else { + return false; + } + }; + types.TransitArrayMap.prototype.clear = function() { + this.hashCode = -1; + if (this.backingMap) { + this.backingMap.clear(); + this.size = 0; + } else { + this._entries = []; + this.size = 0; + } + }; + types.TransitArrayMap.prototype["clear"] = types.TransitArrayMap.prototype.clear; + types.TransitArrayMap.prototype.keys = function() { + if (this.backingMap) { + return this.backingMap.keys(); + } else { + return new types.TransitArrayMapIterator(this._entries, types.KEYS); + } + }; + types.TransitArrayMap.prototype["keys"] = types.TransitArrayMap.prototype.keys; + types.TransitArrayMap.prototype.keySet = function() { + if (this.backingMap) { + return this.backingMap.keySet(); + } else { + var ret = []; + var i = 0; + var j = 0; + for (; j < this._entries.length; i++, j = j + 2) { + ret[i] = this._entries[j]; + } + return ret; + } + }; + types.TransitArrayMap.prototype["keySet"] = types.TransitArrayMap.prototype.keySet; + types.TransitArrayMap.prototype.entries = function() { + if (this.backingMap) { + return this.backingMap.entries(); + } else { + return new types.TransitArrayMapIterator(this._entries, types.ENTRIES); + } + }; + types.TransitArrayMap.prototype["entries"] = types.TransitArrayMap.prototype.entries; + types.TransitArrayMap.prototype.values = function() { + if (this.backingMap) { + return this.backingMap.values(); + } else { + return new types.TransitArrayMapIterator(this._entries, types.VALUES); + } + }; + types.TransitArrayMap.prototype["values"] = types.TransitArrayMap.prototype.values; + types.TransitArrayMap.prototype.forEach = function(f) { + if (this.backingMap) { + this.backingMap.forEach(f); + } else { + var i = 0; + for (; i < this._entries.length; i = i + 2) { + f(this._entries[i + 1], this._entries[i]); + } + } + }; + types.TransitArrayMap.prototype["forEach"] = types.TransitArrayMap.prototype.forEach; + types.TransitArrayMap.prototype.get = function(k, notFound) { + if (this.backingMap) { + return this.backingMap.get(k); + } else { + if (this.convert()) { + return this.get(k); + } else { + var i = 0; + for (; i < this._entries.length; i = i + 2) { + if (eq.equals(this._entries[i], k)) { + return this._entries[i + 1]; + } + } + return notFound; + } + } + }; + types.TransitArrayMap.prototype["get"] = types.TransitArrayMap.prototype.get; + types.TransitArrayMap.prototype.has = function(k) { + if (this.backingMap) { + return this.backingMap.has(k); + } else { + if (this.convert()) { + return this.has(k); + } else { + var i = 0; + for (; i < this._entries.length; i = i + 2) { + if (eq.equals(this._entries[i], k)) { + return true; + } + } + return false; + } + } + }; + types.TransitArrayMap.prototype["has"] = types.TransitArrayMap.prototype.has; + types.TransitArrayMap.prototype.set = function(k, v) { + this.hashCode = -1; + if (this.backingMap) { + this.backingMap.set(k, v); + this.size = this.backingMap.size; + } else { + var i = 0; + for (; i < this._entries.length; i = i + 2) { + if (eq.equals(this._entries[i], k)) { + this._entries[i + 1] = v; + return; + } + } + this._entries.push(k); + this._entries.push(v); + this.size++; + if (this.size > types.ARRAY_MAP_THRESHOLD) { + this.backingMap = types.map(this._entries, false, true); + this._entries = null; + } + } + }; + types.TransitArrayMap.prototype["set"] = types.TransitArrayMap.prototype.set; + types.TransitArrayMap.prototype["delete"] = function(k) { + this.hashCode = -1; + if (this.backingMap) { + var ret = this.backingMap.delete(k); + this.size = this.backingMap.size; + return ret; + } else { + var i = 0; + for (; i < this._entries.length; i = i + 2) { + if (eq.equals(this._entries[i], k)) { + ret = this._entries[i + 1]; + this._entries.splice(i, 2); + this.size--; + return ret; + } + } + } + }; + types.TransitArrayMap.prototype.clone = function() { + var clone = types.map(); + this.forEach(function(v, k) { + clone.set(k, v); + }); + return clone; + }; + types.TransitArrayMap.prototype["clone"] = types.TransitArrayMap.prototype.clone; + types.TransitArrayMap.prototype[types.ITERATOR] = function() { + return this.entries(); + }; + types.TransitArrayMap.prototype.com$cognitect$transit$hashCode = function() { + if (this.backingMap) { + return this.backingMap.com$cognitect$transit$hashCode(); + } else { + if (this.hashCode === -1) { + this.hashCode = eq.hashMapLike(this); + } + return this.hashCode; + } + }; + types.TransitArrayMap.prototype.com$cognitect$transit$equals = function(other) { + if (this.backingMap) { + return types.mapEquals(this.backingMap, other); + } else { + return types.mapEquals(this, other); + } + }; + types.TransitMap = function Transit$Map(keys, map, size) { + this.map = map || {}; + this._keys = keys || []; + this.size = size || 0; + this.hashCode = -1; + }; + types.TransitMap.prototype.toString = function() { + return types.printMap(this); + }; + types.TransitMap.prototype["inspect"] = function() { + return this.toString(); + }; + types.TransitMap.prototype.clear = function() { + this.hashCode = -1; + this.map = {}; + this._keys = []; + this.size = 0; + }; + types.TransitMap.prototype["clear"] = types.TransitMap.prototype.clear; + types.TransitMap.prototype.getKeys = function() { + if (this._keys != null) { + return this._keys; + } else { + return util.objectKeys(this.map); + } + }; + types.TransitMap.prototype["delete"] = function(k) { + this.hashCode = -1; + this._keys = null; + var code = eq.hashCode(k); + var bucket = this.map[code]; + var i = 0; + for (; i < bucket.length; i = i + 2) { + if (eq.equals(k, bucket[i])) { + var ret = bucket[i + 1]; + bucket.splice(i, 2); + if (bucket.length === 0) { + delete this.map[code]; + } + this.size--; + return ret; + } + } + }; + types.TransitMap.prototype.entries = function() { + return new types.TransitMapIterator(this, types.ENTRIES); + }; + types.TransitMap.prototype["entries"] = types.TransitMap.prototype.entries; + types.TransitMap.prototype.forEach = function(callback) { + var ks = this.getKeys(); + var i = 0; + for (; i < ks.length; i++) { + var bucket = this.map[ks[i]]; + var j = 0; + for (; j < bucket.length; j = j + 2) { + callback(bucket[j + 1], bucket[j], this); + } + } + }; + types.TransitMap.prototype["forEach"] = types.TransitMap.prototype.forEach; + types.TransitMap.prototype.get = function(k, notFound) { + var code = eq.hashCode(k); + var bucket = this.map[code]; + if (bucket != null) { + var i = 0; + for (; i < bucket.length; i = i + 2) { + if (eq.equals(k, bucket[i])) { + return bucket[i + 1]; + } + } + } else { + return notFound; + } + }; + types.TransitMap.prototype["get"] = types.TransitMap.prototype.get; + types.TransitMap.prototype.has = function(k) { + var code = eq.hashCode(k); + var bucket = this.map[code]; + if (bucket != null) { + var i = 0; + for (; i < bucket.length; i = i + 2) { + if (eq.equals(k, bucket[i])) { + return true; + } + } + return false; + } else { + return false; + } + }; + types.TransitMap.prototype["has"] = types.TransitMap.prototype.has; + types.TransitMap.prototype.keys = function() { + return new types.TransitMapIterator(this, types.KEYS); + }; + types.TransitMap.prototype["keys"] = types.TransitMap.prototype.keys; + types.TransitMap.prototype.keySet = function() { + var keys = this.getKeys(); + var ret = []; + var i = 0; + for (; i < keys.length; i++) { + var bucket = this.map[keys[i]]; + var j = 0; + for (; j < bucket.length; j = j + 2) { + ret.push(bucket[j]); + } + } + return ret; + }; + types.TransitMap.prototype["keySet"] = types.TransitMap.prototype.keySet; + types.TransitMap.prototype.set = function(k, v) { + this.hashCode = -1; + var code = eq.hashCode(k); + var bucket = this.map[code]; + if (bucket == null) { + if (this._keys) { + this._keys.push(code); + } + this.map[code] = [k, v]; + this.size++; + } else { + var newEntry = true; + var i = 0; + for (; i < bucket.length; i = i + 2) { + if (eq.equals(v, bucket[i])) { + newEntry = false; + bucket[i] = v; + break; + } + } + if (newEntry) { + bucket.push(k); + bucket.push(v); + this.size++; + } + } + }; + types.TransitMap.prototype["set"] = types.TransitMap.prototype.set; + types.TransitMap.prototype.values = function() { + return new types.TransitMapIterator(this, types.VALUES); + }; + types.TransitMap.prototype["values"] = types.TransitMap.prototype.values; + types.TransitMap.prototype.clone = function() { + var clone = types.map(); + this.forEach(function(v, k) { + clone.set(k, v); + }); + return clone; + }; + types.TransitMap.prototype["clone"] = types.TransitMap.prototype.clone; + types.TransitMap.prototype[types.ITERATOR] = function() { + return this.entries(); + }; + types.TransitMap.prototype.com$cognitect$transit$hashCode = function() { + if (this.hashCode === -1) { + this.hashCode = eq.hashMapLike(this); + } + return this.hashCode; + }; + types.TransitMap.prototype.com$cognitect$transit$equals = function(other) { + return types.mapEquals(this, other); + }; + types.map = function(arr, checkDups, hashMap) { + arr = arr || []; + checkDups = checkDups === false ? checkDups : true; + hashMap = hashMap === true ? hashMap : false; + if (!hashMap && arr.length <= types.ARRAY_MAP_THRESHOLD * 2) { + if (checkDups) { + var t = arr; + arr = []; + var i = 0; + for (; i < t.length; i = i + 2) { + var seen = false; + var j = 0; + for (; j < arr.length; j = j + 2) { + if (eq.equals(arr[j], t[i])) { + arr[j + 1] = t[i + 1]; + seen = true; + break; + } + } + if (!seen) { + arr.push(t[i]); + arr.push(t[i + 1]); + } + } + } + return new types.TransitArrayMap(arr); + } else { + var map = {}; + var keys = []; + var size = 0; + i = 0; + for (; i < arr.length; i = i + 2) { + var code = eq.hashCode(arr[i]); + var bucket = map[code]; + if (bucket == null) { + keys.push(code); + map[code] = [arr[i], arr[i + 1]]; + size++; + } else { + var newEntry = true; + j = 0; + for (; j < bucket.length; j = j + 2) { + if (eq.equals(bucket[j], arr[i])) { + bucket[j + 1] = arr[i + 1]; + newEntry = false; + break; + } + } + if (newEntry) { + bucket.push(arr[i]); + bucket.push(arr[i + 1]); + size++; + } + } + } + return new types.TransitMap(keys, map, size); + } + }; + types.isArrayMap = function(x) { + return x instanceof types.TransitArrayMap; + }; + types.isMap = function(x) { + return x instanceof types.TransitArrayMap || x instanceof types.TransitMap; + }; + types.TransitSet = function Transit$Set(map) { + this.map = map; + this.size = map.size; + }; + types.TransitSet.prototype.toString = function() { + return types.printSet(this); + }; + types.TransitSet.prototype["inspect"] = function() { + return this.toString(); + }; + types.TransitSet.prototype.add = function(value) { + this.map.set(value, value); + this.size = this.map.size; + }; + types.TransitSet.prototype["add"] = types.TransitSet.prototype.add; + types.TransitSet.prototype.clear = function() { + this.map = new types.TransitMap(); + this.size = 0; + }; + types.TransitSet.prototype["clear"] = types.TransitSet.prototype.clear; + types.TransitSet.prototype["delete"] = function(value) { + var ret = this.map.delete(value); + this.size = this.map.size; + return ret; + }; + types.TransitSet.prototype.entries = function() { + return this.map.entries(); + }; + types.TransitSet.prototype["entries"] = types.TransitSet.prototype.entries; + types.TransitSet.prototype.forEach = function(iterator, thisArg) { + var self = this; + this.map.forEach(function(v, k, m) { + iterator(k, self); + }); + }; + types.TransitSet.prototype["forEach"] = types.TransitSet.prototype.forEach; + types.TransitSet.prototype.has = function(value) { + return this.map.has(value); + }; + types.TransitSet.prototype["has"] = types.TransitSet.prototype.has; + types.TransitSet.prototype.keys = function() { + return this.map.keys(); + }; + types.TransitSet.prototype["keys"] = types.TransitSet.prototype.keys; + types.TransitSet.prototype.keySet = function() { + return this.map.keySet(); + }; + types.TransitSet.prototype["keySet"] = types.TransitSet.prototype.keySet; + types.TransitSet.prototype.values = function() { + return this.map.values(); + }; + types.TransitSet.prototype["values"] = types.TransitSet.prototype.values; + types.TransitSet.prototype.clone = function() { + var clone = types.set(); + this.forEach(function(k) { + clone.add(k); + }); + return clone; + }; + types.TransitSet.prototype["clone"] = types.TransitSet.prototype.clone; + types.TransitSet.prototype[types.ITERATOR] = function() { + return this.values(); + }; + types.TransitSet.prototype.com$cognitect$transit$equals = function(other) { + if (other instanceof types.TransitSet) { + if (this.size === other.size) { + return eq.equals(this.map, other.map); + } + } else { + return false; + } + }; + types.TransitSet.prototype.com$cognitect$transit$hashCode = function(other) { + return eq.hashCode(this.map); + }; + types.set = function(arr) { + arr = arr || []; + var map = {}; + var keys = []; + var size = 0; + var i = 0; + for (; i < arr.length; i++) { + var code = eq.hashCode(arr[i]); + var vals = map[code]; + if (vals == null) { + keys.push(code); + map[code] = [arr[i], arr[i]]; + size++; + } else { + var newEntry = true; + var j = 0; + for (; j < vals.length; j = j + 2) { + if (eq.equals(vals[j], arr[i])) { + newEntry = false; + break; + } + } + if (newEntry) { + vals.push(arr[i]); + vals.push(arr[i]); + size++; + } + } + } + return new types.TransitSet(new types.TransitMap(keys, map, size)); + }; + types.isSet = function(x) { + return x instanceof types.TransitSet; + }; + types.quoted = function(obj) { + return types.taggedValue("'", obj); + }; + types.isQuoted = function(x) { + return x instanceof types.TaggedValue && x.tag === "'"; + }; + types.list = function(xs) { + return types.taggedValue("list", xs); + }; + types.isList = function(x) { + return x instanceof types.TaggedValue && x.tag === "list"; + }; + types.link = function(rep) { + return types.taggedValue("link", rep); + }; + types.isLink = function(x) { + return x instanceof types.TaggedValue && x.tag === "link"; + }; + types.specialDouble = function(v) { + switch(v) { + case "-INF": + return -Infinity; + case "INF": + return Infinity; + case "NaN": + return NaN; + default: + throw new Error("Invalid special double value " + v); + break; + } + }; +}); + +//# sourceMappingURL=com.cognitect.transit.types.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.types.js.map b/out/cljs-runtime/com.cognitect.transit.types.js.map new file mode 100644 index 0000000..7916a7c --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.types.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.types.js", +"lineCount":1021, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,6BAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,4BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,0BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,gBAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAQ,EAAG;AAAA,MAEdC,QAAQC,GAAIC,CAAAA,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,CAAAA,QAAN,GAAiBC,QAAQ,CAACtQ,CAAD,CAAI;AACzB,WAAQA,CAAR,YAAqBjC,KAAMW,CAAAA,WAA3B,IAA4CsB,CAAEnB,CAAAA,GAA9C,KAAsD,GAAtD;AADyB,GAA7B;AAIAd,OAAMwS,CAAAA,IAAN,GAAaC,QAAQ,CAACC,EAAD,CAAK;AACtB,WAAO1S,KAAM6B,CAAAA,WAAN,CAAkB,MAAlB,EAA0B6Q,EAA1B,CAAP;AADsB,GAA1B;AAIA1S,OAAM2S,CAAAA,MAAN,GAAeC,QAAQ,CAAC3Q,CAAD,CAAI;AACvB,WAAQA,CAAR,YAAqBjC,KAAMW,CAAAA,WAA3B,IAA4CsB,CAAEnB,CAAAA,GAA9C,KAAsD,MAAtD;AADuB,GAA3B;AAIAd,OAAM6S,CAAAA,IAAN,GAAaC,QAAQ,CAAC/R,GAAD,CAAM;AACvB,WAAOf,KAAM6B,CAAAA,WAAN,CAAkB,MAAlB,EAA0Bd,GAA1B,CAAP;AADuB,GAA3B;AAIAf,OAAM+S,CAAAA,MAAN,GAAeC,QAAQ,CAAC/Q,CAAD,CAAI;AACvB,WAAQA,CAAR,YAAqBjC,KAAMW,CAAAA,WAA3B,IAA4CsB,CAAEnB,CAAAA,GAA9C,KAAsD,MAAtD;AADuB,GAA3B;AAIAd,OAAMiT,CAAAA,aAAN,GAAsBC,QAAQ,CAACpG,CAAD,CAAI;AAC9B,WAAOA,CAAP;AACI,WAAK,MAAL;AACI,eAAO,CAACvJ,QAAR;AACJ,WAAK,KAAL;AACI,eAAOA,QAAP;AACJ,WAAK,KAAL;AACI,eAAO4P,GAAP;AACJ;AACI,cAAM,IAAI1F,KAAJ,CAAU,+BAAV,GAA4CX,CAA5C,CAAN;AACA;AATR;AAD8B,GAAlC;AArtCkB,CAAtB,CAAA;;", +"sources":["com/cognitect/transit/types.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.types\");\ngoog.require(\"com.cognitect.transit.util\");\ngoog.require(\"com.cognitect.transit.eq\");\ngoog.require(\"goog.math.Long\");\n\ngoog.scope(function() {\n\n var types = com.cognitect.transit.types,\n util = com.cognitect.transit.util,\n eq = com.cognitect.transit.eq,\n Long = goog.math.Long;\n\n if(typeof Symbol != \"undefined\") {\n types.ITERATOR = Symbol.iterator;\n } else {\n types.ITERATOR = \"@@iterator\";\n }\n\n /**\n * @constructor\n */\n types.TaggedValue = function Transit$TaggedValue(tag, rep) {\n this.tag = tag;\n this.rep = rep;\n this.hashCode = -1;\n };\n\n types.TaggedValue.prototype.toString = function() {\n return \"[TaggedValue: \" + this.tag + \", \" + this.rep + \"]\";\n };\n\n types.TaggedValue.prototype.equiv = function(other) {\n return eq.equals(this, other);\n };\n types.TaggedValue.prototype[\"equiv\"] = types.TaggedValue.prototype.equiv;\n\n types.TaggedValue.prototype.com$cognitect$transit$equals = function(other) {\n if(other instanceof types.TaggedValue) {\n return (this.tag === other.tag) && eq.equals(this.rep, other.rep);\n } else {\n return false;\n }\n };\n\n types.TaggedValue.prototype.com$cognitect$transit$hashCode = function() {\n if(this.hashCode === -1) {\n this.hashCode = eq.hashCombine(eq.hashCode(this.tag), eq.hashCode(this.rep));\n }\n return this.hashCode;\n };\n\n types.taggedValue = function(tag, rep) {\n return new types.TaggedValue(tag, rep);\n };\n\n types.isTaggedValue = function(x) {\n return x instanceof types.TaggedValue;\n };\n\n types.nullValue = function() {\n return null;\n };\n\n types.boolValue = function(s) {\n return s === \"t\";\n };\n\n types.MAX_INT = Long.fromString(\"9007199254740991\");\n types.MIN_INT = Long.fromString(\"-9007199254740991\");\n\n types.intValue = function(s) {\n if(typeof s === \"number\") {\n return s;\n } else if(s instanceof Long) {\n return s;\n } else {\n var n = Long.fromString(s, 10);\n if(n.greaterThan(types.MAX_INT) ||\n n.lessThan(types.MIN_INT)) {\n return n;\n } else {\n return n.toNumber();\n }\n }\n };\n\n Long.prototype.equiv = function(other) {\n return eq.equals(this, other);\n };\n Long.prototype[\"equiv\"] = Long.prototype.equiv;\n\n Long.prototype.com$cognitect$transit$equals = function(other) {\n return (other instanceof Long) && this.equals(other);\n };\n\n Long.prototype.com$cognitect$transit$hashCode = function() {\n return this.toInt();\n };\n\n types.isInteger = function(x) {\n if(x instanceof Long) {\n return true;\n } else {\n return (typeof x === \"number\") && !isNaN(x) && !(x === Infinity) && (parseFloat(x) === parseInt(x, 10));\n }\n };\n\n types.floatValue = function(s) {\n return parseFloat(s);\n };\n\n types.bigInteger = function(s) {\n return types.taggedValue(\"n\", s);\n };\n\n types.isBigInteger = function(x) {\n return (x instanceof types.TaggedValue) && (x.tag === \"n\");\n };\n\n types.bigDecimalValue = function(s) {\n return types.taggedValue(\"f\", s);\n };\n\n types.isBigDecimal = function(x) {\n return (x instanceof types.TaggedValue) && (x.tag === \"f\");\n };\n\n types.charValue = function(s) {\n return s;\n };\n\n /**\n * @constructor\n */\n types.Keyword = function Transit$Keyword(name) {\n this._name = name;\n this.hashCode = -1;\n };\n\n types.Keyword.prototype.toString = function() {\n return \":\"+this._name;\n };\n\n types.Keyword.prototype[\"namespace\"] = function() {\n var idx = this._name.indexOf(\"/\");\n if(idx != -1) {\n return this._name.substring(0, idx);\n } else {\n return null;\n }\n };\n\n types.Keyword.prototype[\"name\"] = function() {\n var idx = this._name.indexOf(\"/\");\n if(idx != -1) {\n return this._name.substring(idx+1, this._name.length);\n } else {\n return this._name;\n }\n };\n\n types.Keyword.prototype.equiv = function(other) {\n return eq.equals(this, other);\n };\n types.Keyword.prototype[\"equiv\"] = types.Keyword.prototype.equiv;\n\n types.Keyword.prototype.com$cognitect$transit$equals = function(other) {\n return (other instanceof types.Keyword) && this._name == other._name;\n };\n\n types.Keyword.prototype.com$cognitect$transit$hashCode = function() {\n if(this.hashCode === -1) {\n this.hashCode = eq.hashCode(this._name);\n }\n return this.hashCode;\n };\n\n types.keyword = function(s) {\n return new types.Keyword(s);\n };\n\n types.isKeyword = function(x) {\n return x instanceof types.Keyword;\n };\n\n /**\n * @constructor\n */\n types.Symbol = function Transit$Symbol(name) {\n this._name = name;\n this.hashCode = -1;\n };\n\n types.Symbol.prototype[\"namespace\"] = function() {\n var idx = this._name.indexOf(\"/\");\n if(idx != -1) {\n return this._name.substring(0, idx);\n } else {\n return null;\n }\n };\n\n types.Symbol.prototype[\"name\"] = function() {\n var idx = this._name.indexOf(\"/\");\n if(idx != -1) {\n return this._name.substring(idx+1, this._name.length);\n } else {\n return this._name;\n }\n };\n\n types.Symbol.prototype.toString = function() {\n return this._name;\n };\n\n types.Symbol.prototype.equiv = function(other) {\n return eq.equals(this, other);\n };\n types.Symbol.prototype[\"equiv\"] = types.Symbol.prototype.equiv;\n\n types.Symbol.prototype.com$cognitect$transit$equals = function(other) {\n return (other instanceof types.Symbol) && this._name == other._name;\n };\n\n types.Symbol.prototype.com$cognitect$transit$hashCode = function() {\n if(this.hashCode === -1) {\n this.hashCode = eq.hashCode(this._name);\n }\n return this.hashCode;\n };\n\n types.symbol = function(s) {\n return new types.Symbol(s);\n };\n\n types.isSymbol = function(x) {\n return x instanceof types.Symbol;\n };\n\n types.hexFor = function(aLong, sidx, eidx) {\n var ret = \"\";\n\n eidx = eidx || (sidx+1);\n\n for(var i=sidx, shift=(7-i)*8, mask=Long.fromInt(0xff).shiftLeft(shift); i < eidx; i++, shift-=8, mask=mask.shiftRightUnsigned(8)) {\n var s = aLong.and(mask).shiftRightUnsigned(shift).toString(16);\n if(s.length == 1) {\n s = \"0\" + s;\n }\n ret += s;\n }\n\n return ret;\n };\n\n /**\n * @constructor\n */\n types.UUID = function Transit$UUID(high, low) {\n this.high = high;\n this.low = low;\n this.hashCode = -1;\n };\n\n types.UUID.prototype.getLeastSignificantBits = function() {\n return this.low;\n };\n\n types.UUID.prototype.getMostSignificantBits = function() {\n return this.high;\n };\n\n types.UUID.prototype.toString = function() {\n var s = \"\",\n hi64 = this.high,\n lo64 = this.low;\n\n s += types.hexFor(hi64, 0, 4) + \"-\";\n s += types.hexFor(hi64, 4, 6) + \"-\";\n s += types.hexFor(hi64, 6, 8) + \"-\";\n s += types.hexFor(lo64, 0, 2) + \"-\";\n s += types.hexFor(lo64, 2, 8);\n\n return s;\n };\n\n types.UUID.prototype.equiv = function(other) {\n return eq.equals(this, other);\n };\n types.UUID.prototype[\"equiv\"] = types.UUID.prototype.equiv;\n\n types.UUID.prototype.com$cognitect$transit$equals = function(other) {\n return (other instanceof types.UUID) && this.high.equals(other.high) && this.low.equals(other.low);\n };\n\n types.UUID.prototype.com$cognitect$transit$hashCode = function() {\n if(this.hashCode === -1) {\n // TODO: follow http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/2d585507a41b/src/share/classes/java/util/UUID.java\n this.hashCode = eq.hashCode(this.toString());\n }\n return this.hashCode;\n };\n\n types.UUIDfromString = function uuidFromString(s) {\n s = s.replace(/-/g, \"\");\n\n var hi64 = null,\n lo64 = null,\n hi32 = 0,\n lo32 = 0,\n off = 24,\n i = 0;\n\n for(hi32=0, i=0, off= 24; i < 8; i+=2, off-=8) {\n hi32 |= (parseInt(s.substring(i,i+2),16) << off);\n }\n\n for(lo32=0, i=8, off=24; i < 16; i+=2, off-=8) {\n lo32 |= (parseInt(s.substring(i,i+2),16) << off);\n }\n\n hi64 = Long.fromBits(lo32, hi32);\n\n for(hi32=0, i=16, off=24; i < 24; i+=2, off-=8) {\n hi32 |= (parseInt(s.substring(i,i+2),16) << off);\n }\n\n for(lo32=0, i=24, off=24; i < 32; i+=2, off-=8) {\n lo32 |= (parseInt(s.substring(i,i+2),16) << off);\n }\n\n lo64 = Long.fromBits(lo32, hi32);\n\n return new types.UUID(hi64, lo64);\n };\n\n types.uuid = function(s) {\n return types.UUIDfromString(s);\n };\n\n types.isUUID = function(x) {\n return x instanceof types.UUID;\n };\n\n types.date = function(s) {\n s = typeof s === \"number\" ? s : parseInt(s, 10);\n return new Date(s);\n };\n\n types.verboseDate = function(s) {\n return new Date(s);\n };\n\n Date.prototype.com$cognitect$transit$equals = function(other) {\n if(other instanceof Date) {\n return this.valueOf() === other.valueOf();\n } else {\n return false;\n }\n };\n\n Date.prototype.com$cognitect$transit$hashCode = function() {\n return this.valueOf();\n };\n\n /**\n * @param {string} str\n * @param {*=} decoder\n * @returns {com.cognitect.transit.types.TaggedValue|Uint8Array}\n */\n types.binary = function(str, decoder) {\n if((!decoder || (decoder.preferBuffers !== false)) && (typeof goog.global.Buffer != \"undefined\")) {\n return new goog.global.Buffer(str, \"base64\");\n } else if(typeof Uint8Array != \"undefined\") {\n return util.Base64ToUint8(str);\n } else {\n return types.taggedValue(\"b\", str);\n }\n };\n\n types.isBinary = function(x) {\n if((typeof goog.global.Buffer != \"undefined\") && (x instanceof goog.global.Buffer)) {\n return true;\n } else if((typeof Uint8Array != \"undefined\") && (x instanceof Uint8Array)) {\n return true;\n } else {\n return (x instanceof types.TaggedValue) && (x.tag === \"b\");\n }\n };\n\n types.uri = function(s) {\n return types.taggedValue(\"r\", s);\n };\n\n types.isURI = function(x) {\n return (x instanceof types.TaggedValue) && (x.tag === \"r\");\n };\n\n /**\n * @const\n * @type {number}\n */\n types.KEYS = 0;\n\n /**\n * @const\n * @type {number}\n */\n types.VALUES = 1;\n\n /**\n * @const\n * @type {number}\n */\n types.ENTRIES = 2;\n\n /**\n * @constructor\n */\n types.TransitArrayMapIterator = function Transit$ArrayMapIterator(entries, type) {\n this.entries = entries;\n this.type = type || types.KEYS;\n this.idx = 0;\n };\n\n types.TransitArrayMapIterator.prototype.next = function() {\n if(this.idx < this.entries.length) {\n\n var value = null;\n\n if(this.type === types.KEYS) {\n value = this.entries[this.idx];\n } else if(this.type === types.VALUES) {\n value = this.entries[this.idx+1];\n } else {\n value = [this.entries[this.idx], this.entries[this.idx+1]];\n }\n\n var ret = {\n \"value\": value,\n \"done\": false\n };\n\n this.idx+=2;\n\n return ret;\n } else {\n return {\"value\": null, \"done\": true}\n }\n };\n types.TransitArrayMapIterator.prototype[\"next\"] = types.TransitArrayMapIterator.prototype.next;\n\n types.TransitArrayMapIterator.prototype[types.ITERATOR] = function() {\n return this;\n };\n\n /**\n * @constructor\n */\n types.TransitMapIterator = function Transit$MapIterator(map, type) {\n this.map = map;\n this.type = type || types.KEYS;\n this.keys = this.map.getKeys();\n this.idx = 0;\n /** @type {?Object} */\n this.bucket = null;\n this.bucketIdx = 0;\n };\n\n types.TransitMapIterator.prototype.next = function() {\n if(this.idx < this.map.size) {\n if((this.bucket == null) || !(this.bucketIdx < this.bucket.length)) {\n this.bucket = this.map.map[this.keys[this.idx]];\n this.bucketIdx = 0;\n }\n\n var value = null;\n if(this.type === types.KEYS) {\n value = this.bucket[this.bucketIdx];\n } else if(this.type === types.VALUES) {\n value = this.bucket[this.bucketIdx+1];\n } else {\n value = [this.bucket[this.bucketIdx], this.bucket[this.bucketIdx+1]];\n }\n\n var ret = {\n \"value\": value,\n \"done\": false\n };\n\n this.idx++;\n this.bucketIdx+=2;\n\n return ret;\n } else {\n return {\"value\": null, \"done\": true};\n }\n };\n types.TransitMapIterator.prototype[\"next\"] = types.TransitMapIterator.prototype.next;\n\n types.TransitMapIterator.prototype[types.ITERATOR] = function() {\n return this;\n };\n\n types.mapEquals = function(me, you) {\n if ((me instanceof types.TransitMap) && types.isMap(you)) {\n if(me.size !== you.size) return false;\n for (var code in me.map) {\n var bucket = me.map[code];\n for (var j = 0; j < bucket.length; j+=2) {\n if (!eq.equals(bucket[j+1], you.get(bucket[j]))) {\n return false;\n }\n }\n }\n return true;\n } else if((me instanceof types.TransitArrayMap) && types.isMap(you)) {\n if(me.size !== you.size) return false;\n var entries = me._entries;\n for (var j = 0; j < entries.length; j+=2) {\n if (!eq.equals(entries[j+1], you.get(entries[j]))) {\n return false;\n }\n }\n return true;\n } else if(you != null && (typeof you === \"object\")) {\n var ks = util.objectKeys(you),\n kslen = ks.length;\n if(me.size === kslen) {\n for(var i = 0 ; i < kslen; i++) {\n var k = ks[i];\n if(!me.has(k) || !eq.equals(you[k], me.get(k))) {\n return false;\n }\n }\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n };\n\n /**\n * @const\n * @type {number}\n */\n types.SMALL_ARRAY_MAP_THRESHOLD = 8;\n\n /**\n * @const\n * @type {number}\n */\n types.ARRAY_MAP_THRESHOLD = 32;\n\n /**\n * @const\n * @type {number}\n */\n types.ARRAY_MAP_ACCESS_THRESHOLD = 32;\n\n types.print = function(x) {\n if(x == null) {\n return \"null\";\n } if(goog.typeOf(x) === \"array\") {\n return \"[\" + x.toString() + \"]\";\n } else if(goog.typeOf(x) === \"string\") {\n return \"\\\"\" + x + \"\\\"\";\n } else {\n return x.toString();\n }\n };\n\n types.printMap = function(map) {\n var idx = 0,\n str = \"TransitMap {\";\n map.forEach(function(v, k) {\n str += types.print(k) + \" => \" + types.print(v);\n if(idx < map.size-1) {\n str += \", \";\n }\n idx++;\n });\n return str + \"}\";\n };\n\n types.printSet = function(set) {\n var idx = 0,\n str = \"TransitSet {\";\n set.forEach(function(v) {\n str += types.print(v);\n if(idx < set.size-1) {\n str += \", \";\n }\n idx++;\n });\n return str + \"}\";\n };\n\n /**\n * @constructor\n * @param {Array} entries\n */\n types.TransitArrayMap = function Transit$ArrayMap(entries) {\n this._entries = entries;\n this.backingMap = null;\n this.hashCode = -1;\n this.size = entries.length / 2;\n this.accesses = 0;\n };\n\n types.TransitArrayMap.prototype.toString = function() {\n return types.printMap(this);\n };\n\n types.TransitArrayMap.prototype[\"inspect\"] = function() {\n return this.toString();\n };\n\n types.TransitArrayMap.prototype.convert = function() {\n if(this.backingMap) {\n throw Error(\"Invalid operation, already converted\");\n }\n if(this.size < types.SMALL_ARRAY_MAP_THRESHOLD) return false;\n this.accesses++;\n if(this.accesses > types.ARRAY_MAP_ACCESS_THRESHOLD) {\n this.backingMap = types.map(this._entries, false, true);\n this._entries = [];\n return true;\n } else {\n return false;\n }\n };\n\n types.TransitArrayMap.prototype.clear = function() {\n this.hashCode = -1;\n if(this.backingMap) {\n this.backingMap.clear();\n this.size = 0;\n } else {\n this._entries = [];\n this.size = 0;\n }\n };\n types.TransitArrayMap.prototype[\"clear\"] = types.TransitArrayMap.prototype.clear;\n\n types.TransitArrayMap.prototype.keys = function() {\n if(this.backingMap) {\n return this.backingMap.keys();\n } else {\n return new types.TransitArrayMapIterator(this._entries, types.KEYS);\n }\n };\n types.TransitArrayMap.prototype[\"keys\"] = types.TransitArrayMap.prototype.keys;\n\n types.TransitArrayMap.prototype.keySet = function() {\n if(this.backingMap) {\n return this.backingMap.keySet();\n } else {\n var ret = [];\n for(var i = 0, j = 0; j < this._entries.length; i++, j+=2) {\n ret[i] = this._entries[j];\n }\n return ret;\n }\n };\n types.TransitArrayMap.prototype[\"keySet\"] = types.TransitArrayMap.prototype.keySet;\n\n types.TransitArrayMap.prototype.entries = function() {\n if(this.backingMap) {\n return this.backingMap.entries();\n } else {\n return new types.TransitArrayMapIterator(this._entries, types.ENTRIES);\n }\n };\n types.TransitArrayMap.prototype[\"entries\"] = types.TransitArrayMap.prototype.entries;\n\n types.TransitArrayMap.prototype.values = function() {\n if(this.backingMap) {\n return this.backingMap.values();\n } else {\n return new types.TransitArrayMapIterator(this._entries, types.VALUES);\n }\n };\n types.TransitArrayMap.prototype[\"values\"] = types.TransitArrayMap.prototype.values;\n\n /**\n * @param {function(*,*)} f\n */\n types.TransitArrayMap.prototype.forEach = function(f) {\n if(this.backingMap) {\n this.backingMap.forEach(f);\n } else {\n for(var i = 0; i < this._entries.length; i+=2) {\n f(this._entries[i+1], this._entries[i]);\n }\n }\n };\n types.TransitArrayMap.prototype[\"forEach\"] = types.TransitArrayMap.prototype.forEach;\n\n /**\n * @param {*} k\n * @param {*=} notFound\n * @returns {*}\n */\n types.TransitArrayMap.prototype.get = function(k, notFound) {\n if(this.backingMap) {\n return this.backingMap.get(k);\n } else {\n if(this.convert()) {\n return this.get(k);\n } else {\n for(var i = 0; i < this._entries.length; i+=2) {\n if(eq.equals(this._entries[i], k)) {\n return this._entries[i+1];\n }\n }\n return notFound;\n }\n }\n };\n types.TransitArrayMap.prototype[\"get\"] = types.TransitArrayMap.prototype.get;\n\n types.TransitArrayMap.prototype.has = function(k) {\n if(this.backingMap) {\n return this.backingMap.has(k);\n } else {\n if(this.convert()) {\n return this.has(k);\n } else {\n for(var i = 0; i < this._entries.length; i+=2) {\n if(eq.equals(this._entries[i], k)) {\n return true;\n }\n }\n return false;\n }\n }\n };\n types.TransitArrayMap.prototype[\"has\"] = types.TransitArrayMap.prototype.has;\n\n types.TransitArrayMap.prototype.set = function(k, v) {\n this.hashCode = -1;\n if(this.backingMap) {\n this.backingMap.set(k, v);\n this.size = this.backingMap.size;\n } else {\n for(var i = 0; i < this._entries.length; i+=2) {\n if(eq.equals(this._entries[i], k)) {\n this._entries[i+1] = v;\n return;\n }\n }\n\n this._entries.push(k);\n this._entries.push(v);\n this.size++;\n\n if(this.size > types.ARRAY_MAP_THRESHOLD) {\n this.backingMap = types.map(this._entries, false, true);\n this._entries = null;\n }\n }\n };\n types.TransitArrayMap.prototype[\"set\"] = types.TransitArrayMap.prototype.set;\n\n types.TransitArrayMap.prototype[\"delete\"] = function(k) {\n this.hashCode = -1;\n if(this.backingMap) {\n var ret = this.backingMap.delete(k);\n this.size = this.backingMap.size;\n return ret;\n } else {\n for(var i = 0; i < this._entries.length; i+=2) {\n if(eq.equals(this._entries[i], k)) {\n var ret = this._entries[i+1];\n this._entries.splice(i, 2);\n this.size--;\n return ret;\n }\n }\n }\n };\n\n types.TransitArrayMap.prototype.clone = function() {\n var clone = types.map();\n\n this.forEach(function(v, k) {\n clone.set(k, v);\n });\n\n return clone;\n };\n types.TransitArrayMap.prototype[\"clone\"] = types.TransitArrayMap.prototype.clone;\n\n types.TransitArrayMap.prototype[types.ITERATOR] = function() {\n return this.entries();\n };\n\n types.TransitArrayMap.prototype.com$cognitect$transit$hashCode = function() {\n if(this.backingMap) {\n return this.backingMap.com$cognitect$transit$hashCode();\n } else {\n if(this.hashCode === -1) {\n this.hashCode = eq.hashMapLike(this);\n }\n return this.hashCode;\n }\n };\n\n types.TransitArrayMap.prototype.com$cognitect$transit$equals = function(other) {\n if(this.backingMap) {\n return types.mapEquals(this.backingMap, other);\n } else {\n return types.mapEquals(this, other);\n }\n };\n\n /**\n * TransitMap\n * A hash map. Support arbitrarily complex keys. Lookup is based on the value of the\n * the key not identity. Otherwise the API follows the ES6 map interface:\n * http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n * @constructor\n * @param {null|Array=} keys\n * @param {null|Object=} map\n * @param {null|number=} size\n */\n types.TransitMap = function Transit$Map(keys, map, size) {\n this.map = map || {};\n this._keys = keys || [];\n this.size = size || 0;\n this.hashCode = -1;\n };\n\n types.TransitMap.prototype.toString = function() {\n return types.printMap(this);\n };\n\n types.TransitMap.prototype[\"inspect\"] = function() {\n return this.toString();\n };\n\n types.TransitMap.prototype.clear = function() {\n this.hashCode = -1;\n this.map = {};\n this._keys = [];\n this.size = 0;\n };\n types.TransitMap.prototype[\"clear\"] = types.TransitMap.prototype.clear;\n\n types.TransitMap.prototype.getKeys = function() {\n if(this._keys != null) {\n return this._keys;\n } else {\n return util.objectKeys(this.map);\n }\n };\n\n types.TransitMap.prototype[\"delete\"] = function(k) {\n this.hashCode = -1;\n this._keys = null;\n var code = eq.hashCode(k),\n bucket = this.map[code];\n\n for(var i = 0; i < bucket.length; i+=2) {\n if(eq.equals(k, bucket[i])) {\n var ret = bucket[i+1];\n bucket.splice(i,2);\n if(bucket.length === 0) {\n delete this.map[code];\n }\n this.size--;\n return ret;\n }\n }\n };\n\n types.TransitMap.prototype.entries = function() {\n return new types.TransitMapIterator(this, types.ENTRIES);\n };\n types.TransitMap.prototype[\"entries\"] = types.TransitMap.prototype.entries;\n\n types.TransitMap.prototype.forEach = function(callback) {\n var ks = this.getKeys();\n for(var i = 0; i < ks.length; i++) {\n var bucket = this.map[ks[i]];\n for(var j = 0; j < bucket.length; j+=2) {\n callback(bucket[j+1], bucket[j], this);\n }\n }\n };\n types.TransitMap.prototype[\"forEach\"] = types.TransitMap.prototype.forEach;\n\n types.TransitMap.prototype.get = function(k, notFound) {\n var code = eq.hashCode(k),\n bucket = this.map[code];\n if(bucket != null) {\n for(var i = 0; i < bucket.length; i+=2) {\n if(eq.equals(k,bucket[i])) {\n return bucket[i+1];\n }\n }\n } else {\n return notFound;\n }\n };\n types.TransitMap.prototype[\"get\"] = types.TransitMap.prototype.get;\n\n types.TransitMap.prototype.has = function(k) {\n var code = eq.hashCode(k),\n bucket = this.map[code];\n if(bucket != null) {\n for(var i = 0; i < bucket.length; i+=2) {\n if(eq.equals(k, bucket[i])) {\n return true;\n }\n }\n return false;\n } else {\n return false;\n }\n };\n types.TransitMap.prototype[\"has\"] = types.TransitMap.prototype.has;\n\n types.TransitMap.prototype.keys = function() {\n return new types.TransitMapIterator(this, types.KEYS);\n };\n types.TransitMap.prototype[\"keys\"] = types.TransitMap.prototype.keys;\n\n types.TransitMap.prototype.keySet = function() {\n var keys = this.getKeys(),\n ret = [];\n\n for(var i = 0; i < keys.length; i++) {\n var bucket = this.map[keys[i]];\n for(var j = 0; j < bucket.length; j+=2) {\n ret.push(bucket[j]);\n }\n }\n\n return ret;\n };\n types.TransitMap.prototype[\"keySet\"] = types.TransitMap.prototype.keySet;\n\n types.TransitMap.prototype.set = function(k, v) {\n this.hashCode = -1;\n var code = eq.hashCode(k),\n bucket = this.map[code];\n if(bucket == null) {\n if(this._keys) {\n this._keys.push(code);\n }\n this.map[code] = [k, v];\n this.size++;\n } else {\n var newEntry = true;\n for(var i = 0; i < bucket.length; i+=2) {\n if(eq.equals(v, bucket[i])) {\n newEntry = false;\n bucket[i] = v;\n break;\n }\n }\n if(newEntry) {\n bucket.push(k);\n bucket.push(v);\n this.size++;\n }\n }\n };\n types.TransitMap.prototype[\"set\"] = types.TransitMap.prototype.set;\n\n types.TransitMap.prototype.values = function() {\n return new types.TransitMapIterator(this, types.VALUES);\n };\n types.TransitMap.prototype[\"values\"] = types.TransitMap.prototype.values;\n\n types.TransitMap.prototype.clone = function() {\n var clone = types.map();\n\n this.forEach(function(v, k) {\n clone.set(k, v);\n });\n\n return clone;\n };\n types.TransitMap.prototype[\"clone\"] = types.TransitMap.prototype.clone;\n\n types.TransitMap.prototype[types.ITERATOR] = function() {\n return this.entries();\n };\n\n types.TransitMap.prototype.com$cognitect$transit$hashCode = function() {\n if(this.hashCode === -1) {\n this.hashCode = eq.hashMapLike(this);\n }\n return this.hashCode;\n };\n\n types.TransitMap.prototype.com$cognitect$transit$equals = function(other) {\n return types.mapEquals(this, other);\n };\n\n /**\n * @param {Array=} arr\n * @param {boolean=} checkDups\n * @param {boolean=} hashMap\n * @returns {com.cognitect.transit.MapLike}\n */\n types.map = function(arr, checkDups, hashMap) {\n arr = arr || [];\n checkDups = (checkDups === false) ? checkDups : true;\n hashMap = (hashMap === true) ? hashMap : false;\n\n if(!hashMap && (arr.length <= (types.ARRAY_MAP_THRESHOLD*2))) {\n if(checkDups) {\n var t = arr;\n arr = [];\n for(var i = 0; i < t.length; i+=2) {\n var seen = false;\n for(var j = 0; j < arr.length; j+=2) {\n if(eq.equals(arr[j], t[i])) {\n arr[j+1] = t[i+1];\n seen = true;\n break;\n }\n }\n if(!seen) {\n arr.push(t[i]);\n arr.push(t[i+1]);\n }\n }\n }\n return new types.TransitArrayMap(arr);\n } else {\n var map = {},\n keys = [],\n size = 0;\n for(var i = 0; i < arr.length; i+=2) {\n var code = eq.hashCode(arr[i]),\n bucket = map[code];\n if(bucket == null) {\n keys.push(code);\n map[code] = [arr[i], arr[i+1]];\n size++;\n } else {\n var newEntry = true;\n for(var j = 0; j < bucket.length; j+= 2) {\n if(eq.equals(bucket[j], arr[i])) {\n bucket[j+1] = arr[i+1];\n newEntry = false;\n break;\n }\n }\n if(newEntry) {\n bucket.push(arr[i]);\n bucket.push(arr[i+1]);\n size++;\n }\n }\n }\n return new types.TransitMap(keys, map, size);\n }\n };\n\n types.isArrayMap = function(x) {\n return (x instanceof types.TransitArrayMap);\n };\n\n types.isMap = function(x) {\n return ((x instanceof types.TransitArrayMap) ||\n (x instanceof types.TransitMap));\n };\n\n /**\n * @constructor\n * @param {com.cognitect.transit.MapLike} map\n */\n types.TransitSet = function Transit$Set(map) {\n this.map = map;\n this.size = map.size;\n };\n\n types.TransitSet.prototype.toString = function() {\n return types.printSet(this);\n };\n\n types.TransitSet.prototype[\"inspect\"] = function() {\n return this.toString();\n };\n\n types.TransitSet.prototype.add = function(value) {\n this.map.set(value, value);\n this.size = this.map.size;\n };\n types.TransitSet.prototype[\"add\"] = types.TransitSet.prototype.add;\n\n types.TransitSet.prototype.clear = function() {\n this.map = new types.TransitMap();\n this.size = 0;\n };\n types.TransitSet.prototype[\"clear\"] = types.TransitSet.prototype.clear;\n\n types.TransitSet.prototype[\"delete\"] = function(value) {\n var ret = this.map.delete(value);\n this.size = this.map.size;\n return ret;\n };\n\n types.TransitSet.prototype.entries = function() {\n return this.map.entries();\n };\n types.TransitSet.prototype[\"entries\"] = types.TransitSet.prototype.entries;\n\n /**\n * @param {function(*,*)} iterator\n * @param {Object=} thisArg\n */\n types.TransitSet.prototype.forEach = function(iterator, thisArg) {\n var self = this;\n this.map.forEach(function(v, k, m) {\n iterator(k, self);\n });\n };\n types.TransitSet.prototype[\"forEach\"] = types.TransitSet.prototype.forEach;\n\n types.TransitSet.prototype.has = function(value) {\n return this.map.has(value);\n };\n types.TransitSet.prototype[\"has\"] = types.TransitSet.prototype.has;\n\n types.TransitSet.prototype.keys = function() {\n return this.map.keys();\n };\n types.TransitSet.prototype[\"keys\"] = types.TransitSet.prototype.keys;\n\n types.TransitSet.prototype.keySet = function() {\n return this.map.keySet();\n };\n types.TransitSet.prototype[\"keySet\"] = types.TransitSet.prototype.keySet;\n\n types.TransitSet.prototype.values = function() {\n return this.map.values();\n };\n types.TransitSet.prototype[\"values\"] = types.TransitSet.prototype.values;\n\n types.TransitSet.prototype.clone = function() {\n var clone = types.set();\n\n this.forEach(function(k) {\n clone.add(k);\n });\n\n return clone;\n };\n types.TransitSet.prototype[\"clone\"] = types.TransitSet.prototype.clone;\n\n types.TransitSet.prototype[types.ITERATOR] = function() {\n return this.values();\n };\n\n types.TransitSet.prototype.com$cognitect$transit$equals = function(other) {\n if(other instanceof types.TransitSet) {\n if(this.size === other.size) {\n return eq.equals(this.map, other.map);\n }\n } else {\n return false;\n }\n };\n\n types.TransitSet.prototype.com$cognitect$transit$hashCode = function(other) {\n return eq.hashCode(this.map);\n };\n\n /**\n * @param {Array=} arr\n * @returns {com.cognitect.transit.SetLike}\n */\n types.set = function(arr) {\n arr = arr || [];\n\n var map = {},\n keys = [],\n size = 0;\n\n for(var i = 0; i < arr.length; i++) {\n var code = eq.hashCode(arr[i]),\n vals = map[code];\n if(vals == null) {\n keys.push(code);\n map[code] = [arr[i], arr[i]];\n size++\n } else {\n var newEntry = true;\n for(var j = 0; j < vals.length; j+= 2) {\n if(eq.equals(vals[j], arr[i])) {\n newEntry = false;\n break;\n }\n }\n if(newEntry) {\n vals.push(arr[i]);\n vals.push(arr[i]);\n size++;\n }\n }\n }\n\n return new types.TransitSet(new types.TransitMap(keys, map, size));\n };\n\n types.isSet = function(x) {\n return x instanceof types.TransitSet;\n };\n\n types.quoted = function(obj) {\n return types.taggedValue(\"'\", obj);\n };\n\n types.isQuoted = function(x) {\n return (x instanceof types.TaggedValue) && (x.tag === \"'\");\n };\n\n types.list = function(xs) {\n return types.taggedValue(\"list\", xs);\n };\n\n types.isList = function(x) {\n return (x instanceof types.TaggedValue) && (x.tag === \"list\");\n };\n\n types.link = function(rep) {\n return types.taggedValue(\"link\", rep);\n };\n\n types.isLink = function(x) {\n return (x instanceof types.TaggedValue) && (x.tag === \"link\")\n };\n\n types.specialDouble = function(v) {\n switch(v) {\n case \"-INF\":\n return -Infinity;\n case \"INF\":\n return Infinity;\n case \"NaN\":\n return NaN;\n default:\n throw new Error(\"Invalid special double value \" + v);\n break;\n }\n };\n\n});\n\n"], +"names":["goog","provide","require","scope","types","com","cognitect","transit","util","eq","Long","math","Symbol","ITERATOR","iterator","TaggedValue","types.TaggedValue","Transit$TaggedValue","tag","rep","hashCode","prototype","toString","types.TaggedValue.prototype.toString","equiv","types.TaggedValue.prototype.equiv","other","equals","com$cognitect$transit$equals","types.TaggedValue.prototype.com$cognitect$transit$equals","com$cognitect$transit$hashCode","types.TaggedValue.prototype.com$cognitect$transit$hashCode","hashCombine","taggedValue","types.taggedValue","isTaggedValue","types.isTaggedValue","x","nullValue","types.nullValue","boolValue","types.boolValue","s","MAX_INT","fromString","MIN_INT","intValue","types.intValue","n","greaterThan","lessThan","toNumber","Long.prototype.equiv","Long.prototype.com$cognitect$transit$equals","Long.prototype.com$cognitect$transit$hashCode","toInt","isInteger","types.isInteger","isNaN","Infinity","parseFloat","parseInt","floatValue","types.floatValue","bigInteger","types.bigInteger","isBigInteger","types.isBigInteger","bigDecimalValue","types.bigDecimalValue","isBigDecimal","types.isBigDecimal","charValue","types.charValue","Keyword","types.Keyword","Transit$Keyword","name","_name","types.Keyword.prototype.toString","idx","indexOf","substring","length","types.Keyword.prototype.equiv","types.Keyword.prototype.com$cognitect$transit$equals","types.Keyword.prototype.com$cognitect$transit$hashCode","keyword","types.keyword","isKeyword","types.isKeyword","types.Symbol","Transit$Symbol","types.Symbol.prototype.toString","types.Symbol.prototype.equiv","types.Symbol.prototype.com$cognitect$transit$equals","types.Symbol.prototype.com$cognitect$transit$hashCode","symbol","types.symbol","isSymbol","types.isSymbol","hexFor","types.hexFor","aLong","sidx","eidx","ret","i","shift","mask","fromInt","shiftLeft","shiftRightUnsigned","and","UUID","types.UUID","Transit$UUID","high","low","getLeastSignificantBits","types.UUID.prototype.getLeastSignificantBits","getMostSignificantBits","types.UUID.prototype.getMostSignificantBits","types.UUID.prototype.toString","hi64","lo64","types.UUID.prototype.equiv","types.UUID.prototype.com$cognitect$transit$equals","types.UUID.prototype.com$cognitect$transit$hashCode","UUIDfromString","types.UUIDfromString","uuidFromString","replace","hi32","lo32","off","fromBits","uuid","types.uuid","isUUID","types.isUUID","date","types.date","Date","verboseDate","types.verboseDate","Date.prototype.com$cognitect$transit$equals","valueOf","Date.prototype.com$cognitect$transit$hashCode","binary","types.binary","str","decoder","preferBuffers","global","Buffer","Uint8Array","Base64ToUint8","isBinary","types.isBinary","uri","types.uri","isURI","types.isURI","KEYS","VALUES","ENTRIES","TransitArrayMapIterator","types.TransitArrayMapIterator","Transit$ArrayMapIterator","entries","type","next","types.TransitArrayMapIterator.prototype.next","value","TransitMapIterator","types.TransitMapIterator","Transit$MapIterator","map","keys","getKeys","bucket","bucketIdx","types.TransitMapIterator.prototype.next","size","mapEquals","types.mapEquals","me","you","TransitMap","isMap","code","j","get","TransitArrayMap","_entries","ks","objectKeys","kslen","k","has","SMALL_ARRAY_MAP_THRESHOLD","ARRAY_MAP_THRESHOLD","ARRAY_MAP_ACCESS_THRESHOLD","print","types.print","typeOf","printMap","types.printMap","forEach","v","printSet","types.printSet","set","types.TransitArrayMap","Transit$ArrayMap","backingMap","accesses","types.TransitArrayMap.prototype.toString","convert","types.TransitArrayMap.prototype.convert","Error","clear","types.TransitArrayMap.prototype.clear","types.TransitArrayMap.prototype.keys","keySet","types.TransitArrayMap.prototype.keySet","types.TransitArrayMap.prototype.entries","values","types.TransitArrayMap.prototype.values","types.TransitArrayMap.prototype.forEach","f","types.TransitArrayMap.prototype.get","notFound","types.TransitArrayMap.prototype.has","types.TransitArrayMap.prototype.set","push","delete","splice","clone","types.TransitArrayMap.prototype.clone","types.TransitArrayMap.prototype.com$cognitect$transit$hashCode","hashMapLike","types.TransitArrayMap.prototype.com$cognitect$transit$equals","types.TransitMap","Transit$Map","_keys","types.TransitMap.prototype.toString","types.TransitMap.prototype.clear","types.TransitMap.prototype.getKeys","types.TransitMap.prototype.entries","types.TransitMap.prototype.forEach","callback","types.TransitMap.prototype.get","types.TransitMap.prototype.has","types.TransitMap.prototype.keys","types.TransitMap.prototype.keySet","types.TransitMap.prototype.set","newEntry","types.TransitMap.prototype.values","types.TransitMap.prototype.clone","types.TransitMap.prototype.com$cognitect$transit$hashCode","types.TransitMap.prototype.com$cognitect$transit$equals","types.map","arr","checkDups","hashMap","t","seen","isArrayMap","types.isArrayMap","types.isMap","TransitSet","types.TransitSet","Transit$Set","types.TransitSet.prototype.toString","add","types.TransitSet.prototype.add","types.TransitSet.prototype.clear","types.TransitSet.prototype.entries","types.TransitSet.prototype.forEach","thisArg","self","m","types.TransitSet.prototype.has","types.TransitSet.prototype.keys","types.TransitSet.prototype.keySet","types.TransitSet.prototype.values","types.TransitSet.prototype.clone","types.TransitSet.prototype.com$cognitect$transit$equals","types.TransitSet.prototype.com$cognitect$transit$hashCode","types.set","vals","isSet","types.isSet","quoted","types.quoted","obj","isQuoted","types.isQuoted","list","types.list","xs","isList","types.isList","link","types.link","isLink","types.isLink","specialDouble","types.specialDouble","NaN"] +} diff --git a/out/cljs-runtime/com.cognitect.transit.util.js b/out/cljs-runtime/com.cognitect.transit.util.js new file mode 100644 index 0000000..3324547 --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.util.js @@ -0,0 +1,102 @@ +goog.provide("com.cognitect.transit.util"); +goog.require("goog.object"); +goog.scope(function() { + var util = com.cognitect.transit.util; + var gobject = goog.object; + if (typeof Object.keys != "undefined") { + util.objectKeys = function(obj) { + return Object.keys(obj); + }; + } else { + util.objectKeys = function(obj) { + return gobject.getKeys(obj); + }; + } + if (typeof Array.isArray != "undefined") { + util.isArray = function(obj) { + return Array.isArray(obj); + }; + } else { + util.isArray = function(obj) { + return goog.typeOf(obj) === "array"; + }; + } + util.chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d"; + util.randInt = function(ub) { + return Math.round(Math.random() * ub); + }; + util.randHex = function() { + return util.randInt(15).toString(16); + }; + util.randomUUID = function() { + var rhex = (8 | 3 & util.randInt(14)).toString(16); + var ret = util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + "-" + util.randHex() + util.randHex() + util.randHex() + util.randHex() + "-" + "4" + util.randHex() + util.randHex() + util.randHex() + "-" + rhex + util.randHex() + util.randHex() + util.randHex() + "-" + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + util.randHex() + + util.randHex() + util.randHex() + util.randHex(); + return ret; + }; + util.btoa = function(input) { + if (typeof btoa != "undefined") { + return btoa(input); + } else { + var str = String(input); + var block; + var charCode; + var idx = 0; + var map = util.chars; + var output = ""; + for (; str.charAt(idx | 0) || (map = "\x3d", idx % 1); output = output + map.charAt(63 & block >> 8 - idx % 1 * 8)) { + charCode = str.charCodeAt(idx = idx + 3 / 4); + if (charCode > 255) { + throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range."); + } + block = block << 8 | charCode; + } + return output; + } + }; + util.atob = function(input) { + if (typeof atob != "undefined") { + return atob(input); + } else { + var str = String(input).replace(/=+$/, ""); + if (str.length % 4 == 1) { + throw new Error("'atob' failed: The string to be decoded is not correctly encoded."); + } + var bc = 0; + var bs; + var buffer; + var idx = 0; + var output = ""; + for (; buffer = str.charAt(idx++); ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer, bc++ % 4) ? output = output + String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0) { + buffer = util.chars.indexOf(buffer); + } + return output; + } + }; + util.Uint8ToBase64 = function(u8Arr) { + var CHUNK_SIZE = 32768; + var index = 0; + var length = u8Arr.length; + var result = ""; + var slice = null; + for (; index < length;) { + slice = u8Arr.subarray(index, Math.min(index + CHUNK_SIZE, length)); + result = result + String.fromCharCode.apply(null, slice); + index = index + CHUNK_SIZE; + } + return util.btoa(result); + }; + util.Base64ToUint8 = function(base64) { + var binary_string = util.atob(base64); + var len = binary_string.length; + var bytes = new Uint8Array(len); + var i = 0; + for (; i < len; i++) { + var ascii = binary_string.charCodeAt(i); + bytes[i] = ascii; + } + return bytes; + }; +}); + +//# sourceMappingURL=com.cognitect.transit.util.js.map diff --git a/out/cljs-runtime/com.cognitect.transit.util.js.map b/out/cljs-runtime/com.cognitect.transit.util.js.map new file mode 100644 index 0000000..284577f --- /dev/null +++ b/out/cljs-runtime/com.cognitect.transit.util.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"com.cognitect.transit.util.js", +"lineCount":101, +"mappings":"AAcAA,IAAKC,CAAAA,OAAL,CAAa,4BAAb,CAAA;AACAD,IAAKE,CAAAA,OAAL,CAAa,aAAb,CAAA;AAEAF,IAAKG,CAAAA,KAAL,CAAW,QAAS,EAAG;AAAA,MAEfC,OAAUC,GAAIC,CAAAA,SAAUC,CAAAA,OAAQH,CAAAA,IAFjB;AAEnB,MACII,UAAUR,IAAKS,CAAAA,MADnB;AAGA,MAAI,MAAOC,OAAOC,CAAAA,IAAlB,IAA0B,WAA1B;AACIP,QAAKQ,CAAAA,UAAL,GAAkBC,QAAS,CAACC,GAAD,CAAM;AAC7B,aAAOJ,MAAOC,CAAAA,IAAP,CAAYG,GAAZ,CAAP;AAD6B,KAAjC;AADJ;AAKIV,QAAKQ,CAAAA,UAAL,GAAkBC,QAAS,CAACC,GAAD,CAAM;AAC7B,aAAON,OAAQO,CAAAA,OAAR,CAAgBD,GAAhB,CAAP;AAD6B,KAAjC;AALJ;AAUA,MAAI,MAAOE,MAAMC,CAAAA,OAAjB,IAA4B,WAA5B;AACIb,QAAKa,CAAAA,OAAL,GAAeC,QAAS,CAACJ,GAAD,CAAM;AAC1B,aAAOE,KAAMC,CAAAA,OAAN,CAAcH,GAAd,CAAP;AAD0B,KAA9B;AADJ;AAKIV,QAAKa,CAAAA,OAAL,GAAeC,Q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;AAF0B;AAK9B,WAAOH,KAAP;AAVmC,GAAvC;AAjHmB,CAAvB,CAAA;;", +"sources":["com/cognitect/transit/util.js"], +"sourcesContent":["// Copyright 2014 Cognitect. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\ngoog.provide(\"com.cognitect.transit.util\");\ngoog.require(\"goog.object\");\n\ngoog.scope(function () {\n\n var util = com.cognitect.transit.util,\n gobject = goog.object;\n\n if (typeof Object.keys != \"undefined\") {\n util.objectKeys = function (obj) {\n return Object.keys(obj);\n };\n } else {\n util.objectKeys = function (obj) {\n return gobject.getKeys(obj);\n };\n }\n\n if (typeof Array.isArray != \"undefined\") {\n util.isArray = function (obj) {\n return Array.isArray(obj);\n };\n } else {\n util.isArray = function (obj) {\n return goog.typeOf(obj) === \"array\";\n };\n }\n\n /**\n * @const\n * @type {string}\n */\n util.chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\n\n util.randInt = function (ub) {\n return Math.round(Math.random() * ub);\n };\n\n util.randHex = function () {\n return util.randInt(15).toString(16);\n };\n\n util.randomUUID = function () {\n var rhex = (0x8 | (0x3 & util.randInt(14))).toString(16),\n ret = util.randHex() + util.randHex() + util.randHex() + util.randHex() +\n util.randHex() + util.randHex() + util.randHex() + util.randHex() + \"-\" +\n util.randHex() + util.randHex() + util.randHex() + util.randHex() + \"-\" +\n \"4\" + util.randHex() + util.randHex() + util.randHex() + \"-\" +\n rhex + util.randHex() + util.randHex() + util.randHex() + \"-\" +\n util.randHex() + util.randHex() + util.randHex() + util.randHex() +\n util.randHex() + util.randHex() + util.randHex() + util.randHex() +\n util.randHex() + util.randHex() + util.randHex() + util.randHex();\n return ret;\n };\n\n// https://github.com/davidchambers/Base64.js\n\n util.btoa = function (input) {\n if (typeof btoa != \"undefined\") {\n return btoa(input);\n } else {\n var str = String(input);\n for (\n var block, charCode, idx = 0, map = util.chars, output = '';\n str.charAt(idx | 0) || (map = '=', idx % 1);\n output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n ) {\n charCode = str.charCodeAt(idx += 3 / 4);\n if (charCode > 0xFF) {\n throw new Error(\"'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.\");\n }\n block = block << 8 | charCode;\n }\n return output;\n }\n };\n\n /**\n * @suppress {uselessCode}\n */\n util.atob = function (input) {\n if (typeof atob != \"undefined\") {\n return atob(input);\n } else {\n var str = String(input).replace(/=+$/, '');\n if (str.length % 4 == 1) {\n throw new Error(\"'atob' failed: The string to be decoded is not correctly encoded.\");\n }\n for (\n var bc = 0, bs, buffer, idx = 0, output = '';\n buffer = str.charAt(idx++);\n ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0\n ) {\n buffer = util.chars.indexOf(buffer);\n }\n return output;\n }\n };\n\n util.Uint8ToBase64 = function (u8Arr) {\n var CHUNK_SIZE = 0x8000,\n index = 0,\n length = u8Arr.length,\n result = '',\n slice = null;\n\n while (index < length) {\n slice = u8Arr.subarray(index, Math.min(index + CHUNK_SIZE, length));\n result += String.fromCharCode.apply(null, slice);\n index += CHUNK_SIZE;\n }\n\n return util.btoa(result);\n };\n\n util.Base64ToUint8 = function (base64) {\n var binary_string = util.atob(base64),\n len = binary_string.length,\n bytes = new Uint8Array(len);\n\n for (var i = 0; i < len; i++) {\n var ascii = binary_string.charCodeAt(i);\n bytes[i] = ascii;\n }\n\n return bytes;\n };\n\n});\n"], +"names":["goog","provide","require","scope","util","com","cognitect","transit","gobject","object","Object","keys","objectKeys","util.objectKeys","obj","getKeys","Array","isArray","util.isArray","typeOf","chars","randInt","util.randInt","ub","Math","round","random","randHex","util.randHex","toString","randomUUID","util.randomUUID","rhex","ret","btoa","util.btoa","input","str","String","block","charCode","idx","map","output","charAt","charCodeAt","Error","atob","util.atob","replace","length","bc","bs","buffer","fromCharCode","indexOf","Uint8ToBase64","util.Uint8ToBase64","u8Arr","CHUNK_SIZE","index","result","slice","subarray","min","apply","Base64ToUint8","util.Base64ToUint8","base64","binary_string","len","bytes","Uint8Array","i","ascii"] +} diff --git a/out/cljs-runtime/example.core.js b/out/cljs-runtime/example.core.js new file mode 100644 index 0000000..7923628 --- /dev/null +++ b/out/cljs-runtime/example.core.js @@ -0,0 +1,896 @@ +goog.provide('example.core'); +uix.dev.init_fast_refresh_BANG_(); +example.core.refresh = (function example$core$refresh(){ +return uix.dev.refresh_BANG_(); +}); +example.core.tools = new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"rect","rect",-108902628),new cljs.core.Keyword(null,"circle","circle",1903212362),new cljs.core.Keyword(null,"text","text",-1790561697)], null); +re_frame.core.reg_sub.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword("hello","workd","hello/workd",1342838384),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (){ +return new cljs.core.Keyword(null,"nothing","nothing",-1022703296); +})], 0)); +example.core.tool_button = (function example$core$tool_button(p__30475){ +var map__30476 = p__30475; +var map__30476__$1 = cljs.core.__destructure_map(map__30476); +var selected_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30476__$1,new cljs.core.Keyword(null,"selected?","selected?",-742502788)); +var label = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30476__$1,new cljs.core.Keyword(null,"label","label",1718410804)); +var on_press = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30476__$1,new cljs.core.Keyword(null,"on-press","on-press",-1763585856)); +var with_let30477 = reagent.ratom.with_let_values(new cljs.core.Keyword(null,"with-let30477","with-let30477",-1903292126)); +var temp__5827__auto___30669 = reagent.ratom._STAR_ratom_context_STAR_; +if((temp__5827__auto___30669 == null)){ +} else { +var c__28922__auto___30670 = temp__5827__auto___30669; +if((with_let30477.generation === c__28922__auto___30670.ratomGeneration)){ +if(reagent.debug.has_console){ +((reagent.debug.tracking)?reagent.debug.track_console:console).error(["Warning: The same with-let is being used more ","than once in the same reactive context."].join('')); +} else { +} +} else { +} + +(with_let30477.generation = c__28922__auto___30670.ratomGeneration); +} + +var init30478 = (with_let30477.length === (0)); +var a = ((((init30478) || (cljs.core.not(with_let30477.hasOwnProperty((0))))))?(with_let30477[(0)] = reagent.core.atom.cljs$core$IFn$_invoke$arity$1((1))):(with_let30477[(0)])); +var res30479 = (function (){ +cljs.core.deref(re_frame.core.subscribe.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword("hello","workd","hello/workd",1342838384)], null))); + +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),on_press,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"padding","padding",1660304693),"4px 8px",new cljs.core.Keyword(null,"cursor","cursor",1011937484),new cljs.core.Keyword(null,"pointer","pointer",85071187),new cljs.core.Keyword(null,"border-radius","border-radius",419594011),(3),new cljs.core.Keyword(null,"color","color",1011675173),(cljs.core.truth_(selected_QMARK_)?"#fff":null),new cljs.core.Keyword(null,"background-color","background-color",570434026),(cljs.core.truth_(selected_QMARK_)?"#ff89da":null)], null)], null),label], null); +})() +; +return res30479; +}); +example.core.toolbar = (function example$core$toolbar(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30483 = [clj_props__29460__auto__]; +var map__30486 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30483,(0),null); +var map__30486__$1 = cljs.core.__destructure_map(map__30486); +var state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30486__$1,new cljs.core.Keyword(null,"state","state",-1988618099)); +var set_state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30486__$1,new cljs.core.Keyword(null,"set-state","set-state",1344116913)); +var on_add_shape = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30486__$1,new cljs.core.Keyword(null,"on-add-shape","on-add-shape",1289220499)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30671 = example.core.toolbar.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30671)){ +var f__29390__auto___30672 = temp__5823__auto___30671; +(f__29390__auto___30672.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30672.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30672.call(null, )); +} else { +} +} else { +} + +var map__30489 = state; +var map__30489__$1 = cljs.core.__destructure_map(map__30489); +var grid_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30489__$1,new cljs.core.Keyword(null,"grid?","grid?",-288406689)); +return uix.compiler.aot._GT_el("div",[{'style':{'padding':"8px 16px",'height':(46),'display':"flex",'alignItems':"center",'backgroundColor':"#fff",'position':"relative",'boxShadow':"0 1px 1px rgba(0, 0, 10, 0.2)"}}],[uix.compiler.aot._GT_el("img",[{'src':"https://raw.githubusercontent.com/pitch-io/uix/master/logo.png",'style':{'height':"100%",'margin':"0 16px 0 0"}}],[]),cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (t){ +return reagent.core.as_element.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [example.core.tool_button,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),t,new cljs.core.Keyword(null,"label","label",1718410804),cljs.core.name(t),new cljs.core.Keyword(null,"on-press","on-press",-1763585856),(function (){ +return (on_add_shape.cljs$core$IFn$_invoke$arity$1 ? on_add_shape.cljs$core$IFn$_invoke$arity$1(t) : on_add_shape.call(null, t)); +})], null)], null)); +}),example.core.tools),uix.compiler.aot._GT_el("div",[{'style':{'width':(1),'height':"60%",'backgroundColor':"#c1cdd0",'margin':"0 8px"}}],[]),reagent.core.as_element.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [example.core.tool_button,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"label","label",1718410804),"grid",new cljs.core.Keyword(null,"selected?","selected?",-742502788),grid_QMARK_,new cljs.core.Keyword(null,"on-press","on-press",-1763585856),(function (){ +var G__30490 = cljs.core.update.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,"grid?","grid?",-288406689),cljs.core.not); +return (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30490) : set_state.call(null, G__30490)); +})], null)], null))]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30491 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30492 = example.core.toolbar; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30492); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30491); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.toolbar.uix_component_QMARK_ = true); + +(example.core.toolbar.displayName = "example.core/toolbar"); + +Object.defineProperty(example.core.toolbar,"name",(function (){var obj30496 = ({"value":"example.core/toolbar"}); +return obj30496; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30674 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30674.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30674.cljs$core$IFn$_invoke$arity$4(example.core.toolbar,"",null,null) : sig__29399__auto___30674.call(null, example.core.toolbar,"",null,null)); + +window.uix.dev.register_BANG_(example.core.toolbar,example.core.toolbar.displayName); + +(example.core.toolbar.fast_refresh_signature = sig__29399__auto___30674); +} else { +} +} else { +} + +example.core.canvas_grid30497 = (function example$core$canvas_grid30497(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30499 = [clj_props__29460__auto__]; +var map__30502 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30499,(0),null); +var map__30502__$1 = cljs.core.__destructure_map(map__30502); +var width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,"width","width",-384071477)); +var height = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,"height","height",1025178622)); +var size = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,"size","size",1098693007)); +var color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,"color","color",1011675173)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30675 = example.core.canvas_grid30497.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30675)){ +var f__29390__auto___30676 = temp__5823__auto___30675; +(f__29390__auto___30676.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30676.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30676.call(null, )); +} else { +} +} else { +} + +var wn = Math.ceil((width / size)); +var hn = Math.ceil((height / size)); +return uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (widx){ +return uix.compiler.aot._GT_el("line",[{'key':uix.compiler.attributes.keyword__GT_string(widx),'x1':(size * widx),'x2':(size * widx),'y1':(0),'y2':uix.compiler.attributes.keyword__GT_string(height),'stroke':uix.compiler.attributes.keyword__GT_string(color)}],[]); +}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(wn)),[],false),[cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (hidx){ +return uix.compiler.aot._GT_el("line",[{'key':uix.compiler.attributes.keyword__GT_string(hidx),'y1':(size * hidx),'y2':(size * hidx),'x1':(0),'x2':uix.compiler.attributes.keyword__GT_string(width),'stroke':uix.compiler.attributes.keyword__GT_string(color)}],[]); +}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(hn))]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30503 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30504 = example.core.canvas_grid30497; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30504); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30503); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.canvas_grid30497.uix_component_QMARK_ = true); + +(example.core.canvas_grid30497.displayName = "example.core/canvas-grid"); + +Object.defineProperty(example.core.canvas_grid30497,"name",(function (){var obj30508 = ({"value":"example.core/canvas-grid"}); +return obj30508; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30677 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30677.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30677.cljs$core$IFn$_invoke$arity$4(example.core.canvas_grid30497,"",null,null) : sig__29399__auto___30677.call(null, example.core.canvas_grid30497,"",null,null)); + +window.uix.dev.register_BANG_(example.core.canvas_grid30497,example.core.canvas_grid30497.displayName); + +(example.core.canvas_grid30497.fast_refresh_signature = sig__29399__auto___30677); +} else { +} +} else { +} + +example.core.canvas_grid = uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.canvas_grid30497); +example.core.cursor = (function example$core$cursor(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30510 = [clj_props__29460__auto__]; +var map__30513 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30510,(0),null); +var map__30513__$1 = cljs.core.__destructure_map(map__30513); +var mx = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,"mx","mx",-199887020)); +var my = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,"my","my",-1055703269)); +var r = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,"r","r",-471384190)); +var color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,"color","color",1011675173)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30678 = example.core.cursor.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30678)){ +var f__29390__auto___30679 = temp__5823__auto___30678; +(f__29390__auto___30679.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30679.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30679.call(null, )); +} else { +} +} else { +} + +var mx__$1 = (mx + (r / (2))); +var my__$1 = (my + (r / (2))); +return uix.compiler.aot._GT_el("circle",[{'cx':(mx__$1 - (r / (2))),'cy':(my__$1 - (r / (2))),'r':uix.compiler.attributes.keyword__GT_string(r),'fill':uix.compiler.attributes.keyword__GT_string(color)}],[]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30516 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30517 = example.core.cursor; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30517); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30516); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.cursor.uix_component_QMARK_ = true); + +(example.core.cursor.displayName = "example.core/cursor"); + +Object.defineProperty(example.core.cursor,"name",(function (){var obj30521 = ({"value":"example.core/cursor"}); +return obj30521; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30682 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30682.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30682.cljs$core$IFn$_invoke$arity$4(example.core.cursor,"",null,null) : sig__29399__auto___30682.call(null, example.core.cursor,"",null,null)); + +window.uix.dev.register_BANG_(example.core.cursor,example.core.cursor.displayName); + +(example.core.cursor.fast_refresh_signature = sig__29399__auto___30682); +} else { +} +} else { +} + +example.core.rect = (function example$core$rect(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30523 = [clj_props__29460__auto__]; +var map__30526 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30523,(0),null); +var map__30526__$1 = cljs.core.__destructure_map(map__30526); +var x = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"x","x",2099068185)); +var height = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"height","height",1025178622)); +var y = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"y","y",-1757859776)); +var fill_color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"fill-color","fill-color",-1156875903)); +var children = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"children","children",-940561982)); +var stroke_color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"stroke-color","stroke-color",-1089418937)); +var width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"width","width",-384071477)); +var on_mouse_down = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470)); +var stroke_width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435)); +var on_mouse_up = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,"on-mouse-up","on-mouse-up",-1340533320)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30683 = example.core.rect.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30683)){ +var f__29390__auto___30684 = temp__5823__auto___30683; +(f__29390__auto___30684.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30684.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30684.call(null, )); +} else { +} +} else { +} + +return uix.compiler.aot._GT_el("rect",[{'y':uix.compiler.attributes.keyword__GT_string(y),'stroke':uix.compiler.attributes.keyword__GT_string(stroke_color),'fill':uix.compiler.attributes.keyword__GT_string(fill_color),'width':uix.compiler.attributes.keyword__GT_string(width),'onMouseDown':on_mouse_down,'strokeWidth':uix.compiler.attributes.keyword__GT_string(stroke_width),'x':uix.compiler.attributes.keyword__GT_string(x),'height':uix.compiler.attributes.keyword__GT_string(height),'onMouseUp':on_mouse_up}],[children]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30530 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30531 = example.core.rect; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30531); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30530); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.rect.uix_component_QMARK_ = true); + +(example.core.rect.displayName = "example.core/rect"); + +Object.defineProperty(example.core.rect,"name",(function (){var obj30533 = ({"value":"example.core/rect"}); +return obj30533; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30688 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30688.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30688.cljs$core$IFn$_invoke$arity$4(example.core.rect,"",null,null) : sig__29399__auto___30688.call(null, example.core.rect,"",null,null)); + +window.uix.dev.register_BANG_(example.core.rect,example.core.rect.displayName); + +(example.core.rect.fast_refresh_signature = sig__29399__auto___30688); +} else { +} +} else { +} + +example.core.circle = (function example$core$circle(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30536 = [clj_props__29460__auto__]; +var map__30539 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30536,(0),null); +var map__30539__$1 = cljs.core.__destructure_map(map__30539); +var x = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"x","x",2099068185)); +var y = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"y","y",-1757859776)); +var width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"width","width",-384071477)); +var height = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"height","height",1025178622)); +var fill_color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"fill-color","fill-color",-1156875903)); +var stroke_width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435)); +var stroke_color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"stroke-color","stroke-color",-1089418937)); +var on_mouse_down = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30689 = example.core.circle.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30689)){ +var f__29390__auto___30690 = temp__5823__auto___30689; +(f__29390__auto___30690.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30690.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30690.call(null, )); +} else { +} +} else { +} + +return uix.compiler.aot._GT_el("ellipse",[{'onMouseDown':on_mouse_down,'cx':(x + (width / (2))),'cy':(y + (height / (2))),'rx':(width / (2)),'ry':(height / (2)),'fill':uix.compiler.attributes.keyword__GT_string(fill_color),'strokeWidth':uix.compiler.attributes.keyword__GT_string(stroke_width),'stroke':uix.compiler.attributes.keyword__GT_string(stroke_color)}],[]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30540 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30541 = example.core.circle; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30541); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30540); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.circle.uix_component_QMARK_ = true); + +(example.core.circle.displayName = "example.core/circle"); + +Object.defineProperty(example.core.circle,"name",(function (){var obj30543 = ({"value":"example.core/circle"}); +return obj30543; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30691 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30691.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30691.cljs$core$IFn$_invoke$arity$4(example.core.circle,"",null,null) : sig__29399__auto___30691.call(null, example.core.circle,"",null,null)); + +window.uix.dev.register_BANG_(example.core.circle,example.core.circle.displayName); + +(example.core.circle.fast_refresh_signature = sig__29399__auto___30691); +} else { +} +} else { +} + +example.core.text = (function example$core$text(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30547 = [clj_props__29460__auto__]; +var map__30550 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30547,(0),null); +var map__30550__$1 = cljs.core.__destructure_map(map__30550); +var x = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"x","x",2099068185)); +var font_family = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"font-family","font-family",-667419874)); +var height = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"height","height",1025178622)); +var font_style = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"font-style","font-style",-773672352)); +var y = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"y","y",-1757859776)); +var fill_color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"fill-color","fill-color",-1156875903)); +var font_size = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"font-size","font-size",-1847940346)); +var stroke_color = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"stroke-color","stroke-color",-1089418937)); +var value = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"value","value",305978217)); +var width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"width","width",-384071477)); +var on_mouse_down = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470)); +var stroke_width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30692 = example.core.text.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30692)){ +var f__29390__auto___30693 = temp__5823__auto___30692; +(f__29390__auto___30693.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30693.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30693.call(null, )); +} else { +} +} else { +} + +return uix.compiler.aot._GT_el("text",[{'onMouseDown':on_mouse_down,'x':uix.compiler.attributes.keyword__GT_string(x),'y':uix.compiler.attributes.keyword__GT_string(y),'fontFamily':uix.compiler.attributes.keyword__GT_string(font_family),'fontSize':uix.compiler.attributes.keyword__GT_string(font_size),'fontStyle':uix.compiler.attributes.keyword__GT_string(font_style)}],[value]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30552 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30553 = example.core.text; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30553); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30552); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.text.uix_component_QMARK_ = true); + +(example.core.text.displayName = "example.core/text"); + +Object.defineProperty(example.core.text,"name",(function (){var obj30555 = ({"value":"example.core/text"}); +return obj30555; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30696 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30696.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30696.cljs$core$IFn$_invoke$arity$4(example.core.text,"",null,null) : sig__29399__auto___30696.call(null, example.core.text,"",null,null)); + +window.uix.dev.register_BANG_(example.core.text,example.core.text.displayName); + +(example.core.text.fast_refresh_signature = sig__29399__auto___30696); +} else { +} +} else { +} + +example.core.map_object = (function example$core$map_object(object,size){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(object,new cljs.core.Keyword(null,"x","x",2099068185),cljs.core._STAR_,size),new cljs.core.Keyword(null,"y","y",-1757859776),cljs.core._STAR_,size),new cljs.core.Keyword(null,"width","width",-384071477),cljs.core._STAR_,size),new cljs.core.Keyword(null,"height","height",1025178622),cljs.core._STAR_,size); +}); +example.core.objects_layer30558 = (function example$core$objects_layer30558(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30559 = [clj_props__29460__auto__]; +var map__30562 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30559,(0),null); +var map__30562__$1 = cljs.core.__destructure_map(map__30562); +var objects = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30562__$1,new cljs.core.Keyword(null,"objects","objects",2099713734)); +var size = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30562__$1,new cljs.core.Keyword(null,"size","size",1098693007)); +var on_select = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30562__$1,new cljs.core.Keyword(null,"on-select","on-select",-192407950)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30699 = example.core.objects_layer30558.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30699)){ +var f__29390__auto___30700 = temp__5823__auto___30699; +(f__29390__auto___30700.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30700.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30700.call(null, )); +} else { +} +} else { +} + +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p__30563){ +var map__30565 = p__30563; +var map__30565__$1 = cljs.core.__destructure_map(map__30565); +var object = map__30565__$1; +var id = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30565__$1,new cljs.core.Keyword(null,"id","id",-1388402092)); +var idx = objects.indexOf(object); +var object__$1 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(example.core.map_object(object,size),new cljs.core.Keyword(null,"key","key",-1516042587),id,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),(function (){ +return (on_select.cljs$core$IFn$_invoke$arity$1 ? on_select.cljs$core$IFn$_invoke$arity$1(idx) : on_select.call(null, idx)); +})], 0)); +var G__30566 = new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(object__$1); +var G__30566__$1 = (((G__30566 instanceof cljs.core.Keyword))?G__30566.fqn:null); +switch (G__30566__$1) { +case "rect": +return uix.compiler.alpha.component_element(example.core.rect,uix.compiler.attributes.interpret_props(object__$1),[]); + +break; +case "circle": +return uix.compiler.alpha.component_element(example.core.circle,uix.compiler.attributes.interpret_props(object__$1),[]); + +break; +case "text": +return uix.compiler.alpha.component_element(example.core.text,uix.compiler.attributes.interpret_props(object__$1),[]); + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30566__$1)].join(''))); + +} +}),objects); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30569 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30570 = example.core.objects_layer30558; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30570); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30569); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.objects_layer30558.uix_component_QMARK_ = true); + +(example.core.objects_layer30558.displayName = "example.core/objects-layer"); + +Object.defineProperty(example.core.objects_layer30558,"name",(function (){var obj30572 = ({"value":"example.core/objects-layer"}); +return obj30572; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30702 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30702.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30702.cljs$core$IFn$_invoke$arity$4(example.core.objects_layer30558,"",null,null) : sig__29399__auto___30702.call(null, example.core.objects_layer30558,"",null,null)); + +window.uix.dev.register_BANG_(example.core.objects_layer30558,example.core.objects_layer30558.displayName); + +(example.core.objects_layer30558.fast_refresh_signature = sig__29399__auto___30702); +} else { +} +} else { +} + +example.core.objects_layer = uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.objects_layer30558); +example.core.edit_layer30573 = (function example$core$edit_layer30573(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30574 = [clj_props__29460__auto__]; +var map__30577 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30574,(0),null); +var map__30577__$1 = cljs.core.__destructure_map(map__30577); +var mx = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,"mx","mx",-199887020)); +var my = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,"my","my",-1055703269)); +var on_object_changed = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,"on-object-changed","on-object-changed",-1493555239)); +var on_select = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,"on-select","on-select",-192407950)); +var idx = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,"idx","idx",1053688473)); +var selected = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,"selected","selected",574897764)); +var size = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,"size","size",1098693007)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30703 = example.core.edit_layer30573.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30703)){ +var f__29390__auto___30704 = temp__5823__auto___30703; +(f__29390__auto___30704.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30704.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30704.call(null, )); +} else { +} +} else { +} + +var vec__30579 = uix.core.use_state(false); +var active_QMARK_ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30579,(0),null); +var set_active = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30579,(1),null); +var selected_QMARK_ = (!((selected == null))); +var on_move = uix.hooks.alpha.use_callback((function (x,y){ +var G__30584 = idx; +var G__30585 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(selected,new cljs.core.Keyword(null,"x","x",2099068185),x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"y","y",-1757859776),y], 0)); +return (on_object_changed.cljs$core$IFn$_invoke$arity$2 ? on_object_changed.cljs$core$IFn$_invoke$arity$2(G__30584,G__30585) : on_object_changed.call(null, G__30584,G__30585)); +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [idx,selected,on_object_changed], null))]); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +if(cljs.core.truth_(active_QMARK_)){ +return (on_move.cljs$core$IFn$_invoke$arity$2 ? on_move.cljs$core$IFn$_invoke$arity$2(mx,my) : on_move.call(null, mx,my)); +} else { +return null; +} +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [selected_QMARK_,active_QMARK_,mx,my,on_move], null))]); + +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +if(selected_QMARK_){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true)); +} else { +return null; +} +}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [selected_QMARK_], null))]); + +if(cljs.core.truth_(selected)){ +return uix.compiler.alpha.component_element(example.core.rect,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(example.core.map_object(selected,size),new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true)); +}),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"on-mouse-up","on-mouse-up",-1340533320),(function (){ +return (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false)); +}),new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),(1),new cljs.core.Keyword(null,"stroke-color","stroke-color",-1089418937),"#0000ff",new cljs.core.Keyword(null,"fill-color","fill-color",-1156875903),new cljs.core.Keyword(null,"transparent","transparent",-2073609949)], 0))),[]); +} else { +return null; +} +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30586 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30587 = example.core.edit_layer30573; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30587); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30586); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.edit_layer30573.uix_component_QMARK_ = true); + +(example.core.edit_layer30573.displayName = "example.core/edit-layer"); + +Object.defineProperty(example.core.edit_layer30573,"name",(function (){var obj30590 = ({"value":"example.core/edit-layer"}); +return obj30590; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30708 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30708.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30708.cljs$core$IFn$_invoke$arity$4(example.core.edit_layer30573,"(uix/use-state false)(uix/use-callback (fn [x y] (on-object-changed idx (assoc selected :x x :y y))) [idx selected on-object-changed])(uix/use-effect (fn* [] (when active? (on-move mx my))) [selected? active? mx my on-move])(uix/use-effect (fn* [] (when selected? (set-active true))) [selected?])",null,null) : sig__29399__auto___30708.call(null, example.core.edit_layer30573,"(uix/use-state false)(uix/use-callback (fn [x y] (on-object-changed idx (assoc selected :x x :y y))) [idx selected on-object-changed])(uix/use-effect (fn* [] (when active? (on-move mx my))) [selected? active? mx my on-move])(uix/use-effect (fn* [] (when selected? (set-active true))) [selected?])",null,null)); + +window.uix.dev.register_BANG_(example.core.edit_layer30573,example.core.edit_layer30573.displayName); + +(example.core.edit_layer30573.fast_refresh_signature = sig__29399__auto___30708); +} else { +} +} else { +} + +example.core.edit_layer = uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.edit_layer30573); +example.core.background_layer30593 = (function example$core$background_layer30593(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30596 = [clj_props__29460__auto__]; +var map__30599 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30596,(0),null); +var map__30599__$1 = cljs.core.__destructure_map(map__30599); +var width = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30599__$1,new cljs.core.Keyword(null,"width","width",-384071477)); +var height = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30599__$1,new cljs.core.Keyword(null,"height","height",1025178622)); +var on_mouse_down = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30599__$1,new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30710 = example.core.background_layer30593.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30710)){ +var f__29390__auto___30711 = temp__5823__auto___30710; +(f__29390__auto___30711.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30711.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30711.call(null, )); +} else { +} +} else { +} + +return uix.compiler.alpha.component_element(example.core.rect,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),(function (){ +return (on_mouse_down.cljs$core$IFn$_invoke$arity$0 ? on_mouse_down.cljs$core$IFn$_invoke$arity$0() : on_mouse_down.call(null, )); +}),new cljs.core.Keyword(null,"x","x",2099068185),(0),new cljs.core.Keyword(null,"y","y",-1757859776),(0),new cljs.core.Keyword(null,"width","width",-384071477),width,new cljs.core.Keyword(null,"height","height",1025178622),height,new cljs.core.Keyword(null,"fill-color","fill-color",-1156875903),new cljs.core.Keyword(null,"transparent","transparent",-2073609949),new cljs.core.Keyword(null,"stroke-color","stroke-color",-1089418937),new cljs.core.Keyword(null,"none","none",1333468478)], null)],[]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30601 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30602 = example.core.background_layer30593; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30602); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30601); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.background_layer30593.uix_component_QMARK_ = true); + +(example.core.background_layer30593.displayName = "example.core/background-layer"); + +Object.defineProperty(example.core.background_layer30593,"name",(function (){var obj30605 = ({"value":"example.core/background-layer"}); +return obj30605; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30712 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30712.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30712.cljs$core$IFn$_invoke$arity$4(example.core.background_layer30593,"",null,null) : sig__29399__auto___30712.call(null, example.core.background_layer30593,"",null,null)); + +window.uix.dev.register_BANG_(example.core.background_layer30593,example.core.background_layer30593.displayName); + +(example.core.background_layer30593.fast_refresh_signature = sig__29399__auto___30712); +} else { +} +} else { +} + +example.core.background_layer = uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.background_layer30593); +example.core.canvas = (function example$core$canvas(props__29459__auto__){ +var clj_props__29460__auto__ = uix.core.glue_args(props__29459__auto__); +var vec__30610 = [clj_props__29460__auto__]; +var map__30613 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30610,(0),null); +var map__30613__$1 = cljs.core.__destructure_map(map__30613); +var state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30613__$1,new cljs.core.Keyword(null,"state","state",-1988618099)); +var on_object_changed = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30613__$1,new cljs.core.Keyword(null,"on-object-changed","on-object-changed",-1493555239)); +var on_object_select = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30613__$1,new cljs.core.Keyword(null,"on-object-select","on-object-select",-1747471264)); +var f__29461__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30714 = example.core.canvas.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30714)){ +var f__29390__auto___30715 = temp__5823__auto___30714; +(f__29390__auto___30715.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30715.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30715.call(null, )); +} else { +} +} else { +} + +var map__30617 = state; +var map__30617__$1 = cljs.core.__destructure_map(map__30617); +var grid_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30617__$1,new cljs.core.Keyword(null,"grid?","grid?",-288406689)); +var canvas = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30617__$1,new cljs.core.Keyword(null,"canvas","canvas",-1798817489)); +var vec__30618 = uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null)); +var vec__30621 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30618,(0),null); +var width = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30621,(0),null); +var height = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30621,(1),null); +var set_size = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30618,(1),null); +var vec__30624 = uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null)); +var vec__30627 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30624,(0),null); +var ox = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30627,(0),null); +var oy = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30627,(1),null); +var set_offset = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30624,(1),null); +var vec__30630 = uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null)); +var vec__30633 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30630,(0),null); +var mx = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30633,(0),null); +var my = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30633,(1),null); +var set_mouse = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30630,(1),null); +var ref = uix.core.use_ref.cljs$core$IFn$_invoke$arity$0(); +var size = (8); +var mx__$1 = cljs.core.quot((mx - ox),size); +var my__$1 = cljs.core.quot((my - oy),size); +uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){ +var G__30638_30717 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref(ref).offsetLeft,cljs.core.deref(ref).offsetTop], null); +(set_offset.cljs$core$IFn$_invoke$arity$1 ? set_offset.cljs$core$IFn$_invoke$arity$1(G__30638_30717) : set_offset.call(null, G__30638_30717)); + +var G__30640 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [screen.width,screen.height], null); +return (set_size.cljs$core$IFn$_invoke$arity$1 ? set_size.cljs$core$IFn$_invoke$arity$1(G__30640) : set_size.call(null, G__30640)); +}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]); + +return uix.compiler.aot._GT_el("div",[{'ref':uix.compiler.attributes.keyword__GT_string(ref),'onMouseMove':(function (e){ +var G__30641 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [e.clientX,e.clientY], null); +return (set_mouse.cljs$core$IFn$_invoke$arity$1 ? set_mouse.cljs$core$IFn$_invoke$arity$1(G__30641) : set_mouse.call(null, G__30641)); +}),'style':{'flex':(1),'position':"relative",'backgroundColor':"#ebeff0"}}],[uix.compiler.aot._GT_el("svg",[{'style':{'width':uix.compiler.attributes.keyword__GT_string(width),'height':uix.compiler.attributes.keyword__GT_string(height),'position':"absolute",'left':(0),'top':(0)},'viewBox':["0 0 ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(width)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(height)].join('')}],[(cljs.core.truth_(grid_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(example.core.canvas_grid,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"width","width",-384071477),width,new cljs.core.Keyword(null,"height","height",1025178622),height,new cljs.core.Keyword(null,"size","size",1098693007),size,new cljs.core.Keyword(null,"color","color",1011675173),"#c1cdd0"], null)],[]),[],false),[uix.compiler.alpha.component_element(example.core.cursor,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"r","r",-471384190),(2),new cljs.core.Keyword(null,"color","color",1011675173),"#4f7f8b",new cljs.core.Keyword(null,"mx","mx",-199887020),(size * mx__$1),new cljs.core.Keyword(null,"my","my",-1055703269),(size * my__$1)], null)],[])]):null),uix.compiler.alpha.component_element(example.core.background_layer,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"width","width",-384071477),width,new cljs.core.Keyword(null,"height","height",1025178622),height,new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),on_object_select], null)],[]),uix.compiler.alpha.component_element(example.core.objects_layer,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"objects","objects",2099713734),new cljs.core.Keyword(null,"objects","objects",2099713734).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,"size","size",1098693007),size,new cljs.core.Keyword(null,"on-select","on-select",-192407950),on_object_select], null)],[]),uix.compiler.alpha.component_element(example.core.edit_layer,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"size","size",1098693007),size,new cljs.core.Keyword(null,"on-select","on-select",-192407950),on_object_select,new cljs.core.Keyword(null,"on-object-changed","on-object-changed",-1493555239),on_object_changed,new cljs.core.Keyword(null,"mx","mx",-199887020),mx__$1,new cljs.core.Keyword(null,"my","my",-1055703269),my__$1,new cljs.core.Keyword(null,"idx","idx",1053688473),new cljs.core.Keyword(null,"selected","selected",574897764).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,"selected","selected",574897764),(cljs.core.truth_(new cljs.core.Keyword(null,"selected","selected",574897764).cljs$core$IFn$_invoke$arity$1(canvas))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"objects","objects",2099713734).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,"selected","selected",574897764).cljs$core$IFn$_invoke$arity$1(canvas)):null)], null)],[])])]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30642 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30643 = example.core.canvas; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30643); + +try{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ == null)))){ +} else { +throw (new Error(["Assert failed: ",["UIx component expects a map of props, but instead got ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(''),"\n","(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))"].join(''))); +} + +return f__29461__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30642); +}} else { +return f__29461__auto__(); +} +}); + +(example.core.canvas.uix_component_QMARK_ = true); + +(example.core.canvas.displayName = "example.core/canvas"); + +Object.defineProperty(example.core.canvas,"name",(function (){var obj30647 = ({"value":"example.core/canvas"}); +return obj30647; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30723 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30723.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30723.cljs$core$IFn$_invoke$arity$4(example.core.canvas,"(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-ref)(uix/use-effect (fn [] (set-offset [(.-offsetLeft (clojure.core/deref ref)) (.-offsetTop (clojure.core/deref ref))]) (set-size [(.-width js/screen) (.-height js/screen)])) [])",null,null) : sig__29399__auto___30723.call(null, example.core.canvas,"(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-ref)(uix/use-effect (fn [] (set-offset [(.-offsetLeft (clojure.core/deref ref)) (.-offsetTop (clojure.core/deref ref))]) (set-size [(.-width js/screen) (.-height js/screen)])) [])",null,null)); + +window.uix.dev.register_BANG_(example.core.canvas,example.core.canvas.displayName); + +(example.core.canvas.fast_refresh_signature = sig__29399__auto___30723); +} else { +} +} else { +} + +example.core.default_styles = new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"x","x",2099068185),(32),new cljs.core.Keyword(null,"y","y",-1757859776),(32),new cljs.core.Keyword(null,"width","width",-384071477),(12),new cljs.core.Keyword(null,"height","height",1025178622),(12),new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),(2),new cljs.core.Keyword(null,"stroke-color","stroke-color",-1089418937),"#ff0000",new cljs.core.Keyword(null,"fill-color","fill-color",-1156875903),"#00ff00"], null); +example.core.app = (function example$core$app(){ +var f__29457__auto__ = (function (){ +if(goog.DEBUG){ +var temp__5823__auto___30724 = example.core.app.fast_refresh_signature; +if(cljs.core.truth_(temp__5823__auto___30724)){ +var f__29390__auto___30725 = temp__5823__auto___30724; +(f__29390__auto___30725.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30725.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30725.call(null, )); +} else { +} +} else { +} + +var vec__30653 = uix.core.use_state(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"grid?","grid?",-288406689),true,new cljs.core.Keyword(null,"canvas","canvas",-1798817489),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"selected","selected",574897764),null,new cljs.core.Keyword(null,"objects","objects",2099713734),cljs.core.PersistentVector.EMPTY], null)], null)); +var state = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30653,(0),null); +var set_state = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30653,(1),null); +var on_add_shape = (function (shape){ +var id = cljs.core.random_uuid(); +var G__30656 = cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"canvas","canvas",-1798817489),new cljs.core.Keyword(null,"objects","objects",2099713734)], null),cljs.core.conj,(function (){var G__30657 = shape; +var G__30657__$1 = (((G__30657 instanceof cljs.core.Keyword))?G__30657.fqn:null); +switch (G__30657__$1) { +case "rect": +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"rect","rect",-108902628),new cljs.core.Keyword(null,"id","id",-1388402092),id], null)], 0)); + +break; +case "circle": +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"circle","circle",1903212362),new cljs.core.Keyword(null,"id","id",-1388402092),id], null)], 0)); + +break; +case "text": +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"text","text",-1790561697),new cljs.core.Keyword(null,"id","id",-1388402092),id,new cljs.core.Keyword(null,"value","value",305978217),"text",new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Inter",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),(32),new cljs.core.Keyword(null,"font-style","font-style",-773672352),new cljs.core.Keyword(null,"normal","normal",-1519123858)], null)], 0)); + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30657__$1)].join(''))); + +} +})()); +return (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30656) : set_state.call(null, G__30656)); +}); +var on_object_select = (function() { +var G__30732 = null; +var G__30732__0 = (function (){ +var G__30658 = cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"canvas","canvas",-1798817489),new cljs.core.Keyword(null,"selected","selected",574897764)], null),null); +return (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30658) : set_state.call(null, G__30658)); +}); +var G__30732__1 = (function (idx){ +var G__30659 = cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"canvas","canvas",-1798817489),new cljs.core.Keyword(null,"selected","selected",574897764)], null),idx); +return (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30659) : set_state.call(null, G__30659)); +}); +G__30732 = function(idx){ +switch(arguments.length){ +case 0: +return G__30732__0.call(this); +case 1: +return G__30732__1.call(this,idx); +} +throw(new Error('Invalid arity: ' + arguments.length)); +}; +G__30732.cljs$core$IFn$_invoke$arity$0 = G__30732__0; +G__30732.cljs$core$IFn$_invoke$arity$1 = G__30732__1; +return G__30732; +})() +; +var on_object_changed = uix.hooks.alpha.use_callback((function (idx,object){ +var G__30661 = (function (p1__30649_SHARP_){ +return cljs.core.assoc_in(p1__30649_SHARP_,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"canvas","canvas",-1798817489),new cljs.core.Keyword(null,"objects","objects",2099713734),idx], null),object); +}); +return (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30661) : set_state.call(null, G__30661)); +}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]); +return uix.compiler.aot._GT_el("div",[{'style':{'fontFamily':"Inter",'fontSize':(14),'display':"flex",'flexDirection':"column",'width':"100vw",'height':"100vh"}}],[uix.compiler.alpha.component_element(example.core.toolbar,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"state","state",-1988618099),state,new cljs.core.Keyword(null,"set-state","set-state",1344116913),set_state,new cljs.core.Keyword(null,"on-add-shape","on-add-shape",1289220499),on_add_shape], null)],[]),uix.compiler.alpha.component_element(example.core.canvas,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"state","state",-1988618099),state,new cljs.core.Keyword(null,"on-object-select","on-object-select",-1747471264),on_object_select,new cljs.core.Keyword(null,"on-object-changed","on-object-changed",-1493555239),on_object_changed], null)],[])]); +}); +if(goog.DEBUG){ +var _STAR_current_component_STAR__orig_val__30663 = uix.core._STAR_current_component_STAR_; +var _STAR_current_component_STAR__temp_val__30664 = example.core.app; +(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__temp_val__30664); + +try{return f__29457__auto__(); +}finally {(uix.core._STAR_current_component_STAR_ = _STAR_current_component_STAR__orig_val__30663); +}} else { +return f__29457__auto__(); +} +}); + +(example.core.app.uix_component_QMARK_ = true); + +(example.core.app.displayName = "example.core/app"); + +Object.defineProperty(example.core.app,"name",(function (){var obj30666 = ({"value":"example.core/app"}); +return obj30666; +})()); + +if(goog.DEBUG){ +if((typeof window !== 'undefined') && (typeof window.uix !== 'undefined') && (typeof window.uix.dev !== 'undefined')){ +var sig__29399__auto___30736 = window.uix.dev.signature_BANG_(); +(sig__29399__auto___30736.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30736.cljs$core$IFn$_invoke$arity$4(example.core.app,"(uix/use-state {:grid? true, :canvas {:selected nil, :objects []}})(uix/use-callback (fn [idx object] (set-state (fn* [p1] (assoc-in p1 [:canvas :objects idx] object)))) [])",null,null) : sig__29399__auto___30736.call(null, example.core.app,"(uix/use-state {:grid? true, :canvas {:selected nil, :objects []}})(uix/use-callback (fn [idx object] (set-state (fn* [p1] (assoc-in p1 [:canvas :objects idx] object)))) [])",null,null)); + +window.uix.dev.register_BANG_(example.core.app,example.core.app.displayName); + +(example.core.app.fast_refresh_signature = sig__29399__auto___30736); +} else { +} +} else { +} + +if((typeof example !== 'undefined') && (typeof example.core !== 'undefined') && (typeof example.core._init !== 'undefined')){ +} else { +example.core._init = (function (){var root = uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(document.getElementById("root")); +uix.dom.render_root(uix.compiler.alpha.component_element(example.core.app,[null],[]),root); + +return null; +})(); +} +cljs_react_devtools.core.init_BANG_(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"root","root",-448657453),document.getElementById("root"),new cljs.core.Keyword(null,"shortcut","shortcut",-431647697),"Control-Shift-Meta-R"], null)); + +//# sourceMappingURL=example.core.js.map diff --git a/out/cljs-runtime/example.core.js.map b/out/cljs-runtime/example.core.js.map new file mode 100644 index 0000000..bd97318 --- /dev/null +++ b/out/cljs-runtime/example.core.js.map @@ -0,0 +1 @@ +{"version":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CAAAwJ,iBAAA,gLAAA,KAAA;;AAAA,AAAAtJ,8BAAAsJ,iBAAA,AAAAA;;AAAA,CAAA,AAAAA,0CAAAxJ;;AAAA;;AAAA;;AAAA,AAoCA,GAAA,QAAAyK,oCAAAC,yCAAAC;AAAA;AAAA,AAAA,AAASC,qBACP,iBAAMC,OAAK,AAACC,kDAAoB,wBAAA,xBAACC;AAAjC,AACE,AAACC,oBAAoB,AAAAlF,sDAAA,CAAA,MAAA,xBAAG0D,4BAAKqB;;AAD/B;;;AAIF,oCAAA,2CAAA,qFAAA,6DAAA,jOAACI,oIACQ,wBAAA,xBAACF","names":["uix.dev/init-fast-refresh!","example.core/refresh","uix.dev/refresh!","example.core/tools","re_frame.core.reg_sub","p__30475","map__30476","cljs.core/--destructure-map","cljs.core.get","example.core/tool-button","selected?","label","on-press","with-let30477","reagent.ratom/with-let-values","temp__5827__auto__","reagent.ratom/*ratom-context*","c__28922__auto__","reagent.debug/has-console","reagent.debug/tracking","reagent.debug/track-console","js/console","init30478","cljs.core/not","res30479","cljs.core/deref","a","reagent.core.atom","re_frame.core.subscribe","props__29459__auto__","clj-props__29460__auto__","uix.core/glue-args","vec__30483","map__30486","cljs.core.nth","f__29461__auto__","js/goog.DEBUG","temp__5823__auto__","example.core/toolbar","f__29390__auto__","*current-component*-orig-val__30491","uix.core/*current-component*","*current-component*-temp-val__30492","cljs.core/map?","js/Error","js/Object.defineProperty","obj30496","js/window","js/window.uix","js/window.uix.dev","sig__29399__auto__","js/window.uix.dev.signature!","js/window.uix.dev.register!","state","set-state","on-add-shape","map__30489","grid?","uix.compiler.aot/>el","cljs.core.map","t","reagent.core.as_element","cljs.core/name","G__30490","cljs.core.update","vec__30499","map__30502","example.core/canvas-grid30497","*current-component*-orig-val__30503","*current-component*-temp-val__30504","obj30508","uix.core.memo","example.core/canvas-grid","width","height","size","color","wn","Math/ceil","hn","uix.compiler.aot/fragment","uix.compiler.attributes/interpret-attrs","widx","cljs.core.range","uix.compiler.attributes/keyword->string","hidx","vec__30510","map__30513","example.core/cursor","*current-component*-orig-val__30516","*current-component*-temp-val__30517","obj30521","mx","my","r","vec__30523","map__30526","example.core/rect","*current-component*-orig-val__30530","*current-component*-temp-val__30531","obj30533","x","y","fill-color","stroke-width","stroke-color","children","on-mouse-down","on-mouse-up","vec__30536","map__30539","example.core/circle","*current-component*-orig-val__30540","*current-component*-temp-val__30541","obj30543","vec__30547","map__30550","example.core/text","*current-component*-orig-val__30552","*current-component*-temp-val__30553","obj30555","value","font-size","font-family","font-style","example.core/map-object","object","cljs.core/*","vec__30559","map__30562","example.core/objects-layer30558","p__30563","map__30565","*current-component*-orig-val__30569","*current-component*-temp-val__30570","obj30572","example.core/objects-layer","objects","on-select","id","idx","cljs.core.assoc","G__30566","cljs.core/Keyword","uix.compiler.alpha/component-element","uix.compiler.attributes/interpret-props","vec__30574","map__30577","example.core/edit-layer30573","*current-component*-orig-val__30586","*current-component*-temp-val__30587","obj30590","example.core/edit-layer","on-object-changed","selected","vec__30579","active?","set-active","uix.core/use-state","on-move","uix.hooks.alpha/use-callback","uix.hooks.alpha/use-clj-deps","G__30584","G__30585","uix.hooks.alpha.use_effect","vec__30596","map__30599","example.core/background-layer30593","*current-component*-orig-val__30601","*current-component*-temp-val__30602","obj30605","example.core/background-layer","vec__30610","map__30613","example.core/canvas","*current-component*-orig-val__30642","*current-component*-temp-val__30643","obj30647","on-object-select","map__30617","vec__30618","vec__30621","vec__30624","vec__30627","vec__30630","vec__30633","canvas","set-size","ox","oy","set-offset","set-mouse","ref","uix.core.use_ref","cljs.core/quot","G__30638","G__30640","js/screen","e","G__30641","example.core/default-styles","f__29457__auto__","example.core/app","*current-component*-orig-val__30663","*current-component*-temp-val__30664","obj30666","vec__30653","shape","cljs.core/random-uuid","G__30656","G__30657","cljs.core.merge","cljs.core.update_in","cljs.core/conj","G__30658","cljs.core/assoc-in","G__30659","G__30661","p1__30649#","js/example","js/example.core","js/example.core.-init","example.core/-init","root","uix.dom.create_root","js/document.getElementById","uix.dom/render-root","cljs-react-devtools.core/init!"],"sourcesContent":["(ns example.core\n (:require [cljs-react-devtools.core]\n [uix.core :as uix :refer [$ defui]]\n [uix.dom]\n [uix.dev]\n [reagent.core :as r]\n [re-frame.core :as rf]))\n\n\n;; dev setup\n(uix.dev/init-fast-refresh!)\n\n(defn ^:dev/after-load refresh []\n (uix.dev/refresh!))\n\n;; app code\n(def tools [:rect :circle :text])\n\n(rf/reg-sub :hello/workd\n (fn []\n :nothing))\n\n(defn tool-button [{:keys [selected? label on-press]}]\n (r/with-let [a (r/atom 1)]\n @(rf/subscribe [:hello/workd])\n [:div {:on-click on-press\n :style {:padding \"4px 8px\"\n :cursor :pointer\n :border-radius 3\n :color (when selected? \"#fff\")\n :background-color (when selected? \"#ff89da\")}}\n label]))\n\n(defui toolbar [{:keys [state set-state on-add-shape]}]\n (let [{:keys [grid?]} state]\n ($ :div {:style {:padding \"8px 16px\"\n :height 46\n :display :flex\n :align-items :center\n :background-color \"#fff\"\n :position :relative\n :box-shadow \"0 1px 1px rgba(0, 0, 10, 0.2)\"}}\n ($ :img {:src \"https://raw.githubusercontent.com/pitch-io/uix/master/logo.png\"\n :style {:height \"100%\"\n :margin \"0 16px 0 0\"}})\n (for [t tools]\n (r/as-element [tool-button {:key t :label (name t) :on-press #(on-add-shape t)}]))\n ($ :div {:style {:width 1 :height \"60%\" :background-color \"#c1cdd0\" :margin \"0 8px\"}})\n (r/as-element\n [tool-button {:label \"grid\"\n :selected? grid?\n :on-press #(set-state (update state :grid? not))}]))))\n\n(defui ^:memo canvas-grid [{:keys [width height size color]}]\n (let [wn (Math/ceil (/ width size))\n hn (Math/ceil (/ height size))]\n ($ :<>\n (for [widx (range wn)]\n ($ :line {:key widx\n :x1 (* size widx)\n :x2 (* size widx)\n :y1 0\n :y2 height\n :stroke color}))\n (for [hidx (range hn)]\n ($ :line {:key hidx\n :y1 (* size hidx)\n :y2 (* size hidx)\n :x1 0\n :x2 width\n :stroke color})))))\n\n(defui cursor [{:keys [mx my r color]}]\n (let [mx (+ mx (/ r 2))\n my (+ my (/ r 2))]\n ($ :circle {:cx (- mx (/ r 2)) :cy (- my (/ r 2)) :r r :fill color})))\n\n(defui rect [{:keys [x y width height fill-color stroke-width stroke-color\n children on-mouse-down on-mouse-up]}]\n ($ :rect\n {:on-mouse-down on-mouse-down\n :on-mouse-up on-mouse-up\n :width width\n :height height\n :x x\n :y y\n :fill fill-color\n :stroke-width stroke-width\n :stroke stroke-color}\n children))\n\n(defui circle [{:keys [x y width height fill-color stroke-width stroke-color on-mouse-down]}]\n ($ :ellipse\n {:on-mouse-down on-mouse-down\n :cx (+ x (/ width 2))\n :cy (+ y (/ height 2))\n :rx (/ width 2)\n :ry (/ height 2)\n :fill fill-color\n :stroke-width stroke-width\n :stroke stroke-color}))\n\n(defui text [{:keys [x y width height fill-color stroke-width stroke-color\n value font-size font-family font-style\n on-mouse-down]}]\n ($ :text\n {:on-mouse-down on-mouse-down\n :x x\n :y y\n :font-family font-family\n :font-size font-size\n :font-style font-style}\n value))\n\n(defn map-object [object size]\n (-> object\n (update :x * size)\n (update :y * size)\n (update :width * size)\n (update :height * size)))\n\n(defui ^:memo objects-layer [{:keys [objects size on-select]}]\n (for [{:keys [id] :as object} objects]\n (let [idx (.indexOf objects object)\n object (-> (map-object object size)\n (assoc :key id :on-mouse-down #(on-select idx)))]\n (case (:type object)\n :rect ($ rect object)\n :circle ($ circle object)\n :text ($ text object)))))\n\n(defui ^:memo edit-layer [{:keys [mx my on-object-changed on-select idx selected size]}]\n (let [[active? set-active] (uix/use-state false)\n selected? (some? selected)\n on-move (uix/use-callback\n (fn [x y]\n (on-object-changed idx (assoc selected :x x :y y)))\n [idx selected on-object-changed])]\n\n (uix/use-effect\n #(when active?\n (on-move mx my))\n [selected? active? mx my on-move])\n\n (uix/use-effect\n #(when selected?\n (set-active true))\n [selected?])\n\n (when selected\n ($ rect\n (-> (map-object selected size)\n (assoc\n :on-mouse-down #(set-active true)\n :on-mouse-up #(set-active false)\n :stroke-width 1\n :stroke-color \"#0000ff\"\n :fill-color :transparent))))))\n\n(defui ^:memo background-layer [{:keys [width height on-mouse-down]}]\n ($ rect\n {:on-mouse-down #(on-mouse-down)\n :x 0\n :y 0\n :width width\n :height height\n :fill-color :transparent\n :stroke-color :none}))\n\n(defui canvas [{:keys [state on-object-changed on-object-select]}]\n (let [{:keys [grid? canvas]} state\n [[width height] set-size] (uix/use-state [0 0])\n [[ox oy] set-offset] (uix/use-state [0 0])\n [[mx my] set-mouse] (uix/use-state [0 0])\n ref (uix/use-ref)\n size 8\n mx (quot (- mx ox) size)\n my (quot (- my oy) size)]\n (uix/use-effect\n (fn []\n (set-offset [(.-offsetLeft @ref) (.-offsetTop @ref)])\n (set-size [(.-width js/screen) (.-height js/screen)]))\n [])\n ($ :div {:ref ref\n :on-mouse-move (fn [^js e]\n (set-mouse [(.-clientX e) (.-clientY e)]))\n :style {:flex 1\n :position :relative\n :background-color \"#ebeff0\"}}\n ($ :svg {:style {:width width\n :height height\n :position :absolute\n :left 0\n :top 0}\n :view-box (str \"0 0 \" width \" \" height)}\n (when grid?\n ($ :<>\n ($ canvas-grid {:width width :height height :size size :color \"#c1cdd0\"})\n ($ cursor {:r 2\n :color \"#4f7f8b\"\n :mx (* size mx)\n :my (* size my)})))\n ($ background-layer\n {:width width\n :height height\n :on-mouse-down on-object-select})\n ($ objects-layer\n {:objects (:objects canvas)\n :size size\n :on-select on-object-select})\n ($ edit-layer\n {:size size\n :on-select on-object-select\n :on-object-changed on-object-changed\n :mx mx\n :my my\n :idx (:selected canvas)\n :selected (when (:selected canvas)\n (nth (:objects canvas) (:selected canvas)))})))))\n\n(def default-styles\n {:x 32\n :y 32\n :width 12\n :height 12\n :stroke-width 2\n :stroke-color \"#ff0000\"\n :fill-color \"#00ff00\"})\n\n(defui app []\n (let [[state set-state] (uix/use-state {:grid? true\n :canvas {:selected nil\n :objects []}})\n on-add-shape (fn [shape]\n (let [id (random-uuid)]\n (set-state\n (->> (case shape\n :rect (merge default-styles {:type :rect :id id})\n :circle (merge default-styles {:type :circle :id id})\n :text (merge default-styles {:type :text :id id\n :value \"text\" :font-family \"Inter\"\n :font-size 32 :font-style :normal}))\n (update-in state [:canvas :objects] conj)))))\n on-object-select (fn\n ([]\n (set-state (assoc-in state [:canvas :selected] nil)))\n ([idx]\n (set-state (assoc-in state [:canvas :selected] idx))))\n on-object-changed (uix/use-callback\n (fn [idx object]\n (set-state\n #(assoc-in % [:canvas :objects idx] object)))\n [])]\n ($ :div {:style {:font-family \"Inter\"\n :font-size 14\n :display :flex\n :flex-direction :column\n :width \"100vw\"\n :height \"100vh\"}}\n ($ toolbar {:state state :set-state set-state :on-add-shape on-add-shape})\n ($ canvas {:state state\n :on-object-select on-object-select\n :on-object-changed on-object-changed}))))\n\n;; init app\n(defonce -init\n (let [root (uix.dom/create-root (js/document.getElementById \"root\"))]\n (uix.dom/render-root ($ app) root)\n nil))\n\n(cljs-react-devtools.core/init!\n {:root (js/document.getElementById \"root\")\n :shortcut \"Control-Shift-Meta-R\"})\n"]} \ No newline at end of file diff --git a/out/cljs-runtime/goog.array.array.js b/out/cljs-runtime/goog.array.array.js new file mode 100644 index 0000000..ae82a03 --- /dev/null +++ b/out/cljs-runtime/goog.array.array.js @@ -0,0 +1,657 @@ +goog.loadModule(function(exports) { + function peek(array) { + return array[array.length - 1]; + } + function forEachRight(arr, f, opt_obj) { + const l = arr.length; + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = l - 1; i >= 0; --i) { + if (i in arr2) { + f.call(opt_obj, arr2[i], i, arr); + } + } + } + function count(arr, f, opt_obj) { + let count = 0; + forEach(arr, function(element, index, arr) { + if (f.call(opt_obj, element, index, arr)) { + ++count; + } + }, opt_obj); + return count; + } + function find(arr, f, opt_obj) { + const i = findIndex(arr, f, opt_obj); + return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i]; + } + function findIndex(arr, f, opt_obj) { + const l = arr.length; + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = 0; i < l; i++) { + if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) { + return i; + } + } + return -1; + } + function findRight(arr, f, opt_obj) { + const i = findIndexRight(arr, f, opt_obj); + return i < 0 ? null : typeof arr === "string" ? arr.charAt(i) : arr[i]; + } + function findIndexRight(arr, f, opt_obj) { + const l = arr.length; + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = l - 1; i >= 0; i--) { + if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) { + return i; + } + } + return -1; + } + function contains(arr, obj) { + return indexOf(arr, obj) >= 0; + } + function isEmpty(arr) { + return arr.length == 0; + } + function clear(arr) { + if (!Array.isArray(arr)) { + for (let i = arr.length - 1; i >= 0; i--) { + delete arr[i]; + } + } + arr.length = 0; + } + function insert(arr, obj) { + if (!contains(arr, obj)) { + arr.push(obj); + } + } + function insertAt(arr, obj, opt_i) { + splice(arr, opt_i, 0, obj); + } + function insertArrayAt(arr, elementsToAdd, opt_i) { + goog.partial(splice, arr, opt_i, 0).apply(null, elementsToAdd); + } + function insertBefore(arr, obj, opt_obj2) { + let i; + if (arguments.length == 2 || (i = indexOf(arr, opt_obj2)) < 0) { + arr.push(obj); + } else { + insertAt(arr, obj, i); + } + } + function remove(arr, obj) { + const i = indexOf(arr, obj); + let rv; + if (rv = i >= 0) { + removeAt(arr, i); + } + return rv; + } + function removeLast(arr, obj) { + const i = lastIndexOf(arr, obj); + if (i >= 0) { + removeAt(arr, i); + return true; + } + return false; + } + function removeAt(arr, i) { + asserts.assert(arr.length != null); + return Array.prototype.splice.call(arr, i, 1).length == 1; + } + function removeIf(arr, f, opt_obj) { + const i = findIndex(arr, f, opt_obj); + if (i >= 0) { + removeAt(arr, i); + return true; + } + return false; + } + function removeAllIf(arr, f, opt_obj) { + let removedCount = 0; + forEachRight(arr, function(val, index) { + if (f.call(opt_obj, val, index, arr)) { + if (removeAt(arr, index)) { + removedCount++; + } + } + }); + return removedCount; + } + function concat(var_args) { + return Array.prototype.concat.apply([], arguments); + } + function join(var_args) { + return Array.prototype.concat.apply([], arguments); + } + function toArray(object) { + const length = object.length; + if (length > 0) { + const rv = new Array(length); + for (let i = 0; i < length; i++) { + rv[i] = object[i]; + } + return rv; + } + return []; + } + function extend(arr1, var_args) { + for (let i = 1; i < arguments.length; i++) { + const arr2 = arguments[i]; + if (goog.isArrayLike(arr2)) { + const len1 = arr1.length || 0; + const len2 = arr2.length || 0; + arr1.length = len1 + len2; + for (let j = 0; j < len2; j++) { + arr1[len1 + j] = arr2[j]; + } + } else { + arr1.push(arr2); + } + } + } + function splice(arr, index, howMany, var_args) { + asserts.assert(arr.length != null); + return Array.prototype.splice.apply(arr, slice(arguments, 1)); + } + function slice(arr, start, opt_end) { + asserts.assert(arr.length != null); + if (arguments.length <= 2) { + return Array.prototype.slice.call(arr, start); + } else { + return Array.prototype.slice.call(arr, start, opt_end); + } + } + function removeDuplicates(arr, opt_rv, opt_hashFn) { + const returnArray = opt_rv || arr; + const defaultHashFn = function(item) { + return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item; + }; + const hashFn = opt_hashFn || defaultHashFn; + let cursorInsert = 0; + let cursorRead = 0; + const seen = {}; + for (; cursorRead < arr.length;) { + const current = arr[cursorRead++]; + const key = hashFn(current); + if (!Object.prototype.hasOwnProperty.call(seen, key)) { + seen[key] = true; + returnArray[cursorInsert++] = current; + } + } + returnArray.length = cursorInsert; + } + function binarySearch(arr, target, opt_compareFn) { + return binarySearch_(arr, opt_compareFn || defaultCompare, false, target); + } + function binarySelect(arr, evaluator, opt_obj) { + return binarySearch_(arr, evaluator, true, undefined, opt_obj); + } + function binarySearch_(arr, compareFn, isEvaluator, opt_target, opt_selfObj) { + let left = 0; + let right = arr.length; + let found; + for (; left < right;) { + const middle = left + (right - left >>> 1); + let compareResult; + if (isEvaluator) { + compareResult = compareFn.call(opt_selfObj, arr[middle], middle, arr); + } else { + compareResult = compareFn(opt_target, arr[middle]); + } + if (compareResult > 0) { + left = middle + 1; + } else { + right = middle; + found = !compareResult; + } + } + return found ? left : -left - 1; + } + function sort(arr, opt_compareFn) { + arr.sort(opt_compareFn || defaultCompare); + } + function stableSort(arr, opt_compareFn) { + function stableCompareFn(obj1, obj2) { + return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index; + } + const compArr = new Array(arr.length); + for (let i = 0; i < arr.length; i++) { + compArr[i] = {index:i, value:arr[i]}; + } + const valueCompareFn = opt_compareFn || defaultCompare; + sort(compArr, stableCompareFn); + for (let i = 0; i < arr.length; i++) { + arr[i] = compArr[i].value; + } + } + function sortByKey(arr, keyFn, opt_compareFn) { + const keyCompareFn = opt_compareFn || defaultCompare; + sort(arr, function(a, b) { + return keyCompareFn(keyFn(a), keyFn(b)); + }); + } + function sortObjectsByKey(arr, key, opt_compareFn) { + sortByKey(arr, function(obj) { + return obj[key]; + }, opt_compareFn); + } + function isSorted(arr, opt_compareFn, opt_strict) { + const compare = opt_compareFn || defaultCompare; + for (let i = 1; i < arr.length; i++) { + const compareResult = compare(arr[i - 1], arr[i]); + if (compareResult > 0 || compareResult == 0 && opt_strict) { + return false; + } + } + return true; + } + function equals(arr1, arr2, opt_equalsFn) { + if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) || arr1.length != arr2.length) { + return false; + } + const l = arr1.length; + const equalsFn = opt_equalsFn || defaultCompareEquality; + for (let i = 0; i < l; i++) { + if (!equalsFn(arr1[i], arr2[i])) { + return false; + } + } + return true; + } + function compare3(arr1, arr2, opt_compareFn) { + const compare = opt_compareFn || defaultCompare; + const l = Math.min(arr1.length, arr2.length); + for (let i = 0; i < l; i++) { + const result = compare(arr1[i], arr2[i]); + if (result != 0) { + return result; + } + } + return defaultCompare(arr1.length, arr2.length); + } + function defaultCompare(a, b) { + return a > b ? 1 : a < b ? -1 : 0; + } + function inverseDefaultCompare(a, b) { + return -defaultCompare(a, b); + } + function defaultCompareEquality(a, b) { + return a === b; + } + function binaryInsert(array, value, opt_compareFn) { + const index = binarySearch(array, value, opt_compareFn); + if (index < 0) { + insertAt(array, value, -(index + 1)); + return true; + } + return false; + } + function binaryRemove(array, value, opt_compareFn) { + const index = binarySearch(array, value, opt_compareFn); + return index >= 0 ? removeAt(array, index) : false; + } + function bucket(array, sorter, opt_obj) { + const buckets = {}; + for (let i = 0; i < array.length; i++) { + const value = array[i]; + const key = sorter.call(opt_obj, value, i, array); + if (key !== undefined) { + const bucket = buckets[key] || (buckets[key] = []); + bucket.push(value); + } + } + return buckets; + } + function bucketToMap(array, sorter) { + const buckets = new Map(); + for (let i = 0; i < array.length; i++) { + const value = array[i]; + const key = sorter(value, i, array); + if (key !== undefined) { + let bucket = buckets.get(key); + if (!bucket) { + bucket = []; + buckets.set(key, bucket); + } + bucket.push(value); + } + } + return buckets; + } + function toObject(arr, keyFunc, opt_obj) { + const ret = {}; + forEach(arr, function(element, index) { + ret[keyFunc.call(opt_obj, element, index, arr)] = element; + }); + return ret; + } + function toMap(arr, keyFunc) { + const map = new Map(); + for (let i = 0; i < arr.length; i++) { + const element = arr[i]; + map.set(keyFunc(element, i, arr), element); + } + return map; + } + function range(startOrEnd, opt_end, opt_step) { + const array = []; + let start = 0; + let end = startOrEnd; + const step = opt_step || 1; + if (opt_end !== undefined) { + start = startOrEnd; + end = opt_end; + } + if (step * (end - start) < 0) { + return []; + } + if (step > 0) { + for (let i = start; i < end; i = i + step) { + array.push(i); + } + } else { + for (let i = start; i > end; i = i + step) { + array.push(i); + } + } + return array; + } + function repeat(value, n) { + const array = []; + for (let i = 0; i < n; i++) { + array[i] = value; + } + return array; + } + function flatten(var_args) { + const CHUNK_SIZE = 8192; + const result = []; + for (let i = 0; i < arguments.length; i++) { + const element = arguments[i]; + if (Array.isArray(element)) { + for (let c = 0; c < element.length; c = c + CHUNK_SIZE) { + const chunk = slice(element, c, c + CHUNK_SIZE); + const recurseResult = flatten.apply(null, chunk); + for (let r = 0; r < recurseResult.length; r++) { + result.push(recurseResult[r]); + } + } + } else { + result.push(element); + } + } + return result; + } + function rotate(array, n) { + asserts.assert(array.length != null); + if (array.length) { + n = n % array.length; + if (n > 0) { + Array.prototype.unshift.apply(array, array.splice(-n, n)); + } else if (n < 0) { + Array.prototype.push.apply(array, array.splice(0, -n)); + } + } + return array; + } + function moveItem(arr, fromIndex, toIndex) { + asserts.assert(fromIndex >= 0 && fromIndex < arr.length); + asserts.assert(toIndex >= 0 && toIndex < arr.length); + const removedItems = Array.prototype.splice.call(arr, fromIndex, 1); + Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]); + } + function zip(var_args) { + if (!arguments.length) { + return []; + } + const result = []; + let minLen = arguments[0].length; + for (let i = 1; i < arguments.length; i++) { + if (arguments[i].length < minLen) { + minLen = arguments[i].length; + } + } + for (let i = 0; i < minLen; i++) { + const value = []; + for (let j = 0; j < arguments.length; j++) { + value.push(arguments[j][i]); + } + result.push(value); + } + return result; + } + function shuffle(arr, opt_randFn) { + const randFn = opt_randFn || Math.random; + for (let i = arr.length - 1; i > 0; i--) { + const j = Math.floor(randFn() * (i + 1)); + const tmp = arr[i]; + arr[i] = arr[j]; + arr[j] = tmp; + } + } + function copyByIndex(arr, index_arr) { + const result = []; + forEach(index_arr, function(index) { + result.push(arr[index]); + }); + return result; + } + function concatMap(arr, f, opt_obj) { + return concat.apply([], map(arr, f, opt_obj)); + } + "use strict"; + goog.module("goog.array"); + goog.module.declareLegacyNamespace(); + const asserts = goog.require("goog.asserts"); + goog.NATIVE_ARRAY_PROTOTYPES = goog.define("goog.NATIVE_ARRAY_PROTOTYPES", goog.TRUSTED_SITE); + const ASSUME_NATIVE_FUNCTIONS = goog.define("goog.array.ASSUME_NATIVE_FUNCTIONS", goog.FEATURESET_YEAR > 2012); + exports.ASSUME_NATIVE_FUNCTIONS = ASSUME_NATIVE_FUNCTIONS; + exports.peek = peek; + exports.last = peek; + const indexOf = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.indexOf) ? function(arr, obj, opt_fromIndex) { + asserts.assert(arr.length != null); + return Array.prototype.indexOf.call(arr, obj, opt_fromIndex); + } : function(arr, obj, opt_fromIndex) { + const fromIndex = opt_fromIndex == null ? 0 : opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) : opt_fromIndex; + if (typeof arr === "string") { + if (typeof obj !== "string" || obj.length != 1) { + return -1; + } + return arr.indexOf(obj, fromIndex); + } + for (let i = fromIndex; i < arr.length; i++) { + if (i in arr && arr[i] === obj) { + return i; + } + } + return -1; + }; + exports.indexOf = indexOf; + const lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ? function(arr, obj, opt_fromIndex) { + asserts.assert(arr.length != null); + const fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex; + return Array.prototype.lastIndexOf.call(arr, obj, fromIndex); + } : function(arr, obj, opt_fromIndex) { + let fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex; + if (fromIndex < 0) { + fromIndex = Math.max(0, arr.length + fromIndex); + } + if (typeof arr === "string") { + if (typeof obj !== "string" || obj.length != 1) { + return -1; + } + return arr.lastIndexOf(obj, fromIndex); + } + for (let i = fromIndex; i >= 0; i--) { + if (i in arr && arr[i] === obj) { + return i; + } + } + return -1; + }; + exports.lastIndexOf = lastIndexOf; + const forEach = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ? function(arr, f, opt_obj) { + asserts.assert(arr.length != null); + Array.prototype.forEach.call(arr, f, opt_obj); + } : function(arr, f, opt_obj) { + const l = arr.length; + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = 0; i < l; i++) { + if (i in arr2) { + f.call(opt_obj, arr2[i], i, arr); + } + } + }; + exports.forEach = forEach; + exports.forEachRight = forEachRight; + const filter = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ? function(arr, f, opt_obj) { + asserts.assert(arr.length != null); + return Array.prototype.filter.call(arr, f, opt_obj); + } : function(arr, f, opt_obj) { + const l = arr.length; + const res = []; + let resLength = 0; + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = 0; i < l; i++) { + if (i in arr2) { + const val = arr2[i]; + if (f.call(opt_obj, val, i, arr)) { + res[resLength++] = val; + } + } + } + return res; + }; + exports.filter = filter; + const map = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ? function(arr, f, opt_obj) { + asserts.assert(arr.length != null); + return Array.prototype.map.call(arr, f, opt_obj); + } : function(arr, f, opt_obj) { + const l = arr.length; + const res = new Array(l); + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = 0; i < l; i++) { + if (i in arr2) { + res[i] = f.call(opt_obj, arr2[i], i, arr); + } + } + return res; + }; + exports.map = map; + const reduce = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? function(arr, f, val, opt_obj) { + asserts.assert(arr.length != null); + if (opt_obj) { + f = goog.bind(f, opt_obj); + } + return Array.prototype.reduce.call(arr, f, val); + } : function(arr, f, val, opt_obj) { + let rval = val; + forEach(arr, function(val, index) { + rval = f.call(opt_obj, rval, val, index, arr); + }); + return rval; + }; + exports.reduce = reduce; + const reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? function(arr, f, val, opt_obj) { + asserts.assert(arr.length != null); + asserts.assert(f != null); + if (opt_obj) { + f = goog.bind(f, opt_obj); + } + return Array.prototype.reduceRight.call(arr, f, val); + } : function(arr, f, val, opt_obj) { + let rval = val; + forEachRight(arr, function(val, index) { + rval = f.call(opt_obj, rval, val, index, arr); + }); + return rval; + }; + exports.reduceRight = reduceRight; + const some = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ? function(arr, f, opt_obj) { + asserts.assert(arr.length != null); + return Array.prototype.some.call(arr, f, opt_obj); + } : function(arr, f, opt_obj) { + const l = arr.length; + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = 0; i < l; i++) { + if (i in arr2 && f.call(opt_obj, arr2[i], i, arr)) { + return true; + } + } + return false; + }; + exports.some = some; + const every = goog.NATIVE_ARRAY_PROTOTYPES && (ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ? function(arr, f, opt_obj) { + asserts.assert(arr.length != null); + return Array.prototype.every.call(arr, f, opt_obj); + } : function(arr, f, opt_obj) { + const l = arr.length; + const arr2 = typeof arr === "string" ? arr.split("") : arr; + for (let i = 0; i < l; i++) { + if (i in arr2 && !f.call(opt_obj, arr2[i], i, arr)) { + return false; + } + } + return true; + }; + exports.every = every; + exports.count = count; + exports.find = find; + exports.findIndex = findIndex; + exports.findRight = findRight; + exports.findIndexRight = findIndexRight; + exports.contains = contains; + exports.isEmpty = isEmpty; + exports.clear = clear; + exports.insert = insert; + exports.insertAt = insertAt; + exports.insertArrayAt = insertArrayAt; + exports.insertBefore = insertBefore; + exports.remove = remove; + exports.removeLast = removeLast; + exports.removeAt = removeAt; + exports.removeIf = removeIf; + exports.removeAllIf = removeAllIf; + exports.concat = concat; + exports.join = join; + exports.toArray = toArray; + const clone = toArray; + exports.clone = clone; + exports.extend = extend; + exports.splice = splice; + exports.slice = slice; + exports.removeDuplicates = removeDuplicates; + exports.binarySearch = binarySearch; + exports.binarySelect = binarySelect; + exports.sort = sort; + exports.stableSort = stableSort; + exports.sortByKey = sortByKey; + exports.sortObjectsByKey = sortObjectsByKey; + exports.isSorted = isSorted; + exports.equals = equals; + exports.compare3 = compare3; + exports.defaultCompare = defaultCompare; + exports.inverseDefaultCompare = inverseDefaultCompare; + exports.defaultCompareEquality = defaultCompareEquality; + exports.binaryInsert = binaryInsert; + exports.binaryRemove = binaryRemove; + exports.bucket = bucket; + exports.bucketToMap = bucketToMap; + exports.toObject = toObject; + exports.toMap = toMap; + exports.range = range; + exports.repeat = repeat; + exports.flatten = flatten; + exports.rotate = rotate; + exports.moveItem = moveItem; + exports.zip = zip; + exports.shuffle = shuffle; + exports.copyByIndex = copyByIndex; + exports.concatMap = concatMap; + return exports; +}); + +//# sourceMappingURL=goog.array.array.js.map diff --git a/out/cljs-runtime/goog.array.array.js.map b/out/cljs-runtime/goog.array.array.js.map new file mode 100644 index 0000000..4deebcf --- /dev/null +++ b/out/cljs-runtime/goog.array.array.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"goog.array.array.js", +"lineCount":656, +"mappings":"AAAA,IAAA,CAAA,UAAA,CAAA,QAAA,CAAA,OAAA,CAAA;AAqDAA,UAASA,KAAI,CAACC,KAAD,CAAQ;AACnB,WAAOA,KAAA,CAAMA,KAAMC,CAAAA,MAAZ,GAAqB,CAArB,CAAP;AADmB;AA2JrBC,UAASA,aAAY,CAACC,GAAD,EAAMC,CAAN,EAASC,OAAT,CAAkB;AACrC,UAAMC,IAAIH,GAAIF,CAAAA,MAAd;AACA,UAAMM,OAAQ,MAAOJ,IAAR,KAAgB,QAAhB,GAA4BA,GAAIK,CAAAA,KAAJ,CAAU,EAAV,CAA5B,GAA4CL,GAAzD;AACA,SAAK,IAAIM,IAAIH,CAAJG,GAAQ,CAAjB,EAAoBA,CAApB,IAAyB,CAAzB,EAA4B,EAAEA,CAA9B;AACE,UAAIA,CAAJ,IAASF,IAAT;AACEH,SAAEM,CAAAA,IAAF,CAAyBL,OAAzB,EAAmCE,IAAA,CAAKE,CAAL,CAAnC,EAA4CA,CAA5C,EAA+CN,GAA/C,CAAA;AADF;AADF;AAHqC;AA+QvCQ,UAASA,MAAK,CAACR,GAAD,EAAMC,CAAN,EAASC,OAAT,CAAkB;AAC9B,QAAIM,QAAQ,CAAZ;AACAC,WAAA,CAAQT,GAAR,EAAa,QAAQ,CAACU,OAAD,EAAUC,KAAV,EAAiBX,GAAjB,CAAsB;AACzC,UAAIC,CAAEM,CAAAA,IAAF,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xC,CAAAA,KAAR,GAAgBA,KAAhB;AAiDAwC,SAAQtC,CAAAA,KAAR,GAAgBA,KAAhB;AAkBAsC,SAAQjC,CAAAA,MAAR,GAAiBA,MAAjB;AA8BAiC,SAAQ/B,CAAAA,OAAR,GAAkBA,OAAlB;AA8BA+B,SAAQzB,CAAAA,MAAR,GAAiBA,MAAjB;AAuBAyB,SAAQvB,CAAAA,QAAR,GAAmBA,QAAnB;AAoCAuB,SAAQnB,CAAAA,GAAR,GAAcA,GAAd;AA6BAmB,SAAQjB,CAAAA,OAAR,GAAkBA,OAAlB;AAoBAiB,SAAQX,CAAAA,WAAR,GAAsBA,WAAtB;AAqBAW,SAAQT,CAAAA,SAAR,GAAoBA,SAApB;AArvDA,SAAA,OAAA;AAAA,CAAA,CAAA;;", +"sources":["goog/array/array.js"], +"sourcesContent":["/**\n * @license\n * Copyright The Closure Library Authors.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @fileoverview Utilities for manipulating arrays.\n */\n\n\ngoog.module('goog.array');\ngoog.module.declareLegacyNamespace();\n\nconst asserts = goog.require('goog.asserts');\n\n\n/**\n * @define {boolean} NATIVE_ARRAY_PROTOTYPES indicates whether the code should\n * rely on Array.prototype functions, if available.\n *\n * The Array.prototype functions can be defined by external libraries like\n * Prototype and setting this flag to false forces closure to use its own\n * goog.array implementation.\n *\n * If your javascript can be loaded by a third party site and you are wary about\n * relying on the prototype functions, specify\n * \"--define goog.NATIVE_ARRAY_PROTOTYPES=false\" to the JSCompiler.\n *\n * Setting goog.TRUSTED_SITE to false will automatically set\n * NATIVE_ARRAY_PROTOTYPES to false.\n */\ngoog.NATIVE_ARRAY_PROTOTYPES =\n goog.define('goog.NATIVE_ARRAY_PROTOTYPES', goog.TRUSTED_SITE);\n\n\n/**\n * @define {boolean} If true, JSCompiler will use the native implementation of\n * array functions where appropriate (e.g., `Array#filter`) and remove the\n * unused pure JS implementation.\n */\nconst ASSUME_NATIVE_FUNCTIONS = goog.define(\n 'goog.array.ASSUME_NATIVE_FUNCTIONS', goog.FEATURESET_YEAR > 2012);\nexports.ASSUME_NATIVE_FUNCTIONS = ASSUME_NATIVE_FUNCTIONS;\n\n\n/**\n * Returns the last element in an array without removing it.\n * Same as {@link goog.array.last}.\n * @param {IArrayLike|string} array The array.\n * @return {T} Last item in array.\n * @template T\n */\nfunction peek(array) {\n return array[array.length - 1];\n}\nexports.peek = peek;\n\n\n/**\n * Returns the last element in an array without removing it.\n * Same as {@link goog.array.peek}.\n * @param {IArrayLike|string} array The array.\n * @return {T} Last item in array.\n * @template T\n */\nexports.last = peek;\n\n// NOTE(arv): Since most of the array functions are generic it allows you to\n// pass an array-like object. Strings have a length and are considered array-\n// like. However, the 'in' operator does not work on strings so we cannot just\n// use the array path even if the browser supports indexing into strings. We\n// therefore end up splitting the string.\n\n\n/**\n * Returns the index of the first element of an array with a specified value, or\n * -1 if the element is not present in the array.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-indexof}\n *\n * @param {IArrayLike|string} arr The array to be searched.\n * @param {T} obj The object for which we are searching.\n * @param {number=} opt_fromIndex The index at which to start the search. If\n * omitted the search starts at index 0.\n * @return {number} The index of the first matching array element.\n * @template T\n */\nconst indexOf = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.indexOf) ?\n function(arr, obj, opt_fromIndex) {\n asserts.assert(arr.length != null);\n\n return Array.prototype.indexOf.call(arr, obj, opt_fromIndex);\n } :\n function(arr, obj, opt_fromIndex) {\n const fromIndex = opt_fromIndex == null ?\n 0 :\n (opt_fromIndex < 0 ? Math.max(0, arr.length + opt_fromIndex) :\n opt_fromIndex);\n\n if (typeof arr === 'string') {\n // Array.prototype.indexOf uses === so only strings should be found.\n if (typeof obj !== 'string' || obj.length != 1) {\n return -1;\n }\n return arr.indexOf(obj, fromIndex);\n }\n\n for (let i = fromIndex; i < arr.length; i++) {\n if (i in arr && arr[i] === obj) return i;\n }\n return -1;\n };\nexports.indexOf = indexOf;\n\n\n/**\n * Returns the index of the last element of an array with a specified value, or\n * -1 if the element is not present in the array.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-lastindexof}\n *\n * @param {!IArrayLike|string} arr The array to be searched.\n * @param {T} obj The object for which we are searching.\n * @param {?number=} opt_fromIndex The index at which to start the search. If\n * omitted the search starts at the end of the array.\n * @return {number} The index of the last matching array element.\n * @template T\n */\nconst lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ?\n function(arr, obj, opt_fromIndex) {\n asserts.assert(arr.length != null);\n\n // Firefox treats undefined and null as 0 in the fromIndex argument which\n // leads it to always return -1\n const fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex;\n return Array.prototype.lastIndexOf.call(arr, obj, fromIndex);\n } :\n function(arr, obj, opt_fromIndex) {\n let fromIndex = opt_fromIndex == null ? arr.length - 1 : opt_fromIndex;\n\n if (fromIndex < 0) {\n fromIndex = Math.max(0, arr.length + fromIndex);\n }\n\n if (typeof arr === 'string') {\n // Array.prototype.lastIndexOf uses === so only strings should be found.\n if (typeof obj !== 'string' || obj.length != 1) {\n return -1;\n }\n return arr.lastIndexOf(obj, fromIndex);\n }\n\n for (let i = fromIndex; i >= 0; i--) {\n if (i in arr && arr[i] === obj) return i;\n }\n return -1;\n };\nexports.lastIndexOf = lastIndexOf;\n\n\n/**\n * Calls a function for each element in an array. Skips holes in the array.\n * See {@link http://tinyurl.com/developer-mozilla-org-array-foreach}\n *\n * @param {IArrayLike|string} arr Array or array like object over\n * which to iterate.\n * @param {?function(this: S, T, number, ?): ?} f The function to call for every\n * element. This function takes 3 arguments (the element, the index and the\n * array). The return value is ignored.\n * @param {S=} opt_obj The object to be used as the value of 'this' within f.\n * @template T,S\n */\nconst forEach = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ?\n function(arr, f, opt_obj) {\n asserts.assert(arr.length != null);\n\n Array.prototype.forEach.call(arr, f, opt_obj);\n } :\n function(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = 0; i < l; i++) {\n if (i in arr2) {\n f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr);\n }\n }\n };\nexports.forEach = forEach;\n\n\n/**\n * Calls a function for each element in an array, starting from the last\n * element rather than the first.\n *\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this: S, T, number, ?): ?} f The function to call for every\n * element. This function\n * takes 3 arguments (the element, the index and the array). The return\n * value is ignored.\n * @param {S=} opt_obj The object to be used as the value of 'this'\n * within f.\n * @template T,S\n */\nfunction forEachRight(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = l - 1; i >= 0; --i) {\n if (i in arr2) {\n f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr);\n }\n }\n}\nexports.forEachRight = forEachRight;\n\n\n/**\n * Calls a function for each element in an array, and if the function returns\n * true adds the element to a new array.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-filter}\n *\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?):boolean} f The function to call for\n * every element. This function\n * takes 3 arguments (the element, the index and the array) and must\n * return a Boolean. If the return value is true the element is added to the\n * result array. If it is false the element is not included.\n * @param {S=} opt_obj The object to be used as the value of 'this'\n * within f.\n * @return {!Array} a new array in which only elements that passed the test\n * are present.\n * @template T,S\n */\nconst filter = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ?\n function(arr, f, opt_obj) {\n asserts.assert(arr.length != null);\n\n return Array.prototype.filter.call(arr, f, opt_obj);\n } :\n function(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const res = [];\n let resLength = 0;\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = 0; i < l; i++) {\n if (i in arr2) {\n const val = arr2[i]; // in case f mutates arr2\n if (f.call(/** @type {?} */ (opt_obj), val, i, arr)) {\n res[resLength++] = val;\n }\n }\n }\n return res;\n };\nexports.filter = filter;\n\n\n/**\n * Calls a function for each element in an array and inserts the result into a\n * new array.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-map}\n *\n * @param {IArrayLike|string} arr Array or array like object\n * over which to iterate.\n * @param {function(this:THIS, VALUE, number, ?): RESULT} f The function to call\n * for every element. This function takes 3 arguments (the element,\n * the index and the array) and should return something. The result will be\n * inserted into a new array.\n * @param {THIS=} opt_obj The object to be used as the value of 'this' within f.\n * @return {!Array} a new array with the results from f.\n * @template THIS, VALUE, RESULT\n */\nconst map = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ?\n function(arr, f, opt_obj) {\n asserts.assert(arr.length != null);\n\n return Array.prototype.map.call(arr, f, opt_obj);\n } :\n function(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const res = new Array(l);\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = 0; i < l; i++) {\n if (i in arr2) {\n res[i] = f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr);\n }\n }\n return res;\n };\nexports.map = map;\n\n\n/**\n * Passes every element of an array into a function and accumulates the result.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-reduce}\n * Note that this implementation differs from the native Array.prototype.reduce\n * in that the initial value is assumed to be defined (the MDN docs linked above\n * recommend not omitting this parameter, although it is technically optional).\n *\n * For example:\n * var a = [1, 2, 3, 4];\n * reduce(a, function(r, v, i, arr) {return r + v;}, 0);\n * returns 10\n *\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {function(this:S, R, T, number, ?) : R} f The function to call for\n * every element. This function\n * takes 4 arguments (the function's previous result or the initial value,\n * the value of the current array element, the current array index, and the\n * array itself)\n * function(previousValue, currentValue, index, array).\n * @param {?} val The initial value to pass into the function on the first call.\n * @param {S=} opt_obj The object to be used as the value of 'this'\n * within f.\n * @return {R} Result of evaluating f repeatedly across the values of the array.\n * @template T,S,R\n */\nconst reduce = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ?\n function(arr, f, val, opt_obj) {\n asserts.assert(arr.length != null);\n if (opt_obj) {\n f = goog.bind(f, opt_obj);\n }\n return Array.prototype.reduce.call(arr, f, val);\n } :\n function(arr, f, val, opt_obj) {\n let rval = val;\n forEach(arr, function(val, index) {\n rval = f.call(/** @type {?} */ (opt_obj), rval, val, index, arr);\n });\n return rval;\n };\nexports.reduce = reduce;\n\n\n/**\n * Passes every element of an array into a function and accumulates the result,\n * starting from the last element and working towards the first.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-reduceright}\n *\n * For example:\n * var a = ['a', 'b', 'c'];\n * reduceRight(a, function(r, v, i, arr) {return r + v;}, '');\n * returns 'cba'\n *\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, R, T, number, ?) : R} f The function to call for\n * every element. This function\n * takes 4 arguments (the function's previous result or the initial value,\n * the value of the current array element, the current array index, and the\n * array itself)\n * function(previousValue, currentValue, index, array).\n * @param {?} val The initial value to pass into the function on the first call.\n * @param {S=} opt_obj The object to be used as the value of 'this'\n * within f.\n * @return {R} Object returned as a result of evaluating f repeatedly across the\n * values of the array.\n * @template T,S,R\n */\nconst reduceRight = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ?\n function(arr, f, val, opt_obj) {\n asserts.assert(arr.length != null);\n asserts.assert(f != null);\n if (opt_obj) {\n f = goog.bind(f, opt_obj);\n }\n return Array.prototype.reduceRight.call(arr, f, val);\n } :\n function(arr, f, val, opt_obj) {\n let rval = val;\n forEachRight(arr, function(val, index) {\n rval = f.call(/** @type {?} */ (opt_obj), rval, val, index, arr);\n });\n return rval;\n };\nexports.reduceRight = reduceRight;\n\n\n/**\n * Calls f for each element of an array. If any call returns true, some()\n * returns true (without checking the remaining elements). If all calls\n * return false, some() returns false.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-some}\n *\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call for\n * for every element. This function takes 3 arguments (the element, the\n * index and the array) and should return a boolean.\n * @param {S=} opt_obj The object to be used as the value of 'this'\n * within f.\n * @return {boolean} true if any element passes the test.\n * @template T,S\n */\nconst some = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ?\n function(arr, f, opt_obj) {\n asserts.assert(arr.length != null);\n\n return Array.prototype.some.call(arr, f, opt_obj);\n } :\n function(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = 0; i < l; i++) {\n if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) {\n return true;\n }\n }\n return false;\n };\nexports.some = some;\n\n\n/**\n * Call f for each element of an array. If all calls return true, every()\n * returns true. If any call returns false, every() returns false and\n * does not continue to check the remaining elements.\n *\n * See {@link http://tinyurl.com/developer-mozilla-org-array-every}\n *\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call for\n * for every element. This function takes 3 arguments (the element, the\n * index and the array) and should return a boolean.\n * @param {S=} opt_obj The object to be used as the value of 'this'\n * within f.\n * @return {boolean} false if any element fails the test.\n * @template T,S\n */\nconst every = goog.NATIVE_ARRAY_PROTOTYPES &&\n (ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ?\n function(arr, f, opt_obj) {\n asserts.assert(arr.length != null);\n\n return Array.prototype.every.call(arr, f, opt_obj);\n } :\n function(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = 0; i < l; i++) {\n if (i in arr2 && !f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) {\n return false;\n }\n }\n return true;\n };\nexports.every = every;\n\n\n/**\n * Counts the array elements that fulfill the predicate, i.e. for which the\n * callback function returns true. Skips holes in the array.\n *\n * @param {!IArrayLike|string} arr Array or array like object\n * over which to iterate.\n * @param {function(this: S, T, number, ?): boolean} f The function to call for\n * every element. Takes 3 arguments (the element, the index and the array).\n * @param {S=} opt_obj The object to be used as the value of 'this' within f.\n * @return {number} The number of the matching elements.\n * @template T,S\n */\nfunction count(arr, f, opt_obj) {\n let count = 0;\n forEach(arr, function(element, index, arr) {\n if (f.call(/** @type {?} */ (opt_obj), element, index, arr)) {\n ++count;\n }\n }, opt_obj);\n return count;\n}\nexports.count = count;\n\n\n/**\n * Search an array for the first element that satisfies a given condition and\n * return that element.\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call\n * for every element. This function takes 3 arguments (the element, the\n * index and the array) and should return a boolean.\n * @param {S=} opt_obj An optional \"this\" context for the function.\n * @return {T|null} The first array element that passes the test, or null if no\n * element is found.\n * @template T,S\n */\nfunction find(arr, f, opt_obj) {\n const i = findIndex(arr, f, opt_obj);\n return i < 0 ? null : typeof arr === 'string' ? arr.charAt(i) : arr[i];\n}\nexports.find = find;\n\n\n/**\n * Search an array for the first element that satisfies a given condition and\n * return its index.\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call for\n * every element. This function\n * takes 3 arguments (the element, the index and the array) and should\n * return a boolean.\n * @param {S=} opt_obj An optional \"this\" context for the function.\n * @return {number} The index of the first array element that passes the test,\n * or -1 if no element is found.\n * @template T,S\n */\nfunction findIndex(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = 0; i < l; i++) {\n if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) {\n return i;\n }\n }\n return -1;\n}\nexports.findIndex = findIndex;\n\n\n/**\n * Search an array (in reverse order) for the last element that satisfies a\n * given condition and return that element.\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call\n * for every element. This function\n * takes 3 arguments (the element, the index and the array) and should\n * return a boolean.\n * @param {S=} opt_obj An optional \"this\" context for the function.\n * @return {T|null} The last array element that passes the test, or null if no\n * element is found.\n * @template T,S\n */\nfunction findRight(arr, f, opt_obj) {\n const i = findIndexRight(arr, f, opt_obj);\n return i < 0 ? null : typeof arr === 'string' ? arr.charAt(i) : arr[i];\n}\nexports.findRight = findRight;\n\n\n/**\n * Search an array (in reverse order) for the last element that satisfies a\n * given condition and return its index.\n * @param {IArrayLike|string} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call\n * for every element. This function\n * takes 3 arguments (the element, the index and the array) and should\n * return a boolean.\n * @param {S=} opt_obj An optional \"this\" context for the function.\n * @return {number} The index of the last array element that passes the test,\n * or -1 if no element is found.\n * @template T,S\n */\nfunction findIndexRight(arr, f, opt_obj) {\n const l = arr.length; // must be fixed during loop... see docs\n const arr2 = (typeof arr === 'string') ? arr.split('') : arr;\n for (let i = l - 1; i >= 0; i--) {\n if (i in arr2 && f.call(/** @type {?} */ (opt_obj), arr2[i], i, arr)) {\n return i;\n }\n }\n return -1;\n}\nexports.findIndexRight = findIndexRight;\n\n\n/**\n * Whether the array contains the given object.\n * @param {IArrayLike|string} arr The array to test for the presence of the\n * element.\n * @param {*} obj The object for which to test.\n * @return {boolean} true if obj is present.\n */\nfunction contains(arr, obj) {\n return indexOf(arr, obj) >= 0;\n}\nexports.contains = contains;\n\n\n/**\n * Whether the array is empty.\n * @param {IArrayLike|string} arr The array to test.\n * @return {boolean} true if empty.\n */\nfunction isEmpty(arr) {\n return arr.length == 0;\n}\nexports.isEmpty = isEmpty;\n\n\n/**\n * Clears the array.\n * @param {IArrayLike} arr Array or array like object to clear.\n */\nfunction clear(arr) {\n // For non real arrays we don't have the magic length so we delete the\n // indices.\n if (!Array.isArray(arr)) {\n for (let i = arr.length - 1; i >= 0; i--) {\n delete arr[i];\n }\n }\n arr.length = 0;\n}\nexports.clear = clear;\n\n\n/**\n * Pushes an item into an array, if it's not already in the array.\n * @param {Array} arr Array into which to insert the item.\n * @param {T} obj Value to add.\n * @template T\n */\nfunction insert(arr, obj) {\n if (!contains(arr, obj)) {\n arr.push(obj);\n }\n}\nexports.insert = insert;\n\n\n/**\n * Inserts an object at the given index of the array.\n * @param {IArrayLike} arr The array to modify.\n * @param {*} obj The object to insert.\n * @param {number=} opt_i The index at which to insert the object. If omitted,\n * treated as 0. A negative index is counted from the end of the array.\n */\nfunction insertAt(arr, obj, opt_i) {\n splice(arr, opt_i, 0, obj);\n}\nexports.insertAt = insertAt;\n\n\n/**\n * Inserts at the given index of the array, all elements of another array.\n * @param {IArrayLike} arr The array to modify.\n * @param {IArrayLike} elementsToAdd The array of elements to add.\n * @param {number=} opt_i The index at which to insert the object. If omitted,\n * treated as 0. A negative index is counted from the end of the array.\n */\nfunction insertArrayAt(arr, elementsToAdd, opt_i) {\n goog.partial(splice, arr, opt_i, 0).apply(null, elementsToAdd);\n}\nexports.insertArrayAt = insertArrayAt;\n\n\n/**\n * Inserts an object into an array before a specified object.\n * @param {Array} arr The array to modify.\n * @param {T} obj The object to insert.\n * @param {T=} opt_obj2 The object before which obj should be inserted. If obj2\n * is omitted or not found, obj is inserted at the end of the array.\n * @template T\n */\nfunction insertBefore(arr, obj, opt_obj2) {\n let i;\n if (arguments.length == 2 || (i = indexOf(arr, opt_obj2)) < 0) {\n arr.push(obj);\n } else {\n insertAt(arr, obj, i);\n }\n}\nexports.insertBefore = insertBefore;\n\n\n/**\n * Removes the first occurrence of a particular value from an array.\n * @param {IArrayLike} arr Array from which to remove\n * value.\n * @param {T} obj Object to remove.\n * @return {boolean} True if an element was removed.\n * @template T\n */\nfunction remove(arr, obj) {\n const i = indexOf(arr, obj);\n let rv;\n if ((rv = i >= 0)) {\n removeAt(arr, i);\n }\n return rv;\n}\nexports.remove = remove;\n\n\n/**\n * Removes the last occurrence of a particular value from an array.\n * @param {!IArrayLike} arr Array from which to remove value.\n * @param {T} obj Object to remove.\n * @return {boolean} True if an element was removed.\n * @template T\n */\nfunction removeLast(arr, obj) {\n const i = lastIndexOf(arr, obj);\n if (i >= 0) {\n removeAt(arr, i);\n return true;\n }\n return false;\n}\nexports.removeLast = removeLast;\n\n\n/**\n * Removes from an array the element at index i\n * @param {IArrayLike} arr Array or array like object from which to\n * remove value.\n * @param {number} i The index to remove.\n * @return {boolean} True if an element was removed.\n */\nfunction removeAt(arr, i) {\n asserts.assert(arr.length != null);\n\n // use generic form of splice\n // splice returns the removed items and if successful the length of that\n // will be 1\n return Array.prototype.splice.call(arr, i, 1).length == 1;\n}\nexports.removeAt = removeAt;\n\n\n/**\n * Removes the first value that satisfies the given condition.\n * @param {IArrayLike} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call\n * for every element. This function\n * takes 3 arguments (the element, the index and the array) and should\n * return a boolean.\n * @param {S=} opt_obj An optional \"this\" context for the function.\n * @return {boolean} True if an element was removed.\n * @template T,S\n */\nfunction removeIf(arr, f, opt_obj) {\n const i = findIndex(arr, f, opt_obj);\n if (i >= 0) {\n removeAt(arr, i);\n return true;\n }\n return false;\n}\nexports.removeIf = removeIf;\n\n\n/**\n * Removes all values that satisfy the given condition.\n * @param {IArrayLike} arr Array or array\n * like object over which to iterate.\n * @param {?function(this:S, T, number, ?) : boolean} f The function to call\n * for every element. This function\n * takes 3 arguments (the element, the index and the array) and should\n * return a boolean.\n * @param {S=} opt_obj An optional \"this\" context for the function.\n * @return {number} The number of items removed\n * @template T,S\n */\nfunction removeAllIf(arr, f, opt_obj) {\n let removedCount = 0;\n forEachRight(arr, function(val, index) {\n if (f.call(/** @type {?} */ (opt_obj), val, index, arr)) {\n if (removeAt(arr, index)) {\n removedCount++;\n }\n }\n });\n return removedCount;\n}\nexports.removeAllIf = removeAllIf;\n\n\n/**\n * Returns a new array that is the result of joining the arguments. If arrays\n * are passed then their items are added, however, if non-arrays are passed they\n * will be added to the return array as is.\n *\n * Note that ArrayLike objects will be added as is, rather than having their\n * items added.\n *\n * concat([1, 2], [3, 4]) -> [1, 2, 3, 4]\n * concat(0, [1, 2]) -> [0, 1, 2]\n * concat([1, 2], null) -> [1, 2, null]\n *\n * @param {...*} var_args Items to concatenate. Arrays will have each item\n * added, while primitives and objects will be added as is.\n * @return {!Array} The new resultant array.\n */\nfunction concat(var_args) {\n return Array.prototype.concat.apply([], arguments);\n}\nexports.concat = concat;\n\n\n/**\n * Returns a new array that contains the contents of all the arrays passed.\n * @param {...!Array} var_args\n * @return {!Array}\n * @template T\n */\nfunction join(var_args) {\n return Array.prototype.concat.apply([], arguments);\n}\nexports.join = join;\n\n\n/**\n * Converts an object to an array.\n * @param {IArrayLike|string} object The object to convert to an\n * array.\n * @return {!Array} The object converted into an array. If object has a\n * length property, every property indexed with a non-negative number\n * less than length will be included in the result. If object does not\n * have a length property, an empty array will be returned.\n * @template T\n */\nfunction toArray(object) {\n const length = object.length;\n\n // If length is not a number the following is false. This case is kept for\n // backwards compatibility since there are callers that pass objects that are\n // not array like.\n if (length > 0) {\n const rv = new Array(length);\n for (let i = 0; i < length; i++) {\n rv[i] = object[i];\n }\n return rv;\n }\n return [];\n}\nexports.toArray = toArray;\n\n\n/**\n * Does a shallow copy of an array.\n * @param {IArrayLike|string} arr Array or array-like object to\n * clone.\n * @return {!Array} Clone of the input array.\n * @template T\n */\nconst clone = toArray;\nexports.clone = clone;\n\n\n/**\n * Extends an array with another array, element, or \"array like\" object.\n * This function operates 'in-place', it does not create a new Array.\n *\n * Example:\n * var a = [];\n * extend(a, [0, 1]);\n * a; // [0, 1]\n * extend(a, 2);\n * a; // [0, 1, 2]\n *\n * @param {Array} arr1 The array to modify.\n * @param {...(IArrayLike|VALUE)} var_args The elements or arrays of\n * elements to add to arr1.\n * @template VALUE\n */\nfunction extend(arr1, var_args) {\n for (let i = 1; i < arguments.length; i++) {\n const arr2 = arguments[i];\n if (goog.isArrayLike(arr2)) {\n const len1 = arr1.length || 0;\n const len2 = arr2.length || 0;\n arr1.length = len1 + len2;\n for (let j = 0; j < len2; j++) {\n arr1[len1 + j] = arr2[j];\n }\n } else {\n arr1.push(arr2);\n }\n }\n}\nexports.extend = extend;\n\n\n/**\n * Adds or removes elements from an array. This is a generic version of Array\n * splice. This means that it might work on other objects similar to arrays,\n * such as the arguments object.\n *\n * @param {IArrayLike} arr The array to modify.\n * @param {number|undefined} index The index at which to start changing the\n * array. If not defined, treated as 0.\n * @param {number} howMany How many elements to remove (0 means no removal. A\n * value below 0 is treated as zero and so is any other non number. Numbers\n * are floored).\n * @param {...T} var_args Optional, additional elements to insert into the\n * array.\n * @return {!Array} the removed elements.\n * @template T\n */\nfunction splice(arr, index, howMany, var_args) {\n asserts.assert(arr.length != null);\n\n return Array.prototype.splice.apply(arr, slice(arguments, 1));\n}\nexports.splice = splice;\n\n\n/**\n * Returns a new array from a segment of an array. This is a generic version of\n * Array slice. This means that it might work on other objects similar to\n * arrays, such as the arguments object.\n *\n * @param {IArrayLike|string} arr The array from\n * which to copy a segment.\n * @param {number} start The index of the first element to copy.\n * @param {number=} opt_end The index after the last element to copy.\n * @return {!Array} A new array containing the specified segment of the\n * original array.\n * @template T\n */\nfunction slice(arr, start, opt_end) {\n asserts.assert(arr.length != null);\n\n // passing 1 arg to slice is not the same as passing 2 where the second is\n // null or undefined (in that case the second argument is treated as 0).\n // we could use slice on the arguments object and then use apply instead of\n // testing the length\n if (arguments.length <= 2) {\n return Array.prototype.slice.call(arr, start);\n } else {\n return Array.prototype.slice.call(arr, start, opt_end);\n }\n}\nexports.slice = slice;\n\n\n/**\n * Removes all duplicates from an array (retaining only the first\n * occurrence of each array element). This function modifies the\n * array in place and doesn't change the order of the non-duplicate items.\n *\n * For objects, duplicates are identified as having the same unique ID as\n * defined by {@link goog.getUid}.\n *\n * Alternatively you can specify a custom hash function that returns a unique\n * value for each item in the array it should consider unique.\n *\n * Runtime: N,\n * Worstcase space: 2N (no dupes)\n *\n * @param {IArrayLike} arr The array from which to remove\n * duplicates.\n * @param {Array=} opt_rv An optional array in which to return the results,\n * instead of performing the removal inplace. If specified, the original\n * array will remain unchanged.\n * @param {function(T):string=} opt_hashFn An optional function to use to\n * apply to every item in the array. This function should return a unique\n * value for each item in the array it should consider unique.\n * @template T\n */\nfunction removeDuplicates(arr, opt_rv, opt_hashFn) {\n const returnArray = opt_rv || arr;\n const defaultHashFn = function(item) {\n // Prefix each type with a single character representing the type to\n // prevent conflicting keys (e.g. true and 'true').\n return goog.isObject(item) ? 'o' + goog.getUid(item) :\n (typeof item).charAt(0) + item;\n };\n const hashFn = opt_hashFn || defaultHashFn;\n\n let cursorInsert = 0;\n let cursorRead = 0;\n const seen = {};\n\n while (cursorRead < arr.length) {\n const current = arr[cursorRead++];\n const key = hashFn(current);\n if (!Object.prototype.hasOwnProperty.call(seen, key)) {\n seen[key] = true;\n returnArray[cursorInsert++] = current;\n }\n }\n returnArray.length = cursorInsert;\n}\nexports.removeDuplicates = removeDuplicates;\n\n\n/**\n * Searches the specified array for the specified target using the binary\n * search algorithm. If no opt_compareFn is specified, elements are compared\n * using defaultCompare, which compares the elements\n * using the built in < and > operators. This will produce the expected\n * behavior for homogeneous arrays of String(s) and Number(s). The array\n * specified must be sorted in ascending order (as defined by the\n * comparison function). If the array is not sorted, results are undefined.\n * If the array contains multiple instances of the specified target value, the\n * left-most instance will be found.\n *\n * Runtime: O(log n)\n *\n * @param {IArrayLike} arr The array to be searched.\n * @param {TARGET} target The sought value.\n * @param {function(TARGET, VALUE): number=} opt_compareFn Optional comparison\n * function by which the array is ordered. Should take 2 arguments to\n * compare, the target value and an element from your array, and return a\n * negative number, zero, or a positive number depending on whether the\n * first argument is less than, equal to, or greater than the second.\n * @return {number} Lowest index of the target value if found, otherwise\n * (-(insertion point) - 1). The insertion point is where the value should\n * be inserted into arr to preserve the sorted property. Return value >= 0\n * iff target is found.\n * @template TARGET, VALUE\n */\nfunction binarySearch(arr, target, opt_compareFn) {\n return binarySearch_(\n arr, opt_compareFn || defaultCompare, false /* isEvaluator */, target);\n}\nexports.binarySearch = binarySearch;\n\n\n/**\n * Selects an index in the specified array using the binary search algorithm.\n * The evaluator receives an element and determines whether the desired index\n * is before, at, or after it. The evaluator must be consistent (formally,\n * map(map(arr, evaluator, opt_obj), goog.math.sign)\n * must be monotonically non-increasing).\n *\n * Runtime: O(log n)\n *\n * @param {IArrayLike} arr The array to be searched.\n * @param {function(this:THIS, VALUE, number, ?): number} evaluator\n * Evaluator function that receives 3 arguments (the element, the index and\n * the array). Should return a negative number, zero, or a positive number\n * depending on whether the desired index is before, at, or after the\n * element passed to it.\n * @param {THIS=} opt_obj The object to be used as the value of 'this'\n * within evaluator.\n * @return {number} Index of the leftmost element matched by the evaluator, if\n * such exists; otherwise (-(insertion point) - 1). The insertion point is\n * the index of the first element for which the evaluator returns negative,\n * or arr.length if no such element exists. The return value is non-negative\n * iff a match is found.\n * @template THIS, VALUE\n */\nfunction binarySelect(arr, evaluator, opt_obj) {\n return binarySearch_(\n arr, evaluator, true /* isEvaluator */, undefined /* opt_target */,\n opt_obj);\n}\nexports.binarySelect = binarySelect;\n\n\n/**\n * Implementation of a binary search algorithm which knows how to use both\n * comparison functions and evaluators. If an evaluator is provided, will call\n * the evaluator with the given optional data object, conforming to the\n * interface defined in binarySelect. Otherwise, if a comparison function is\n * provided, will call the comparison function against the given data object.\n *\n * This implementation purposefully does not use goog.bind or goog.partial for\n * performance reasons.\n *\n * Runtime: O(log n)\n *\n * @param {IArrayLike} arr The array to be searched.\n * @param {function(?, ?, ?): number | function(?, ?): number} compareFn\n * Either an evaluator or a comparison function, as defined by binarySearch\n * and binarySelect above.\n * @param {boolean} isEvaluator Whether the function is an evaluator or a\n * comparison function.\n * @param {?=} opt_target If the function is a comparison function, then\n * this is the target to binary search for.\n * @param {Object=} opt_selfObj If the function is an evaluator, this is an\n * optional this object for the evaluator.\n * @return {number} Lowest index of the target value if found, otherwise\n * (-(insertion point) - 1). The insertion point is where the value should\n * be inserted into arr to preserve the sorted property. Return value >= 0\n * iff target is found.\n * @private\n */\nfunction binarySearch_(arr, compareFn, isEvaluator, opt_target, opt_selfObj) {\n let left = 0; // inclusive\n let right = arr.length; // exclusive\n let found;\n while (left < right) {\n const middle = left + ((right - left) >>> 1);\n let compareResult;\n if (isEvaluator) {\n compareResult = compareFn.call(opt_selfObj, arr[middle], middle, arr);\n } else {\n // NOTE(dimvar): To avoid this cast, we'd have to use function overloading\n // for the type of binarySearch_, which the type system can't express yet.\n compareResult = /** @type {function(?, ?): number} */ (compareFn)(\n opt_target, arr[middle]);\n }\n if (compareResult > 0) {\n left = middle + 1;\n } else {\n right = middle;\n // We are looking for the lowest index so we can't return immediately.\n found = !compareResult;\n }\n }\n // left is the index if found, or the insertion point otherwise.\n // Avoiding bitwise not operator, as that causes a loss in precision for array\n // indexes outside the bounds of a 32-bit signed integer. Array indexes have\n // a maximum value of 2^32-2 https://tc39.es/ecma262/#array-index\n return found ? left : -left - 1;\n}\n\n\n/**\n * Sorts the specified array into ascending order. If no opt_compareFn is\n * specified, elements are compared using\n * defaultCompare, which compares the elements using\n * the built in < and > operators. This will produce the expected behavior\n * for homogeneous arrays of String(s) and Number(s), unlike the native sort,\n * but will give unpredictable results for heterogeneous lists of strings and\n * numbers with different numbers of digits.\n *\n * This sort is not guaranteed to be stable.\n *\n * Runtime: Same as `Array.prototype.sort`\n *\n * @param {Array} arr The array to be sorted.\n * @param {?function(T,T):number=} opt_compareFn Optional comparison\n * function by which the\n * array is to be ordered. Should take 2 arguments to compare, and return a\n * negative number, zero, or a positive number depending on whether the\n * first argument is less than, equal to, or greater than the second.\n * @template T\n */\nfunction sort(arr, opt_compareFn) {\n // TODO(arv): Update type annotation since null is not accepted.\n arr.sort(opt_compareFn || defaultCompare);\n}\nexports.sort = sort;\n\n\n/**\n * Sorts the specified array into ascending order in a stable way. If no\n * opt_compareFn is specified, elements are compared using\n * defaultCompare, which compares the elements using\n * the built in < and > operators. This will produce the expected behavior\n * for homogeneous arrays of String(s) and Number(s).\n *\n * Runtime: Same as `Array.prototype.sort`, plus an additional\n * O(n) overhead of copying the array twice.\n *\n * @param {Array} arr The array to be sorted.\n * @param {?function(T, T): number=} opt_compareFn Optional comparison function\n * by which the array is to be ordered. Should take 2 arguments to compare,\n * and return a negative number, zero, or a positive number depending on\n * whether the first argument is less than, equal to, or greater than the\n * second.\n * @template T\n */\nfunction stableSort(arr, opt_compareFn) {\n const compArr = new Array(arr.length);\n for (let i = 0; i < arr.length; i++) {\n compArr[i] = {index: i, value: arr[i]};\n }\n const valueCompareFn = opt_compareFn || defaultCompare;\n function stableCompareFn(obj1, obj2) {\n return valueCompareFn(obj1.value, obj2.value) || obj1.index - obj2.index;\n }\n sort(compArr, stableCompareFn);\n for (let i = 0; i < arr.length; i++) {\n arr[i] = compArr[i].value;\n }\n}\nexports.stableSort = stableSort;\n\n\n/**\n * Sort the specified array into ascending order based on item keys\n * returned by the specified key function.\n * If no opt_compareFn is specified, the keys are compared in ascending order\n * using defaultCompare.\n *\n * Runtime: O(S(f(n)), where S is runtime of sort\n * and f(n) is runtime of the key function.\n *\n * @param {Array} arr The array to be sorted.\n * @param {function(T): K} keyFn Function taking array element and returning\n * a key used for sorting this element.\n * @param {?function(K, K): number=} opt_compareFn Optional comparison function\n * by which the keys are to be ordered. Should take 2 arguments to compare,\n * and return a negative number, zero, or a positive number depending on\n * whether the first argument is less than, equal to, or greater than the\n * second.\n * @template T,K\n */\nfunction sortByKey(arr, keyFn, opt_compareFn) {\n const keyCompareFn = opt_compareFn || defaultCompare;\n sort(arr, function(a, b) {\n return keyCompareFn(keyFn(a), keyFn(b));\n });\n}\nexports.sortByKey = sortByKey;\n\n\n/**\n * Sorts an array of objects by the specified object key and compare\n * function. If no compare function is provided, the key values are\n * compared in ascending order using defaultCompare.\n * This won't work for keys that get renamed by the compiler. So use\n * {'foo': 1, 'bar': 2} rather than {foo: 1, bar: 2}.\n * @param {Array} arr An array of objects to sort.\n * @param {string} key The object key to sort by.\n * @param {Function=} opt_compareFn The function to use to compare key\n * values.\n */\nfunction sortObjectsByKey(arr, key, opt_compareFn) {\n sortByKey(arr, function(obj) {\n return obj[key];\n }, opt_compareFn);\n}\nexports.sortObjectsByKey = sortObjectsByKey;\n\n\n/**\n * Tells if the array is sorted.\n * @param {!IArrayLike} arr The array.\n * @param {?function(T,T):number=} opt_compareFn Function to compare the\n * array elements.\n * Should take 2 arguments to compare, and return a negative number, zero,\n * or a positive number depending on whether the first argument is less\n * than, equal to, or greater than the second.\n * @param {boolean=} opt_strict If true no equal elements are allowed.\n * @return {boolean} Whether the array is sorted.\n * @template T\n */\nfunction isSorted(arr, opt_compareFn, opt_strict) {\n const compare = opt_compareFn || defaultCompare;\n for (let i = 1; i < arr.length; i++) {\n const compareResult = compare(arr[i - 1], arr[i]);\n if (compareResult > 0 || compareResult == 0 && opt_strict) {\n return false;\n }\n }\n return true;\n}\nexports.isSorted = isSorted;\n\n\n/**\n * Compares two arrays for equality. Two arrays are considered equal if they\n * have the same length and their corresponding elements are equal according to\n * the comparison function.\n *\n * @param {IArrayLike} arr1 The first array to compare.\n * @param {IArrayLike} arr2 The second array to compare.\n * @param {?function(A,B):boolean=} opt_equalsFn Optional comparison function.\n * Should take 2 arguments to compare, and return true if the arguments\n * are equal. Defaults to {@link goog.array.defaultCompareEquality} which\n * compares the elements using the built-in '===' operator.\n * @return {boolean} Whether the two arrays are equal.\n * @template A\n * @template B\n */\nfunction equals(arr1, arr2, opt_equalsFn) {\n if (!goog.isArrayLike(arr1) || !goog.isArrayLike(arr2) ||\n arr1.length != arr2.length) {\n return false;\n }\n const l = arr1.length;\n const equalsFn = opt_equalsFn || defaultCompareEquality;\n for (let i = 0; i < l; i++) {\n if (!equalsFn(arr1[i], arr2[i])) {\n return false;\n }\n }\n return true;\n}\nexports.equals = equals;\n\n\n/**\n * 3-way array compare function.\n * @param {!IArrayLike} arr1 The first array to\n * compare.\n * @param {!IArrayLike} arr2 The second array to\n * compare.\n * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison\n * function by which the array is to be ordered. Should take 2 arguments to\n * compare, and return a negative number, zero, or a positive number\n * depending on whether the first argument is less than, equal to, or\n * greater than the second.\n * @return {number} Negative number, zero, or a positive number depending on\n * whether the first argument is less than, equal to, or greater than the\n * second.\n * @template VALUE\n */\nfunction compare3(arr1, arr2, opt_compareFn) {\n const compare = opt_compareFn || defaultCompare;\n const l = Math.min(arr1.length, arr2.length);\n for (let i = 0; i < l; i++) {\n const result = compare(arr1[i], arr2[i]);\n if (result != 0) {\n return result;\n }\n }\n return defaultCompare(arr1.length, arr2.length);\n}\nexports.compare3 = compare3;\n\n\n/**\n * Compares its two arguments for order, using the built in < and >\n * operators.\n * @param {VALUE} a The first object to be compared.\n * @param {VALUE} b The second object to be compared.\n * @return {number} A negative number, zero, or a positive number as the first\n * argument is less than, equal to, or greater than the second,\n * respectively.\n * @template VALUE\n */\nfunction defaultCompare(a, b) {\n return a > b ? 1 : a < b ? -1 : 0;\n}\nexports.defaultCompare = defaultCompare;\n\n\n/**\n * Compares its two arguments for inverse order, using the built in < and >\n * operators.\n * @param {VALUE} a The first object to be compared.\n * @param {VALUE} b The second object to be compared.\n * @return {number} A negative number, zero, or a positive number as the first\n * argument is greater than, equal to, or less than the second,\n * respectively.\n * @template VALUE\n */\nfunction inverseDefaultCompare(a, b) {\n return -defaultCompare(a, b);\n}\nexports.inverseDefaultCompare = inverseDefaultCompare;\n\n\n/**\n * Compares its two arguments for equality, using the built in === operator.\n * @param {*} a The first object to compare.\n * @param {*} b The second object to compare.\n * @return {boolean} True if the two arguments are equal, false otherwise.\n */\nfunction defaultCompareEquality(a, b) {\n return a === b;\n}\nexports.defaultCompareEquality = defaultCompareEquality;\n\n\n/**\n * Inserts a value into a sorted array. The array is not modified if the\n * value is already present.\n * @param {IArrayLike} array The array to modify.\n * @param {VALUE} value The object to insert.\n * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison\n * function by which the array is ordered. Should take 2 arguments to\n * compare, and return a negative number, zero, or a positive number\n * depending on whether the first argument is less than, equal to, or\n * greater than the second.\n * @return {boolean} True if an element was inserted.\n * @template VALUE\n */\nfunction binaryInsert(array, value, opt_compareFn) {\n const index = binarySearch(array, value, opt_compareFn);\n if (index < 0) {\n insertAt(array, value, -(index + 1));\n return true;\n }\n return false;\n}\nexports.binaryInsert = binaryInsert;\n\n\n/**\n * Removes a value from a sorted array.\n * @param {!IArrayLike} array The array to modify.\n * @param {VALUE} value The object to remove.\n * @param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison\n * function by which the array is ordered. Should take 2 arguments to\n * compare, and return a negative number, zero, or a positive number\n * depending on whether the first argument is less than, equal to, or\n * greater than the second.\n * @return {boolean} True if an element was removed.\n * @template VALUE\n */\nfunction binaryRemove(array, value, opt_compareFn) {\n const index = binarySearch(array, value, opt_compareFn);\n return (index >= 0) ? removeAt(array, index) : false;\n}\nexports.binaryRemove = binaryRemove;\n\n\n/**\n * Splits an array into disjoint buckets according to a splitting function.\n * @param {IArrayLike} array The array.\n * @param {function(this:S, T, number, !IArrayLike):?} sorter Function to\n * call for every element. This takes 3 arguments (the element, the index\n * and the array) and must return a valid object key (a string, number,\n * etc), or undefined, if that object should not be placed in a bucket.\n * @param {S=} opt_obj The object to be used as the value of 'this' within\n * sorter.\n * @return {!Object>} An object, with keys being all of the unique\n * return values of sorter, and values being arrays containing the items for\n * which the splitter returned that key.\n * @template T,S\n */\nfunction bucket(array, sorter, opt_obj) {\n const buckets = {};\n\n for (let i = 0; i < array.length; i++) {\n const value = array[i];\n const key = sorter.call(/** @type {?} */ (opt_obj), value, i, array);\n if (key !== undefined) {\n // Push the value to the right bucket, creating it if necessary.\n const bucket = buckets[key] || (buckets[key] = []);\n bucket.push(value);\n }\n }\n\n return buckets;\n}\nexports.bucket = bucket;\n\n\n/**\n * Splits an array into disjoint buckets according to a splitting function.\n * @param {!IArrayLike} array The array.\n * @param {function(V, number, !IArrayLike):(K|undefined)} sorter Function to\n * call for every element. This takes 3 arguments (the element, the index,\n * and the array) and must return a value to use as a key, or undefined, if\n * that object should not be placed in a bucket.\n * @return {!Map>} A map, with keys being all of the unique\n * return values of sorter, and values being arrays containing the items for\n * which the splitter returned that key.\n * @template K,V\n */\nfunction bucketToMap(array, sorter) {\n const /** !Map> */ buckets = new Map();\n\n for (let i = 0; i < array.length; i++) {\n const value = array[i];\n const key = sorter(value, i, array);\n if (key !== undefined) {\n // Push the value to the right bucket, creating it if necessary.\n let bucket = buckets.get(key);\n if (!bucket) {\n bucket = [];\n buckets.set(key, bucket);\n }\n bucket.push(value);\n }\n }\n\n return buckets;\n}\nexports.bucketToMap = bucketToMap;\n\n\n/**\n * Creates a new object built from the provided array and the key-generation\n * function.\n * @param {IArrayLike} arr Array or array like object over\n * which to iterate whose elements will be the values in the new object.\n * @param {?function(this:S, T, number, ?) : string} keyFunc The function to\n * call for every element. This function takes 3 arguments (the element, the\n * index and the array) and should return a string that will be used as the\n * key for the element in the new object. If the function returns the same\n * key for more than one element, the value for that key is\n * implementation-defined.\n * @param {S=} opt_obj The object to be used as the value of 'this'\n * within keyFunc.\n * @return {!Object} The new object.\n * @template T,S\n */\nfunction toObject(arr, keyFunc, opt_obj) {\n const ret = {};\n forEach(arr, function(element, index) {\n ret[keyFunc.call(/** @type {?} */ (opt_obj), element, index, arr)] =\n element;\n });\n return ret;\n}\nexports.toObject = toObject;\n\n\n/**\n * Creates a new ES6 Map built from the provided array and the key-generation\n * function.\n * @param {!IArrayLike} arr Array or array like object over which to iterate\n * whose elements will be the values in the new object.\n * @param {?function(V, number, ?) : K} keyFunc The function to call for every\n * element. This function takes 3 arguments (the element, the index, and the\n * array) and should return a value that will be used as the key for the\n * element in the new object. If the function returns the same key for more\n * than one element, the value for that key is implementation-defined.\n * @return {!Map} The new map.\n * @template K,V\n */\nfunction toMap(arr, keyFunc) {\n const /** !Map */ map = new Map();\n\n for (let i = 0; i < arr.length; i++) {\n const element = arr[i];\n map.set(keyFunc(element, i, arr), element);\n }\n\n return map;\n}\nexports.toMap = toMap;\n\n\n/**\n * Creates a range of numbers in an arithmetic progression.\n *\n * Range takes 1, 2, or 3 arguments:\n *
\n * range(5) is the same as range(0, 5, 1) and produces [0, 1, 2, 3, 4]\n * range(2, 5) is the same as range(2, 5, 1) and produces [2, 3, 4]\n * range(-2, -5, -1) produces [-2, -3, -4]\n * range(-2, -5, 1) produces [], since stepping by 1 wouldn't ever reach -5.\n * 
\n *\n * @param {number} startOrEnd The starting value of the range if an end argument\n * is provided. Otherwise, the start value is 0, and this is the end value.\n * @param {number=} opt_end The optional end value of the range.\n * @param {number=} opt_step The step size between range values. Defaults to 1\n * if opt_step is undefined or 0.\n * @return {!Array} An array of numbers for the requested range. May be\n * an empty array if adding the step would not converge toward the end\n * value.\n */\nfunction range(startOrEnd, opt_end, opt_step) {\n const array = [];\n let start = 0;\n let end = startOrEnd;\n const step = opt_step || 1;\n if (opt_end !== undefined) {\n start = startOrEnd;\n end = opt_end;\n }\n\n if (step * (end - start) < 0) {\n // Sign mismatch: start + step will never reach the end value.\n return [];\n }\n\n if (step > 0) {\n for (let i = start; i < end; i += step) {\n array.push(i);\n }\n } else {\n for (let i = start; i > end; i += step) {\n array.push(i);\n }\n }\n return array;\n}\nexports.range = range;\n\n\n/**\n * Returns an array consisting of the given value repeated N times.\n *\n * @param {VALUE} value The value to repeat.\n * @param {number} n The repeat count.\n * @return {!Array} An array with the repeated value.\n * @template VALUE\n */\nfunction repeat(value, n) {\n const array = [];\n for (let i = 0; i < n; i++) {\n array[i] = value;\n }\n return array;\n}\nexports.repeat = repeat;\n\n\n/**\n * Returns an array consisting of every argument with all arrays\n * expanded in-place recursively.\n *\n * @param {...*} var_args The values to flatten.\n * @return {!Array} An array containing the flattened values.\n */\nfunction flatten(var_args) {\n const CHUNK_SIZE = 8192;\n\n const result = [];\n for (let i = 0; i < arguments.length; i++) {\n const element = arguments[i];\n if (Array.isArray(element)) {\n for (let c = 0; c < element.length; c += CHUNK_SIZE) {\n const chunk = slice(element, c, c + CHUNK_SIZE);\n const recurseResult = flatten.apply(null, chunk);\n for (let r = 0; r < recurseResult.length; r++) {\n result.push(recurseResult[r]);\n }\n }\n } else {\n result.push(element);\n }\n }\n return result;\n}\nexports.flatten = flatten;\n\n\n/**\n * Rotates an array in-place. After calling this method, the element at\n * index i will be the element previously at index (i - n) %\n * array.length, for all values of i between 0 and array.length - 1,\n * inclusive.\n *\n * For example, suppose list comprises [t, a, n, k, s]. After invoking\n * rotate(array, 1) (or rotate(array, -4)), array will comprise [s, t, a, n, k].\n *\n * @param {!Array} array The array to rotate.\n * @param {number} n The amount to rotate.\n * @return {!Array} The array.\n * @template T\n */\nfunction rotate(array, n) {\n asserts.assert(array.length != null);\n\n if (array.length) {\n n %= array.length;\n if (n > 0) {\n Array.prototype.unshift.apply(array, array.splice(-n, n));\n } else if (n < 0) {\n Array.prototype.push.apply(array, array.splice(0, -n));\n }\n }\n return array;\n}\nexports.rotate = rotate;\n\n\n/**\n * Moves one item of an array to a new position keeping the order of the rest\n * of the items. Example use case: keeping a list of JavaScript objects\n * synchronized with the corresponding list of DOM elements after one of the\n * elements has been dragged to a new position.\n * @param {!IArrayLike} arr The array to modify.\n * @param {number} fromIndex Index of the item to move between 0 and\n * `arr.length - 1`.\n * @param {number} toIndex Target index between 0 and `arr.length - 1`.\n */\nfunction moveItem(arr, fromIndex, toIndex) {\n asserts.assert(fromIndex >= 0 && fromIndex < arr.length);\n asserts.assert(toIndex >= 0 && toIndex < arr.length);\n // Remove 1 item at fromIndex.\n const removedItems = Array.prototype.splice.call(arr, fromIndex, 1);\n // Insert the removed item at toIndex.\n Array.prototype.splice.call(arr, toIndex, 0, removedItems[0]);\n // We don't use goog.array.insertAt and goog.array.removeAt, because they're\n // significantly slower than splice.\n}\nexports.moveItem = moveItem;\n\n\n/**\n * Creates a new array for which the element at position i is an array of the\n * ith element of the provided arrays. The returned array will only be as long\n * as the shortest array provided; additional values are ignored. For example,\n * the result of zipping [1, 2] and [3, 4, 5] is [[1,3], [2, 4]].\n *\n * This is similar to the zip() function in Python. See {@link\n * http://docs.python.org/library/functions.html#zip}\n *\n * @param {...!IArrayLike} var_args Arrays to be combined.\n * @return {!Array>} A new array of arrays created from\n * provided arrays.\n */\nfunction zip(var_args) {\n if (!arguments.length) {\n return [];\n }\n const result = [];\n let minLen = arguments[0].length;\n for (let i = 1; i < arguments.length; i++) {\n if (arguments[i].length < minLen) {\n minLen = arguments[i].length;\n }\n }\n for (let i = 0; i < minLen; i++) {\n const value = [];\n for (let j = 0; j < arguments.length; j++) {\n value.push(arguments[j][i]);\n }\n result.push(value);\n }\n return result;\n}\nexports.zip = zip;\n\n\n/**\n * Shuffles the values in the specified array using the Fisher-Yates in-place\n * shuffle (also known as the Knuth Shuffle). By default, calls Math.random()\n * and so resets the state of that random number generator. Similarly, may reset\n * the state of any other specified random number generator.\n *\n * Runtime: O(n)\n *\n * @param {!Array} arr The array to be shuffled.\n * @param {function():number=} opt_randFn Optional random function to use for\n * shuffling.\n * Takes no arguments, and returns a random number on the interval [0, 1).\n * Defaults to Math.random() using JavaScript's built-in Math library.\n */\nfunction shuffle(arr, opt_randFn) {\n const randFn = opt_randFn || Math.random;\n\n for (let i = arr.length - 1; i > 0; i--) {\n // Choose a random array index in [0, i] (inclusive with i).\n const j = Math.floor(randFn() * (i + 1));\n\n const tmp = arr[i];\n arr[i] = arr[j];\n arr[j] = tmp;\n }\n}\nexports.shuffle = shuffle;\n\n\n/**\n * Returns a new array of elements from arr, based on the indexes of elements\n * provided by index_arr. For example, the result of index copying\n * ['a', 'b', 'c'] with index_arr [1,0,0,2] is ['b', 'a', 'a', 'c'].\n *\n * @param {!IArrayLike} arr The array to get a indexed copy from.\n * @param {!IArrayLike} index_arr An array of indexes to get from arr.\n * @return {!Array} A new array of elements from arr in index_arr order.\n * @template T\n */\nfunction copyByIndex(arr, index_arr) {\n const result = [];\n forEach(index_arr, function(index) {\n result.push(arr[index]);\n });\n return result;\n}\nexports.copyByIndex = copyByIndex;\n\n\n/**\n * Maps each element of the input array into zero or more elements of the output\n * array.\n *\n * @param {!IArrayLike|string} arr Array or array like object\n * over which to iterate.\n * @param {function(this:THIS, VALUE, number, ?): !Array} f The function\n * to call for every element. This function takes 3 arguments (the element,\n * the index and the array) and should return an array. The result will be\n * used to extend a new array.\n * @param {THIS=} opt_obj The object to be used as the value of 'this' within f.\n * @return {!Array} a new array with the concatenation of all arrays\n * returned from f.\n * @template THIS, VALUE, RESULT\n */\nfunction concatMap(arr, f, opt_obj) {\n return concat.apply([], map(arr, f, opt_obj));\n}\nexports.concatMap = concatMap;\n"], +"names":["peek","array","length","forEachRight","arr","f","opt_obj","l","arr2","split","i","call","count","forEach","element","index","find","findIndex","charAt","findRight","findIndexRight","contains","obj","indexOf","isEmpty","clear","Array","isArray","insert","push","insertAt","opt_i","splice","insertArrayAt","elementsToAdd","goog","partial","apply","insertBefore","opt_obj2","arguments","remove","rv","removeAt","removeLast","lastIndexOf","asserts","assert","prototype","removeIf","removeAllIf","removedCount","val","concat","var_args","join","toArray","object","extend","arr1","isArrayLike","len1","len2","j","howMany","slice","start","opt_end","removeDuplicates","opt_rv","opt_hashFn","returnArray","defaultHashFn","item","isObject","getUid","hashFn","cursorInsert","cursorRead","seen","current","key","Object","hasOwnProperty","binarySearch","target","opt_compareFn","binarySearch_","defaultCompare","binarySelect","evaluator","undefined","compareFn","isEvaluator","opt_target","opt_selfObj","left","right","found","middle","compareResult","sort","stableSort","stableCompareFn","obj1","obj2","valueCompareFn","value","compArr","sortByKey","keyFn","keyCompareFn","a","b","sortObjectsByKey","isSorted","opt_strict","compare","equals","opt_equalsFn","equalsFn","defaultCompareEquality","compare3","Math","min","result","inverseDefaultCompare","binaryInsert","binaryRemove","bucket","sorter","buckets","bucketToMap","Map","get","set","toObject","keyFunc","ret","toMap","map","range","startOrEnd","opt_step","end","step","repeat","n","flatten","CHUNK_SIZE","c","chunk","recurseResult","r","rotate","unshift","moveItem","fromIndex","toIndex","removedItems","zip","minLen","shuffle","opt_randFn","randFn","random","floor","tmp","copyByIndex","index_arr","concatMap","module","declareLegacyNamespace","require","NATIVE_ARRAY_PROTOTYPES","define","TRUSTED_SITE","ASSUME_NATIVE_FUNCTIONS","FEATURESET_YEAR","exports","last","opt_fromIndex","max","filter","res","resLength","reduce","bind","rval","reduceRight","some","every","clone"] +} diff --git a/out/cljs-runtime/goog.asserts.asserts.js b/out/cljs-runtime/goog.asserts.asserts.js new file mode 100644 index 0000000..157424d --- /dev/null +++ b/out/cljs-runtime/goog.asserts.asserts.js @@ -0,0 +1,130 @@ +goog.loadModule(function(exports) { + function AssertionError(messagePattern, messageArgs) { + DebugError.call(this, subs(messagePattern, messageArgs)); + this.messagePattern = messagePattern; + } + function subs(pattern, subs) { + const splitParts = pattern.split("%s"); + let returnString = ""; + const subLast = splitParts.length - 1; + for (let i = 0; i < subLast; i++) { + const sub = i < subs.length ? subs[i] : "%s"; + returnString = returnString + (splitParts[i] + sub); + } + return returnString + splitParts[subLast]; + } + function doAssertFailure(defaultMessage, defaultArgs, givenMessage, givenArgs) { + let message = "Assertion failed"; + let args; + if (givenMessage) { + message = message + (": " + givenMessage); + args = givenArgs; + } else if (defaultMessage) { + message = message + (": " + defaultMessage); + args = defaultArgs; + } + const e = new AssertionError("" + message, args || []); + errorHandler_(e); + } + function getType(value) { + if (value instanceof Function) { + return value.displayName || value.name || "unknown type name"; + } else if (value instanceof Object) { + return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value); + } else { + return value === null ? "null" : typeof value; + } + } + "use strict"; + goog.module("goog.asserts"); + goog.module.declareLegacyNamespace(); + const DebugError = goog.require("goog.debug.Error"); + const NodeType = goog.require("goog.dom.NodeType"); + exports.ENABLE_ASSERTS = goog.define("goog.asserts.ENABLE_ASSERTS", goog.DEBUG); + goog.inherits(AssertionError, DebugError); + exports.AssertionError = AssertionError; + AssertionError.prototype.name = "AssertionError"; + exports.DEFAULT_ERROR_HANDLER = function(e) { + throw e; + }; + let errorHandler_ = exports.DEFAULT_ERROR_HANDLER; + exports.setErrorHandler = function(errorHandler) { + if (exports.ENABLE_ASSERTS) { + errorHandler_ = errorHandler; + } + }; + exports.assert = function(condition, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && !condition) { + doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2)); + } + return condition; + }; + exports.assertExists = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && value == null) { + doAssertFailure("Expected to exist: %s.", [value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.fail = function(opt_message, var_args) { + if (exports.ENABLE_ASSERTS) { + errorHandler_(new AssertionError("Failure" + (opt_message ? ": " + opt_message : ""), Array.prototype.slice.call(arguments, 1))); + } + }; + exports.assertNumber = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && typeof value !== "number") { + doAssertFailure("Expected number but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.assertString = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && typeof value !== "string") { + doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.assertFunction = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && typeof value !== "function") { + doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.assertObject = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && !goog.isObject(value)) { + doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.assertArray = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && !Array.isArray(value)) { + doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.assertBoolean = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && typeof value !== "boolean") { + doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.assertElement = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && (!goog.isObject(value) || value.nodeType != NodeType.ELEMENT)) { + doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + exports.assertInstanceof = function(value, type, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && !(value instanceof type)) { + doAssertFailure("Expected instanceof %s but got %s.", [getType(type), getType(value)], opt_message, Array.prototype.slice.call(arguments, 3)); + } + return value; + }; + exports.assertFinite = function(value, opt_message, var_args) { + if (exports.ENABLE_ASSERTS && (typeof value != "number" || !isFinite(value))) { + doAssertFailure("Expected %s to be a finite number but it is not.", [value], opt_message, Array.prototype.slice.call(arguments, 2)); + } + return value; + }; + return exports; +}); + +//# sourceMappingURL=goog.asserts.asserts.js.map diff --git a/out/cljs-runtime/goog.asserts.asserts.js.map b/out/cljs-runtime/goog.asserts.asserts.js.map new file mode 100644 index 0000000..123f41b --- /dev/null +++ b/out/cljs-runtime/goog.asserts.asserts.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"goog.asserts.asserts.js", +"lineCount":129, +"mappings":"AAAA,IAAA,CAAA,UAAA,CAAA,QAAA,CAAA,OAAA,CAAA;AA8DAA,UAASA,eAAc,CAACC,cAAD,EAAiBC,WAAjB,CAA8B;AACnDC,cAAWC,C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WAFJ,EAEiBE,KAAMtB,CAAAA,SAAUuB,CAAAA,KAAMjD,CAAAA,IAAtB,CAA2BkD,SAA3B,EAAsC,CAAtC,CAFjB,CAAA;AAFF;AAMA,WAA8B9B,KAA9B;AAP4D,GAA9D;AAxaA,SAAA,OAAA;AAAA,CAAA,CAAA;;", +"sources":["goog/asserts/asserts.js"], +"sourcesContent":["/**\n * @license\n * Copyright The Closure Library Authors.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @fileoverview Utilities to check the preconditions, postconditions and\n * invariants runtime.\n *\n * Methods in this package are given special treatment by the compiler\n * for type-inference. For example, goog.asserts.assert(foo)\n * will make the compiler treat foo as non-nullable. Similarly,\n * goog.asserts.assertNumber(foo) informs the compiler about the\n * type of foo. Where applicable, such assertions are preferable to\n * casts by jsdoc with @type.\n *\n * The compiler has an option to disable asserts. So code like:\n * \n * var x = goog.asserts.assert(foo());\n * goog.asserts.assert(bar());\n * \n * will be transformed into:\n * \n * var x = foo();\n * \n * The compiler will leave in foo() (because its return value is used),\n * but it will remove bar() because it assumes it does not have side-effects.\n *\n * Additionally, note the compiler will consider the type to be \"tightened\" for\n * all statements after the assertion. For example:\n * \n * const /** ?Object &#ast;/ value = foo();\n * goog.asserts.assert(value);\n * // \"value\" is of type {!Object} at this point.\n * \n */\n\ngoog.module('goog.asserts');\ngoog.module.declareLegacyNamespace();\n\nconst DebugError = goog.require('goog.debug.Error');\nconst NodeType = goog.require('goog.dom.NodeType');\n\n\n// NOTE: this needs to be exported directly and referenced via the exports\n// object because unit tests stub it out.\n/**\n * @define {boolean} Whether to strip out asserts or to leave them in.\n */\nexports.ENABLE_ASSERTS = goog.define('goog.asserts.ENABLE_ASSERTS', goog.DEBUG);\n\n\n\n/**\n * Error object for failed assertions.\n * @param {string} messagePattern The pattern that was used to form message.\n * @param {!Array<*>} messageArgs The items to substitute into the pattern.\n * @constructor\n * @extends {DebugError}\n * @final\n */\nfunction AssertionError(messagePattern, messageArgs) {\n DebugError.call(this, subs(messagePattern, messageArgs));\n\n /**\n * The message pattern used to format the error message. Error handlers can\n * use this to uniquely identify the assertion.\n * @type {string}\n */\n this.messagePattern = messagePattern;\n}\ngoog.inherits(AssertionError, DebugError);\nexports.AssertionError = AssertionError;\n\n/** @override @type {string} */\nAssertionError.prototype.name = 'AssertionError';\n\n\n/**\n * The default error handler.\n * @param {!AssertionError} e The exception to be handled.\n * @return {void}\n */\nexports.DEFAULT_ERROR_HANDLER = function(e) {\n throw e;\n};\n\n\n/**\n * The handler responsible for throwing or logging assertion errors.\n * @type {function(!AssertionError)}\n */\nlet errorHandler_ = exports.DEFAULT_ERROR_HANDLER;\n\n\n/**\n * Does simple python-style string substitution.\n * subs(\"foo%s hot%s\", \"bar\", \"dog\") becomes \"foobar hotdog\".\n * @param {string} pattern The string containing the pattern.\n * @param {!Array<*>} subs The items to substitute into the pattern.\n * @return {string} A copy of `str` in which each occurrence of\n * `%s` has been replaced an argument from `var_args`.\n */\nfunction subs(pattern, subs) {\n const splitParts = pattern.split('%s');\n let returnString = '';\n\n // Replace up to the last split part. We are inserting in the\n // positions between split parts.\n const subLast = splitParts.length - 1;\n for (let i = 0; i < subLast; i++) {\n // keep unsupplied as '%s'\n const sub = (i < subs.length) ? subs[i] : '%s';\n returnString += splitParts[i] + sub;\n }\n return returnString + splitParts[subLast];\n}\n\n\n/**\n * Throws an exception with the given message and \"Assertion failed\" prefixed\n * onto it.\n * @param {string} defaultMessage The message to use if givenMessage is empty.\n * @param {?Array<*>} defaultArgs The substitution arguments for defaultMessage.\n * @param {string|undefined} givenMessage Message supplied by the caller.\n * @param {!Array<*>} givenArgs The substitution arguments for givenMessage.\n * @throws {AssertionError} When the value is not a number.\n */\nfunction doAssertFailure(defaultMessage, defaultArgs, givenMessage, givenArgs) {\n let message = 'Assertion failed';\n let args;\n if (givenMessage) {\n message += ': ' + givenMessage;\n args = givenArgs;\n } else if (defaultMessage) {\n message += ': ' + defaultMessage;\n args = defaultArgs;\n }\n // The '' + works around an Opera 10 bug in the unit tests. Without it,\n // a stack trace is added to var message above. With this, a stack trace is\n // not added until this line (it causes the extra garbage to be added after\n // the assertion message instead of in the middle of it).\n const e = new AssertionError('' + message, args || []);\n errorHandler_(e);\n}\n\n\n/**\n * Sets a custom error handler that can be used to customize the behavior of\n * assertion failures, for example by turning all assertion failures into log\n * messages.\n * @param {function(!AssertionError)} errorHandler\n * @return {void}\n */\nexports.setErrorHandler = function(errorHandler) {\n if (exports.ENABLE_ASSERTS) {\n errorHandler_ = errorHandler;\n }\n};\n\n\n/**\n * Checks if the condition evaluates to true if ENABLE_ASSERTS is\n * true.\n * @template T\n * @param {T} condition The condition to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {T} The value of the condition.\n * @throws {AssertionError} When the condition evaluates to false.\n * @closurePrimitive {asserts.truthy}\n */\nexports.assert = function(condition, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && !condition) {\n doAssertFailure(\n '', null, opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return condition;\n};\n\n\n/**\n * Checks if `value` is `null` or `undefined` if goog.asserts.ENABLE_ASSERTS is\n * true.\n *\n * @param {T} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {R} `value` with its type narrowed to exclude `null` and `undefined`.\n *\n * @template T\n * @template R :=\n * mapunion(T, (V) =>\n * cond(eq(V, 'null'),\n * none(),\n * cond(eq(V, 'undefined'),\n * none(),\n * V)))\n * =:\n *\n * @throws {!AssertionError} When `value` is `null` or `undefined`.\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertExists = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && value == null) {\n doAssertFailure(\n 'Expected to exist: %s.', [value], opt_message,\n Array.prototype.slice.call(arguments, 2));\n }\n return value;\n};\n\n\n/**\n * Fails if goog.asserts.ENABLE_ASSERTS is true. This function is useful in case\n * when we want to add a check in the unreachable area like switch-case\n * statement:\n *\n *
\n *  switch(type) {\n *    case FOO: doSomething(); break;\n *    case BAR: doSomethingElse(); break;\n *    default: goog.asserts.fail('Unrecognized type: ' + type);\n *      // We have only 2 types - \"default:\" section is unreachable code.\n *  }\n * 
\n *\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {void}\n * @throws {AssertionError} Failure.\n * @closurePrimitive {asserts.fail}\n */\nexports.fail = function(opt_message, var_args) {\n if (exports.ENABLE_ASSERTS) {\n errorHandler_(new AssertionError(\n 'Failure' + (opt_message ? ': ' + opt_message : ''),\n Array.prototype.slice.call(arguments, 1)));\n }\n};\n\n\n/**\n * Checks if the value is a number if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {number} The value, guaranteed to be a number when asserts enabled.\n * @throws {AssertionError} When the value is not a number.\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertNumber = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && typeof value !== 'number') {\n doAssertFailure(\n 'Expected number but got %s: %s.', [goog.typeOf(value), value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {number} */ (value);\n};\n\n\n/**\n * Checks if the value is a string if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {string} The value, guaranteed to be a string when asserts enabled.\n * @throws {AssertionError} When the value is not a string.\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertString = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && typeof value !== 'string') {\n doAssertFailure(\n 'Expected string but got %s: %s.', [goog.typeOf(value), value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {string} */ (value);\n};\n\n\n/**\n * Checks if the value is a function if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {!Function} The value, guaranteed to be a function when asserts\n * enabled.\n * @throws {AssertionError} When the value is not a function.\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertFunction = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && typeof value !== 'function') {\n doAssertFailure(\n 'Expected function but got %s: %s.', [goog.typeOf(value), value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {!Function} */ (value);\n};\n\n\n/**\n * Checks if the value is an Object if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {!Object} The value, guaranteed to be a non-null object.\n * @throws {AssertionError} When the value is not an object.\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertObject = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && !goog.isObject(value)) {\n doAssertFailure(\n 'Expected object but got %s: %s.', [goog.typeOf(value), value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {!Object} */ (value);\n};\n\n\n/**\n * Checks if the value is an Array if ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {!Array} The value, guaranteed to be a non-null array.\n * @throws {AssertionError} When the value is not an array.\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertArray = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && !Array.isArray(value)) {\n doAssertFailure(\n 'Expected array but got %s: %s.', [goog.typeOf(value), value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {!Array} */ (value);\n};\n\n\n/**\n * Checks if the value is a boolean if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {boolean} The value, guaranteed to be a boolean when asserts are\n * enabled.\n * @throws {AssertionError} When the value is not a boolean.\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertBoolean = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && typeof value !== 'boolean') {\n doAssertFailure(\n 'Expected boolean but got %s: %s.', [goog.typeOf(value), value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {boolean} */ (value);\n};\n\n\n/**\n * Checks if the value is a DOM Element if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @return {!Element} The value, likely to be a DOM Element when asserts are\n * enabled.\n * @throws {AssertionError} When the value is not an Element.\n * @closurePrimitive {asserts.matchesReturn}\n * @deprecated Use goog.asserts.dom.assertIsElement instead.\n */\nexports.assertElement = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS &&\n (!goog.isObject(value) ||\n /** @type {!Node} */ (value).nodeType != NodeType.ELEMENT)) {\n doAssertFailure(\n 'Expected Element but got %s: %s.', [goog.typeOf(value), value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {!Element} */ (value);\n};\n\n\n/**\n * Checks if the value is an instance of the user-defined type if\n * goog.asserts.ENABLE_ASSERTS is true.\n *\n * The compiler may tighten the type returned by this function.\n *\n * Do not use this to ensure a value is an HTMLElement or a subclass! Cross-\n * document DOM inherits from separate - though identical - browser classes, and\n * such a check will unexpectedly fail. Please use the methods in\n * goog.asserts.dom for these purposes.\n *\n * @param {?} value The value to check.\n * @param {function(new: T, ...)} type A user-defined constructor.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @throws {AssertionError} When the value is not an instance of\n * type.\n * @return {T}\n * @template T\n * @closurePrimitive {asserts.matchesReturn}\n */\nexports.assertInstanceof = function(value, type, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS && !(value instanceof type)) {\n doAssertFailure(\n 'Expected instanceof %s but got %s.', [getType(type), getType(value)],\n opt_message, Array.prototype.slice.call(arguments, 3));\n }\n return value;\n};\n\n\n/**\n * Checks whether the value is a finite number, if ENABLE_ASSERTS\n * is true.\n *\n * @param {*} value The value to check.\n * @param {string=} opt_message Error message in case of failure.\n * @param {...*} var_args The items to substitute into the failure message.\n * @throws {AssertionError} When the value is not a number, or is\n * a non-finite number such as NaN, Infinity or -Infinity.\n * @return {number} The value initially passed in.\n */\nexports.assertFinite = function(value, opt_message, var_args) {\n if (exports.ENABLE_ASSERTS &&\n (typeof value != 'number' || !isFinite(value))) {\n doAssertFailure(\n 'Expected %s to be a finite number but it is not.', [value],\n opt_message, Array.prototype.slice.call(arguments, 2));\n }\n return /** @type {number} */ (value);\n};\n\n/**\n * Returns the type of a value. If a constructor is passed, and a suitable\n * string cannot be found, 'unknown type name' will be returned.\n * @param {*} value A constructor, object, or primitive.\n * @return {string} The best display name for the value, or 'unknown type name'.\n */\nfunction getType(value) {\n if (value instanceof Function) {\n return value.displayName || value.name || 'unknown type name';\n } else if (value instanceof Object) {\n return /** @type {string} */ (value.constructor.displayName) ||\n value.constructor.name || Object.prototype.toString.call(value);\n } else {\n return value === null ? 'null' : typeof value;\n }\n}\n"], +"names":["AssertionError","messagePattern","messageArgs","DebugError","call","subs","pattern","splitParts","split","returnString","subLast","length","i","sub","doAssertFailure","defaultMessage","defaultArgs","givenMessage","givenArgs","message","args","e","errorHandler_","getType","value","Function","displayName","name","Object","constructor","prototype","toString","goog","module","declareLegacyNamespace","require","NodeType","exports","ENABLE_ASSERTS","define","DEBUG","inherits","DEFAULT_ERROR_HANDLER","exports.DEFAULT_ERROR_HANDLER","setErrorHandler","exports.setErrorHandler","errorHandler","assert","exports.assert","condition","opt_message","var_args","Array","slice","arguments","assertExists","exports.assertExists","fail","exports.fail","assertNumber","exports.assertNumber","typeOf","assertString","exports.assertString","assertFunction","exports.assertFunction","assertObject","exports.assertObject","isObject","assertArray","exports.assertArray","isArray","assertBoolean","exports.assertBoolean","assertElement","exports.assertElement","nodeType","ELEMENT","assertInstanceof","exports.assertInstanceof","type","assertFinite","exports.assertFinite","isFinite"] +} diff --git a/out/cljs-runtime/goog.asserts.dom.js b/out/cljs-runtime/goog.asserts.dom.js new file mode 100644 index 0000000..cb437e1 --- /dev/null +++ b/out/cljs-runtime/goog.asserts.dom.js @@ -0,0 +1,86 @@ +goog.loadModule(function(exports) { + "use strict"; + goog.module("goog.asserts.dom"); + goog.module.declareLegacyNamespace(); + const TagName = goog.require("goog.dom.TagName"); + const asserts = goog.require("goog.asserts"); + const element = goog.require("goog.dom.element"); + const assertIsElement = value => { + if (asserts.ENABLE_ASSERTS && !element.isElement(value)) { + asserts.fail(`Argument is not an Element; got: ${debugStringForType(value)}`); + } + return value; + }; + const assertIsHtmlElement = value => { + if (asserts.ENABLE_ASSERTS && !element.isHtmlElement(value)) { + asserts.fail(`Argument is not an HTML Element; got: ${debugStringForType(value)}`); + } + return value; + }; + const assertIsHtmlElementOfType = (value, tagName) => { + if (asserts.ENABLE_ASSERTS && !element.isHtmlElementOfType(value, tagName)) { + asserts.fail(`Argument is not an HTML Element with tag name ` + `${tagName.toString()}; got: ${debugStringForType(value)}`); + } + return value; + }; + const assertIsHtmlAnchorElement = value => { + return assertIsHtmlElementOfType(value, TagName.A); + }; + const assertIsHtmlButtonElement = value => { + return assertIsHtmlElementOfType(value, TagName.BUTTON); + }; + const assertIsHtmlLinkElement = value => { + return assertIsHtmlElementOfType(value, TagName.LINK); + }; + const assertIsHtmlImageElement = value => { + return assertIsHtmlElementOfType(value, TagName.IMG); + }; + const assertIsHtmlAudioElement = value => { + return assertIsHtmlElementOfType(value, TagName.AUDIO); + }; + const assertIsHtmlVideoElement = value => { + return assertIsHtmlElementOfType(value, TagName.VIDEO); + }; + const assertIsHtmlInputElement = value => { + return assertIsHtmlElementOfType(value, TagName.INPUT); + }; + const assertIsHtmlTextAreaElement = value => { + return assertIsHtmlElementOfType(value, TagName.TEXTAREA); + }; + const assertIsHtmlCanvasElement = value => { + return assertIsHtmlElementOfType(value, TagName.CANVAS); + }; + const assertIsHtmlEmbedElement = value => { + return assertIsHtmlElementOfType(value, TagName.EMBED); + }; + const assertIsHtmlFormElement = value => { + return assertIsHtmlElementOfType(value, TagName.FORM); + }; + const assertIsHtmlFrameElement = value => { + return assertIsHtmlElementOfType(value, TagName.FRAME); + }; + const assertIsHtmlIFrameElement = value => { + return assertIsHtmlElementOfType(value, TagName.IFRAME); + }; + const assertIsHtmlObjectElement = value => { + return assertIsHtmlElementOfType(value, TagName.OBJECT); + }; + const assertIsHtmlScriptElement = value => { + return assertIsHtmlElementOfType(value, TagName.SCRIPT); + }; + const debugStringForType = value => { + if (goog.isObject(value)) { + try { + return value.constructor.displayName || value.constructor.name || Object.prototype.toString.call(value); + } catch (e) { + return "\x3cobject could not be stringified\x3e"; + } + } else { + return value === undefined ? "undefined" : value === null ? "null" : typeof value; + } + }; + exports = {assertIsElement, assertIsHtmlElement, assertIsHtmlElementOfType, assertIsHtmlAnchorElement, assertIsHtmlButtonElement, assertIsHtmlLinkElement, assertIsHtmlImageElement, assertIsHtmlAudioElement, assertIsHtmlVideoElement, assertIsHtmlInputElement, assertIsHtmlTextAreaElement, assertIsHtmlCanvasElement, assertIsHtmlEmbedElement, assertIsHtmlFormElement, assertIsHtmlFrameElement, assertIsHtmlIFrameElement, assertIsHtmlObjectElement, assertIsHtmlScriptElement}; + return exports; +}); + +//# sourceMappingURL=goog.asserts.dom.js.map diff --git a/out/cljs-runtime/goog.asserts.dom.js.map b/out/cljs-runtime/goog.asserts.dom.js.map new file mode 100644 index 0000000..4376058 --- /dev/null +++ b/out/cljs-runtime/goog.asserts.dom.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"goog.asserts.dom.js", +"lineCount":85, +"mappings":"AAAA,IAAA,CAAA,UAAA,CAAA,QAAA,CAAA,OAAA,CAAA;AAAA,cAAA;AAMAA,MAAKC,CAAAA,MAAL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AeRE,wBAfQ,EAgBRE,yBAhBQ,EAiBRE,yBAjBQ,EAkBRE,yBAlBQ,CAAV;AA5QA,SAAA,OAAA;AAAA,CAAA,CAAA;;", +"sources":["goog/asserts/dom.js"], +"sourcesContent":["/**\n * @license\n * Copyright The Closure Library Authors.\n * SPDX-License-Identifier: Apache-2.0\n */\n\ngoog.module('goog.asserts.dom');\ngoog.module.declareLegacyNamespace();\n\nconst TagName = goog.require('goog.dom.TagName');\nconst asserts = goog.require('goog.asserts');\nconst element = goog.require('goog.dom.element');\n\n/**\n * Checks if the value is a DOM Element if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @return {!Element} The value, likely to be a DOM Element when asserts are\n * enabled.\n * @throws {!asserts.AssertionError} When the value is not an Element.\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsElement = (value) => {\n if (asserts.ENABLE_ASSERTS && !element.isElement(value)) {\n asserts.fail(\n `Argument is not an Element; got: ${debugStringForType(value)}`);\n }\n return /** @type {!Element} */ (value);\n};\n\n/**\n * Checks if the value is a DOM HTMLElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value The value to check.\n * @return {!HTMLElement} The value, likely to be a DOM HTMLElement when asserts\n * are enabled.\n * @throws {!asserts.AssertionError} When the value is not an HTMLElement.\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlElement = (value) => {\n if (asserts.ENABLE_ASSERTS && !element.isHtmlElement(value)) {\n asserts.fail(\n `Argument is not an HTML Element; got: ${debugStringForType(value)}`);\n }\n return /** @type {!HTMLElement} */ (value);\n};\n\n/**\n * Checks if the value is a DOM HTMLElement of the specified tag name / subclass\n * if goog.asserts.ENABLE_ASSERTS is true.\n * @param {*} value The value to check.\n * @param {!TagName} tagName The element tagName to verify the value against.\n * @return {T} The value, likely to be a DOM HTMLElement when asserts are\n * enabled. The exact return type will match the parameterized type\n * of the tagName as specified in goog.dom.TagName.\n * @throws {!asserts.AssertionError} When the value is not an HTMLElement with\n * the appropriate tagName.\n * @template T\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlElementOfType = (value, tagName) => {\n if (asserts.ENABLE_ASSERTS && !element.isHtmlElementOfType(value, tagName)) {\n asserts.fail(\n `Argument is not an HTML Element with tag name ` +\n `${tagName.toString()}; got: ${debugStringForType(value)}`);\n }\n return /** @type {T} */ (value);\n};\n\n/**\n * Checks if the value is an HTMLAnchorElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLAnchorElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlAnchorElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.A);\n};\n\n/**\n * Checks if the value is an HTMLButtonElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLButtonElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlButtonElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.BUTTON);\n};\n\n/**\n * Checks if the value is an HTMLLinkElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLLinkElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlLinkElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.LINK);\n};\n\n/**\n * Checks if the value is an HTMLImageElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLImageElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlImageElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.IMG);\n};\n\n/**\n * Checks if the value is an HTMLAudioElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLAudioElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlAudioElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.AUDIO);\n};\n\n/**\n * Checks if the value is an HTMLVideoElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLVideoElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlVideoElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.VIDEO);\n};\n\n/**\n * Checks if the value is an HTMLInputElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLInputElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlInputElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.INPUT);\n};\n\n/**\n * Checks if the value is an HTMLTextAreaElement if goog.asserts.ENABLE_ASSERTS\n * is true.\n * @param {*} value\n * @return {!HTMLTextAreaElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlTextAreaElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.TEXTAREA);\n};\n\n/**\n * Checks if the value is an HTMLCanvasElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLCanvasElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlCanvasElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.CANVAS);\n};\n\n/**\n * Checks if the value is an HTMLEmbedElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLEmbedElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlEmbedElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.EMBED);\n};\n\n/**\n * Checks if the value is an HTMLFormElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLFormElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlFormElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.FORM);\n};\n\n/**\n * Checks if the value is an HTMLFrameElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLFrameElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlFrameElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.FRAME);\n};\n\n/**\n * Checks if the value is an HTMLIFrameElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLIFrameElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlIFrameElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.IFRAME);\n};\n\n/**\n * Checks if the value is an HTMLObjectElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLObjectElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlObjectElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.OBJECT);\n};\n\n/**\n * Checks if the value is an HTMLScriptElement if goog.asserts.ENABLE_ASSERTS is\n * true.\n * @param {*} value\n * @return {!HTMLScriptElement}\n * @throws {!asserts.AssertionError}\n * @closurePrimitive {asserts.matchesReturn}\n */\nconst assertIsHtmlScriptElement = (value) => {\n return assertIsHtmlElementOfType(value, TagName.SCRIPT);\n};\n\n/**\n * Returns a string representation of a value's type.\n * @param {*} value An object, or primitive.\n * @return {string} The best display name for the value.\n */\nconst debugStringForType = (value) => {\n if (goog.isObject(value)) {\n try {\n return /** @type {string|undefined} */ (value.constructor.displayName) ||\n value.constructor.name ||\n Object.prototype.toString.call(value);\n } catch (e) {\n return '';\n }\n } else {\n return value === undefined ? 'undefined' :\n value === null ? 'null' : typeof value;\n }\n};\n\nexports = {\n assertIsElement,\n assertIsHtmlElement,\n assertIsHtmlElementOfType,\n assertIsHtmlAnchorElement,\n assertIsHtmlButtonElement,\n assertIsHtmlLinkElement,\n assertIsHtmlImageElement,\n assertIsHtmlAudioElement,\n assertIsHtmlVideoElement,\n assertIsHtmlInputElement,\n assertIsHtmlTextAreaElement,\n assertIsHtmlCanvasElement,\n assertIsHtmlEmbedElement,\n assertIsHtmlFormElement,\n assertIsHtmlFrameElement,\n assertIsHtmlIFrameElement,\n assertIsHtmlObjectElement,\n assertIsHtmlScriptElement,\n};\n"], +"names":["goog","module","declareLegacyNamespace","TagName","require","asserts","element","assertIsElement","value","ENABLE_ASSERTS","isElement","fail","debugStringForType","assertIsHtmlElement","isHtmlElement","assertIsHtmlElementOfType","tagName","isHtmlElementOfType","toString","assertIsHtmlAnchorElement","A","assertIsHtmlButtonElement","BUTTON","assertIsHtmlLinkElement","LINK","assertIsHtmlImageElement","IMG","assertIsHtmlAudioElement","AUDIO","assertIsHtmlVideoElement","VIDEO","assertIsHtmlInputElement","INPUT","assertIsHtmlTextAreaElement","TEXTAREA","assertIsHtmlCanvasElement","CANVAS","assertIsHtmlEmbedElement","EMBED","assertIsHtmlFormElement","FORM","assertIsHtmlFrameElement","FRAME","assertIsHtmlIFrameElement","IFRAME","assertIsHtmlObjectElement","OBJECT","assertIsHtmlScriptElement","SCRIPT","isObject","constructor","displayName","name","Object","prototype","call","e","undefined","exports"] +} diff --git a/out/cljs-runtime/goog.async.nexttick.js b/out/cljs-runtime/goog.async.nexttick.js new file mode 100644 index 0000000..568412e --- /dev/null +++ b/out/cljs-runtime/goog.async.nexttick.js @@ -0,0 +1,86 @@ +goog.provide("goog.async.nextTick"); +goog.require("goog.debug.entryPointRegistry"); +goog.require("goog.dom"); +goog.require("goog.dom.TagName"); +goog.require("goog.functions"); +goog.require("goog.labs.userAgent.browser"); +goog.require("goog.labs.userAgent.engine"); +goog.async.nextTick = function(callback, opt_context, opt_useSetImmediate) { + var cb = callback; + if (opt_context) { + cb = goog.bind(callback, opt_context); + } + cb = goog.async.nextTick.wrapCallback_(cb); + if (typeof goog.global.setImmediate === "function" && (opt_useSetImmediate || goog.async.nextTick.useSetImmediate_())) { + goog.global.setImmediate(cb); + return; + } + if (!goog.async.nextTick.nextTickImpl) { + goog.async.nextTick.nextTickImpl = goog.async.nextTick.getNextTickImpl_(); + } + goog.async.nextTick.nextTickImpl(cb); +}; +goog.async.nextTick.useSetImmediate_ = function() { + if (!goog.global.Window || !goog.global.Window.prototype) { + return true; + } + if (goog.labs.userAgent.browser.isEdge() || goog.global.Window.prototype.setImmediate != goog.global.setImmediate) { + return true; + } + return false; +}; +goog.async.nextTick.nextTickImpl; +goog.async.nextTick.getNextTickImpl_ = function() { + var Channel = goog.global["MessageChannel"]; + if (typeof Channel === "undefined" && typeof window !== "undefined" && window.postMessage && window.addEventListener && !goog.labs.userAgent.engine.isPresto()) { + Channel = function() { + var iframe = goog.dom.createElement(goog.dom.TagName.IFRAME); + iframe.style.display = "none"; + document.documentElement.appendChild(iframe); + var win = iframe.contentWindow; + var doc = win.document; + doc.open(); + doc.close(); + var message = "callImmediate" + Math.random(); + var origin = win.location.protocol == "file:" ? "*" : win.location.protocol + "//" + win.location.host; + var onmessage = goog.bind(function(e) { + if (origin != "*" && e.origin != origin || e.data != message) { + return; + } + this["port1"].onmessage(); + }, this); + win.addEventListener("message", onmessage, false); + this["port1"] = {}; + this["port2"] = {postMessage:function() { + win.postMessage(message, origin); + }}; + }; + } + if (typeof Channel !== "undefined" && !goog.labs.userAgent.browser.isIE()) { + var channel = new Channel(); + var head = {}; + var tail = head; + channel["port1"].onmessage = function() { + if (head.next !== undefined) { + head = head.next; + var cb = head.cb; + head.cb = null; + cb(); + } + }; + return function(cb) { + tail.next = {cb:cb}; + tail = tail.next; + channel["port2"].postMessage(0); + }; + } + return function(cb) { + goog.global.setTimeout(cb, 0); + }; +}; +goog.async.nextTick.wrapCallback_ = goog.functions.identity; +goog.debug.entryPointRegistry.register(function(transformer) { + goog.async.nextTick.wrapCallback_ = transformer; +}); + +//# sourceMappingURL=goog.async.nexttick.js.map diff --git a/out/cljs-runtime/goog.async.nexttick.js.map b/out/cljs-runtime/goog.async.nexttick.js.map new file mode 100644 index 0000000..71c232d --- /dev/null +++ b/out/cljs-runtime/goog.async.nexttick.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"goog.async.nexttick.js", +"lineCount":85, +"mappings":"AAYAA,IAAKC,CAAAA,OAAL,CAAa,qBAAb,CAAA;AAEAD,IAAKE,CAAAA,OAAL,CAAa,+BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,UAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,kBAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,gBAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,6BAAb,CAAA;AACAF,IAAKE,CAAAA,OAAL,CAAa,4BAAb,CAAA;AAoBAF,IAAKG,CAAAA,KAAMC,CAAAA,QAAX,GAAsBC,QAAQ,CAACC,QAAD,EAAWC,WAAX,EAAwBC,mBAAxB,CAA6C;AAEzE,MAAIC,KAAKH,QAAT;AACA,MAAIC,WAAJ;AACEE,MAAA,GAAKT,IAAKU,CAAAA,IAAL,CAAUJ,QAAV,EAAoBC,WAApB,CAAL;AADF;AAGAE,IAAA,GAAKT,IAAKG,CAAAA,KAAMC,CAAAA,QAASO,CAAAA,aAApB,CAAkCF,EAAlC,CAAL;AAKA,MAAI,MAAOT,KAAKY,CAAAA,MAAOC,CAAAA,YAAvB,KAAwC,UAAxC,KACKL,mBADL,IAC4BR,IAAKG,CAAAA,KAAMC,CAAAA,QAASU,CAAAA,gBAApB,EAD5B,EACqE;AACnEd,QAAKY,CAAAA,MAAOC,CAAAA,YAAZ,CAAyBJ,EAAzB,CAAA;AACA;AAFmE;AAMrE,MAAI,CAACT,IAAKG,CAAAA,KAAMC,CAAAA,QAASW,CAAAA,YAAzB;AACEf,QAAKG,CAAAA,KAA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AAvC,CAA2E;AAMzE,QAAIC,UAAU,IAAIhC,OAAJ,EAAd;AAEA,QAAIiC,OAAO,EAAX;AACA,QAAIC,OAAOD,IAAX;AACAD,WAAA,CAAQ,OAAR,CAAiBJ,CAAAA,SAAjB,GAA6B,QAAQ,EAAG;AAEtC,UAAIK,IAAKE,CAAAA,IAAT,KAAkBC,SAAlB,CAA6B;AAC3BH,YAAA,GAAOA,IAAKE,CAAAA,IAAZ;AACA,YAAInD,KAAKiD,IAAKjD,CAAAA,EAAd;AACAiD,YAAKjD,CAAAA,EAAL,GAAU,IAAV;AACAA,UAAA,EAAA;AAJ2B;AAFS,KAAxC;AASA,WAAO,QAAQ,CAACA,EAAD,CAAK;AAElBkD,UAAKC,CAAAA,IAAL,GAAY,CAACnD,GAAIA,EAAL,CAAZ;AACAkD,UAAA,GAAOA,IAAKC,CAAAA,IAAZ;AACAH,aAAA,CAAQ,OAAR,CAAiB9B,CAAAA,WAAjB,CAA6B,CAA7B,CAAA;AAJkB,KAApB;AAnByE;AA6B3E,SAAO,QAAQ,CAAClB,EAAD,CAAK;AAElBT,QAAKY,CAAAA,MAAOkD,CAAAA,UAAZ,CAAkDrD,EAAlD,EAAuD,CAAvD,CAAA;AAFkB,GAApB;AArFgD,CAAlD;AAmGAT,IAAKG,CAAAA,KAAMC,CAAAA,QAASO,CAAAA,aAApB,GAAoCX,IAAK+D,CAAAA,SAAUC,CAAAA,QAAnD;AAMAhE,IAAKiE,CAAAA,KAAMC,CAAAA,kBAAmBC,CAAAA,QAA9B,CAKI,QAAQ,CAACC,WAAD,CAAc;AAEpBpE,MAAKG,CAAAA,KAAMC,CAAAA,QAASO,CAAAA,aAApB,GAAoCyD,WAApC;AAFoB,CAL1B,CAAA;;", +"sources":["goog/async/nexttick.js"], +"sourcesContent":["/**\n * @license\n * Copyright The Closure Library Authors.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @fileoverview Provides a function to schedule running a function as soon\n * as possible after the current JS execution stops and yields to the event\n * loop.\n */\n\ngoog.provide('goog.async.nextTick');\n\ngoog.require('goog.debug.entryPointRegistry');\ngoog.require('goog.dom');\ngoog.require('goog.dom.TagName');\ngoog.require('goog.functions');\ngoog.require('goog.labs.userAgent.browser');\ngoog.require('goog.labs.userAgent.engine');\n\n\n/**\n * Fires the provided callbacks as soon as possible after the current JS\n * execution context. setTimeout(\u2026, 0) takes at least 4ms when called from\n * within another setTimeout(\u2026, 0) for legacy reasons.\n *\n * This will not schedule the callback as a microtask (i.e. a task that can\n * preempt user input or networking callbacks). It is meant to emulate what\n * setTimeout(_, 0) would do if it were not throttled. If you desire microtask\n * behavior, use {@see goog.Promise} instead.\n *\n * @param {function(this:SCOPE)} callback Callback function to fire as soon as\n * possible.\n * @param {SCOPE=} opt_context Object in whose scope to call the listener.\n * @param {boolean=} opt_useSetImmediate Avoid the IE workaround that\n * ensures correctness at the cost of speed. See comments for details.\n * @template SCOPE\n */\ngoog.async.nextTick = function(callback, opt_context, opt_useSetImmediate) {\n 'use strict';\n var cb = callback;\n if (opt_context) {\n cb = goog.bind(callback, opt_context);\n }\n cb = goog.async.nextTick.wrapCallback_(cb);\n // Note we do allow callers to also request setImmediate if they are willing\n // to accept the possible tradeoffs of incorrectness in exchange for speed.\n // The IE fallback of readystate change is much slower. See useSetImmediate_\n // for details.\n if (typeof goog.global.setImmediate === 'function' &&\n (opt_useSetImmediate || goog.async.nextTick.useSetImmediate_())) {\n goog.global.setImmediate(cb);\n return;\n }\n\n // Look for and cache the custom fallback version of setImmediate.\n if (!goog.async.nextTick.nextTickImpl) {\n goog.async.nextTick.nextTickImpl = goog.async.nextTick.getNextTickImpl_();\n }\n goog.async.nextTick.nextTickImpl(cb);\n};\n\n\n/**\n * Returns whether should use setImmediate implementation currently on window.\n *\n * window.setImmediate was introduced and currently only supported by IE10+,\n * but due to a bug in the implementation it is not guaranteed that\n * setImmediate is faster than setTimeout nor that setImmediate N is before\n * setImmediate N+1. That is why we do not use the native version if\n * available. We do, however, call setImmediate if it is a non-native function\n * because that indicates that it has been replaced by goog.testing.MockClock\n * which we do want to support.\n * See\n * http://connect.microsoft.com/IE/feedback/details/801823/setimmediate-and-messagechannel-are-broken-in-ie10\n *\n * @return {boolean} Whether to use the implementation of setImmediate defined\n * on Window.\n * @private\n * @suppress {missingProperties} For \"Window.prototype.setImmediate\"\n */\ngoog.async.nextTick.useSetImmediate_ = function() {\n 'use strict';\n // Not a browser environment.\n if (!goog.global.Window || !goog.global.Window.prototype) {\n return true;\n }\n\n // MS Edge has window.setImmediate natively, but it's not on Window.prototype.\n // Also, there's no clean way to detect if the goog.global.setImmediate has\n // been replaced by mockClock as its replacement also shows up as \"[native\n // code]\" when using toString. Therefore, just always use\n // goog.global.setImmediate for Edge. It's unclear if it suffers the same\n // issues as IE10/11, but based on\n // https://dev.modern.ie/testdrive/demos/setimmediatesorting/\n // it seems they've been working to ensure it's WAI.\n if (goog.labs.userAgent.browser.isEdge() ||\n goog.global.Window.prototype.setImmediate != goog.global.setImmediate) {\n // Something redefined setImmediate in which case we decide to use it (This\n // is so that we use the mockClock setImmediate).\n return true;\n }\n\n return false;\n};\n\n\n/**\n * Cache for the nextTick implementation. Exposed so tests can replace it,\n * if needed.\n * @type {function(function())}\n */\ngoog.async.nextTick.nextTickImpl;\n\n\n/**\n * Determines the best possible implementation to run a function as soon as\n * the JS event loop is idle.\n * @return {function(function())} The \"setImmediate\" implementation.\n * @private\n */\ngoog.async.nextTick.getNextTickImpl_ = function() {\n 'use strict';\n // Create a private message channel and use it to postMessage empty messages\n // to ourselves.\n /** @type {!Function|undefined} */\n var Channel = goog.global['MessageChannel'];\n // If MessageChannel is not available and we are in a browser, implement\n // an iframe based polyfill in browsers that have postMessage and\n // document.addEventListener. The latter excludes IE8 because it has a\n // synchronous postMessage implementation.\n if (typeof Channel === 'undefined' && typeof window !== 'undefined' &&\n window.postMessage && window.addEventListener &&\n // Presto (The old pre-blink Opera engine) has problems with iframes\n // and contentWindow.\n !goog.labs.userAgent.engine.isPresto()) {\n /** @constructor */\n Channel = function() {\n 'use strict';\n // Make an empty, invisible iframe.\n var iframe = goog.dom.createElement(goog.dom.TagName.IFRAME);\n iframe.style.display = 'none';\n document.documentElement.appendChild(iframe);\n var win = iframe.contentWindow;\n var doc = win.document;\n doc.open();\n doc.close();\n // Do not post anything sensitive over this channel, as the workaround for\n // pages with file: origin could allow that information to be modified or\n // intercepted.\n var message = 'callImmediate' + Math.random();\n // The same origin policy rejects attempts to postMessage from file: urls\n // unless the origin is '*'.\n var origin = win.location.protocol == 'file:' ?\n '*' :\n win.location.protocol + '//' + win.location.host;\n var onmessage = goog.bind(function(e) {\n 'use strict';\n // Validate origin and message to make sure that this message was\n // intended for us. If the origin is set to '*' (see above) only the\n // message needs to match since, for example, '*' != 'file://'. Allowing\n // the wildcard is ok, as we are not concerned with security here.\n if ((origin != '*' && e.origin != origin) || e.data != message) {\n return;\n }\n this['port1'].onmessage();\n }, this);\n win.addEventListener('message', onmessage, false);\n this['port1'] = {};\n this['port2'] = {\n postMessage: function() {\n 'use strict';\n win.postMessage(message, origin);\n }\n };\n };\n }\n if (typeof Channel !== 'undefined' && !goog.labs.userAgent.browser.isIE()) {\n // Exclude all of IE due to\n // http://codeforhire.com/2013/09/21/setimmediate-and-messagechannel-broken-on-internet-explorer-10/\n // which allows starving postMessage with a busy setTimeout loop.\n // This currently affects IE10 and IE11 which would otherwise be able\n // to use the postMessage based fallbacks.\n var channel = new Channel();\n // Use a fifo linked list to call callbacks in the right order.\n var head = {};\n var tail = head;\n channel['port1'].onmessage = function() {\n 'use strict';\n if (head.next !== undefined) {\n head = head.next;\n var cb = head.cb;\n head.cb = null;\n cb();\n }\n };\n return function(cb) {\n 'use strict';\n tail.next = {cb: cb};\n tail = tail.next;\n channel['port2'].postMessage(0);\n };\n }\n // Fall back to setTimeout with 0. In browsers this creates a delay of 5ms\n // or more.\n // NOTE(user): This fallback is used for IE.\n return function(cb) {\n 'use strict';\n goog.global.setTimeout(/** @type {function()} */ (cb), 0);\n };\n};\n\n\n/**\n * Helper function that is overrided to protect callbacks with entry point\n * monitor if the application monitors entry points.\n * @param {function()} callback Callback function to fire as soon as possible.\n * @return {function()} The wrapped callback.\n * @private\n */\ngoog.async.nextTick.wrapCallback_ = goog.functions.identity;\n\n\n// Register the callback function as an entry point, so that it can be\n// monitored for exception handling, etc. This has to be done in this file\n// since it requires special code to handle all browsers.\ngoog.debug.entryPointRegistry.register(\n /**\n * @param {function(!Function): !Function} transformer The transforming\n * function.\n */\n function(transformer) {\n 'use strict';\n goog.async.nextTick.wrapCallback_ = transformer;\n });\n"], +"names":["goog","provide","require","async","nextTick","goog.async.nextTick","callback","opt_context","opt_useSetImmediate","cb","bind","wrapCallback_","global","setImmediate","useSetImmediate_","nextTickImpl","getNextTickImpl_","goog.async.nextTick.useSetImmediate_","Window","prototype","labs","userAgent","browser","isEdge","goog.async.nextTick.getNextTickImpl_","Channel","window","postMessage","addEventListener","engine","isPresto","iframe","dom","createElement","TagName","IFRAME","style","display","document","documentElement","appendChild","win","contentWindow","doc","open","close","message","Math","random","origin","location","protocol","host","onmessage","e","data","isIE","channel","head","tail","next","undefined","setTimeout","functions","identity","debug","entryPointRegistry","register","transformer"] +} diff --git a/out/cljs-runtime/goog.base.js b/out/cljs-runtime/goog.base.js new file mode 100644 index 0000000..63368ff --- /dev/null +++ b/out/cljs-runtime/goog.base.js @@ -0,0 +1,1259 @@ +var COMPILED = false; +var goog = goog || {}; +goog.global = this || self; +goog.global.CLOSURE_UNCOMPILED_DEFINES; +goog.global.CLOSURE_DEFINES; +goog.exportPath_ = function(name, object, overwriteImplicit, objectToExportTo) { + var parts = name.split("."); + var cur = objectToExportTo || goog.global; + if (!(parts[0] in cur) && typeof cur.execScript != "undefined") { + cur.execScript("var " + parts[0]); + } + var part; + for (; parts.length && (part = parts.shift());) { + if (!parts.length && object !== undefined) { + if (!overwriteImplicit && goog.isObject(object) && goog.isObject(cur[part])) { + var prop; + for (prop in object) { + if (object.hasOwnProperty(prop)) { + cur[part][prop] = object[prop]; + } + } + } else { + cur[part] = object; + } + } else if (cur[part] && cur[part] !== Object.prototype[part]) { + cur = cur[part]; + } else { + cur = cur[part] = {}; + } + } +}; +goog.define = function(name, defaultValue) { + var value = defaultValue; + if (!COMPILED) { + var uncompiledDefines = goog.global.CLOSURE_UNCOMPILED_DEFINES; + var defines = goog.global.CLOSURE_DEFINES; + if (uncompiledDefines && uncompiledDefines.nodeType === undefined && Object.prototype.hasOwnProperty.call(uncompiledDefines, name)) { + value = uncompiledDefines[name]; + } else if (defines && defines.nodeType === undefined && Object.prototype.hasOwnProperty.call(defines, name)) { + value = defines[name]; + } + } + return value; +}; +goog.FEATURESET_YEAR = goog.define("goog.FEATURESET_YEAR", 2012); +goog.DEBUG = goog.define("goog.DEBUG", true); +goog.LOCALE = goog.define("goog.LOCALE", "en"); +goog.TRUSTED_SITE = goog.define("goog.TRUSTED_SITE", true); +goog.DISALLOW_TEST_ONLY_CODE = goog.define("goog.DISALLOW_TEST_ONLY_CODE", COMPILED && !goog.DEBUG); +goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING = goog.define("goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING", false); +goog.provide = function(name) { + if (goog.isInModuleLoader_()) { + throw new Error("goog.provide cannot be used within a module."); + } + if (!COMPILED) { + if (goog.isProvided_(name)) { + throw new Error('Namespace "' + name + '" already declared.'); + } + } + goog.constructNamespace_(name); +}; +goog.constructNamespace_ = function(name, object, overwriteImplicit) { + if (!COMPILED) { + delete goog.implicitNamespaces_[name]; + var namespace = name; + for (; namespace = namespace.substring(0, namespace.lastIndexOf("."));) { + if (goog.getObjectByName(namespace)) { + break; + } + goog.implicitNamespaces_[namespace] = true; + } + } + goog.exportPath_(name, object, overwriteImplicit); +}; +goog.NONCE_PATTERN_ = /^[\w+/_-]+[=]{0,2}$/; +goog.getScriptNonce_ = function(opt_window) { + var doc = (opt_window || goog.global).document; + var script = doc.querySelector && doc.querySelector("script[nonce]"); + if (script) { + var nonce = script["nonce"] || script.getAttribute("nonce"); + if (nonce && goog.NONCE_PATTERN_.test(nonce)) { + return nonce; + } + } + return ""; +}; +goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/; +goog.module = function(name) { + if (typeof name !== "string" || !name || name.search(goog.VALID_MODULE_RE_) == -1) { + throw new Error("Invalid module identifier"); + } + if (!goog.isInGoogModuleLoader_()) { + throw new Error("Module " + name + " has been loaded incorrectly. Note, " + "modules cannot be loaded as normal scripts. They require some kind of " + "pre-processing step. You're likely trying to load a module via a " + "script tag or as a part of a concatenated bundle without rewriting the " + "module. For more info see: " + "https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide."); + } + if (goog.moduleLoaderState_.moduleName) { + throw new Error("goog.module may only be called once per module."); + } + goog.moduleLoaderState_.moduleName = name; + if (!COMPILED) { + if (goog.isProvided_(name)) { + throw new Error('Namespace "' + name + '" already declared.'); + } + delete goog.implicitNamespaces_[name]; + } +}; +goog.module.get = function(name) { + return goog.module.getInternal_(name); +}; +goog.module.getInternal_ = function(name) { + if (!COMPILED) { + if (name in goog.loadedModules_) { + return goog.loadedModules_[name].exports; + } else if (!goog.implicitNamespaces_[name]) { + var ns = goog.getObjectByName(name); + return ns != null ? ns : null; + } + } + return null; +}; +goog.ModuleType = {ES6:"es6", GOOG:"goog"}; +goog.moduleLoaderState_ = null; +goog.isInModuleLoader_ = function() { + return goog.isInGoogModuleLoader_() || goog.isInEs6ModuleLoader_(); +}; +goog.isInGoogModuleLoader_ = function() { + return !!goog.moduleLoaderState_ && goog.moduleLoaderState_.type == goog.ModuleType.GOOG; +}; +goog.isInEs6ModuleLoader_ = function() { + var inLoader = !!goog.moduleLoaderState_ && goog.moduleLoaderState_.type == goog.ModuleType.ES6; + if (inLoader) { + return true; + } + var jscomp = goog.global["$jscomp"]; + if (jscomp) { + if (typeof jscomp.getCurrentModulePath != "function") { + return false; + } + return !!jscomp.getCurrentModulePath(); + } + return false; +}; +goog.module.declareLegacyNamespace = function() { + if (!COMPILED && !goog.isInGoogModuleLoader_()) { + throw new Error("goog.module.declareLegacyNamespace must be called from " + "within a goog.module"); + } + if (!COMPILED && !goog.moduleLoaderState_.moduleName) { + throw new Error("goog.module must be called prior to " + "goog.module.declareLegacyNamespace."); + } + goog.moduleLoaderState_.declareLegacyNamespace = true; +}; +goog.declareModuleId = function(namespace) { + if (!COMPILED) { + if (!goog.isInEs6ModuleLoader_()) { + throw new Error("goog.declareModuleId may only be called from " + "within an ES6 module"); + } + if (goog.moduleLoaderState_ && goog.moduleLoaderState_.moduleName) { + throw new Error("goog.declareModuleId may only be called once per module."); + } + if (namespace in goog.loadedModules_) { + throw new Error('Module with namespace "' + namespace + '" already exists.'); + } + } + if (goog.moduleLoaderState_) { + goog.moduleLoaderState_.moduleName = namespace; + } else { + var jscomp = goog.global["$jscomp"]; + if (!jscomp || typeof jscomp.getCurrentModulePath != "function") { + throw new Error('Module with namespace "' + namespace + '" has been loaded incorrectly.'); + } + var exports = jscomp.require(jscomp.getCurrentModulePath()); + goog.loadedModules_[namespace] = {exports:exports, type:goog.ModuleType.ES6, moduleId:namespace}; + } +}; +goog.setTestOnly = function(opt_message) { + if (goog.DISALLOW_TEST_ONLY_CODE) { + opt_message = opt_message || ""; + throw new Error("Importing test-only code into non-debug environment" + (opt_message ? ": " + opt_message : ".")); + } +}; +goog.forwardDeclare = function(name) { +}; +goog.forwardDeclare("Document"); +goog.forwardDeclare("HTMLScriptElement"); +goog.forwardDeclare("XMLHttpRequest"); +if (!COMPILED) { + goog.isProvided_ = function(name) { + return name in goog.loadedModules_ || !goog.implicitNamespaces_[name] && goog.getObjectByName(name) != null; + }; + goog.implicitNamespaces_ = {"goog.module":true}; +} +goog.getObjectByName = function(name, opt_obj) { + var parts = name.split("."); + var cur = opt_obj || goog.global; + var i = 0; + for (; i < parts.length; i++) { + cur = cur[parts[i]]; + if (cur == null) { + return null; + } + } + return cur; +}; +goog.addDependency = function(relPath, provides, requires, opt_loadFlags) { + if (!COMPILED && goog.DEPENDENCIES_ENABLED) { + goog.debugLoader_.addDependency(relPath, provides, requires, opt_loadFlags); + } +}; +goog.ENABLE_DEBUG_LOADER = goog.define("goog.ENABLE_DEBUG_LOADER", true); +goog.logToConsole_ = function(msg) { + if (goog.global.console) { + goog.global.console["error"](msg); + } +}; +goog.require = function(namespace) { + if (!COMPILED) { + if (goog.ENABLE_DEBUG_LOADER) { + goog.debugLoader_.requested(namespace); + } + if (goog.isProvided_(namespace)) { + if (goog.isInModuleLoader_()) { + return goog.module.getInternal_(namespace); + } + } else if (goog.ENABLE_DEBUG_LOADER) { + var moduleLoaderState = goog.moduleLoaderState_; + goog.moduleLoaderState_ = null; + try { + goog.debugLoader_.load_(namespace); + } finally { + goog.moduleLoaderState_ = moduleLoaderState; + } + } + return null; + } +}; +goog.requireType = function(namespace) { + return {}; +}; +goog.basePath = ""; +goog.global.CLOSURE_BASE_PATH; +goog.global.CLOSURE_NO_DEPS; +goog.global.CLOSURE_IMPORT_SCRIPT; +goog.abstractMethod = function() { + throw new Error("unimplemented abstract method"); +}; +goog.addSingletonGetter = function(ctor) { + ctor.instance_ = undefined; + ctor.getInstance = function() { + if (ctor.instance_) { + return ctor.instance_; + } + if (goog.DEBUG) { + goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = ctor; + } + return ctor.instance_ = new ctor(); + }; +}; +goog.instantiatedSingletons_ = []; +goog.LOAD_MODULE_USING_EVAL = goog.define("goog.LOAD_MODULE_USING_EVAL", true); +goog.SEAL_MODULE_EXPORTS = goog.define("goog.SEAL_MODULE_EXPORTS", goog.DEBUG); +goog.loadedModules_ = {}; +goog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER; +goog.TRANSPILE = goog.define("goog.TRANSPILE", "detect"); +goog.ASSUME_ES_MODULES_TRANSPILED = goog.define("goog.ASSUME_ES_MODULES_TRANSPILED", false); +goog.TRUSTED_TYPES_POLICY_NAME = goog.define("goog.TRUSTED_TYPES_POLICY_NAME", "goog"); +goog.hasBadLetScoping = null; +goog.loadModule = function(moduleDef) { + var previousState = goog.moduleLoaderState_; + try { + goog.moduleLoaderState_ = {moduleName:"", declareLegacyNamespace:false, type:goog.ModuleType.GOOG}; + var origExports = {}; + var exports = origExports; + if (typeof moduleDef === "function") { + exports = moduleDef.call(undefined, exports); + } else if (typeof moduleDef === "string") { + exports = goog.loadModuleFromSource_.call(undefined, exports, moduleDef); + } else { + throw new Error("Invalid module definition"); + } + var moduleName = goog.moduleLoaderState_.moduleName; + if (typeof moduleName === "string" && moduleName) { + if (goog.moduleLoaderState_.declareLegacyNamespace) { + var isDefaultExport = origExports !== exports; + goog.constructNamespace_(moduleName, exports, isDefaultExport); + } else if (goog.SEAL_MODULE_EXPORTS && Object.seal && typeof exports == "object" && exports != null) { + Object.seal(exports); + } + var data = {exports:exports, type:goog.ModuleType.GOOG, moduleId:goog.moduleLoaderState_.moduleName}; + goog.loadedModules_[moduleName] = data; + } else { + throw new Error('Invalid module name "' + moduleName + '"'); + } + } finally { + goog.moduleLoaderState_ = previousState; + } +}; +goog.loadModuleFromSource_ = function(exports) { + eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(arguments[1])); + return exports; +}; +goog.normalizePath_ = function(path) { + var components = path.split("/"); + var i = 0; + for (; i < components.length;) { + if (components[i] == ".") { + components.splice(i, 1); + } else if (i && components[i] == ".." && components[i - 1] && components[i - 1] != "..") { + components.splice(--i, 2); + } else { + i++; + } + } + return components.join("/"); +}; +goog.global.CLOSURE_LOAD_FILE_SYNC; +goog.loadFileSync_ = function(src) { + if (goog.global.CLOSURE_LOAD_FILE_SYNC) { + return goog.global.CLOSURE_LOAD_FILE_SYNC(src); + } else { + try { + var xhr = new goog.global["XMLHttpRequest"](); + xhr.open("get", src, false); + xhr.send(); + return xhr.status == 0 || xhr.status == 200 ? xhr.responseText : null; + } catch (err) { + return null; + } + } +}; +goog.typeOf = function(value) { + var s = typeof value; + if (s != "object") { + return s; + } + if (!value) { + return "null"; + } + if (Array.isArray(value)) { + return "array"; + } + return s; +}; +goog.isArrayLike = function(val) { + var type = goog.typeOf(val); + return type == "array" || type == "object" && typeof val.length == "number"; +}; +goog.isDateLike = function(val) { + return goog.isObject(val) && typeof val.getFullYear == "function"; +}; +goog.isObject = function(val) { + var type = typeof val; + return type == "object" && val != null || type == "function"; +}; +goog.getUid = function(obj) { + return Object.prototype.hasOwnProperty.call(obj, goog.UID_PROPERTY_) && obj[goog.UID_PROPERTY_] || (obj[goog.UID_PROPERTY_] = ++goog.uidCounter_); +}; +goog.hasUid = function(obj) { + return !!obj[goog.UID_PROPERTY_]; +}; +goog.removeUid = function(obj) { + if (obj !== null && "removeAttribute" in obj) { + obj.removeAttribute(goog.UID_PROPERTY_); + } + try { + delete obj[goog.UID_PROPERTY_]; + } catch (ex) { + } +}; +goog.UID_PROPERTY_ = "closure_uid_" + (Math.random() * 1e9 >>> 0); +goog.uidCounter_ = 0; +goog.cloneObject = function(obj) { + var type = goog.typeOf(obj); + if (type == "object" || type == "array") { + if (typeof obj.clone === "function") { + return obj.clone(); + } + if (typeof Map !== "undefined" && obj instanceof Map) { + return new Map(obj); + } else if (typeof Set !== "undefined" && obj instanceof Set) { + return new Set(obj); + } + var clone = type == "array" ? [] : {}; + var key; + for (key in obj) { + clone[key] = goog.cloneObject(obj[key]); + } + return clone; + } + return obj; +}; +goog.bindNative_ = function(fn, selfObj, var_args) { + return fn.call.apply(fn.bind, arguments); +}; +goog.bindJs_ = function(fn, selfObj, var_args) { + if (!fn) { + throw new Error(); + } + if (arguments.length > 2) { + var boundArgs = Array.prototype.slice.call(arguments, 2); + return function() { + var newArgs = Array.prototype.slice.call(arguments); + Array.prototype.unshift.apply(newArgs, boundArgs); + return fn.apply(selfObj, newArgs); + }; + } else { + return function() { + return fn.apply(selfObj, arguments); + }; + } +}; +goog.bind = function(fn, selfObj, var_args) { + if (Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1) { + goog.bind = goog.bindNative_; + } else { + goog.bind = goog.bindJs_; + } + return goog.bind.apply(null, arguments); +}; +goog.partial = function(fn, var_args) { + var args = Array.prototype.slice.call(arguments, 1); + return function() { + var newArgs = args.slice(); + newArgs.push.apply(newArgs, arguments); + return fn.apply(this, newArgs); + }; +}; +goog.now = function() { + return Date.now(); +}; +goog.globalEval = function(script) { + (0,eval)(script); +}; +goog.cssNameMapping_; +goog.cssNameMappingStyle_; +goog.global.CLOSURE_CSS_NAME_MAP_FN; +goog.getCssName = function(className, opt_modifier) { + if (String(className).charAt(0) == ".") { + throw new Error('className passed in goog.getCssName must not start with ".".' + " You passed: " + className); + } + var getMapping = function(cssName) { + return goog.cssNameMapping_[cssName] || cssName; + }; + var renameByParts = function(cssName) { + var parts = cssName.split("-"); + var mapped = []; + var i = 0; + for (; i < parts.length; i++) { + mapped.push(getMapping(parts[i])); + } + return mapped.join("-"); + }; + var rename; + if (goog.cssNameMapping_) { + rename = goog.cssNameMappingStyle_ == "BY_WHOLE" ? getMapping : renameByParts; + } else { + rename = function(a) { + return a; + }; + } + var result = opt_modifier ? className + "-" + rename(opt_modifier) : rename(className); + if (goog.global.CLOSURE_CSS_NAME_MAP_FN) { + return goog.global.CLOSURE_CSS_NAME_MAP_FN(result); + } + return result; +}; +goog.setCssNameMapping = function(mapping, opt_style) { + goog.cssNameMapping_ = mapping; + goog.cssNameMappingStyle_ = opt_style; +}; +goog.global.CLOSURE_CSS_NAME_MAPPING; +if (!COMPILED && goog.global.CLOSURE_CSS_NAME_MAPPING) { + goog.cssNameMapping_ = goog.global.CLOSURE_CSS_NAME_MAPPING; +} +goog.GetMsgOptions = function() { +}; +goog.GetMsgOptions.prototype.html; +goog.GetMsgOptions.prototype.unescapeHtmlEntities; +goog.GetMsgOptions.prototype.original_code; +goog.GetMsgOptions.prototype.example; +goog.getMsg = function(str, opt_values, opt_options) { + if (opt_options && opt_options.html) { + str = str.replace(/= 0; --i) { + var script = scripts[i]; + var src = script.src; + var qmark = src.lastIndexOf("?"); + var l = qmark == -1 ? src.length : qmark; + if (src.slice(l - 7, l) == "base.js") { + goog.basePath = src.slice(0, l - 7); + return; + } + } + }; + goog.findBasePath_(); + goog.protectScriptTag_ = function(str) { + return str.replace(/<\/(SCRIPT)/ig, "\\x3c/$1"); + }; + goog.DebugLoader_ = function() { + this.dependencies_ = {}; + this.idToPath_ = {}; + this.written_ = {}; + this.loadingDeps_ = []; + this.depsToLoad_ = []; + this.paused_ = false; + this.factory_ = new goog.DependencyFactory(); + this.deferredCallbacks_ = {}; + this.deferredQueue_ = []; + }; + goog.DebugLoader_.prototype.bootstrap = function(namespaces, callback) { + function resolve() { + if (cb) { + goog.global.setTimeout(cb, 0); + cb = null; + } + } + var cb = callback; + if (!namespaces.length) { + resolve(); + return; + } + var deps = []; + var i = 0; + for (; i < namespaces.length; i++) { + var path = this.getPathFromDeps_(namespaces[i]); + if (!path) { + throw new Error("Unregonized namespace: " + namespaces[i]); + } + deps.push(this.dependencies_[path]); + } + var require = goog.require; + var loaded = 0; + i = 0; + for (; i < namespaces.length; i++) { + require(namespaces[i]); + deps[i].onLoad(function() { + if (++loaded == namespaces.length) { + resolve(); + } + }); + } + }; + goog.DebugLoader_.prototype.loadClosureDeps = function() { + var relPath = "deps.js"; + this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath + relPath), relPath, [], [], {})); + this.loadDeps_(); + }; + goog.DebugLoader_.prototype.requested = function(absPathOrId, opt_force) { + var path = this.getPathFromDeps_(absPathOrId); + if (path && (opt_force || this.areDepsLoaded_(this.dependencies_[path].requires))) { + var callback = this.deferredCallbacks_[path]; + if (callback) { + delete this.deferredCallbacks_[path]; + callback(); + } + } + }; + goog.DebugLoader_.prototype.setDependencyFactory = function(factory) { + this.factory_ = factory; + }; + goog.DebugLoader_.prototype.load_ = function(namespace) { + if (!this.getPathFromDeps_(namespace)) { + var errorMessage = "goog.require could not find: " + namespace; + goog.logToConsole_(errorMessage); + } else { + var loader = this; + var deps = []; + var visit = function(namespace) { + var path = loader.getPathFromDeps_(namespace); + if (!path) { + throw new Error("Bad dependency path or symbol: " + namespace); + } + if (loader.written_[path]) { + return; + } + loader.written_[path] = true; + var dep = loader.dependencies_[path]; + var i = 0; + for (; i < dep.requires.length; i++) { + if (!goog.isProvided_(dep.requires[i])) { + visit(dep.requires[i]); + } + } + deps.push(dep); + }; + visit(namespace); + var wasLoading = !!this.depsToLoad_.length; + this.depsToLoad_ = this.depsToLoad_.concat(deps); + if (!this.paused_ && !wasLoading) { + this.loadDeps_(); + } + } + }; + goog.DebugLoader_.prototype.loadDeps_ = function() { + var loader = this; + var paused = this.paused_; + for (; this.depsToLoad_.length && !paused;) { + (function() { + var loadCallDone = false; + var dep = loader.depsToLoad_.shift(); + var loaded = false; + loader.loading_(dep); + var controller = {pause:function() { + if (loadCallDone) { + throw new Error("Cannot call pause after the call to load."); + } else { + paused = true; + } + }, resume:function() { + if (loadCallDone) { + loader.resume_(); + } else { + paused = false; + } + }, loaded:function() { + if (loaded) { + throw new Error("Double call to loaded."); + } + loaded = true; + loader.loaded_(dep); + }, pending:function() { + var pending = []; + var i = 0; + for (; i < loader.loadingDeps_.length; i++) { + pending.push(loader.loadingDeps_[i]); + } + return pending; + }, setModuleState:function(type) { + goog.moduleLoaderState_ = {type:type, moduleName:"", declareLegacyNamespace:false}; + }, registerEs6ModuleExports:function(path, exports, opt_closureNamespace) { + if (opt_closureNamespace) { + goog.loadedModules_[opt_closureNamespace] = {exports:exports, type:goog.ModuleType.ES6, moduleId:opt_closureNamespace || ""}; + } + }, registerGoogModuleExports:function(moduleId, exports) { + goog.loadedModules_[moduleId] = {exports:exports, type:goog.ModuleType.GOOG, moduleId:moduleId}; + }, clearModuleState:function() { + goog.moduleLoaderState_ = null; + }, defer:function(callback) { + if (loadCallDone) { + throw new Error("Cannot register with defer after the call to load."); + } + loader.defer_(dep, callback); + }, areDepsLoaded:function() { + return loader.areDepsLoaded_(dep.requires); + }}; + try { + dep.load(controller); + } finally { + loadCallDone = true; + } + })(); + } + if (paused) { + this.pause_(); + } + }; + goog.DebugLoader_.prototype.pause_ = function() { + this.paused_ = true; + }; + goog.DebugLoader_.prototype.resume_ = function() { + if (this.paused_) { + this.paused_ = false; + this.loadDeps_(); + } + }; + goog.DebugLoader_.prototype.loading_ = function(dep) { + this.loadingDeps_.push(dep); + }; + goog.DebugLoader_.prototype.loaded_ = function(dep) { + var i = 0; + for (; i < this.loadingDeps_.length; i++) { + if (this.loadingDeps_[i] == dep) { + this.loadingDeps_.splice(i, 1); + break; + } + } + i = 0; + for (; i < this.deferredQueue_.length; i++) { + if (this.deferredQueue_[i] == dep.path) { + this.deferredQueue_.splice(i, 1); + break; + } + } + if (this.loadingDeps_.length == this.deferredQueue_.length && !this.depsToLoad_.length) { + for (; this.deferredQueue_.length;) { + this.requested(this.deferredQueue_.shift(), true); + } + } + dep.loaded(); + }; + goog.DebugLoader_.prototype.areDepsLoaded_ = function(pathsOrIds) { + var i = 0; + for (; i < pathsOrIds.length; i++) { + var path = this.getPathFromDeps_(pathsOrIds[i]); + if (!path || !(path in this.deferredCallbacks_) && !goog.isProvided_(pathsOrIds[i])) { + return false; + } + } + return true; + }; + goog.DebugLoader_.prototype.getPathFromDeps_ = function(absPathOrId) { + if (absPathOrId in this.idToPath_) { + return this.idToPath_[absPathOrId]; + } else if (absPathOrId in this.dependencies_) { + return absPathOrId; + } else { + return null; + } + }; + goog.DebugLoader_.prototype.defer_ = function(dependency, callback) { + this.deferredCallbacks_[dependency.path] = callback; + this.deferredQueue_.push(dependency.path); + }; + goog.LoadController = function() { + }; + goog.LoadController.prototype.pause = function() { + }; + goog.LoadController.prototype.resume = function() { + }; + goog.LoadController.prototype.loaded = function() { + }; + goog.LoadController.prototype.pending = function() { + }; + goog.LoadController.prototype.registerEs6ModuleExports = function(path, exports, opt_closureNamespace) { + }; + goog.LoadController.prototype.setModuleState = function(type) { + }; + goog.LoadController.prototype.clearModuleState = function() { + }; + goog.LoadController.prototype.defer = function(callback) { + }; + goog.LoadController.prototype.areDepsLoaded = function() { + }; + goog.Dependency = function(path, relativePath, provides, requires, loadFlags) { + this.path = path; + this.relativePath = relativePath; + this.provides = provides; + this.requires = requires; + this.loadFlags = loadFlags; + this.loaded_ = false; + this.loadCallbacks_ = []; + }; + goog.Dependency.prototype.getPathName = function() { + var pathName = this.path; + var protocolIndex = pathName.indexOf("://"); + if (protocolIndex >= 0) { + pathName = pathName.substring(protocolIndex + 3); + var slashIndex = pathName.indexOf("/"); + if (slashIndex >= 0) { + pathName = pathName.substring(slashIndex + 1); + } + } + return pathName; + }; + goog.Dependency.prototype.onLoad = function(callback) { + if (this.loaded_) { + callback(); + } else { + this.loadCallbacks_.push(callback); + } + }; + goog.Dependency.prototype.loaded = function() { + this.loaded_ = true; + var callbacks = this.loadCallbacks_; + this.loadCallbacks_ = []; + var i = 0; + for (; i < callbacks.length; i++) { + callbacks[i](); + } + }; + goog.Dependency.defer_ = false; + goog.Dependency.callbackMap_ = {}; + goog.Dependency.registerCallback_ = function(callback) { + var key = Math.random().toString(32); + goog.Dependency.callbackMap_[key] = callback; + return key; + }; + goog.Dependency.unregisterCallback_ = function(key) { + delete goog.Dependency.callbackMap_[key]; + }; + goog.Dependency.callback_ = function(key, var_args) { + if (key in goog.Dependency.callbackMap_) { + var callback = goog.Dependency.callbackMap_[key]; + var args = []; + var i = 1; + for (; i < arguments.length; i++) { + args.push(arguments[i]); + } + callback.apply(undefined, args); + } else { + var errorMessage = "Callback key " + key + " does not exist (was base.js loaded more than once?)."; + throw Error(errorMessage); + } + }; + goog.Dependency.prototype.load = function(controller) { + if (goog.global.CLOSURE_IMPORT_SCRIPT) { + if (goog.global.CLOSURE_IMPORT_SCRIPT(this.path)) { + controller.loaded(); + } else { + controller.pause(); + } + return; + } + if (!goog.inHtmlDocument_()) { + goog.logToConsole_("Cannot use default debug loader outside of HTML documents."); + if (this.relativePath == "deps.js") { + goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, " + "or setting CLOSURE_NO_DEPS to true."); + controller.loaded(); + } else { + controller.pause(); + } + return; + } + var doc = goog.global.document; + if (doc.readyState == "complete" && !goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING) { + var isDeps = /\bdeps.js$/.test(this.path); + if (isDeps) { + controller.loaded(); + return; + } else { + throw Error('Cannot write "' + this.path + '" after document load'); + } + } + var nonce = goog.getScriptNonce_(); + if (!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING && goog.isDocumentLoading_()) { + var key; + var callback = function(script) { + if (script.readyState && script.readyState != "complete") { + script.onload = callback; + return; + } + goog.Dependency.unregisterCallback_(key); + controller.loaded(); + }; + key = goog.Dependency.registerCallback_(callback); + var defer = goog.Dependency.defer_ ? " defer" : ""; + var nonceAttr = nonce ? ' nonce\x3d"' + nonce + '"' : ""; + var script = '\x3cscript src\x3d"' + this.path + '"' + nonceAttr + defer + ' id\x3d"script-' + key + '"\x3e\x3c/script\x3e'; + script = script + ("\x3cscript" + nonceAttr + "\x3e"); + if (goog.Dependency.defer_) { + script = script + ("document.getElementById('script-" + key + "').onload \x3d function() {\n" + " goog.Dependency.callback_('" + key + "', this);\n" + "};\n"); + } else { + script = script + ("goog.Dependency.callback_('" + key + "', document.getElementById('script-" + key + "'));"); + } + script = script + "\x3c/script\x3e"; + doc.write(goog.TRUSTED_TYPES_POLICY_ ? goog.TRUSTED_TYPES_POLICY_.createHTML(script) : script); + } else { + var scriptEl = doc.createElement("script"); + scriptEl.defer = goog.Dependency.defer_; + scriptEl.async = false; + if (nonce) { + scriptEl.nonce = nonce; + } + scriptEl.onload = function() { + scriptEl.onload = null; + controller.loaded(); + }; + scriptEl.src = goog.TRUSTED_TYPES_POLICY_ ? goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path) : this.path; + doc.head.appendChild(scriptEl); + } + }; + goog.Es6ModuleDependency = function(path, relativePath, provides, requires, loadFlags) { + goog.Es6ModuleDependency.base(this, "constructor", path, relativePath, provides, requires, loadFlags); + }; + goog.inherits(goog.Es6ModuleDependency, goog.Dependency); + goog.Es6ModuleDependency.prototype.load = function(controller) { + function write(src, contents) { + var nonceAttr = ""; + var nonce = goog.getScriptNonce_(); + if (nonce) { + nonceAttr = ' nonce\x3d"' + nonce + '"'; + } + if (contents) { + var script = '\x3cscript type\x3d"module" crossorigin' + nonceAttr + "\x3e" + contents + "\x3c/" + "script\x3e"; + doc.write(goog.TRUSTED_TYPES_POLICY_ ? goog.TRUSTED_TYPES_POLICY_.createHTML(script) : script); + } else { + script = '\x3cscript type\x3d"module" crossorigin src\x3d"' + src + '"' + nonceAttr + "\x3e\x3c/" + "script\x3e"; + doc.write(goog.TRUSTED_TYPES_POLICY_ ? goog.TRUSTED_TYPES_POLICY_.createHTML(script) : script); + } + } + function append(src, contents) { + var scriptEl = doc.createElement("script"); + scriptEl.defer = true; + scriptEl.async = false; + scriptEl.type = "module"; + scriptEl.setAttribute("crossorigin", true); + var nonce = goog.getScriptNonce_(); + if (nonce) { + scriptEl.nonce = nonce; + } + if (contents) { + scriptEl.text = goog.TRUSTED_TYPES_POLICY_ ? goog.TRUSTED_TYPES_POLICY_.createScript(contents) : contents; + } else { + scriptEl.src = goog.TRUSTED_TYPES_POLICY_ ? goog.TRUSTED_TYPES_POLICY_.createScriptURL(src) : src; + } + doc.head.appendChild(scriptEl); + } + if (goog.global.CLOSURE_IMPORT_SCRIPT) { + if (goog.global.CLOSURE_IMPORT_SCRIPT(this.path)) { + controller.loaded(); + } else { + controller.pause(); + } + return; + } + if (!goog.inHtmlDocument_()) { + goog.logToConsole_("Cannot use default debug loader outside of HTML documents."); + controller.pause(); + return; + } + var doc = goog.global.document; + var dep = this; + var create; + if (goog.isDocumentLoading_()) { + create = write; + goog.Dependency.defer_ = true; + } else { + create = append; + } + var beforeKey = goog.Dependency.registerCallback_(function() { + goog.Dependency.unregisterCallback_(beforeKey); + controller.setModuleState(goog.ModuleType.ES6); + }); + create(undefined, 'goog.Dependency.callback_("' + beforeKey + '")'); + create(this.path, undefined); + var registerKey = goog.Dependency.registerCallback_(function(exports) { + goog.Dependency.unregisterCallback_(registerKey); + controller.registerEs6ModuleExports(dep.path, exports, goog.moduleLoaderState_.moduleName); + }); + create(undefined, 'import * as m from "' + this.path + '"; goog.Dependency.callback_("' + registerKey + '", m)'); + var afterKey = goog.Dependency.registerCallback_(function() { + goog.Dependency.unregisterCallback_(afterKey); + controller.clearModuleState(); + controller.loaded(); + }); + create(undefined, 'goog.Dependency.callback_("' + afterKey + '")'); + }; + goog.TransformedDependency = function(path, relativePath, provides, requires, loadFlags) { + goog.TransformedDependency.base(this, "constructor", path, relativePath, provides, requires, loadFlags); + this.contents_ = null; + this.lazyFetch_ = !goog.inHtmlDocument_() || !("noModule" in goog.global.document.createElement("script")); + }; + goog.inherits(goog.TransformedDependency, goog.Dependency); + goog.TransformedDependency.prototype.load = function(controller) { + function fetch() { + dep.contents_ = goog.loadFileSync_(dep.path); + if (dep.contents_) { + dep.contents_ = dep.transform(dep.contents_); + if (dep.contents_) { + dep.contents_ += "\n//# sourceURL\x3d" + dep.path; + } + } + } + function load() { + if (dep.lazyFetch_) { + fetch(); + } + if (!dep.contents_) { + return; + } + if (isEs6) { + controller.setModuleState(goog.ModuleType.ES6); + } + var namespace; + try { + var contents = dep.contents_; + dep.contents_ = null; + goog.globalEval(goog.CLOSURE_EVAL_PREFILTER_.createScript(contents)); + if (isEs6) { + namespace = goog.moduleLoaderState_.moduleName; + } + } finally { + if (isEs6) { + controller.clearModuleState(); + } + } + if (isEs6) { + goog.global["$jscomp"]["require"]["ensure"]([dep.getPathName()], function() { + controller.registerEs6ModuleExports(dep.path, goog.global["$jscomp"]["require"](dep.getPathName()), namespace); + }); + } + controller.loaded(); + } + function fetchInOwnScriptThenLoad() { + var doc = goog.global.document; + var key = goog.Dependency.registerCallback_(function() { + goog.Dependency.unregisterCallback_(key); + load(); + }); + var nonce = goog.getScriptNonce_(); + var nonceAttr = nonce ? ' nonce\x3d"' + nonce + '"' : ""; + var script = "\x3cscript" + nonceAttr + "\x3e" + goog.protectScriptTag_('goog.Dependency.callback_("' + key + '");') + "\x3c/" + "script\x3e"; + doc.write(goog.TRUSTED_TYPES_POLICY_ ? goog.TRUSTED_TYPES_POLICY_.createHTML(script) : script); + } + var dep = this; + if (goog.global.CLOSURE_IMPORT_SCRIPT) { + fetch(); + if (this.contents_ && goog.global.CLOSURE_IMPORT_SCRIPT("", this.contents_)) { + this.contents_ = null; + controller.loaded(); + } else { + controller.pause(); + } + return; + } + var isEs6 = this.loadFlags["module"] == goog.ModuleType.ES6; + if (!this.lazyFetch_) { + fetch(); + } + var anythingElsePending = controller.pending().length > 1; + var needsAsyncLoading = goog.Dependency.defer_ && (anythingElsePending || goog.isDocumentLoading_()); + if (needsAsyncLoading) { + controller.defer(function() { + load(); + }); + return; + } + var doc = goog.global.document; + var isInternetExplorerOrEdge = goog.inHtmlDocument_() && ("ActiveXObject" in goog.global || goog.isEdge_()); + if (isEs6 && goog.inHtmlDocument_() && goog.isDocumentLoading_() && !isInternetExplorerOrEdge) { + goog.Dependency.defer_ = true; + controller.pause(); + var oldCallback = doc.onreadystatechange; + doc.onreadystatechange = function() { + if (doc.readyState == "interactive") { + doc.onreadystatechange = oldCallback; + load(); + controller.resume(); + } + if (typeof oldCallback === "function") { + oldCallback.apply(undefined, arguments); + } + }; + } else { + if (!goog.inHtmlDocument_() || !goog.isDocumentLoading_()) { + load(); + } else { + fetchInOwnScriptThenLoad(); + } + } + }; + goog.TransformedDependency.prototype.transform = function(contents) { + }; + goog.PreTranspiledEs6ModuleDependency = function(path, relativePath, provides, requires, loadFlags) { + goog.PreTranspiledEs6ModuleDependency.base(this, "constructor", path, relativePath, provides, requires, loadFlags); + }; + goog.inherits(goog.PreTranspiledEs6ModuleDependency, goog.TransformedDependency); + goog.PreTranspiledEs6ModuleDependency.prototype.transform = function(contents) { + return contents; + }; + goog.GoogModuleDependency = function(path, relativePath, provides, requires, loadFlags) { + goog.GoogModuleDependency.base(this, "constructor", path, relativePath, provides, requires, loadFlags); + }; + goog.inherits(goog.GoogModuleDependency, goog.TransformedDependency); + goog.GoogModuleDependency.prototype.transform = function(contents) { + if (!goog.LOAD_MODULE_USING_EVAL || goog.global.JSON === undefined) { + return "" + "goog.loadModule(function(exports) {" + '"use strict";' + contents + "\n" + ";return exports" + "});" + "\n//# sourceURL\x3d" + this.path + "\n"; + } else { + return "" + "goog.loadModule(" + goog.global.JSON.stringify(contents + "\n//# sourceURL\x3d" + this.path + "\n") + ");"; + } + }; + goog.DebugLoader_.prototype.addDependency = function(relPath, provides, requires, opt_loadFlags) { + provides = provides || []; + relPath = relPath.replace(/\\/g, "/"); + var path = goog.normalizePath_(goog.basePath + relPath); + if (!opt_loadFlags || typeof opt_loadFlags === "boolean") { + opt_loadFlags = opt_loadFlags ? {"module":goog.ModuleType.GOOG} : {}; + } + var dep = this.factory_.createDependency(path, relPath, provides, requires, opt_loadFlags); + this.dependencies_[path] = dep; + var i = 0; + for (; i < provides.length; i++) { + this.idToPath_[provides[i]] = path; + } + this.idToPath_[relPath] = path; + }; + goog.DependencyFactory = function() { + }; + goog.DependencyFactory.prototype.createDependency = function(path, relativePath, provides, requires, loadFlags) { + if (loadFlags["module"] == goog.ModuleType.GOOG) { + return new goog.GoogModuleDependency(path, relativePath, provides, requires, loadFlags); + } else { + if (loadFlags["module"] == goog.ModuleType.ES6) { + if (goog.ASSUME_ES_MODULES_TRANSPILED) { + return new goog.PreTranspiledEs6ModuleDependency(path, relativePath, provides, requires, loadFlags); + } else { + return new goog.Es6ModuleDependency(path, relativePath, provides, requires, loadFlags); + } + } else { + return new goog.Dependency(path, relativePath, provides, requires, loadFlags); + } + } + }; + goog.debugLoader_ = new goog.DebugLoader_(); + goog.loadClosureDeps = function() { + goog.debugLoader_.loadClosureDeps(); + }; + goog.setDependencyFactory = function(factory) { + goog.debugLoader_.setDependencyFactory(factory); + }; + goog.TRUSTED_TYPES_POLICY_ = goog.TRUSTED_TYPES_POLICY_NAME ? goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME + "#base") : null; + if (!goog.global.CLOSURE_NO_DEPS) { + goog.debugLoader_.loadClosureDeps(); + } + goog.bootstrap = function(namespaces, callback) { + goog.debugLoader_.bootstrap(namespaces, callback); + }; +} +if (!COMPILED) { + var isChrome87 = false; + try { + isChrome87 = eval(goog.global.trustedTypes.emptyScript) !== goog.global.trustedTypes.emptyScript; + } catch (err) { + } + goog.CLOSURE_EVAL_PREFILTER_ = goog.global.trustedTypes && isChrome87 && goog.createTrustedTypesPolicy("goog#base#devonly#eval") || {createScript:goog.identity_}; +} + +//# sourceMappingURL=goog.base.js.map diff --git a/out/cljs-runtime/goog.base.js.map b/out/cljs-runtime/goog.base.js.map new file mode 100644 index 0000000..0a7b201 --- /dev/null +++ b/out/cljs-runtime/goog.base.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"goog.base.js", +"lineCount":1258, +"mappings":"AAwBA,IAAIA,WAAW,KAAf;AAUA,IAAIC,OAAOA,IAAPA,IAAe,EAAnB;AAaAA,IAAKC,CAAAA,MAAL,GAMI,IANJ,IASIC,IATJ;AA4BAF,IAAKC,CAAAA,MAAOE,CAAAA,0BAAZ;AA4BAH,IAAKC,CAAAA,MAAOG,CAAAA,eAAZ;AAkBAJ,IAAKK,CAAAA,WAAL,GAAmBC,QAAQ,CAACC,IAAD,EAAOC,MAAP,EAAeC,iBAAf,EAAkCC,gBAAlC,CAAoD;AAC7E,MAAIC,QAAQJ,IAAKK,CAAAA,KAAL,CAAW,GAAX,CAAZ;AACA,MAAIC,MAAMH,gBAANG,IAA0Bb,IAAKC,CAAAA,MAAnC;AAKA,MAAI,EAAEU,KAAA,CAAM,CAAN,CAAF,IAAcE,GAAd,CAAJ,IAA0B,MAAOA,IAAIC,CAAAA,UAArC,IAAmD,WAAnD;AACED,OAAIC,CAAAA,UAAJ,CAAe,MAAf,GAAwBH,KAAA,CAAM,CAAN,CAAxB,CAAA;AADF;AAIK,MAAII,IA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AACxJ,aAActJ,IAAK4S,CAAAA,SAApB,CAJJ;AAfa;;", +"sources":["goog/base.js"], +"sourcesContent":["/**\n * @license\n * Copyright The Closure Library Authors.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @fileoverview Bootstrap for the Google JS Library (Closure).\n *\n * In uncompiled mode base.js will attempt to load Closure's deps file, unless\n * the global CLOSURE_NO_DEPS is set to true. This allows projects\n * to include their own deps file(s) from different locations.\n *\n * Avoid including base.js more than once. This is strictly discouraged and not\n * supported. goog.require(...) won't work properly in that case.\n *\n * @suppress {deprecated} Users cannot remove deprecated uses here.\n * @provideGoog\n */\n\n\n/**\n * @define {boolean} Overridden to true by the compiler.\n */\nvar COMPILED = false;\n\n\n/**\n * Base namespace for the Closure library. Checks to see goog is already\n * defined in the current scope before assigning to prevent clobbering if\n * base.js is loaded more than once.\n *\n * @const\n */\nvar goog = goog || {};\n\n/**\n * Reference to the global object.\n * https://www.ecma-international.org/ecma-262/9.0/index.html#sec-global-object\n *\n * More info on this implementation here:\n * https://docs.google.com/document/d/1NAeW4Wk7I7FV0Y2tcUFvQdGMc89k2vdgSXInw8_nvCI/edit\n *\n * @const\n * @suppress {undefinedVars} self won't be referenced unless `this` is falsy.\n * @type {!Global}\n */\ngoog.global =\n // Check `this` first for backwards compatibility.\n // Valid unless running as an ES module or in a function wrapper called\n // without setting `this` properly.\n // Note that base.js can't usefully be imported as an ES module, but it may\n // be compiled into bundles that are loadable as ES modules.\n this ||\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/self\n // For in-page browser environments and workers.\n self;\n\n\n/**\n * A hook for overriding the define values in uncompiled mode.\n *\n * In uncompiled mode, `CLOSURE_UNCOMPILED_DEFINES` may be defined before\n * loading base.js. If a key is defined in `CLOSURE_UNCOMPILED_DEFINES`,\n * `goog.define` will use the value instead of the default value. This\n * allows flags to be overwritten without compilation (this is normally\n * accomplished with the compiler's \"define\" flag).\n *\n * Example:\n *
\n *   var CLOSURE_UNCOMPILED_DEFINES = {'goog.DEBUG': false};\n * 
\n *\n * @type {Object|undefined}\n */\ngoog.global.CLOSURE_UNCOMPILED_DEFINES;\n\n\n/**\n * A hook for overriding the define values in uncompiled or compiled mode,\n * like CLOSURE_UNCOMPILED_DEFINES but effective in compiled code. In\n * uncompiled code CLOSURE_UNCOMPILED_DEFINES takes precedence.\n *\n * Also unlike CLOSURE_UNCOMPILED_DEFINES the values must be number, boolean or\n * string literals or the compiler will emit an error.\n *\n * While any @define value may be set, only those set with goog.define will be\n * effective for uncompiled code.\n *\n * Example:\n *
\n *   var CLOSURE_DEFINES = {'goog.DEBUG': false} ;\n * 
\n *\n * Currently the Closure Compiler will only recognize very simple definitions of\n * this value when looking for values to apply to compiled code and ignore all\n * other references. Specifically, it looks the value defined at the variable\n * declaration, as with the example above.\n *\n * TODO(user): Improve the recognized definitions.\n *\n * @type {!Object|null|undefined}\n */\ngoog.global.CLOSURE_DEFINES;\n\n\n/**\n * Builds an object structure for the provided namespace path, ensuring that\n * names that already exist are not overwritten. For example:\n * \"a.b.c\" -> a = {};a.b={};a.b.c={};\n * Used by goog.provide and goog.exportSymbol.\n * @param {string} name The name of the object that this file defines.\n * @param {*=} object The object to expose at the end of the path.\n * @param {boolean=} overwriteImplicit If object is set and a previous call\n * implicitly constructed the namespace given by name, this parameter\n * controls whether object should overwrite the implicitly constructed\n * namespace or be merged into it. Defaults to false.\n * @param {?Object=} objectToExportTo The object to add the path to; if this\n * field is not specified, its value defaults to `goog.global`.\n * @private\n */\ngoog.exportPath_ = function(name, object, overwriteImplicit, objectToExportTo) {\n var parts = name.split('.');\n var cur = objectToExportTo || goog.global;\n\n // Internet Explorer exhibits strange behavior when throwing errors from\n // methods externed in this manner. See the testExportSymbolExceptions in\n // base_test.html for an example.\n if (!(parts[0] in cur) && typeof cur.execScript != 'undefined') {\n cur.execScript('var ' + parts[0]);\n }\n\n for (var part; parts.length && (part = parts.shift());) {\n if (!parts.length && object !== undefined) {\n if (!overwriteImplicit && goog.isObject(object) &&\n goog.isObject(cur[part])) {\n // Merge properties on object (the input parameter) with the existing\n // implicitly defined namespace, so as to not clobber previously\n // defined child namespaces.\n for (var prop in object) {\n if (object.hasOwnProperty(prop)) {\n cur[part][prop] = object[prop];\n }\n }\n } else {\n // Either there is no existing implicit namespace, or overwriteImplicit\n // is set to true, so directly assign object (the input parameter) to\n // the namespace.\n cur[part] = object;\n }\n } else if (cur[part] && cur[part] !== Object.prototype[part]) {\n cur = cur[part];\n } else {\n cur = cur[part] = {};\n }\n }\n};\n\n\n/**\n * Defines a named value. In uncompiled mode, the value is retrieved from\n * CLOSURE_DEFINES or CLOSURE_UNCOMPILED_DEFINES if the object is defined and\n * has the property specified, and otherwise used the defined defaultValue.\n * When compiled the default can be overridden using the compiler options or the\n * value set in the CLOSURE_DEFINES object. Returns the defined value so that it\n * can be used safely in modules. Note that the value type MUST be either\n * boolean, number, or string.\n *\n * @param {string} name The distinguished name to provide.\n * @param {T} defaultValue\n * @return {T} The defined value.\n * @template T\n */\ngoog.define = function(name, defaultValue) {\n var value = defaultValue;\n if (!COMPILED) {\n var uncompiledDefines = goog.global.CLOSURE_UNCOMPILED_DEFINES;\n var defines = goog.global.CLOSURE_DEFINES;\n if (uncompiledDefines &&\n // Anti DOM-clobbering runtime check (b/37736576).\n /** @type {?} */ (uncompiledDefines).nodeType === undefined &&\n Object.prototype.hasOwnProperty.call(uncompiledDefines, name)) {\n value = uncompiledDefines[name];\n } else if (\n defines &&\n // Anti DOM-clobbering runtime check (b/37736576).\n /** @type {?} */ (defines).nodeType === undefined &&\n Object.prototype.hasOwnProperty.call(defines, name)) {\n value = defines[name];\n }\n }\n return value;\n};\n\n\n/**\n * @define {number} Integer year indicating the set of browser features that are\n * guaranteed to be present. This is defined to include exactly features that\n * work correctly on all \"modern\" browsers that are stable on January 1 of the\n * specified year. For example,\n * ```js\n * if (goog.FEATURESET_YEAR >= 2019) {\n * // use APIs known to be available on all major stable browsers Jan 1, 2019\n * } else {\n * // polyfill for older browsers\n * }\n * ```\n * This is intended to be the primary define for removing\n * unnecessary browser compatibility code (such as ponyfills and workarounds),\n * and should inform the default value for most other defines:\n * ```js\n * const ASSUME_NATIVE_PROMISE =\n * goog.define('ASSUME_NATIVE_PROMISE', goog.FEATURESET_YEAR >= 2016);\n * ```\n *\n * The default assumption is that IE9 is the lowest supported browser, which was\n * first available Jan 1, 2012.\n *\n * TODO(user): Reference more thorough documentation when it's available.\n */\ngoog.FEATURESET_YEAR = goog.define('goog.FEATURESET_YEAR', 2012);\n\n\n/**\n * @define {boolean} DEBUG is provided as a convenience so that debugging code\n * that should not be included in a production. It can be easily stripped\n * by specifying --define goog.DEBUG=false to the Closure Compiler aka\n * JSCompiler. For example, most toString() methods should be declared inside an\n * \"if (goog.DEBUG)\" conditional because they are generally used for debugging\n * purposes and it is difficult for the JSCompiler to statically determine\n * whether they are used.\n */\ngoog.DEBUG = goog.define('goog.DEBUG', true);\n\n\n/**\n * @define {string} LOCALE defines the locale being used for compilation. It is\n * used to select locale specific data to be compiled in js binary. BUILD rule\n * can specify this value by \"--define goog.LOCALE=\" as a compiler\n * option.\n *\n * Take into account that the locale code format is important. You should use\n * the canonical Unicode format with hyphen as a delimiter. Language must be\n * lowercase, Language Script - Capitalized, Region - UPPERCASE.\n * There are few examples: pt-BR, en, en-US, sr-Latin-BO, zh-Hans-CN.\n *\n * See more info about locale codes here:\n * http://www.unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers\n *\n * For language codes you should use values defined by ISO 693-1. See it here\n * http://www.w3.org/WAI/ER/IG/ert/iso639.htm. There is only one exception from\n * this rule: the Hebrew language. For legacy reasons the old code (iw) should\n * be used instead of the new code (he).\n *\n */\ngoog.LOCALE = goog.define('goog.LOCALE', 'en'); // default to en\n\n\n/**\n * @define {boolean} Whether this code is running on trusted sites.\n *\n * On untrusted sites, several native functions can be defined or overridden by\n * external libraries like Prototype, Datejs, and JQuery and setting this flag\n * to false forces closure to use its own implementations when possible.\n *\n * If your JavaScript can be loaded by a third party site and you are wary about\n * relying on non-standard implementations, specify\n * \"--define goog.TRUSTED_SITE=false\" to the compiler.\n */\ngoog.TRUSTED_SITE = goog.define('goog.TRUSTED_SITE', true);\n\n\n/**\n * @define {boolean} Whether code that calls {@link goog.setTestOnly} should\n * be disallowed in the compilation unit.\n */\ngoog.DISALLOW_TEST_ONLY_CODE =\n goog.define('goog.DISALLOW_TEST_ONLY_CODE', COMPILED && !goog.DEBUG);\n\n\n/**\n * @define {boolean} Whether to use a Chrome app CSP-compliant method for\n * loading scripts via goog.require. @see appendScriptSrcNode_.\n */\ngoog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING =\n goog.define('goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING', false);\n\n\n/**\n * Defines a namespace in Closure.\n *\n * A namespace may only be defined once in a codebase. It may be defined using\n * goog.provide() or goog.module().\n *\n * The presence of one or more goog.provide() calls in a file indicates\n * that the file defines the given objects/namespaces.\n * Provided symbols must not be null or undefined.\n *\n * In addition, goog.provide() creates the object stubs for a namespace\n * (for example, goog.provide(\"goog.foo.bar\") will create the object\n * goog.foo.bar if it does not already exist).\n *\n * Build tools also scan for provide/require/module statements\n * to discern dependencies, build dependency files (see deps.js), etc.\n *\n * @see goog.require\n * @see goog.module\n * @param {string} name Namespace provided by this file in the form\n * \"goog.package.part\".\n * deprecated Use goog.module (see b/159289405)\n */\ngoog.provide = function(name) {\n if (goog.isInModuleLoader_()) {\n throw new Error('goog.provide cannot be used within a module.');\n }\n if (!COMPILED) {\n // Ensure that the same namespace isn't provided twice.\n // A goog.module/goog.provide maps a goog.require to a specific file\n if (goog.isProvided_(name)) {\n throw new Error('Namespace \"' + name + '\" already declared.');\n }\n }\n\n goog.constructNamespace_(name);\n};\n\n\n/**\n * @param {string} name Namespace provided by this file in the form\n * \"goog.package.part\".\n * @param {?Object=} object The object to embed in the namespace.\n * @param {boolean=} overwriteImplicit If object is set and a previous call\n * implicitly constructed the namespace given by name, this parameter\n * controls whether opt_obj should overwrite the implicitly constructed\n * namespace or be merged into it. Defaults to false.\n * @private\n */\ngoog.constructNamespace_ = function(name, object, overwriteImplicit) {\n if (!COMPILED) {\n delete goog.implicitNamespaces_[name];\n\n var namespace = name;\n while ((namespace = namespace.substring(0, namespace.lastIndexOf('.')))) {\n if (goog.getObjectByName(namespace)) {\n break;\n }\n goog.implicitNamespaces_[namespace] = true;\n }\n }\n\n goog.exportPath_(name, object, overwriteImplicit);\n};\n\n\n/**\n * According to the CSP3 spec a nonce must be a valid base64 string.\n * @see https://www.w3.org/TR/CSP3/#grammardef-base64-value\n * @private @const\n */\ngoog.NONCE_PATTERN_ = /^[\\w+/_-]+[=]{0,2}$/;\n\n\n/**\n * Returns CSP nonce, if set for any script tag.\n * @param {?Window=} opt_window The window context used to retrieve the nonce.\n * Defaults to global context.\n * @return {string} CSP nonce or empty string if no nonce is present.\n * @private\n */\ngoog.getScriptNonce_ = function(opt_window) {\n var doc = (opt_window || goog.global).document;\n var script = doc.querySelector && doc.querySelector('script[nonce]');\n if (script) {\n // Try to get the nonce from the IDL property first, because browsers that\n // implement additional nonce protection features (currently only Chrome) to\n // prevent nonce stealing via CSS do not expose the nonce via attributes.\n // See https://github.com/whatwg/html/issues/2369\n var nonce = script['nonce'] || script.getAttribute('nonce');\n if (nonce && goog.NONCE_PATTERN_.test(nonce)) {\n return nonce;\n }\n }\n return '';\n};\n\n\n/**\n * Module identifier validation regexp.\n * Note: This is a conservative check, it is very possible to be more lenient,\n * the primary exclusion here is \"/\" and \"\\\" and a leading \".\", these\n * restrictions are intended to leave the door open for using goog.require\n * with relative file paths rather than module identifiers.\n * @private\n */\ngoog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/;\n\n\n/**\n * Defines a module in Closure.\n *\n * Marks that this file must be loaded as a module and claims the namespace.\n *\n * A namespace may only be defined once in a codebase. It may be defined using\n * goog.provide() or goog.module().\n *\n * goog.module() has three requirements:\n * - goog.module may not be used in the same file as goog.provide.\n * - goog.module must be the first statement in the file.\n * - only one goog.module is allowed per file.\n *\n * When a goog.module annotated file is loaded, it is enclosed in\n * a strict function closure. This means that:\n * - any variables declared in a goog.module file are private to the file\n * (not global), though the compiler is expected to inline the module.\n * - The code must obey all the rules of \"strict\" JavaScript.\n * - the file will be marked as \"use strict\"\n *\n * NOTE: unlike goog.provide, goog.module does not declare any symbols by\n * itself. If declared symbols are desired, use\n * goog.module.declareLegacyNamespace().\n *\n *\n * See the public goog.module proposal: http://goo.gl/Va1hin\n *\n * @param {string} name Namespace provided by this file in the form\n * \"goog.package.part\", is expected but not required.\n * @return {void}\n */\ngoog.module = function(name) {\n if (typeof name !== 'string' || !name ||\n name.search(goog.VALID_MODULE_RE_) == -1) {\n throw new Error('Invalid module identifier');\n }\n if (!goog.isInGoogModuleLoader_()) {\n throw new Error(\n 'Module ' + name + ' has been loaded incorrectly. Note, ' +\n 'modules cannot be loaded as normal scripts. They require some kind of ' +\n 'pre-processing step. You\\'re likely trying to load a module via a ' +\n 'script tag or as a part of a concatenated bundle without rewriting the ' +\n 'module. For more info see: ' +\n 'https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.');\n }\n if (goog.moduleLoaderState_.moduleName) {\n throw new Error('goog.module may only be called once per module.');\n }\n\n // Store the module name for the loader.\n goog.moduleLoaderState_.moduleName = name;\n if (!COMPILED) {\n // Ensure that the same namespace isn't provided twice.\n // A goog.module/goog.provide maps a goog.require to a specific file\n if (goog.isProvided_(name)) {\n throw new Error('Namespace \"' + name + '\" already declared.');\n }\n delete goog.implicitNamespaces_[name];\n }\n};\n\n\n/**\n * @param {string} name The module identifier.\n * @return {?} The module exports for an already loaded module or null.\n *\n * Note: This is not an alternative to goog.require, it does not\n * indicate a hard dependency, instead it is used to indicate\n * an optional dependency or to access the exports of a module\n * that has already been loaded.\n * @suppress {missingProvide}\n */\ngoog.module.get = function(name) {\n return goog.module.getInternal_(name);\n};\n\n\n/**\n * @param {string} name The module identifier.\n * @return {?} The module exports for an already loaded module or null.\n * @private\n */\ngoog.module.getInternal_ = function(name) {\n if (!COMPILED) {\n if (name in goog.loadedModules_) {\n return goog.loadedModules_[name].exports;\n } else if (!goog.implicitNamespaces_[name]) {\n var ns = goog.getObjectByName(name);\n return ns != null ? ns : null;\n }\n }\n return null;\n};\n\n/**\n * Types of modules the debug loader can load.\n * @enum {string}\n */\ngoog.ModuleType = {\n ES6: 'es6',\n GOOG: 'goog'\n};\n\n\n/**\n * @private {?{\n * moduleName: (string|undefined),\n * declareLegacyNamespace:boolean,\n * type: ?goog.ModuleType\n * }}\n */\ngoog.moduleLoaderState_ = null;\n\n\n/**\n * @private\n * @return {boolean} Whether a goog.module or an es6 module is currently being\n * initialized.\n */\ngoog.isInModuleLoader_ = function() {\n return goog.isInGoogModuleLoader_() || goog.isInEs6ModuleLoader_();\n};\n\n\n/**\n * @private\n * @return {boolean} Whether a goog.module is currently being initialized.\n */\ngoog.isInGoogModuleLoader_ = function() {\n return !!goog.moduleLoaderState_ &&\n goog.moduleLoaderState_.type == goog.ModuleType.GOOG;\n};\n\n\n/**\n * @private\n * @return {boolean} Whether an es6 module is currently being initialized.\n */\ngoog.isInEs6ModuleLoader_ = function() {\n var inLoader = !!goog.moduleLoaderState_ &&\n goog.moduleLoaderState_.type == goog.ModuleType.ES6;\n\n if (inLoader) {\n return true;\n }\n\n var jscomp = goog.global['$jscomp'];\n\n if (jscomp) {\n // jscomp may not have getCurrentModulePath if this is a compiled bundle\n // that has some of the runtime, but not all of it. This can happen if\n // optimizations are turned on so the unused runtime is removed but renaming\n // and Closure pass are off (so $jscomp is still named $jscomp and the\n // goog.provide/require calls still exist).\n if (typeof jscomp.getCurrentModulePath != 'function') {\n return false;\n }\n\n // Bundled ES6 module.\n return !!jscomp.getCurrentModulePath();\n }\n\n return false;\n};\n\n\n/**\n * Provide the module's exports as a globally accessible object under the\n * module's declared name. This is intended to ease migration to goog.module\n * for files that have existing usages.\n * @suppress {missingProvide}\n */\ngoog.module.declareLegacyNamespace = function() {\n if (!COMPILED && !goog.isInGoogModuleLoader_()) {\n throw new Error(\n 'goog.module.declareLegacyNamespace must be called from ' +\n 'within a goog.module');\n }\n if (!COMPILED && !goog.moduleLoaderState_.moduleName) {\n throw new Error(\n 'goog.module must be called prior to ' +\n 'goog.module.declareLegacyNamespace.');\n }\n goog.moduleLoaderState_.declareLegacyNamespace = true;\n};\n\n\n/**\n * Associates an ES6 module with a Closure module ID so that is available via\n * goog.require. The associated ID acts like a goog.module ID - it does not\n * create any global names, it is merely available via goog.require /\n * goog.module.get / goog.forwardDeclare / goog.requireType. goog.require and\n * goog.module.get will return the entire module as if it was import *'d. This\n * allows Closure files to reference ES6 modules for the sake of migration.\n *\n * @param {string} namespace\n * @suppress {missingProvide}\n */\ngoog.declareModuleId = function(namespace) {\n if (!COMPILED) {\n if (!goog.isInEs6ModuleLoader_()) {\n throw new Error(\n 'goog.declareModuleId may only be called from ' +\n 'within an ES6 module');\n }\n if (goog.moduleLoaderState_ && goog.moduleLoaderState_.moduleName) {\n throw new Error(\n 'goog.declareModuleId may only be called once per module.');\n }\n if (namespace in goog.loadedModules_) {\n throw new Error(\n 'Module with namespace \"' + namespace + '\" already exists.');\n }\n }\n if (goog.moduleLoaderState_) {\n // Not bundled - debug loading.\n goog.moduleLoaderState_.moduleName = namespace;\n } else {\n // Bundled - not debug loading, no module loader state.\n var jscomp = goog.global['$jscomp'];\n if (!jscomp || typeof jscomp.getCurrentModulePath != 'function') {\n throw new Error(\n 'Module with namespace \"' + namespace +\n '\" has been loaded incorrectly.');\n }\n var exports = jscomp.require(jscomp.getCurrentModulePath());\n goog.loadedModules_[namespace] = {\n exports: exports,\n type: goog.ModuleType.ES6,\n moduleId: namespace\n };\n }\n};\n\n\n/**\n * Marks that the current file should only be used for testing, and never for\n * live code in production.\n *\n * In the case of unit tests, the message may optionally be an exact namespace\n * for the test (e.g. 'goog.stringTest'). The linter will then ignore the extra\n * provide (if not explicitly defined in the code).\n *\n * @param {string=} opt_message Optional message to add to the error that's\n * raised when used in production code.\n */\ngoog.setTestOnly = function(opt_message) {\n if (goog.DISALLOW_TEST_ONLY_CODE) {\n opt_message = opt_message || '';\n throw new Error(\n 'Importing test-only code into non-debug environment' +\n (opt_message ? ': ' + opt_message : '.'));\n }\n};\n\n\n/**\n * Forward declares a symbol. This is an indication to the compiler that the\n * symbol may be used in the source yet is not required and may not be provided\n * in compilation.\n *\n * The most common usage of forward declaration is code that takes a type as a\n * function parameter but does not need to require it. By forward declaring\n * instead of requiring, no hard dependency is made, and (if not required\n * elsewhere) the namespace may never be required and thus, not be pulled\n * into the JavaScript binary. If it is required elsewhere, it will be type\n * checked as normal.\n *\n * Before using goog.forwardDeclare, please read the documentation at\n * https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation to\n * understand the options and tradeoffs when working with forward declarations.\n *\n * @param {string} name The namespace to forward declare in the form of\n * \"goog.package.part\".\n * @deprecated See go/noforwarddeclaration, Use `goog.requireType` instead.\n */\ngoog.forwardDeclare = function(name) {};\n\n\n/**\n * Forward declare type information. Used to assign types to goog.global\n * referenced object that would otherwise result in unknown type references\n * and thus block property disambiguation.\n */\ngoog.forwardDeclare('Document');\ngoog.forwardDeclare('HTMLScriptElement');\ngoog.forwardDeclare('XMLHttpRequest');\n\n\nif (!COMPILED) {\n /**\n * Check if the given name has been goog.provided. This will return false for\n * names that are available only as implicit namespaces.\n * @param {string} name name of the object to look for.\n * @return {boolean} Whether the name has been provided.\n * @private\n */\n goog.isProvided_ = function(name) {\n return (name in goog.loadedModules_) ||\n (!goog.implicitNamespaces_[name] && goog.getObjectByName(name) != null);\n };\n\n /**\n * Namespaces implicitly defined by goog.provide. For example,\n * goog.provide('goog.events.Event') implicitly declares that 'goog' and\n * 'goog.events' must be namespaces.\n *\n * @type {!Object}\n * @private\n */\n goog.implicitNamespaces_ = {'goog.module': true};\n\n // NOTE: We add goog.module as an implicit namespace as goog.module is defined\n // here and because the existing module package has not been moved yet out of\n // the goog.module namespace. This satisifies both the debug loader and\n // ahead-of-time dependency management.\n}\n\n\n/**\n * Returns an object based on its fully qualified external name. The object\n * is not found if null or undefined. If you are using a compilation pass that\n * renames property names beware that using this function will not find renamed\n * properties.\n *\n * @param {string} name The fully qualified name.\n * @param {Object=} opt_obj The object within which to look; default is\n * |goog.global|.\n * @return {?} The value (object or primitive) or, if not found, null.\n */\ngoog.getObjectByName = function(name, opt_obj) {\n var parts = name.split('.');\n var cur = opt_obj || goog.global;\n for (var i = 0; i < parts.length; i++) {\n cur = cur[parts[i]];\n if (cur == null) {\n return null;\n }\n }\n return cur;\n};\n\n\n/**\n * Adds a dependency from a file to the files it requires.\n * @param {string} relPath The path to the js file.\n * @param {!Array} provides An array of strings with\n * the names of the objects this file provides.\n * @param {!Array} requires An array of strings with\n * the names of the objects this file requires.\n * @param {boolean|!Object=} opt_loadFlags Parameters indicating\n * how the file must be loaded. The boolean 'true' is equivalent\n * to {'module': 'goog'} for backwards-compatibility. Valid properties\n * and values include {'module': 'goog'} and {'lang': 'es6'}.\n */\ngoog.addDependency = function(relPath, provides, requires, opt_loadFlags) {\n if (!COMPILED && goog.DEPENDENCIES_ENABLED) {\n goog.debugLoader_.addDependency(relPath, provides, requires, opt_loadFlags);\n }\n};\n\n\n// NOTE(nnaze): The debug DOM loader was included in base.js as an original way\n// to do \"debug-mode\" development. The dependency system can sometimes be\n// confusing, as can the debug DOM loader's asynchronous nature.\n//\n// With the DOM loader, a call to goog.require() is not blocking -- the script\n// will not load until some point after the current script. If a namespace is\n// needed at runtime, it needs to be defined in a previous script, or loaded via\n// require() with its registered dependencies.\n//\n// User-defined namespaces may need their own deps file. For a reference on\n// creating a deps file, see:\n// Externally: https://developers.google.com/closure/library/docs/depswriter\n//\n// Because of legacy clients, the DOM loader can't be easily removed from\n// base.js. Work was done to make it disableable or replaceable for\n// different environments (DOM-less JavaScript interpreters like Rhino or V8,\n// for example). See bootstrap/ for more information.\n\n\n/**\n * @define {boolean} Whether to enable the debug loader.\n *\n * If enabled, a call to goog.require() will attempt to load the namespace by\n * appending a script tag to the DOM (if the namespace has been registered).\n *\n * If disabled, goog.require() will simply assert that the namespace has been\n * provided (and depend on the fact that some outside tool correctly ordered\n * the script).\n */\ngoog.ENABLE_DEBUG_LOADER = goog.define('goog.ENABLE_DEBUG_LOADER', true);\n\n\n/**\n * @param {string} msg\n * @private\n */\ngoog.logToConsole_ = function(msg) {\n if (goog.global.console) {\n goog.global.console['error'](msg);\n }\n};\n\n\n/**\n * Implements a system for the dynamic resolution of dependencies that works in\n * parallel with the BUILD system.\n *\n * Note that all calls to goog.require will be stripped by the compiler.\n *\n * @see goog.provide\n * @param {string} namespace Namespace (as was given in goog.provide,\n * goog.module, or goog.declareModuleId) in the form\n * \"goog.package.part\".\n * @return {?} If called within a goog.module or ES6 module file, the associated\n * namespace or module otherwise null.\n */\ngoog.require = function(namespace) {\n if (!COMPILED) {\n // Might need to lazy load on old IE.\n if (goog.ENABLE_DEBUG_LOADER) {\n goog.debugLoader_.requested(namespace);\n }\n\n // If the object already exists we do not need to do anything.\n if (goog.isProvided_(namespace)) {\n if (goog.isInModuleLoader_()) {\n return goog.module.getInternal_(namespace);\n }\n } else if (goog.ENABLE_DEBUG_LOADER) {\n var moduleLoaderState = goog.moduleLoaderState_;\n goog.moduleLoaderState_ = null;\n try {\n goog.debugLoader_.load_(namespace);\n } finally {\n goog.moduleLoaderState_ = moduleLoaderState;\n }\n }\n\n return null;\n }\n};\n\n\n/**\n * Requires a symbol for its type information. This is an indication to the\n * compiler that the symbol may appear in type annotations, yet it is not\n * referenced at runtime.\n *\n * When called within a goog.module or ES6 module file, the return value may be\n * assigned to or destructured into a variable, but it may not be otherwise used\n * in code outside of a type annotation.\n *\n * Note that all calls to goog.requireType will be stripped by the compiler.\n *\n * @param {string} namespace Namespace (as was given in goog.provide,\n * goog.module, or goog.declareModuleId) in the form\n * \"goog.package.part\".\n * @return {?}\n */\ngoog.requireType = function(namespace) {\n // Return an empty object so that single-level destructuring of the return\n // value doesn't crash at runtime when using the debug loader. Multi-level\n // destructuring isn't supported.\n return {};\n};\n\n\n/**\n * Path for included scripts.\n * @type {string}\n */\ngoog.basePath = '';\n\n\n/**\n * A hook for overriding the base path.\n * @type {string|undefined}\n */\ngoog.global.CLOSURE_BASE_PATH;\n\n\n/**\n * Whether to attempt to load Closure's deps file. By default, when uncompiled,\n * deps files will attempt to be loaded.\n * @type {boolean|undefined}\n */\ngoog.global.CLOSURE_NO_DEPS;\n\n\n/**\n * A function to import a single script. This is meant to be overridden when\n * Closure is being run in non-HTML contexts, such as web workers. It's defined\n * in the global scope so that it can be set before base.js is loaded, which\n * allows deps.js to be imported properly.\n *\n * The first parameter the script source, which is a relative URI. The second,\n * optional parameter is the script contents, in the event the script needed\n * transformation. It should return true if the script was imported, false\n * otherwise.\n * @type {(function(string, string=): boolean)|undefined}\n */\ngoog.global.CLOSURE_IMPORT_SCRIPT;\n\n\n/**\n * When defining a class Foo with an abstract method bar(), you can do:\n * Foo.prototype.bar = goog.abstractMethod\n *\n * Now if a subclass of Foo fails to override bar(), an error will be thrown\n * when bar() is invoked.\n *\n * @type {!Function}\n * @throws {Error} when invoked to indicate the method should be overridden.\n * @deprecated Use \"@abstract\" annotation instead of goog.abstractMethod in new\n * code. See\n * https://github.com/google/closure-compiler/wiki/@abstract-classes-and-methods\n */\ngoog.abstractMethod = function() {\n throw new Error('unimplemented abstract method');\n};\n\n\n/**\n * Adds a `getInstance` static method that always returns the same\n * instance object.\n * @param {!Function} ctor The constructor for the class to add the static\n * method to.\n * @suppress {missingProperties} 'instance_' isn't a property on 'Function'\n * but we don't have a better type to use here.\n */\ngoog.addSingletonGetter = function(ctor) {\n // instance_ is immediately set to prevent issues with sealed constructors\n // such as are encountered when a constructor is returned as the export object\n // of a goog.module in unoptimized code.\n // Delcare type to avoid conformance violations that ctor.instance_ is unknown\n /** @type {undefined|!Object} @suppress {underscore} */\n ctor.instance_ = undefined;\n ctor.getInstance = function() {\n if (ctor.instance_) {\n return ctor.instance_;\n }\n if (goog.DEBUG) {\n // NOTE: JSCompiler can't optimize away Array#push.\n goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = ctor;\n }\n // Cast to avoid conformance violations that ctor.instance_ is unknown\n return /** @type {!Object|undefined} */ (ctor.instance_) = new ctor;\n };\n};\n\n\n/**\n * All singleton classes that have been instantiated, for testing. Don't read\n * it directly, use the `goog.testing.singleton` module. The compiler\n * removes this variable if unused.\n * @type {!Array}\n * @private\n */\ngoog.instantiatedSingletons_ = [];\n\n\n/**\n * @define {boolean} Whether to load goog.modules using `eval` when using\n * the debug loader. This provides a better debugging experience as the\n * source is unmodified and can be edited using Chrome Workspaces or similar.\n * However in some environments the use of `eval` is banned\n * so we provide an alternative.\n */\ngoog.LOAD_MODULE_USING_EVAL = goog.define('goog.LOAD_MODULE_USING_EVAL', true);\n\n\n/**\n * @define {boolean} Whether the exports of goog.modules should be sealed when\n * possible.\n */\ngoog.SEAL_MODULE_EXPORTS = goog.define('goog.SEAL_MODULE_EXPORTS', goog.DEBUG);\n\n\n/**\n * The registry of initialized modules:\n * The module identifier or path to module exports map.\n * @private @const {!Object}\n */\ngoog.loadedModules_ = {};\n\n\n/**\n * True if the debug loader enabled and used.\n * @const {boolean}\n */\ngoog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER;\n\n\n/**\n * @define {string} How to decide whether to transpile. Valid values\n * are 'always', 'never', and 'detect'. The default ('detect') is to\n * use feature detection to determine which language levels need\n * transpilation.\n */\n// NOTE(sdh): we could expand this to accept a language level to bypass\n// detection: e.g. goog.TRANSPILE == 'es5' would transpile ES6 files but\n// would leave ES3 and ES5 files alone.\ngoog.TRANSPILE = goog.define('goog.TRANSPILE', 'detect');\n\n/**\n * @define {boolean} If true assume that ES modules have already been\n * transpiled by the jscompiler (in the same way that transpile.js would\n * transpile them - to jscomp modules). Useful only for servers that wish to use\n * the debug loader and transpile server side. Thus this is only respected if\n * goog.TRANSPILE is \"never\".\n */\ngoog.ASSUME_ES_MODULES_TRANSPILED =\n goog.define('goog.ASSUME_ES_MODULES_TRANSPILED', false);\n\n\n/**\n * @define {string} Trusted Types policy name. If non-empty then Closure will\n * use Trusted Types.\n */\ngoog.TRUSTED_TYPES_POLICY_NAME =\n goog.define('goog.TRUSTED_TYPES_POLICY_NAME', 'goog');\n\n\n/**\n * @package {?boolean}\n * Visible for testing.\n */\ngoog.hasBadLetScoping = null;\n\n\n/**\n * @param {function(?):?|string} moduleDef The module definition.\n */\ngoog.loadModule = function(moduleDef) {\n // NOTE: we allow function definitions to be either in the from\n // of a string to eval (which keeps the original source intact) or\n // in a eval forbidden environment (CSP) we allow a function definition\n // which in its body must call `goog.module`, and return the exports\n // of the module.\n var previousState = goog.moduleLoaderState_;\n try {\n goog.moduleLoaderState_ = {\n moduleName: '',\n declareLegacyNamespace: false,\n type: goog.ModuleType.GOOG\n };\n var origExports = {};\n var exports = origExports;\n if (typeof moduleDef === 'function') {\n exports = moduleDef.call(undefined, exports);\n } else if (typeof moduleDef === 'string') {\n exports = goog.loadModuleFromSource_.call(undefined, exports, moduleDef);\n } else {\n throw new Error('Invalid module definition');\n }\n\n var moduleName = goog.moduleLoaderState_.moduleName;\n if (typeof moduleName === 'string' && moduleName) {\n // Don't seal legacy namespaces as they may be used as a parent of\n // another namespace\n if (goog.moduleLoaderState_.declareLegacyNamespace) {\n // Whether exports was overwritten via default export assignment.\n // This is important for legacy namespaces as it dictates whether\n // previously a previously loaded implicit namespace should be clobbered\n // or not.\n var isDefaultExport = origExports !== exports;\n goog.constructNamespace_(moduleName, exports, isDefaultExport);\n } else if (\n goog.SEAL_MODULE_EXPORTS && Object.seal &&\n typeof exports == 'object' && exports != null) {\n Object.seal(exports);\n }\n\n var data = {\n exports: exports,\n type: goog.ModuleType.GOOG,\n moduleId: goog.moduleLoaderState_.moduleName\n };\n goog.loadedModules_[moduleName] = data;\n } else {\n throw new Error('Invalid module name \\\"' + moduleName + '\\\"');\n }\n } finally {\n goog.moduleLoaderState_ = previousState;\n }\n};\n\n\n/**\n * @private @const\n */\ngoog.loadModuleFromSource_ =\n /** @type {function(!Object, string):?} */ (function(exports) {\n // NOTE: we avoid declaring parameters or local variables here to avoid\n // masking globals or leaking values into the module definition.\n 'use strict';\n eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(arguments[1]));\n return exports;\n });\n\n\n/**\n * Normalize a file path by removing redundant \"..\" and extraneous \".\" file\n * path components.\n * @param {string} path\n * @return {string}\n * @private\n */\ngoog.normalizePath_ = function(path) {\n var components = path.split('/');\n var i = 0;\n while (i < components.length) {\n if (components[i] == '.') {\n components.splice(i, 1);\n } else if (\n i && components[i] == '..' && components[i - 1] &&\n components[i - 1] != '..') {\n components.splice(--i, 2);\n } else {\n i++;\n }\n }\n return components.join('/');\n};\n\n\n/**\n * Provides a hook for loading a file when using Closure's goog.require() API\n * with goog.modules. In particular this hook is provided to support Node.js.\n *\n * @type {(function(string):string)|undefined}\n */\ngoog.global.CLOSURE_LOAD_FILE_SYNC;\n\n\n/**\n * Loads file by synchronous XHR. Should not be used in production environments.\n * @param {string} src Source URL.\n * @return {?string} File contents, or null if load failed.\n * @private\n */\ngoog.loadFileSync_ = function(src) {\n if (goog.global.CLOSURE_LOAD_FILE_SYNC) {\n return goog.global.CLOSURE_LOAD_FILE_SYNC(src);\n } else {\n try {\n /** @type {XMLHttpRequest} */\n var xhr = new goog.global['XMLHttpRequest']();\n xhr.open('get', src, false);\n xhr.send();\n // NOTE: Successful http: requests have a status of 200, but successful\n // file: requests may have a status of zero. Any other status, or a\n // thrown exception (particularly in case of file: requests) indicates\n // some sort of error, which we treat as a missing or unavailable file.\n return xhr.status == 0 || xhr.status == 200 ? xhr.responseText : null;\n } catch (err) {\n // No need to rethrow or log, since errors should show up on their own.\n return null;\n }\n }\n};\n\n//==============================================================================\n// Language Enhancements\n//==============================================================================\n\n\n/**\n * This is a \"fixed\" version of the typeof operator. It differs from the typeof\n * operator in such a way that null returns 'null' and arrays return 'array'.\n * @param {?} value The value to get the type of.\n * @return {string} The name of the type.\n */\ngoog.typeOf = function(value) {\n var s = typeof value;\n\n if (s != 'object') {\n return s;\n }\n\n if (!value) {\n return 'null';\n }\n\n if (Array.isArray(value)) {\n return 'array';\n }\n return s;\n};\n\n\n/**\n * Returns true if the object looks like an array. To qualify as array like\n * the value needs to be either a NodeList or an object with a Number length\n * property. Note that for this function neither strings nor functions are\n * considered \"array-like\".\n *\n * @param {?} val Variable to test.\n * @return {boolean} Whether variable is an array.\n */\ngoog.isArrayLike = function(val) {\n var type = goog.typeOf(val);\n // We do not use goog.isObject here in order to exclude function values.\n return type == 'array' || type == 'object' && typeof val.length == 'number';\n};\n\n\n/**\n * Returns true if the object looks like a Date. To qualify as Date-like the\n * value needs to be an object and have a getFullYear() function.\n * @param {?} val Variable to test.\n * @return {boolean} Whether variable is a like a Date.\n */\ngoog.isDateLike = function(val) {\n return goog.isObject(val) && typeof val.getFullYear == 'function';\n};\n\n\n/**\n * Returns true if the specified value is an object. This includes arrays and\n * functions.\n * @param {?} val Variable to test.\n * @return {boolean} Whether variable is an object.\n */\ngoog.isObject = function(val) {\n var type = typeof val;\n return type == 'object' && val != null || type == 'function';\n // return Object(val) === val also works, but is slower, especially if val is\n // not an object.\n};\n\n\n/**\n * Gets a unique ID for an object. This mutates the object so that further calls\n * with the same object as a parameter returns the same value. The unique ID is\n * guaranteed to be unique across the current session amongst objects that are\n * passed into `getUid`. There is no guarantee that the ID is unique or\n * consistent across sessions. It is unsafe to generate unique ID for function\n * prototypes.\n *\n * @param {Object} obj The object to get the unique ID for.\n * @return {number} The unique ID for the object.\n */\ngoog.getUid = function(obj) {\n // TODO(arv): Make the type stricter, do not accept null.\n return Object.prototype.hasOwnProperty.call(obj, goog.UID_PROPERTY_) &&\n obj[goog.UID_PROPERTY_] ||\n (obj[goog.UID_PROPERTY_] = ++goog.uidCounter_);\n};\n\n\n/**\n * Whether the given object is already assigned a unique ID.\n *\n * This does not modify the object.\n *\n * @param {!Object} obj The object to check.\n * @return {boolean} Whether there is an assigned unique id for the object.\n */\ngoog.hasUid = function(obj) {\n return !!obj[goog.UID_PROPERTY_];\n};\n\n\n/**\n * Removes the unique ID from an object. This is useful if the object was\n * previously mutated using `goog.getUid` in which case the mutation is\n * undone.\n * @param {Object} obj The object to remove the unique ID field from.\n */\ngoog.removeUid = function(obj) {\n // TODO(arv): Make the type stricter, do not accept null.\n\n // In IE, DOM nodes are not instances of Object and throw an exception if we\n // try to delete. Instead we try to use removeAttribute.\n if (obj !== null && 'removeAttribute' in obj) {\n obj.removeAttribute(goog.UID_PROPERTY_);\n }\n\n try {\n delete obj[goog.UID_PROPERTY_];\n } catch (ex) {\n }\n};\n\n\n/**\n * Name for unique ID property. Initialized in a way to help avoid collisions\n * with other closure JavaScript on the same page.\n * @type {string}\n * @private\n */\ngoog.UID_PROPERTY_ = 'closure_uid_' + ((Math.random() * 1e9) >>> 0);\n\n\n/**\n * Counter for UID.\n * @type {number}\n * @private\n */\ngoog.uidCounter_ = 0;\n\n\n/**\n * Clones a value. The input may be an Object, Array, or basic type. Objects and\n * arrays will be cloned recursively.\n *\n * WARNINGS:\n * goog.cloneObject does not detect reference loops. Objects that\n * refer to themselves will cause infinite recursion.\n *\n * goog.cloneObject is unaware of unique identifiers, and copies\n * UIDs created by getUid into cloned results.\n *\n * @param {*} obj The value to clone.\n * @return {*} A clone of the input value.\n * @deprecated goog.cloneObject is unsafe. Prefer the goog.object methods.\n */\ngoog.cloneObject = function(obj) {\n var type = goog.typeOf(obj);\n if (type == 'object' || type == 'array') {\n if (typeof obj.clone === 'function') {\n return obj.clone();\n }\n if (typeof Map !== 'undefined' && obj instanceof Map) {\n return new Map(obj);\n } else if (typeof Set !== 'undefined' && obj instanceof Set) {\n return new Set(obj);\n }\n var clone = type == 'array' ? [] : {};\n for (var key in obj) {\n clone[key] = goog.cloneObject(obj[key]);\n }\n return clone;\n }\n\n return obj;\n};\n\n\n/**\n * A native implementation of goog.bind.\n * @param {?function(this:T, ...)} fn A function to partially apply.\n * @param {T} selfObj Specifies the object which this should point to when the\n * function is run.\n * @param {...*} var_args Additional arguments that are partially applied to the\n * function.\n * @return {!Function} A partially-applied form of the function goog.bind() was\n * invoked as a method of.\n * @template T\n * @private\n */\ngoog.bindNative_ = function(fn, selfObj, var_args) {\n return /** @type {!Function} */ (fn.call.apply(fn.bind, arguments));\n};\n\n\n/**\n * A pure-JS implementation of goog.bind.\n * @param {?function(this:T, ...)} fn A function to partially apply.\n * @param {T} selfObj Specifies the object which this should point to when the\n * function is run.\n * @param {...*} var_args Additional arguments that are partially applied to the\n * function.\n * @return {!Function} A partially-applied form of the function goog.bind() was\n * invoked as a method of.\n * @template T\n * @private\n */\ngoog.bindJs_ = function(fn, selfObj, var_args) {\n if (!fn) {\n throw new Error();\n }\n\n if (arguments.length > 2) {\n var boundArgs = Array.prototype.slice.call(arguments, 2);\n return function() {\n // Prepend the bound arguments to the current arguments.\n var newArgs = Array.prototype.slice.call(arguments);\n Array.prototype.unshift.apply(newArgs, boundArgs);\n return fn.apply(selfObj, newArgs);\n };\n\n } else {\n return function() {\n return fn.apply(selfObj, arguments);\n };\n }\n};\n\n\n/**\n * Partially applies this function to a particular 'this object' and zero or\n * more arguments. The result is a new function with some arguments of the first\n * function pre-filled and the value of this 'pre-specified'.\n *\n * Remaining arguments specified at call-time are appended to the pre-specified\n * ones.\n *\n * Also see: {@link #partial}.\n *\n * Usage:\n *
var barMethBound = goog.bind(myFunction, myObj, 'arg1', 'arg2');\n * barMethBound('arg3', 'arg4');
\n *\n * @param {?function(this:T, ...)} fn A function to partially apply.\n * @param {T} selfObj Specifies the object which this should point to when the\n * function is run.\n * @param {...*} var_args Additional arguments that are partially applied to the\n * function.\n * @return {!Function} A partially-applied form of the function goog.bind() was\n * invoked as a method of.\n * @template T\n * @suppress {deprecated} See above.\n * @deprecated use `=> {}` or Function.prototype.bind instead.\n */\ngoog.bind = function(fn, selfObj, var_args) {\n // TODO(nicksantos): narrow the type signature.\n if (Function.prototype.bind &&\n // NOTE(nicksantos): Somebody pulled base.js into the default Chrome\n // extension environment. This means that for Chrome extensions, they get\n // the implementation of Function.prototype.bind that calls goog.bind\n // instead of the native one. Even worse, we don't want to introduce a\n // circular dependency between goog.bind and Function.prototype.bind, so\n // we have to hack this to make sure it works correctly.\n Function.prototype.bind.toString().indexOf('native code') != -1) {\n goog.bind = goog.bindNative_;\n } else {\n goog.bind = goog.bindJs_;\n }\n return goog.bind.apply(null, arguments);\n};\n\n\n/**\n * Like goog.bind(), except that a 'this object' is not required. Useful when\n * the target function is already bound.\n *\n * Usage:\n * var g = goog.partial(f, arg1, arg2);\n * g(arg3, arg4);\n *\n * @param {Function} fn A function to partially apply.\n * @param {...*} var_args Additional arguments that are partially applied to fn.\n * @return {!Function} A partially-applied form of the function goog.partial()\n * was invoked as a method of.\n */\ngoog.partial = function(fn, var_args) {\n var args = Array.prototype.slice.call(arguments, 1);\n return function() {\n // Clone the array (with slice()) and append additional arguments\n // to the existing arguments.\n var newArgs = args.slice();\n newArgs.push.apply(newArgs, arguments);\n return fn.apply(/** @type {?} */ (this), newArgs);\n };\n};\n\n\n/**\n * @return {number} An integer value representing the number of milliseconds\n * between midnight, January 1, 1970 and the current time.\n * @deprecated Use Date.now\n */\ngoog.now = function() {\n return Date.now();\n};\n\n\n/**\n * Evals JavaScript in the global scope.\n *\n * Throws an exception if neither execScript or eval is defined.\n * @param {string|!TrustedScript} script JavaScript string.\n */\ngoog.globalEval = function(script) {\n (0, eval)(script);\n};\n\n\n/**\n * Optional map of CSS class names to obfuscated names used with\n * goog.getCssName().\n * @private {!Object|undefined}\n * @see goog.setCssNameMapping\n */\ngoog.cssNameMapping_;\n\n\n/**\n * Optional obfuscation style for CSS class names. Should be set to either\n * 'BY_WHOLE' or 'BY_PART' if defined.\n * @type {string|undefined}\n * @private\n * @see goog.setCssNameMapping\n */\ngoog.cssNameMappingStyle_;\n\n\n\n/**\n * A hook for modifying the default behavior goog.getCssName. The function\n * if present, will receive the standard output of the goog.getCssName as\n * its input.\n *\n * @type {(function(string):string)|undefined}\n */\ngoog.global.CLOSURE_CSS_NAME_MAP_FN;\n\n\n/**\n * Handles strings that are intended to be used as CSS class names.\n *\n * This function works in tandem with @see goog.setCssNameMapping.\n *\n * Without any mapping set, the arguments are simple joined with a hyphen and\n * passed through unaltered.\n *\n * When there is a mapping, there are two possible styles in which these\n * mappings are used. In the BY_PART style, each part (i.e. in between hyphens)\n * of the passed in css name is rewritten according to the map. In the BY_WHOLE\n * style, the full css name is looked up in the map directly. If a rewrite is\n * not specified by the map, the compiler will output a warning.\n *\n * When the mapping is passed to the compiler, it will replace calls to\n * goog.getCssName with the strings from the mapping, e.g.\n * var x = goog.getCssName('foo');\n * var y = goog.getCssName(this.baseClass, 'active');\n * becomes:\n * var x = 'foo';\n * var y = this.baseClass + '-active';\n *\n * If one argument is passed it will be processed, if two are passed only the\n * modifier will be processed, as it is assumed the first argument was generated\n * as a result of calling goog.getCssName.\n *\n * @param {string} className The class name.\n * @param {string=} opt_modifier A modifier to be appended to the class name.\n * @return {string} The class name or the concatenation of the class name and\n * the modifier.\n */\ngoog.getCssName = function(className, opt_modifier) {\n // String() is used for compatibility with compiled soy where the passed\n // className can be non-string objects.\n if (String(className).charAt(0) == '.') {\n throw new Error(\n 'className passed in goog.getCssName must not start with \".\".' +\n ' You passed: ' + className);\n }\n\n var getMapping = function(cssName) {\n return goog.cssNameMapping_[cssName] || cssName;\n };\n\n var renameByParts = function(cssName) {\n // Remap all the parts individually.\n var parts = cssName.split('-');\n var mapped = [];\n for (var i = 0; i < parts.length; i++) {\n mapped.push(getMapping(parts[i]));\n }\n return mapped.join('-');\n };\n\n var rename;\n if (goog.cssNameMapping_) {\n rename =\n goog.cssNameMappingStyle_ == 'BY_WHOLE' ? getMapping : renameByParts;\n } else {\n rename = function(a) {\n return a;\n };\n }\n\n var result =\n opt_modifier ? className + '-' + rename(opt_modifier) : rename(className);\n\n // The special CLOSURE_CSS_NAME_MAP_FN allows users to specify further\n // processing of the class name.\n if (goog.global.CLOSURE_CSS_NAME_MAP_FN) {\n return goog.global.CLOSURE_CSS_NAME_MAP_FN(result);\n }\n\n return result;\n};\n\n\n/**\n * Sets the map to check when returning a value from goog.getCssName(). Example:\n *
\n * goog.setCssNameMapping({\n *   \"goog\": \"a\",\n *   \"disabled\": \"b\",\n * });\n *\n * var x = goog.getCssName('goog');\n * // The following evaluates to: \"a a-b\".\n * goog.getCssName('goog') + ' ' + goog.getCssName(x, 'disabled')\n * 
\n * When declared as a map of string literals to string literals, the JSCompiler\n * will replace all calls to goog.getCssName() using the supplied map if the\n * --process_closure_primitives flag is set.\n *\n * @param {!Object} mapping A map of strings to strings where keys are possible\n * arguments to goog.getCssName() and values are the corresponding values\n * that should be returned.\n * @param {string=} opt_style The style of css name mapping. There are two valid\n * options: 'BY_PART', and 'BY_WHOLE'.\n * @see goog.getCssName for a description.\n */\ngoog.setCssNameMapping = function(mapping, opt_style) {\n goog.cssNameMapping_ = mapping;\n goog.cssNameMappingStyle_ = opt_style;\n};\n\n\n/**\n * To use CSS renaming in compiled mode, one of the input files should have a\n * call to goog.setCssNameMapping() with an object literal that the JSCompiler\n * can extract and use to replace all calls to goog.getCssName(). In uncompiled\n * mode, JavaScript code should be loaded before this base.js file that declares\n * a global variable, CLOSURE_CSS_NAME_MAPPING, which is used below. This is\n * to ensure that the mapping is loaded before any calls to goog.getCssName()\n * are made in uncompiled mode.\n *\n * A hook for overriding the CSS name mapping.\n * @type {!Object|undefined}\n */\ngoog.global.CLOSURE_CSS_NAME_MAPPING;\n\n\nif (!COMPILED && goog.global.CLOSURE_CSS_NAME_MAPPING) {\n // This does not call goog.setCssNameMapping() because the JSCompiler\n // requires that goog.setCssNameMapping() be called with an object literal.\n goog.cssNameMapping_ = goog.global.CLOSURE_CSS_NAME_MAPPING;\n}\n\n/**\n * Options bag type for `goog.getMsg()` third argument.\n *\n * It is important to note that these options need to be known at compile time,\n * so they must always be provided to `goog.getMsg()` as an actual object\n * literal in the function call. Otherwise, closure-compiler will report an\n * error.\n * @record\n */\ngoog.GetMsgOptions = function() {};\n\n/**\n * If `true`, escape '<' in the message string to '<'.\n *\n * Used by Closure Templates where the generated code size and performance is\n * critical which is why {@link goog.html.SafeHtmlFormatter} is not used.\n * The value must be literal `true` or `false`.\n * @type {boolean|undefined}\n */\ngoog.GetMsgOptions.prototype.html;\n\n/**\n * If `true`, unescape common html entities: >, <, ', " and\n * &.\n *\n * Used for messages not in HTML context, such as with the `textContent`\n * property.\n * The value must be literal `true` or `false`.\n * @type {boolean|undefined}\n */\ngoog.GetMsgOptions.prototype.unescapeHtmlEntities;\n\n/**\n * Associates placeholder names with strings showing how their values are\n * obtained.\n *\n * This field is intended for use in automatically generated JS code.\n * Human-written code should use meaningful placeholder names instead.\n *\n * closure-compiler uses this as the contents of the `` tag in the\n * XMB file it generates or defaults to `-` for historical reasons.\n *\n * Must be an object literal.\n * Ignored at runtime.\n * Keys are placeholder names.\n * Values are string literals indicating how the value is obtained.\n * Typically this is a snippet of source code.\n * @type {!Object|undefined}\n */\ngoog.GetMsgOptions.prototype.original_code;\n\n/**\n * Associates placeholder names with example values.\n *\n * closure-compiler uses this as the contents of the `` tag in the\n * XMB file it generates or defaults to `-` for historical reasons.\n *\n * Must be an object literal.\n * Ignored at runtime.\n * Keys are placeholder names.\n * Values are string literals containing example placeholder values.\n * (e.g. \"George McFly\" for a name placeholder)\n * @type {!Object|undefined}\n */\ngoog.GetMsgOptions.prototype.example;\n\n/**\n * Gets a localized message.\n *\n * This function is a compiler primitive. If you give the compiler a localized\n * message bundle, it will replace the string at compile-time with a localized\n * version, and expand goog.getMsg call to a concatenated string.\n *\n * Messages must be initialized in the form:\n * \n * var MSG_NAME = goog.getMsg('Hello {$placeholder}', {'placeholder': 'world'});\n * \n *\n * This function produces a string which should be treated as plain text. Use\n * {@link goog.html.SafeHtmlFormatter} in conjunction with goog.getMsg to\n * produce SafeHtml.\n *\n * @param {string} str Translatable string, places holders in the form {$foo}.\n * @param {!Object=} opt_values Maps place holder name to value.\n * @param {!goog.GetMsgOptions=} opt_options see `goog.GetMsgOptions`\n * @return {string} message with placeholders filled.\n */\ngoog.getMsg = function(str, opt_values, opt_options) {\n if (opt_options && opt_options.html) {\n // Note that '&' is not replaced because the translation can contain HTML\n // entities.\n str = str.replace(/')\n .replace(/'/g, '\\'')\n .replace(/"/g, '\"')\n .replace(/&/g, '&');\n }\n if (opt_values) {\n str = str.replace(/\\{\\$([^}]+)}/g, function(match, key) {\n return (opt_values != null && key in opt_values) ? opt_values[key] :\n match;\n });\n }\n return str;\n};\n\n\n/**\n * Gets a localized message. If the message does not have a translation, gives a\n * fallback message.\n *\n * This is useful when introducing a new message that has not yet been\n * translated into all languages.\n *\n * This function is a compiler primitive. Must be used in the form:\n * var x = goog.getMsgWithFallback(MSG_A, MSG_B);\n * where MSG_A and MSG_B were initialized with goog.getMsg.\n *\n * @param {string} a The preferred message.\n * @param {string} b The fallback message.\n * @return {string} The best translated message.\n */\ngoog.getMsgWithFallback = function(a, b) {\n return a;\n};\n\n\n/**\n * Exposes an unobfuscated global namespace path for the given object.\n * Note that fields of the exported object *will* be obfuscated, unless they are\n * exported in turn via this function or goog.exportProperty.\n *\n * Also handy for making public items that are defined in anonymous closures.\n *\n * ex. goog.exportSymbol('public.path.Foo', Foo);\n *\n * ex. goog.exportSymbol('public.path.Foo.staticFunction', Foo.staticFunction);\n * public.path.Foo.staticFunction();\n *\n * ex. goog.exportSymbol('public.path.Foo.prototype.myMethod',\n * Foo.prototype.myMethod);\n * new public.path.Foo().myMethod();\n *\n * @param {string} publicPath Unobfuscated name to export.\n * @param {*} object Object the name should point to.\n * @param {?Object=} objectToExportTo The object to add the path to; default\n * is goog.global.\n */\ngoog.exportSymbol = function(publicPath, object, objectToExportTo) {\n goog.exportPath_(\n publicPath, object, /* overwriteImplicit= */ true, objectToExportTo);\n};\n\n\n/**\n * Exports a property unobfuscated into the object's namespace.\n * ex. goog.exportProperty(Foo, 'staticFunction', Foo.staticFunction);\n * ex. goog.exportProperty(Foo.prototype, 'myMethod', Foo.prototype.myMethod);\n * @param {Object} object Object whose static property is being exported.\n * @param {string} publicName Unobfuscated name to export.\n * @param {*} symbol Object the name should point to.\n */\ngoog.exportProperty = function(object, publicName, symbol) {\n object[publicName] = symbol;\n};\n\n\n/**\n * Inherit the prototype methods from one constructor into another.\n *\n * Usage:\n *
\n * function ParentClass(a, b) { }\n * ParentClass.prototype.foo = function(a) { };\n *\n * function ChildClass(a, b, c) {\n *   ChildClass.base(this, 'constructor', a, b);\n * }\n * goog.inherits(ChildClass, ParentClass);\n *\n * var child = new ChildClass('a', 'b', 'see');\n * child.foo(); // This works.\n * 
\n *\n * @param {!Function} childCtor Child class.\n * @param {!Function} parentCtor Parent class.\n * @suppress {strictMissingProperties} superClass_ and base is not defined on\n * Function.\n * @deprecated Use ECMAScript class syntax instead.\n */\ngoog.inherits = function(childCtor, parentCtor) {\n /** @constructor */\n function tempCtor() {}\n tempCtor.prototype = parentCtor.prototype;\n childCtor.superClass_ = parentCtor.prototype;\n childCtor.prototype = new tempCtor();\n /** @override */\n childCtor.prototype.constructor = childCtor;\n\n /**\n * Calls superclass constructor/method.\n *\n * This function is only available if you use goog.inherits to\n * express inheritance relationships between classes.\n *\n * NOTE: This is a replacement for goog.base and for superClass_\n * property defined in childCtor.\n *\n * @param {!Object} me Should always be \"this\".\n * @param {string} methodName The method name to call. Calling\n * superclass constructor can be done with the special string\n * 'constructor'.\n * @param {...*} var_args The arguments to pass to superclass\n * method/constructor.\n * @return {*} The return value of the superclass method/constructor.\n */\n childCtor.base = function(me, methodName, var_args) {\n // Copying using loop to avoid deop due to passing arguments object to\n // function. This is faster in many JS engines as of late 2014.\n var args = new Array(arguments.length - 2);\n for (var i = 2; i < arguments.length; i++) {\n args[i - 2] = arguments[i];\n }\n return parentCtor.prototype[methodName].apply(me, args);\n };\n};\n\n\n/**\n * Allow for aliasing within scope functions. This function exists for\n * uncompiled code - in compiled code the calls will be inlined and the aliases\n * applied. In uncompiled code the function is simply run since the aliases as\n * written are valid JavaScript.\n *\n *\n * @param {function()} fn Function to call. This function can contain aliases\n * to namespaces (e.g. \"var dom = goog.dom\") or classes\n * (e.g. \"var Timer = goog.Timer\").\n * @deprecated Use goog.module instead.\n */\ngoog.scope = function(fn) {\n if (goog.isInModuleLoader_()) {\n throw new Error('goog.scope is not supported within a module.');\n }\n fn.call(goog.global);\n};\n\n\n/*\n * To support uncompiled, strict mode bundles that use eval to divide source\n * like so:\n * eval('someSource;//# sourceUrl sourcefile.js');\n * We need to export the globally defined symbols \"goog\" and \"COMPILED\".\n * Exporting \"goog\" breaks the compiler optimizations, so we required that\n * be defined externally.\n * NOTE: We don't use goog.exportSymbol here because we don't want to trigger\n * extern generation when that compiler option is enabled.\n */\nif (!COMPILED) {\n goog.global['COMPILED'] = COMPILED;\n}\n\n\n//==============================================================================\n// goog.defineClass implementation\n//==============================================================================\n\n\n/**\n * Creates a restricted form of a Closure \"class\":\n * - from the compiler's perspective, the instance returned from the\n * constructor is sealed (no new properties may be added). This enables\n * better checks.\n * - the compiler will rewrite this definition to a form that is optimal\n * for type checking and optimization (initially this will be a more\n * traditional form).\n *\n * @param {Function} superClass The superclass, Object or null.\n * @param {goog.defineClass.ClassDescriptor} def\n * An object literal describing\n * the class. It may have the following properties:\n * \"constructor\": the constructor function\n * \"statics\": an object literal containing methods to add to the constructor\n * as \"static\" methods or a function that will receive the constructor\n * function as its only parameter to which static properties can\n * be added.\n * all other properties are added to the prototype.\n * @return {!Function} The class constructor.\n * @deprecated Use ECMAScript class syntax instead.\n */\ngoog.defineClass = function(superClass, def) {\n // TODO(johnlenz): consider making the superClass an optional parameter.\n var constructor = def.constructor;\n var statics = def.statics;\n // Wrap the constructor prior to setting up the prototype and static methods.\n if (!constructor || constructor == Object.prototype.constructor) {\n constructor = function() {\n throw new Error(\n 'cannot instantiate an interface (no constructor defined).');\n };\n }\n\n var cls = goog.defineClass.createSealingConstructor_(constructor, superClass);\n if (superClass) {\n goog.inherits(cls, superClass);\n }\n\n // Remove all the properties that should not be copied to the prototype.\n delete def.constructor;\n delete def.statics;\n\n goog.defineClass.applyProperties_(cls.prototype, def);\n if (statics != null) {\n if (statics instanceof Function) {\n statics(cls);\n } else {\n goog.defineClass.applyProperties_(cls, statics);\n }\n }\n\n return cls;\n};\n\n\n/**\n * @typedef {{\n * constructor: (!Function|undefined),\n * statics: (Object|undefined|function(Function):void)\n * }}\n */\ngoog.defineClass.ClassDescriptor;\n\n\n/**\n * @define {boolean} Whether the instances returned by goog.defineClass should\n * be sealed when possible.\n *\n * When sealing is disabled the constructor function will not be wrapped by\n * goog.defineClass, making it incompatible with ES6 class methods.\n */\ngoog.defineClass.SEAL_CLASS_INSTANCES =\n goog.define('goog.defineClass.SEAL_CLASS_INSTANCES', goog.DEBUG);\n\n\n/**\n * If goog.defineClass.SEAL_CLASS_INSTANCES is enabled and Object.seal is\n * defined, this function will wrap the constructor in a function that seals the\n * results of the provided constructor function.\n *\n * @param {!Function} ctr The constructor whose results maybe be sealed.\n * @param {Function} superClass The superclass constructor.\n * @return {!Function} The replacement constructor.\n * @private\n */\ngoog.defineClass.createSealingConstructor_ = function(ctr, superClass) {\n if (!goog.defineClass.SEAL_CLASS_INSTANCES) {\n // Do now wrap the constructor when sealing is disabled. Angular code\n // depends on this for injection to work properly.\n return ctr;\n }\n\n // NOTE: The sealing behavior has been removed\n\n /**\n * @this {Object}\n * @return {?}\n */\n var wrappedCtr = function() {\n // Don't seal an instance of a subclass when it calls the constructor of\n // its super class as there is most likely still setup to do.\n var instance = ctr.apply(this, arguments) || this;\n instance[goog.UID_PROPERTY_] = instance[goog.UID_PROPERTY_];\n\n return instance;\n };\n\n return wrappedCtr;\n};\n\n\n\n// TODO(johnlenz): share these values with the goog.object\n/**\n * The names of the fields that are defined on Object.prototype.\n * @type {!Array}\n * @private\n * @const\n */\ngoog.defineClass.OBJECT_PROTOTYPE_FIELDS_ = [\n 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable',\n 'toLocaleString', 'toString', 'valueOf'\n];\n\n\n// TODO(johnlenz): share this function with the goog.object\n/**\n * @param {!Object} target The object to add properties to.\n * @param {!Object} source The object to copy properties from.\n * @private\n */\ngoog.defineClass.applyProperties_ = function(target, source) {\n // TODO(johnlenz): update this to support ES5 getters/setters\n\n var key;\n for (key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n\n // For IE the for-in-loop does not contain any properties that are not\n // enumerable on the prototype object (for example isPrototypeOf from\n // Object.prototype) and it will also not include 'replace' on objects that\n // extend String and change 'replace' (not that it is common for anyone to\n // extend anything except Object).\n for (var i = 0; i < goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length; i++) {\n key = goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[i];\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n};\n\n/**\n * Returns the parameter.\n * @param {string} s\n * @return {string}\n * @private\n */\ngoog.identity_ = function(s) {\n return s;\n};\n\n\n/**\n * Creates Trusted Types policy if Trusted Types are supported by the browser.\n * The policy just blesses any string as a Trusted Type. It is not visibility\n * restricted because anyone can also call trustedTypes.createPolicy directly.\n * However, the allowed names should be restricted by a HTTP header and the\n * reference to the created policy should be visibility restricted.\n * @param {string} name\n * @return {?TrustedTypePolicy}\n */\ngoog.createTrustedTypesPolicy = function(name) {\n var policy = null;\n var policyFactory = goog.global.trustedTypes;\n if (!policyFactory || !policyFactory.createPolicy) {\n return policy;\n }\n // trustedTypes.createPolicy throws if called with a name that is already\n // registered, even in report-only mode. Until the API changes, catch the\n // error not to break the applications functionally. In such case, the code\n // will fall back to using regular Safe Types.\n // TODO(koto): Remove catching once createPolicy API stops throwing.\n try {\n policy = policyFactory.createPolicy(name, {\n createHTML: goog.identity_,\n createScript: goog.identity_,\n createScriptURL: goog.identity_\n });\n } catch (e) {\n goog.logToConsole_(e.message);\n }\n return policy;\n};\n\n// There's a bug in the compiler where without collapse properties the\n// Closure namespace defines do not guard code correctly. To help reduce code\n// size also check for !COMPILED even though it redundant until this is fixed.\nif (!COMPILED && goog.DEPENDENCIES_ENABLED) {\n\n\n /**\n * Tries to detect whether the current browser is Edge, based on the user\n * agent. This matches only pre-Chromium Edge.\n * @see https://docs.microsoft.com/en-us/microsoft-edge/web-platform/user-agent-string\n * @return {boolean} True if the current browser is Edge.\n * @private\n */\n goog.isEdge_ = function() {\n var userAgent = goog.global.navigator && goog.global.navigator.userAgent ?\n goog.global.navigator.userAgent :\n '';\n var edgeRe = /Edge\\/(\\d+)(\\.\\d)*/i;\n return !!userAgent.match(edgeRe);\n };\n\n\n /**\n * Tries to detect whether is in the context of an HTML document.\n * @return {boolean} True if it looks like HTML document.\n * @private\n */\n goog.inHtmlDocument_ = function() {\n /** @type {!Document} */\n var doc = goog.global.document;\n return doc != null && 'write' in doc; // XULDocument misses write.\n };\n\n\n /**\n * We'd like to check for if the document readyState is 'loading'; however\n * there are bugs on IE 10 and below where the readyState being anything other\n * than 'complete' is not reliable.\n * @return {boolean}\n * @private\n */\n goog.isDocumentLoading_ = function() {\n // attachEvent is available on IE 6 thru 10 only, and thus can be used to\n // detect those browsers.\n /** @type {!HTMLDocument} */\n var doc = goog.global.document;\n return doc.attachEvent ? doc.readyState != 'complete' :\n doc.readyState == 'loading';\n };\n\n\n /**\n * Tries to detect the base path of base.js script that bootstraps Closure.\n * @private\n */\n goog.findBasePath_ = function() {\n if (goog.global.CLOSURE_BASE_PATH != undefined &&\n // Anti DOM-clobbering runtime check (b/37736576).\n typeof goog.global.CLOSURE_BASE_PATH === 'string') {\n goog.basePath = goog.global.CLOSURE_BASE_PATH;\n return;\n } else if (!goog.inHtmlDocument_()) {\n return;\n }\n /** @type {!Document} */\n var doc = goog.global.document;\n // If we have a currentScript available, use it exclusively.\n var currentScript = doc.currentScript;\n if (currentScript) {\n var scripts = [currentScript];\n } else {\n var scripts = doc.getElementsByTagName('SCRIPT');\n }\n // Search backwards since the current script is in almost all cases the one\n // that has base.js.\n for (var i = scripts.length - 1; i >= 0; --i) {\n var script = /** @type {!HTMLScriptElement} */ (scripts[i]);\n var src = script.src;\n var qmark = src.lastIndexOf('?');\n var l = qmark == -1 ? src.length : qmark;\n if (src.slice(l - 7, l) == 'base.js') {\n goog.basePath = src.slice(0, l - 7);\n return;\n }\n }\n };\n\n goog.findBasePath_();\n\n /**\n * Rewrites closing script tags in input to avoid ending an enclosing script\n * tag.\n *\n * @param {string} str\n * @return {string}\n * @private\n */\n goog.protectScriptTag_ = function(str) {\n return str.replace(/<\\/(SCRIPT)/ig, '\\\\x3c/$1');\n };\n\n\n /**\n * A debug loader is responsible for downloading and executing javascript\n * files in an unbundled, uncompiled environment.\n *\n * This can be custimized via the setDependencyFactory method, or by\n * CLOSURE_IMPORT_SCRIPT/CLOSURE_LOAD_FILE_SYNC.\n *\n * @struct @constructor @final @private\n */\n goog.DebugLoader_ = function() {\n /** @private @const {!Object} */\n this.dependencies_ = {};\n /** @private @const {!Object} */\n this.idToPath_ = {};\n /** @private @const {!Object} */\n this.written_ = {};\n /** @private @const {!Array} */\n this.loadingDeps_ = [];\n /** @private {!Array} */\n this.depsToLoad_ = [];\n /** @private {boolean} */\n this.paused_ = false;\n /** @private {!goog.DependencyFactory} */\n this.factory_ = new goog.DependencyFactory();\n /** @private @const {!Object} */\n this.deferredCallbacks_ = {};\n /** @private @const {!Array} */\n this.deferredQueue_ = [];\n };\n\n /**\n * @param {!Array} namespaces\n * @param {function(): undefined} callback Function to call once all the\n * namespaces have loaded.\n */\n goog.DebugLoader_.prototype.bootstrap = function(namespaces, callback) {\n var cb = callback;\n function resolve() {\n if (cb) {\n goog.global.setTimeout(cb, 0);\n cb = null;\n }\n }\n\n if (!namespaces.length) {\n resolve();\n return;\n }\n\n var deps = [];\n for (var i = 0; i < namespaces.length; i++) {\n var path = this.getPathFromDeps_(namespaces[i]);\n if (!path) {\n throw new Error('Unregonized namespace: ' + namespaces[i]);\n }\n deps.push(this.dependencies_[path]);\n }\n\n var require = goog.require;\n var loaded = 0;\n for (var i = 0; i < namespaces.length; i++) {\n require(namespaces[i]);\n deps[i].onLoad(function() {\n if (++loaded == namespaces.length) {\n resolve();\n }\n });\n }\n };\n\n\n /**\n * Loads the Closure Dependency file.\n *\n * Exposed a public function so CLOSURE_NO_DEPS can be set to false, base\n * loaded, setDependencyFactory called, and then this called. i.e. allows\n * custom loading of the deps file.\n */\n goog.DebugLoader_.prototype.loadClosureDeps = function() {\n // Circumvent addDependency, which would try to transpile deps.js if\n // transpile is set to always.\n var relPath = 'deps.js';\n this.depsToLoad_.push(this.factory_.createDependency(\n goog.normalizePath_(goog.basePath + relPath), relPath, [], [], {}));\n this.loadDeps_();\n };\n\n\n /**\n * Notifies the debug loader when a dependency has been requested.\n *\n * @param {string} absPathOrId Path of the dependency or goog id.\n * @param {boolean=} opt_force\n */\n goog.DebugLoader_.prototype.requested = function(absPathOrId, opt_force) {\n var path = this.getPathFromDeps_(absPathOrId);\n if (path &&\n (opt_force || this.areDepsLoaded_(this.dependencies_[path].requires))) {\n var callback = this.deferredCallbacks_[path];\n if (callback) {\n delete this.deferredCallbacks_[path];\n callback();\n }\n }\n };\n\n\n /**\n * Sets the dependency factory, which can be used to create custom\n * goog.Dependency implementations to control how dependencies are loaded.\n *\n * @param {!goog.DependencyFactory} factory\n */\n goog.DebugLoader_.prototype.setDependencyFactory = function(factory) {\n this.factory_ = factory;\n };\n\n\n /**\n * Travserses the dependency graph and queues the given dependency, and all of\n * its transitive dependencies, for loading and then starts loading if not\n * paused.\n *\n * @param {string} namespace\n * @private\n */\n goog.DebugLoader_.prototype.load_ = function(namespace) {\n if (!this.getPathFromDeps_(namespace)) {\n var errorMessage = 'goog.require could not find: ' + namespace;\n goog.logToConsole_(errorMessage);\n } else {\n var loader = this;\n\n var deps = [];\n\n /** @param {string} namespace */\n var visit = function(namespace) {\n var path = loader.getPathFromDeps_(namespace);\n\n if (!path) {\n throw new Error('Bad dependency path or symbol: ' + namespace);\n }\n\n if (loader.written_[path]) {\n return;\n }\n\n loader.written_[path] = true;\n\n var dep = loader.dependencies_[path];\n for (var i = 0; i < dep.requires.length; i++) {\n if (!goog.isProvided_(dep.requires[i])) {\n visit(dep.requires[i]);\n }\n }\n\n deps.push(dep);\n };\n\n visit(namespace);\n\n var wasLoading = !!this.depsToLoad_.length;\n this.depsToLoad_ = this.depsToLoad_.concat(deps);\n\n if (!this.paused_ && !wasLoading) {\n this.loadDeps_();\n }\n }\n };\n\n\n /**\n * Loads any queued dependencies until they are all loaded or paused.\n *\n * @private\n */\n goog.DebugLoader_.prototype.loadDeps_ = function() {\n var loader = this;\n var paused = this.paused_;\n\n while (this.depsToLoad_.length && !paused) {\n (function() {\n var loadCallDone = false;\n var dep = loader.depsToLoad_.shift();\n\n var loaded = false;\n loader.loading_(dep);\n\n var controller = {\n pause: function() {\n if (loadCallDone) {\n throw new Error('Cannot call pause after the call to load.');\n } else {\n paused = true;\n }\n },\n resume: function() {\n if (loadCallDone) {\n loader.resume_();\n } else {\n // Some dep called pause and then resume in the same load call.\n // Just keep running this same loop.\n paused = false;\n }\n },\n loaded: function() {\n if (loaded) {\n throw new Error('Double call to loaded.');\n }\n\n loaded = true;\n loader.loaded_(dep);\n },\n pending: function() {\n // Defensive copy.\n var pending = [];\n for (var i = 0; i < loader.loadingDeps_.length; i++) {\n pending.push(loader.loadingDeps_[i]);\n }\n return pending;\n },\n /**\n * @param {goog.ModuleType} type\n */\n setModuleState: function(type) {\n goog.moduleLoaderState_ = {\n type: type,\n moduleName: '',\n declareLegacyNamespace: false\n };\n },\n /** @type {function(string, string, string=)} */\n registerEs6ModuleExports: function(\n path, exports, opt_closureNamespace) {\n if (opt_closureNamespace) {\n goog.loadedModules_[opt_closureNamespace] = {\n exports: exports,\n type: goog.ModuleType.ES6,\n moduleId: opt_closureNamespace || ''\n };\n }\n },\n /** @type {function(string, ?)} */\n registerGoogModuleExports: function(moduleId, exports) {\n goog.loadedModules_[moduleId] = {\n exports: exports,\n type: goog.ModuleType.GOOG,\n moduleId: moduleId\n };\n },\n clearModuleState: function() {\n goog.moduleLoaderState_ = null;\n },\n defer: function(callback) {\n if (loadCallDone) {\n throw new Error(\n 'Cannot register with defer after the call to load.');\n }\n loader.defer_(dep, callback);\n },\n areDepsLoaded: function() {\n return loader.areDepsLoaded_(dep.requires);\n }\n };\n\n try {\n dep.load(controller);\n } finally {\n loadCallDone = true;\n }\n })();\n }\n\n if (paused) {\n this.pause_();\n }\n };\n\n\n /** @private */\n goog.DebugLoader_.prototype.pause_ = function() {\n this.paused_ = true;\n };\n\n\n /** @private */\n goog.DebugLoader_.prototype.resume_ = function() {\n if (this.paused_) {\n this.paused_ = false;\n this.loadDeps_();\n }\n };\n\n\n /**\n * Marks the given dependency as loading (load has been called but it has not\n * yet marked itself as finished). Useful for dependencies that want to know\n * what else is loading. Example: goog.modules cannot eval if there are\n * loading dependencies.\n *\n * @param {!goog.Dependency} dep\n * @private\n */\n goog.DebugLoader_.prototype.loading_ = function(dep) {\n this.loadingDeps_.push(dep);\n };\n\n\n /**\n * Marks the given dependency as having finished loading and being available\n * for require.\n *\n * @param {!goog.Dependency} dep\n * @private\n */\n goog.DebugLoader_.prototype.loaded_ = function(dep) {\n for (var i = 0; i < this.loadingDeps_.length; i++) {\n if (this.loadingDeps_[i] == dep) {\n this.loadingDeps_.splice(i, 1);\n break;\n }\n }\n\n for (var i = 0; i < this.deferredQueue_.length; i++) {\n if (this.deferredQueue_[i] == dep.path) {\n this.deferredQueue_.splice(i, 1);\n break;\n }\n }\n\n if (this.loadingDeps_.length == this.deferredQueue_.length &&\n !this.depsToLoad_.length) {\n // Something has asked to load these, but they may not be directly\n // required again later, so load them now that we know we're done loading\n // everything else. e.g. a goog module entry point.\n while (this.deferredQueue_.length) {\n this.requested(this.deferredQueue_.shift(), true);\n }\n }\n\n dep.loaded();\n };\n\n\n /**\n * @param {!Array} pathsOrIds\n * @return {boolean}\n * @private\n */\n goog.DebugLoader_.prototype.areDepsLoaded_ = function(pathsOrIds) {\n for (var i = 0; i < pathsOrIds.length; i++) {\n var path = this.getPathFromDeps_(pathsOrIds[i]);\n if (!path ||\n (!(path in this.deferredCallbacks_) &&\n !goog.isProvided_(pathsOrIds[i]))) {\n return false;\n }\n }\n\n return true;\n };\n\n\n /**\n * @param {string} absPathOrId\n * @return {?string}\n * @private\n */\n goog.DebugLoader_.prototype.getPathFromDeps_ = function(absPathOrId) {\n if (absPathOrId in this.idToPath_) {\n return this.idToPath_[absPathOrId];\n } else if (absPathOrId in this.dependencies_) {\n return absPathOrId;\n } else {\n return null;\n }\n };\n\n\n /**\n * @param {!goog.Dependency} dependency\n * @param {!Function} callback\n * @private\n */\n goog.DebugLoader_.prototype.defer_ = function(dependency, callback) {\n this.deferredCallbacks_[dependency.path] = callback;\n this.deferredQueue_.push(dependency.path);\n };\n\n\n /**\n * Interface for goog.Dependency implementations to have some control over\n * loading of dependencies.\n *\n * @record\n */\n goog.LoadController = function() {};\n\n\n /**\n * Tells the controller to halt loading of more dependencies.\n */\n goog.LoadController.prototype.pause = function() {};\n\n\n /**\n * Tells the controller to resume loading of more dependencies if paused.\n */\n goog.LoadController.prototype.resume = function() {};\n\n\n /**\n * Tells the controller that this dependency has finished loading.\n *\n * This causes this to be removed from pending() and any load callbacks to\n * fire.\n */\n goog.LoadController.prototype.loaded = function() {};\n\n\n /**\n * List of dependencies on which load has been called but which have not\n * called loaded on their controller. This includes the current dependency.\n *\n * @return {!Array}\n */\n goog.LoadController.prototype.pending = function() {};\n\n\n /**\n * Registers an object as an ES6 module's exports so that goog.modules may\n * require it by path.\n *\n * @param {string} path Full path of the module.\n * @param {?} exports\n * @param {string=} opt_closureNamespace Closure namespace to associate with\n * this module.\n */\n goog.LoadController.prototype.registerEs6ModuleExports = function(\n path, exports, opt_closureNamespace) {};\n\n\n /**\n * Sets the current module state.\n *\n * @param {goog.ModuleType} type Type of module.\n */\n goog.LoadController.prototype.setModuleState = function(type) {};\n\n\n /**\n * Clears the current module state.\n */\n goog.LoadController.prototype.clearModuleState = function() {};\n\n\n /**\n * Registers a callback to call once the dependency is actually requested\n * via goog.require + all of the immediate dependencies have been loaded or\n * all other files have been loaded. Allows for lazy loading until\n * require'd without pausing dependency loading, which is needed on old IE.\n *\n * @param {!Function} callback\n */\n goog.LoadController.prototype.defer = function(callback) {};\n\n\n /**\n * @return {boolean}\n */\n goog.LoadController.prototype.areDepsLoaded = function() {};\n\n\n /**\n * Basic super class for all dependencies Closure Library can load.\n *\n * This default implementation is designed to load untranspiled, non-module\n * scripts in a web broswer.\n *\n * For goog.modules see {@see goog.GoogModuleDependency}.\n * For untranspiled ES6 modules {@see goog.Es6ModuleDependency}.\n *\n * @param {string} path Absolute path of this script.\n * @param {string} relativePath Path of this script relative to goog.basePath.\n * @param {!Array} provides goog.provided or goog.module symbols\n * in this file.\n * @param {!Array} requires goog symbols or relative paths to Closure\n * this depends on.\n * @param {!Object} loadFlags\n * @struct @constructor\n */\n goog.Dependency = function(\n path, relativePath, provides, requires, loadFlags) {\n /** @const */\n this.path = path;\n /** @const */\n this.relativePath = relativePath;\n /** @const */\n this.provides = provides;\n /** @const */\n this.requires = requires;\n /** @const */\n this.loadFlags = loadFlags;\n /** @private {boolean} */\n this.loaded_ = false;\n /** @private {!Array} */\n this.loadCallbacks_ = [];\n };\n\n\n /**\n * @return {string} The pathname part of this dependency's path if it is a\n * URI.\n */\n goog.Dependency.prototype.getPathName = function() {\n var pathName = this.path;\n var protocolIndex = pathName.indexOf('://');\n if (protocolIndex >= 0) {\n pathName = pathName.substring(protocolIndex + 3);\n var slashIndex = pathName.indexOf('/');\n if (slashIndex >= 0) {\n pathName = pathName.substring(slashIndex + 1);\n }\n }\n return pathName;\n };\n\n\n /**\n * @param {function()} callback Callback to fire as soon as this has loaded.\n * @final\n */\n goog.Dependency.prototype.onLoad = function(callback) {\n if (this.loaded_) {\n callback();\n } else {\n this.loadCallbacks_.push(callback);\n }\n };\n\n\n /**\n * Marks this dependency as loaded and fires any callbacks registered with\n * onLoad.\n * @final\n */\n goog.Dependency.prototype.loaded = function() {\n this.loaded_ = true;\n var callbacks = this.loadCallbacks_;\n this.loadCallbacks_ = [];\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i]();\n }\n };\n\n\n /**\n * Whether or not document.written / appended script tags should be deferred.\n *\n * @private {boolean}\n */\n goog.Dependency.defer_ = false;\n\n\n /**\n * Map of script ready / state change callbacks. Old IE cannot handle putting\n * these properties on goog.global.\n *\n * @private @const {!Object}\n */\n goog.Dependency.callbackMap_ = {};\n\n\n /**\n * @param {function(...?):?} callback\n * @return {string}\n * @private\n */\n goog.Dependency.registerCallback_ = function(callback) {\n var key = Math.random().toString(32);\n goog.Dependency.callbackMap_[key] = callback;\n return key;\n };\n\n\n /**\n * @param {string} key\n * @private\n */\n goog.Dependency.unregisterCallback_ = function(key) {\n delete goog.Dependency.callbackMap_[key];\n };\n\n\n /**\n * @param {string} key\n * @param {...?} var_args\n * @private\n * @suppress {unusedPrivateMembers}\n */\n goog.Dependency.callback_ = function(key, var_args) {\n if (key in goog.Dependency.callbackMap_) {\n var callback = goog.Dependency.callbackMap_[key];\n var args = [];\n for (var i = 1; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n callback.apply(undefined, args);\n } else {\n var errorMessage = 'Callback key ' + key +\n ' does not exist (was base.js loaded more than once?).';\n throw Error(errorMessage);\n }\n };\n\n\n /**\n * Starts loading this dependency. This dependency can pause loading if it\n * needs to and resume it later via the controller interface.\n *\n * When this is loaded it should call controller.loaded(). Note that this will\n * end up calling the loaded method of this dependency; there is no need to\n * call it explicitly.\n *\n * @param {!goog.LoadController} controller\n */\n goog.Dependency.prototype.load = function(controller) {\n if (goog.global.CLOSURE_IMPORT_SCRIPT) {\n if (goog.global.CLOSURE_IMPORT_SCRIPT(this.path)) {\n controller.loaded();\n } else {\n controller.pause();\n }\n return;\n }\n\n if (!goog.inHtmlDocument_()) {\n goog.logToConsole_(\n 'Cannot use default debug loader outside of HTML documents.');\n if (this.relativePath == 'deps.js') {\n // Some old code is relying on base.js auto loading deps.js failing with\n // no error before later setting CLOSURE_IMPORT_SCRIPT.\n // CLOSURE_IMPORT_SCRIPT should be set *before* base.js is loaded, or\n // CLOSURE_NO_DEPS set to true.\n goog.logToConsole_(\n 'Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, ' +\n 'or setting CLOSURE_NO_DEPS to true.');\n controller.loaded();\n } else {\n controller.pause();\n }\n return;\n }\n\n /** @type {!HTMLDocument} */\n var doc = goog.global.document;\n\n // If the user tries to require a new symbol after document load,\n // something has gone terribly wrong. Doing a document.write would\n // wipe out the page. This does not apply to the CSP-compliant method\n // of writing script tags.\n if (doc.readyState == 'complete' &&\n !goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING) {\n // Certain test frameworks load base.js multiple times, which tries\n // to write deps.js each time. If that happens, just fail silently.\n // These frameworks wipe the page between each load of base.js, so this\n // is OK.\n var isDeps = /\\bdeps.js$/.test(this.path);\n if (isDeps) {\n controller.loaded();\n return;\n } else {\n throw Error('Cannot write \"' + this.path + '\" after document load');\n }\n }\n\n var nonce = goog.getScriptNonce_();\n if (!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING &&\n goog.isDocumentLoading_()) {\n var key;\n var callback = function(script) {\n if (script.readyState && script.readyState != 'complete') {\n script.onload = callback;\n return;\n }\n goog.Dependency.unregisterCallback_(key);\n controller.loaded();\n };\n key = goog.Dependency.registerCallback_(callback);\n\n var defer = goog.Dependency.defer_ ? ' defer' : '';\n var nonceAttr = nonce ? ' nonce=\"' + nonce + '\"' : '';\n var script = '\" s)]\n\n (doseq [[script-tag script-body] scripts]\n (js/eval script-body))\n\n (reduce (fn [s [script-tag script-body]]\n (str/replace s script-tag \"\"))\n s\n scripts)\n ))\n\n(defn str->fragment [s]\n (let [el (js/document.createElement \"div\")]\n (set! (.-innerHTML el) s)\n (NativeColl. (dom/childrenToNode_ js/document el))))\n\n(defn node-name [el]\n (.-nodeName (dom-node el)))\n\n(defn ancestor-by-class [el cls]\n (dom/getAncestorByClass (dom-node el) cls))\n\n(defn ancestor-by-tag\n ([el tag] (dom/getAncestorByTagNameAndClass (dom-node el) (name tag)))\n ([el tag cls] (dom/getAncestorByTagNameAndClass (dom-node el) (name tag) (name cls))))\n\n(defn get-value [dom]\n (gf/getValue (dom-node dom)))\n\n(defn set-value [dom value]\n (gf/setValue (dom-node dom) value))\n\n(defn px [value]\n (str (int value) \"px\"))\n\n(defn pct [value]\n (str value \"%\"))\n\n(defn remove-style* [el style]\n (.removeProperty (.-style el) (name style)))\n\n(defn remove-style [el style]\n (let [el (dom-node el)]\n (remove-style* el style)))\n\n(defn remove-styles [el style-keys]\n (let [el (dom-node el)]\n (doseq [it style-keys]\n (remove-style* el it))))\n\n\n(defrecord Coordinate [x y])\n\n(defn get-position [el]\n (let [pos (gs/getPosition (dom-node el))]\n (->Coordinate (.-x pos) (.-y pos))))\n\n(defn get-client-position [el]\n (let [pos (gs/getClientPosition (dom-node el))]\n (->Coordinate (.-x pos) (.-y pos))))\n\n(defn get-page-offset [el]\n (let [pos (gs/getPageOffset (dom-node el))]\n (->Coordinate (.-x pos) (.-y pos))))\n\n(defrecord Size [w h])\n\n(defn size->clj [size]\n (Size. (.-width size) (.-height size)))\n\n(defn get-size [el]\n (size->clj (gs/getSize (dom-node el))))\n\n(defn get-height [el]\n (-> el get-size :h))\n\n(defn get-viewport-size []\n (size->clj (dom/getViewportSize)))\n\n(defn first-child [el]\n (aget (.-children (dom-node el)) 0))\n\n(defn select-option-values [el]\n (let [native (dom-node el)\n opts (aget native \"options\")]\n (areduce opts i ret []\n (conj ret (aget opts i \"value\")))\n ))\n\n(defn build-url [path query-params]\n (if (empty? query-params)\n path\n (str path \"?\" (str/join \"&\" (map (fn [[k v]]\n (str (name k) \"=\" (js/encodeURIComponent (str v))))\n query-params)))\n ))\n\n(defn redirect\n ([path]\n (redirect path {}))\n ([path query-params]\n (aset js/document \"location\" \"href\" (build-url path query-params))\n ))\n\n(defn reload! []\n (set! (.. js/document -location -href)\n (.. js/document -location -href)))\n\n(defn tag-name [el]\n (let [dom (dom-node el)]\n (.-tagName dom)))\n\n(defn insert-after [ref new]\n (let [new-node (dom-node new)]\n (dom/insertSiblingAfter new-node (dom-node ref))\n new-node))\n\n(defn insert-before [ref new]\n (let [new-node (dom-node new)]\n (dom/insertSiblingBefore new-node (dom-node ref))\n new-node))\n\n(defn insert-first [ref new]\n (if-let [child (.-firstChild (dom-node ref))]\n (insert-before child new)\n (append ref new)))\n\n(defn index-of [el]\n (loop [el (dom-node el)\n i 0]\n (let [ps (.-previousSibling el)]\n (if (nil? ps)\n i\n (recur ps (inc i))\n ))))\n\n(defn get-parent [el]\n (dom/getParentElement (dom-node el)))\n\n(defn parents [el]\n (let [parent (get-parent el)]\n (when parent\n (cons parent (lazy-seq (parents parent))))))\n\n(defn matches [el sel]\n (.matches (dom-node el) sel))\n\n(defn get-next-sibling [el]\n (dom/getNextElementSibling (dom-node el)))\n\n(defn get-previous-sibling [el]\n (dom/getPreviousElementSibling (dom-node el)))\n\n\n(def xmlns (atom {\"svg\" \"http://www.w3.org/2000/svg\"\n \"xlink\" \"http://www.w3.org/1999/xlink\"}))\n\n(defn create-svg-node [tag-def props]\n (let [[tag-name tag-id tag-classes] (parse-tag tag-def)]\n (let [el (.createElementNS js/document \"http://www.w3.org/2000/svg\" tag-name)]\n (when tag-id\n (.setAttribute el \"id\" tag-id))\n\n (when tag-classes\n (.setAttribute el \"class\" (merge-class-string (:class props) tag-classes)))\n\n (doseq [[k v] props]\n (.setAttributeNS el\n (when-let [ns (namespace k)]\n (get @xmlns ns))\n (name k) v))\n\n el\n )))\n\n(defn svg-node [el]\n (cond\n (nil? el) nil\n (implements? SVGElement el) (-to-svg ^not-native el)\n :else el))\n\n(defn make-svg-node [structure]\n (let [[node node-children] (destructure-node create-svg-node structure)]\n\n (doseq [child-struct node-children\n :when (not (nil? child-struct))]\n (if (string? child-struct)\n (let [text (aget node \"textContent\")]\n (aset node \"textContent\" (str text child-struct)))\n (let [children (svg-node child-struct)]\n (if (seq? children)\n (doseq [child children\n :when child]\n (.appendChild node child))\n (.appendChild node children)))))\n node))\n\n(extend-protocol SVGElement\n string\n (-to-svg [this]\n (if (keyword? this)\n (make-svg-node [this])\n (throw (ex-info \"strings cannot be in svgs\" {:this this}))))\n\n PersistentVector\n (-to-svg [this]\n (make-svg-node this))\n\n LazySeq\n (-to-svg [this]\n (map -to-svg this))\n\n nil\n (-to-svg [_] nil))\n\n;; FIXME: could autodetect svg elements but that would mean checking\n;; if tag == :svg for every node created in dom-node, that kinda sucks\n(defn svg [attrs & children]\n (-to-svg (vec (concat [:svg attrs] children))))\n\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.js.js b/out/cljs-runtime/shadow.js.js new file mode 100644 index 0000000..1e0da25 --- /dev/null +++ b/out/cljs-runtime/shadow.js.js @@ -0,0 +1,83 @@ +goog.provide("shadow.js"); +shadow.js.files = {}; +shadow.js.nativeProvides = {}; +shadow.js.NODE_ENV = goog.define("shadow.js.NODE_ENV", "development"); +shadow.js.requireStack = []; +shadow.js.exportCopy = function(module, other) { + let copy = {}; + let exports = module["exports"]; + for (let key in other) { + if (key == "default" || key in exports || key in copy) { + continue; + } + copy[key] = {enumerable:true, get:function() { + return other[key]; + }}; + } + Object.defineProperties(exports, copy); +}; +shadow.js.jsRequire = function(name, opts) { + var nativeObj = shadow.js.nativeProvides[name]; + if (nativeObj !== undefined) { + return nativeObj; + } + try { + if (goog.DEBUG) { + if (name instanceof String && name.indexOf("/") != -1) { + console.warn("Tried to dynamically require '" + name + "' from '" + shadow.js.requireStack[shadow.js.requireStack.length - 1] + "'. This is not supported and may cause issues."); + } + } + shadow.js.requireStack.push(name); + var module = shadow.js.files[name]; + var moduleFn = shadow$provide[name]; + if (module === undefined) { + if (moduleFn === undefined) { + throw "Module not provided: " + name; + } + module = {}; + module["exports"] = {}; + shadow.js.files[name] = module; + } + if (moduleFn) { + delete shadow$provide[name]; + try { + moduleFn.call(module, goog.global, shadow.js.jsRequire, module, module["exports"]); + } catch (e) { + console.warn("shadow-cljs - failed to load", name); + console.error(e); + throw e; + } + if (opts) { + var globals = opts["globals"]; + if (globals) { + var i = 0; + for (; i < globals.length; i++) { + window[globals[i]] = module["exports"]; + } + } + } + } + } finally { + shadow.js.requireStack.pop(); + } + return module["exports"]; +}; +shadow.js.jsRequire["cache"] = {}; +shadow.js.jsRequire["resolve"] = function(name) { + return name; +}; +shadow.js.jsRequire["exportCopy"] = shadow.js.exportCopy; +shadow.js.jsRequire["esmDefault"] = function(mod) { + return mod && mod["__esModule"] ? mod : {"default":mod}; +}; +shadow.js.jsRequire["dynamic"] = function(name) { + return Promise.resolve().then(function() { + return shadow.js.jsRequire(name); + }); +}; +shadow.js.modules = {}; +shadow.js.require = function(name, opts) { + return shadow.js.jsRequire(name, opts); +}; + +//# sourceMappingURL=shadow.js.js.map diff --git a/out/cljs-runtime/shadow.js.js.map b/out/cljs-runtime/shadow.js.js.map new file mode 100644 index 0000000..d9ac3d0 --- /dev/null +++ b/out/cljs-runtime/shadow.js.js.map @@ -0,0 +1,9 @@ +{ +"version":3, +"file":"shadow.js.js", +"lineCount":82, +"mappings":"AAAAA,IAAKC,CAAAA,OAAL,CAAa,WAAb,CAAA;AAKAC,MAAOC,CAAAA,EAAGC,CAAAA,KAAV,GAAkB,EAAlB;AAKAF,MAAOC,CAAAA,EAAGE,CAAAA,cAAV,GAA2B,EAA3B;AAMAH,MAAOC,CAAAA,EAAGG,CAAAA,QAAV,GAAqBN,IAAKO,CAAAA,MAAL,CAAY,oBAAZ,EAAkC,aAAlC,CAArB;AAEAL,MAAOC,CAAAA,EAAGK,CAAAA,YAAV,GAAyB,EAAzB;AAEAN,MAAOC,CAAAA,EAAGM,CAAAA,UAAV,GAAuBC,QAAQ,CAACC,MAAD,EAASC,KAAT,CAAgB;AAC7C,MAAIC,OAAO,EAAX;AACA,MAAIC,UAAUH,MAAA,CAA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AAiC,QAAQ,CAACE,IAAD,CAAO;AAAE,SAAOA,IAAP;AAAF,CAAhD;AAIApB,MAAOC,CAAAA,EAAGiB,CAAAA,SAAV,CAAoB,YAApB,CAAA,GAAoClB,MAAOC,CAAAA,EAAGM,CAAAA,UAA9C;AAEAP,MAAOC,CAAAA,EAAGiB,CAAAA,SAAV,CAAoB,YAApB,CAAA,GAAoC,QAAQ,CAACuB,GAAD,CAAM;AAChD,SAAQA,GAAD,IAAQA,GAAA,CAAI,YAAJ,CAAR,GAA6BA,GAA7B,GAAmC,CAAC,UAAWA,GAAZ,CAA1C;AADgD,CAAlD;AASAzC,MAAOC,CAAAA,EAAGiB,CAAAA,SAAV,CAAoB,SAApB,CAAA,GAAiC,QAAQ,CAACE,IAAD,CAAO;AAG9C,SAAOsB,OAAQC,CAAAA,OAAR,EAAkBC,CAAAA,IAAlB,CAAuB,QAAQ,EAAG;AAAE,WAAO5C,MAAOC,CAAAA,EAAGiB,CAAAA,SAAV,CAAoBE,IAApB,CAAP;AAAF,GAAlC,CAAP;AAH8C,CAAhD;AASApB,MAAOC,CAAAA,EAAG4C,CAAAA,OAAV,GAAoB,EAApB;AAEA7C,MAAOC,CAAAA,EAAG6C,CAAAA,OAAV,GAAoBC,QAAQ,CAAC3B,IAAD,EAAOC,IAAP,CAAa;AACvC,SAAOrB,MAAOC,CAAAA,EAAGiB,CAAAA,SAAV,CAAoBE,IAApB,EAA0BC,IAA1B,CAAP;AADuC,CAAzC;;", +"sources":["shadow/js.js"], +"sourcesContent":["goog.provide(\"shadow.js\");\n\n/**\n * @dict\n */\nshadow.js.files = {};\n\n/**\n * @dict\n */\nshadow.js.nativeProvides = {};\n\n/**\n * @define {string}\n * all occurences should be removed by NodeEnvInline but for safety we keep it arround\n */\nshadow.js.NODE_ENV = goog.define(\"shadow.js.NODE_ENV\", \"development\");\n\nshadow.js.requireStack = [];\n\nshadow.js.exportCopy = function(module, other) {\n let copy = {};\n let exports = module[\"exports\"];\n\n for (let key in other) {\n // don't copy default export, don't overwrite existing\n if (key == 'default' || key in exports || key in copy) {\n continue;\n }\n\n copy[key] = {\n enumerable: true,\n get: function() { return other[key]; }\n };\n }\n\n Object.defineProperties(exports, copy);\n}\n\n/**\n * @return {ShadowJS}\n */\nshadow.js.jsRequire = function(name, opts) {\n var nativeObj = shadow.js.nativeProvides[name];\n if (nativeObj !== undefined) {\n return nativeObj;\n }\n\n try {\n if (goog.DEBUG) {\n if (name instanceof String && name.indexOf(\"/\") != -1) {\n console.warn(\n \"Tried to dynamically require '\" +\n name +\n \"' from '\" +\n shadow.js.requireStack[shadow.js.requireStack.length - 1] +\n \"'. This is not supported and may cause issues.\"\n );\n }\n }\n\n shadow.js.requireStack.push(name);\n\n var module = shadow.js.files[name];\n var moduleFn = shadow$provide[name];\n\n // module must be created before calling moduleFn due to circular deps\n if (module === undefined) {\n if (moduleFn === undefined) {\n throw (\"Module not provided: \" + name);\n }\n module = {};\n module[\"exports\"] = {};\n shadow.js.files[name] = module;\n }\n\n if (moduleFn) {\n delete shadow$provide[name];\n\n try {\n moduleFn.call(\n module,\n goog.global,\n shadow.js.jsRequire,\n module,\n module[\"exports\"]\n );\n } catch (e) {\n console.warn(\"shadow-cljs - failed to load\", name);\n console.error(e);\n throw e;\n }\n\n if (opts) {\n var globals = opts[\"globals\"];\n if (globals) {\n for (var i = 0; i < globals.length; i++) {\n window[globals[i]] = module[\"exports\"];\n }\n }\n }\n }\n } finally {\n shadow.js.requireStack.pop();\n }\n\n return module[\"exports\"];\n};\n\n// work around issues where libraries try to manipulate require at runtime\n// codemirror/addon/runmode/runmode.node.js\n// will attempt to replace all\n// codemirror/lib/codemirror.js\n// requires with itself. in webpack this actually reconfigures require at runtime\n// but does not prevent webpack from including the original codemirror.js in the bundle\n// output. just nothing ever accesses assuming runmode.node.js is loaded first\n// in shadow-cljs this is handled via :package-overrides in the build config\n// which actually prevents including the unwanted file and properly redirects\n// making the runtime calls do nothing instead\nshadow.js.jsRequire[\"cache\"] = {};\nshadow.js.jsRequire[\"resolve\"] = function(name) { return name };\n\n// esm compatibility related things\n// this is called for export * from \"whatever\", so copying all exports from one module to another\nshadow.js.jsRequire[\"exportCopy\"] = shadow.js.exportCopy;\n// this is used for esm-cjs compatibility where cjs is supposed to be accessible as the default export in esm\nshadow.js.jsRequire[\"esmDefault\"] = function(mod) {\n return (mod && mod[\"__esModule\"]) ? mod : {\"default\": mod};\n};\n\n// compat for transpiled import()\n// changed to require.dynamic(\"module$...\") by ReplaceRequirePass to hide it entirely from the closure compiler\n// there is no actual dynamic loading as the sources are already loaded\n// but we can still delay initializing the moduleFn until actually used\n// using Promise.resolve as dynamic import still needs to return a promise\nshadow.js.jsRequire[\"dynamic\"] = function(name) {\n // delaying the actual require until .then triggers, so that it is actually\n // happening as if async and not in the same task as the request\n return Promise.resolve().then(function() { return shadow.js.jsRequire(name) });\n}\n\n/**\n * @dict\n */\nshadow.js.modules = {};\n\nshadow.js.require = function(name, opts) {\n return shadow.js.jsRequire(name, opts);\n /*\n var mod = shadow.js.modules[name];\n\n if (typeof(mod) == 'undefined') {\n var exports = shadow.js.jsRequire(name, opts);\n\n if (exports && exports[\"__esModule\"]) {\n mod = exports;\n } else {\n mod = {\"default\":exports};\n }\n\n shadow.js.modules[name] = mod;\n }\n\n return mod;\n */\n};\n"], +"names":["goog","provide","shadow","js","files","nativeProvides","NODE_ENV","define","requireStack","exportCopy","shadow.js.exportCopy","module","other","copy","exports","key","enumerable","get","Object","defineProperties","jsRequire","shadow.js.jsRequire","name","opts","nativeObj","undefined","DEBUG","String","indexOf","console","warn","length","push","moduleFn","shadow$provide","call","global","e","error","globals","i","window","pop","mod","Promise","resolve","then","modules","require","shadow.js.require"] +} diff --git a/out/cljs-runtime/shadow.json.js b/out/cljs-runtime/shadow.json.js new file mode 100644 index 0000000..411623e --- /dev/null +++ b/out/cljs-runtime/shadow.json.js @@ -0,0 +1,69 @@ +goog.provide('shadow.json'); +goog.scope(function(){ + shadow.json.goog$module$goog$object = goog.module.get('goog.object'); +}); +/** + * simplified js->clj for JSON data, :key-fn default to keyword + */ +shadow.json.to_clj = (function shadow$json$to_clj(var_args){ +var G__28079 = arguments.length; +switch (G__28079) { +case 1: +return shadow.json.to_clj.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return shadow.json.to_clj.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.json.to_clj.cljs$core$IFn$_invoke$arity$1 = (function (x){ +return shadow.json.to_clj.cljs$core$IFn$_invoke$arity$2(x,cljs.core.PersistentArrayMap.EMPTY); +})); + +(shadow.json.to_clj.cljs$core$IFn$_invoke$arity$2 = (function (x,opts){ +if((x == null)){ +return x; +} else { +if(typeof x === 'number'){ +return x; +} else { +if(typeof x === 'string'){ +return x; +} else { +if(cljs.core.boolean_QMARK_(x)){ +return x; +} else { +if(cljs.core.array_QMARK_(x)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$3(cljs.core.PersistentVector.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$1((function (p1__28077_SHARP_){ +return shadow.json.to_clj.cljs$core$IFn$_invoke$arity$2(p1__28077_SHARP_,opts); +})),cljs.core.array_seq.cljs$core$IFn$_invoke$arity$1(x)); +} else { +var key_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$3(opts,new cljs.core.Keyword(null,"key-fn","key-fn",-636154479),cljs.core.keyword); +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (result,key){ +var value = shadow.json.goog$module$goog$object.get(x,key); +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(result,((typeof key === 'string')?(key_fn.cljs$core$IFn$_invoke$arity$1 ? key_fn.cljs$core$IFn$_invoke$arity$1(key) : key_fn.call(null, key)):shadow.json.to_clj.cljs$core$IFn$_invoke$arity$2(key,opts)),shadow.json.to_clj.cljs$core$IFn$_invoke$arity$2(value,opts)); +}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),shadow.json.goog$module$goog$object.getKeys(x))); + +} +} +} +} +} +})); + +(shadow.json.to_clj.cljs$lang$maxFixedArity = 2); + +shadow.json.read_str = (function shadow$json$read_str(str,opts){ +return shadow.json.to_clj.cljs$core$IFn$_invoke$arity$2(JSON.parse(str),opts); +}); +shadow.json.write_str = (function shadow$json$write_str(obj){ +return JSON.stringify(cljs.core.clj__GT_js(obj)); +}); + +//# sourceMappingURL=shadow.json.js.map diff --git a/out/cljs-runtime/shadow.json.js.map b/out/cljs-runtime/shadow.json.js.map new file mode 100644 index 0000000..6dfc3e2 --- /dev/null +++ b/out/cljs-runtime/shadow.json.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/json.cljs"],"mappings":";;;;AAGA,AAAA;;;qBAAA,6BAAAA,lDAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,iDAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,iDAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,CAAA,mDAAA,nDAAMD,8DAEFE;AAFJ,AAEO,0DAAA,nDAACC,iDAAOD;;;AAFf,CAAA,mDAAA,nDAAMF,8DAGFE,EAAEE;AAHN,AAIG,GACE,MAAA,LAAMF;AACNA;;AAFF,GAIE,OAASA;AACTA;;AALF,GAOE,OAASA;AACTA;;AARF,GAUE,AAACG,yBAASH;AACVA;;AAXF,GAaE,AAACI,uBAAOJ;AACR,oDAAA,7CAACK,8EAAQ,4CAAA,WAAAC,vDAACC;AAAD,AAAM,wDAAAD,jDAACL,kEAASC;IAAO,AAACM,kDAAUR;;AAd7C,AAiBE,IAAMS,SAAO,iDAAA,jDAACC,4CAAIR,8DAAaS;AAA/B,kCAEO,AAACE,+CACC,WAAKC,OAAOC,nGAQd,OAACK;AARC,AACE,IAAMJ,QAAM,AAACC,wCAASjB,EAAEe;AAAxB,AACE,OAACG,oDAAOJ,OACN,EAAI,OAASC,kBACX,CAACN,uCAAAA,4CAAAA,PAAOM,yBAAAA,MACR,AAACd,iDAAOc,IAAIb,OACd,AAACD,iDAAOe,MAAMd;4DARtB,AAACU,4CAAaZ,rGASZ,qBAAA,rBAACmB;;;;;;;;;AA/Bf,CAAA,6CAAA,7CAAMrB;;AAAN,AAkCA,uBAAA,vBAAMuB,sDAAUC,IAAIpB;AAApB,AACE,OAACD,iDAAO,AAACsB,WAAcD,KAAKpB;;AAE9B,wBAAA,xBAAMsB,wDAAWC;AAAjB,sBACM,AAACC,qBAAQD,3CACT,OAACE","names":["var_args","G__28079","shadow.json/to-clj","js/Error","x","shadow.json.to_clj","opts","cljs.core/boolean?","cljs.core/array?","cljs.core.into","p1__28077#","cljs.core.map","cljs.core.array_seq","key-fn","cljs.core.get","cljs.core/keyword","shadow.json.goog$module$goog$object.getKeys","cljs.core.reduce","result","key","value","shadow.json.goog$module$goog$object.get","cljs.core.assoc_BANG_","cljs.core/transient","cljs.core/persistent!","shadow.json/read-str","str","js/JSON.parse","shadow.json/write-str","obj","cljs.core/clj->js","js/JSON.stringify"],"sourcesContent":["(ns shadow.json\n (:require [goog.object :as gobj]))\n\n(defn to-clj\n \"simplified js->clj for JSON data, :key-fn default to keyword\"\n ([x] (to-clj x {}))\n ([x opts]\n (cond\n (nil? x)\n x\n\n (number? x)\n x\n\n (string? x)\n x\n\n (boolean? x)\n x\n\n (array? x)\n (into [] (map #(to-clj % opts)) (array-seq x))\n\n :else ;; object\n (let [key-fn (get opts :key-fn keyword)]\n (->> (gobj/getKeys x)\n (reduce\n (fn [result key]\n (let [value (gobj/get x key)]\n (assoc! result\n (if (string? key)\n (key-fn key)\n (to-clj key opts))\n (to-clj value opts))))\n (transient {}))\n (persistent!))))))\n\n(defn read-str [str opts]\n (to-clj (js/JSON.parse str) opts))\n\n(defn write-str [obj]\n (-> (clj->js obj)\n (js/JSON.stringify)))"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.module.main.append.js b/out/cljs-runtime/shadow.module.main.append.js new file mode 100644 index 0000000..3b0d24f --- /dev/null +++ b/out/cljs-runtime/shadow.module.main.append.js @@ -0,0 +1,2 @@ + +shadow.cljs.devtools.client.env.module_loaded('main'); diff --git a/out/cljs-runtime/shadow.object.js b/out/cljs-runtime/shadow.object.js new file mode 100644 index 0000000..0a70b32 --- /dev/null +++ b/out/cljs-runtime/shadow.object.js @@ -0,0 +1,2208 @@ +goog.provide('shadow.object'); +shadow.object.console_friendly = shadow.util.console_friendly; +shadow.object.log = shadow.util.log; +shadow.object.debug = shadow.util.log; +shadow.object.info = shadow.util.log; +shadow.object.warn = shadow.util.log; +shadow.object.error = shadow.util.log; +shadow.object.obj_id = cljs.core.atom.cljs$core$IFn$_invoke$arity$1((0)); +shadow.object.next_id = (function shadow$object$next_id(){ +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(shadow.object.obj_id,cljs.core.inc); +}); +shadow.object.object_defs = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +shadow.object.behavior_fns = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +shadow.object.instances = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +shadow.object.instance_parent = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +shadow.object.instance_children = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +shadow.object.events = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +shadow.object.define_event = (function shadow$object$define_event(event_name,desc,args){ +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(shadow.object.events,cljs.core.assoc,event_name,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"id","id",-1388402092),event_name,new cljs.core.Keyword(null,"description","description",-1428560544),desc,new cljs.core.Keyword(null,"args","args",1315556576),args], null)); +}); +shadow.object.unmunge = (function shadow$object$unmunge(s){ +return clojure.string.replace(clojure.string.replace(s,/_DOT_/,"."),/_/,"-"); +}); +shadow.object.define_event(new cljs.core.Keyword(null,"init","init",-1875481434),"object initialization",cljs.core.PersistentVector.EMPTY); +shadow.object.define_event(new cljs.core.Keyword(null,"destroy","destroy",-843660405),"object descruction",new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"cause","cause",231901252),"cause of destruction, :parent means the parent was destroyed, :direct is default"], null)], null)); +shadow.object.define_event(new cljs.core.Keyword("dom","init","dom/init",-1875647652),"called after the dom was created but has not entered the document yet",new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dom","dom",-1236537922),"the dom that was created"], null)], null)); +shadow.object.define_event(new cljs.core.Keyword("dom","entered","dom/entered",506699596),"should be called whenever a dom node is added to the document, since that\n is not in control of this library its up to you to call this\n use (so/notify-tree! your-obj :dom/entered) to notify the node and every child you created",cljs.core.PersistentVector.EMPTY); +shadow.object.define_event(new cljs.core.Keyword(null,"bind-children-update","bind-children-update",-1610690160),"need to rethink this",cljs.core.PersistentVector.EMPTY); + +/** + * @interface + */ +shadow.object.IObject = function(){}; + +var shadow$object$IObject$_id$dyn_36448 = (function (this$){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (shadow.object._id[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5394__auto__.call(null, this$)); +} else { +var m__5392__auto__ = (shadow.object._id["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5392__auto__.call(null, this$)); +} else { +throw cljs.core.missing_protocol("IObject.-id",this$); +} +} +}); +shadow.object._id = (function shadow$object$_id(this$){ +if((((!((this$ == null)))) && ((!((this$.shadow$object$IObject$_id$arity$1 == null)))))){ +return this$.shadow$object$IObject$_id$arity$1(this$); +} else { +return shadow$object$IObject$_id$dyn_36448(this$); +} +}); + +var shadow$object$IObject$_type$dyn_36449 = (function (this$){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (shadow.object._type[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5394__auto__.call(null, this$)); +} else { +var m__5392__auto__ = (shadow.object._type["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5392__auto__.call(null, this$)); +} else { +throw cljs.core.missing_protocol("IObject.-type",this$); +} +} +}); +shadow.object._type = (function shadow$object$_type(this$){ +if((((!((this$ == null)))) && ((!((this$.shadow$object$IObject$_type$arity$1 == null)))))){ +return this$.shadow$object$IObject$_type$arity$1(this$); +} else { +return shadow$object$IObject$_type$dyn_36449(this$); +} +}); + +var shadow$object$IObject$_data$dyn_36450 = (function (this$){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (shadow.object._data[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5394__auto__.call(null, this$)); +} else { +var m__5392__auto__ = (shadow.object._data["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5392__auto__.call(null, this$)); +} else { +throw cljs.core.missing_protocol("IObject.-data",this$); +} +} +}); +shadow.object._data = (function shadow$object$_data(this$){ +if((((!((this$ == null)))) && ((!((this$.shadow$object$IObject$_data$arity$1 == null)))))){ +return this$.shadow$object$IObject$_data$arity$1(this$); +} else { +return shadow$object$IObject$_data$dyn_36450(this$); +} +}); + +var shadow$object$IObject$_update$dyn_36451 = (function (this$,update_fn){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (shadow.object._update[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(this$,update_fn) : m__5394__auto__.call(null, this$,update_fn)); +} else { +var m__5392__auto__ = (shadow.object._update["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(this$,update_fn) : m__5392__auto__.call(null, this$,update_fn)); +} else { +throw cljs.core.missing_protocol("IObject.-update",this$); +} +} +}); +/** + * update and notify watches + */ +shadow.object._update = (function shadow$object$_update(this$,update_fn){ +if((((!((this$ == null)))) && ((!((this$.shadow$object$IObject$_update$arity$2 == null)))))){ +return this$.shadow$object$IObject$_update$arity$2(this$,update_fn); +} else { +return shadow$object$IObject$_update$dyn_36451(this$,update_fn); +} +}); + +var shadow$object$IObject$_destroy_BANG_$dyn_36455 = (function (this$,cause){ +var x__5393__auto__ = (((this$ == null))?null:this$); +var m__5394__auto__ = (shadow.object._destroy_BANG_[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(this$,cause) : m__5394__auto__.call(null, this$,cause)); +} else { +var m__5392__auto__ = (shadow.object._destroy_BANG_["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(this$,cause) : m__5392__auto__.call(null, this$,cause)); +} else { +throw cljs.core.missing_protocol("IObject.-destroy!",this$); +} +} +}); +shadow.object._destroy_BANG_ = (function shadow$object$_destroy_BANG_(this$,cause){ +if((((!((this$ == null)))) && ((!((this$.shadow$object$IObject$_destroy_BANG_$arity$2 == null)))))){ +return this$.shadow$object$IObject$_destroy_BANG_$arity$2(this$,cause); +} else { +return shadow$object$IObject$_destroy_BANG_$dyn_36455(this$,cause); +} +}); + +shadow.object.get_type = (function shadow$object$get_type(this$){ +return shadow.object._type(this$); +}); +shadow.object.get_type_attr = (function shadow$object$get_type_attr(var_args){ +var G__35318 = arguments.length; +switch (G__35318) { +case 2: +return shadow.object.get_type_attr.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return shadow.object.get_type_attr.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.get_type_attr.cljs$core$IFn$_invoke$arity$2 = (function (oref,key){ +if((oref == null)){ +return null; +} else { +var type_id = (((oref instanceof cljs.core.Keyword))?oref:shadow.object._type(oref)); +return cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(shadow.object.object_defs),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [type_id,key], null)); +} +})); + +(shadow.object.get_type_attr.cljs$core$IFn$_invoke$arity$3 = (function (oref,key,default$){ +if((oref == null)){ +return default$; +} else { +var type_id = (((oref instanceof cljs.core.Keyword))?oref:shadow.object._type(oref)); +return cljs.core.get_in.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(shadow.object.object_defs),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [type_id,key], null),default$); +} +})); + +(shadow.object.get_type_attr.cljs$lang$maxFixedArity = 3); + +shadow.object.get_dom = (function shadow$object$get_dom(oref){ +return new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311).cljs$core$IFn$_invoke$arity$1(oref); +}); +goog.exportSymbol('shadow.object.get_dom', shadow.object.get_dom); +shadow.object.get_by_id = (function shadow$object$get_by_id(id){ +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(shadow.object.instances),id); +}); +goog.exportSymbol('shadow.object.get_by_id', shadow.object.get_by_id); +shadow.object.get_from_dom = (function shadow$object$get_from_dom(dom){ +var oid = shadow.dom.data(dom,new cljs.core.Keyword(null,"oid","oid",-768692334)); +if(cljs.core.truth_(oid)){ +return shadow.object.get_by_id(parseInt(oid,(10))); +} else { +return null; +} +}); +goog.exportSymbol('shadow.object.get_from_dom', shadow.object.get_from_dom); +shadow.object.is_object_QMARK_ = (function shadow$object$is_object_QMARK_(obj_or_dom){ +var or__5045__auto__ = (((!((obj_or_dom == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === obj_or_dom.shadow$object$IObject$))))?true:(((!obj_or_dom.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(shadow.object.IObject,obj_or_dom):false)):cljs.core.native_satisfies_QMARK_(shadow.object.IObject,obj_or_dom)); +if(or__5045__auto__){ +return or__5045__auto__; +} else { +return shadow.object.get_from_dom(obj_or_dom); +} +}); +shadow.object.equal_QMARK_ = (function shadow$object$equal_QMARK_(obj,obj_or_dom){ +if((((!((obj == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === obj.shadow$object$IObject$))))?true:(((!obj.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(shadow.object.IObject,obj):false)):cljs.core.native_satisfies_QMARK_(shadow.object.IObject,obj))){ +} else { +throw (new Error(["Assert failed: ","can only test objects","\n","(satisfies? IObject obj)"].join(''))); +} + +if((((!((obj_or_dom == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === obj_or_dom.shadow$object$IObject$))))?true:(((!obj_or_dom.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(shadow.object.IObject,obj_or_dom):false)):cljs.core.native_satisfies_QMARK_(shadow.object.IObject,obj_or_dom))){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(shadow.object._id(obj),shadow.object._id(obj_or_dom)); +} else { +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(shadow.object._id(obj),(function (){var temp__5823__auto__ = shadow.dom.data(obj_or_dom,new cljs.core.Keyword(null,"oid","oid",-768692334)); +if(cljs.core.truth_(temp__5823__auto__)){ +var oid = temp__5823__auto__; +return parseInt(oid,(10)); +} else { +return null; +} +})()); +} +}); +shadow.object.get_parent = (function shadow$object$get_parent(oref){ +var temp__5823__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(shadow.object.instance_parent),shadow.object._id(oref)); +if(cljs.core.truth_(temp__5823__auto__)){ +var parent_id = temp__5823__auto__; +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(shadow.object.instances),parent_id); +} else { +return null; +} +}); +goog.exportSymbol('shadow.object.get_parent', shadow.object.get_parent); +shadow.object.get_parent_of_type = (function shadow$object$get_parent_of_type(oref,parent_type){ +var parent = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(oref); +while(true){ +if(cljs.core.truth_(parent)){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(shadow.object._type(parent),parent_type)){ +return parent; +} else { +var G__36460 = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(parent); +parent = G__36460; +continue; +} +} else { +return null; +} +break; +} +}); +goog.exportSymbol('shadow.object.get_parent_of_type', shadow.object.get_parent_of_type); +shadow.object.get_children = (function shadow$object$get_children(parent){ +var parent_id = shadow.object._id(parent); +var child_ids = cljs.core.get.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(shadow.object.instance_children),parent_id,cljs.core.PersistentVector.EMPTY); +var instances = cljs.core.deref(shadow.object.instances); +return cljs.core.vec(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__35417_SHARP_){ +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(instances,p1__35417_SHARP_); +}),child_ids)); +}); +goog.exportSymbol('shadow.object.get_children', shadow.object.get_children); +shadow.object.tree_seq = (function shadow$object$tree_seq(var_args){ +var G__35428 = arguments.length; +switch (G__35428) { +case 1: +return shadow.object.tree_seq.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return shadow.object.tree_seq.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); +goog.exportSymbol('shadow.object.tree_seq', shadow.object.tree_seq); + +(shadow.object.tree_seq.cljs$core$IFn$_invoke$arity$1 = (function (root){ +return shadow.object.tree_seq.cljs$core$IFn$_invoke$arity$2(root,(function (node){ +return true; +})); +})); + +(shadow.object.tree_seq.cljs$core$IFn$_invoke$arity$2 = (function (root,branch_QMARK_){ +return cljs.core.tree_seq(branch_QMARK_,shadow.object.get_children,root); +})); + +(shadow.object.tree_seq.cljs$lang$maxFixedArity = 2); + +shadow.object.get_children_of_type = (function shadow$object$get_children_of_type(oref,type){ +var type_kw = (((type instanceof cljs.core.Keyword))?type:shadow.object._type(type)); +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__35453_SHARP_){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(type_kw,shadow.object._type(p1__35453_SHARP_)); +}),shadow.object.get_children(oref)); +}); +/** + * basically (get-children (:parent this)) + */ +shadow.object.get_siblings = (function shadow$object$get_siblings(p__35487){ +var map__35488 = p__35487; +var map__35488__$1 = cljs.core.__destructure_map(map__35488); +var oref = map__35488__$1; +var parent = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__35488__$1,new cljs.core.Keyword(null,"parent","parent",-878878779)); +if(cljs.core.truth_(parent)){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("object has no parent, thus has no siblings",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"oref","oref",-1547494840),oref], null)); +} + +return shadow.object.get_children(parent); +}); +/** + * returns set of all siblings of a common type + */ +shadow.object.get_siblings_of_type = (function shadow$object$get_siblings_of_type(var_args){ +var G__35504 = arguments.length; +switch (G__35504) { +case 1: +return shadow.object.get_siblings_of_type.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return shadow.object.get_siblings_of_type.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.get_siblings_of_type.cljs$core$IFn$_invoke$arity$1 = (function (oref){ +return shadow.object.get_siblings_of_type.cljs$core$IFn$_invoke$arity$2(oref,oref); +})); + +(shadow.object.get_siblings_of_type.cljs$core$IFn$_invoke$arity$2 = (function (oref,type){ +var type_kw = (((type instanceof cljs.core.Keyword))?type:shadow.object._type(type)); +return cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__35496_SHARP_){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(type_kw,shadow.object._type(p1__35496_SHARP_)); +}),shadow.object.get_siblings(oref)); +})); + +(shadow.object.get_siblings_of_type.cljs$lang$maxFixedArity = 2); + +shadow.object.get_collection_item = (function shadow$object$get_collection_item(oref){ +var item_key = new cljs.core.Keyword("shadow.object","coll-item-key","shadow.object/coll-item-key",1888444366).cljs$core$IFn$_invoke$arity$1(oref); +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(oref,item_key); +}); +/** + * find the object that contains this dom node + */ +shadow.object.find_containing_object = (function shadow$object$find_containing_object(dom){ +while(true){ +var temp__5821__auto__ = shadow.object.get_from_dom(dom); +if(cljs.core.truth_(temp__5821__auto__)){ +var obj = temp__5821__auto__; +return obj; +} else { +var temp__5823__auto__ = dom.parentElement; +if(cljs.core.truth_(temp__5823__auto__)){ +var parent = temp__5823__auto__; +var G__36471 = parent; +dom = G__36471; +continue; +} else { +return null; +} +} +break; +} +}); +shadow.object.notify_BANG_ = (function shadow$object$notify_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36472 = arguments.length; +var i__5770__auto___36473 = (0); +while(true){ +if((i__5770__auto___36473 < len__5769__auto___36472)){ +args__5775__auto__.push((arguments[i__5770__auto___36473])); + +var G__36474 = (i__5770__auto___36473 + (1)); +i__5770__auto___36473 = G__36474; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (oref,ev,args){ +var temp__5823__auto__ = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(oref,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword("shadow.object","reactions","shadow.object/reactions",1966199633),ev], null)); +if(cljs.core.truth_(temp__5823__auto__)){ +var reactions_to_trigger = temp__5823__auto__; +var seq__35557 = cljs.core.seq(reactions_to_trigger); +var chunk__35558 = null; +var count__35559 = (0); +var i__35560 = (0); +while(true){ +if((i__35560 < count__35559)){ +var rfn = chunk__35558.cljs$core$IIndexed$_nth$arity$2(null, i__35560); +cljs.core.apply.cljs$core$IFn$_invoke$arity$2(rfn,cljs.core.cons(oref,args)); + + +var G__36475 = seq__35557; +var G__36476 = chunk__35558; +var G__36477 = count__35559; +var G__36478 = (i__35560 + (1)); +seq__35557 = G__36475; +chunk__35558 = G__36476; +count__35559 = G__36477; +i__35560 = G__36478; +continue; +} else { +var temp__5823__auto____$1 = cljs.core.seq(seq__35557); +if(temp__5823__auto____$1){ +var seq__35557__$1 = temp__5823__auto____$1; +if(cljs.core.chunked_seq_QMARK_(seq__35557__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__35557__$1); +var G__36479 = cljs.core.chunk_rest(seq__35557__$1); +var G__36480 = c__5568__auto__; +var G__36481 = cljs.core.count(c__5568__auto__); +var G__36482 = (0); +seq__35557 = G__36479; +chunk__35558 = G__36480; +count__35559 = G__36481; +i__35560 = G__36482; +continue; +} else { +var rfn = cljs.core.first(seq__35557__$1); +cljs.core.apply.cljs$core$IFn$_invoke$arity$2(rfn,cljs.core.cons(oref,args)); + + +var G__36483 = cljs.core.next(seq__35557__$1); +var G__36484 = null; +var G__36485 = (0); +var G__36486 = (0); +seq__35557 = G__36483; +chunk__35558 = G__36484; +count__35559 = G__36485; +i__35560 = G__36486; +continue; +} +} else { +return null; +} +} +break; +} +} else { +return null; +} +})); + +(shadow.object.notify_BANG_.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(shadow.object.notify_BANG_.cljs$lang$applyTo = (function (seq35544){ +var G__35545 = cljs.core.first(seq35544); +var seq35544__$1 = cljs.core.next(seq35544); +var G__35546 = cljs.core.first(seq35544__$1); +var seq35544__$2 = cljs.core.next(seq35544__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__35545,G__35546,seq35544__$2); +})); + +shadow.object.do_notify_tree = (function shadow$object$do_notify_tree(current_obj,ev,notify_fn){ +var seq__35587_36490 = cljs.core.seq(shadow.object.get_children(current_obj)); +var chunk__35588_36491 = null; +var count__35589_36492 = (0); +var i__35590_36493 = (0); +while(true){ +if((i__35590_36493 < count__35589_36492)){ +var child_36495 = chunk__35588_36491.cljs$core$IIndexed$_nth$arity$2(null, i__35590_36493); +(shadow.object.do_notify_tree.cljs$core$IFn$_invoke$arity$3 ? shadow.object.do_notify_tree.cljs$core$IFn$_invoke$arity$3(child_36495,ev,notify_fn) : shadow.object.do_notify_tree.call(null, child_36495,ev,notify_fn)); + + +var G__36496 = seq__35587_36490; +var G__36497 = chunk__35588_36491; +var G__36498 = count__35589_36492; +var G__36499 = (i__35590_36493 + (1)); +seq__35587_36490 = G__36496; +chunk__35588_36491 = G__36497; +count__35589_36492 = G__36498; +i__35590_36493 = G__36499; +continue; +} else { +var temp__5823__auto___36500 = cljs.core.seq(seq__35587_36490); +if(temp__5823__auto___36500){ +var seq__35587_36501__$1 = temp__5823__auto___36500; +if(cljs.core.chunked_seq_QMARK_(seq__35587_36501__$1)){ +var c__5568__auto___36502 = cljs.core.chunk_first(seq__35587_36501__$1); +var G__36503 = cljs.core.chunk_rest(seq__35587_36501__$1); +var G__36504 = c__5568__auto___36502; +var G__36505 = cljs.core.count(c__5568__auto___36502); +var G__36506 = (0); +seq__35587_36490 = G__36503; +chunk__35588_36491 = G__36504; +count__35589_36492 = G__36505; +i__35590_36493 = G__36506; +continue; +} else { +var child_36507 = cljs.core.first(seq__35587_36501__$1); +(shadow.object.do_notify_tree.cljs$core$IFn$_invoke$arity$3 ? shadow.object.do_notify_tree.cljs$core$IFn$_invoke$arity$3(child_36507,ev,notify_fn) : shadow.object.do_notify_tree.call(null, child_36507,ev,notify_fn)); + + +var G__36509 = cljs.core.next(seq__35587_36501__$1); +var G__36510 = null; +var G__36511 = (0); +var G__36512 = (0); +seq__35587_36490 = G__36509; +chunk__35588_36491 = G__36510; +count__35589_36492 = G__36511; +i__35590_36493 = G__36512; +continue; +} +} else { +} +} +break; +} + +return (notify_fn.cljs$core$IFn$_invoke$arity$1 ? notify_fn.cljs$core$IFn$_invoke$arity$1(current_obj) : notify_fn.call(null, current_obj)); +}); +shadow.object.notify_tree_BANG_ = (function shadow$object$notify_tree_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36513 = arguments.length; +var i__5770__auto___36514 = (0); +while(true){ +if((i__5770__auto___36514 < len__5769__auto___36513)){ +args__5775__auto__.push((arguments[i__5770__auto___36514])); + +var G__36515 = (i__5770__auto___36514 + (1)); +i__5770__auto___36514 = G__36515; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return shadow.object.notify_tree_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(shadow.object.notify_tree_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (oref,ev,args){ +var notify_fn = (function (obj){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(shadow.object.notify_BANG_,obj,ev,args); +}); +return shadow.object.do_notify_tree(oref,ev,notify_fn); +})); + +(shadow.object.notify_tree_BANG_.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(shadow.object.notify_tree_BANG_.cljs$lang$applyTo = (function (seq35605){ +var G__35606 = cljs.core.first(seq35605); +var seq35605__$1 = cljs.core.next(seq35605); +var G__35608 = cljs.core.first(seq35605__$1); +var seq35605__$2 = cljs.core.next(seq35605__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__35606,G__35608,seq35605__$2); +})); + +shadow.object.notify_down_BANG_ = shadow.object.notify_tree_BANG_; +shadow.object.notify_up_BANG_ = (function shadow$object$notify_up_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36519 = arguments.length; +var i__5770__auto___36520 = (0); +while(true){ +if((i__5770__auto___36520 < len__5769__auto___36519)){ +args__5775__auto__.push((arguments[i__5770__auto___36520])); + +var G__36521 = (i__5770__auto___36520 + (1)); +i__5770__auto___36520 = G__36521; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return shadow.object.notify_up_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(shadow.object.notify_up_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (oref,ev,args){ +var current = shadow.object.get_parent(oref); +while(true){ +if(cljs.core.truth_(current)){ +cljs.core.apply.cljs$core$IFn$_invoke$arity$4(shadow.object.notify_BANG_,current,ev,args); + +var G__36522 = shadow.object.get_parent(current); +current = G__36522; +continue; +} else { +return null; +} +break; +} +})); + +(shadow.object.notify_up_BANG_.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(shadow.object.notify_up_BANG_.cljs$lang$applyTo = (function (seq35632){ +var G__35634 = cljs.core.first(seq35632); +var seq35632__$1 = cljs.core.next(seq35632); +var G__35635 = cljs.core.first(seq35632__$1); +var seq35632__$2 = cljs.core.next(seq35632__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__35634,G__35635,seq35632__$2); +})); + +shadow.object.update_BANG_ = (function shadow$object$update_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36523 = arguments.length; +var i__5770__auto___36524 = (0); +while(true){ +if((i__5770__auto___36524 < len__5769__auto___36523)){ +args__5775__auto__.push((arguments[i__5770__auto___36524])); + +var G__36525 = (i__5770__auto___36524 + (1)); +i__5770__auto___36524 = G__36525; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return shadow.object.update_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(shadow.object.update_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (oref,update_fn,args){ +if(cljs.core.fn_QMARK_(update_fn)){ +} else { +throw ["update! expects a fn as second arg, not ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([update_fn], 0))].join(''); +} + +var id = shadow.object._id(oref); +var data = shadow.object._data(oref); +var work_fn = (function (data__$1){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$3(update_fn,data__$1,args); +}); +return shadow.object._update(oref,work_fn); +})); + +(shadow.object.update_BANG_.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(shadow.object.update_BANG_.cljs$lang$applyTo = (function (seq35660){ +var G__35661 = cljs.core.first(seq35660); +var seq35660__$1 = cljs.core.next(seq35660); +var G__35663 = cljs.core.first(seq35660__$1); +var seq35660__$2 = cljs.core.next(seq35660__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__35661,G__35663,seq35660__$2); +})); + +shadow.object.return_value = (function shadow$object$return_value(oref,return_value){ +return shadow.object.update_BANG_.cljs$core$IFn$_invoke$arity$variadic(oref,cljs.core.assoc,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword("shadow.object","return-value","shadow.object/return-value",1397593360),return_value], 0)); +}); +shadow.object.set_parent_BANG_ = (function shadow$object$set_parent_BANG_(child,parent){ +var child_id = shadow.object._id(child); +var parent_id = shadow.object._id(parent); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(shadow.object.instance_parent,cljs.core.assoc,child_id,parent_id); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(shadow.object.instance_children,(function (x){ +var current = cljs.core.get.cljs$core$IFn$_invoke$arity$3(x,parent_id,cljs.core.PersistentHashSet.EMPTY); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(x,parent_id,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(current,child_id)); +})); + +return true; +}); +shadow.object.dom_destroy = (function shadow$object$dom_destroy(this$,cause){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cause,new cljs.core.Keyword(null,"parent","parent",-878878779))){ +return shadow.dom.remove(new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311).cljs$core$IFn$_invoke$arity$1(this$)); +} else { +var temp__5821__auto__ = shadow.object.get_type_attr.cljs$core$IFn$_invoke$arity$2(this$,new cljs.core.Keyword("dom","remove","dom/remove",-131527420)); +if(cljs.core.truth_(temp__5821__auto__)){ +var custom_remove = temp__5821__auto__; +var G__35695 = this$; +var G__35696 = new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311).cljs$core$IFn$_invoke$arity$1(this$); +return (custom_remove.cljs$core$IFn$_invoke$arity$2 ? custom_remove.cljs$core$IFn$_invoke$arity$2(G__35695,G__35696) : custom_remove.call(null, G__35695,G__35696)); +} else { +return shadow.dom.remove(new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311).cljs$core$IFn$_invoke$arity$1(this$)); +} +} +}); +shadow.object.destroy_BANG_ = (function shadow$object$destroy_BANG_(var_args){ +var G__35703 = arguments.length; +switch (G__35703) { +case 1: +return shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$1 = (function (oref){ +return shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$2(oref,new cljs.core.Keyword(null,"direct","direct",-1775717856)); +})); + +(shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (oref,cause){ +return shadow.object._destroy_BANG_(oref,cause); +})); + +(shadow.object.destroy_BANG_.cljs$lang$maxFixedArity = 2); + +shadow.object.bind_dom_events = (function shadow$object$bind_dom_events(oref,dom,dom_events){ +if((cljs.core.rem(cljs.core.count(dom_events),(2)) === (0))){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("object defined invalid event",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"object-type","object-type",-1889869015),shadow.object._type(oref),new cljs.core.Keyword("dom","events","dom/events",1793437527),dom_events], null)); +} + +var seq__35710 = cljs.core.seq(cljs.core.partition.cljs$core$IFn$_invoke$arity$2((2),dom_events)); +var chunk__35711 = null; +var count__35712 = (0); +var i__35713 = (0); +while(true){ +if((i__35713 < count__35712)){ +var vec__35736 = chunk__35711.cljs$core$IIndexed$_nth$arity$2(null, i__35713); +var ev = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35736,(0),null); +var handler = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35736,(1),null); +var ev_def = vec__35736; +if((handler == null)){ +throw ["ev with nil handler ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([ev], 0))].join(''); +} else { +} + +var handler_36530__$1 = (((handler instanceof cljs.core.Keyword))?((function (seq__35710,chunk__35711,count__35712,i__35713,vec__35736,ev,handler,ev_def){ +return (function (this$,e,el){ +return shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic(this$,handler,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,el], 0)); +});})(seq__35710,chunk__35711,count__35712,i__35713,vec__35736,ev,handler,ev_def)) +:handler); +shadow.dom.on.cljs$core$IFn$_invoke$arity$3(dom,ev,((function (seq__35710,chunk__35711,count__35712,i__35713,handler_36530__$1,vec__35736,ev,handler,ev_def){ +return (function shadow$object$bind_dom_events_$_dom_event_handler(e,el){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("A",el.tagName)){ +shadow.dom.ev_stop.cljs$core$IFn$_invoke$arity$1(e); +} else { +} + +return (handler_36530__$1.cljs$core$IFn$_invoke$arity$3 ? handler_36530__$1.cljs$core$IFn$_invoke$arity$3(oref,e,el) : handler_36530__$1.call(null, oref,e,el)); +});})(seq__35710,chunk__35711,count__35712,i__35713,handler_36530__$1,vec__35736,ev,handler,ev_def)) +); + + +var G__36531 = seq__35710; +var G__36532 = chunk__35711; +var G__36533 = count__35712; +var G__36534 = (i__35713 + (1)); +seq__35710 = G__36531; +chunk__35711 = G__36532; +count__35712 = G__36533; +i__35713 = G__36534; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__35710); +if(temp__5823__auto__){ +var seq__35710__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__35710__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__35710__$1); +var G__36535 = cljs.core.chunk_rest(seq__35710__$1); +var G__36536 = c__5568__auto__; +var G__36537 = cljs.core.count(c__5568__auto__); +var G__36538 = (0); +seq__35710 = G__36535; +chunk__35711 = G__36536; +count__35712 = G__36537; +i__35713 = G__36538; +continue; +} else { +var vec__35743 = cljs.core.first(seq__35710__$1); +var ev = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35743,(0),null); +var handler = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35743,(1),null); +var ev_def = vec__35743; +if((handler == null)){ +throw ["ev with nil handler ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([ev], 0))].join(''); +} else { +} + +var handler_36539__$1 = (((handler instanceof cljs.core.Keyword))?((function (seq__35710,chunk__35711,count__35712,i__35713,vec__35743,ev,handler,ev_def,seq__35710__$1,temp__5823__auto__){ +return (function (this$,e,el){ +return shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic(this$,handler,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([e,el], 0)); +});})(seq__35710,chunk__35711,count__35712,i__35713,vec__35743,ev,handler,ev_def,seq__35710__$1,temp__5823__auto__)) +:handler); +shadow.dom.on.cljs$core$IFn$_invoke$arity$3(dom,ev,((function (seq__35710,chunk__35711,count__35712,i__35713,handler_36539__$1,vec__35743,ev,handler,ev_def,seq__35710__$1,temp__5823__auto__){ +return (function shadow$object$bind_dom_events_$_dom_event_handler(e,el){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("A",el.tagName)){ +shadow.dom.ev_stop.cljs$core$IFn$_invoke$arity$1(e); +} else { +} + +return (handler_36539__$1.cljs$core$IFn$_invoke$arity$3 ? handler_36539__$1.cljs$core$IFn$_invoke$arity$3(oref,e,el) : handler_36539__$1.call(null, oref,e,el)); +});})(seq__35710,chunk__35711,count__35712,i__35713,handler_36539__$1,vec__35743,ev,handler,ev_def,seq__35710__$1,temp__5823__auto__)) +); + + +var G__36540 = cljs.core.next(seq__35710__$1); +var G__36541 = null; +var G__36542 = (0); +var G__36543 = (0); +seq__35710 = G__36540; +chunk__35711 = G__36541; +count__35712 = G__36542; +i__35713 = G__36543; +continue; +} +} else { +return null; +} +} +break; +} +}); +shadow.object.reaction_merge = (function shadow$object$reaction_merge(result,p__35755){ +var vec__35757 = p__35755; +var event = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35757,(0),null); +var handler = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35757,(1),null); +if(cljs.core.truth_((function (){var and__5043__auto__ = event; +if(cljs.core.truth_(and__5043__auto__)){ +return handler; +} else { +return and__5043__auto__; +} +})())){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("invalid reaction",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"event","event",301435442),event,new cljs.core.Keyword(null,"handler","handler",-195596612),handler], null)); +} + +var current = cljs.core.get.cljs$core$IFn$_invoke$arity$3(result,event,cljs.core.List.EMPTY); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(result,event,cljs.core.conj.cljs$core$IFn$_invoke$arity$2(current,handler)); +}); +shadow.object.merge_reactions = (function shadow$object$merge_reactions(result,behavior){ +if(cljs.core.sequential_QMARK_(behavior)){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("behaviors must be vectors",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"behavior","behavior",1202392908),behavior], null)); +} + +if(cljs.core.even_QMARK_(cljs.core.count(behavior))){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("invalid behavior",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"behavior","behavior",1202392908),behavior], null)); +} + +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(shadow.object.reaction_merge,result,cljs.core.reverse(cljs.core.partition.cljs$core$IFn$_invoke$arity$2((2),behavior))); +}); +shadow.object.merge_behaviors = (function shadow$object$merge_behaviors(result,behavior){ +if(cljs.core.sequential_QMARK_(behavior)){ +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(result,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword("shadow.object","reactions","shadow.object/reactions",1966199633)], null),shadow.object.merge_reactions,behavior); +} else { +if(cljs.core.map_QMARK_(behavior)){ +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$3(cljs.core.update_in.cljs$core$IFn$_invoke$arity$3(cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(result,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword("shadow.object","reactions","shadow.object/reactions",1966199633)], null),shadow.object.merge_reactions,new cljs.core.Keyword(null,"on","on",173873944).cljs$core$IFn$_invoke$arity$2(behavior,cljs.core.PersistentVector.EMPTY)),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"watch","watch",380988277)], null),(function (watches){ +return cljs.core.concat.cljs$core$IFn$_invoke$arity$2(watches,new cljs.core.Keyword(null,"watch","watch",380988277).cljs$core$IFn$_invoke$arity$2(behavior,cljs.core.PersistentVector.EMPTY)); +})),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword("dom","events","dom/events",1793437527)], null),(function (default$){ +return cljs.core.vec(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(default$,new cljs.core.Keyword("dom","events","dom/events",1793437527).cljs$core$IFn$_invoke$arity$2(behavior,cljs.core.PersistentVector.EMPTY))); +})); +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("behavior not understood",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"behavior","behavior",1202392908),behavior], null)); + +} +} +}); +shadow.object.define = (function shadow$object$define(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36546 = arguments.length; +var i__5770__auto___36547 = (0); +while(true){ +if((i__5770__auto___36547 < len__5769__auto___36546)){ +args__5775__auto__.push((arguments[i__5770__auto___36547])); + +var G__36548 = (i__5770__auto___36547 + (1)); +i__5770__auto___36547 = G__36548; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((1) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null); +return shadow.object.define.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__); +}); + +(shadow.object.define.cljs$core$IFn$_invoke$arity$variadic = (function (id,args){ +if((id instanceof cljs.core.Keyword)){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("object id needs to be a keyword",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),id,new cljs.core.Keyword(null,"args","args",1315556576),args], null)); +} + +if(cljs.core.even_QMARK_(cljs.core.count(args))){ +} else { +throw ["invalid object definition ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(id)," args: ",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([args], 0))].join(''); +} + +if(cljs.core.contains_QMARK_(cljs.core.deref(shadow.object.object_defs),id)){ +console.warn(["object already defined ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(id)].join('')); +} else { +} + +try{var odef = cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,args); +var reactions = shadow.object.merge_reactions(cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"on","on",173873944).cljs$core$IFn$_invoke$arity$2(odef,cljs.core.PersistentVector.EMPTY)); +var odef__$1 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(odef,new cljs.core.Keyword("shadow.object","id","shadow.object/id",-647954841),id,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword("shadow.object","reactions","shadow.object/reactions",1966199633),reactions], 0)); +var odef__$2 = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(shadow.object.merge_behaviors,odef__$1,cljs.core.reverse(new cljs.core.Keyword(null,"behaviors","behaviors",120724909).cljs$core$IFn$_invoke$arity$2(odef__$1,cljs.core.PersistentVector.EMPTY))); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(shadow.object.object_defs,cljs.core.assoc,id,odef__$2); + +return odef__$2; +}catch (e35797){if((e35797 instanceof Object)){ +var e = e35797; +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("failed to define object",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),id,new cljs.core.Keyword(null,"args","args",1315556576),args], null)); +} else { +throw e35797; + +} +}})); + +(shadow.object.define.cljs$lang$maxFixedArity = (1)); + +/** @this {Function} */ +(shadow.object.define.cljs$lang$applyTo = (function (seq35780){ +var G__35782 = cljs.core.first(seq35780); +var seq35780__$1 = cljs.core.next(seq35780); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__35782,seq35780__$1); +})); + +shadow.object.merge_defaults = (function shadow$object$merge_defaults(data,type){ +var defaults = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(shadow.object.object_defs),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [type,new cljs.core.Keyword(null,"defaults","defaults",976027214)], null)); +if((defaults == null)){ +return data; +} else { +if(cljs.core.map_QMARK_(defaults)){ +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([defaults,data], 0)); +} else { +if(cljs.core.fn_QMARK_(defaults)){ +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(defaults.cljs$core$IFn$_invoke$arity$0 ? defaults.cljs$core$IFn$_invoke$arity$0() : defaults.call(null, )),data], 0)); +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("invalid object defaults",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"defaults","defaults",976027214),defaults,new cljs.core.Keyword(null,"type","type",1174270348),type], null)); + +} +} +} +}); +shadow.object.make_dom = (function shadow$object$make_dom(var_args){ +var G__35834 = arguments.length; +switch (G__35834) { +case 3: +return shadow.object.make_dom.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return shadow.object.make_dom.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.make_dom.cljs$core$IFn$_invoke$arity$3 = (function (oref,dom_key,events_key){ +return shadow.object.make_dom.cljs$core$IFn$_invoke$arity$4(oref,dom_key,events_key,null); +})); + +(shadow.object.make_dom.cljs$core$IFn$_invoke$arity$4 = (function (oref,dom_key,events_key,value){ +var dom_fn = (((dom_key instanceof cljs.core.Keyword))?shadow.object.get_type_attr.cljs$core$IFn$_invoke$arity$2(oref,dom_key):dom_key); +var events = (((events_key instanceof cljs.core.Keyword))?shadow.object.get_type_attr.cljs$core$IFn$_invoke$arity$3(oref,events_key,cljs.core.PersistentVector.EMPTY):events_key); +var dom = (function (){var G__35845 = (dom_fn.cljs$core$IFn$_invoke$arity$2 ? dom_fn.cljs$core$IFn$_invoke$arity$2(oref,value) : dom_fn.call(null, oref,value)); +return (shadow.dom.build.cljs$core$IFn$_invoke$arity$1 ? shadow.dom.build.cljs$core$IFn$_invoke$arity$1(G__35845) : shadow.dom.build.call(null, G__35845)); +})(); +shadow.object.bind_dom_events(oref,dom,events); + +return dom; +})); + +(shadow.object.make_dom.cljs$lang$maxFixedArity = 4); + +shadow.object.alive_QMARK_ = (function shadow$object$alive_QMARK_(obj){ +return cljs.core.contains_QMARK_(cljs.core.deref(shadow.object.instances),shadow.object._id(obj)); +}); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +shadow.object.Watch = (function (key,handler,__meta,__extmap,__hash){ +this.key = key; +this.handler = handler; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(shadow.object.Watch.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(shadow.object.Watch.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k35853,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__35864 = k35853; +var G__35864__$1 = (((G__35864 instanceof cljs.core.Keyword))?G__35864.fqn:null); +switch (G__35864__$1) { +case "key": +return self__.key; + +break; +case "handler": +return self__.handler; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k35853,else__5346__auto__); + +} +})); + +(shadow.object.Watch.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__35865){ +var vec__35866 = p__35865; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35866,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35866,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(shadow.object.Watch.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#shadow.object.Watch{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"key","key",-1516042587),self__.key],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"handler","handler",-195596612),self__.handler],null))], null),self__.__extmap)); +})); + +(shadow.object.Watch.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__35852){ +var self__ = this; +var G__35852__$1 = this; +return (new cljs.core.RecordIter((0),G__35852__$1,2,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"handler","handler",-195596612)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(shadow.object.Watch.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(shadow.object.Watch.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new shadow.object.Watch(self__.key,self__.handler,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(shadow.object.Watch.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (2 + cljs.core.count(self__.__extmap)); +})); + +(shadow.object.Watch.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (-17677043 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(shadow.object.Watch.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this35854,other35855){ +var self__ = this; +var this35854__$1 = this; +return (((!((other35855 == null)))) && ((((this35854__$1.constructor === other35855.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this35854__$1.key,other35855.key)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this35854__$1.handler,other35855.handler)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this35854__$1.__extmap,other35855.__extmap))))))))); +})); + +(shadow.object.Watch.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),null,new cljs.core.Keyword(null,"handler","handler",-195596612),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new shadow.object.Watch(self__.key,self__.handler,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(shadow.object.Watch.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k35853){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__35954 = k35853; +var G__35954__$1 = (((G__35954 instanceof cljs.core.Keyword))?G__35954.fqn:null); +switch (G__35954__$1) { +case "key": +case "handler": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k35853); + +} +})); + +(shadow.object.Watch.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__35852){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__35960 = cljs.core.keyword_identical_QMARK_; +var expr__35961 = k__5352__auto__; +if(cljs.core.truth_((pred__35960.cljs$core$IFn$_invoke$arity$2 ? pred__35960.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"key","key",-1516042587),expr__35961) : pred__35960.call(null, new cljs.core.Keyword(null,"key","key",-1516042587),expr__35961)))){ +return (new shadow.object.Watch(G__35852,self__.handler,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__35960.cljs$core$IFn$_invoke$arity$2 ? pred__35960.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"handler","handler",-195596612),expr__35961) : pred__35960.call(null, new cljs.core.Keyword(null,"handler","handler",-195596612),expr__35961)))){ +return (new shadow.object.Watch(self__.key,G__35852,self__.__meta,self__.__extmap,null)); +} else { +return (new shadow.object.Watch(self__.key,self__.handler,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__35852),null)); +} +} +})); + +(shadow.object.Watch.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"key","key",-1516042587),self__.key,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"handler","handler",-195596612),self__.handler,null))], null),self__.__extmap)); +})); + +(shadow.object.Watch.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__35852){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new shadow.object.Watch(self__.key,self__.handler,G__35852,self__.__extmap,self__.__hash)); +})); + +(shadow.object.Watch.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(shadow.object.Watch.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"key","key",124488940,null),new cljs.core.Symbol(null,"handler","handler",1444934915,null)], null); +})); + +(shadow.object.Watch.cljs$lang$type = true); + +(shadow.object.Watch.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"shadow.object/Watch",null,(1),null)); +})); + +(shadow.object.Watch.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"shadow.object/Watch"); +})); + +/** + * Positional factory function for shadow.object/Watch. + */ +shadow.object.__GT_Watch = (function shadow$object$__GT_Watch(key,handler){ +return (new shadow.object.Watch(key,handler,null,null,null)); +}); + +/** + * Factory function for shadow.object/Watch, taking a map of keywords to field values. + */ +shadow.object.map__GT_Watch = (function shadow$object$map__GT_Watch(G__35857){ +var extmap__5385__auto__ = (function (){var G__35987 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__35857,new cljs.core.Keyword(null,"key","key",-1516042587),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"handler","handler",-195596612)], 0)); +if(cljs.core.record_QMARK_(G__35857)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__35987); +} else { +return G__35987; +} +})(); +return (new shadow.object.Watch(new cljs.core.Keyword(null,"key","key",-1516042587).cljs$core$IFn$_invoke$arity$1(G__35857),new cljs.core.Keyword(null,"handler","handler",-195596612).cljs$core$IFn$_invoke$arity$1(G__35857),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + + +/** +* @constructor + * @implements {cljs.core.IWatchable} + * @implements {cljs.core.IEquiv} + * @implements {shadow.object.IObject} + * @implements {cljs.core.async.impl.protocols.ReadPort} + * @implements {cljs.core.IDeref} + * @implements {shadow.dom.IElement} + * @implements {cljs.core.IPrintWithWriter} + * @implements {shadow.dom.SVGElement} + * @implements {cljs.core.ILookup} +*/ +shadow.object.ObjectRef = (function (id,type,data,watches,result_chan){ +this.id = id; +this.type = type; +this.data = data; +this.watches = watches; +this.result_chan = result_chan; +this.cljs$lang$protocol_mask$partition0$ = 2149613824; +this.cljs$lang$protocol_mask$partition1$ = 2; +}); +(shadow.object.ObjectRef.prototype.cljs$core$async$impl$protocols$ReadPort$ = cljs.core.PROTOCOL_SENTINEL); + +(shadow.object.ObjectRef.prototype.cljs$core$async$impl$protocols$ReadPort$take_BANG_$arity$2 = (function (this$,handler){ +var self__ = this; +var this$__$1 = this; +return cljs.core.async.impl.protocols.take_BANG_(self__.result_chan,handler); +})); + +(shadow.object.ObjectRef.prototype.toString = (function (){ +var self__ = this; +var this$ = this; +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([this$], 0)); +})); + +(shadow.object.ObjectRef.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this$,k){ +var self__ = this; +var this$__$1 = this; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"parent","parent",-878878779),k)){ +return shadow.object.get_parent(this$__$1); +} else { +return cljs.core.get.cljs$core$IFn$_invoke$arity$2(self__.data,k); +} +})); + +(shadow.object.ObjectRef.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this$,k,d){ +var self__ = this; +var this$__$1 = this; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"parent","parent",-878878779),k)){ +return shadow.object.get_parent(this$__$1); +} else { +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.data,k,d); +} +})); + +(shadow.object.ObjectRef.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this$,writer,opts){ +var self__ = this; +var this$__$1 = this; +return cljs.core._write(writer,["#"].join('')); +})); + +(shadow.object.ObjectRef.prototype.shadow$dom$SVGElement$ = cljs.core.PROTOCOL_SENTINEL); + +(shadow.object.ObjectRef.prototype.shadow$dom$SVGElement$_to_svg$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311).cljs$core$IFn$_invoke$arity$1(self__.data); +})); + +(shadow.object.ObjectRef.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this$,other){ +var self__ = this; +var this$__$1 = this; +return (((other instanceof shadow.object.ObjectRef)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this$__$1.shadow$object$IObject$_id$arity$1(null, ),shadow.object._id(other)))); +})); + +(shadow.object.ObjectRef.prototype.shadow$dom$IElement$ = cljs.core.PROTOCOL_SENTINEL); + +(shadow.object.ObjectRef.prototype.shadow$dom$IElement$_to_dom$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311).cljs$core$IFn$_invoke$arity$1(self__.data); +})); + +(shadow.object.ObjectRef.prototype.cljs$core$IWatchable$_notify_watches$arity$3 = (function (this$,oldval,newval){ +var self__ = this; +var this$__$1 = this; +throw (new Error("who be calling?")); +})); + +(shadow.object.ObjectRef.prototype.cljs$core$IWatchable$_add_watch$arity$3 = (function (this$,key,f){ +var self__ = this; +var this$__$1 = this; +return (self__.watches = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(self__.watches,(new shadow.object.Watch(key,f,null,null,null)))); +})); + +(shadow.object.ObjectRef.prototype.cljs$core$IWatchable$_remove_watch$arity$2 = (function (this$,key){ +var self__ = this; +var this$__$1 = this; +return (self__.watches = cljs.core.remove.cljs$core$IFn$_invoke$arity$2((function (p1__35995_SHARP_){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(key,new cljs.core.Keyword(null,"key","key",-1516042587).cljs$core$IFn$_invoke$arity$1(p1__35995_SHARP_)); +}),self__.watches)); +})); + +(shadow.object.ObjectRef.prototype.shadow$object$IObject$ = cljs.core.PROTOCOL_SENTINEL); + +(shadow.object.ObjectRef.prototype.shadow$object$IObject$_id$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.id; +})); + +(shadow.object.ObjectRef.prototype.shadow$object$IObject$_type$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.type; +})); + +(shadow.object.ObjectRef.prototype.shadow$object$IObject$_data$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.data; +})); + +(shadow.object.ObjectRef.prototype.shadow$object$IObject$_update$arity$2 = (function (this$,update_fn){ +var self__ = this; +var this$__$1 = this; +var old = self__.data; +var new$ = (update_fn.cljs$core$IFn$_invoke$arity$1 ? update_fn.cljs$core$IFn$_invoke$arity$1(self__.data) : update_fn.call(null, self__.data)); +(self__.data = new$); + +var seq__36022 = cljs.core.seq(self__.watches); +var chunk__36023 = null; +var count__36024 = (0); +var i__36025 = (0); +while(true){ +if((i__36025 < count__36024)){ +var map__36037 = chunk__36023.cljs$core$IIndexed$_nth$arity$2(null, i__36025); +var map__36037__$1 = cljs.core.__destructure_map(map__36037); +var watch = map__36037__$1; +var key = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36037__$1,new cljs.core.Keyword(null,"key","key",-1516042587)); +var handler = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36037__$1,new cljs.core.Keyword(null,"handler","handler",-195596612)); +if(shadow.object.alive_QMARK_(this$__$1)){ +(handler.cljs$core$IFn$_invoke$arity$4 ? handler.cljs$core$IFn$_invoke$arity$4(key,this$__$1,old,new$) : handler.call(null, key,this$__$1,old,new$)); +} else { +} + + +var G__36610 = seq__36022; +var G__36611 = chunk__36023; +var G__36612 = count__36024; +var G__36613 = (i__36025 + (1)); +seq__36022 = G__36610; +chunk__36023 = G__36611; +count__36024 = G__36612; +i__36025 = G__36613; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__36022); +if(temp__5823__auto__){ +var seq__36022__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__36022__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__36022__$1); +var G__36615 = cljs.core.chunk_rest(seq__36022__$1); +var G__36616 = c__5568__auto__; +var G__36617 = cljs.core.count(c__5568__auto__); +var G__36618 = (0); +seq__36022 = G__36615; +chunk__36023 = G__36616; +count__36024 = G__36617; +i__36025 = G__36618; +continue; +} else { +var map__36041 = cljs.core.first(seq__36022__$1); +var map__36041__$1 = cljs.core.__destructure_map(map__36041); +var watch = map__36041__$1; +var key = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36041__$1,new cljs.core.Keyword(null,"key","key",-1516042587)); +var handler = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36041__$1,new cljs.core.Keyword(null,"handler","handler",-195596612)); +if(shadow.object.alive_QMARK_(this$__$1)){ +(handler.cljs$core$IFn$_invoke$arity$4 ? handler.cljs$core$IFn$_invoke$arity$4(key,this$__$1,old,new$) : handler.call(null, key,this$__$1,old,new$)); +} else { +} + + +var G__36622 = cljs.core.next(seq__36022__$1); +var G__36623 = null; +var G__36624 = (0); +var G__36625 = (0); +seq__36022 = G__36622; +chunk__36023 = G__36623; +count__36024 = G__36624; +i__36025 = G__36625; +continue; +} +} else { +return null; +} +} +break; +} +})); + +(shadow.object.ObjectRef.prototype.shadow$object$IObject$_destroy_BANG_$arity$2 = (function (this$,cause){ +var self__ = this; +var this$__$1 = this; +var parent_id = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(shadow.object.instance_parent),self__.id); +var seq__36045_36626 = cljs.core.seq(shadow.object.get_children(this$__$1)); +var chunk__36047_36627 = null; +var count__36048_36628 = (0); +var i__36049_36629 = (0); +while(true){ +if((i__36049_36629 < count__36048_36628)){ +var child_36631 = chunk__36047_36627.cljs$core$IIndexed$_nth$arity$2(null, i__36049_36629); +shadow.object._destroy_BANG_(child_36631,new cljs.core.Keyword(null,"parent","parent",-878878779)); + + +var G__36634 = seq__36045_36626; +var G__36635 = chunk__36047_36627; +var G__36636 = count__36048_36628; +var G__36637 = (i__36049_36629 + (1)); +seq__36045_36626 = G__36634; +chunk__36047_36627 = G__36635; +count__36048_36628 = G__36636; +i__36049_36629 = G__36637; +continue; +} else { +var temp__5823__auto___36644 = cljs.core.seq(seq__36045_36626); +if(temp__5823__auto___36644){ +var seq__36045_36645__$1 = temp__5823__auto___36644; +if(cljs.core.chunked_seq_QMARK_(seq__36045_36645__$1)){ +var c__5568__auto___36646 = cljs.core.chunk_first(seq__36045_36645__$1); +var G__36647 = cljs.core.chunk_rest(seq__36045_36645__$1); +var G__36648 = c__5568__auto___36646; +var G__36649 = cljs.core.count(c__5568__auto___36646); +var G__36650 = (0); +seq__36045_36626 = G__36647; +chunk__36047_36627 = G__36648; +count__36048_36628 = G__36649; +i__36049_36629 = G__36650; +continue; +} else { +var child_36651 = cljs.core.first(seq__36045_36645__$1); +shadow.object._destroy_BANG_(child_36651,new cljs.core.Keyword(null,"parent","parent",-878878779)); + + +var G__36652 = cljs.core.next(seq__36045_36645__$1); +var G__36653 = null; +var G__36654 = (0); +var G__36655 = (0); +seq__36045_36626 = G__36652; +chunk__36047_36627 = G__36653; +count__36048_36628 = G__36654; +i__36049_36629 = G__36655; +continue; +} +} else { +} +} +break; +} + +shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic(this$__$1,new cljs.core.Keyword(null,"destroy","destroy",-843660405),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cause], 0)); + +shadow.object.dom_destroy(this$__$1,cause); + +var return_value_36656 = new cljs.core.Keyword("shadow.object","return-value","shadow.object/return-value",1397593360).cljs$core$IFn$_invoke$arity$1(this$__$1); +if((return_value_36656 == null)){ +} else { +cljs.core.async.put_BANG_.cljs$core$IFn$_invoke$arity$2(self__.result_chan,return_value_36656); +} + +cljs.core.async.close_BANG_(self__.result_chan); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(shadow.object.instances,cljs.core.dissoc,self__.id); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(shadow.object.instance_parent,cljs.core.dissoc,self__.id); + +if(cljs.core.truth_(parent_id)){ +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(shadow.object.instance_children,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [parent_id], null),cljs.core.disj,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([self__.id], 0)); +} else { +return null; +} +})); + +(shadow.object.ObjectRef.prototype.cljs$core$IDeref$_deref$arity$1 = (function (this$){ +var self__ = this; +var this$__$1 = this; +return self__.data; +})); + +(shadow.object.ObjectRef.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"id","id",252129435,null),new cljs.core.Symbol(null,"type","type",-1480165421,null),cljs.core.with_meta(new cljs.core.Symbol(null,"data","data",1407862150,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,"watches","watches",1367433992,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null)),new cljs.core.Symbol(null,"result-chan","result-chan",3070926,null)], null); +})); + +(shadow.object.ObjectRef.cljs$lang$type = true); + +(shadow.object.ObjectRef.cljs$lang$ctorStr = "shadow.object/ObjectRef"); + +(shadow.object.ObjectRef.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"shadow.object/ObjectRef"); +})); + +/** + * Positional factory function for shadow.object/ObjectRef. + */ +shadow.object.__GT_ObjectRef = (function shadow$object$__GT_ObjectRef(id,type,data,watches,result_chan){ +return (new shadow.object.ObjectRef(id,type,data,watches,result_chan)); +}); + +shadow.object.add_reaction_BANG_ = (function shadow$object$add_reaction_BANG_(var_args){ +var G__36070 = arguments.length; +switch (G__36070) { +case 3: +return shadow.object.add_reaction_BANG_.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 2: +return shadow.object.add_reaction_BANG_.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.add_reaction_BANG_.cljs$core$IFn$_invoke$arity$3 = (function (oref,ev,handler_fn){ +return shadow.object.add_reaction_BANG_.cljs$core$IFn$_invoke$arity$2(oref,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [ev,handler_fn], null)); +})); + +(shadow.object.add_reaction_BANG_.cljs$core$IFn$_invoke$arity$2 = (function (oref,list){ +return shadow.object.update_BANG_.cljs$core$IFn$_invoke$arity$variadic(oref,cljs.core.update_in,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword("shadow.object","reactions","shadow.object/reactions",1966199633)], null),shadow.object.merge_reactions,list], 0)); +})); + +(shadow.object.add_reaction_BANG_.cljs$lang$maxFixedArity = 3); + +shadow.object.bind_change = (function shadow$object$bind_change(var_args){ +var G__36085 = arguments.length; +switch (G__36085) { +case 3: +return shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return shadow.object.bind_change.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3 = (function (oref,attr,callback){ +return shadow.object.bind_change.cljs$core$IFn$_invoke$arity$4(oref,attr,callback,cljs.core.gensym.cljs$core$IFn$_invoke$arity$1("bind-change")); +})); + +(shadow.object.bind_change.cljs$core$IFn$_invoke$arity$4 = (function (oref,attr,callback,watch_key){ +if((((!((oref == null))))?((((false) || ((cljs.core.PROTOCOL_SENTINEL === oref.shadow$object$IObject$))))?true:(((!oref.cljs$lang$protocol_mask$partition$))?cljs.core.native_satisfies_QMARK_(shadow.object.IObject,oref):false)):cljs.core.native_satisfies_QMARK_(shadow.object.IObject,oref))){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("binding currently only supports shadow objects, other atoms might leak, may add later",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"oref","oref",-1547494840),oref,new cljs.core.Keyword(null,"attr","attr",-604132353),attr], null)); +} + +var attr__$1 = ((cljs.core.sequential_QMARK_(attr))?attr:new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [attr], null)); +return cljs.core.add_watch(oref,watch_key,(function shadow$object$bind_change_watch(_,___$1,old,new$){ +var ov = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(old,attr__$1); +var nv = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(new$,attr__$1); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ov,nv)){ +return null; +} else { +return (callback.cljs$core$IFn$_invoke$arity$2 ? callback.cljs$core$IFn$_invoke$arity$2(ov,nv) : callback.call(null, ov,nv)); +} +})); +})); + +(shadow.object.bind_change.cljs$lang$maxFixedArity = 4); + +shadow.object.dom_enter = (function shadow$object$dom_enter(parent,child){ +shadow.dom.append.cljs$core$IFn$_invoke$arity$2(parent,child); + +if(cljs.core.truth_(shadow.dom.contains_QMARK_.cljs$core$IFn$_invoke$arity$1(parent))){ +return shadow.object.notify_tree_BANG_(child,new cljs.core.Keyword("dom","entered","dom/entered",506699596)); +} else { +return null; +} +}); +shadow.object.create = (function shadow$object$create(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___36671 = arguments.length; +var i__5770__auto___36672 = (0); +while(true){ +if((i__5770__auto___36672 < len__5769__auto___36671)){ +args__5775__auto__.push((arguments[i__5770__auto___36672])); + +var G__36673 = (i__5770__auto___36672 + (1)); +i__5770__auto___36672 = G__36673; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return shadow.object.create.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(shadow.object.create.cljs$core$IFn$_invoke$arity$variadic = (function (type,args,node_children){ +if(cljs.core.contains_QMARK_(cljs.core.deref(shadow.object.object_defs),type)){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2(["cannot create unknown child type: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(type)].join(''),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),type,new cljs.core.Keyword(null,"args","args",1315556576),args], null)); +} + +if(cljs.core.map_QMARK_(args)){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("so/create second arg must be a map",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"args","args",1315556576),args], null)); +} + +var oid = shadow.object.next_id(); +var parent = new cljs.core.Keyword(null,"parent","parent",-878878779).cljs$core$IFn$_invoke$arity$1(args); +var result_chan = cljs.core.async.chan.cljs$core$IFn$_invoke$arity$1((1)); +var odef = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(shadow.object.object_defs),type); +var obj = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(shadow.object.merge_defaults(cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(args,new cljs.core.Keyword("shadow.object","object-id","shadow.object/object-id",-685993804),oid,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword("shadow.object","reactions","shadow.object/reactions",1966199633),cljs.core.get.cljs$core$IFn$_invoke$arity$3(odef,new cljs.core.Keyword("shadow.object","reactions","shadow.object/reactions",1966199633),cljs.core.PersistentArrayMap.EMPTY)], 0)),type),new cljs.core.Keyword(null,"parent","parent",-878878779),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"dom","dom",-1236537922)], 0)); +var oref = (new shadow.object.ObjectRef(oid,type,obj,cljs.core.PersistentVector.EMPTY,result_chan)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(shadow.object.instances,cljs.core.assoc,oid,oref); + +if(cljs.core.truth_(parent)){ +shadow.object.set_parent_BANG_(oref,parent); +} else { +} + +shadow.object.notify_BANG_(oref,new cljs.core.Keyword(null,"init","init",-1875481434)); + +var dom_events_36674 = new cljs.core.Keyword("dom","events","dom/events",1793437527).cljs$core$IFn$_invoke$arity$2(odef,cljs.core.PersistentVector.EMPTY); +var temp__5821__auto___36676 = new cljs.core.Keyword(null,"dom","dom",-1236537922).cljs$core$IFn$_invoke$arity$1(args); +if(cljs.core.truth_(temp__5821__auto___36676)){ +var dom_36677 = temp__5821__auto___36676; +shadow.dom.set_data(dom_36677,new cljs.core.Keyword(null,"oid","oid",-768692334),oid); + +shadow.object.bind_dom_events(oref,dom_36677,dom_events_36674); + +shadow.object.update_BANG_.cljs$core$IFn$_invoke$arity$variadic(oref,cljs.core.assoc,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311),dom_36677], 0)); + +shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic(oref,new cljs.core.Keyword("dom","init","dom/init",-1875647652),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([dom_36677], 0)); +} else { +var temp__5823__auto___36678 = new cljs.core.Keyword(null,"dom","dom",-1236537922).cljs$core$IFn$_invoke$arity$1(odef); +if(cljs.core.truth_(temp__5823__auto___36678)){ +var dom_fn_36679 = temp__5823__auto___36678; +var dom_36680 = (function (){var G__36115 = (dom_fn_36679.cljs$core$IFn$_invoke$arity$2 ? dom_fn_36679.cljs$core$IFn$_invoke$arity$2(oref,node_children) : dom_fn_36679.call(null, oref,node_children)); +return (shadow.dom.build.cljs$core$IFn$_invoke$arity$1 ? shadow.dom.build.cljs$core$IFn$_invoke$arity$1(G__36115) : shadow.dom.build.call(null, G__36115)); +})(); +shadow.dom.set_data(dom_36680,new cljs.core.Keyword(null,"oid","oid",-768692334),oid); + +shadow.object.update_BANG_.cljs$core$IFn$_invoke$arity$variadic(oref,cljs.core.assoc,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword("shadow.object","dom","shadow.object/dom",-1238263311),dom_36680], 0)); + +shadow.object.bind_dom_events(oref,dom_36680,dom_events_36674); + +shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic(oref,new cljs.core.Keyword("dom","init","dom/init",-1875647652),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([dom_36680], 0)); +} else { +} +} + +var temp__5823__auto___36681 = new cljs.core.Keyword(null,"watch","watch",380988277).cljs$core$IFn$_invoke$arity$1(odef); +if(cljs.core.truth_(temp__5823__auto___36681)){ +var watches_36682 = temp__5823__auto___36681; +var seq__36118_36683 = cljs.core.seq(cljs.core.partition.cljs$core$IFn$_invoke$arity$2((2),watches_36682)); +var chunk__36119_36684 = null; +var count__36120_36685 = (0); +var i__36121_36686 = (0); +while(true){ +if((i__36121_36686 < count__36120_36685)){ +var vec__36145_36687 = chunk__36119_36684.cljs$core$IIndexed$_nth$arity$2(null, i__36121_36686); +var attr_36688 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36145_36687,(0),null); +var handler_36689 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36145_36687,(1),null); +shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3(oref,attr_36688,((function (seq__36118_36683,chunk__36119_36684,count__36120_36685,i__36121_36686,vec__36145_36687,attr_36688,handler_36689,watches_36682,temp__5823__auto___36681,oid,parent,result_chan,odef,obj,oref){ +return (function (old,new$){ +return (handler_36689.cljs$core$IFn$_invoke$arity$3 ? handler_36689.cljs$core$IFn$_invoke$arity$3(oref,old,new$) : handler_36689.call(null, oref,old,new$)); +});})(seq__36118_36683,chunk__36119_36684,count__36120_36685,i__36121_36686,vec__36145_36687,attr_36688,handler_36689,watches_36682,temp__5823__auto___36681,oid,parent,result_chan,odef,obj,oref)) +); + + +var G__36690 = seq__36118_36683; +var G__36691 = chunk__36119_36684; +var G__36692 = count__36120_36685; +var G__36693 = (i__36121_36686 + (1)); +seq__36118_36683 = G__36690; +chunk__36119_36684 = G__36691; +count__36120_36685 = G__36692; +i__36121_36686 = G__36693; +continue; +} else { +var temp__5823__auto___36699__$1 = cljs.core.seq(seq__36118_36683); +if(temp__5823__auto___36699__$1){ +var seq__36118_36700__$1 = temp__5823__auto___36699__$1; +if(cljs.core.chunked_seq_QMARK_(seq__36118_36700__$1)){ +var c__5568__auto___36701 = cljs.core.chunk_first(seq__36118_36700__$1); +var G__36702 = cljs.core.chunk_rest(seq__36118_36700__$1); +var G__36703 = c__5568__auto___36701; +var G__36704 = cljs.core.count(c__5568__auto___36701); +var G__36705 = (0); +seq__36118_36683 = G__36702; +chunk__36119_36684 = G__36703; +count__36120_36685 = G__36704; +i__36121_36686 = G__36705; +continue; +} else { +var vec__36154_36707 = cljs.core.first(seq__36118_36700__$1); +var attr_36708 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36154_36707,(0),null); +var handler_36709 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36154_36707,(1),null); +shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3(oref,attr_36708,((function (seq__36118_36683,chunk__36119_36684,count__36120_36685,i__36121_36686,vec__36154_36707,attr_36708,handler_36709,seq__36118_36700__$1,temp__5823__auto___36699__$1,watches_36682,temp__5823__auto___36681,oid,parent,result_chan,odef,obj,oref){ +return (function (old,new$){ +return (handler_36709.cljs$core$IFn$_invoke$arity$3 ? handler_36709.cljs$core$IFn$_invoke$arity$3(oref,old,new$) : handler_36709.call(null, oref,old,new$)); +});})(seq__36118_36683,chunk__36119_36684,count__36120_36685,i__36121_36686,vec__36154_36707,attr_36708,handler_36709,seq__36118_36700__$1,temp__5823__auto___36699__$1,watches_36682,temp__5823__auto___36681,oid,parent,result_chan,odef,obj,oref)) +); + + +var G__36718 = cljs.core.next(seq__36118_36700__$1); +var G__36719 = null; +var G__36720 = (0); +var G__36721 = (0); +seq__36118_36683 = G__36718; +chunk__36119_36684 = G__36719; +count__36120_36685 = G__36720; +i__36121_36686 = G__36721; +continue; +} +} else { +} +} +break; +} +} else { +} + +return oref; +})); + +(shadow.object.create.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(shadow.object.create.cljs$lang$applyTo = (function (seq36101){ +var G__36103 = cljs.core.first(seq36101); +var seq36101__$1 = cljs.core.next(seq36101); +var G__36104 = cljs.core.first(seq36101__$1); +var seq36101__$2 = cljs.core.next(seq36101__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__36103,G__36104,seq36101__$2); +})); + +/** + * [oref attr node-gen] produces a node via (node-gen new-value) + * watches obj for changes and replaces the generated node on change (node-gen defaults to str) + * + * only use if the node has no attached behavior like clicks, use bind with an extra object for those + */ +shadow.object.bind_simple = (function shadow$object$bind_simple(var_args){ +var G__36165 = arguments.length; +switch (G__36165) { +case 2: +return shadow.object.bind_simple.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return shadow.object.bind_simple.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.bind_simple.cljs$core$IFn$_invoke$arity$2 = (function (oref,attr){ +return shadow.object.bind_simple.cljs$core$IFn$_invoke$arity$3(oref,attr,cljs.core.str); +})); + +(shadow.object.bind_simple.cljs$core$IFn$_invoke$arity$3 = (function (oref,attr,node_gen){ +var attr__$1 = ((cljs.core.sequential_QMARK_(attr))?attr:new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [attr], null)); +var node_get = (function (p1__36160_SHARP_){ +var G__36172 = (node_gen.cljs$core$IFn$_invoke$arity$1 ? node_gen.cljs$core$IFn$_invoke$arity$1(p1__36160_SHARP_) : node_gen.call(null, p1__36160_SHARP_)); +return (shadow.dom.build.cljs$core$IFn$_invoke$arity$1 ? shadow.dom.build.cljs$core$IFn$_invoke$arity$1(G__36172) : shadow.dom.build.call(null, G__36172)); +}); +var node = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(node_get(cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(oref,attr__$1))); +var bind_key = cljs.core.gensym.cljs$core$IFn$_invoke$arity$1("bind"); +shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3(oref,attr__$1,(function (old,new$){ +var new_node = node_get(new$); +var current_node = cljs.core.deref(node); +shadow.dom.replace_node(current_node,new_node); + +return cljs.core.reset_BANG_(node,new_node); +})); + +return cljs.core.deref(node); +})); + +(shadow.object.bind_simple.cljs$lang$maxFixedArity = 3); + +/** + * bind the given attribute a child item + * the item will be recreated whenever the value changes (old one will be destroyed) + */ +shadow.object.bind = (function shadow$object$bind(oref,attr,item_type,item_key,item_attrs){ +var attr__$1 = ((cljs.core.sequential_QMARK_(attr))?attr:new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [attr], null)); +var curval = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(oref,attr__$1); +var make_child_fn = (function (value){ +return shadow.object.create(item_type,cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([item_attrs,cljs.core.PersistentArrayMap.createAsIfByAssoc([new cljs.core.Keyword(null,"parent","parent",-878878779),oref,item_key,value])], 0))); +}); +var child = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(make_child_fn(curval)); +shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3(oref,attr__$1,(function (old,new$){ +var new_child = make_child_fn(new$); +var current_node = cljs.core.deref(child); +shadow.dom.replace_node(current_node,new_child); + +shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$1(cljs.core.deref(child)); + +cljs.core.reset_BANG_(child,new_child); + +return (shadow.object.notify_down_BANG_.cljs$core$IFn$_invoke$arity$2 ? shadow.object.notify_down_BANG_.cljs$core$IFn$_invoke$arity$2(new_child,new cljs.core.Keyword("dom","entered","dom/entered",506699596)) : shadow.object.notify_down_BANG_.call(null, new_child,new cljs.core.Keyword("dom","entered","dom/entered",506699596))); +})); + +return cljs.core.deref(child); +}); +shadow.object.coll_destroy_children = (function shadow$object$coll_destroy_children(children,c,diff){ +var seq__36189_36758 = cljs.core.seq(cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(children,(c + diff),c)); +var chunk__36190_36759 = null; +var count__36191_36760 = (0); +var i__36192_36761 = (0); +while(true){ +if((i__36192_36761 < count__36191_36760)){ +var obj_36767 = chunk__36190_36759.cljs$core$IIndexed$_nth$arity$2(null, i__36192_36761); +var obj_36768__$1 = shadow.object.get_from_dom(obj_36767); +shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$1(obj_36768__$1); + + +var G__36769 = seq__36189_36758; +var G__36770 = chunk__36190_36759; +var G__36771 = count__36191_36760; +var G__36772 = (i__36192_36761 + (1)); +seq__36189_36758 = G__36769; +chunk__36190_36759 = G__36770; +count__36191_36760 = G__36771; +i__36192_36761 = G__36772; +continue; +} else { +var temp__5823__auto___36773 = cljs.core.seq(seq__36189_36758); +if(temp__5823__auto___36773){ +var seq__36189_36775__$1 = temp__5823__auto___36773; +if(cljs.core.chunked_seq_QMARK_(seq__36189_36775__$1)){ +var c__5568__auto___36776 = cljs.core.chunk_first(seq__36189_36775__$1); +var G__36777 = cljs.core.chunk_rest(seq__36189_36775__$1); +var G__36778 = c__5568__auto___36776; +var G__36779 = cljs.core.count(c__5568__auto___36776); +var G__36780 = (0); +seq__36189_36758 = G__36777; +chunk__36190_36759 = G__36778; +count__36191_36760 = G__36779; +i__36192_36761 = G__36780; +continue; +} else { +var obj_36781 = cljs.core.first(seq__36189_36775__$1); +var obj_36782__$1 = shadow.object.get_from_dom(obj_36781); +shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$1(obj_36782__$1); + + +var G__36783 = cljs.core.next(seq__36189_36775__$1); +var G__36784 = null; +var G__36785 = (0); +var G__36786 = (0); +seq__36189_36758 = G__36783; +chunk__36190_36759 = G__36784; +count__36191_36760 = G__36785; +i__36192_36761 = G__36786; +continue; +} +} else { +} +} +break; +} + +return cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(children,(0),(c + diff)); +}); +shadow.object.bind_children = (function shadow$object$bind_children(var_args){ +var G__36218 = arguments.length; +switch (G__36218) { +case 5: +return shadow.object.bind_children.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return shadow.object.bind_children.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.object.bind_children.cljs$core$IFn$_invoke$arity$5 = (function (node,parent,attr,item_type,item_key){ +return shadow.object.bind_children.cljs$core$IFn$_invoke$arity$6(node,parent,attr,item_type,item_key,(function (p1__36210_SHARP_){ +return cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2(cljs.core.vector,p1__36210_SHARP_); +})); +})); + +(shadow.object.bind_children.cljs$core$IFn$_invoke$arity$6 = (function (node,parent,attr,item_type,item_key,coll_transform){ +var attr__$1 = ((cljs.core.sequential_QMARK_(attr))?attr:new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [attr], null)); +var update_children = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(true); +var coll_dom = (shadow.dom.build.cljs$core$IFn$_invoke$arity$1 ? shadow.dom.build.cljs$core$IFn$_invoke$arity$1(node) : shadow.dom.build.call(null, node)); +var make_item_fn = (function (p__36237){ +var vec__36238 = p__36237; +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36238,(0),null); +var val = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36238,(1),null); +var obj = shadow.object.create(item_type,cljs.core.PersistentArrayMap.createAsIfByAssoc([new cljs.core.Keyword(null,"parent","parent",-878878779),parent,new cljs.core.Keyword("shadow.object","coll-path","shadow.object/coll-path",1583850048),attr__$1,new cljs.core.Keyword("shadow.object","coll-key","shadow.object/coll-key",827543616),key,new cljs.core.Keyword("shadow.object","coll-item-key","shadow.object/coll-item-key",1888444366),item_key,item_key,val])); +shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3(obj,item_key,(function (old,new$){ +var parent_key = cljs.core.conj.cljs$core$IFn$_invoke$arity$2(attr__$1,new cljs.core.Keyword("shadow.object","coll-key","shadow.object/coll-key",827543616).cljs$core$IFn$_invoke$arity$1(obj)); +(shadow.object.log.cljs$core$IFn$_invoke$arity$6 ? shadow.object.log.cljs$core$IFn$_invoke$arity$6("direct child update",parent,obj,key,parent_key,new$) : shadow.object.log.call(null, "direct child update",parent,obj,key,parent_key,new$)); + +cljs.core.reset_BANG_(update_children,false); + +shadow.object.update_BANG_.cljs$core$IFn$_invoke$arity$variadic(parent,cljs.core.assoc_in,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([parent_key,new$], 0)); + +return cljs.core.reset_BANG_(update_children,true); +})); + +return obj; +}); +var seq__36257_36790 = cljs.core.seq((function (){var G__36270 = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(parent,attr__$1); +return (coll_transform.cljs$core$IFn$_invoke$arity$1 ? coll_transform.cljs$core$IFn$_invoke$arity$1(G__36270) : coll_transform.call(null, G__36270)); +})()); +var chunk__36258_36791 = null; +var count__36259_36792 = (0); +var i__36260_36793 = (0); +while(true){ +if((i__36260_36793 < count__36259_36792)){ +var item_36794 = chunk__36258_36791.cljs$core$IIndexed$_nth$arity$2(null, i__36260_36793); +shadow.object.dom_enter(coll_dom,make_item_fn(item_36794)); + + +var G__36795 = seq__36257_36790; +var G__36796 = chunk__36258_36791; +var G__36797 = count__36259_36792; +var G__36798 = (i__36260_36793 + (1)); +seq__36257_36790 = G__36795; +chunk__36258_36791 = G__36796; +count__36259_36792 = G__36797; +i__36260_36793 = G__36798; +continue; +} else { +var temp__5823__auto___36799 = cljs.core.seq(seq__36257_36790); +if(temp__5823__auto___36799){ +var seq__36257_36800__$1 = temp__5823__auto___36799; +if(cljs.core.chunked_seq_QMARK_(seq__36257_36800__$1)){ +var c__5568__auto___36803 = cljs.core.chunk_first(seq__36257_36800__$1); +var G__36806 = cljs.core.chunk_rest(seq__36257_36800__$1); +var G__36807 = c__5568__auto___36803; +var G__36808 = cljs.core.count(c__5568__auto___36803); +var G__36809 = (0); +seq__36257_36790 = G__36806; +chunk__36258_36791 = G__36807; +count__36259_36792 = G__36808; +i__36260_36793 = G__36809; +continue; +} else { +var item_36810 = cljs.core.first(seq__36257_36800__$1); +shadow.object.dom_enter(coll_dom,make_item_fn(item_36810)); + + +var G__36811 = cljs.core.next(seq__36257_36800__$1); +var G__36812 = null; +var G__36813 = (0); +var G__36814 = (0); +seq__36257_36790 = G__36811; +chunk__36258_36791 = G__36812; +count__36259_36792 = G__36813; +i__36260_36793 = G__36814; +continue; +} +} else { +} +} +break; +} + +shadow.object.bind_change.cljs$core$IFn$_invoke$arity$3(parent,attr__$1,(function shadow$object$bind_children_watch(old,new$){ +if(cljs.core.truth_(cljs.core.deref(update_children))){ +var children = cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,shadow.dom.children(coll_dom)); +var new_coll = cljs.core.vec((coll_transform.cljs$core$IFn$_invoke$arity$1 ? coll_transform.cljs$core$IFn$_invoke$arity$1(new$) : coll_transform.call(null, new$))); +var count_children = cljs.core.count(children); +var count_new = cljs.core.count(new$); +var diff = (count_new - count_children); +var children__$1 = (((diff < (0)))?shadow.object.coll_destroy_children(children,count_children,diff):children); +var count_children__$1 = (function (){var x__5133__auto__ = count_new; +var y__5134__auto__ = count_children; +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})(); +var n__5636__auto___36816 = count_children__$1; +var idx_36817 = (0); +while(true){ +if((idx_36817 < n__5636__auto___36816)){ +var cn_36818 = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(children__$1,idx_36817); +var cc_36819 = shadow.object.get_from_dom(cn_36818); +var ckey_36820 = new cljs.core.Keyword("shadow.object","coll-key","shadow.object/coll-key",827543616).cljs$core$IFn$_invoke$arity$1(cc_36819); +var cval_36821 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cc_36819,item_key); +var vec__36300_36822 = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new_coll,idx_36817); +var nkey_36823 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36300_36822,(0),null); +var nval_36824 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36300_36822,(1),null); +if(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(ckey_36820,nkey_36823)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cval_36821,nval_36824)))){ +} else { +var new_obj_36825 = make_item_fn(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [nkey_36823,nval_36824], null)); +shadow.dom.replace_node(cn_36818,new_obj_36825); + +shadow.object.destroy_BANG_.cljs$core$IFn$_invoke$arity$1(cc_36819); + +shadow.object.notify_tree_BANG_(new_obj_36825,new cljs.core.Keyword("dom","entered","dom/entered",506699596)); +} + +var G__36826 = (idx_36817 + (1)); +idx_36817 = G__36826; +continue; +} else { +} +break; +} + +if((diff > (0))){ +var seq__36316_36827 = cljs.core.seq(cljs.core.subvec.cljs$core$IFn$_invoke$arity$3(new_coll,count_children__$1,count_new)); +var chunk__36317_36828 = null; +var count__36318_36829 = (0); +var i__36319_36830 = (0); +while(true){ +if((i__36319_36830 < count__36318_36829)){ +var item_36831 = chunk__36317_36828.cljs$core$IIndexed$_nth$arity$2(null, i__36319_36830); +shadow.object.dom_enter(coll_dom,make_item_fn(item_36831)); + + +var G__36832 = seq__36316_36827; +var G__36833 = chunk__36317_36828; +var G__36834 = count__36318_36829; +var G__36835 = (i__36319_36830 + (1)); +seq__36316_36827 = G__36832; +chunk__36317_36828 = G__36833; +count__36318_36829 = G__36834; +i__36319_36830 = G__36835; +continue; +} else { +var temp__5823__auto___36836 = cljs.core.seq(seq__36316_36827); +if(temp__5823__auto___36836){ +var seq__36316_36837__$1 = temp__5823__auto___36836; +if(cljs.core.chunked_seq_QMARK_(seq__36316_36837__$1)){ +var c__5568__auto___36839 = cljs.core.chunk_first(seq__36316_36837__$1); +var G__36840 = cljs.core.chunk_rest(seq__36316_36837__$1); +var G__36841 = c__5568__auto___36839; +var G__36842 = cljs.core.count(c__5568__auto___36839); +var G__36843 = (0); +seq__36316_36827 = G__36840; +chunk__36317_36828 = G__36841; +count__36318_36829 = G__36842; +i__36319_36830 = G__36843; +continue; +} else { +var item_36844 = cljs.core.first(seq__36316_36837__$1); +shadow.object.dom_enter(coll_dom,make_item_fn(item_36844)); + + +var G__36845 = cljs.core.next(seq__36316_36837__$1); +var G__36846 = null; +var G__36847 = (0); +var G__36848 = (0); +seq__36316_36827 = G__36845; +chunk__36317_36828 = G__36846; +count__36318_36829 = G__36847; +i__36319_36830 = G__36848; +continue; +} +} else { +} +} +break; +} +} else { +} + +return shadow.object.notify_BANG_(parent,new cljs.core.Keyword(null,"bind-children-update","bind-children-update",-1610690160)); +} else { +return null; +} +})); + +return coll_dom; +})); + +(shadow.object.bind_children.cljs$lang$maxFixedArity = 6); + +shadow.object.remove_in_parent_BANG_ = (function shadow$object$remove_in_parent_BANG_(oref){ +var parent = shadow.object.get_parent(oref); +var key = new cljs.core.Keyword("shadow.object","coll-key","shadow.object/coll-key",827543616).cljs$core$IFn$_invoke$arity$1(oref); +var value = cljs.core.get.cljs$core$IFn$_invoke$arity$2(oref,new cljs.core.Keyword("shadow.object","coll-item-key","shadow.object/coll-item-key",1888444366).cljs$core$IFn$_invoke$arity$1(oref)); +var path = new cljs.core.Keyword("shadow.object","coll-path","shadow.object/coll-path",1583850048).cljs$core$IFn$_invoke$arity$1(oref); +if(cljs.core.truth_((function (){var and__5043__auto__ = key; +if(cljs.core.truth_(and__5043__auto__)){ +return path; +} else { +return and__5043__auto__; +} +})())){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("remove-in-parent! should only be called from items created via so/bind-children",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"oref","oref",-1547494840),oref], null)); +} + +var coll = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(parent,path); +var new_coll = shadow.util.remove_item_from_coll(coll,key,value); +return shadow.object.notify_BANG_.cljs$core$IFn$_invoke$arity$variadic(parent,new cljs.core.Keyword("bind","update","bind/update",1048601733),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([path,new_coll], 0)); +}); +shadow.object.inspect_BANG_ = (function shadow$object$inspect_BANG_(oref){ +var G__36359 = "inspect!"; +var G__36360 = shadow.object._id(oref); +var G__36361 = cljs.core.str.cljs$core$IFn$_invoke$arity$1(shadow.object._type(oref)); +var G__36365 = cljs.core.clj__GT_js(cljs.core.deref(shadow.object._data(oref))); +return (shadow.object.info.cljs$core$IFn$_invoke$arity$4 ? shadow.object.info.cljs$core$IFn$_invoke$arity$4(G__36359,G__36360,G__36361,G__36365) : shadow.object.info.call(null, G__36359,G__36360,G__36361,G__36365)); +}); +shadow.object.dump_BANG_ = (function shadow$object$dump_BANG_(){ +(shadow.object.info.cljs$core$IFn$_invoke$arity$1 ? shadow.object.info.cljs$core$IFn$_invoke$arity$1("--------------- LIVE OBJECTS ------------") : shadow.object.info.call(null, "--------------- LIVE OBJECTS ------------")); + +var seq__36383_36855 = cljs.core.seq(cljs.core.seq(cljs.core.deref(shadow.object.instances))); +var chunk__36384_36856 = null; +var count__36385_36857 = (0); +var i__36386_36858 = (0); +while(true){ +if((i__36386_36858 < count__36385_36857)){ +var vec__36407_36862 = chunk__36384_36856.cljs$core$IIndexed$_nth$arity$2(null, i__36386_36858); +var id_36863 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36407_36862,(0),null); +var oref_36864 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36407_36862,(1),null); +var G__36412_36865 = "dump"; +var G__36413_36866 = id_36863; +var G__36414_36867 = cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([shadow.object._type(oref_36864)], 0)); +var G__36415_36868 = cljs.core.deref(shadow.object._data(oref_36864)); +(shadow.object.info.cljs$core$IFn$_invoke$arity$4 ? shadow.object.info.cljs$core$IFn$_invoke$arity$4(G__36412_36865,G__36413_36866,G__36414_36867,G__36415_36868) : shadow.object.info.call(null, G__36412_36865,G__36413_36866,G__36414_36867,G__36415_36868)); + + +var G__36871 = seq__36383_36855; +var G__36872 = chunk__36384_36856; +var G__36873 = count__36385_36857; +var G__36874 = (i__36386_36858 + (1)); +seq__36383_36855 = G__36871; +chunk__36384_36856 = G__36872; +count__36385_36857 = G__36873; +i__36386_36858 = G__36874; +continue; +} else { +var temp__5823__auto___36875 = cljs.core.seq(seq__36383_36855); +if(temp__5823__auto___36875){ +var seq__36383_36876__$1 = temp__5823__auto___36875; +if(cljs.core.chunked_seq_QMARK_(seq__36383_36876__$1)){ +var c__5568__auto___36878 = cljs.core.chunk_first(seq__36383_36876__$1); +var G__36879 = cljs.core.chunk_rest(seq__36383_36876__$1); +var G__36880 = c__5568__auto___36878; +var G__36881 = cljs.core.count(c__5568__auto___36878); +var G__36882 = (0); +seq__36383_36855 = G__36879; +chunk__36384_36856 = G__36880; +count__36385_36857 = G__36881; +i__36386_36858 = G__36882; +continue; +} else { +var vec__36420_36883 = cljs.core.first(seq__36383_36876__$1); +var id_36884 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36420_36883,(0),null); +var oref_36885 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36420_36883,(1),null); +var G__36423_36888 = "dump"; +var G__36424_36889 = id_36884; +var G__36425_36890 = cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([shadow.object._type(oref_36885)], 0)); +var G__36426_36891 = cljs.core.deref(shadow.object._data(oref_36885)); +(shadow.object.info.cljs$core$IFn$_invoke$arity$4 ? shadow.object.info.cljs$core$IFn$_invoke$arity$4(G__36423_36888,G__36424_36889,G__36425_36890,G__36426_36891) : shadow.object.info.call(null, G__36423_36888,G__36424_36889,G__36425_36890,G__36426_36891)); + + +var G__36892 = cljs.core.next(seq__36383_36876__$1); +var G__36893 = null; +var G__36894 = (0); +var G__36895 = (0); +seq__36383_36855 = G__36892; +chunk__36384_36856 = G__36893; +count__36385_36857 = G__36894; +i__36386_36858 = G__36895; +continue; +} +} else { +} +} +break; +} + +return (shadow.object.info.cljs$core$IFn$_invoke$arity$1 ? shadow.object.info.cljs$core$IFn$_invoke$arity$1("--------------- //LIVE OBJECTS ------------") : shadow.object.info.call(null, "--------------- //LIVE OBJECTS ------------")); +}); +goog.exportSymbol('shadow.object.dump_BANG_', shadow.object.dump_BANG_); + +//# sourceMappingURL=shadow.object.js.map diff --git a/out/cljs-runtime/shadow.object.js.map b/out/cljs-runtime/shadow.object.js.map new file mode 100644 index 0000000..c4aa2c4 --- /dev/null +++ b/out/cljs-runtime/shadow.object.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/object.cljs"],"mappings":";AAUA,AAAKA,iCAAiBC;AAEtB,AAAKC,oBAAIC;AACT,AAAKC,sBAAMD;AACX,AAAKE,qBAAKF;AACV,AAAKG,qBAAKH;AACV,AAAKI,sBAAMJ;AAEX,AAAKK,uBAAO,6CAAA,7CAACC;AACb,wBAAA,xBAAMC;AAAN,AACE,OAACC,mDAAMH,qBAAOI;;AAEhB,AAAKC,4BAAY,6CAAA,7CAACJ;AAClB,AAAKK,6BAAa,6CAAA,7CAACL;AAEnB,AAAKM,0BAAU,6CAAA,7CAACN;AAChB,AAAKO,gCAAgB,6CAAA,7CAACP;AACtB,AAAKQ,kCAAkB,6CAAA,7CAACR;AAExB,AAAKS,uBAAO,6CAAA,7CAACT;AAEb,6BAAA,7BAAMU,kEAAcC,WAAWC,KAAKC;AAApC,AACE,0GAAA,2CAAA,6DAAA,yEAAA,pRAACX,mDAAMO,qBAAOK,gBAAMH,wGAAgBA,+EACSC,0DACPC;;AAExC,wBAAA,xBAAME,wDAASC;AAAf,qDACMA,vBACA,yBAAA,QAAA,jCAACC,9BACD,oEAAA,IAAA,jEAACA;;AAGP,2BAAA,sDAAA,wBAAA,zGAACP;AAID,2BAAA,2DAAA,qBAAA,mFAAA,mFAAA,sDAAA,vUAACA;AAID,2BAAA,2DAAA,wEAAA,mFAAA,mFAAA,oDAAA,xXAACA;AAID,2BAAA,+DAAA,4OAAA,tUAACA;AAMD,2BAAA,sFAAA,uBAAA,xIAACA;AAID,AAAA;AAAA;;;wBAAA,xBAAauB;;AAAb,IAAAf,sCAAA,WACQgB;AADR,AAAA,IAAAf,kBAAA,EAAA,UAAA,OAAA,hBACQe,qBAAAA;IADRd,kBAAA,CAAAC,kBAAA,AAAAC,YAAAH;AAAA,AAAA,GAAA,GAA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eAAAC,eAAAC,gDAAAH,eAAAC,eAAAC,eAAAC,9OAACld,mDAAAA,gHAAAA;;AADH;AAAA,eAAA,AAAAoH,eAAAiV;eAAA;eAAA;eAAA;;;;;;;;AAAA;;;;;AAEA,4GAAA,+EAAA,nLAACrc,mDAAAA,kGAAAA","names":["shadow.object/console-friendly","shadow.util/console-friendly","shadow.object/log","shadow.util/log","shadow.object/debug","shadow.object/info","shadow.object/warn","shadow.object/error","shadow.object/obj-id","cljs.core.atom","shadow.object/next-id","cljs.core.swap_BANG_","cljs.core/inc","shadow.object/object-defs","shadow.object/behavior-fns","shadow.object/instances","shadow.object/instance-parent","shadow.object/instance-children","shadow.object/events","shadow.object/define-event","event-name","desc","args","cljs.core/assoc","shadow.object/unmunge","s","clojure.string/replace","shadow$object$IObject$_id$dyn","x__5393__auto__","m__5394__auto__","shadow.object/-id","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","shadow$object$IObject$_type$dyn","shadow.object/-type","shadow$object$IObject$_data$dyn","shadow.object/-data","shadow$object$IObject$_update$dyn","shadow.object/-update","shadow$object$IObject$_destroy_BANG_$dyn","shadow.object/-destroy!","shadow.object/IObject","this","update-fn","cause","shadow.object/get-type","var_args","G__35318","shadow.object/get-type-attr","js/Error","oref","key","type-id","cljs.core/Keyword","cljs.core/deref","cljs.core.get_in","default","shadow.object/get-dom","shadow.object/get-by-id","id","cljs.core.get","shadow.object/get-from-dom","dom","oid","shadow.dom/data","js/parseInt","shadow.object/is-object?","obj-or-dom","or__5045__auto__","cljs.core/PROTOCOL_SENTINEL","cljs.core/native-satisfies?","shadow.object/equal?","obj","cljs.core._EQ_","temp__5823__auto__","shadow.object/get-parent","parent-id","shadow.object/get-parent-of-type","parent-type","parent","shadow.object/get-children","child-ids","instances","cljs.core/vec","p1__35417#","cljs.core.map","G__35428","shadow.object/tree-seq","root","shadow.object.tree_seq","node","branch?","cljs.core/tree-seq","shadow.object/get-children-of-type","type","type-kw","p1__35453#","cljs.core.filter","p__35487","map__35488","cljs.core/--destructure-map","shadow.object/get-siblings","cljs.core.ex_info","G__35504","shadow.object/get-siblings-of-type","shadow.object.get_siblings_of_type","p1__35496#","shadow.object/get-collection-item","item-key","shadow.object/find-containing-object","temp__5821__auto__","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","shadow.object/notify!","seq35544","G__35545","cljs.core/first","cljs.core/next","G__35546","self__5754__auto__","ev","reactions-to-trigger","seq__35557","cljs.core/seq","chunk__35558","count__35559","i__35560","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","cljs.core/count","rfn","cljs.core.apply","cljs.core/cons","shadow.object/do-notify-tree","current-obj","notify-fn","seq__35587","chunk__35588","count__35589","i__35590","child","shadow.object/notify-tree!","seq35605","G__35606","G__35608","shadow.object/notify-down!","shadow.object/notify-up!","seq35632","G__35634","G__35635","current","shadow.object/update!","seq35660","G__35661","G__35663","cljs.core/fn?","cljs.core.pr_str","data","work-fn","shadow.object/return-value","return-value","shadow.object.update_BANG_","shadow.object/set-parent!","child-id","x","cljs.core.assoc","cljs.core.conj","shadow.object/dom-destroy","shadow.dom/remove","custom-remove","shadow.object.get_type_attr","G__35695","G__35696","G__35703","shadow.object/destroy!","shadow.object.destroy_BANG_","shadow.object/bind-dom-events","dom-events","cljs.core/rem","seq__35710","chunk__35711","count__35712","i__35713","vec__35736","cljs.core.nth","vec__35743","handler","ev-def","cljs.core.partition","e","el","shadow.object.notify_BANG_","shadow.dom.on","shadow.dom.ev_stop","p__35755","vec__35757","shadow.object/reaction-merge","result","event","and__5043__auto__","shadow.object/merge-reactions","behavior","cljs.core/sequential?","cljs.core/even?","cljs.core.reduce","cljs.core/reverse","shadow.object/merge-behaviors","cljs.core.update_in","cljs.core/map?","watches","cljs.core.concat","shadow.object/define","seq35780","G__35782","cljs.core/contains?","js/console.warn","e35797","odef","cljs.core/hash-map","reactions","js/Object","shadow.object/merge-defaults","defaults","cljs.core.merge","G__35834","shadow.object/make-dom","dom-key","events-key","shadow.object.make_dom","value","dom-fn","events","G__35845","shadow.dom/build","shadow.object/alive?","this__5343__auto__","k__5344__auto__","this__5345__auto__","k35853","else__5346__auto__","G__35864","__extmap","this__5363__auto__","f__5364__auto__","init__5365__auto__","ret__5366__auto__","p__35865","vec__35866","k__5367__auto__","v__5368__auto__","this__5358__auto__","writer__5359__auto__","opts__5360__auto__","pr-pair__5361__auto__","keyval__5362__auto__","cljs.core/pr-sequential-writer","cljs.core/PersistentVector","G__35852","cljs.core/RecordIter","cljs.core/-iterator","cljs.core/nil-iter","this__5341__auto__","__meta","this__5338__auto__","__hash","this__5347__auto__","this__5339__auto__","h__5154__auto__","coll__5340__auto__","cljs.core/hash-unordered-coll","this35854","other35855","this__5353__auto__","k__5354__auto__","cljs.core.dissoc","cljs.core/-with-meta","cljs.core.into","cljs.core/not-empty","this__5350__auto__","G__35954","this__5351__auto__","k__5352__auto__","pred__35960","cljs.core/keyword-identical?","expr__35961","this__5356__auto__","cljs.core/MapEntry","this__5342__auto__","this__5348__auto__","entry__5349__auto__","cljs.core/vector?","cljs.core/-nth","cljs.core/-conj","shadow.object/Watch","this__5389__auto__","cljs.core/List","writer__5390__auto__","cljs.core/-write","G__35857","extmap__5385__auto__","G__35987","cljs.core/record?","shadow.object/->Watch","shadow.object/map->Watch","this__5330__auto__","writer__5331__auto__","opt__5332__auto__","shadow.object/ObjectRef","shadow.object/->ObjectRef","result-chan","old","new","seq__36022","chunk__36023","count__36024","i__36025","map__36037","map__36041","watch","seq__36045","chunk__36047","count__36048","i__36049","cljs.core.async.put_BANG_","cljs.core.async/close!","cljs.core/dissoc","cljs.core/update-in","cljs.core/disj","cljs.core.async.impl.protocols/take!","other","writer","opts","oldval","newval","f","p1__35995#","cljs.core.remove","k","d","G__36070","shadow.object/add-reaction!","handler-fn","shadow.object.add_reaction_BANG_","list","G__36085","shadow.object/bind-change","attr","callback","shadow.object.bind_change","cljs.core.gensym","watch-key","cljs.core/add-watch","_","ov","nv","shadow.object/dom-enter","shadow.dom.append","shadow.dom.contains_QMARK_","shadow.object/create","seq36101","G__36103","G__36104","node-children","cljs.core.async.chan","shadow.dom/set-data","G__36115","seq__36118","chunk__36119","count__36120","i__36121","vec__36145","vec__36154","G__36165","shadow.object/bind-simple","shadow.object.bind_simple","cljs.core/str","node-gen","p1__36160#","node-get","G__36172","bind-key","new-node","current-node","shadow.dom/replace-node","cljs.core/reset!","shadow.object/bind","item-type","item-attrs","curval","make-child-fn","new-child","shadow.object/coll-destroy-children","children","c","diff","seq__36189","chunk__36190","count__36191","i__36192","cljs.core.subvec","G__36218","shadow.object/bind-children","p1__36210#","shadow.object.bind_children","cljs.core.map_indexed","cljs.core/vector","coll-transform","update-children","coll-dom","make-item-fn","p__36237","vec__36238","val","parent-key","cljs.core/assoc-in","seq__36257","chunk__36258","count__36259","i__36260","item","G__36270","shadow.dom/children","new-coll","count-children","count-new","x__5133__auto__","y__5134__auto__","n__5636__auto__","idx","vec__36300","cn","cc","ckey","cval","nkey","nval","new-obj","seq__36316","chunk__36317","count__36318","i__36319","shadow.object/remove-in-parent!","path","coll","shadow.util/remove-item-from-coll","shadow.object/inspect!","G__36359","G__36360","G__36361","G__36365","cljs.core/clj->js","shadow.object/dump!","seq__36383","chunk__36384","count__36385","i__36386","vec__36407","vec__36420","G__36412","G__36413","G__36414","G__36415","G__36423","G__36424","G__36425","G__36426"],"sourcesContent":["(ns shadow.object\n (:refer-clojure :exclude (tree-seq))\n (:require [shadow.dom :as dom]\n [cljs.core.async :as async]\n [clojure.string :as str]\n [clojure.data :as data]\n [cljs.core.async.impl.protocols :as async-impl]\n [shadow.util :as util]\n ))\n\n(def console-friendly util/console-friendly)\n\n(def log util/log)\n(def debug util/log)\n(def info util/log)\n(def warn util/log)\n(def error util/log)\n\n(def obj-id (atom 0))\n(defn next-id []\n (swap! obj-id inc))\n\n(def object-defs (atom {}))\n(def behavior-fns (atom {}))\n\n(def instances (atom {}))\n(def instance-parent (atom {}))\n(def instance-children (atom {}))\n\n(def events (atom {}))\n\n(defn define-event [event-name desc args]\n (swap! events assoc event-name {:id event-name\n :description desc\n :args args}))\n\n(defn unmunge [s]\n (-> s\n (str/replace #\"_DOT_\" \".\")\n (str/replace #\"_\" \"-\")\n ))\n\n(define-event :init\n \"object initialization\"\n [])\n\n(define-event :destroy\n \"object descruction\"\n [[:cause \"cause of destruction, :parent means the parent was destroyed, :direct is default\"]])\n\n(define-event :dom/init\n \"called after the dom was created but has not entered the document yet\"\n [[:dom \"the dom that was created\"]])\n\n(define-event :dom/entered\n \"should be called whenever a dom node is added to the document, since that\n is not in control of this library its up to you to call this\n use (so/notify-tree! your-obj :dom/entered) to notify the node and every child you created\"\n [])\n\n(define-event :bind-children-update\n \"need to rethink this\"\n [])\n\n(defprotocol IObject\n (-id [this])\n (-type [this])\n (-data [this])\n (-update [this update-fn] \"update and notify watches\")\n (-destroy! [this cause]))\n\n(defn get-type [this]\n (-type this))\n\n(defn get-type-attr\n ([oref key]\n (if (nil? oref)\n nil\n (let [type-id (if (keyword? oref) oref (-type oref))]\n (get-in @object-defs [type-id key]))))\n ([oref key default]\n (if (nil? oref)\n default\n (let [type-id (if (keyword? oref) oref (-type oref))]\n (get-in @object-defs [type-id key] default)))))\n\n(defn ^:export get-dom [oref]\n (::dom oref))\n\n(defn ^:export get-by-id [id]\n (get @instances id))\n\n(defn ^:export get-from-dom [dom]\n (let [oid (dom/data dom :oid)]\n (when oid\n (get-by-id (js/parseInt oid 10)))\n ))\n\n(defn is-object? [obj-or-dom]\n (or (satisfies? IObject obj-or-dom)\n (get-from-dom obj-or-dom)))\n\n(defn equal? [obj obj-or-dom]\n (assert (satisfies? IObject obj) \"can only test objects\")\n (if (satisfies? IObject obj-or-dom)\n (= (-id obj) (-id obj-or-dom))\n (= (-id obj) (when-let [oid (dom/data obj-or-dom :oid)]\n (js/parseInt oid 10)))))\n\n(defn ^:export get-parent [oref]\n (when-let [parent-id (get @instance-parent (-id oref))]\n (get @instances parent-id)\n ))\n\n(defn ^:export get-parent-of-type [oref parent-type]\n (loop [parent (:parent oref)]\n (when parent\n (if (= (-type parent) parent-type)\n parent\n (recur (:parent parent))))))\n\n;; FIXME: would be nice if these were in dom order\n;; but since children arent always direct dom children\n;; this would be kinda costly I guess\n(defn ^:export get-children [parent]\n (let [parent-id (-id parent)\n child-ids (get @instance-children parent-id [])\n instances @instances]\n (vec (map #(get instances %) child-ids))\n ))\n\n(defn ^:export tree-seq\n ([root]\n (tree-seq root (fn [node] true)))\n ([root branch?]\n (cljs.core/tree-seq branch? get-children root)))\n\n(defn get-children-of-type [oref type]\n (let [type-kw (if (keyword? type) type (-type type))]\n (filter #(= type-kw (-type %)) (get-children oref))\n ))\n\n(defn get-siblings\n \"basically (get-children (:parent this))\"\n [{:keys [parent] :as oref}]\n (when-not parent\n (throw (ex-info \"object has no parent, thus has no siblings\" {:oref oref})))\n\n (get-children parent))\n\n(defn get-siblings-of-type \n \"returns set of all siblings of a common type\"\n ([oref]\n (get-siblings-of-type oref oref))\n ([oref type]\n (let [type-kw (if (keyword? type) type (-type type))]\n (filter #(= type-kw (-type %)) (get-siblings oref))\n )))\n\n(defn get-collection-item [oref]\n (let [item-key (::coll-item-key oref)]\n (get oref item-key)\n ))\n\n(defn find-containing-object\n \"find the object that contains this dom node\"\n [dom]\n (if-let [obj (get-from-dom dom)]\n obj\n (when-let [parent (.-parentElement dom)]\n (recur parent))))\n\n(defn notify! [oref ev & args]\n \n #_ (when-not (contains? @events ev)\n (debug \"triggering undefined notifiction\" (pr-str ev) \" with \" (pr-str args)))\n\n ;; (debug \"notify!\" oref ev args)\n\n (when-let [reactions-to-trigger (get-in oref [::reactions ev])]\n ;; (debug \"notify!\" (-id oref) (-type oref) ev reactions-to-trigger args)\n (doseq [rfn reactions-to-trigger]\n (apply rfn (cons oref args)))\n ))\n\n(defn- do-notify-tree [current-obj ev notify-fn]\n (doseq [child (get-children current-obj)]\n (do-notify-tree child ev notify-fn))\n (notify-fn current-obj))\n\n(defn notify-tree! [oref ev & args]\n (let [notify-fn (fn [obj]\n (apply notify! obj ev args))]\n (do-notify-tree oref ev notify-fn)))\n\n(def notify-down! notify-tree!)\n\n(defn notify-up! [oref ev & args]\n (loop [current (get-parent oref)]\n (when current\n (apply notify! current ev args)\n (recur (get-parent current)))))\n\n(defn update! [oref update-fn & args]\n (when-not (fn? update-fn)\n (throw (str \"update! expects a fn as second arg, not \" (pr-str update-fn))))\n\n (let [id (-id oref)\n data (-data oref)\n work-fn (fn [data] (apply update-fn data args))]\n (-update oref work-fn)\n ))\n\n(defn return-value [oref return-value]\n (update! oref assoc ::return-value return-value))\n\n(defn- set-parent! [child parent]\n (let [child-id (-id child)\n parent-id (-id parent)]\n (swap! instance-parent assoc child-id parent-id)\n (swap! instance-children (fn [x]\n (let [current (get x parent-id #{})]\n (assoc x parent-id (conj current child-id))\n )))\n true))\n\n(defn dom-destroy [this cause]\n (if (= cause :parent)\n ;; no messin arround when parent is dead\n (dom/remove (::dom this))\n ;; custom removals are allowed when removing direct\n (if-let [custom-remove (get-type-attr this :dom/remove)]\n (custom-remove this (::dom this))\n (dom/remove (::dom this))\n )))\n\n(defn destroy!\n ([oref]\n (destroy! oref :direct))\n ([oref cause]\n (-destroy! oref cause)))\n\n(defn bind-dom-events [oref dom dom-events]\n (when-not (zero? (rem (count dom-events) 2))\n (throw (ex-info \"object defined invalid event\" {:object-type (-type oref) :dom/events dom-events})))\n\n (doseq [[ev handler :as ev-def] (partition 2 dom-events)]\n (when (nil? handler)\n (throw (str \"ev with nil handler \" (pr-str ev))))\n\n (let [handler (if (keyword? handler)\n (fn [this e el]\n (notify! this handler e el))\n handler)]\n (dom/on dom ev (fn dom-event-handler [e el]\n (when (= \"A\" (.-tagName el)) \n ;; FIXME: thou shall not stop events at all?\n ;; FIXME: stops all events on A, but what except click would you use anyways?\n ;; something\n ;; this just simplifies :dom/events [[:click \"a.wtf\"] some-fn] so some-fn doesnt have to\n ;; stop the event which is what you'd want 99% of the time, if you dont want to stop it\n ;; use the router and dont listen to click.\n (dom/ev-stop e))\n (handler oref e el))))))\n\n(defn- reaction-merge [result [event handler]]\n (when-not (and event handler)\n (throw (ex-info \"invalid reaction\" {:event event :handler handler})))\n\n (let [current (get result event (list))]\n (assoc result event (conj current handler))))\n\n(defn- merge-reactions [result behavior]\n (when-not (sequential? behavior)\n (throw (ex-info \"behaviors must be vectors\" {:behavior behavior})))\n (when-not (even? (count behavior))\n (throw (ex-info \"invalid behavior\" {:behavior behavior})))\n\n (reduce reaction-merge result (reverse (partition 2 behavior))))\n\n\n(defn- merge-behaviors [result behavior]\n (cond\n (sequential? behavior)\n (update-in result [::reactions] merge-reactions behavior)\n\n (map? behavior)\n (-> result\n ;; FIXME: there might be more keys to merge, need some kind of merge logic definition\n (update-in [::reactions] merge-reactions (:on behavior []))\n (update-in [:watch] (fn [watches]\n (concat watches (:watch behavior []))))\n (update-in [:dom/events] (fn [default]\n (-> default\n (concat (:dom/events behavior []))\n (vec)))))\n :else\n (throw (ex-info \"behavior not understood\" {:behavior behavior}))\n ))\n\n(defn define [id & args]\n (when-not (keyword? id)\n (throw (ex-info \"object id needs to be a keyword\" {:id id :args args})))\n (when-not (even? (count args))\n (throw (str \"invalid object definition \" (str id) \" args: \"(pr-str args))))\n (when (contains? @object-defs id)\n (js/console.warn (str \"object already defined \" id)))\n\n (try\n (let [odef (apply hash-map args)\n\n reactions (merge-reactions {} (:on odef []))\n\n ;; reactions (reduce merge-reactions reactions (reverse (:behaviors odef [])))\n\n odef (assoc odef\n ::id id\n ::reactions reactions)\n odef (reduce merge-behaviors odef (reverse (:behaviors odef [])))]\n\n (swap! object-defs assoc id odef)\n odef)\n (catch js/Object e\n (throw (ex-info \"failed to define object\" {:id id :args args})))))\n\n\n(defn- merge-defaults [data type]\n (let [defaults (get-in @object-defs [type :defaults])]\n (cond\n (nil? defaults) data\n (map? defaults) (merge defaults data)\n (fn? defaults) (merge (defaults) data)\n :else (throw (ex-info \"invalid object defaults\" {:defaults defaults :type type}))\n )))\n\n(defn make-dom\n ([oref dom-key events-key]\n (make-dom oref dom-key events-key nil))\n ([oref dom-key events-key value]\n (let [dom-fn (if (keyword? dom-key) (get-type-attr oref dom-key) dom-key)\n events (if (keyword? events-key) (get-type-attr oref events-key []) events-key)\n dom (dom/build (dom-fn oref value))]\n (bind-dom-events oref dom events)\n dom\n )))\n\n\n(defn alive? [obj]\n (contains? @instances (-id obj)))\n\n(defrecord Watch [key handler])\n\n(deftype ObjectRef [id type ^:mutable data ^:mutable watches result-chan]\n IObject\n (-id [this] id)\n (-type [this] type)\n (-data [this] data)\n (-update [this update-fn]\n (let [old data\n new (update-fn data)]\n (set! data new)\n (doseq [{:keys [key handler] :as watch} watches]\n ;; watches may destroy the current object\n ;; if that happens we should not continue\n ;; FIXME: this seems really dirty, there must be a cleaner way?\n ;; maybe queue all other modifications until this is finished?\n (when (alive? this)\n (handler key this old new)))))\n (-destroy! [this cause]\n (let [parent-id (get @instance-parent id)]\n\n ;; destroy children before destroying parent\n (doseq [child (get-children this)]\n (-destroy! child :parent))\n\n (notify! this :destroy cause)\n (dom-destroy this cause)\n \n (let [return-value (::return-value this)]\n (when-not (nil? return-value)\n (async/put! result-chan return-value))\n (async/close! result-chan))\n\n (swap! instances dissoc id)\n (swap! instance-parent dissoc id)\n (when parent-id\n (swap! instance-children update-in [parent-id] disj id))))\n \n async-impl/ReadPort\n (take! [this ^not-native handler]\n (async-impl/take! result-chan handler))\n\n IEquiv\n (-equiv [this other]\n (and (instance? ObjectRef other)\n (= (-id this) (-id other))))\n\n IDeref\n (-deref [this] data)\n\n IPrintWithWriter\n (-pr-writer [this writer opts]\n (-write writer (str \"#\")))\n\n IWatchable\n (-notify-watches [this oldval newval]\n (throw (js/Error. \"who be calling?\")))\n (-add-watch [this key f]\n (set! watches (conj watches (Watch. key f))))\n (-remove-watch [this key]\n (set! watches (remove #(= key (:key %)) watches)))\n\n ILookup\n (-lookup [this k]\n (if (= :parent k)\n (get-parent this)\n (get data k)))\n (-lookup [this k d]\n (if (= :parent k)\n (get-parent this)\n (get data k d)))\n\n Object\n (toString [this]\n (pr-str this))\n\n dom/IElement\n (-to-dom [this] (::dom data))\n \n dom/SVGElement\n (-to-svg [this] (::dom data)))\n\n(defn add-reaction!\n ([oref ev handler-fn]\n (add-reaction! oref [ev handler-fn]))\n ([oref list]\n (update! oref update-in [::reactions] merge-reactions list)\n ))\n\n(defn bind-change\n ([oref attr callback]\n (bind-change oref attr callback (gensym \"bind-change\")))\n ([oref attr callback watch-key]\n (when-not (satisfies? IObject oref)\n (throw (ex-info \"binding currently only supports shadow objects, other atoms might leak, may add later\" {:oref oref :attr attr})))\n\n (let [attr (if (sequential? attr) attr [attr])]\n (add-watch oref watch-key\n (fn bind-change-watch [_ _ old new]\n (let [ov (get-in old attr)\n nv (get-in new attr)]\n (when-not (= ov nv)\n (callback ov nv))))))\n ))\n\n(defn dom-enter [parent child]\n (dom/append parent child)\n (when (dom/contains? parent)\n ;; only notify when the parent is already in the dom\n ;; not sure if its useful to keep track of this inside the object itself?\n (notify-tree! child :dom/entered)))\n\n(defn create [type args & node-children]\n (when-not (contains? @object-defs type)\n (throw (ex-info (str \"cannot create unknown child type: \" type) {:type type :args args})))\n (when-not (map? args)\n (throw (ex-info \"so/create second arg must be a map\" {:args args})))\n\n (let [oid (next-id)\n parent (:parent args)\n \n result-chan (async/chan 1)\n\n odef (get @object-defs type)\n\n obj (-> args\n (assoc ::object-id oid\n ::reactions (get odef ::reactions {}))\n (merge-defaults type)\n (dissoc :parent :dom))\n\n oref (ObjectRef. oid type obj [] result-chan)]\n\n ;; dont use oref before this\n (swap! instances assoc oid oref)\n\n (when parent\n (set-parent! oref parent))\n\n (notify! oref :init)\n\n (let [dom-events (:dom/events odef [])]\n (if-let [dom (:dom args)]\n ;; attach+events\n (do\n (dom/set-data dom :oid oid)\n (bind-dom-events oref dom dom-events)\n (update! oref assoc ::dom dom)\n (notify! oref :dom/init dom))\n ;; create+events\n (when-let [dom-fn (:dom odef)]\n (let [dom (dom/build (dom-fn oref node-children))]\n\n (dom/set-data dom :oid oid)\n\n (update! oref assoc ::dom dom)\n (bind-dom-events oref dom dom-events)\n (notify! oref :dom/init dom)\n ))))\n\n (when-let [watches (:watch odef)]\n (doseq [[attr handler] (partition 2 watches)]\n (bind-change oref attr (fn [old new]\n (handler oref old new)))))\n\n oref))\n\n(defn bind-simple\n \"[oref attr node-gen] produces a node via (node-gen new-value)\n watches obj for changes and replaces the generated node on change (node-gen defaults to str)\n\n only use if the node has no attached behavior like clicks, use bind with an extra object for those\"\n ([oref attr] (bind-simple oref attr str))\n ([oref attr node-gen]\n (let [attr (if (sequential? attr) attr [attr])\n node-get #(dom/build (node-gen %))\n node (atom (node-get (get-in oref attr)))\n bind-key (gensym \"bind\")]\n\n (bind-change oref attr\n (fn [old new]\n (let [new-node (node-get new)\n current-node @node]\n (dom/replace-node current-node new-node)\n (reset! node new-node))))\n\n @node)\n ))\n\n(defn bind\n \"bind the given attribute a child item\n the item will be recreated whenever the value changes (old one will be destroyed)\"\n ([oref attr item-type item-key item-attrs]\n (let [attr (if (sequential? attr) attr [attr])\n curval (get-in oref attr)\n\n make-child-fn (fn [value]\n (create item-type (merge\n item-attrs\n {:parent oref\n item-key value})))\n\n child (atom (make-child-fn curval))]\n\n (bind-change oref attr\n (fn [old new]\n (let [new-child (make-child-fn new)\n current-node @child]\n\n (dom/replace-node current-node new-child)\n (destroy! @child)\n (reset! child new-child)\n (notify-down! new-child :dom/entered)\n )))\n\n @child)\n ))\n\n(defn coll-destroy-children [children c diff]\n ;; whats more efficient in the DOM, drop head or tail?\n ;; diff is neg!\n (doseq [obj (subvec children (+ c diff) c)]\n (let [obj (get-from-dom obj)]\n (destroy! obj)))\n\n (subvec children 0 (+ c diff)))\n\n(defn bind-children\n ([node parent attr item-type item-key]\n (bind-children node parent attr item-type item-key #(map-indexed vector %)))\n ([node parent attr item-type item-key coll-transform]\n (let [attr (if (sequential? attr) attr [attr])\n\n update-children (atom true)\n\n coll-dom (dom/build node)\n\n make-item-fn (fn [[key val]]\n (let [obj (create item-type {:parent parent\n ::coll-path attr\n ::coll-key key\n ::coll-item-key item-key\n item-key val})]\n\n (bind-change obj item-key\n (fn [old new]\n (let [parent-key (conj attr (::coll-key obj))]\n (log \"direct child update\" parent obj key parent-key new)\n (reset! update-children false)\n (update! parent assoc-in parent-key new)\n (reset! update-children true)\n )))\n obj\n ))\n\n ]\n\n (doseq [item (coll-transform (get-in parent attr))]\n (dom-enter coll-dom (make-item-fn item)))\n\n (bind-change parent attr\n (fn bind-children-watch [old new]\n ;; when a child updated itself, we dont need to update it again\n (when @update-children\n (let [children (into [] (dom/children coll-dom))\n new-coll (vec (coll-transform new))\n count-children (count children)\n count-new (count new)\n diff (- count-new count-children)\n\n ;; exit lost children\n children (if (neg? diff)\n (coll-destroy-children children count-children diff)\n children)\n count-children (min count-new count-children)]\n\n ;; update current\n (dotimes [idx count-children]\n (let [cn (nth children idx)\n cc (get-from-dom cn)\n ckey (::coll-key cc)\n cval (get cc item-key)\n [nkey nval] (nth new-coll idx)]\n\n ;; only update when something changes\n (when-not (and (= ckey nkey) (= cval nval))\n ;; lets try this, updating gets way too messy when dealing with complex objects\n ;; just create a new object and destroy the old, also solves cyclic updates and should be faster\n (let [new-obj (make-item-fn [nkey nval])]\n (dom/replace-node cn new-obj)\n (destroy! cc)\n (notify-tree! new-obj :dom/entered))\n ;;(update! cc assoc item-key nval ::coll-key nkey)\n ;;(notify! cc :bind-child-update ckey nkey cval nval)\n )))\n\n ;; enter new\n (when (pos? diff)\n (doseq [item (subvec new-coll count-children count-new)]\n (dom-enter coll-dom (make-item-fn item))))\n\n (notify! parent :bind-children-update)\n ))))\n\n coll-dom)))\n\n(defn remove-in-parent! [oref]\n (let [parent (get-parent oref)\n key (::coll-key oref)\n value (get oref (::coll-item-key oref))\n path (::coll-path oref)]\n\n (when-not (and key path)\n (throw (ex-info \"remove-in-parent! should only be called from items created via so/bind-children\" {:oref oref})))\n\n (let [coll (get-in parent path)\n new-coll (util/remove-item-from-coll coll key value)]\n (notify! parent :bind/update path new-coll))\n ))\n\n(defn inspect! [oref]\n (info \"inspect!\" (-id oref) (str (-type oref)) (clj->js @(-data oref))))\n\n(defn ^:export dump! []\n (info \"--------------- LIVE OBJECTS ------------\")\n (doseq [[id oref] (seq @instances)]\n (info \"dump\" id (pr-str (-type oref)) @(-data oref)))\n (info \"--------------- //LIVE OBJECTS ------------\")\n )\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.remote.runtime.api.js b/out/cljs-runtime/shadow.remote.runtime.api.js new file mode 100644 index 0000000..d8c1e1e --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.api.js @@ -0,0 +1,192 @@ +goog.provide('shadow.remote.runtime.api'); + +/** + * @interface + */ +shadow.remote.runtime.api.IRuntime = function(){}; + +var shadow$remote$runtime$api$IRuntime$relay_msg$dyn_30780 = (function (runtime,msg){ +var x__5393__auto__ = (((runtime == null))?null:runtime); +var m__5394__auto__ = (shadow.remote.runtime.api.relay_msg[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(runtime,msg) : m__5394__auto__.call(null, runtime,msg)); +} else { +var m__5392__auto__ = (shadow.remote.runtime.api.relay_msg["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(runtime,msg) : m__5392__auto__.call(null, runtime,msg)); +} else { +throw cljs.core.missing_protocol("IRuntime.relay-msg",runtime); +} +} +}); +shadow.remote.runtime.api.relay_msg = (function shadow$remote$runtime$api$relay_msg(runtime,msg){ +if((((!((runtime == null)))) && ((!((runtime.shadow$remote$runtime$api$IRuntime$relay_msg$arity$2 == null)))))){ +return runtime.shadow$remote$runtime$api$IRuntime$relay_msg$arity$2(runtime,msg); +} else { +return shadow$remote$runtime$api$IRuntime$relay_msg$dyn_30780(runtime,msg); +} +}); + +var shadow$remote$runtime$api$IRuntime$add_extension$dyn_30785 = (function (runtime,key,spec){ +var x__5393__auto__ = (((runtime == null))?null:runtime); +var m__5394__auto__ = (shadow.remote.runtime.api.add_extension[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(runtime,key,spec) : m__5394__auto__.call(null, runtime,key,spec)); +} else { +var m__5392__auto__ = (shadow.remote.runtime.api.add_extension["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(runtime,key,spec) : m__5392__auto__.call(null, runtime,key,spec)); +} else { +throw cljs.core.missing_protocol("IRuntime.add-extension",runtime); +} +} +}); +shadow.remote.runtime.api.add_extension = (function shadow$remote$runtime$api$add_extension(runtime,key,spec){ +if((((!((runtime == null)))) && ((!((runtime.shadow$remote$runtime$api$IRuntime$add_extension$arity$3 == null)))))){ +return runtime.shadow$remote$runtime$api$IRuntime$add_extension$arity$3(runtime,key,spec); +} else { +return shadow$remote$runtime$api$IRuntime$add_extension$dyn_30785(runtime,key,spec); +} +}); + +var shadow$remote$runtime$api$IRuntime$del_extension$dyn_30787 = (function (runtime,key){ +var x__5393__auto__ = (((runtime == null))?null:runtime); +var m__5394__auto__ = (shadow.remote.runtime.api.del_extension[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(runtime,key) : m__5394__auto__.call(null, runtime,key)); +} else { +var m__5392__auto__ = (shadow.remote.runtime.api.del_extension["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(runtime,key) : m__5392__auto__.call(null, runtime,key)); +} else { +throw cljs.core.missing_protocol("IRuntime.del-extension",runtime); +} +} +}); +shadow.remote.runtime.api.del_extension = (function shadow$remote$runtime$api$del_extension(runtime,key){ +if((((!((runtime == null)))) && ((!((runtime.shadow$remote$runtime$api$IRuntime$del_extension$arity$2 == null)))))){ +return runtime.shadow$remote$runtime$api$IRuntime$del_extension$arity$2(runtime,key); +} else { +return shadow$remote$runtime$api$IRuntime$del_extension$dyn_30787(runtime,key); +} +}); + + +/** + * @interface + */ +shadow.remote.runtime.api.Inspectable = function(){}; + +var shadow$remote$runtime$api$Inspectable$describe$dyn_30846 = (function (thing,opts){ +var x__5393__auto__ = (((thing == null))?null:thing); +var m__5394__auto__ = (shadow.remote.runtime.api.describe[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(thing,opts) : m__5394__auto__.call(null, thing,opts)); +} else { +var m__5392__auto__ = (shadow.remote.runtime.api.describe["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(thing,opts) : m__5392__auto__.call(null, thing,opts)); +} else { +throw cljs.core.missing_protocol("Inspectable.describe",thing); +} +} +}); +/** + * returns a map descriptor that tells system how to handle things further + */ +shadow.remote.runtime.api.describe = (function shadow$remote$runtime$api$describe(thing,opts){ +var temp__5821__auto__ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(cljs.core.meta(thing),cljs.core.with_meta(new cljs.core.Symbol("shadow.remote.runtime.api","describe","shadow.remote.runtime.api/describe",1388020131,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword("cljs.analyzer","no-resolve","cljs.analyzer/no-resolve",-1872351017),true], null))); +if(temp__5821__auto__){ +var meta_impl__5395__auto__ = temp__5821__auto__; +return (meta_impl__5395__auto__.cljs$core$IFn$_invoke$arity$2 ? meta_impl__5395__auto__.cljs$core$IFn$_invoke$arity$2(thing,opts) : meta_impl__5395__auto__.call(null, thing,opts)); +} else { +if((((!((thing == null)))) && ((!((thing.shadow$remote$runtime$api$Inspectable$describe$arity$2 == null)))))){ +return thing.shadow$remote$runtime$api$Inspectable$describe$arity$2(thing,opts); +} else { +return shadow$remote$runtime$api$Inspectable$describe$dyn_30846(thing,opts); +} +} +}); + + +/** + * @interface + */ +shadow.remote.runtime.api.IEvalCLJS = function(){}; + +var shadow$remote$runtime$api$IEvalCLJS$_cljs_eval$dyn_30856 = (function (runtime,input,callback){ +var x__5393__auto__ = (((runtime == null))?null:runtime); +var m__5394__auto__ = (shadow.remote.runtime.api._cljs_eval[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$3(runtime,input,callback) : m__5394__auto__.call(null, runtime,input,callback)); +} else { +var m__5392__auto__ = (shadow.remote.runtime.api._cljs_eval["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$3 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$3(runtime,input,callback) : m__5392__auto__.call(null, runtime,input,callback)); +} else { +throw cljs.core.missing_protocol("IEvalCLJS.-cljs-eval",runtime); +} +} +}); +shadow.remote.runtime.api._cljs_eval = (function shadow$remote$runtime$api$_cljs_eval(runtime,input,callback){ +if((((!((runtime == null)))) && ((!((runtime.shadow$remote$runtime$api$IEvalCLJS$_cljs_eval$arity$3 == null)))))){ +return runtime.shadow$remote$runtime$api$IEvalCLJS$_cljs_eval$arity$3(runtime,input,callback); +} else { +return shadow$remote$runtime$api$IEvalCLJS$_cljs_eval$dyn_30856(runtime,input,callback); +} +}); + + + +/** + * @interface + */ +shadow.remote.runtime.api.IEvalJS = function(){}; + +var shadow$remote$runtime$api$IEvalJS$_js_eval$dyn_30858 = (function (runtime,code){ +var x__5393__auto__ = (((runtime == null))?null:runtime); +var m__5394__auto__ = (shadow.remote.runtime.api._js_eval[goog.typeOf(x__5393__auto__)]); +if((!((m__5394__auto__ == null)))){ +return (m__5394__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5394__auto__.cljs$core$IFn$_invoke$arity$2(runtime,code) : m__5394__auto__.call(null, runtime,code)); +} else { +var m__5392__auto__ = (shadow.remote.runtime.api._js_eval["_"]); +if((!((m__5392__auto__ == null)))){ +return (m__5392__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5392__auto__.cljs$core$IFn$_invoke$arity$2(runtime,code) : m__5392__auto__.call(null, runtime,code)); +} else { +throw cljs.core.missing_protocol("IEvalJS.-js-eval",runtime); +} +} +}); +shadow.remote.runtime.api._js_eval = (function shadow$remote$runtime$api$_js_eval(runtime,code){ +if((((!((runtime == null)))) && ((!((runtime.shadow$remote$runtime$api$IEvalJS$_js_eval$arity$2 == null)))))){ +return runtime.shadow$remote$runtime$api$IEvalJS$_js_eval$arity$2(runtime,code); +} else { +return shadow$remote$runtime$api$IEvalJS$_js_eval$dyn_30858(runtime,code); +} +}); + + +shadow.remote.runtime.api.cljs_eval = (function shadow$remote$runtime$api$cljs_eval(runtime,p__30773,callback){ +var map__30774 = p__30773; +var map__30774__$1 = cljs.core.__destructure_map(map__30774); +var input = map__30774__$1; +var code = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30774__$1,new cljs.core.Keyword(null,"code","code",1586293142)); +var ns = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30774__$1,new cljs.core.Keyword(null,"ns","ns",441598760)); +if(((typeof code === 'string') && (cljs.core.simple_symbol_QMARK_(ns)))){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("invalid cljs-eval input",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"input","input",556931961),input], null)); +} + +return shadow.remote.runtime.api._cljs_eval(runtime,input,callback); +}); + +shadow.remote.runtime.api.js_eval = (function shadow$remote$runtime$api$js_eval(runtime,code){ +if(typeof code === 'string'){ +} else { +throw (new Error("Assert failed: (string? code)")); +} + +return shadow.remote.runtime.api._js_eval(runtime,code); +}); + +//# sourceMappingURL=shadow.remote.runtime.api.js.map diff --git a/out/cljs-runtime/shadow.remote.runtime.api.js.map b/out/cljs-runtime/shadow.remote.runtime.api.js.map new file mode 100644 index 0000000..73aaf0f --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.api.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/remote/runtime/api.cljc"],"mappings":";AAEA,AAAA;AAAA;;;qCAAA,rCAAaW;;AAAb,IAAAX,yDAAA,WACcY,QAAQC;AADtB,AAAA,IAAAZ,kBAAA,EAAA,YAAA,OAAA,lBACcW,uBAAAA;IADdV,kBAAA,CAAAC,oCAAA,AAAAC,YAAAH;AAAA,AAAA,GAAA,GAAA,CAAAC,mBAAA;AAAA,QAAAA,gDAAAA,6DAAAA,fACcU,0CAAAA,lCAAQC,0CAAAA;;AADtB,IAAAR,kBAAA,CAAAF,oCAAA;AAAA,AAAA,GAAA,GAAA,CAAAE,mBAAA;AAAA,QAAAA,gDAAAA,6DAAAA,fACcO,0CAAAA,lCAAQC,0CAAAA;;AADtB,MAAA,AAAAP,2BAAA,qBACcM;;;;AADd,AAAA,sCAAA,tCACGT,oFAAWS,QAAQC;AADtB,AAAA,GAAA,EAAA,GAAA,YAAA,aAAA,GAAA,CAAA,gEAAA,5FACcD,4BAAAA;AADd,OACcA,6DAAAA,QAAQC;;AADtB,OAAAb,uDACcY,QAAQC;;;;AADtB,IAAAN,6DAAA,WAEkBK,QAAQE,IAAIC;AAF9B,AAAA,IAAAd,kBAAA,EAAA,YAAA,OAAA,lBAEkBW,uBAAAA;IAFlBV,kBAAA,CAAAM,wCAAA,AAAAJ,YAAAH;AAAA,AAAA,GAAA,GAAA,CAAAC,mBAAA;A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;AAE5B,oCAAA,pCAAMa,gFACM9B,QAAQqB;AADpB,AAAA,GAES,OAASA;AAFlB;AAAA,AAAA,MAAA,KAAAQ,MAAA;;;AAGE,OAACV,mCAASnB,QAAQqB;;AAE3B","names":["shadow$remote$runtime$api$IRuntime$relay_msg$dyn","x__5393__auto__","m__5394__auto__","shadow.remote.runtime.api/relay-msg","goog/typeOf","m__5392__auto__","cljs.core/missing-protocol","shadow$remote$runtime$api$IRuntime$add_extension$dyn","shadow.remote.runtime.api/add-extension","shadow$remote$runtime$api$IRuntime$del_extension$dyn","shadow.remote.runtime.api/del-extension","shadow.remote.runtime.api/IRuntime","runtime","msg","key","spec","shadow$remote$runtime$api$Inspectable$describe$dyn","shadow.remote.runtime.api/describe","temp__5821__auto__","cljs.core.get","cljs.core/meta","meta-impl__5395__auto__","shadow.remote.runtime.api/Inspectable","thing","opts","shadow$remote$runtime$api$IEvalCLJS$_cljs_eval$dyn","shadow.remote.runtime.api/-cljs-eval","shadow.remote.runtime.api/IEvalCLJS","input","callback","shadow$remote$runtime$api$IEvalJS$_js_eval$dyn","shadow.remote.runtime.api/-js-eval","shadow.remote.runtime.api/IEvalJS","code","p__30773","map__30774","cljs.core/--destructure-map","shadow.remote.runtime.api/cljs-eval","ns","cljs.core/simple-symbol?","cljs.core.ex_info","js/Error","shadow.remote.runtime.api/js-eval"],"sourcesContent":["(ns shadow.remote.runtime.api)\n\n(defprotocol IRuntime\n (relay-msg [runtime msg])\n (add-extension [runtime key spec])\n (del-extension [runtime key]))\n\n(defprotocol Inspectable\n :extend-via-metadata true\n (describe [thing opts] \"returns a map descriptor that tells system how to handle things further\"))\n\n#?(:cljs\n (do (defprotocol IEvalCLJS\n (-cljs-eval [runtime input callback]))\n\n (defprotocol IEvalJS\n (-js-eval [runtime code]))\n\n (defn cljs-eval\n [^IEvalCLJS runtime {:keys [code ns] :as input} callback]\n (when-not (and (string? code)\n (simple-symbol? ns))\n (throw (ex-info \"invalid cljs-eval input\" {:input input})))\n (-cljs-eval runtime input callback))\n\n (defn js-eval\n [^IEvalJS runtime code]\n {:pre [(string? code)]}\n (-js-eval runtime code))))\n\n(comment\n ;; nav feels limited by being in metadata\n ;; and coupled to the result of datafy\n ;; also has no notion of async built-in which could be a problem for CLJS\n\n ;; will still be used as the default descriptor impl\n\n ;; I would like to transmit metadata to the UI but by nav/datafy potentially\n ;; being in metadata I have to filter it first, which seems like a bad default\n\n ;; returns one-line text summary of something. default to edn preview, could be custom\n {::preview-self (fn [opts])\n ;; returns map description. similar to :summary view right now\n ::summary (fn [opts]) => {:entries 123 :obj-type \"cljs.core/PersistentArrayMap\"}\n ::preview-entry (fn [idx opts])\n ;; similar to nav, but navs by idx\n ::nav (fn [idx opts callback])})\n\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js b/out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js new file mode 100644 index 0000000..087fea4 --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js @@ -0,0 +1,44 @@ +goog.provide('shadow.remote.runtime.cljs.js_builtins'); +goog.scope(function(){ + shadow.remote.runtime.cljs.js_builtins.goog$module$goog$object = goog.module.get('goog.object'); +}); +(clojure.core.protocols.Datafiable["object"] = true); + +(clojure.core.protocols.datafy["object"] = (function (o){ +if((!((o.__proto__ === Object.prototype)))){ +return o; +} else { +return cljs.core.with_meta(cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (m,key){ +return cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(m,key,shadow.remote.runtime.cljs.js_builtins.goog$module$goog$object.get(o,key)); +}),cljs.core.transient$(cljs.core.PersistentArrayMap.EMPTY),shadow.remote.runtime.cljs.js_builtins.goog$module$goog$object.getKeys(o))),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Symbol("clojure.core.protocols","nav","clojure.core.protocols/nav",298936762,null),(function (coll,k,v){ +return shadow.remote.runtime.cljs.js_builtins.goog$module$goog$object.get(o,k); +})], null)); +} +})); + +(clojure.core.protocols.Datafiable["array"] = true); + +(clojure.core.protocols.datafy["array"] = (function (o){ +return cljs.core.vec(o); +})); + +(Error.prototype.clojure$core$protocols$Datafiable$ = cljs.core.PROTOCOL_SENTINEL); + +(Error.prototype.clojure$core$protocols$Datafiable$datafy$arity$1 = (function (e){ +var e__$1 = this; +var data = cljs.core.ex_data(e__$1); +var file = e__$1.fileName; +var line = e__$1.lineNumber; +var column = e__$1.columnNumber; +var G__31056 = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"message","message",-406056002),e__$1.message,new cljs.core.Keyword(null,"name","name",1843675177),e__$1.name,new cljs.core.Keyword(null,"stack","stack",-793405930),e__$1.stack], null); +var G__31056__$1 = (((!((data == null))))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__31056,new cljs.core.Keyword(null,"data","data",-232669377),data):G__31056); +var G__31056__$2 = (cljs.core.truth_(file)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__31056__$1,new cljs.core.Keyword(null,"file","file",-1269645878),file):G__31056__$1); +var G__31056__$3 = (cljs.core.truth_(line)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__31056__$2,new cljs.core.Keyword(null,"line","line",212345235),line):G__31056__$2); +if(cljs.core.truth_(column)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__31056__$3,new cljs.core.Keyword(null,"column","column",2078222095),column); +} else { +return G__31056__$3; +} +})); + +//# sourceMappingURL=shadow.remote.runtime.cljs.js_builtins.js.map diff --git a/out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js.map b/out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js.map new file mode 100644 index 0000000..8ff4847 --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.cljs.js_builtins.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/remote/runtime/cljs/js_builtins.cljs"],"mappings":";;;;AAKA,AAAA,AAAA,CAAAA,kCAAA,YAAA;;AAAA,CAAAC,8BAAA,YAOE,WAASE;AAAT,AACE,GAAA,GAAQ,CAAY,AAAaA,gBAAGC;AAClCD;;AACA,OAACE,+CAEM,AAACE,+CACC,WAAKC,EAAEC,vFAGT,AAACI;AAHC,AACE,OAACH,oDAAOF,EAAEC,IAAI,AAACE,mEAASR,EAAEM;wIAJrC,2CAAA,AAAA,vHACO,AAACH,uEAAaH,hIAIZ,qBAAA,rBAACS,iRAGA,WAAKE,KAAKC,EAAEC;AAAZ,AACE,OAACL,mEAASR,EAAEY;;;;;AAnB9B,AAAA,CAAAf,kCAAA,WAAA;;AAAA,CAAAC,8BAAA,WAsBE,WAASE;AAAT,AACE,OAACc,cAAId;;;AAvBT,AAAA,CAAA,AAAA,qDAAAD,rDAyBEgB;;AAzBF,CAAA,AAAA,AAyBEA,mEACA,WAASC;AAAT,AAAA,YAAA,RAASA;AAAT,AACE,IAAMC,OAAK,AAACC,kBAAQF;IACdG,OAAK,AAAYH;IACjBI,OAAK,AAAcJ;IACnBK,SAAO,AAAgBL;AAH7B,qHAIgB,AAAWA,mEACd,AAAQA,kEACP,AAASA,1PACjB,IAAAM,WAAA,2CAAA,yEAAA,gEAAA;IAAAA,eAAA,yIAAAA,vIACE,GAAA,SAAA,RAAOL,iBACP,8CAAAK,SAAA,vDAACC,4GAAYN;IAFfK,eAAA,+IAAAA,7HAIEH,MACA,8CAAAG,aAAA,3DAACC,iHAAYJ;IALfG,eAAA,6IAAAA,3HAOEF,MACA,8CAAAE,aAAA,3DAACC,+GAAYH;AARf,AAAA,oBAUEC;AACA,qDAAAC,aAAA,3DAACC,oHAAcF;;AAXjBC","names":["clojure.core.protocols/Datafiable","clojure.core.protocols/datafy","cljs.core/PROTOCOL_SENTINEL","o","js/Object.prototype","cljs.core/with-meta","shadow.remote.runtime.cljs.js_builtins.goog$module$goog$object.getKeys","cljs.core.reduce","m","key","cljs.core.assoc_BANG_","shadow.remote.runtime.cljs.js_builtins.goog$module$goog$object.get","cljs.core/transient","cljs.core/persistent!","coll","k","v","cljs.core/vec","js/Error","e","data","cljs.core/ex-data","file","line","column","G__31056","cljs.core.assoc"],"sourcesContent":["(ns shadow.remote.runtime.cljs.js-builtins\n (:require\n [goog.object :as gobj]\n [clojure.core.protocols :as p]))\n\n(extend-protocol p/Datafiable\n ;; FIXME: this is kind of a bad idea\n ;; can't do this for all objects, since none of the CLJS types implement this\n ;; protocol either. the protocol dispatch will end up using object\n ;; FIXME: this could detect CLJS types to some extent\n ;; or should it just implement the protocols for the types?\n object\n (datafy [o]\n (if-not (identical? (.-__proto__ o) js/Object.prototype)\n o\n (with-meta\n (->> (gobj/getKeys o)\n (reduce\n (fn [m key]\n (assoc! m key (gobj/get o key)))\n (transient {}))\n (persistent!))\n\n {`p/nav (fn [coll k v]\n (gobj/get o k))})))\n\n array\n (datafy [o]\n (vec o))\n\n js/Error\n (datafy [e]\n (let [data (ex-data e)\n file (.-fileName e)\n line (.-lineNumber e)\n column (.-columnNumber e)]\n (-> {:message (.-message e)\n :name (.-name e)\n :stack (.-stack e)}\n (cond->\n (some? data)\n (assoc :data data)\n\n file\n (assoc :file file)\n\n line\n (assoc :line line)\n\n column\n (assoc :column column)\n )))))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.remote.runtime.eval_support.js b/out/cljs-runtime/shadow.remote.runtime.eval_support.js new file mode 100644 index 0000000..25ad1a9 --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.eval_support.js @@ -0,0 +1,109 @@ +goog.provide('shadow.remote.runtime.eval_support'); +shadow.remote.runtime.eval_support.obj_support_inst = null; +shadow.remote.runtime.eval_support.get_ref = (function shadow$remote$runtime$eval_support$get_ref(oid){ +if(cljs.core.truth_(shadow.remote.runtime.eval_support.obj_support_inst)){ +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("obj-support not bound, can only call this from eval",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"oid","oid",-768692334),oid], null)); +} + +return shadow.remote.runtime.obj_support.get_ref(shadow.remote.runtime.eval_support.obj_support_inst,oid); +}); +shadow.remote.runtime.eval_support.cljs_eval = (function shadow$remote$runtime$eval_support$cljs_eval(p__36605,p__36614){ +var map__36630 = p__36605; +var map__36630__$1 = cljs.core.__destructure_map(map__36630); +var svc = map__36630__$1; +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36630__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +var obj_support = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36630__$1,new cljs.core.Keyword(null,"obj-support","obj-support",1522559229)); +var map__36633 = p__36614; +var map__36633__$1 = cljs.core.__destructure_map(map__36633); +var msg = map__36633__$1; +var input = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36633__$1,new cljs.core.Keyword(null,"input","input",556931961)); +(shadow.remote.runtime.eval_support.obj_support_inst = obj_support); + +return shadow.remote.runtime.api.cljs_eval(runtime,input,(function (p__36665){ +var map__36667 = p__36665; +var map__36667__$1 = cljs.core.__destructure_map(map__36667); +var info = map__36667__$1; +var result = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36667__$1,new cljs.core.Keyword(null,"result","result",1415092211)); +(shadow.remote.runtime.eval_support.obj_support_inst = null); + +var G__36668 = result; +var G__36668__$1 = (((G__36668 instanceof cljs.core.Keyword))?G__36668.fqn:null); +switch (G__36668__$1) { +case "compile-error": +var map__36675 = info; +var map__36675__$1 = cljs.core.__destructure_map(map__36675); +var ex_client_id = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36675__$1,new cljs.core.Keyword(null,"ex-client-id","ex-client-id",-446123984)); +var ex_oid = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36675__$1,new cljs.core.Keyword(null,"ex-oid","ex-oid",-650256737)); +var report = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36675__$1,new cljs.core.Keyword(null,"report","report",1394055010)); +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"eval-compile-error","eval-compile-error",-1765075397),new cljs.core.Keyword(null,"ex-client-id","ex-client-id",-446123984),ex_client_id,new cljs.core.Keyword(null,"ex-oid","ex-oid",-650256737),ex_oid,new cljs.core.Keyword(null,"report","report",1394055010),report], null)); + +break; +case "runtime-error": +var map__36706 = info; +var map__36706__$1 = cljs.core.__destructure_map(map__36706); +var ex = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36706__$1,new cljs.core.Keyword(null,"ex","ex",-1413771341)); +var ex_oid = shadow.remote.runtime.obj_support.register(obj_support,ex,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"msg","msg",-1386103444),input], null)); +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"eval-runtime-error","eval-runtime-error",275935402),new cljs.core.Keyword(null,"ex-oid","ex-oid",-650256737),ex_oid], null)); + +break; +case "warnings": +var map__36755 = info; +var map__36755__$1 = cljs.core.__destructure_map(map__36755); +var warnings = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36755__$1,new cljs.core.Keyword(null,"warnings","warnings",-735437651)); +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"eval-compile-warnings","eval-compile-warnings",1994859386),new cljs.core.Keyword(null,"warnings","warnings",-735437651),warnings], null)); + +break; +case "ok": +var map__36757 = info; +var map__36757__$1 = cljs.core.__destructure_map(map__36757); +var results = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36757__$1,new cljs.core.Keyword(null,"results","results",-1134170113)); +var warnings = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36757__$1,new cljs.core.Keyword(null,"warnings","warnings",-735437651)); +var time_start = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36757__$1,new cljs.core.Keyword(null,"time-start","time-start",-590811745)); +var time_finish = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36757__$1,new cljs.core.Keyword(null,"time-finish","time-finish",-1456032653)); +var val = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((1),cljs.core.count(results)))?cljs.core.first(results):results); +var ref_oid = shadow.remote.runtime.obj_support.register(obj_support,val,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"msg","msg",-1386103444),input], null)); +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"eval-result-ref","eval-result-ref",263827420),new cljs.core.Keyword(null,"ref-oid","ref-oid",-526648644),ref_oid,new cljs.core.Keyword(null,"eval-ms","eval-ms",788821074),(time_finish - time_start),new cljs.core.Keyword(null,"eval-ns","eval-ns",-915623795),new cljs.core.Keyword(null,"ns","ns",441598760).cljs$core$IFn$_invoke$arity$1(info),new cljs.core.Keyword(null,"warnings","warnings",-735437651),warnings], null)); + +break; +default: +return console.error("Unhandled cljs-eval result",info); + +} +})); +}); +shadow.remote.runtime.eval_support.js_eval = (function shadow$remote$runtime$eval_support$js_eval(p__36853,p__36854){ +var map__36869 = p__36853; +var map__36869__$1 = cljs.core.__destructure_map(map__36869); +var svc = map__36869__$1; +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36869__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +var obj_support = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36869__$1,new cljs.core.Keyword(null,"obj-support","obj-support",1522559229)); +var map__36870 = p__36854; +var map__36870__$1 = cljs.core.__destructure_map(map__36870); +var msg = map__36870__$1; +var code = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36870__$1,new cljs.core.Keyword(null,"code","code",1586293142)); +try{var res = shadow.remote.runtime.api.js_eval(runtime,code); +var ref_oid = shadow.remote.runtime.obj_support.register(obj_support,res,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"js-code","js-code",1816578331),code], null)); +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"eval-result-ref","eval-result-ref",263827420),new cljs.core.Keyword(null,"ref-oid","ref-oid",-526648644),ref_oid], null)); +}catch (e36877){var e = e36877; +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"eval-error","eval-error",466139568),new cljs.core.Keyword(null,"e","e",1381269198),e.message], null)); +}}); +shadow.remote.runtime.eval_support.start = (function shadow$remote$runtime$eval_support$start(runtime,obj_support){ +var svc = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"runtime","runtime",-1331573996),runtime,new cljs.core.Keyword(null,"obj-support","obj-support",1522559229),obj_support], null); +shadow.remote.runtime.shared.add_extension(runtime,new cljs.core.Keyword("shadow.remote.runtime.eval-support","ext","shadow.remote.runtime.eval-support/ext",1781604625),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"ops","ops",1237330063),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"js-eval","js-eval",-137738892),(function (p1__36896_SHARP_){ +return shadow.remote.runtime.eval_support.js_eval(svc,p1__36896_SHARP_); +}),new cljs.core.Keyword(null,"cljs-eval","cljs-eval",1860675817),(function (p1__36897_SHARP_){ +return shadow.remote.runtime.eval_support.cljs_eval(svc,p1__36897_SHARP_); +})], null)], null)); + +return svc; +}); +shadow.remote.runtime.eval_support.stop = (function shadow$remote$runtime$eval_support$stop(p__36901){ +var map__36904 = p__36901; +var map__36904__$1 = cljs.core.__destructure_map(map__36904); +var svc = map__36904__$1; +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36904__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +return shadow.remote.runtime.api.del_extension(runtime,new cljs.core.Keyword("shadow.remote.runtime.eval-support","ext","shadow.remote.runtime.eval-support/ext",1781604625)); +}); + +//# sourceMappingURL=shadow.remote.runtime.eval_support.js.map diff --git a/out/cljs-runtime/shadow.remote.runtime.eval_support.js.map b/out/cljs-runtime/shadow.remote.runtime.eval_support.js.map new file mode 100644 index 0000000..13729ac --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.eval_support.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/remote/runtime/eval_support.cljs"],"mappings":";AAOA,sDAAA,tDAAeA;AAEf,6CAAA,7CAAMC,kGAASC;AAAf,AACE,oBAAUF;AAAV;AAAA,AACE,MAAO,gDAAA,sDAAA,2CAAA,jJAACG,oMAAoED;;;AAC9E,OAACE,0CAAoBJ,oDAAiBE;;AAExC,+CAAA,uDAAAG,SAAAC,/GAAMK;AAAN,AAAA,IAAAJ,aAAAF;IAAAE,iBAAA,AAAAC,4BAAAD;UAAAA,NAC6CO;cAD7C,AAAAL,4CAAAF,eAAA,rEACoBK;kBADpB,AAAAH,4CAAAF,eAAA,zEAC4BM;IAD5BH,aAAAJ;IAAAI,iBAAA,AAAAF,4BAAAE;UAAAA,NACqEM;YADrE,AAAAP,4CAAAC,eAAA,nEAC0DK;AAD1D,AAIE,CAAMf,sDAAiBa;;AACvB,OAACI,oCAAYL,QAAQG,MAEnB,WAAAG;AAAA,AAAA,IAAAC,aAAAD;IAAAC,iBAAA,AAAAX,4BAAAW;WAAAA,PAAyBE;aAAzB,AAAAZ,4CAAAU,eAAA,pEAAaC;AAAb,AACE,uDAAA,tDAAMpB;;AAIN,IAAAsB,WAAMF;IAANE,eAAA,EAAA,CAAAA,oBAAAC,oBAAA,AAAAD,aAAA;AAAA,AAAA,QAAAA;KAAA;AAEE,IAAAE,aAA2CH;IAA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AA,qDAAAuB,SAAAC,3GAAMG;AAAN,AAAA,IAAAF,aAAAF;IAAAE,iBAAA,AAAAtC,4BAAAsC;UAAAA,NAC6ChC;cAD7C,AAAAL,4CAAAqC,eAAA,rEACoBlC;kBADpB,AAAAH,4CAAAqC,eAAA,zEAC4BjC;IAD5BkC,aAAAF;IAAAE,iBAAA,AAAAvC,4BAAAuC;UAAAA,NACoE/B;WADpE,AAAAP,4CAAAsC,eAAA,lEAC0DE;AAD1D,AAGE,IAAA,AACE,IAAME,MAAI,AAACC,kCAAUxC,QAAQqC;IACvBP,UAAQ,2DAAA,2CAAA,tGAACX,2CAAqBlB,YAAYsC,0GAAcF;AAD9D,AAGE,sDAAA,2CAAA,kDAAA,0EAAA,tNAACrB,mCAAahB,QAAQI,sOAGV0B;gBAPhB,QAAAQ,JASkBG;AATlB,AAUI,sDAAA,2CAAA,kDAAA,gEAAA,5MAACzB,mCAAahB,QAAQI,gNAEhB,AAAWqC;;AAEvB,2CAAA,3CAAMC,8FAAO1C,QAAQC;AAArB,AACE,UAAA,2CAAA,oEAAA,rHAAMC,6GACUF,2EACIC;AAFpB,AAIE,mDAAA,sHAAA,2CAAA,mDAAA,2CAAA,2DAAA,WAAA0C,xXAACE,2CAAqB7C;AAAtB,AAGc,sDAAA2C,/CAACP,2CAAQlC;GAHvB,+DAAA,WAAA0C;AAAA,AAIgB,wDAAAA,jDAAC7C,6CAAUG;;;AAE3BA;;AAEJ,0CAAA,kDAAA4C,5FAAME;AAAN,AAAA,IAAAD,aAAAD;IAAAC,iBAAA,AAAAnD,4BAAAmD;UAAAA,NAAiC7C;cAAjC,AAAAL,4CAAAkD,eAAA,rEAAoB/C;AAApB,AACE,uDAAA,hDAACiD,wCAAgBjD","names":["shadow.remote.runtime.eval-support/obj-support-inst","shadow.remote.runtime.eval-support/get-ref","oid","cljs.core.ex_info","shadow.remote.runtime.obj-support/get-ref","p__36605","p__36614","map__36630","cljs.core/--destructure-map","cljs.core.get","map__36633","shadow.remote.runtime.eval-support/cljs-eval","runtime","obj-support","svc","input","msg","shadow.remote.runtime.api/cljs-eval","p__36665","map__36667","result","info","G__36668","cljs.core/Keyword","map__36675","ex-client-id","ex-oid","report","shadow.remote.runtime.shared/reply","map__36706","ex","shadow.remote.runtime.obj-support/register","map__36755","warnings","map__36757","results","time-start","time-finish","val","cljs.core._EQ_","cljs.core/count","cljs.core/first","ref-oid","js/console.error","p__36853","p__36854","map__36869","map__36870","shadow.remote.runtime.eval-support/js-eval","code","e36877","res","shadow.remote.runtime.api/js-eval","e","shadow.remote.runtime.eval-support/start","p1__36896#","p1__36897#","shadow.remote.runtime.shared/add-extension","p__36901","map__36904","shadow.remote.runtime.eval-support/stop","shadow.remote.runtime.api/del-extension"],"sourcesContent":["(ns shadow.remote.runtime.eval-support\n (:require\n [shadow.remote.runtime.api :as p]\n [shadow.remote.runtime.shared :as shared]\n [shadow.remote.runtime.obj-support :as obj-support]\n ))\n\n(def ^:dynamic obj-support-inst nil)\n\n(defn get-ref [oid]\n (when-not obj-support-inst\n (throw (ex-info \"obj-support not bound, can only call this from eval\" {:oid oid})))\n (obj-support/get-ref obj-support-inst oid))\n\n(defn cljs-eval\n [{:keys [^Runtime runtime obj-support] :as svc} {:keys [input] :as msg}]\n ;; can't use binding because this has to go async\n ;; required for $o in the UI to work, would be good to have a cleaner API for this\n (set! obj-support-inst obj-support)\n (p/cljs-eval runtime input\n ;; {:code \"1 2 3\"} would trigger 3 results\n (fn [{:keys [result] :as info}]\n (set! obj-support-inst nil) ;; cleanup\n\n ;; (js/console.log \"cljs-eval\" info msg)\n\n (case result\n :compile-error\n (let [{:keys [ex-client-id ex-oid report]} info]\n (shared/reply runtime msg\n {:op :eval-compile-error\n :ex-client-id ex-client-id\n :ex-oid ex-oid\n :report report}))\n\n :runtime-error\n (let [{:keys [ex]} info\n ex-oid (obj-support/register obj-support ex {:msg input})]\n (shared/reply runtime msg\n {:op :eval-runtime-error\n :ex-oid ex-oid}))\n\n :warnings\n (let [{:keys [warnings]} info]\n (shared/reply runtime msg\n {:op :eval-compile-warnings\n :warnings warnings}))\n\n :ok\n (let [{:keys [results warnings time-start time-finish]} info\n val\n (if (= 1 (count results))\n (first results)\n results)]\n ;; pretending to be one result always\n ;; don't want to send multiple results in case code contained multiple forms\n (let [ref-oid (obj-support/register obj-support val {:msg input})]\n (shared/reply runtime msg\n {:op :eval-result-ref\n :ref-oid ref-oid\n :eval-ms (- time-finish time-start)\n :eval-ns (:ns info)\n :warnings warnings})))\n\n (js/console.error \"Unhandled cljs-eval result\" info)))))\n\n(defn js-eval\n [{:keys [^Runtime runtime obj-support] :as svc} {:keys [code] :as msg}]\n\n (try\n (let [res (p/js-eval runtime code)\n ref-oid (obj-support/register obj-support res {:js-code code})]\n\n (shared/reply runtime msg\n ;; FIXME: separate result ops for :cljs-eval :js-eval :clj-eval?\n {:op :eval-result-ref\n :ref-oid ref-oid}))\n\n (catch :default e\n (shared/reply runtime msg\n {:op :eval-error\n :e (.-message e)}))))\n\n(defn start [runtime obj-support]\n (let [svc\n {:runtime runtime\n :obj-support obj-support}]\n\n (shared/add-extension runtime\n ::ext\n {:ops\n {:js-eval #(js-eval svc %)\n :cljs-eval #(cljs-eval svc %)}})\n\n svc))\n\n(defn stop [{:keys [runtime] :as svc}]\n (p/del-extension runtime ::ext))"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.remote.runtime.obj_support.js b/out/cljs-runtime/shadow.remote.runtime.obj_support.js new file mode 100644 index 0000000..3378294 --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.obj_support.js @@ -0,0 +1,863 @@ +goog.provide('shadow.remote.runtime.obj_support'); + +/** +* @constructor + * @implements {cljs.core.IRecord} + * @implements {cljs.core.IKVReduce} + * @implements {cljs.core.IEquiv} + * @implements {cljs.core.IHash} + * @implements {cljs.core.ICollection} + * @implements {cljs.core.ICounted} + * @implements {cljs.core.ISeqable} + * @implements {cljs.core.IMeta} + * @implements {cljs.core.ICloneable} + * @implements {cljs.core.IPrintWithWriter} + * @implements {cljs.core.IIterable} + * @implements {cljs.core.IWithMeta} + * @implements {cljs.core.IAssociative} + * @implements {cljs.core.IMap} + * @implements {cljs.core.ILookup} +*/ +shadow.remote.runtime.obj_support.Reference = (function (obj,extra,__meta,__extmap,__hash){ +this.obj = obj; +this.extra = extra; +this.__meta = __meta; +this.__extmap = __extmap; +this.__hash = __hash; +this.cljs$lang$protocol_mask$partition0$ = 2230716170; +this.cljs$lang$protocol_mask$partition1$ = 139264; +}); +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$ILookup$_lookup$arity$2 = (function (this__5343__auto__,k__5344__auto__){ +var self__ = this; +var this__5343__auto____$1 = this; +return this__5343__auto____$1.cljs$core$ILookup$_lookup$arity$3(null, k__5344__auto__,null); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$ILookup$_lookup$arity$3 = (function (this__5345__auto__,k35937,else__5346__auto__){ +var self__ = this; +var this__5345__auto____$1 = this; +var G__35953 = k35937; +var G__35953__$1 = (((G__35953 instanceof cljs.core.Keyword))?G__35953.fqn:null); +switch (G__35953__$1) { +case "obj": +return self__.obj; + +break; +case "extra": +return self__.extra; + +break; +default: +return cljs.core.get.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k35937,else__5346__auto__); + +} +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 = (function (this__5363__auto__,f__5364__auto__,init__5365__auto__){ +var self__ = this; +var this__5363__auto____$1 = this; +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret__5366__auto__,p__35959){ +var vec__35963 = p__35959; +var k__5367__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35963,(0),null); +var v__5368__auto__ = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__35963,(1),null); +return (f__5364__auto__.cljs$core$IFn$_invoke$arity$3 ? f__5364__auto__.cljs$core$IFn$_invoke$arity$3(ret__5366__auto__,k__5367__auto__,v__5368__auto__) : f__5364__auto__.call(null, ret__5366__auto__,k__5367__auto__,v__5368__auto__)); +}),init__5365__auto__,this__5363__auto____$1); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 = (function (this__5358__auto__,writer__5359__auto__,opts__5360__auto__){ +var self__ = this; +var this__5358__auto____$1 = this; +var pr_pair__5361__auto__ = (function (keyval__5362__auto__){ +return cljs.core.pr_sequential_writer(writer__5359__auto__,cljs.core.pr_writer,""," ","",opts__5360__auto__,keyval__5362__auto__); +}); +return cljs.core.pr_sequential_writer(writer__5359__auto__,pr_pair__5361__auto__,"#shadow.remote.runtime.obj-support.Reference{",", ","}",opts__5360__auto__,cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"obj","obj",981763962),self__.obj],null)),(new cljs.core.PersistentVector(null,2,(5),cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"extra","extra",1612569067),self__.extra],null))], null),self__.__extmap)); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IIterable$_iterator$arity$1 = (function (G__35936){ +var self__ = this; +var G__35936__$1 = this; +return (new cljs.core.RecordIter((0),G__35936__$1,2,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"obj","obj",981763962),new cljs.core.Keyword(null,"extra","extra",1612569067)], null),(cljs.core.truth_(self__.__extmap)?cljs.core._iterator(self__.__extmap):cljs.core.nil_iter()))); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IMeta$_meta$arity$1 = (function (this__5341__auto__){ +var self__ = this; +var this__5341__auto____$1 = this; +return self__.__meta; +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$ICloneable$_clone$arity$1 = (function (this__5338__auto__){ +var self__ = this; +var this__5338__auto____$1 = this; +return (new shadow.remote.runtime.obj_support.Reference(self__.obj,self__.extra,self__.__meta,self__.__extmap,self__.__hash)); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$ICounted$_count$arity$1 = (function (this__5347__auto__){ +var self__ = this; +var this__5347__auto____$1 = this; +return (2 + cljs.core.count(self__.__extmap)); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IHash$_hash$arity$1 = (function (this__5339__auto__){ +var self__ = this; +var this__5339__auto____$1 = this; +var h__5154__auto__ = self__.__hash; +if((!((h__5154__auto__ == null)))){ +return h__5154__auto__; +} else { +var h__5154__auto____$1 = (function (coll__5340__auto__){ +return (1775716890 ^ cljs.core.hash_unordered_coll(coll__5340__auto__)); +})(this__5339__auto____$1); +(self__.__hash = h__5154__auto____$1); + +return h__5154__auto____$1; +} +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IEquiv$_equiv$arity$2 = (function (this35938,other35939){ +var self__ = this; +var this35938__$1 = this; +return (((!((other35939 == null)))) && ((((this35938__$1.constructor === other35939.constructor)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this35938__$1.obj,other35939.obj)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this35938__$1.extra,other35939.extra)) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(this35938__$1.__extmap,other35939.__extmap))))))))); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IMap$_dissoc$arity$2 = (function (this__5353__auto__,k__5354__auto__){ +var self__ = this; +var this__5353__auto____$1 = this; +if(cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"extra","extra",1612569067),null,new cljs.core.Keyword(null,"obj","obj",981763962),null], null), null),k__5354__auto__)){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs.core._with_meta(cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,this__5353__auto____$1),self__.__meta),k__5354__auto__); +} else { +return (new shadow.remote.runtime.obj_support.Reference(self__.obj,self__.extra,self__.__meta,cljs.core.not_empty(cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(self__.__extmap,k__5354__auto__)),null)); +} +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 = (function (this__5350__auto__,k35937){ +var self__ = this; +var this__5350__auto____$1 = this; +var G__35992 = k35937; +var G__35992__$1 = (((G__35992 instanceof cljs.core.Keyword))?G__35992.fqn:null); +switch (G__35992__$1) { +case "obj": +case "extra": +return true; + +break; +default: +return cljs.core.contains_QMARK_(self__.__extmap,k35937); + +} +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IAssociative$_assoc$arity$3 = (function (this__5351__auto__,k__5352__auto__,G__35936){ +var self__ = this; +var this__5351__auto____$1 = this; +var pred__35997 = cljs.core.keyword_identical_QMARK_; +var expr__35998 = k__5352__auto__; +if(cljs.core.truth_((pred__35997.cljs$core$IFn$_invoke$arity$2 ? pred__35997.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"obj","obj",981763962),expr__35998) : pred__35997.call(null, new cljs.core.Keyword(null,"obj","obj",981763962),expr__35998)))){ +return (new shadow.remote.runtime.obj_support.Reference(G__35936,self__.extra,self__.__meta,self__.__extmap,null)); +} else { +if(cljs.core.truth_((pred__35997.cljs$core$IFn$_invoke$arity$2 ? pred__35997.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"extra","extra",1612569067),expr__35998) : pred__35997.call(null, new cljs.core.Keyword(null,"extra","extra",1612569067),expr__35998)))){ +return (new shadow.remote.runtime.obj_support.Reference(self__.obj,G__35936,self__.__meta,self__.__extmap,null)); +} else { +return (new shadow.remote.runtime.obj_support.Reference(self__.obj,self__.extra,self__.__meta,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(self__.__extmap,k__5352__auto__,G__35936),null)); +} +} +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$ISeqable$_seq$arity$1 = (function (this__5356__auto__){ +var self__ = this; +var this__5356__auto____$1 = this; +return cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(new cljs.core.MapEntry(new cljs.core.Keyword(null,"obj","obj",981763962),self__.obj,null)),(new cljs.core.MapEntry(new cljs.core.Keyword(null,"extra","extra",1612569067),self__.extra,null))], null),self__.__extmap)); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = (function (this__5342__auto__,G__35936){ +var self__ = this; +var this__5342__auto____$1 = this; +return (new shadow.remote.runtime.obj_support.Reference(self__.obj,self__.extra,G__35936,self__.__extmap,self__.__hash)); +})); + +(shadow.remote.runtime.obj_support.Reference.prototype.cljs$core$ICollection$_conj$arity$2 = (function (this__5348__auto__,entry__5349__auto__){ +var self__ = this; +var this__5348__auto____$1 = this; +if(cljs.core.vector_QMARK_(entry__5349__auto__)){ +return this__5348__auto____$1.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry__5349__auto__,(0)),cljs.core._nth(entry__5349__auto__,(1))); +} else { +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(cljs.core._conj,this__5348__auto____$1,entry__5349__auto__); +} +})); + +(shadow.remote.runtime.obj_support.Reference.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"obj","obj",-1672671807,null),new cljs.core.Symbol(null,"extra","extra",-1041866702,null)], null); +})); + +(shadow.remote.runtime.obj_support.Reference.cljs$lang$type = true); + +(shadow.remote.runtime.obj_support.Reference.cljs$lang$ctorPrSeq = (function (this__5389__auto__){ +return (new cljs.core.List(null,"shadow.remote.runtime.obj-support/Reference",null,(1),null)); +})); + +(shadow.remote.runtime.obj_support.Reference.cljs$lang$ctorPrWriter = (function (this__5389__auto__,writer__5390__auto__){ +return cljs.core._write(writer__5390__auto__,"shadow.remote.runtime.obj-support/Reference"); +})); + +/** + * Positional factory function for shadow.remote.runtime.obj-support/Reference. + */ +shadow.remote.runtime.obj_support.__GT_Reference = (function shadow$remote$runtime$obj_support$__GT_Reference(obj,extra){ +return (new shadow.remote.runtime.obj_support.Reference(obj,extra,null,null,null)); +}); + +/** + * Factory function for shadow.remote.runtime.obj-support/Reference, taking a map of keywords to field values. + */ +shadow.remote.runtime.obj_support.map__GT_Reference = (function shadow$remote$runtime$obj_support$map__GT_Reference(G__35943){ +var extmap__5385__auto__ = (function (){var G__36005 = cljs.core.dissoc.cljs$core$IFn$_invoke$arity$variadic(G__35943,new cljs.core.Keyword(null,"obj","obj",981763962),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"extra","extra",1612569067)], 0)); +if(cljs.core.record_QMARK_(G__35943)){ +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentArrayMap.EMPTY,G__36005); +} else { +return G__36005; +} +})(); +return (new shadow.remote.runtime.obj_support.Reference(new cljs.core.Keyword(null,"obj","obj",981763962).cljs$core$IFn$_invoke$arity$1(G__35943),new cljs.core.Keyword(null,"extra","extra",1612569067).cljs$core$IFn$_invoke$arity$1(G__35943),null,cljs.core.not_empty(extmap__5385__auto__),null)); +}); + +shadow.remote.runtime.obj_support.obj_ref = (function shadow$remote$runtime$obj_support$obj_ref(var_args){ +var G__36011 = arguments.length; +switch (G__36011) { +case 1: +return shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$1 = (function (obj){ +return shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$2(obj,null); +})); + +(shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$2 = (function (obj,extra){ +if((!((obj == null)))){ +return (new shadow.remote.runtime.obj_support.Reference(obj,extra,null,null,null)); +} else { +return null; +} +})); + +(shadow.remote.runtime.obj_support.obj_ref.cljs$lang$maxFixedArity = 2); + +shadow.remote.runtime.obj_support.obj_ref_QMARK_ = (function shadow$remote$runtime$obj_support$obj_ref_QMARK_(result){ +return (result instanceof shadow.remote.runtime.obj_support.Reference); +}); +shadow.remote.runtime.obj_support.now = (function shadow$remote$runtime$obj_support$now(){ +return Date.now(); +}); +shadow.remote.runtime.obj_support.next_oid = (function shadow$remote$runtime$obj_support$next_oid(){ +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.random_uuid()); +}); +shadow.remote.runtime.obj_support.register_STAR_ = (function shadow$remote$runtime$obj_support$register_STAR_(state,oid,obj,obj_info){ +var ts = shadow.remote.runtime.obj_support.now(); +var entry = new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"obj","obj",981763962),obj,new cljs.core.Keyword(null,"data","data",-232669377),clojure.datafy.datafy(obj),new cljs.core.Keyword(null,"obj-info","obj-info",-373842651),obj_info,new cljs.core.Keyword(null,"added-at","added-at",-352499434),ts,new cljs.core.Keyword(null,"access-at","access-at",-1487162729),ts,new cljs.core.Keyword(null,"oid","oid",-768692334),oid], null); +return cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"objects","objects",2099713734),oid], null),entry); +}); +shadow.remote.runtime.obj_support.obj_type_string = (function shadow$remote$runtime$obj_support$obj_type_string(obj){ +if((obj == null)){ +return "nil"; +} else { +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.type(obj)], 0)); +} +}); +shadow.remote.runtime.obj_support.get_data_type = (function shadow$remote$runtime$obj_support$get_data_type(summary,p__36060){ +var map__36061 = p__36060; +var map__36061__$1 = cljs.core.__destructure_map(map__36061); +var entry = map__36061__$1; +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36061__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +try{if((data == null)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"nil","nil",99600501)); +} else { +if(typeof data === 'string'){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"string","string",-1989541586),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data-count","data-count",1898198662),((data).length)], 0)); +} else { +if(cljs.core.boolean_QMARK_(data)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"boolean","boolean",-1919418404)); +} else { +if(typeof data === 'number'){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"number","number",1570378438)); +} else { +if((data instanceof cljs.core.Keyword)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"keyword","keyword",811389747)); +} else { +if((data instanceof cljs.core.Symbol)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"symbol","symbol",-1038572696)); +} else { +if(cljs.core.map_QMARK_(data)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"map","map",1371690461),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data-count","data-count",1898198662),cljs.core.count(data)], 0)); +} else { +if(cljs.core.vector_QMARK_(data)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"vec","vec",-657847931),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data-count","data-count",1898198662),cljs.core.count(data)], 0)); +} else { +if(cljs.core.set_QMARK_(data)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"set","set",304602554),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data-count","data-count",1898198662),cljs.core.count(data)], 0)); +} else { +if(cljs.core.list_QMARK_(data)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"list","list",765357683),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data-count","data-count",1898198662),cljs.core.count(data)], 0)); +} else { +if(cljs.core.seq_QMARK_(data)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"seq","seq",-1817803783)); +} else { +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"unsupported","unsupported",-1045607016)); + +} +} +} +} +} +} +} +} +} +} +} +}catch (e36063){var e = e36063; +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(summary,new cljs.core.Keyword(null,"data-type","data-type",-326421468),new cljs.core.Keyword(null,"unsupported","unsupported",-1045607016),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"data-type-fail","data-type-fail",1917235450),true], 0)); +}}); +shadow.remote.runtime.obj_support.merge_source_info = (function shadow$remote$runtime$obj_support$merge_source_info(summary,p__36074){ +var map__36076 = p__36074; +var map__36076__$1 = cljs.core.__destructure_map(map__36076); +var obj_info = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36076__$1,new cljs.core.Keyword(null,"obj-info","obj-info",-373842651)); +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([summary,cljs.core.select_keys(obj_info,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ns","ns",441598760),new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.Keyword(null,"column","column",2078222095),new cljs.core.Keyword(null,"label","label",1718410804)], null))], 0)); +}); +shadow.remote.runtime.obj_support.inspect_entry_BANG_ = (function shadow$remote$runtime$obj_support$inspect_entry_BANG_(p__36081,p__36082){ +var map__36084 = p__36081; +var map__36084__$1 = cljs.core.__destructure_map(map__36084); +var this$ = map__36084__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36084__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var map__36087 = p__36082; +var map__36087__$1 = cljs.core.__destructure_map(map__36087); +var entry = map__36087__$1; +var obj = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36087__$1,new cljs.core.Keyword(null,"obj","obj",981763962)); +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36087__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var added_at = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36087__$1,new cljs.core.Keyword(null,"added-at","added-at",-352499434)); +var $ = shadow.remote.runtime.obj_support.merge_source_info(shadow.remote.runtime.obj_support.get_data_type(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"added-at","added-at",-352499434),added_at,new cljs.core.Keyword(null,"datafied","datafied",2076148104),(!((data === obj))),new cljs.core.Keyword(null,"obj-type","obj-type",-1658555496),shadow.remote.runtime.obj_support.obj_type_string(obj),new cljs.core.Keyword(null,"preview","preview",451279890),shadow.remote.runtime.writer.pr_str_limit(obj,(250)),new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.PersistentHashSet.EMPTY], null),entry),entry); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (summary,inspect_fn){ +return (inspect_fn.cljs$core$IFn$_invoke$arity$2 ? inspect_fn.cljs$core$IFn$_invoke$arity$2(summary,entry) : inspect_fn.call(null, summary,entry)); +}),$,new cljs.core.Keyword(null,"inspectors","inspectors",-426448246).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref))); +}); +shadow.remote.runtime.obj_support.obj_describe_STAR_ = (function shadow$remote$runtime$obj_support$obj_describe_STAR_(p__36094,oid){ +var map__36095 = p__36094; +var map__36095__$1 = cljs.core.__destructure_map(map__36095); +var this$ = map__36095__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36095__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var temp__5827__auto__ = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(state_ref),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"objects","objects",2099713734),oid], null)); +if((temp__5827__auto__ == null)){ +return null; +} else { +var entry = temp__5827__auto__; +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(state_ref,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"objects","objects",2099713734),oid,new cljs.core.Keyword(null,"access-at","access-at",-1487162729)], null),shadow.remote.runtime.obj_support.now()); + +return shadow.remote.runtime.obj_support.inspect_entry_BANG_(this$,entry); +} +}); +shadow.remote.runtime.obj_support.handler_with_object = (function shadow$remote$runtime$obj_support$handler_with_object(handler_fn){ +return (function (p__36097,p__36098){ +var map__36099 = p__36097; +var map__36099__$1 = cljs.core.__destructure_map(map__36099); +var this$ = map__36099__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36099__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36099__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +var map__36100 = p__36098; +var map__36100__$1 = cljs.core.__destructure_map(map__36100); +var msg = map__36100__$1; +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36100__$1,new cljs.core.Keyword(null,"op","op",-1882987955)); +var oid = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36100__$1,new cljs.core.Keyword(null,"oid","oid",-768692334)); +var entry = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(state_ref),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"objects","objects",2099713734),oid], null)); +if(cljs.core.not(entry)){ +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"obj-not-found","obj-not-found",1577257696),new cljs.core.Keyword(null,"oid","oid",-768692334),oid], null)); +} else { +try{cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(state_ref,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"objects","objects",2099713734),oid,new cljs.core.Keyword(null,"access-at","access-at",-1487162729)], null),shadow.remote.runtime.obj_support.now()); + +var result = (handler_fn.cljs$core$IFn$_invoke$arity$3 ? handler_fn.cljs$core$IFn$_invoke$arity$3(this$,entry,msg) : handler_fn.call(null, this$,entry,msg)); +if((!(shadow.remote.runtime.obj_support.obj_ref_QMARK_(result)))){ +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"obj-result","obj-result",-486300152),new cljs.core.Keyword(null,"oid","oid",-768692334),oid,new cljs.core.Keyword(null,"result","result",1415092211),result], null)); +} else { +var new_oid = (function (){var G__36108 = this$; +var G__36109 = new cljs.core.Keyword(null,"obj","obj",981763962).cljs$core$IFn$_invoke$arity$1(result); +var G__36110 = cljs.core.PersistentArrayMap.EMPTY; +return (shadow.remote.runtime.obj_support.register.cljs$core$IFn$_invoke$arity$3 ? shadow.remote.runtime.obj_support.register.cljs$core$IFn$_invoke$arity$3(G__36108,G__36109,G__36110) : shadow.remote.runtime.obj_support.register.call(null, G__36108,G__36109,G__36110)); +})(); +var reply_msg = (function (){var G__36111 = new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"obj-result-ref","obj-result-ref",1537374891),new cljs.core.Keyword(null,"oid","oid",-768692334),oid,new cljs.core.Keyword(null,"ref-oid","ref-oid",-526648644),new_oid], null); +var G__36111__$1 = (cljs.core.truth_(new cljs.core.Keyword(null,"summary","summary",380847952).cljs$core$IFn$_invoke$arity$1(msg))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__36111,new cljs.core.Keyword(null,"summary","summary",380847952),shadow.remote.runtime.obj_support.obj_describe_STAR_(this$,new_oid)):G__36111); +if(cljs.core.truth_(new cljs.core.Keyword(null,"extra","extra",1612569067).cljs$core$IFn$_invoke$arity$1(result))){ +return cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([G__36111__$1,new cljs.core.Keyword(null,"extra","extra",1612569067).cljs$core$IFn$_invoke$arity$1(result)], 0)); +} else { +return G__36111__$1; +} +})(); +return shadow.remote.runtime.shared.reply(runtime,msg,reply_msg); +} +}catch (e36102){var e = e36102; +console.warn("action-request-action failed",new cljs.core.Keyword(null,"obj","obj",981763962).cljs$core$IFn$_invoke$arity$1(entry),e); + +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"obj-request-failed","obj-request-failed",-1782005406),new cljs.core.Keyword(null,"oid","oid",-768692334),oid,new cljs.core.Keyword(null,"msg","msg",-1386103444),msg,new cljs.core.Keyword(null,"ex-oid","ex-oid",-650256737),(function (){var G__36105 = this$; +var G__36106 = e; +var G__36107 = new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"msg","msg",-1386103444),msg], null); +return (shadow.remote.runtime.obj_support.register.cljs$core$IFn$_invoke$arity$3 ? shadow.remote.runtime.obj_support.register.cljs$core$IFn$_invoke$arity$3(G__36105,G__36106,G__36107) : shadow.remote.runtime.obj_support.register.call(null, G__36105,G__36106,G__36107)); +})()], null)); +}} +}); +}); +shadow.remote.runtime.obj_support.obj_get_value = shadow.remote.runtime.obj_support.handler_with_object((function (this$,p__36112,msg){ +var map__36113 = p__36112; +var map__36113__$1 = cljs.core.__destructure_map(map__36113); +var entry = map__36113__$1; +var obj = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36113__$1,new cljs.core.Keyword(null,"obj","obj",981763962)); +return obj; +})); +shadow.remote.runtime.obj_support.default_max_print_size = (((1) * (1024)) * (1024)); +shadow.remote.runtime.obj_support.pick_target = (function shadow$remote$runtime$obj_support$pick_target(entry,msg){ +if(cljs.core.truth_(new cljs.core.Keyword(null,"original","original",-445386197).cljs$core$IFn$_invoke$arity$1(msg))){ +return new cljs.core.Keyword(null,"obj","obj",981763962).cljs$core$IFn$_invoke$arity$1(entry); +} else { +return new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(entry); +} +}); +shadow.remote.runtime.obj_support.obj_edn = shadow.remote.runtime.obj_support.handler_with_object((function (this$,entry,p__36117){ +var map__36122 = p__36117; +var map__36122__$1 = cljs.core.__destructure_map(map__36122); +var msg = map__36122__$1; +var limit = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__36122__$1,new cljs.core.Keyword(null,"limit","limit",-1355822363),shadow.remote.runtime.obj_support.default_max_print_size); +var target = shadow.remote.runtime.obj_support.pick_target(entry,msg); +var lw = shadow.remote.runtime.writer.limit_writer(limit); +cljs.core.pr_writer(target,lw,cljs.core.pr_opts()); + +return shadow.remote.runtime.writer.get_string(lw); +})); +shadow.remote.runtime.obj_support.obj_pprint = shadow.remote.runtime.obj_support.handler_with_object((function (this$,entry,p__36130){ +var map__36132 = p__36130; +var map__36132__$1 = cljs.core.__destructure_map(map__36132); +var msg = map__36132__$1; +var limit = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__36132__$1,new cljs.core.Keyword(null,"limit","limit",-1355822363),shadow.remote.runtime.obj_support.default_max_print_size); +var target = shadow.remote.runtime.obj_support.pick_target(entry,msg); +var lw = shadow.remote.runtime.writer.limit_writer(limit); +cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$2(target,lw); + +return shadow.remote.runtime.writer.get_string(lw); +})); +shadow.remote.runtime.obj_support.obj_edn_limit = shadow.remote.runtime.obj_support.handler_with_object((function (this$,entry,p__36141){ +var map__36142 = p__36141; +var map__36142__$1 = cljs.core.__destructure_map(map__36142); +var msg = map__36142__$1; +var limit = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36142__$1,new cljs.core.Keyword(null,"limit","limit",-1355822363)); +return shadow.remote.runtime.writer.pr_str_limit(shadow.remote.runtime.obj_support.pick_target(entry,msg),limit); +})); +shadow.remote.runtime.obj_support.obj_str = shadow.remote.runtime.obj_support.handler_with_object((function (this$,p__36148,msg){ +var map__36149 = p__36148; +var map__36149__$1 = cljs.core.__destructure_map(map__36149); +var entry = map__36149__$1; +var obj = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36149__$1,new cljs.core.Keyword(null,"obj","obj",981763962)); +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(obj); +})); +shadow.remote.runtime.obj_support.obj_ex_str = shadow.remote.runtime.obj_support.handler_with_object((function (this$,p__36153,msg){ +var map__36157 = p__36153; +var map__36157__$1 = cljs.core.__destructure_map(map__36157); +var entry = map__36157__$1; +var ex = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36157__$1,new cljs.core.Keyword(null,"obj","obj",981763962)); +if((ex instanceof Error)){ +return cljs.repl.error__GT_str(ex); +} else { +return ["Execution error:\n"," ",cljs.core.subs.cljs$core$IFn$_invoke$arity$2(shadow.remote.runtime.writer.pr_str_limit(ex,(200)),(2)),"\n","\n"].join(''); +} +})); +shadow.remote.runtime.obj_support.exception_QMARK_ = (function shadow$remote$runtime$obj_support$exception_QMARK_(x){ +return true; +}); +shadow.remote.runtime.obj_support.simple_value_QMARK_ = (function shadow$remote$runtime$obj_support$simple_value_QMARK_(val){ +return (((val == null)) || (((cljs.core.boolean_QMARK_(val)) || (((typeof val === 'number') || ((((val instanceof cljs.core.Keyword)) || ((((((val instanceof cljs.core.Symbol)) && ((cljs.core.meta(val) == null)))) || (((((typeof val === 'string') && (((64) > cljs.core.count(val))))) || (((cljs.core.coll_QMARK_(val)) && (((cljs.core.empty_QMARK_(val)) && ((cljs.core.meta(val) == null))))))))))))))))); +}); +shadow.remote.runtime.obj_support.rank_predicates = new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.nil_QMARK_,cljs.core.boolean_QMARK_,cljs.core.number_QMARK_,cljs.core.string_QMARK_,cljs.core.keyword_QMARK_,cljs.core.symbol_QMARK_,cljs.core.vector_QMARK_,cljs.core.map_QMARK_,cljs.core.list_QMARK_], null); +shadow.remote.runtime.obj_support.rank_val = (function shadow$remote$runtime$obj_support$rank_val(val){ +return cljs.core.reduce_kv((function (res,idx,pred){ +if(cljs.core.truth_((pred.cljs$core$IFn$_invoke$arity$1 ? pred.cljs$core$IFn$_invoke$arity$1(val) : pred.call(null, val)))){ +return cljs.core.reduced(idx); +} else { +return res; +} +}),(-1),shadow.remote.runtime.obj_support.rank_predicates); +}); +shadow.remote.runtime.obj_support.smart_comp = (function shadow$remote$runtime$obj_support$smart_comp(a,b){ +try{return cljs.core.compare(a,b); +}catch (e36179){if((e36179 instanceof Error)){ +var e = e36179; +var ar = shadow.remote.runtime.obj_support.rank_val(a); +var br = shadow.remote.runtime.obj_support.rank_val(b); +return cljs.core.compare(ar,br); +} else { +throw e36179; + +} +}}); +shadow.remote.runtime.obj_support.attempt_to_sort = (function shadow$remote$runtime$obj_support$attempt_to_sort(coll){ +return cljs.core.vec((function (){try{return cljs.core.sort.cljs$core$IFn$_invoke$arity$2(shadow.remote.runtime.obj_support.smart_comp,coll); +}catch (e36185){var e = e36185; +return coll; +}})()); +}); +shadow.remote.runtime.obj_support.cache_view_order = (function shadow$remote$runtime$obj_support$cache_view_order(state_ref,p__36193,coll){ +var map__36194 = p__36193; +var map__36194__$1 = cljs.core.__destructure_map(map__36194); +var oid = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36194__$1,new cljs.core.Keyword(null,"oid","oid",-768692334)); +var view_order = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36194__$1,new cljs.core.Keyword(null,"view-order","view-order",566761574)); +var or__5045__auto__ = view_order; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +var view_order__$1 = shadow.remote.runtime.obj_support.attempt_to_sort(coll); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(state_ref,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"objects","objects",2099713734),oid,new cljs.core.Keyword(null,"view-order","view-order",566761574)], null),view_order__$1); + +return view_order__$1; +} +}); +shadow.remote.runtime.obj_support.obj_nav = shadow.remote.runtime.obj_support.handler_with_object((function (p__36201,p__36202,p__36203){ +var map__36204 = p__36201; +var map__36204__$1 = cljs.core.__destructure_map(map__36204); +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36204__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var map__36205 = p__36202; +var map__36205__$1 = cljs.core.__destructure_map(map__36205); +var entry = map__36205__$1; +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36205__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var map__36206 = p__36203; +var map__36206__$1 = cljs.core.__destructure_map(map__36206); +var msg = map__36206__$1; +var idx = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36206__$1,new cljs.core.Keyword(null,"idx","idx",1053688473)); +if(((cljs.core.vector_QMARK_(data)) || (cljs.core.list_QMARK_(data)))){ +var val = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(data,idx); +var nav = clojure.datafy.nav(data,idx,val); +return shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$2(nav,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"nav?","nav?",1269039770),cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(val,nav)], null)); +} else { +if(cljs.core.map_QMARK_(data)){ +var view_order = shadow.remote.runtime.obj_support.cache_view_order(state_ref,entry,cljs.core.keys(data)); +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(view_order,idx); +var val = cljs.core.get.cljs$core$IFn$_invoke$arity$2(data,key); +var nav = clojure.datafy.nav(data,key,val); +return shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$2(nav,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"nav?","nav?",1269039770),cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(val,nav)], null)); +} else { +if(cljs.core.set_QMARK_(data)){ +var view_order = shadow.remote.runtime.obj_support.cache_view_order(state_ref,entry,data); +var val = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(view_order,idx); +var nav = clojure.datafy.nav(data,idx,val); +return shadow.remote.runtime.obj_support.obj_ref.cljs$core$IFn$_invoke$arity$2(nav,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"nav?","nav?",1269039770),cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(val,nav)], null)); +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("nav not supported?",entry); + +} +} +} +})); +shadow.remote.runtime.obj_support.obj_fragment = shadow.remote.runtime.obj_support.handler_with_object((function (p__36220,p__36221,p__36222){ +var map__36223 = p__36220; +var map__36223__$1 = cljs.core.__destructure_map(map__36223); +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36223__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var map__36224 = p__36221; +var map__36224__$1 = cljs.core.__destructure_map(map__36224); +var entry = map__36224__$1; +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36224__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +var map__36225 = p__36222; +var map__36225__$1 = cljs.core.__destructure_map(map__36225); +var msg = map__36225__$1; +var start = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36225__$1,new cljs.core.Keyword(null,"start","start",-355208981)); +var num = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36225__$1,new cljs.core.Keyword(null,"num","num",1985240673)); +var val_limit = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__36225__$1,new cljs.core.Keyword(null,"val-limit","val-limit",1428666181),(100)); +if(cljs.core.map_QMARK_(data)){ +var map__36228 = msg; +var map__36228__$1 = cljs.core.__destructure_map(map__36228); +var key_limit = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__36228__$1,new cljs.core.Keyword(null,"key-limit","key-limit",259239169),(100)); +var view_order = shadow.remote.runtime.obj_support.cache_view_order(state_ref,entry,cljs.core.keys(data)); +var end = (function (){var x__5133__auto__ = cljs.core.count(view_order); +var y__5134__auto__ = (start + num); +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})(); +var idxs = cljs.core.range.cljs$core$IFn$_invoke$arity$2(start,end); +var fragment = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (m,idx){ +var key = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(view_order,idx); +var val = cljs.core.get.cljs$core$IFn$_invoke$arity$2(data,key); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,idx,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),(function (){try{return shadow.remote.runtime.writer.pr_str_limit(key,key_limit); +}catch (e36233){var e = e36233; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [true,"... print failed ..."], null); +}})(),new cljs.core.Keyword(null,"val","val",128701612),(function (){try{return shadow.remote.runtime.writer.pr_str_limit(val,val_limit); +}catch (e36235){var e = e36235; +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [true,"... print failed ..."], null); +}})()], null)); +}),cljs.core.PersistentArrayMap.EMPTY,idxs); +return fragment; +} else { +if(cljs.core.vector_QMARK_(data)){ +var end = (function (){var x__5133__auto__ = cljs.core.count(data); +var y__5134__auto__ = (start + num); +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})(); +var idxs = cljs.core.range.cljs$core$IFn$_invoke$arity$2(start,end); +var fragment = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (m,idx){ +var val = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(data,idx); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,idx,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"val","val",128701612),shadow.remote.runtime.writer.pr_str_limit(val,val_limit)], null)); +}),cljs.core.PersistentArrayMap.EMPTY,idxs); +return fragment; +} else { +if(cljs.core.list_QMARK_(data)){ +var end = (function (){var x__5133__auto__ = cljs.core.count(data); +var y__5134__auto__ = (start + num); +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})(); +var idxs = cljs.core.range.cljs$core$IFn$_invoke$arity$2(start,end); +var fragment = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (m,idx){ +var val = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(data,idx); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,idx,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"val","val",128701612),shadow.remote.runtime.writer.pr_str_limit(val,val_limit)], null)); +}),cljs.core.PersistentArrayMap.EMPTY,idxs); +return fragment; +} else { +if(cljs.core.set_QMARK_(data)){ +var view_order = shadow.remote.runtime.obj_support.cache_view_order(state_ref,entry,data); +var end = (function (){var x__5133__auto__ = cljs.core.count(view_order); +var y__5134__auto__ = (start + num); +return ((x__5133__auto__ < y__5134__auto__) ? x__5133__auto__ : y__5134__auto__); +})(); +var idxs = cljs.core.range.cljs$core$IFn$_invoke$arity$2(start,end); +var fragment = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (m,idx){ +var val = cljs.core.nth.cljs$core$IFn$_invoke$arity$2(view_order,idx); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(m,idx,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"val","val",128701612),shadow.remote.runtime.writer.pr_str_limit(val,val_limit)], null)); +}),cljs.core.PersistentArrayMap.EMPTY,idxs); +return fragment; +} else { +return null; +} +} +} +} +})); +shadow.remote.runtime.obj_support.obj_request = (function shadow$remote$runtime$obj_support$obj_request(this$,p__36271){ +var map__36273 = p__36271; +var map__36273__$1 = cljs.core.__destructure_map(map__36273); +var msg = map__36273__$1; +var request_op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36273__$1,new cljs.core.Keyword(null,"request-op","request-op",1472997246)); +var real_handler = (function (){var G__36275 = request_op; +var G__36275__$1 = (((G__36275 instanceof cljs.core.Keyword))?G__36275.fqn:null); +switch (G__36275__$1) { +case "str": +return shadow.remote.runtime.obj_support.obj_str; + +break; +case "ex-str": +return shadow.remote.runtime.obj_support.obj_ex_str; + +break; +case "edn": +return shadow.remote.runtime.obj_support.obj_edn; + +break; +case "edn-limit": +return shadow.remote.runtime.obj_support.obj_edn; + +break; +case "pprint": +return this$; + +break; +case "nav": +return this$; + +break; +case "fragment": +return shadow.remote.runtime.obj_support.obj_fragment; + +break; +default: +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__36275__$1)].join(''))); + +} +})(); +return (real_handler.cljs$core$IFn$_invoke$arity$2 ? real_handler.cljs$core$IFn$_invoke$arity$2(this$,msg) : real_handler.call(null, this$,msg)); +}); +shadow.remote.runtime.obj_support.obj_describe = (function shadow$remote$runtime$obj_support$obj_describe(p__36292,p__36293){ +var map__36294 = p__36292; +var map__36294__$1 = cljs.core.__destructure_map(map__36294); +var this$ = map__36294__$1; +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36294__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +var map__36295 = p__36293; +var map__36295__$1 = cljs.core.__destructure_map(map__36295); +var msg = map__36295__$1; +var oid = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36295__$1,new cljs.core.Keyword(null,"oid","oid",-768692334)); +var temp__5821__auto__ = shadow.remote.runtime.obj_support.obj_describe_STAR_(this$,oid); +if(cljs.core.truth_(temp__5821__auto__)){ +var summary = temp__5821__auto__; +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"obj-summary","obj-summary",-1372191064),new cljs.core.Keyword(null,"oid","oid",-768692334),oid,new cljs.core.Keyword(null,"summary","summary",380847952),summary], null)); +} else { +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"obj-not-found","obj-not-found",1577257696),new cljs.core.Keyword(null,"oid","oid",-768692334),oid], null)); +} +}); +shadow.remote.runtime.obj_support.obj_forget = (function shadow$remote$runtime$obj_support$obj_forget(p__36312,p__36313){ +var map__36314 = p__36312; +var map__36314__$1 = cljs.core.__destructure_map(map__36314); +var svc = map__36314__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36314__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var map__36315 = p__36313; +var map__36315__$1 = cljs.core.__destructure_map(map__36315); +var msg = map__36315__$1; +var oid = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36315__$1,new cljs.core.Keyword(null,"oid","oid",-768692334)); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(state_ref,cljs.core.update,new cljs.core.Keyword(null,"objects","objects",2099713734),cljs.core.dissoc,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([oid], 0)); +}); +shadow.remote.runtime.obj_support.obj_forget_all = (function shadow$remote$runtime$obj_support$obj_forget_all(p__36321,msg){ +var map__36322 = p__36321; +var map__36322__$1 = cljs.core.__destructure_map(map__36322); +var svc = map__36322__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36322__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(state_ref,cljs.core.assoc,new cljs.core.Keyword(null,"objects","objects",2099713734),cljs.core.PersistentArrayMap.EMPTY); +}); +shadow.remote.runtime.obj_support.basic_gc_BANG_ = (function shadow$remote$runtime$obj_support$basic_gc_BANG_(state){ +var objs_to_drop = cljs.core.map.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"oid","oid",-768692334),cljs.core.drop.cljs$core$IFn$_invoke$arity$2((100),cljs.core.reverse(cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"access-at","access-at",-1487162729),cljs.core.vals(new cljs.core.Keyword(null,"objects","objects",2099713734).cljs$core$IFn$_invoke$arity$1(state)))))); +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (state__$1,oid){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(state__$1,new cljs.core.Keyword(null,"objects","objects",2099713734),cljs.core.dissoc,oid); +}),state,objs_to_drop); +}); +shadow.remote.runtime.obj_support.add_inspector = (function shadow$remote$runtime$obj_support$add_inspector(p__36337,inspect_fn){ +var map__36338 = p__36337; +var map__36338__$1 = cljs.core.__destructure_map(map__36338); +var this$ = map__36338__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36338__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +if(cljs.core.fn_QMARK_(inspect_fn)){ +} else { +throw (new Error("Assert failed: (fn? inspect-fn)")); +} + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(state_ref,cljs.core.update,new cljs.core.Keyword(null,"inspectors","inspectors",-426448246),cljs.core.conj,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([inspect_fn], 0)); + +return this$; +}); +shadow.remote.runtime.obj_support.start = (function shadow$remote$runtime$obj_support$start(runtime){ +var state_ref = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"objects","objects",2099713734),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"inspectors","inspectors",-426448246),cljs.core.PersistentHashSet.EMPTY,new cljs.core.Keyword(null,"id-seq-ref","id-seq-ref",-98357047),(0)], null)); +var svc = shadow.remote.runtime.obj_support.add_inspector(shadow.remote.runtime.obj_support.add_inspector(shadow.remote.runtime.obj_support.add_inspector(shadow.remote.runtime.obj_support.add_inspector(shadow.remote.runtime.obj_support.add_inspector(shadow.remote.runtime.obj_support.add_inspector(shadow.remote.runtime.obj_support.add_inspector(shadow.remote.runtime.obj_support.add_inspector(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"runtime","runtime",-1331573996),runtime,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952),state_ref], null),(function (summary,p__36369){ +var map__36375 = p__36369; +var map__36375__$1 = cljs.core.__destructure_map(map__36375); +var entry = map__36375__$1; +var obj = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36375__$1,new cljs.core.Keyword(null,"obj","obj",981763962)); +if((!(shadow.remote.runtime.obj_support.simple_value_QMARK_(obj)))){ +return summary; +} else { +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-get-value","obj-get-value",281897170)); +} +})),(function (summary,entry){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-str","obj-str",1815115325)); +})),(function (summary,p__36381){ +var map__36382 = p__36381; +var map__36382__$1 = cljs.core.__destructure_map(map__36382); +var entry = map__36382__$1; +var obj = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36382__$1,new cljs.core.Keyword(null,"obj","obj",981763962)); +if(shadow.remote.runtime.obj_support.exception_QMARK_(obj)){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-ex-str","obj-ex-str",-639656467)); +} else { +return summary; +} +})),(function (summary,entry){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-edn","obj-edn",809365133)); +})),(function (summary,entry){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-edn-limit","obj-edn-limit",-1550136004)); +})),(function (summary,p__36391){ +var map__36395 = p__36391; +var map__36395__$1 = cljs.core.__destructure_map(map__36395); +var entry = map__36395__$1; +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36395__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +if(((cljs.core.coll_QMARK_(data)) || (cljs.core.seq_QMARK_(data)))){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-pprint","obj-pprint",-1831226802)); +} else { +return summary; +} +})),(function (summary,p__36396){ +var map__36397 = p__36396; +var map__36397__$1 = cljs.core.__destructure_map(map__36397); +var entry = map__36397__$1; +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36397__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +if(((((cljs.core.map_QMARK_(data)) || (((cljs.core.vector_QMARK_(data)) || (((cljs.core.set_QMARK_(data)) || (cljs.core.list_QMARK_(data)))))))) && (cljs.core.seq(data)))){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-nav","obj-nav",1248750622)); +} else { +return summary; +} +})),(function (summary,p__36410){ +var map__36411 = p__36410; +var map__36411__$1 = cljs.core.__destructure_map(map__36411); +var entry = map__36411__$1; +var data = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36411__$1,new cljs.core.Keyword(null,"data","data",-232669377)); +if(((((cljs.core.map_QMARK_(data)) || (((cljs.core.vector_QMARK_(data)) || (((cljs.core.set_QMARK_(data)) || (cljs.core.list_QMARK_(data)))))))) && (cljs.core.seq(data)))){ +return cljs.core.update.cljs$core$IFn$_invoke$arity$4(summary,new cljs.core.Keyword(null,"supports","supports",1501242067),cljs.core.conj,new cljs.core.Keyword(null,"obj-fragment","obj-fragment",1857463161)); +} else { +return summary; +} +})); +shadow.remote.runtime.api.add_extension(runtime,new cljs.core.Keyword("shadow.remote.runtime.obj-support","ext","shadow.remote.runtime.obj-support/ext",-1896569346),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"ops","ops",1237330063),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"obj-forget","obj-forget",2003566115),new cljs.core.Keyword(null,"obj-describe","obj-describe",-34922904),new cljs.core.Keyword(null,"obj-ex-str","obj-ex-str",-639656467),new cljs.core.Keyword(null,"obj-request","obj-request",-1709325811),new cljs.core.Keyword(null,"obj-edn","obj-edn",809365133),new cljs.core.Keyword(null,"obj-pprint","obj-pprint",-1831226802),new cljs.core.Keyword(null,"obj-get-value","obj-get-value",281897170),new cljs.core.Keyword(null,"obj-forget-all","obj-forget-all",1418682131),new cljs.core.Keyword(null,"obj-fragment","obj-fragment",1857463161),new cljs.core.Keyword(null,"obj-edn-limit","obj-edn-limit",-1550136004),new cljs.core.Keyword(null,"obj-str","obj-str",1815115325),new cljs.core.Keyword(null,"obj-nav","obj-nav",1248750622)],[(function (p1__36350_SHARP_){ +return shadow.remote.runtime.obj_support.obj_forget(svc,p1__36350_SHARP_); +}),(function (p1__36340_SHARP_){ +return shadow.remote.runtime.obj_support.obj_describe(svc,p1__36340_SHARP_); +}),(function (p1__36346_SHARP_){ +return shadow.remote.runtime.obj_support.obj_ex_str(svc,p1__36346_SHARP_); +}),(function (p1__36341_SHARP_){ +return shadow.remote.runtime.obj_support.obj_request(svc,p1__36341_SHARP_); +}),(function (p1__36342_SHARP_){ +return shadow.remote.runtime.obj_support.obj_edn(svc,p1__36342_SHARP_); +}),(function (p1__36347_SHARP_){ +return shadow.remote.runtime.obj_support.obj_pprint(svc,p1__36347_SHARP_); +}),(function (p1__36343_SHARP_){ +return shadow.remote.runtime.obj_support.obj_get_value(svc,p1__36343_SHARP_); +}),(function (p1__36351_SHARP_){ +return shadow.remote.runtime.obj_support.obj_forget_all(svc,p1__36351_SHARP_); +}),(function (p1__36349_SHARP_){ +return shadow.remote.runtime.obj_support.obj_fragment(svc,p1__36349_SHARP_); +}),(function (p1__36344_SHARP_){ +return shadow.remote.runtime.obj_support.obj_edn_limit(svc,p1__36344_SHARP_); +}),(function (p1__36345_SHARP_){ +return shadow.remote.runtime.obj_support.obj_str(svc,p1__36345_SHARP_); +}),(function (p1__36348_SHARP_){ +return shadow.remote.runtime.obj_support.obj_nav(svc,p1__36348_SHARP_); +})]),new cljs.core.Keyword(null,"on-idle","on-idle",2044706602),(function (){ +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(state_ref,shadow.remote.runtime.obj_support.basic_gc_BANG_); +})], null)); + +return svc; +}); +shadow.remote.runtime.obj_support.get_tap_history = (function shadow$remote$runtime$obj_support$get_tap_history(p__36428,num){ +var map__36429 = p__36428; +var map__36429__$1 = cljs.core.__destructure_map(map__36429); +var svc = map__36429__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36429__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +return cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"oid","oid",-768692334),cljs.core.take.cljs$core$IFn$_invoke$arity$2(num,cljs.core.reverse(cljs.core.sort_by.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"added-at","added-at",-352499434),cljs.core.filter.cljs$core$IFn$_invoke$arity$2((function (p1__36427_SHARP_){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"tap","tap",-1086702463),cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(p1__36427_SHARP_,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"obj-info","obj-info",-373842651),new cljs.core.Keyword(null,"from","from",1815293044)], null))); +}),cljs.core.vals(new cljs.core.Keyword(null,"objects","objects",2099713734).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref))))))))); +}); +shadow.remote.runtime.obj_support.register = (function shadow$remote$runtime$obj_support$register(p__36433,obj,obj_info){ +var map__36434 = p__36433; +var map__36434__$1 = cljs.core.__destructure_map(map__36434); +var svc = map__36434__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36434__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var oid = shadow.remote.runtime.obj_support.next_oid(); +if((!(((cljs.core.vector_QMARK_(obj)) && (((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword("shadow.remote","wrap","shadow.remote/wrap",996267199),cljs.core.first(obj))) && (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.count(obj),(3))))))))){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(state_ref,shadow.remote.runtime.obj_support.register_STAR_,oid,obj,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([obj_info], 0)); +} else { +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(state_ref,shadow.remote.runtime.obj_support.register_STAR_,oid,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(obj,(1)),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([obj_info,cljs.core.nth.cljs$core$IFn$_invoke$arity$2(obj,(2))], 0))], 0)); +} + +return oid; +}); +shadow.remote.runtime.obj_support.get_ref = (function shadow$remote$runtime$obj_support$get_ref(p__36435,obj_id){ +var map__36436 = p__36435; +var map__36436__$1 = cljs.core.__destructure_map(map__36436); +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36436__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +return cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(cljs.core.deref(state_ref),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"objects","objects",2099713734),obj_id], null)); +}); +shadow.remote.runtime.obj_support.stop = (function shadow$remote$runtime$obj_support$stop(p__36443){ +var map__36444 = p__36443; +var map__36444__$1 = cljs.core.__destructure_map(map__36444); +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36444__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +return shadow.remote.runtime.api.del_extension(runtime,new cljs.core.Keyword("shadow.remote.runtime.obj-support","ext","shadow.remote.runtime.obj-support/ext",-1896569346)); +}); + +//# sourceMappingURL=shadow.remote.runtime.obj_support.js.map diff --git a/out/cljs-runtime/shadow.remote.runtime.obj_support.js.map b/out/cljs-runtime/shadow.remote.runtime.obj_support.js.map new file mode 100644 index 0000000..976fbfb --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.obj_support.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/remote/runtime/obj_support.cljc"],"mappings":";AAkBA,AAAA,AAAA,AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,AAAA,CAAA,AAAA,0FAAA,WAAAA,mBAAAC,xHAAWqE;;AAAX,AAAA,IAAAtE,yBAAA;AAAA,AAAA,OAAAA,+DAAAC,gBAAA;;;AAAA,CAAA,AAAA,0FAAA,WAAAC,mBAAAC,OAAAC,/HAAWkE;;AAAX,AAAA,IAAApE,yBAAA;AAAA,AAAA,IAAAG,WAAAF;IAAAE,eAAA,EAAA,CAAAA,oBAAAC,oBAAA,AAAAD,aAAA;AAAA,AAAA,QAAAA;KAAA;AAAAE;;;KAAA;AAAAC;;;;AAAA,OAAAC,4CAAAC,gBAAAP,OAAAC;;;;;AAAA,CAAA,AAAA,+FAAA,WAAAO,mBAAAC,gBAAAC,7IAAWyD;;AAAX,AAAA,IAAA3D,yBAAA;AAAA,AAAA,OAAAG,+CAAA,WAAAC,kBAAAC;AAAA,AAAA,IAAAC,aAAAD;IAAAE,k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AAClEuF;;AAEJ,4CAAA,oDAAAiP,hGAAME,yGAA6BC;AAAnC,AAAA,IAAAF,aAAAD;IAAAC,iBAAA,AAAAvO,4BAAAuO;gBAAA,AAAAvU,4CAAAuU,eAAA,vEAAuBjN;AAAvB,AACE,sDAAA,AAAAM,2BAAA,mFAAA,7JAACK,+DAAQX,yJAAoBmN;;AAE/B,yCAAA,iDAAAC,1FAAME;AAAN,AAAA,IAAAD,aAAAD;IAAAC,iBAAA,AAAA3O,4BAAA2O;cAAA,AAAA3U,4CAAA2U,eAAA,rEAAoBlM;AAApB,AACE,uDAAA,hDAACoM,wCAAgBpM;;AAEnB","names":["this__5343__auto__","k__5344__auto__","this__5345__auto__","k35937","else__5346__auto__","G__35953","cljs.core/Keyword","obj","extra","cljs.core.get","__extmap","this__5363__auto__","f__5364__auto__","init__5365__auto__","cljs.core.reduce","ret__5366__auto__","p__35959","vec__35963","k__5367__auto__","cljs.core.nth","v__5368__auto__","this__5358__auto__","writer__5359__auto__","opts__5360__auto__","pr-pair__5361__auto__","keyval__5362__auto__","cljs.core/pr-sequential-writer","cljs.core.concat","cljs.core/PersistentVector","G__35936","cljs.core/RecordIter","cljs.core/-iterator","cljs.core/nil-iter","this__5341__auto__","__meta","this__5338__auto__","__hash","this__5347__auto__","cljs.core/count","this__5339__auto__","h__5154__auto__","coll__5340__auto__","cljs.core/hash-unordered-coll","this35938","other35939","cljs.core._EQ_","this__5353__auto__","k__5354__auto__","cljs.core/contains?","cljs.core.dissoc","cljs.core/-with-meta","cljs.core.into","cljs.core/not-empty","this__5350__auto__","G__35992","this__5351__auto__","k__5352__auto__","pred__35997","cljs.core/keyword-identical?","expr__35998","cljs.core.assoc","this__5356__auto__","cljs.core/seq","cljs.core/MapEntry","this__5342__auto__","this__5348__auto__","entry__5349__auto__","cljs.core/vector?","cljs.core/-nth","cljs.core/-conj","shadow.remote.runtime.obj-support/Reference","this__5389__auto__","cljs.core/List","writer__5390__auto__","cljs.core/-write","G__35943","extmap__5385__auto__","G__36005","cljs.core/record?","shadow.remote.runtime.obj-support/->Reference","shadow.remote.runtime.obj-support/map->Reference","var_args","G__36011","shadow.remote.runtime.obj-support/obj-ref","js/Error","shadow.remote.runtime.obj_support.obj_ref","shadow.remote.runtime.obj-support/obj-ref?","result","shadow.remote.runtime.obj-support/now","js/Date.now","shadow.remote.runtime.obj-support/next-oid","cljs.core/random-uuid","shadow.remote.runtime.obj-support/register*","state","oid","obj-info","ts","entry","clojure.datafy/datafy","cljs.core/assoc-in","shadow.remote.runtime.obj-support/obj-type-string","cljs.core.pr_str","cljs.core/type","p__36060","map__36061","cljs.core/--destructure-map","shadow.remote.runtime.obj-support/get-data-type","summary","data","e36063","cljs.core/boolean?","cljs.core/Symbol","cljs.core/map?","cljs.core/set?","cljs.core/list?","cljs.core/seq?","e","p__36074","map__36076","shadow.remote.runtime.obj-support/merge-source-info","cljs.core.merge","cljs.core/select-keys","p__36081","p__36082","map__36084","map__36087","shadow.remote.runtime.obj-support/inspect-entry!","state-ref","this","added-at","shadow.remote.runtime.writer/pr-str-limit","$","inspect-fn","cljs.core/deref","p__36094","map__36095","shadow.remote.runtime.obj-support/obj-describe*","temp__5827__auto__","cljs.core.get_in","cljs.core.swap_BANG_","shadow.remote.runtime.obj-support/handler-with-object","handler-fn","p__36097","p__36098","map__36099","map__36100","runtime","op","msg","cljs.core/not","shadow.remote.runtime.shared/reply","e36102","new-oid","G__36108","G__36109","G__36110","shadow.remote.runtime.obj-support/register","reply-msg","G__36111","js/console.warn","G__36105","G__36106","G__36107","shadow.remote.runtime.obj-support/obj-get-value","p__36112","map__36113","shadow.remote.runtime.obj-support/default-max-print-size","shadow.remote.runtime.obj-support/pick-target","shadow.remote.runtime.obj-support/obj-edn","p__36117","map__36122","limit","target","lw","shadow.remote.runtime.writer/limit-writer","cljs.core/pr-writer","cljs.core/pr-opts","shadow.remote.runtime.writer/get-string","shadow.remote.runtime.obj-support/obj-pprint","p__36130","map__36132","cljs.pprint.pprint","shadow.remote.runtime.obj-support/obj-edn-limit","p__36141","map__36142","shadow.remote.runtime.obj-support/obj-str","p__36148","map__36149","shadow.remote.runtime.obj-support/obj-ex-str","p__36153","map__36157","ex","cljs.repl/error->str","cljs.core.subs","shadow.remote.runtime.obj-support/exception?","x","shadow.remote.runtime.obj-support/simple-value?","val","cljs.core/meta","cljs.core/coll?","cljs.core/empty?","shadow.remote.runtime.obj-support/rank-predicates","cljs.core/nil?","cljs.core/number?","cljs.core/string?","cljs.core/keyword?","cljs.core/symbol?","shadow.remote.runtime.obj-support/rank-val","cljs.core/reduce-kv","res","idx","pred","cljs.core/reduced","shadow.remote.runtime.obj-support/smart-comp","a","b","e36179","cljs.core/compare","ar","br","shadow.remote.runtime.obj-support/attempt-to-sort","coll","cljs.core/vec","e36185","cljs.core.sort","p__36193","map__36194","shadow.remote.runtime.obj-support/cache-view-order","view-order","or__5045__auto__","shadow.remote.runtime.obj-support/obj-nav","p__36201","p__36202","p__36203","map__36204","map__36205","map__36206","nav","clojure.datafy/nav","cljs.core.not_EQ_","cljs.core/keys","key","cljs.core.ex_info","shadow.remote.runtime.obj-support/obj-fragment","p__36220","p__36221","p__36222","map__36223","map__36224","map__36225","start","num","val-limit","map__36228","key-limit","end","x__5133__auto__","y__5134__auto__","idxs","cljs.core.range","fragment","m","e36233","e36235","p__36271","map__36273","shadow.remote.runtime.obj-support/obj-request","request-op","real-handler","G__36275","p__36292","p__36293","map__36294","map__36295","shadow.remote.runtime.obj-support/obj-describe","temp__5821__auto__","p__36312","p__36313","map__36314","map__36315","shadow.remote.runtime.obj-support/obj-forget","svc","cljs.core/update","cljs.core/dissoc","p__36321","map__36322","shadow.remote.runtime.obj-support/obj-forget-all","cljs.core/assoc","shadow.remote.runtime.obj-support/basic-gc!","objs-to-drop","cljs.core/vals","cljs.core.sort_by","cljs.core/reverse","cljs.core.drop","cljs.core.map","cljs.core.update","p__36337","map__36338","shadow.remote.runtime.obj-support/add-inspector","cljs.core/fn?","cljs.core/conj","shadow.remote.runtime.obj-support/start","cljs.core.atom","p__36369","map__36375","p__36381","map__36382","p__36391","map__36395","p__36396","map__36397","p__36410","map__36411","p1__36350#","p1__36340#","p1__36346#","p1__36341#","p1__36342#","p1__36347#","p1__36343#","p1__36351#","p1__36349#","p1__36344#","p1__36345#","p1__36348#","shadow.remote.runtime.api/add-extension","p__36428","map__36429","shadow.remote.runtime.obj-support/get-tap-history","p1__36427#","cljs.core.filter","cljs.core.take","p__36433","map__36434","cljs.core/first","p__36435","map__36436","shadow.remote.runtime.obj-support/get-ref","obj-id","p__36443","map__36444","shadow.remote.runtime.obj-support/stop","shadow.remote.runtime.api/del-extension"],"sourcesContent":["(ns shadow.remote.runtime.obj-support\n (:require\n [clojure.datafy :as d]\n [clojure.pprint :refer (pprint)]\n [clojure.spec.alpha :as spec]\n [shadow.remote.runtime.api :as p]\n [shadow.remote.runtime.shared :as shared]\n [shadow.remote.runtime.writer :as lw]\n ;; FIXME: I do not like importing these here\n ;; need to extract shadow-cljs functions if I ever move shadow.remote out\n ;; cljs.repl has way too much other stuff on the CLJ side not error related we don't really need here\n ;; should just have one namespace only concerned with formatting errors\n ;; maybe even as separate plugin\n #?@(:clj [[shadow.cljs.devtools.errors :refer (error-format)]\n [shadow.jvm-log]]\n :cljs [[cljs.repl :refer (error->str)]]))\n #?(:clj (:import [java.util UUID])))\n\n(defrecord Reference [obj extra])\n\n(defn obj-ref\n ([obj]\n (obj-ref obj nil))\n ([obj extra]\n (when (some? obj)\n (Reference. obj extra))))\n\n(defn obj-ref? [result]\n (instance? Reference result))\n\n(defn now []\n #?(:clj\n (System/currentTimeMillis)\n :cljs\n (js/Date.now)))\n\n(defn next-oid []\n #?(:clj\n (str (UUID/randomUUID))\n :cljs\n (str (random-uuid))))\n\n(defn register*\n [state oid obj obj-info]\n\n (let [ts\n (now)\n\n entry\n {:obj obj\n :data (d/datafy obj)\n :obj-info obj-info\n :added-at ts\n :access-at ts ;; tracking that for GC purposes\n :oid oid}]\n\n (assoc-in state [:objects oid] entry)))\n\n(declare register)\n\n(defn obj-type-string [obj]\n (if (nil? obj)\n \"nil\"\n #?(:clj\n (str (when (fn? obj) \"function: \") (-> (class obj) (.getName)))\n :cljs\n (pr-str (type obj)))))\n\n\n(defn get-data-type [summary {:keys [data] :as entry}]\n (try\n (cond\n (nil? data)\n (assoc summary :data-type :nil)\n\n (string? data)\n (assoc summary :data-type :string :data-count (count data))\n\n (boolean? data)\n (assoc summary :data-type :boolean)\n\n (number? data)\n (assoc summary :data-type :number)\n\n (keyword? data)\n (assoc summary :data-type :keyword)\n\n (symbol? data)\n (assoc summary :data-type :symbol)\n\n (map? data)\n (assoc summary :data-type :map :data-count (count data))\n\n (vector? data)\n (assoc summary :data-type :vec :data-count (count data))\n\n (set? data)\n (assoc summary :data-type :set :data-count (count data))\n\n (list? data)\n (assoc summary :data-type :list :data-count (count data))\n\n ;; lazy seqs\n (seq? data)\n (assoc summary :data-type :seq)\n\n :else\n (assoc summary :data-type :unsupported))\n\n (catch #?(:cljs :default :clj Exception) e\n ;; just in case any of the above fail, leaving marker for debugging later\n ;; intentionally dropping exception, since handling it breaks flow\n #?(:clj (shadow.jvm-log/warn-ex e ::get-data-type-fail))\n\n (assoc summary :data-type :unsupported :data-type-fail true))))\n\n(defn merge-source-info [summary {:keys [obj-info]}]\n (merge summary (select-keys obj-info [:ns :line :column :label])))\n\n(defn inspect-entry!\n [{:keys [state-ref] :as this}\n {:keys [obj data added-at] :as entry}]\n\n (-> {:added-at added-at\n :datafied (not (identical? data obj))\n :obj-type (obj-type-string obj)\n :preview (lw/pr-str-limit obj 250)\n :supports #{}}\n (get-data-type entry)\n (merge-source-info entry)\n (as-> $\n (reduce\n (fn [summary inspect-fn]\n (inspect-fn summary entry))\n $\n (:inspectors @state-ref)))))\n\n(defn obj-describe*\n [{:keys [state-ref] :as this}\n oid]\n (when-some [entry (get-in @state-ref [:objects oid])]\n (swap! state-ref assoc-in [:objects oid :access-at] (now))\n (inspect-entry! this entry)))\n\n(defn handler-with-object\n [handler-fn]\n (fn [{:keys [state-ref runtime] :as this}\n {:keys [op oid] :as msg}]\n\n (let [entry (get-in @state-ref [:objects oid])]\n (if-not entry\n (shared/reply runtime msg {:op :obj-not-found :oid oid})\n\n (try\n (swap! state-ref assoc-in [:objects oid :access-at] (now))\n\n (let [result (handler-fn this entry msg)]\n\n ;; FIXME: add support for generic async results\n ;; all handlers should already be sync but allow async results\n (if-not (obj-ref? result)\n (shared/reply runtime msg\n {:op :obj-result\n :oid oid\n :result result})\n\n (let [new-oid\n (register this (:obj result) {})\n\n reply-msg\n (-> {:op :obj-result-ref\n :oid oid\n :ref-oid new-oid}\n (cond->\n ;; only send new-obj :summary when requested\n (:summary msg)\n (assoc :summary (obj-describe* this new-oid))\n\n (:extra result)\n (merge (:extra result))))]\n (shared/reply runtime msg reply-msg))))\n\n (catch #?(:clj Exception :cljs :default) e\n #?(:cljs (js/console.warn \"action-request-action failed\" (:obj entry) e)\n :clj (shadow.jvm-log/warn-ex e ::obj-request-failed msg))\n (shared/reply runtime msg\n {:op :obj-request-failed\n :oid oid\n :msg msg\n :ex-oid (register this e {:msg msg})})))))))\n\n(def obj-get-value\n (handler-with-object\n (fn [this {:keys [obj] :as entry} msg]\n obj)))\n\n;; 1meg?\n(def default-max-print-size (* 1 1024 1024))\n\n;; FIXME: should there be different ops for data and obj instead of a flag in the msg?\n(defn pick-target [entry msg]\n (if (:original msg)\n (:obj entry)\n (:data entry)))\n\n(def obj-edn\n (handler-with-object\n (fn [this entry {:keys [limit] :or {limit default-max-print-size} :as msg}]\n (let [target (pick-target entry msg)\n lw (lw/limit-writer limit)]\n #?(:clj\n (print-method target lw)\n :cljs\n (pr-writer target lw (pr-opts)))\n (lw/get-string lw)))))\n\n(def obj-pprint\n (handler-with-object\n (fn [this entry {:keys [limit] :or {limit default-max-print-size} :as msg}]\n ;; CLJ pprint for some reason doesn't run out of memory when printing circular stuff\n ;; but it never finishes either\n (let [target (pick-target entry msg)\n lw (lw/limit-writer limit)]\n (pprint target lw)\n (lw/get-string lw)))))\n\n(def obj-edn-limit\n (handler-with-object\n (fn [this entry {:keys [limit] :as msg}]\n (lw/pr-str-limit (pick-target entry msg) limit))))\n\n(def obj-str\n (handler-with-object\n (fn [this {:keys [obj] :as entry} msg]\n (str obj)\n )))\n\n(def obj-ex-str\n (handler-with-object\n (fn [this {ex :obj :as entry} msg]\n #?(:cljs\n (if (instance? js/Error ex)\n (error->str ex)\n (str \"Execution error:\\n\"\n ;; can be any object, really no hope in making this any kind of readable\n ;; capping it so throwing something large doesn't blow up the REPL\n \" \" (subs (lw/pr-str-limit ex 200) 2) \"\\n\"\n \"\\n\"))\n\n :clj\n (error-format ex)))))\n\n(defn exception? [x]\n #?(:clj (instance? java.lang.Throwable x)\n ;; everything can be thrown in JS\n ;; (throw \"x\")\n ;; (throw (js/Promise.resolved \"x\"))\n :cljs true ;; (instance? js/Error x)\n ))\n\n(defn simple-value? [val]\n ;; anything that serializes to less than 32 bytes (ref-id is md5 hex string)\n ;; should just be sent as is, bypassing all the ref logic\n (or (nil? val)\n (boolean? val)\n (number? val)\n (keyword? val)\n ;; symbols only without meta\n (and (symbol? val) (nil? (meta val)))\n ;; small strings only\n (and (string? val) (> 64 (count val)))\n ;; empty cols with no meta\n (and (coll? val) (empty? val) (nil? (meta val)))))\n\n(def rank-predicates\n [nil?\n boolean?\n number?\n string?\n keyword?\n symbol?\n vector?\n map?\n list?])\n\n(defn rank-val [val]\n (reduce-kv\n (fn [res idx pred]\n (if (pred val)\n (reduced idx)\n res))\n -1\n rank-predicates))\n\n(defn smart-comp [a b]\n (try\n (compare a b)\n (catch #?(:clj Exception :cljs js/Error) e\n (let [ar (rank-val a)\n br (rank-val b)]\n (compare ar br)))))\n\n(defn attempt-to-sort [coll]\n (vec\n (try\n (sort smart-comp coll)\n (catch #?(:clj Exception :cljs :default) e\n coll))))\n\n(defn cache-view-order [state-ref {:keys [oid view-order]} coll]\n (or view-order\n (let [view-order (attempt-to-sort coll)]\n (swap! state-ref assoc-in [:objects oid :view-order] view-order)\n view-order\n )))\n\n(def obj-nav\n (handler-with-object\n (fn [{:keys [state-ref]} {:keys [data] :as entry} {:keys [idx] :as msg}]\n (cond\n (or (vector? data) (list? data))\n (let [val (nth data idx)\n nav (d/nav data idx val)]\n ;; using not= since the value might not be identical but equal\n ;; nav may attach more metadata without altering actual value\n (obj-ref nav {:nav? (not= val nav)}))\n\n (map? data)\n (let [view-order (cache-view-order state-ref entry (keys data))\n key (nth view-order idx)\n val (get data key)\n nav (d/nav data key val)]\n (obj-ref nav {:nav? (not= val nav)}))\n\n (set? data)\n (let [view-order (cache-view-order state-ref entry data)\n val (nth view-order idx)\n nav (d/nav data idx val)]\n (obj-ref nav {:nav? (not= val nav)}))\n\n :else\n (throw (ex-info \"nav not supported?\" entry))))))\n\n(def obj-fragment\n (handler-with-object\n (fn\n [{:keys [state-ref]}\n {:keys [data] :as entry}\n {:keys [start num val-limit]\n :or {val-limit 100}\n :as msg}]\n (cond\n (map? data)\n (let [{:keys [key-limit] :or {key-limit 100}} msg\n view-order (cache-view-order state-ref entry (keys data))\n end (min (count view-order) (+ start num))\n idxs (range start end)\n fragment\n (reduce\n (fn [m idx]\n (let [key (nth view-order idx)\n val (get data key)]\n (assoc m idx {:key (try\n (lw/pr-str-limit key key-limit)\n (catch #?(:clj Exception :cljs :default) e\n [true \"... print failed ...\"]))\n :val (try\n (lw/pr-str-limit val val-limit)\n (catch #?(:clj Exception :cljs :default) e\n [true \"... print failed ...\"]))})))\n {}\n idxs)]\n\n fragment)\n\n (vector? data)\n (let [end (min (count data) (+ start num))\n idxs (range start end)\n fragment\n (reduce\n (fn [m idx]\n (let [val (nth data idx)]\n (assoc m idx {:val (lw/pr-str-limit val val-limit)})))\n {}\n idxs)]\n fragment)\n\n (list? data)\n (let [end (min (count data) (+ start num))\n idxs (range start end)\n fragment\n (reduce\n (fn [m idx]\n (let [val (nth data idx)]\n (assoc m idx {:val (lw/pr-str-limit val val-limit)})))\n {}\n idxs)]\n\n fragment)\n\n (set? data)\n (let [view-order (cache-view-order state-ref entry data)\n end (min (count view-order) (+ start num))\n idxs (range start end)\n fragment\n (reduce\n (fn [m idx]\n (let [val (nth view-order idx)]\n (assoc m idx {:val (lw/pr-str-limit val val-limit)})))\n {}\n idxs)]\n\n fragment)))))\n\n;; keeping this for backwards compatibility, found at least two libs using it\n;; https://github.com/eerohele/Tutkain/blob/34b1ae9147a28faa9badedf3818f69bbb9e0e4ef/clojure/src/tutkain/shadow.clj#L234\n;; https://github.com/mauricioszabo/repl-tooling/blob/b4962dd39b84d60cbd087a96ba6fccb1bffd0bd6/src/repl_tooling/repl_client/shadow_ws.cljs\n\n(defn obj-request [this {:keys [request-op] :as msg}]\n (let [real-handler\n (case request-op\n :str obj-str\n :ex-str obj-ex-str\n :edn obj-edn\n :edn-limit obj-edn\n :pprint this\n :nav this\n :fragment obj-fragment)]\n (real-handler this msg)))\n\n(comment\n (defn pageable-seq [{:keys [data] :as desc}]\n ;; data is always beginning of seq\n (let [seq-state-ref\n (atom {:tail data ;; track where we are at\n :realized []})]\n (-> desc\n (assoc :seq-state-ref seq-state-ref)\n (assoc-in [:handlers :nav]\n (fn [{:keys [idx]}]\n ;; FIXME: should validate that idx is actually realized\n (let [val (nth (:realized @seq-state-ref) idx)\n ;; FIXME: not sure there are many cases where lazy seqs actually have nav?\n nav (d/nav data idx val)]\n (obj-ref nav))))\n (assoc-in [:handlers :chunk]\n (fn [{:keys [start num val-limit]\n :or {val-limit 100}\n :as msg}]\n\n ;; need locking otherwise threads may realize more than once\n ;; shouldn't be much of an issue but better be safe\n (locking seq-state-ref\n (let [{:keys [tail realized] :as seq-state} @seq-state-ref\n\n end (+ start num)\n missing (- end (count realized))\n\n [tail realized]\n (loop [tail tail\n realized realized\n missing missing]\n (if-not (pos? missing)\n [tail realized]\n (let [next (first tail)]\n (if (nil? next)\n [nil realized]\n (recur (rest tail) (conj realized next) (dec missing))))))\n\n idxs (range start (min end (count realized)))\n fragment\n (reduce\n (fn [m idx]\n (let [val (nth realized idx)]\n (assoc m idx {:val (lw/pr-str-limit val val-limit)})))\n {}\n idxs)]\n\n (swap! seq-state-ref assoc :tail tail :realized realized)\n\n {:start start\n :realized (count realized)\n :fragment fragment\n :more? (or (> (count realized) end) (some? tail))})))))))\n\n (def x (pageable-seq {:data (map (fn [x] (prn [:realize x]) x) (range 10))}))\n\n (let [chunk (get-in x [:handlers :chunk])]\n (chunk {:start 0 :num 5})\n )\n\n (let [chunk (get-in x [:handlers :chunk])]\n (chunk {:start 5 :num 10})\n ))\n\n(defn obj-describe\n [{:keys [runtime] :as this}\n {:keys [oid] :as msg}]\n (if-let [summary (obj-describe* this oid)]\n (shared/reply runtime msg {:op :obj-summary :oid oid :summary summary})\n (shared/reply runtime msg {:op :obj-not-found :oid oid})))\n\n(defn obj-forget\n [{:keys [state-ref] :as svc}\n {:keys [oid] :as msg}]\n (swap! state-ref update :objects dissoc oid))\n\n(defn obj-forget-all\n [{:keys [state-ref] :as svc}\n msg]\n (swap! state-ref assoc :objects {}))\n\n(defn basic-gc! [state]\n (let [objs-to-drop\n (->> (:objects state)\n (vals)\n (sort-by :access-at)\n (reverse)\n (drop 100) ;; FIXME: make configurable\n (map :oid))]\n\n (reduce\n (fn [state oid]\n (update state :objects dissoc oid))\n state\n objs-to-drop)))\n\n(defn add-inspector\n [{:keys [state-ref] :as this} inspect-fn]\n {:pre [(fn? inspect-fn)]}\n (swap! state-ref update :inspectors conj inspect-fn)\n this)\n\n(defn start [runtime]\n (let [state-ref\n (atom {:objects {}\n :inspectors #{}\n :id-seq-ref 0})\n\n svc\n (-> {:runtime runtime\n :state-ref state-ref}\n\n (add-inspector\n (fn [summary {:keys [obj] :as entry}]\n (if-not (simple-value? obj)\n summary\n (update summary :supports conj :obj-get-value))))\n\n (add-inspector\n (fn [summary entry]\n (update summary :supports conj :obj-str)))\n\n (add-inspector\n (fn [summary {:keys [obj] :as entry}]\n (if (exception? obj)\n (update summary :supports conj :obj-ex-str)\n summary)))\n\n ;; FIXME: maybe only support these for clojure types?\n (add-inspector\n (fn [summary entry]\n (update summary :supports conj :obj-edn)))\n\n (add-inspector\n (fn [summary entry]\n (update summary :supports conj :obj-edn-limit)))\n\n (add-inspector\n (fn [summary {:keys [data] :as entry}]\n (if (or (coll? data) (seq? data))\n (update summary :supports conj :obj-pprint)\n summary)))\n\n (add-inspector\n (fn [summary {:keys [data] :as entry}]\n (if (and (or (map? data) (vector? data) (set? data) (list? data))\n (seq data))\n (update summary :supports conj :obj-nav)\n summary)))\n\n (add-inspector\n (fn [summary {:keys [data] :as entry}]\n (if (and (or (map? data) (vector? data) (set? data) (list? data))\n (seq data))\n (update summary :supports conj :obj-fragment)\n summary)))\n )]\n\n (p/add-extension runtime\n ::ext\n {:ops {:obj-describe #(obj-describe svc %)\n :obj-request #(obj-request svc %)\n :obj-edn #(obj-edn svc %)\n :obj-get-value #(obj-get-value svc %)\n :obj-edn-limit #(obj-edn-limit svc %)\n :obj-str #(obj-str svc %)\n :obj-ex-str #(obj-ex-str svc %)\n :obj-pprint #(obj-pprint svc %)\n :obj-nav #(obj-nav svc %)\n :obj-fragment #(obj-fragment svc %)\n :obj-forget #(obj-forget svc %)\n :obj-forget-all #(obj-forget-all svc %)}\n :on-idle #(swap! state-ref basic-gc!)})\n\n svc))\n\n(defn get-tap-history [{:keys [state-ref] :as svc} num]\n (->> (:objects @state-ref)\n (vals)\n (filter #(= :tap (get-in % [:obj-info :from])))\n (sort-by :added-at)\n (reverse)\n (take num)\n (map :oid)\n (into [])))\n\n(defn register [{:keys [state-ref] :as svc} obj obj-info]\n (let [oid (next-oid)]\n (if-not (and (vector? obj) (= :shadow.remote/wrap (first obj)) (= (count obj) 3))\n (swap! state-ref register* oid obj obj-info)\n (swap! state-ref register* oid (nth obj 1) (merge obj-info (nth obj 2))))\n oid))\n\n(defn get-ref [{:keys [state-ref]} obj-id]\n (get-in @state-ref [:objects obj-id]))\n\n(defn stop [{:keys [runtime]}]\n (p/del-extension runtime ::ext))\n\n(comment\n (def obj-support (:clj-runtime-obj-support (shadow.cljs.devtools.server.runtime/get-instance)))\n (swap! (:state-ref obj-support) assoc :objects {})\n )"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.remote.runtime.shared.js b/out/cljs-runtime/shadow.remote.runtime.shared.js new file mode 100644 index 0000000..e8f91bb --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.shared.js @@ -0,0 +1,466 @@ +goog.provide('shadow.remote.runtime.shared'); +shadow.remote.runtime.shared.init_state = (function shadow$remote$runtime$shared$init_state(client_info){ +return new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"extensions","extensions",-1103629196),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"ops","ops",1237330063),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"client-info","client-info",1958982504),client_info,new cljs.core.Keyword(null,"call-id-seq","call-id-seq",-1679248218),(0),new cljs.core.Keyword(null,"call-handlers","call-handlers",386605551),cljs.core.PersistentArrayMap.EMPTY], null); +}); +shadow.remote.runtime.shared.now = (function shadow$remote$runtime$shared$now(){ +return Date.now(); +}); +shadow.remote.runtime.shared.get_client_id = (function shadow$remote$runtime$shared$get_client_id(p__30791){ +var map__30792 = p__30791; +var map__30792__$1 = cljs.core.__destructure_map(map__30792); +var runtime = map__30792__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30792__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var or__5045__auto__ = new cljs.core.Keyword(null,"client-id","client-id",-464622140).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref)); +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("runtime has no assigned runtime-id",new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"runtime","runtime",-1331573996),runtime], null)); +} +}); +shadow.remote.runtime.shared.relay_msg = (function shadow$remote$runtime$shared$relay_msg(runtime,msg){ +var self_id_31017 = shadow.remote.runtime.shared.get_client_id(runtime); +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"to","to",192099007).cljs$core$IFn$_invoke$arity$1(msg),self_id_31017)){ +shadow.remote.runtime.api.relay_msg(runtime,msg); +} else { +Promise.resolve((1)).then((function (){ +var G__30801 = runtime; +var G__30802 = cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(msg,new cljs.core.Keyword(null,"from","from",1815293044),self_id_31017); +return (shadow.remote.runtime.shared.process.cljs$core$IFn$_invoke$arity$2 ? shadow.remote.runtime.shared.process.cljs$core$IFn$_invoke$arity$2(G__30801,G__30802) : shadow.remote.runtime.shared.process.call(null, G__30801,G__30802)); +})); +} + +return msg; +}); +shadow.remote.runtime.shared.reply = (function shadow$remote$runtime$shared$reply(runtime,p__30804,res){ +var map__30805 = p__30804; +var map__30805__$1 = cljs.core.__destructure_map(map__30805); +var call_id = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30805__$1,new cljs.core.Keyword(null,"call-id","call-id",1043012968)); +var from = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30805__$1,new cljs.core.Keyword(null,"from","from",1815293044)); +var res__$1 = (function (){var G__30806 = res; +var G__30806__$1 = (cljs.core.truth_(call_id)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__30806,new cljs.core.Keyword(null,"call-id","call-id",1043012968),call_id):G__30806); +if(cljs.core.truth_(from)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__30806__$1,new cljs.core.Keyword(null,"to","to",192099007),from); +} else { +return G__30806__$1; +} +})(); +return shadow.remote.runtime.api.relay_msg(runtime,res__$1); +}); +shadow.remote.runtime.shared.call = (function shadow$remote$runtime$shared$call(var_args){ +var G__30811 = arguments.length; +switch (G__30811) { +case 3: +return shadow.remote.runtime.shared.call.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return shadow.remote.runtime.shared.call.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(shadow.remote.runtime.shared.call.cljs$core$IFn$_invoke$arity$3 = (function (runtime,msg,handlers){ +return shadow.remote.runtime.shared.call.cljs$core$IFn$_invoke$arity$4(runtime,msg,handlers,(0)); +})); + +(shadow.remote.runtime.shared.call.cljs$core$IFn$_invoke$arity$4 = (function (p__30813,msg,handlers,timeout_after_ms){ +var map__30814 = p__30813; +var map__30814__$1 = cljs.core.__destructure_map(map__30814); +var runtime = map__30814__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30814__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +if(cljs.core.map_QMARK_(msg)){ +} else { +throw (new Error("Assert failed: (map? msg)")); +} + +if(cljs.core.map_QMARK_(handlers)){ +} else { +throw (new Error("Assert failed: (map? handlers)")); +} + +if(cljs.core.nat_int_QMARK_(timeout_after_ms)){ +} else { +throw (new Error("Assert failed: (nat-int? timeout-after-ms)")); +} + +var call_id = new cljs.core.Keyword(null,"call-id-seq","call-id-seq",-1679248218).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(state_ref,cljs.core.update,new cljs.core.Keyword(null,"call-id-seq","call-id-seq",-1679248218),cljs.core.inc); + +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(state_ref,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"call-handlers","call-handlers",386605551),call_id], null),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"handlers","handlers",79528781),handlers,new cljs.core.Keyword(null,"called-at","called-at",607081160),shadow.remote.runtime.shared.now(),new cljs.core.Keyword(null,"msg","msg",-1386103444),msg,new cljs.core.Keyword(null,"timeout","timeout",-318625318),timeout_after_ms], null)); + +return shadow.remote.runtime.api.relay_msg(runtime,cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(msg,new cljs.core.Keyword(null,"call-id","call-id",1043012968),call_id)); +})); + +(shadow.remote.runtime.shared.call.cljs$lang$maxFixedArity = 4); + +shadow.remote.runtime.shared.trigger_BANG_ = (function shadow$remote$runtime$shared$trigger_BANG_(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___31027 = arguments.length; +var i__5770__auto___31028 = (0); +while(true){ +if((i__5770__auto___31028 < len__5769__auto___31027)){ +args__5775__auto__.push((arguments[i__5770__auto___31028])); + +var G__31029 = (i__5770__auto___31028 + (1)); +i__5770__auto___31028 = G__31029; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return shadow.remote.runtime.shared.trigger_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(shadow.remote.runtime.shared.trigger_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (p__30827,ev,args){ +var map__30828 = p__30827; +var map__30828__$1 = cljs.core.__destructure_map(map__30828); +var runtime = map__30828__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30828__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var seq__30829 = cljs.core.seq(cljs.core.vals(new cljs.core.Keyword(null,"extensions","extensions",-1103629196).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref)))); +var chunk__30832 = null; +var count__30833 = (0); +var i__30834 = (0); +while(true){ +if((i__30834 < count__30833)){ +var ext = chunk__30832.cljs$core$IIndexed$_nth$arity$2(null, i__30834); +var ev_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$2(ext,ev); +if(cljs.core.truth_(ev_fn)){ +cljs.core.apply.cljs$core$IFn$_invoke$arity$2(ev_fn,args); + + +var G__31032 = seq__30829; +var G__31033 = chunk__30832; +var G__31034 = count__30833; +var G__31035 = (i__30834 + (1)); +seq__30829 = G__31032; +chunk__30832 = G__31033; +count__30833 = G__31034; +i__30834 = G__31035; +continue; +} else { +var G__31037 = seq__30829; +var G__31038 = chunk__30832; +var G__31039 = count__30833; +var G__31040 = (i__30834 + (1)); +seq__30829 = G__31037; +chunk__30832 = G__31038; +count__30833 = G__31039; +i__30834 = G__31040; +continue; +} +} else { +var temp__5823__auto__ = cljs.core.seq(seq__30829); +if(temp__5823__auto__){ +var seq__30829__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__30829__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__30829__$1); +var G__31042 = cljs.core.chunk_rest(seq__30829__$1); +var G__31043 = c__5568__auto__; +var G__31044 = cljs.core.count(c__5568__auto__); +var G__31045 = (0); +seq__30829 = G__31042; +chunk__30832 = G__31043; +count__30833 = G__31044; +i__30834 = G__31045; +continue; +} else { +var ext = cljs.core.first(seq__30829__$1); +var ev_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$2(ext,ev); +if(cljs.core.truth_(ev_fn)){ +cljs.core.apply.cljs$core$IFn$_invoke$arity$2(ev_fn,args); + + +var G__31046 = cljs.core.next(seq__30829__$1); +var G__31047 = null; +var G__31048 = (0); +var G__31049 = (0); +seq__30829 = G__31046; +chunk__30832 = G__31047; +count__30833 = G__31048; +i__30834 = G__31049; +continue; +} else { +var G__31050 = cljs.core.next(seq__30829__$1); +var G__31051 = null; +var G__31052 = (0); +var G__31053 = (0); +seq__30829 = G__31050; +chunk__30832 = G__31051; +count__30833 = G__31052; +i__30834 = G__31053; +continue; +} +} +} else { +return null; +} +} +break; +} +})); + +(shadow.remote.runtime.shared.trigger_BANG_.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(shadow.remote.runtime.shared.trigger_BANG_.cljs$lang$applyTo = (function (seq30815){ +var G__30816 = cljs.core.first(seq30815); +var seq30815__$1 = cljs.core.next(seq30815); +var G__30817 = cljs.core.first(seq30815__$1); +var seq30815__$2 = cljs.core.next(seq30815__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__30816,G__30817,seq30815__$2); +})); + +shadow.remote.runtime.shared.welcome = (function shadow$remote$runtime$shared$welcome(p__30851,p__30852){ +var map__30853 = p__30851; +var map__30853__$1 = cljs.core.__destructure_map(map__30853); +var runtime = map__30853__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30853__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var map__30855 = p__30852; +var map__30855__$1 = cljs.core.__destructure_map(map__30855); +var msg = map__30855__$1; +var client_id = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30855__$1,new cljs.core.Keyword(null,"client-id","client-id",-464622140)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(state_ref,cljs.core.assoc,new cljs.core.Keyword(null,"client-id","client-id",-464622140),client_id,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"welcome","welcome",-578152123),true], 0)); + +var map__30857 = cljs.core.deref(state_ref); +var map__30857__$1 = cljs.core.__destructure_map(map__30857); +var client_info = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30857__$1,new cljs.core.Keyword(null,"client-info","client-info",1958982504)); +var extensions = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30857__$1,new cljs.core.Keyword(null,"extensions","extensions",-1103629196)); +shadow.remote.runtime.shared.relay_msg(runtime,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"hello","hello",-245025397),new cljs.core.Keyword(null,"client-info","client-info",1958982504),client_info], null)); + +return shadow.remote.runtime.shared.trigger_BANG_(runtime,new cljs.core.Keyword(null,"on-welcome","on-welcome",1895317125)); +}); +shadow.remote.runtime.shared.ping = (function shadow$remote$runtime$shared$ping(runtime,msg){ +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"pong","pong",-172484958)], null)); +}); +shadow.remote.runtime.shared.request_supported_ops = (function shadow$remote$runtime$shared$request_supported_ops(p__30864,msg){ +var map__30865 = p__30864; +var map__30865__$1 = cljs.core.__destructure_map(map__30865); +var runtime = map__30865__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30865__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"supported-ops","supported-ops",337914702),new cljs.core.Keyword(null,"ops","ops",1237330063),cljs.core.disj.cljs$core$IFn$_invoke$arity$variadic(cljs.core.set(cljs.core.keys(new cljs.core.Keyword(null,"ops","ops",1237330063).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref)))),new cljs.core.Keyword(null,"welcome","welcome",-578152123),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"unknown-relay-op","unknown-relay-op",170832753),new cljs.core.Keyword(null,"unknown-op","unknown-op",1900385996),new cljs.core.Keyword(null,"request-supported-ops","request-supported-ops",-1034994502),new cljs.core.Keyword(null,"tool-disconnect","tool-disconnect",189103996)], 0))], null)); +}); +shadow.remote.runtime.shared.unknown_relay_op = (function shadow$remote$runtime$shared$unknown_relay_op(msg){ +return console.warn("unknown-relay-op",msg); +}); +shadow.remote.runtime.shared.unknown_op = (function shadow$remote$runtime$shared$unknown_op(msg){ +return console.warn("unknown-op",msg); +}); +shadow.remote.runtime.shared.add_extension_STAR_ = (function shadow$remote$runtime$shared$add_extension_STAR_(p__30869,key,p__30870){ +var map__30871 = p__30869; +var map__30871__$1 = cljs.core.__destructure_map(map__30871); +var state = map__30871__$1; +var extensions = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30871__$1,new cljs.core.Keyword(null,"extensions","extensions",-1103629196)); +var map__30872 = p__30870; +var map__30872__$1 = cljs.core.__destructure_map(map__30872); +var spec = map__30872__$1; +var ops = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30872__$1,new cljs.core.Keyword(null,"ops","ops",1237330063)); +var transit_write_handlers = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30872__$1,new cljs.core.Keyword(null,"transit-write-handlers","transit-write-handlers",1886308716)); +if(cljs.core.contains_QMARK_(extensions,key)){ +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("extension already registered",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),key,new cljs.core.Keyword(null,"spec","spec",347520401),spec], null)); +} else { +} + +return cljs.core.reduce_kv((function (state__$1,op_kw,op_handler){ +if(cljs.core.truth_(cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(state__$1,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ops","ops",1237330063),op_kw], null)))){ +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("op already registered",new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),key,new cljs.core.Keyword(null,"op","op",-1882987955),op_kw], null)); +} else { +} + +return cljs.core.assoc_in(state__$1,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ops","ops",1237330063),op_kw], null),op_handler); +}),cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"extensions","extensions",-1103629196),key], null),spec),ops); +}); +shadow.remote.runtime.shared.add_extension = (function shadow$remote$runtime$shared$add_extension(p__30880,key,spec){ +var map__30881 = p__30880; +var map__30881__$1 = cljs.core.__destructure_map(map__30881); +var runtime = map__30881__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30881__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(state_ref,shadow.remote.runtime.shared.add_extension_STAR_,key,spec); + +var temp__5827__auto___31057 = new cljs.core.Keyword(null,"on-welcome","on-welcome",1895317125).cljs$core$IFn$_invoke$arity$1(spec); +if((temp__5827__auto___31057 == null)){ +} else { +var on_welcome_31058 = temp__5827__auto___31057; +if(cljs.core.truth_(new cljs.core.Keyword(null,"welcome","welcome",-578152123).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref)))){ +(on_welcome_31058.cljs$core$IFn$_invoke$arity$0 ? on_welcome_31058.cljs$core$IFn$_invoke$arity$0() : on_welcome_31058.call(null, )); +} else { +} +} + +return runtime; +}); +shadow.remote.runtime.shared.add_defaults = (function shadow$remote$runtime$shared$add_defaults(runtime){ +return shadow.remote.runtime.shared.add_extension(runtime,new cljs.core.Keyword("shadow.remote.runtime.shared","defaults","shadow.remote.runtime.shared/defaults",-1821257543),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"ops","ops",1237330063),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"welcome","welcome",-578152123),(function (p1__30882_SHARP_){ +return shadow.remote.runtime.shared.welcome(runtime,p1__30882_SHARP_); +}),new cljs.core.Keyword(null,"unknown-relay-op","unknown-relay-op",170832753),(function (p1__30883_SHARP_){ +return shadow.remote.runtime.shared.unknown_relay_op(p1__30883_SHARP_); +}),new cljs.core.Keyword(null,"unknown-op","unknown-op",1900385996),(function (p1__30884_SHARP_){ +return shadow.remote.runtime.shared.unknown_op(p1__30884_SHARP_); +}),new cljs.core.Keyword(null,"ping","ping",-1670114784),(function (p1__30885_SHARP_){ +return shadow.remote.runtime.shared.ping(runtime,p1__30885_SHARP_); +}),new cljs.core.Keyword(null,"request-supported-ops","request-supported-ops",-1034994502),(function (p1__30886_SHARP_){ +return shadow.remote.runtime.shared.request_supported_ops(runtime,p1__30886_SHARP_); +})], null)], null)); +}); +shadow.remote.runtime.shared.del_extension_STAR_ = (function shadow$remote$runtime$shared$del_extension_STAR_(state,key){ +var ext = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"extensions","extensions",-1103629196),key], null)); +if(cljs.core.not(ext)){ +return state; +} else { +return cljs.core.reduce_kv((function (state__$1,op_kw,op_handler){ +return cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(state__$1,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ops","ops",1237330063)], null),cljs.core.dissoc,op_kw); +}),cljs.core.update.cljs$core$IFn$_invoke$arity$4(state,new cljs.core.Keyword(null,"extensions","extensions",-1103629196),cljs.core.dissoc,key),new cljs.core.Keyword(null,"ops","ops",1237330063).cljs$core$IFn$_invoke$arity$1(ext)); +} +}); +shadow.remote.runtime.shared.del_extension = (function shadow$remote$runtime$shared$del_extension(p__30892,key){ +var map__30893 = p__30892; +var map__30893__$1 = cljs.core.__destructure_map(map__30893); +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30893__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(state_ref,shadow.remote.runtime.shared.del_extension_STAR_,key); +}); +shadow.remote.runtime.shared.unhandled_call_result = (function shadow$remote$runtime$shared$unhandled_call_result(call_config,msg){ +return console.warn("unhandled call result",msg,call_config); +}); +shadow.remote.runtime.shared.unhandled_client_not_found = (function shadow$remote$runtime$shared$unhandled_client_not_found(p__30898,msg){ +var map__30900 = p__30898; +var map__30900__$1 = cljs.core.__destructure_map(map__30900); +var runtime = map__30900__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30900__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +return shadow.remote.runtime.shared.trigger_BANG_.cljs$core$IFn$_invoke$arity$variadic(runtime,new cljs.core.Keyword(null,"on-client-not-found","on-client-not-found",-642452849),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([msg], 0)); +}); +shadow.remote.runtime.shared.reply_unknown_op = (function shadow$remote$runtime$shared$reply_unknown_op(runtime,msg){ +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"unknown-op","unknown-op",1900385996),new cljs.core.Keyword(null,"msg","msg",-1386103444),msg], null)); +}); +shadow.remote.runtime.shared.process = (function shadow$remote$runtime$shared$process(p__30910,p__30911){ +var map__30912 = p__30910; +var map__30912__$1 = cljs.core.__destructure_map(map__30912); +var runtime = map__30912__$1; +var state_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30912__$1,new cljs.core.Keyword(null,"state-ref","state-ref",2127874952)); +var map__30913 = p__30911; +var map__30913__$1 = cljs.core.__destructure_map(map__30913); +var msg = map__30913__$1; +var op = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30913__$1,new cljs.core.Keyword(null,"op","op",-1882987955)); +var call_id = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30913__$1,new cljs.core.Keyword(null,"call-id","call-id",1043012968)); +var state = cljs.core.deref(state_ref); +var op_handler = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ops","ops",1237330063),op], null)); +if(cljs.core.truth_(call_id)){ +var cfg = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"call-handlers","call-handlers",386605551),call_id], null)); +var call_handler = cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(cfg,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"handlers","handlers",79528781),op], null)); +if(cljs.core.truth_(call_handler)){ +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(state_ref,cljs.core.update,new cljs.core.Keyword(null,"call-handlers","call-handlers",386605551),cljs.core.dissoc,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([call_id], 0)); + +return (call_handler.cljs$core$IFn$_invoke$arity$1 ? call_handler.cljs$core$IFn$_invoke$arity$1(msg) : call_handler.call(null, msg)); +} else { +if(cljs.core.truth_(op_handler)){ +return (op_handler.cljs$core$IFn$_invoke$arity$1 ? op_handler.cljs$core$IFn$_invoke$arity$1(msg) : op_handler.call(null, msg)); +} else { +return shadow.remote.runtime.shared.unhandled_call_result(cfg,msg); + +} +} +} else { +if(cljs.core.truth_(op_handler)){ +return (op_handler.cljs$core$IFn$_invoke$arity$1 ? op_handler.cljs$core$IFn$_invoke$arity$1(msg) : op_handler.call(null, msg)); +} else { +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,"client-not-found","client-not-found",-1754042614),op)){ +return shadow.remote.runtime.shared.unhandled_client_not_found(runtime,msg); +} else { +return shadow.remote.runtime.shared.reply_unknown_op(runtime,msg); + +} +} +} +}); +shadow.remote.runtime.shared.run_on_idle = (function shadow$remote$runtime$shared$run_on_idle(state_ref){ +var seq__30951 = cljs.core.seq(cljs.core.vals(new cljs.core.Keyword(null,"extensions","extensions",-1103629196).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(state_ref)))); +var chunk__30953 = null; +var count__30954 = (0); +var i__30955 = (0); +while(true){ +if((i__30955 < count__30954)){ +var map__30984 = chunk__30953.cljs$core$IIndexed$_nth$arity$2(null, i__30955); +var map__30984__$1 = cljs.core.__destructure_map(map__30984); +var on_idle = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30984__$1,new cljs.core.Keyword(null,"on-idle","on-idle",2044706602)); +if(cljs.core.truth_(on_idle)){ +(on_idle.cljs$core$IFn$_invoke$arity$0 ? on_idle.cljs$core$IFn$_invoke$arity$0() : on_idle.call(null, )); + + +var G__31093 = seq__30951; +var G__31094 = chunk__30953; +var G__31095 = count__30954; +var G__31096 = (i__30955 + (1)); +seq__30951 = G__31093; +chunk__30953 = G__31094; +count__30954 = G__31095; +i__30955 = G__31096; +continue; +} else { +var G__31097 = seq__30951; +var G__31098 = chunk__30953; +var G__31099 = count__30954; +var G__31100 = (i__30955 + (1)); +seq__30951 = G__31097; +chunk__30953 = G__31098; +count__30954 = G__31099; +i__30955 = G__31100; +continue; +} +} else { +var temp__5823__auto__ = cljs.core.seq(seq__30951); +if(temp__5823__auto__){ +var seq__30951__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__30951__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__30951__$1); +var G__31101 = cljs.core.chunk_rest(seq__30951__$1); +var G__31102 = c__5568__auto__; +var G__31103 = cljs.core.count(c__5568__auto__); +var G__31104 = (0); +seq__30951 = G__31101; +chunk__30953 = G__31102; +count__30954 = G__31103; +i__30955 = G__31104; +continue; +} else { +var map__30992 = cljs.core.first(seq__30951__$1); +var map__30992__$1 = cljs.core.__destructure_map(map__30992); +var on_idle = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30992__$1,new cljs.core.Keyword(null,"on-idle","on-idle",2044706602)); +if(cljs.core.truth_(on_idle)){ +(on_idle.cljs$core$IFn$_invoke$arity$0 ? on_idle.cljs$core$IFn$_invoke$arity$0() : on_idle.call(null, )); + + +var G__31105 = cljs.core.next(seq__30951__$1); +var G__31106 = null; +var G__31107 = (0); +var G__31108 = (0); +seq__30951 = G__31105; +chunk__30953 = G__31106; +count__30954 = G__31107; +i__30955 = G__31108; +continue; +} else { +var G__31109 = cljs.core.next(seq__30951__$1); +var G__31110 = null; +var G__31111 = (0); +var G__31112 = (0); +seq__30951 = G__31109; +chunk__30953 = G__31110; +count__30954 = G__31111; +i__30955 = G__31112; +continue; +} +} +} else { +return null; +} +} +break; +} +}); + +//# sourceMappingURL=shadow.remote.runtime.shared.js.map diff --git a/out/cljs-runtime/shadow.remote.runtime.shared.js.map b/out/cljs-runtime/shadow.remote.runtime.shared.js.map new file mode 100644 index 0000000..71e9dbe --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.shared.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/remote/runtime/shared.cljc"],"mappings":";AAQA,0CAAA,1CAAMA,4FAAYC;AAAlB,AAAA,kDAAA,kEAAA,mCAAA,mDAAA,mCAAA,+EAAA,oEAAA,IAAA,sEAAA,1JAGgBA;;AAIhB,AAAA,AAEA,mCAAA,nCAAMC;AAAN,AACW,OAACC;;AAGZ,6CAAA,qDAAAC,lGAAMI;AAAN,AAAA,IAAAH,aAAAD;IAAAC,iBAAA,AAAAC,4BAAAD;cAAAA,VAA4CK;gBAA5C,AAAAH,4CAAAF,eAAA,vEAA6BI;AAA7B,AACE,IAAAE,mBAAI,AAAA,6FAAA,AAAAC,gBAAaH;AAAjB,AAAA,oBAAAE;AAAAA;;AACI,MAAO,gDAAA,qCAAA,2CAAA,hIAACE,4LAAuDH;;;AAErE,yCAAA,zCAAMI,0FAAWJ,QAAQK;AAAzB,AACE,IAAMC,gBAAQ,AAACR,2CAAcE;AAA7B,AAGE,GAAI,AAACO,gDAAK,AAAA,8EAAKF,KAAKC;AAClB,AAACE,oCAAYR,QAAQK;;AAOd,gBAAA,hBAACI,AACD,0BAAA;AAAA,AAAQ,IAAAC,WAASV;IAATW,WAAiB,kDAAA,lDAACE,8CAAMR,yDAAUC;AAAlC,AAAA,gJAAAI,SAAAC,4DAAAD,SAAAC,tNAACC,qEAAAA,wFAAAA;;;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E;eAAA,AAAAG,gBAAAH;eAAA;;;;;;;AAAA,IAAAkF,aAAA,AAAA/F,gBAAA0F;IAAAK,iBAAA,AAAAjJ,4BAAAiJ;cAAA,AAAAhJ,4CAAAgJ,eAAA,rEAAgBC;AAAhB,AAAA,oBACcA;AADd,AAAA,AAEE,CAACA,wCAAAA,0CAAAA;;AAFH;AAAA,eAAA,AAAA/F,eAAAyF;eAAA;eAAA;eAAA;;;;;;;AAAA,eAAA,AAAAzF,eAAAyF;eAAA;eAAA;eAAA;;;;;;;;;AAAA","names":["shadow.remote.runtime.shared/init-state","client-info","shadow.remote.runtime.shared/now","js/Date.now","p__30791","map__30792","cljs.core/--destructure-map","cljs.core.get","shadow.remote.runtime.shared/get-client-id","state-ref","runtime","or__5045__auto__","cljs.core/deref","cljs.core.ex_info","shadow.remote.runtime.shared/relay-msg","msg","self-id","cljs.core.not_EQ_","shadow.remote.runtime.api/relay-msg","js/Promise.resolve","G__30801","G__30802","shadow.remote.runtime.shared/process","cljs.core.assoc","p__30804","map__30805","shadow.remote.runtime.shared/reply","call-id","from","res","G__30806","var_args","G__30811","shadow.remote.runtime.shared/call","js/Error","p__30813","map__30814","handlers","shadow.remote.runtime.shared.call","timeout-after-ms","cljs.core/map?","cljs.core/nat-int?","cljs.core.swap_BANG_","cljs.core/update","cljs.core/inc","cljs.core/assoc-in","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","shadow.remote.runtime.shared/trigger!","p__30827","map__30828","seq30815","G__30816","cljs.core/first","cljs.core/next","G__30817","self__5754__auto__","ev","args","seq__30829","cljs.core/seq","chunk__30832","count__30833","i__30834","temp__5823__auto__","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","cljs.core/count","ext","cljs.core/vals","ev-fn","cljs.core.apply","p__30851","p__30852","map__30853","map__30855","shadow.remote.runtime.shared/welcome","client-id","cljs.core/assoc","map__30857","extensions","shadow.remote.runtime.shared/ping","p__30864","map__30865","shadow.remote.runtime.shared/request-supported-ops","cljs.core/keys","cljs.core/set","cljs.core.disj","shadow.remote.runtime.shared/unknown-relay-op","js/console.warn","shadow.remote.runtime.shared/unknown-op","p__30869","p__30870","map__30871","map__30872","shadow.remote.runtime.shared/add-extension*","state","key","ops","transit-write-handlers","spec","cljs.core/contains?","cljs.core/reduce-kv","op-kw","op-handler","cljs.core.get_in","p__30880","map__30881","shadow.remote.runtime.shared/add-extension","temp__5827__auto__","on-welcome","shadow.remote.runtime.shared/add-defaults","p1__30882#","p1__30883#","p1__30884#","p1__30885#","p1__30886#","shadow.remote.runtime.shared/del-extension*","cljs.core/not","cljs.core.update_in","cljs.core/dissoc","cljs.core.update","p__30892","map__30893","shadow.remote.runtime.shared/del-extension","shadow.remote.runtime.shared/unhandled-call-result","call-config","p__30898","map__30900","shadow.remote.runtime.shared/unhandled-client-not-found","shadow.remote.runtime.shared.trigger_BANG_","shadow.remote.runtime.shared/reply-unknown-op","p__30910","p__30911","map__30912","map__30913","op","cfg","call-handler","cljs.core._EQ_","shadow.remote.runtime.shared/run-on-idle","seq__30951","chunk__30953","count__30954","i__30955","map__30984","map__30992","on-idle"],"sourcesContent":["(ns shadow.remote.runtime.shared\n (:require\n [shadow.remote.runtime.api :as p]\n #?@(:clj\n [[shadow.jvm-log :as log]]\n :cljs\n [])))\n\n(defn init-state [client-info]\n {:extensions {}\n :ops {}\n :client-info client-info\n :call-id-seq 0\n :call-handlers {}})\n\n(declare process)\n\n(defn now []\n #?(:cljs (js/Date.now)\n :clj (System/currentTimeMillis)))\n\n(defn get-client-id [{:keys [state-ref] :as runtime}]\n (or (:client-id @state-ref)\n (throw (ex-info \"runtime has no assigned runtime-id\" {:runtime runtime}))))\n\n(defn relay-msg [runtime msg]\n (let [self-id (get-client-id runtime)]\n ;; check if sending msg to ourselves, then we don't need to bother the relay\n ;; FIXME: might be better to do this in p/relay-msg?\n (if (not= (:to msg) self-id)\n (p/relay-msg runtime msg)\n ;; don't immediately process, the relay hop is async, so preserve that\n ;; this is sort of hacky for messages that we are actually sending ourselves\n ;; should at least send to the same queue the ws messages end up in?\n #?(:clj\n (future (process runtime (assoc msg :from self-id)))\n :cljs\n (-> (js/Promise.resolve 1)\n (.then #(process runtime (assoc msg :from self-id)))))))\n\n ;; just so nobody assumes this has a useful return value\n msg)\n\n(defn reply [runtime {:keys [call-id from]} res]\n (let [res (-> res\n (cond->\n call-id\n (assoc :call-id call-id)\n from\n (assoc :to from)))]\n (p/relay-msg runtime res)))\n\n(defn call\n ([runtime msg handlers]\n (call runtime msg handlers 0))\n ([{:keys [state-ref] :as runtime}\n msg\n handlers\n timeout-after-ms]\n {:pre [(map? msg)\n (map? handlers)\n (nat-int? timeout-after-ms)]}\n (let [call-id (:call-id-seq @state-ref)]\n (swap! state-ref update :call-id-seq inc)\n (swap! state-ref assoc-in [:call-handlers call-id]\n {:handlers handlers\n :called-at (now)\n :msg msg\n :timeout timeout-after-ms})\n (p/relay-msg runtime (assoc msg :call-id call-id)))))\n\n(defn trigger! [{:keys [state-ref] :as runtime} ev & args]\n (doseq [ext (vals (:extensions @state-ref))\n :let [ev-fn (get ext ev)]\n :when ev-fn]\n (apply ev-fn args)))\n\n(defn welcome\n [{:keys [state-ref] :as runtime} {:keys [client-id] :as msg}]\n ;; #?(:cljs (js/console.log \"shadow.remote - runtime-id:\" rid))\n (swap! state-ref assoc :client-id client-id :welcome true)\n\n (let [{:keys [client-info extensions]} @state-ref]\n (relay-msg runtime\n {:op :hello\n :client-info client-info})\n\n (trigger! runtime :on-welcome)))\n\n(defn ping\n [runtime msg]\n (reply runtime msg {:op :pong}))\n\n(defn request-supported-ops\n [{:keys [state-ref] :as runtime} msg]\n (reply runtime msg\n {:op :supported-ops\n :ops (-> (:ops @state-ref)\n (keys)\n (set)\n (disj :welcome :unknown-relay-op :unknown-op :request-supported-ops :tool-disconnect))}))\n\n(defn unknown-relay-op [msg]\n #?(:cljs (js/console.warn \"unknown-relay-op\" msg)\n :clj (log/warn ::unknown-relay-op msg)))\n\n(defn unknown-op [msg]\n #?(:cljs (js/console.warn \"unknown-op\" msg)\n :clj (log/warn ::unknown-op msg)))\n\n(defn add-extension*\n [{:keys [extensions] :as state} key {:keys [ops transit-write-handlers] :as spec}]\n (when (contains? extensions key)\n (throw (ex-info \"extension already registered\" {:key key :spec spec})))\n\n (reduce-kv\n (fn [state op-kw op-handler]\n (when (get-in state [:ops op-kw])\n (throw (ex-info \"op already registered\" {:key key :op op-kw})))\n (assoc-in state [:ops op-kw] op-handler))\n\n (assoc-in state [:extensions key] spec)\n ops))\n\n(defn add-extension [{:keys [state-ref] :as runtime} key spec]\n (swap! state-ref add-extension* key spec)\n\n ;; trigger on-welcome immediately if already welcome was already received\n (when-some [on-welcome (:on-welcome spec)]\n (when (:welcome @state-ref)\n (on-welcome)))\n\n runtime)\n\n(defn add-defaults [runtime]\n (add-extension runtime\n ::defaults\n {:ops\n {:welcome #(welcome runtime %)\n :unknown-relay-op #(unknown-relay-op %)\n :unknown-op #(unknown-op %)\n :ping #(ping runtime %)\n :request-supported-ops #(request-supported-ops runtime %)\n }}))\n\n(defn del-extension* [state key]\n (let [ext (get-in state [:extensions key])]\n (if-not ext\n state\n (reduce-kv\n (fn [state op-kw op-handler]\n (update-in state [:ops] dissoc op-kw))\n\n (update state :extensions dissoc key)\n (:ops ext)))))\n\n(defn del-extension [{:keys [state-ref]} key]\n (swap! state-ref del-extension* key))\n\n(defn unhandled-call-result [call-config msg]\n #?(:cljs (js/console.warn \"unhandled call result\" msg call-config)\n :clj (log/warn ::unhandled-call-result msg)))\n\n(defn unhandled-client-not-found\n [{:keys [state-ref] :as runtime} msg]\n (trigger! runtime :on-client-not-found msg))\n\n(defn reply-unknown-op [runtime msg]\n (reply runtime msg {:op :unknown-op\n :msg msg}))\n\n(defn process [{:keys [state-ref] :as runtime} {:keys [op call-id] :as msg}]\n ;; (js/console.log \"received from relay\" msg)\n (let [state @state-ref\n op-handler (get-in state [:ops op])]\n\n (cond\n ;; expecting rpc reply when mid is set\n call-id\n (let [cfg (get-in state [:call-handlers call-id])\n call-handler (get-in cfg [:handlers op])]\n\n ;; replies may either go to registered call handler\n ;; or if that is missing to a global op handler\n (cond\n call-handler\n (do (swap! state-ref update :call-handlers dissoc call-id)\n (call-handler msg))\n\n op-handler\n (op-handler msg)\n\n ;; nothing here to handle it\n :else\n (unhandled-call-result cfg msg)))\n\n op-handler\n (op-handler msg)\n\n ;; don't want to reply with unknown-op to client-not-found\n (= :client-not-found op)\n (unhandled-client-not-found runtime msg)\n\n :else\n (reply-unknown-op runtime msg))))\n\n(defn run-on-idle [state-ref]\n (doseq [{:keys [on-idle]} (-> @state-ref :extensions vals)\n :when on-idle]\n (on-idle)))"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.remote.runtime.tap_support.js b/out/cljs-runtime/shadow.remote.runtime.tap_support.js new file mode 100644 index 0000000..f6c25ab --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.tap_support.js @@ -0,0 +1,148 @@ +goog.provide('shadow.remote.runtime.tap_support'); +shadow.remote.runtime.tap_support.tap_subscribe = (function shadow$remote$runtime$tap_support$tap_subscribe(p__36564,p__36565){ +var map__36570 = p__36564; +var map__36570__$1 = cljs.core.__destructure_map(map__36570); +var svc = map__36570__$1; +var subs_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36570__$1,new cljs.core.Keyword(null,"subs-ref","subs-ref",-1355989911)); +var obj_support = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36570__$1,new cljs.core.Keyword(null,"obj-support","obj-support",1522559229)); +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36570__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +var map__36571 = p__36565; +var map__36571__$1 = cljs.core.__destructure_map(map__36571); +var msg = map__36571__$1; +var from = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36571__$1,new cljs.core.Keyword(null,"from","from",1815293044)); +var summary = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36571__$1,new cljs.core.Keyword(null,"summary","summary",380847952)); +var history__$1 = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36571__$1,new cljs.core.Keyword(null,"history","history",-247395220)); +var num = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__36571__$1,new cljs.core.Keyword(null,"num","num",1985240673),(10)); +cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(subs_ref,cljs.core.assoc,from,msg); + +if(cljs.core.truth_(history__$1)){ +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"tap-subscribed","tap-subscribed",-1882247432),new cljs.core.Keyword(null,"history","history",-247395220),cljs.core.into.cljs$core$IFn$_invoke$arity$2(cljs.core.PersistentVector.EMPTY,cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (oid){ +return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"oid","oid",-768692334),oid,new cljs.core.Keyword(null,"summary","summary",380847952),shadow.remote.runtime.obj_support.obj_describe_STAR_(obj_support,oid)], null); +}),shadow.remote.runtime.obj_support.get_tap_history(obj_support,num)))], null)); +} else { +return null; +} +}); +shadow.remote.runtime.tap_support.tap_unsubscribe = (function shadow$remote$runtime$tap_support$tap_unsubscribe(p__36578,p__36579){ +var map__36580 = p__36578; +var map__36580__$1 = cljs.core.__destructure_map(map__36580); +var subs_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36580__$1,new cljs.core.Keyword(null,"subs-ref","subs-ref",-1355989911)); +var map__36581 = p__36579; +var map__36581__$1 = cljs.core.__destructure_map(map__36581); +var from = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36581__$1,new cljs.core.Keyword(null,"from","from",1815293044)); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(subs_ref,cljs.core.dissoc,from); +}); +shadow.remote.runtime.tap_support.request_tap_history = (function shadow$remote$runtime$tap_support$request_tap_history(p__36585,p__36586){ +var map__36587 = p__36585; +var map__36587__$1 = cljs.core.__destructure_map(map__36587); +var obj_support = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36587__$1,new cljs.core.Keyword(null,"obj-support","obj-support",1522559229)); +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36587__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +var map__36588 = p__36586; +var map__36588__$1 = cljs.core.__destructure_map(map__36588); +var msg = map__36588__$1; +var num = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__36588__$1,new cljs.core.Keyword(null,"num","num",1985240673),(10)); +var tap_ids = shadow.remote.runtime.obj_support.get_tap_history(obj_support,num); +return shadow.remote.runtime.shared.reply(runtime,msg,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"tap-history","tap-history",-282803347),new cljs.core.Keyword(null,"oids","oids",-1580877688),tap_ids], null)); +}); +shadow.remote.runtime.tap_support.tool_disconnect = (function shadow$remote$runtime$tap_support$tool_disconnect(p__36597,tid){ +var map__36598 = p__36597; +var map__36598__$1 = cljs.core.__destructure_map(map__36598); +var svc = map__36598__$1; +var subs_ref = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36598__$1,new cljs.core.Keyword(null,"subs-ref","subs-ref",-1355989911)); +return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(subs_ref,cljs.core.dissoc,tid); +}); +shadow.remote.runtime.tap_support.start = (function shadow$remote$runtime$tap_support$start(runtime,obj_support){ +var subs_ref = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(cljs.core.PersistentArrayMap.EMPTY); +var tap_fn = (function shadow$remote$runtime$tap_support$start_$_runtime_tap(obj){ +if((!((obj == null)))){ +var oid = shadow.remote.runtime.obj_support.register(obj_support,obj,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"from","from",1815293044),new cljs.core.Keyword(null,"tap","tap",-1086702463)], null)); +var seq__36606 = cljs.core.seq(cljs.core.deref(subs_ref)); +var chunk__36607 = null; +var count__36608 = (0); +var i__36609 = (0); +while(true){ +if((i__36609 < count__36608)){ +var vec__36657 = chunk__36607.cljs$core$IIndexed$_nth$arity$2(null, i__36609); +var tid = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36657,(0),null); +var tap_config = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36657,(1),null); +shadow.remote.runtime.api.relay_msg(runtime,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"tap","tap",-1086702463),new cljs.core.Keyword(null,"to","to",192099007),tid,new cljs.core.Keyword(null,"oid","oid",-768692334),oid], null)); + + +var G__36710 = seq__36606; +var G__36711 = chunk__36607; +var G__36712 = count__36608; +var G__36713 = (i__36609 + (1)); +seq__36606 = G__36710; +chunk__36607 = G__36711; +count__36608 = G__36712; +i__36609 = G__36713; +continue; +} else { +var temp__5823__auto__ = cljs.core.seq(seq__36606); +if(temp__5823__auto__){ +var seq__36606__$1 = temp__5823__auto__; +if(cljs.core.chunked_seq_QMARK_(seq__36606__$1)){ +var c__5568__auto__ = cljs.core.chunk_first(seq__36606__$1); +var G__36714 = cljs.core.chunk_rest(seq__36606__$1); +var G__36715 = c__5568__auto__; +var G__36716 = cljs.core.count(c__5568__auto__); +var G__36717 = (0); +seq__36606 = G__36714; +chunk__36607 = G__36715; +count__36608 = G__36716; +i__36609 = G__36717; +continue; +} else { +var vec__36661 = cljs.core.first(seq__36606__$1); +var tid = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36661,(0),null); +var tap_config = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__36661,(1),null); +shadow.remote.runtime.api.relay_msg(runtime,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"op","op",-1882987955),new cljs.core.Keyword(null,"tap","tap",-1086702463),new cljs.core.Keyword(null,"to","to",192099007),tid,new cljs.core.Keyword(null,"oid","oid",-768692334),oid], null)); + + +var G__36722 = cljs.core.next(seq__36606__$1); +var G__36723 = null; +var G__36724 = (0); +var G__36725 = (0); +seq__36606 = G__36722; +chunk__36607 = G__36723; +count__36608 = G__36724; +i__36609 = G__36725; +continue; +} +} else { +return null; +} +} +break; +} +} else { +return null; +} +}); +var svc = new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"runtime","runtime",-1331573996),runtime,new cljs.core.Keyword(null,"obj-support","obj-support",1522559229),obj_support,new cljs.core.Keyword(null,"tap-fn","tap-fn",1573556461),tap_fn,new cljs.core.Keyword(null,"subs-ref","subs-ref",-1355989911),subs_ref], null); +shadow.remote.runtime.api.add_extension(runtime,new cljs.core.Keyword("shadow.remote.runtime.tap-support","ext","shadow.remote.runtime.tap-support/ext",1019069674),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"ops","ops",1237330063),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"tap-subscribe","tap-subscribe",411179050),(function (p1__36599_SHARP_){ +return shadow.remote.runtime.tap_support.tap_subscribe(svc,p1__36599_SHARP_); +}),new cljs.core.Keyword(null,"tap-unsubscribe","tap-unsubscribe",1183890755),(function (p1__36600_SHARP_){ +return shadow.remote.runtime.tap_support.tap_unsubscribe(svc,p1__36600_SHARP_); +}),new cljs.core.Keyword(null,"request-tap-history","request-tap-history",-670837812),(function (p1__36601_SHARP_){ +return shadow.remote.runtime.tap_support.request_tap_history(svc,p1__36601_SHARP_); +})], null),new cljs.core.Keyword(null,"on-tool-disconnect","on-tool-disconnect",693464366),(function (p1__36602_SHARP_){ +return shadow.remote.runtime.tap_support.tool_disconnect(svc,p1__36602_SHARP_); +})], null)); + +cljs.core.add_tap(tap_fn); + +return svc; +}); +shadow.remote.runtime.tap_support.stop = (function shadow$remote$runtime$tap_support$stop(p__36669){ +var map__36670 = p__36669; +var map__36670__$1 = cljs.core.__destructure_map(map__36670); +var svc = map__36670__$1; +var tap_fn = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36670__$1,new cljs.core.Keyword(null,"tap-fn","tap-fn",1573556461)); +var runtime = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__36670__$1,new cljs.core.Keyword(null,"runtime","runtime",-1331573996)); +cljs.core.remove_tap(tap_fn); + +return shadow.remote.runtime.api.del_extension(runtime,new cljs.core.Keyword("shadow.remote.runtime.tap-support","ext","shadow.remote.runtime.tap-support/ext",1019069674)); +}); + +//# sourceMappingURL=shadow.remote.runtime.tap_support.js.map diff --git a/out/cljs-runtime/shadow.remote.runtime.tap_support.js.map b/out/cljs-runtime/shadow.remote.runtime.tap_support.js.map new file mode 100644 index 0000000..a9bdd24 --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.tap_support.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/remote/runtime/tap_support.cljc"],"mappings":";AAMA,kDAAA,0DAAAA,SAAAC,rHAAMK;AAAN,AAAA,IAAAJ,aAAAF;IAAAE,iBAAA,AAAAC,4BAAAD;UAAAA,NAC6CQ;eAD7C,AAAAN,4CAAAF,eAAA,tEACWK;kBADX,AAAAH,4CAAAF,eAAA,zEACoBM;cADpB,AAAAJ,4CAAAF,eAAA,rEACgCO;IADhCJ,aAAAJ;IAAAI,iBAAA,AAAAF,4BAAAE;UAAAA,NAEsDU;WAFtD,AAAAX,4CAAAC,eAAA,lEAEWM;cAFX,AAAAP,4CAAAC,eAAA,rEAEgBO;kBAFhB,AAAAR,4CAAAC,eAAA,zEAEwBQ;UAFxB,AAAAT,4CAAAC,eAAA,mDAAA,pHAEgCS;AAFhC,AAGE,AAACE,mDAAMT,SAASU,gBAAMN,KAAKI;;AAS3B,oBAAMF;AAAN,AACE,sDAAA,2CAAA,kDAAA,0EAAA,tNAACK,mCAAaT,QAAQM,oTAIL,AAACK,4CAAI,WAAKC,rIACV,6CAAA,7CAACE;AADI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AyD;AAAA,AAUwB,6DAAAA,tDAAC7B,kDAAgB5B;;;AAEzC,AAAC2D,kBAAQ3B;;AACThC;;AAEJ,yCAAA,iDAAA4D,1FAAME;AAAN,AAAA,IAAAD,aAAAD;IAAAC,iBAAA,AAAApE,4BAAAoE;UAAAA,NAAwC7D;aAAxC,AAAAN,4CAAAmE,eAAA,pEAAoB7B;cAApB,AAAAtC,4CAAAmE,eAAA,rEAA2B9D;AAA3B,AACE,AAACgE,qBAAW/B;;AACZ,uDAAA,hDAACgC,wCAAgBjE","names":["p__36564","p__36565","map__36570","cljs.core/--destructure-map","cljs.core.get","map__36571","shadow.remote.runtime.tap-support/tap-subscribe","subs-ref","obj-support","runtime","svc","from","summary","history","num","msg","cljs.core.swap_BANG_","cljs.core/assoc","shadow.remote.runtime.shared/reply","shadow.remote.runtime.obj-support/get-tap-history","cljs.core.map","oid","shadow.remote.runtime.obj-support/obj-describe*","cljs.core.into","p__36578","p__36579","map__36580","map__36581","shadow.remote.runtime.tap-support/tap-unsubscribe","cljs.core/dissoc","p__36585","p__36586","map__36587","map__36588","shadow.remote.runtime.tap-support/request-tap-history","tap-ids","p__36597","map__36598","shadow.remote.runtime.tap-support/tool-disconnect","tid","shadow.remote.runtime.tap-support/start","cljs.core.atom","tap-fn","obj","shadow.remote.runtime.obj-support/register","seq__36606","cljs.core/seq","cljs.core/deref","chunk__36607","count__36608","i__36609","vec__36657","cljs.core.nth","temp__5823__auto__","cljs.core/chunked-seq?","c__5568__auto__","cljs.core/chunk-first","cljs.core/chunk-rest","cljs.core/count","vec__36661","cljs.core/first","cljs.core/next","tap-config","shadow.remote.runtime.api/relay-msg","p1__36599#","p1__36600#","p1__36601#","p1__36602#","shadow.remote.runtime.api/add-extension","cljs.core/add-tap","p__36669","map__36670","shadow.remote.runtime.tap-support/stop","cljs.core/remove-tap","shadow.remote.runtime.api/del-extension"],"sourcesContent":["(ns shadow.remote.runtime.tap-support\n (:require\n [shadow.remote.runtime.api :as p]\n [shadow.remote.runtime.shared :as shared]\n [shadow.remote.runtime.obj-support :as obj]))\n\n(defn tap-subscribe\n [{:keys [subs-ref obj-support runtime] :as svc}\n {:keys [from summary history num] :or {num 10} :as msg}]\n (swap! subs-ref assoc from msg)\n ;; FIXME: should this always confirm?\n ;; tool may want to do stuff even if it didn't request a history?\n ;; but it can do so optimistically and just receive taps?\n\n ;; we need an option to send out the history because of concurrency issues\n ;; otherwise it may do a :request-tap-history before :tap-subscribe\n ;; which may cause it to miss taps inbetween\n ;; or after which means it may have received taps before receiving the history\n (when history\n (shared/reply runtime msg\n {:op :tap-subscribed\n :history (->> (obj/get-tap-history obj-support num)\n ;; FIXME: only send summary if requested\n (map (fn [oid] {:oid oid :summary (obj/obj-describe* obj-support oid)}))\n (into []))})))\n\n(defn tap-unsubscribe\n [{:keys [subs-ref]} {:keys [from]}]\n (swap! subs-ref dissoc from))\n\n(defn request-tap-history\n [{:keys [obj-support runtime]}\n {:keys [num] :or {num 10} :as msg}]\n (let [tap-ids (obj/get-tap-history obj-support num)]\n (shared/reply runtime msg {:op :tap-history\n :oids tap-ids})))\n\n(defn tool-disconnect\n [{:keys [subs-ref] :as svc} tid]\n (swap! subs-ref dissoc tid))\n\n(defn start [runtime obj-support]\n (let [subs-ref\n (atom {})\n\n tap-fn\n (fn runtime-tap [obj]\n (when (some? obj)\n (let [oid (obj/register obj-support obj {:from :tap})]\n (doseq [[tid tap-config] @subs-ref]\n (p/relay-msg runtime {:op :tap :to tid :oid oid})))))\n\n svc\n {:runtime runtime\n :obj-support obj-support\n :tap-fn tap-fn\n :subs-ref subs-ref}]\n\n (p/add-extension runtime\n ::ext\n {:ops\n ;; would be nicer to just pass tap-subscribe and have the runtime\n ;; automatically pass extra args. but this makes everything REPL unfriendly\n ;; and will require a runtime restart for every op change\n ;; this way only adding ops requires a restart\n {:tap-subscribe #(tap-subscribe svc %)\n :tap-unsubscribe #(tap-unsubscribe svc %)\n :request-tap-history #(request-tap-history svc %)}\n :on-tool-disconnect #(tool-disconnect svc %)})\n\n (add-tap tap-fn)\n svc))\n\n(defn stop [{:keys [tap-fn runtime] :as svc}]\n (remove-tap tap-fn)\n (p/del-extension runtime ::ext))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.remote.runtime.writer.js b/out/cljs-runtime/shadow.remote.runtime.writer.js new file mode 100644 index 0000000..c8d7f19 --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.writer.js @@ -0,0 +1,83 @@ +goog.provide('shadow.remote.runtime.writer'); + +/** +* @constructor + * @implements {cljs.core.IWriter} +*/ +shadow.remote.runtime.writer.LimitWriter = (function (sb,limit){ +this.sb = sb; +this.limit = limit; +this.cljs$lang$protocol_mask$partition0$ = 1073741824; +this.cljs$lang$protocol_mask$partition1$ = 0; +}); +(shadow.remote.runtime.writer.LimitWriter.prototype.getString = (function (){ +var self__ = this; +var this$ = this; +return self__.sb.toString(); +})); + +(shadow.remote.runtime.writer.LimitWriter.prototype.cljs$core$IWriter$_write$arity$2 = (function (_,s){ +var self__ = this; +var ___$1 = this; +self__.sb.append(s); + +if((self__.sb.getLength() >= self__.limit)){ +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2(["The limit of ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.limit)," bytes was reached while printing."].join(''),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Keyword("shadow.remote.runtime.writer","limit-reached","shadow.remote.runtime.writer/limit-reached",1304350996),new cljs.core.Keyword(null,"limit","limit",-1355822363),self__.limit], null)); +} else { +return null; +} +})); + +(shadow.remote.runtime.writer.LimitWriter.prototype.cljs$core$IWriter$_flush$arity$1 = (function (_){ +var self__ = this; +var ___$1 = this; +return null; +})); + +(shadow.remote.runtime.writer.LimitWriter.getBasis = (function (){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"sb","sb",-1249746442,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"StringBuffer","StringBuffer",864531538,null)], null)),new cljs.core.Symbol(null,"limit","limit",284709164,null)], null); +})); + +(shadow.remote.runtime.writer.LimitWriter.cljs$lang$type = true); + +(shadow.remote.runtime.writer.LimitWriter.cljs$lang$ctorStr = "shadow.remote.runtime.writer/LimitWriter"); + +(shadow.remote.runtime.writer.LimitWriter.cljs$lang$ctorPrWriter = (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){ +return cljs.core._write(writer__5331__auto__,"shadow.remote.runtime.writer/LimitWriter"); +})); + +/** + * Positional factory function for shadow.remote.runtime.writer/LimitWriter. + */ +shadow.remote.runtime.writer.__GT_LimitWriter = (function shadow$remote$runtime$writer$__GT_LimitWriter(sb,limit){ +return (new shadow.remote.runtime.writer.LimitWriter(sb,limit)); +}); + +shadow.remote.runtime.writer.pr_str_limit = (function shadow$remote$runtime$writer$pr_str_limit(obj,limit){ +var sb = (new goog.string.StringBuffer()); +var writer = (new shadow.remote.runtime.writer.LimitWriter(sb,limit)); +try{cljs.core.pr_writer(obj,writer,cljs.core.pr_opts()); + +return ["0,",cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb.toString())].join(''); +}catch (e31366){var e = e31366; +if((!(cljs.core.keyword_identical_QMARK_(new cljs.core.Keyword("shadow.remote.runtime.writer","limit-reached","shadow.remote.runtime.writer/limit-reached",1304350996),new cljs.core.Keyword(null,"tag","tag",-1290361223).cljs$core$IFn$_invoke$arity$1(cljs.core.ex_data(e)))))){ +throw e; +} else { +return ["1,",cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var s = sb.toString(); +if((s.length > limit)){ +return cljs.core.subs.cljs$core$IFn$_invoke$arity$3(s,(0),limit); +} else { +return s; +} +})())].join(''); +} +}}); +shadow.remote.runtime.writer.limit_writer = (function shadow$remote$runtime$writer$limit_writer(limit){ +var sb = (new goog.string.StringBuffer()); +return (new shadow.remote.runtime.writer.LimitWriter(sb,limit)); +}); +shadow.remote.runtime.writer.get_string = (function shadow$remote$runtime$writer$get_string(lw){ +return lw.getString(); +}); + +//# sourceMappingURL=shadow.remote.runtime.writer.js.map diff --git a/out/cljs-runtime/shadow.remote.runtime.writer.js.map b/out/cljs-runtime/shadow.remote.runtime.writer.js.map new file mode 100644 index 0000000..8c0b7bd --- /dev/null +++ b/out/cljs-runtime/shadow.remote.runtime.writer.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/remote/runtime/writer.cljs"],"mappings":";AAGA,AAAA;;;;;;;;;;;AAAA,AAAA,CAAA,AAAA,+DAAA,/DAASI;;AAAT,AAAA,YAAA,RAEcI;AAFd,AAGI,OAAWF;;;AAHf,CAAA,AAAA,sFAAA,tFAASF,iGAMEK,EAAEC;;AANb,AAAA,YAAA,RAMWD;AANX,AAOI,AAASH,iBAAGI;;AACZ,GAAM,CAAI,AAAYJ,yBAAIC;AAA1B,AACE,MAAO,0KAAA,2CAAA,oDAAA,8HAAA,vYAACI,gDAAQ,CAAA,0EAAA,dAAqBJ,kVAAyEA;;AADhH;;;;AARJ,CAAA,AAAA,sFAAA,tFAASH,iGAUEK;;AAVX,AAAA,YAAA,RAUWA;AAVX,AAAA;;;AAAA,CAAA,oDAAA,pDAASL;AAAT,AAAA,AAAA;;;AAAA,CAAA,0DAAA,1DAASA;;AAAT,CAAA,6DAAA,7DAASA;;AAAT,CAAA,kEAAA,WAAAJ,mBAAAC,qBAAAC,rHAASE;AAAT,AAAA,OAAAD,iBAAAF,qBAAA;;;AAAA;;;gDAAA,hDAASI,wGAA2BC,GAAGC;AAAvC,AAAA,YAAAH,yCAAoCE,GAAGC;;;AAA9BH,AAYT,4CAAA,5CAAMQ,gGAAcC,IAAIN;AAAxB,AACE,IAAMD,KAAG,KAAAQ;IACHC,SAAO,KAAAX,yCAAcE,GAAGC;AAD9B,AAEE,IAAA,AACE,AAACU,oBAAUJ,IAAIE,OAAO,AAACG;;AACvB,QAAA,iDAAU,AAAWZ;gBAFvB,QAAAU,JAGkBG;AAHlB,AAII,GAAA,GAAQ,mCAAA,nCAACC,iKAAmC,AAAA,kFAAM,AAACC,kBAAQF;AACzD,MAAOA;;AACP,QAAA,iDACK,iBAAMT,IAAE,AAAWJ;AAAnB,AACE,GAAI,CAAG,AAAUI,WAAGH;AAClB,sDAAA,/CAACe,6CAAKZ,MAAIH;;AACVG;;;;;AAEnB,4CAAA,5CAAMa,gGAAchB;AAApB,AACE,IAAMD,KAAG,KAAAQ;AAAT,AACE,YAAAV,yCAAcE,GAAGC;;AAErB,0CAAA,1CAAMiB,4FAAyBC;AAA/B,AACE,OAAYA;;AAEd","names":["this__5330__auto__","writer__5331__auto__","opt__5332__auto__","cljs.core/-write","shadow.remote.runtime.writer/LimitWriter","shadow.remote.runtime.writer/->LimitWriter","sb","limit","this","_","s","cljs.core.ex_info","shadow.remote.runtime.writer/pr-str-limit","obj","js/goog.string.StringBuffer","writer","e31366","cljs.core/pr-writer","cljs.core/pr-opts","e","cljs.core/keyword-identical?","cljs.core/ex-data","cljs.core.subs","shadow.remote.runtime.writer/limit-writer","shadow.remote.runtime.writer/get-string","lw"],"sourcesContent":["(ns shadow.remote.runtime.writer\n (:import [goog.string StringBuffer]))\n\n(deftype LimitWriter [^StringBuffer sb limit]\n Object\n (getString [this]\n (.toString sb))\n\n IWriter\n (-write [_ s]\n (.append sb s)\n (when (>= (.getLength sb) limit)\n (throw (ex-info (str \"The limit of \" limit \" bytes was reached while printing.\") {:tag ::limit-reached :limit limit}))))\n (-flush [_] nil))\n\n(defn pr-str-limit [obj limit]\n (let [sb (StringBuffer.)\n writer (LimitWriter. sb limit)]\n (try\n (pr-writer obj writer (pr-opts))\n (str \"0,\" (.toString sb))\n (catch :default e\n (if-not (keyword-identical? ::limit-reached (:tag (ex-data e)))\n (throw e)\n (str \"1,\"\n (let [s (.toString sb)]\n (if (> (.-length s) limit)\n (subs s 0 limit)\n s))))))))\n\n(defn limit-writer [limit]\n (let [sb (StringBuffer.)]\n (LimitWriter. sb limit)))\n\n(defn get-string [^LimitWriter lw]\n (.getString lw))\n\n(comment\n (pr-str-limit {:hello (range 10)} 20))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/shadow.util.js b/out/cljs-runtime/shadow.util.js new file mode 100644 index 0000000..53bc707 --- /dev/null +++ b/out/cljs-runtime/shadow.util.js @@ -0,0 +1,181 @@ +goog.provide('shadow.util'); +shadow.util.console_friendly = (function shadow$util$console_friendly(a){ +if((a == null)){ +return "nil"; +} else { +if((a instanceof cljs.core.Keyword)){ +return cljs.core.str.cljs$core$IFn$_invoke$arity$1(a); +} else { +if(typeof a === 'string'){ +return a; +} else { +if(typeof a === 'number'){ +return a; +} else { +if((((!((a == null))))?(((((a.cljs$lang$protocol_mask$partition0$ & (2147483648))) || ((cljs.core.PROTOCOL_SENTINEL === a.cljs$core$IPrintWithWriter$))))?true:(((!a.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IPrintWithWriter,a):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IPrintWithWriter,a))){ +return cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([a], 0)); +} else { +return a; + +} +} +} +} +} +}); +shadow.util.console_QMARK_ = (typeof console !== 'undefined'); +shadow.util.log = (function shadow$util$log(var_args){ +var G__30772 = arguments.length; +switch (G__30772) { +case 1: +return shadow.util.log.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return shadow.util.log.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return shadow.util.log.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +case 4: +return shadow.util.log.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); + +break; +case 5: +return shadow.util.log.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); + +break; +case 6: +return shadow.util.log.cljs$core$IFn$_invoke$arity$6((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___30861 = arguments.length; +var i__5770__auto___30862 = (0); +while(true){ +if((i__5770__auto___30862 < len__5769__auto___30861)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___30862])); + +var G__30863 = (i__5770__auto___30862 + (1)); +i__5770__auto___30862 = G__30863; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((6)),(0),null)); +return shadow.util.log.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)]),(arguments[(5)]),argseq__5795__auto__); + +} +}); + +(shadow.util.log.cljs$core$IFn$_invoke$arity$1 = (function (a1){ +if(shadow.util.console_QMARK_){ +return console.log(shadow.util.console_friendly(a1)); +} else { +return null; +} +})); + +(shadow.util.log.cljs$core$IFn$_invoke$arity$2 = (function (a1,a2){ +if(shadow.util.console_QMARK_){ +return console.log(shadow.util.console_friendly(a1),shadow.util.console_friendly(a2)); +} else { +return null; +} +})); + +(shadow.util.log.cljs$core$IFn$_invoke$arity$3 = (function (a1,a2,a3){ +if(shadow.util.console_QMARK_){ +return console.log(shadow.util.console_friendly(a1),shadow.util.console_friendly(a2),shadow.util.console_friendly(a3)); +} else { +return null; +} +})); + +(shadow.util.log.cljs$core$IFn$_invoke$arity$4 = (function (a1,a2,a3,a4){ +if(shadow.util.console_QMARK_){ +return console.log(shadow.util.console_friendly(a1),shadow.util.console_friendly(a2),shadow.util.console_friendly(a3),shadow.util.console_friendly(a4)); +} else { +return null; +} +})); + +(shadow.util.log.cljs$core$IFn$_invoke$arity$5 = (function (a1,a2,a3,a4,a5){ +if(shadow.util.console_QMARK_){ +return console.log(shadow.util.console_friendly(a1),shadow.util.console_friendly(a2),shadow.util.console_friendly(a3),shadow.util.console_friendly(a4),shadow.util.console_friendly(a5)); +} else { +return null; +} +})); + +(shadow.util.log.cljs$core$IFn$_invoke$arity$6 = (function (a1,a2,a3,a4,a5,a6){ +if(shadow.util.console_QMARK_){ +return console.log(shadow.util.console_friendly(a1),shadow.util.console_friendly(a2),shadow.util.console_friendly(a3),shadow.util.console_friendly(a4),shadow.util.console_friendly(a5),shadow.util.console_friendly(a6)); +} else { +return null; +} +})); + +(shadow.util.log.cljs$core$IFn$_invoke$arity$variadic = (function (a1,a2,a3,a4,a5,a6,more){ +if(shadow.util.console_QMARK_){ +return console.log(shadow.util.console_friendly(a1),shadow.util.console_friendly(a2),shadow.util.console_friendly(a3),shadow.util.console_friendly(a4),shadow.util.console_friendly(a5),shadow.util.console_friendly(a6),"more:",cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([more], 0))); +} else { +return null; +} +})); + +/** @this {Function} */ +(shadow.util.log.cljs$lang$applyTo = (function (seq30765){ +var G__30766 = cljs.core.first(seq30765); +var seq30765__$1 = cljs.core.next(seq30765); +var G__30767 = cljs.core.first(seq30765__$1); +var seq30765__$2 = cljs.core.next(seq30765__$1); +var G__30768 = cljs.core.first(seq30765__$2); +var seq30765__$3 = cljs.core.next(seq30765__$2); +var G__30769 = cljs.core.first(seq30765__$3); +var seq30765__$4 = cljs.core.next(seq30765__$3); +var G__30770 = cljs.core.first(seq30765__$4); +var seq30765__$5 = cljs.core.next(seq30765__$4); +var G__30771 = cljs.core.first(seq30765__$5); +var seq30765__$6 = cljs.core.next(seq30765__$5); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__30766,G__30767,G__30768,G__30769,G__30770,G__30771,seq30765__$6); +})); + +(shadow.util.log.cljs$lang$maxFixedArity = (6)); + +shadow.util.remove_from_vector = (function shadow$util$remove_from_vector(coll,key){ +return cljs.core.persistent_BANG_(cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (v,p__30781){ +var vec__30782 = p__30781; +var idx = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30782,(0),null); +var item = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30782,(1),null); +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(idx,key)){ +return v; +} else { +return cljs.core.conj_BANG_.cljs$core$IFn$_invoke$arity$2(v,item); +} +}),cljs.core.transient$(cljs.core.PersistentVector.EMPTY),cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2(cljs.core.vector,coll))); +}); +shadow.util.remove_item_from_coll = (function shadow$util$remove_item_from_coll(coll,key,value){ +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (16384))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IVector$))))?true:(((!coll.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IVector,coll):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IVector,coll))){ +return shadow.util.remove_from_vector(coll,key); +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (1024))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$IMap$))))?true:(((!coll.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.IMap,coll):false)):cljs.core.native_satisfies_QMARK_(cljs.core.IMap,coll))){ +return cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(coll,key); +} else { +if((((!((coll == null))))?(((((coll.cljs$lang$protocol_mask$partition0$ & (4096))) || ((cljs.core.PROTOCOL_SENTINEL === coll.cljs$core$ISet$))))?true:(((!coll.cljs$lang$protocol_mask$partition0$))?cljs.core.native_satisfies_QMARK_(cljs.core.ISet,coll):false)):cljs.core.native_satisfies_QMARK_(cljs.core.ISet,coll))){ +return cljs.core.disj.cljs$core$IFn$_invoke$arity$2(coll,value); +} else { +throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2("unknown coll type",new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"coll","coll",1647737163),coll,new cljs.core.Keyword(null,"key","key",-1516042587),key,new cljs.core.Keyword(null,"value","value",305978217),value], null)); + +} +} +} +}); + +//# sourceMappingURL=shadow.util.js.map diff --git a/out/cljs-runtime/shadow.util.js.map b/out/cljs-runtime/shadow.util.js.map new file mode 100644 index 0000000..14dbfac --- /dev/null +++ b/out/cljs-runtime/shadow.util.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["shadow/util.cljs"],"mappings":";AAGA,+BAAA,/BAAMA,sEAAkBC;AAAxB,AACE,GACC,MAAA,LAAMA;AADP;;AAAA,GAEC,cAAAC,bAAUD;AAAG,mDAAKA;;AAFnB,GAGC,OAASA;AAAGA;;AAHb,GAIC,OAASA;AAAGA;;AAJb,GAKC,EAAA,GAAA,MAAA,SAAA,EAAA,EAAA,CAAA,wCAAA,mBAAA,CAAAE,gCAAA,kCAAA,KAAA,EAAA,EAAA,wCAAA,AAAAC,gEAAA,QAAA,AAAAA,tCAAYC,wEAAAA,5SAAiBJ,mBAAAA,4FAAAA,2CAAAA,qGAAAA,wEAAAA;AAAG,OAACK,wGAAOL;;AALzC,AAMOA;;;;;;;;AAGT,AAAKM,6BAAS,QAAAC;AAEd,AAAA,kBAAA,0BAAAC,5CAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,8CAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,8CAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,8CAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,8CAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CA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C,uDAAA,QAAA,AAAAA,7BAAYmD,+DAAAA,7RAAKpB,sBAAAA,yFAAAA,kCAAAA,4FAAAA,+DAAAA;AACjB,OAACqB,6CAAKrB,KAAKgB;;AANZ,AAOO,MAAO,gDAAA,oBAAA,2CAAA,0DAAA,wDAAA,jOAACM,oKAAmCtB,yDAAUC,0DAAWe","names":["shadow.util/console-friendly","a","cljs.core/Keyword","cljs.core/PROTOCOL_SENTINEL","cljs.core/native-satisfies?","cljs.core/IPrintWithWriter","cljs.core.pr_str","shadow.util/console?","js/console","var_args","G__30772","shadow.util/log","args-arr__5794__auto__","len__5769__auto__","i__5770__auto__","argseq__5795__auto__","cljs.core/IndexedSeq","seq30765","G__30766","cljs.core/first","cljs.core/next","G__30767","G__30768","G__30769","G__30770","G__30771","self__5754__auto__","a1","a2","a3","a4","a5","a6","more","shadow.util/remove-from-vector","coll","key","cljs.core.map_indexed","cljs.core/vector","cljs.core.reduce","p__30781","vec__30782","cljs.core.nth","v","idx","item","cljs.core._EQ_","cljs.core.conj_BANG_","cljs.core/transient","cljs.core/persistent!","shadow.util/remove-item-from-coll","value","cljs.core/IVector","cljs.core/IMap","cljs.core.dissoc","cljs.core/ISet","cljs.core.disj","cljs.core.ex_info"],"sourcesContent":["(ns shadow.util\n (:require-macros [shadow.util :as m]))\n\n(defn console-friendly [a]\n (cond\n (nil? a) \"nil\"\n (keyword? a) (str a)\n (string? a) a\n (number? a) a\n (satisfies? IPrintWithWriter a) (pr-str a)\n :else a\n ))\n\n(def console? (exists? js/console))\n\n(defn log\n ([a1]\n (when console?\n (.log js/console\n (console-friendly a1))))\n ([a1 a2]\n (when console?\n (.log js/console\n (console-friendly a1)\n (console-friendly a2))))\n ([a1 a2 a3]\n (when console?\n (.log js/console\n (console-friendly a1)\n (console-friendly a2)\n (console-friendly a3))))\n ([a1 a2 a3 a4]\n (when console?\n (.log js/console\n (console-friendly a1)\n (console-friendly a2)\n (console-friendly a3)\n (console-friendly a4))))\n ([a1 a2 a3 a4 a5]\n (when console?\n (.log js/console\n (console-friendly a1)\n (console-friendly a2)\n (console-friendly a3)\n (console-friendly a4)\n (console-friendly a5))))\n ([a1 a2 a3 a4 a5 a6]\n (when console?\n (.log js/console\n (console-friendly a1)\n (console-friendly a2)\n (console-friendly a3)\n (console-friendly a4)\n (console-friendly a5)\n (console-friendly a6))))\n ([a1 a2 a3 a4 a5 a6 & more]\n (when console?\n (.log js/console\n (console-friendly a1)\n (console-friendly a2)\n (console-friendly a3)\n (console-friendly a4)\n (console-friendly a5)\n (console-friendly a6)\n \"more:\"\n (pr-str more)))))\n\n;; HAX\n(comment\n (def default-ex-info js/cljs.core.ex-info)\n\n (set! (.. js/cljs -core -ex-info)\n (fn shadow-ex-info\n ([msg map]\n (m/log \"EX-INFO:\" msg map)\n (default-ex-info msg map))\n ([msg map cause]\n (m/log \"EX-INFO:\" msg map cause)\n (default-ex-info msg map cause))\n )))\n\n\n(defn remove-from-vector [coll key]\n (->> (map-indexed vector coll)\n (reduce (fn [v [idx item]]\n (if (= idx key)\n v\n (conj! v item)))\n (transient []))\n (persistent!)))\n\n(defn remove-item-from-coll [coll key value]\n (cond\n (satisfies? IVector coll)\n (remove-from-vector coll key)\n (satisfies? IMap coll)\n (dissoc coll key)\n (satisfies? ISet coll)\n (disj coll value)\n :else (throw (ex-info \"unknown coll type\" {:coll coll :key key :value value}))\n ))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.compiler.alpha.js b/out/cljs-runtime/uix.compiler.alpha.js new file mode 100644 index 0000000..4290cfe --- /dev/null +++ b/out/cljs-runtime/uix.compiler.alpha.js @@ -0,0 +1,123 @@ +goog.provide('uix.compiler.alpha'); +goog.scope(function(){ + uix.compiler.alpha.goog$module$goog$object = goog.module.get('goog.object'); +}); +var module$node_modules$react$index=shadow.js.require("module$node_modules$react$index", {}); +uix.compiler.alpha.reagent_component_QMARK_ = (function uix$compiler$alpha$reagent_component_QMARK_(component_type){ +return cljs.core.some((function (p1__28851_SHARP_){ +if(clojure.string.starts_with_QMARK_(p1__28851_SHARP_,"G_")){ +return (component_type === uix.compiler.alpha.goog$module$goog$object.get(component_type,p1__28851_SHARP_)); +} else { +return null; +} +}),Object.keys(component_type)); +}); +uix.compiler.alpha.validate_component = (function uix$compiler$alpha$validate_component(component_type){ +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(component_type.uix_component_QMARK_); +if(and__5043__auto__){ +return uix.compiler.alpha.reagent_component_QMARK_(component_type); +} else { +return and__5043__auto__; +} +})())){ +var name_str_28873 = (function (){var or__5045__auto__ = component_type.displayName; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return component_type.name; +} +})(); +throw (new Error(["Invalid use of Reagent component ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_str_28873)," in `$` form.\n","UIx doesn't know how to render Reagent components.\n","Reagent element should be Hiccup wrapped with r/as-element, i.e. (r/as-element [",cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_str_28873),"])"].join(''))); +} else { +} + +return true; +}); +uix.compiler.alpha.normalise_args = (function uix$compiler$alpha$normalise_args(component_type,js_props,props_children){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((2),props_children.length)){ +return [component_type,js_props,(props_children[(1)])]; +} else { +return [component_type,js_props]; +} +}); +uix.compiler.alpha.pojo_QMARK_ = (function uix$compiler$alpha$pojo_QMARK_(x){ +var and__5043__auto__ = cljs.core.not(x.hasOwnProperty("$$typeof")); +if(and__5043__auto__){ +var G__28866 = x; +var G__28866__$1 = (((G__28866 == null))?null:G__28866.constructor); +if((G__28866__$1 == null)){ +return null; +} else { +return (G__28866__$1 === Object); +} +} else { +return and__5043__auto__; +} +}); +uix.compiler.alpha.js_props_QMARK_ = (function uix$compiler$alpha$js_props_QMARK_(tag,props){ +var and__5043__auto__ = ((typeof tag === 'string') || (cljs.core.not(tag.uix_component_QMARK_))); +if(and__5043__auto__){ +var and__5043__auto____$1 = props; +if(cljs.core.truth_(and__5043__auto____$1)){ +return uix.compiler.alpha.pojo_QMARK_(props); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +}); +uix.compiler.alpha.create_element = (function uix$compiler$alpha$create_element(args,children){ +var tag = (args[(0)]); +var props = (args[(1)]); +var child = (args[(2)]); +if(cljs.core.truth_(uix.compiler.alpha.js_props_QMARK_(tag,child))){ +return module$node_modules$react$index.createElement.apply(null,[tag,Object.assign(props,child)].concat(children)); +} else { +return module$node_modules$react$index.createElement.apply(null,args.concat(children)); +} +}); +uix.compiler.alpha.uix_component_element = (function uix$compiler$alpha$uix_component_element(component_type,props_children,children){ +var props = (props_children[(0)]); +var js_props = (function (){var temp__5825__auto__ = new cljs.core.Keyword(null,"key","key",-1516042587).cljs$core$IFn$_invoke$arity$1(props); +if((temp__5825__auto__ == null)){ +return ({"argv": props}); +} else { +var key = temp__5825__auto__; +return ({"key": key, "argv": cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,"key","key",-1516042587))}); +} +})(); +var args = uix.compiler.alpha.normalise_args(component_type,js_props,props_children); +return uix.compiler.alpha.create_element(args,children); +}); +uix.compiler.alpha.react_component_element = (function uix$compiler$alpha$react_component_element(component_type,props_children,children){ +var js_props = (uix.compiler.attributes.interpret_attrs((props_children[(0)]),[],true)[(0)]); +var args = uix.compiler.alpha.normalise_args(component_type,js_props,props_children); +return uix.compiler.alpha.create_element(args,children); +}); +uix.compiler.alpha.dynamic_element = (function uix$compiler$alpha$dynamic_element(component_type,props_children,children){ +var tag_id_class = uix.compiler.attributes.parse_tag(component_type); +var js_props = (uix.compiler.attributes.interpret_attrs((props_children[(0)]),tag_id_class,false)[(0)]); +var tag = (tag_id_class[(0)]); +var args = uix.compiler.alpha.normalise_args(tag,js_props,props_children); +return uix.compiler.alpha.create_element(args,children); +}); +uix.compiler.alpha.component_element = (function uix$compiler$alpha$component_element(component_type,props_children,children){ +if(goog.DEBUG){ +uix.compiler.alpha.validate_component(component_type); +} else { +} + +if(cljs.core.truth_(component_type.uix_component_QMARK_)){ +return uix.compiler.alpha.uix_component_element(component_type,props_children,children); +} else { +if((component_type instanceof cljs.core.Keyword)){ +return uix.compiler.alpha.dynamic_element(component_type,props_children,children); +} else { +return uix.compiler.alpha.react_component_element(component_type,props_children,children); + +} +} +}); + +//# sourceMappingURL=uix.compiler.alpha.js.map diff --git a/out/cljs-runtime/uix.compiler.alpha.js.map b/out/cljs-runtime/uix.compiler.alpha.js.map new file mode 100644 index 0000000..dd32d83 --- /dev/null +++ b/out/cljs-runtime/uix.compiler.alpha.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/compiler/alpha.cljs"],"mappings":";;;;;AAMA,8CAAA,9CAAOA,oGAAwBC;AAA/B,AAEO,sBAAA,WAAAE,1BAACC;AAAD,AAAO,GAAM,kCAAAD,iBAAA,nDAACE;AAAP,AACE,QAAYJ,mBAAe,8DAAAE,9DAACG,+CAASL;;AADvC;;GADP,AAAOC,YAAUD;;AAIxB,wCAAA,xCAAMM,wFAAwBN;AAA9B,AACE,oBAAM,iBAAAO,oBAAK,AAACC,cAAI,AAAkBR;AAA5B,AAAA,GAAAO;AACK,OAACR,4CAAmBC;;AADzBO;;;AAAN,AAEE,IAAME,iBAAS,iBAAAC,mBAAI,AAAeV;AAAnB,AAAA,oBAAAU;AAAAA;;AACI,OAAQV;;;AAD3B,AAEE,MAAO,KAAAW,MAAW,CAAA,gGAAA,kBAAA,uDAAA,+IAAA,xOAAyCF,wNAE+CA;;AAN9G;;AADF;;AAUA,oCAAA,pCAAOG,gFAAgBZ,eAAea,SAASC;AAA/C,AACE,GAAI,6CAAA,7CAACC,iDAAI,AAAcD;AAAvB,QACOd,eAAea,SAAS,gBAAA,fAAMC;;AADrC,QAEOd,eAAea;;;AAExB,iCAAA,jCAAOG,0EAAOC;AAAd,AACE,IAAAV,oBAAK,AAACC,cAAI,iBAAA,jBAAiBS;AAA3B,AAAA,GAAAV;AACK,IAAAW,WAAQD;IA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MW,eAAa,AAACC,kCAAgBpC;IAC9Ba,oDAAa,gBAAA,fAAMC,zCACN,2EAAA,3EAACmB,8DAAsBE,/DACvB,mFAAA;IACbf,MAAI,cAAA,bAAMe;IACVZ,OAAK,AAACX,kCAAeQ,IAAIP,SAASC;AALxC,AAME,OAACQ,kCAAeC,KAAKC;;AAEzB,uCAAA,vCAAMa,sFAAwBrC,eAAec,eAAeU;AAA5D,AACE,GAAec;AAAf,AACE,AAAChC,sCAAmBN;;AADtB;;AAEA,oBACE,AAAkBA;AAClB,OAAC4B,yCAAsB5B,eAAec,eAAeU;;AAFvD,GAIE,2BAAAe,1BAAUvC;AACV,OAACkC,mCAAgBlC,eAAec,eAAeU;;AALjD,AAOQ,OAACQ,2CAAwBhC,eAAec,eAAeU","names":["uix.compiler.alpha/reagent-component?","component-type","js/Object","p1__28851#","cljs.core/some","clojure.string/starts-with?","uix.compiler.alpha.goog$module$goog$object.get","uix.compiler.alpha/validate-component","and__5043__auto__","cljs.core/not","name-str","or__5045__auto__","js/Error","uix.compiler.alpha/normalise-args","js-props","props-children","cljs.core._EQ_","uix.compiler.alpha/pojo?","x","G__28866","uix.compiler.alpha/js-props?","tag","props","uix.compiler.alpha/create-element","args","children","child","js/module$node_modules$react$index.createElement","js/Object.assign","uix.compiler.alpha/uix-component-element","temp__5825__auto__","key","cljs.core.dissoc","uix.compiler.alpha/react-component-element","uix.compiler.attributes/interpret-attrs","uix.compiler.alpha/dynamic-element","tag-id-class","uix.compiler.attributes/parse-tag","uix.compiler.alpha/component-element","js/goog.DEBUG","cljs.core/Keyword"],"sourcesContent":["(ns uix.compiler.alpha\n (:require [react]\n [goog.object :as gobj]\n [uix.compiler.attributes :as attrs]\n [clojure.string :as str]))\n\n(defn- reagent-component? [^js component-type]\n (->> (.keys js/Object component-type)\n (some #(when (str/starts-with? % \"G_\")\n (identical? component-type (gobj/get component-type %))))))\n\n(defn validate-component [^js component-type]\n (when (and (not (.-uix-component? component-type))\n (reagent-component? component-type))\n (let [name-str (or (.-displayName component-type)\n (.-name component-type))]\n (throw (js/Error. (str \"Invalid use of Reagent component \" name-str \" in `$` form.\\n\"\n \"UIx doesn't know how to render Reagent components.\\n\"\n \"Reagent element should be Hiccup wrapped with r/as-element, i.e. (r/as-element [\" name-str \"])\")))))\n true)\n\n(defn- normalise-args [component-type js-props props-children]\n (if (= 2 (.-length ^js props-children))\n #js [component-type js-props (aget props-children 1)]\n #js [component-type js-props]))\n\n(defn- pojo? [x]\n (and (not (.hasOwnProperty x \"$$typeof\"))\n (some-> x .-constructor (identical? js/Object))))\n\n(defn- js-props? [tag props]\n (and (or (string? tag) (not (.-uix-component? ^js tag)))\n props (pojo? props)))\n\n(defn create-element [args children]\n (let [tag (aget args 0)\n props (aget args 1)\n child (aget args 2)]\n (if (js-props? tag child)\n ;; merge dynamic js props onto static ones\n (.apply react/createElement nil (.concat #js [tag (js/Object.assign props child)] children))\n (.apply react/createElement nil (.concat args children)))))\n\n(defn- uix-component-element [component-type ^js props-children children]\n (let [props (aget props-children 0)\n js-props (if-some [key (:key props)]\n #js {:key key :argv (dissoc props :key)}\n #js {:argv props})\n args (normalise-args component-type js-props props-children)]\n (create-element args children)))\n\n(defn- react-component-element [component-type ^js props-children children]\n (let [js-props (-> (aget props-children 0)\n (attrs/interpret-attrs #js [] true)\n (aget 0))\n args (normalise-args component-type js-props props-children)]\n (create-element args children)))\n\n(defn- dynamic-element [component-type ^js props-children children]\n (let [tag-id-class (attrs/parse-tag component-type)\n js-props (-> (aget props-children 0)\n (attrs/interpret-attrs tag-id-class false)\n (aget 0))\n tag (aget tag-id-class 0)\n args (normalise-args tag js-props props-children)]\n (create-element args children)))\n\n(defn component-element [^clj component-type props-children children]\n (when ^boolean goog.DEBUG\n (validate-component component-type))\n (cond\n (.-uix-component? component-type)\n (uix-component-element component-type props-children children)\n\n (keyword? component-type)\n (dynamic-element component-type props-children children)\n\n :else (react-component-element component-type props-children children)))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.compiler.aot.js b/out/cljs-runtime/uix.compiler.aot.js new file mode 100644 index 0000000..ca09b66 --- /dev/null +++ b/out/cljs-runtime/uix.compiler.aot.js @@ -0,0 +1,62 @@ +goog.provide('uix.compiler.aot'); +var module$node_modules$react$index=shadow.js.require("module$node_modules$react$index", {}); +uix.compiler.aot.hiccup_QMARK_ = (function uix$compiler$aot$hiccup_QMARK_(el){ +if(cljs.core.vector_QMARK_(el)){ +var tag = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(el,(0),null); +return (((tag instanceof cljs.core.Keyword)) || ((((tag instanceof cljs.core.Symbol)) || (((cljs.core.fn_QMARK_(tag)) || ((tag instanceof cljs.core.MultiFn))))))); +} else { +return null; +} +}); +uix.compiler.aot.validate_children = (function uix$compiler$aot$validate_children(children){ +var v__28237__auto___28880 = children; +if(cljs.core.seq(v__28237__auto___28880)){ +var x__28238__auto___28881 = cljs.core.first(v__28237__auto___28880); +var xs__28239__auto___28882 = cljs.core.next(v__28237__auto___28880); +while(true){ +var child_28883 = x__28238__auto___28881; +if(cljs.core.truth_(uix.compiler.aot.hiccup_QMARK_(child_28883))){ +throw (new Error(["Hiccup is not valid as UIx child (found: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(child_28883),").\n","If you meant to render UIx element, use `$` macro, i.e. ($ ",clojure.string.join.cljs$core$IFn$_invoke$arity$2(" ",child_28883),")\n","If you meant to render Reagent element, wrap it with r/as-element, i.e. (r/as-element ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(child_28883),")"].join(''))); +} else { +if(cljs.core.sequential_QMARK_(child_28883)){ +(uix.compiler.aot.validate_children.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.aot.validate_children.cljs$core$IFn$_invoke$arity$1(child_28883) : uix.compiler.aot.validate_children.call(null, child_28883)); +} else { +} +} + +if(cljs.core.seq(xs__28239__auto___28882)){ +var G__28884 = cljs.core.first(xs__28239__auto___28882); +var G__28885 = cljs.core.next(xs__28239__auto___28882); +x__28238__auto___28881 = G__28884; +xs__28239__auto___28882 = G__28885; +continue; +} else { +} +break; +} +} else { +} + +return true; +}); +uix.compiler.aot._GT_el = (function uix$compiler$aot$_GT_el(tag,attrs_children,children){ +var args = [tag].concat(attrs_children); +if(goog.DEBUG){ +uix.compiler.aot.validate_children(args); +} else { +} + +return uix.compiler.alpha.create_element(args,children); +}); +uix.compiler.aot.create_uix_input = (function uix$compiler$aot$create_uix_input(tag,attrs_children,children){ +if(uix.compiler.input.should_use_reagent_input_QMARK_()){ +var props = (attrs_children[(0)]); +var children__$1 = [(attrs_children[(1)])].concat(children); +return uix.compiler.alpha.create_element([uix.compiler.input.reagent_input,({"props": props, "tag": tag})],children__$1); +} else { +return uix.compiler.aot._GT_el(tag,attrs_children,children); +} +}); +uix.compiler.aot.fragment = module$node_modules$react$index.Fragment; + +//# sourceMappingURL=uix.compiler.aot.js.map diff --git a/out/cljs-runtime/uix.compiler.aot.js.map b/out/cljs-runtime/uix.compiler.aot.js.map new file mode 100644 index 0000000..8acae2f --- /dev/null +++ b/out/cljs-runtime/uix.compiler.aot.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/compiler/aot.cljs"],"mappings":";;AASA,iCAAA,jCAAMA,0EAASC;AAAf,AACE,GAAM,AAACC,wBAAQD;AAAf,AACE,IAAME,MAAI,+CAAA,IAAA,nDAACC,4CAAIH;AAAf,AACE,iDAAA,yCAAA,jFAAI,gBAAAI,fAAUF,yCACV,gBAAAG,fAASH,wCACT,AAACI,oBAAIJ,UACL,gBAAWK,fAAQL;;AAL3B;;;AAOF,qCAAA,rCAAMM,kFAAmBC;AAAzB,AACE,IAAAC,yBAAmBD;AAAnB,AAAA,GAAA,AAAAE,cAAAD;AAAA,AAAA,IAAAE,yBAAA,AAAAC,gBAAAH;IAAAI,0BAAA,AAAAC,eAAAL;;AAAA,AAAA,kBAAAE,dAAaI;AAAb,AACE,oBACE,AAACjB,+BAAQiB;AACT,MAAO,KAAAC,MAAW,CAAA,qGAAA,OAAA,iIAAA,MAAA,kJAAA,7SAAiDD,kFACkB,kDAAA,lDAACE,sDAAaF,wJACaA;;AAJlH,GAME,AAACG,4BAAYH;AACb,CAACR,mEAAAA,gFAAAA,fAAkBQ,6DAAAA;;AAPrB;;;AADF,GAAA,AAAAL,cAAAG;AAAA,AAAA,eAAA,AAAAD,gBAAAC;eAAA,AAAAC,eAAAD;;;;;AAAA;;;;AAAA;;AADF;;AAYA,0BAAA,1BAAMM,4DAAKlB,IAAImB,eAAeZ;AAA9B,AACE,IAAMa,OAAK,AAAA,CAAcpB,YAAKmB;AAA9B,AACE,GAAeE;AAAf,AACE,AAACf,mCAAkBc;;AADrB;;AAEA,OAACE,kCAAoBF,KAAKb;;AAE9B,oCAAA,pCAAMgB,gFAAkBvB,IAAImB,eAAeZ;AAA3C,AACE,GAAI,AAACiB;AACH,IAAMC,QAAM,gBAAA,fAAMN;IACZZ,eAAS,AAAA,CAAc,gBAAA,fAAMY,6BAAmBZ;AADtD,AAEE,yCAAA,kCAAA,pEAACe,mCAAyBI,4CAA6CD,cAAWzB,OAAMO;;AAC1F,OAACW,wBAAIlB,IAAImB,eAAeZ;;;AAE5B,AAAKoB,4BAASC","names":["uix.compiler.aot/hiccup?","el","cljs.core/vector?","tag","cljs.core.nth","cljs.core/Keyword","cljs.core/Symbol","cljs.core/fn?","cljs.core/MultiFn","uix.compiler.aot/validate-children","children","v__28237__auto__","cljs.core/seq","x__28238__auto__","cljs.core/first","xs__28239__auto__","cljs.core/next","child","js/Error","clojure.string.join","cljs.core/sequential?","uix.compiler.aot/>el","attrs-children","args","js/goog.DEBUG","uix.compiler.alpha/create-element","uix.compiler.aot/create-uix-input","uix.compiler.input/should-use-reagent-input?","props","uix.compiler.input/reagent-input","uix.compiler.aot/fragment","js/module$node_modules$react$index.Fragment"],"sourcesContent":["(ns uix.compiler.aot\n \"Runtime helpers for HyperScript compiled into React\"\n (:require [clojure.string :as str]\n [react :as react]\n [uix.compiler.input]\n [uix.compiler.alpha :as uixc]\n [uix.compiler.attributes]\n [uix.lib :refer [doseq-loop]]))\n\n(defn hiccup? [el]\n (when (vector? el)\n (let [tag (nth el 0 nil)]\n (or (keyword? tag)\n (symbol? tag)\n (fn? tag)\n (instance? MultiFn tag)))))\n\n(defn validate-children [children]\n (doseq-loop [child children]\n (cond\n (hiccup? child)\n (throw (js/Error. (str \"Hiccup is not valid as UIx child (found: \" child \").\\n\"\n \"If you meant to render UIx element, use `$` macro, i.e. ($ \" (str/join \" \" child) \")\\n\"\n \"If you meant to render Reagent element, wrap it with r/as-element, i.e. (r/as-element \" child \")\")))\n\n (sequential? child)\n (validate-children child)))\n true)\n\n(defn >el [tag attrs-children children]\n (let [args (.concat #js [tag] attrs-children)]\n (when ^boolean goog.DEBUG\n (validate-children args))\n (uixc/create-element args children)))\n\n(defn create-uix-input [tag attrs-children children]\n (if (uix.compiler.input/should-use-reagent-input?)\n (let [props (aget attrs-children 0)\n children (.concat #js [(aget attrs-children 1)] children)]\n (uixc/create-element #js [uix.compiler.input/reagent-input #js {:props props :tag tag}] children))\n (>el tag attrs-children children)))\n\n(def fragment react/Fragment)\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.compiler.attributes.js b/out/cljs-runtime/uix.compiler.attributes.js new file mode 100644 index 0000000..4535ae6 --- /dev/null +++ b/out/cljs-runtime/uix.compiler.attributes.js @@ -0,0 +1,382 @@ +goog.provide('uix.compiler.attributes'); +goog.scope(function(){ + uix.compiler.attributes.goog$module$goog$object = goog.module.get('goog.object'); +}); +uix.compiler.attributes.js_val_QMARK_ = (function uix$compiler$attributes$js_val_QMARK_(x){ +return (!(("object" === goog.typeOf(x)))); +}); +uix.compiler.attributes.prop_name_cache = ({"class": "className", "for": "htmlFor", "charset": "charSet", "class-id": "classID", "item-id": "itemID"}); +uix.compiler.attributes.custom_prop_name_cache = ({}); +uix.compiler.attributes.cc_regexp = (new RegExp("-(\\w)","g")); +uix.compiler.attributes.cc_fn = (function uix$compiler$attributes$cc_fn(s){ +return clojure.string.upper_case((s[(1)])); +}); +uix.compiler.attributes.dash_to_camel = (function uix$compiler$attributes$dash_to_camel(name_str){ +if(((clojure.string.starts_with_QMARK_(name_str,"aria-")) || (clojure.string.starts_with_QMARK_(name_str,"data-")))){ +return name_str; +} else { +return name_str.replace(uix.compiler.attributes.cc_regexp,uix.compiler.attributes.cc_fn); +} +}); +uix.compiler.attributes.keyword__GT_string = (function uix$compiler$attributes$keyword__GT_string(x){ +if((x instanceof cljs.core.Keyword)){ +return x.cljs$core$INamed$_name$arity$1(null, ); +} else { +return x; +} +}); +uix.compiler.attributes.cached_prop_name = (function uix$compiler$attributes$cached_prop_name(k){ +if((k instanceof cljs.core.Keyword)){ +var name_str = k.cljs$core$INamed$_name$arity$1(null, ); +var temp__5825__auto__ = (uix.compiler.attributes.prop_name_cache[name_str]); +if((temp__5825__auto__ == null)){ +var v = uix.compiler.attributes.dash_to_camel(name_str); +(uix.compiler.attributes.prop_name_cache[name_str] = v); + +return v; +} else { +var k_SINGLEQUOTE_ = temp__5825__auto__; +return k_SINGLEQUOTE_; +} +} else { +return k; +} +}); +uix.compiler.attributes.cached_custom_prop_name = (function uix$compiler$attributes$cached_custom_prop_name(k){ +if((k instanceof cljs.core.Keyword)){ +var name_str = k.cljs$core$INamed$_name$arity$1(null, ); +var temp__5825__auto__ = (uix.compiler.attributes.custom_prop_name_cache[name_str]); +if((temp__5825__auto__ == null)){ +var v = uix.compiler.attributes.dash_to_camel(name_str); +(uix.compiler.attributes.custom_prop_name_cache[name_str] = v); + +return v; +} else { +var k_SINGLEQUOTE_ = temp__5825__auto__; +return k_SINGLEQUOTE_; +} +} else { +return k; +} +}); +uix.compiler.attributes.convert_interop_prop_value = (function uix$compiler$attributes$convert_interop_prop_value(k,v){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k,new cljs.core.Keyword(null,"style","style",-496642736))){ +if(cljs.core.vector_QMARK_(v)){ +return v.cljs$core$IReduce$_reduce$arity$3(null, (function (a,v__$1){ +a.push((uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1(v__$1) : uix.compiler.attributes.convert_prop_value_shallow.call(null, v__$1))); + +return a; +}),[]); +} else { +return (uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value_shallow.call(null, v)); +} +} else { +if((v instanceof cljs.core.Keyword)){ +return v.cljs$core$INamed$_name$arity$1(null, ); +} else { +return v; + +} +} +}); +uix.compiler.attributes.kv_conv = (function uix$compiler$attributes$kv_conv(o,k,v){ +uix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_prop_name(k),(uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value.call(null, v))); + +return o; +}); +uix.compiler.attributes.kv_conv_shallow = (function uix$compiler$attributes$kv_conv_shallow(o,k,v){ +uix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_prop_name(k),uix.compiler.attributes.convert_interop_prop_value(k,v)); + +return o; +}); +uix.compiler.attributes.custom_kv_conv = (function uix$compiler$attributes$custom_kv_conv(o,k,v){ +uix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_custom_prop_name(k),(uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value.call(null, v))); + +return o; +}); +uix.compiler.attributes.convert_prop_value = (function uix$compiler$attributes$convert_prop_value(x){ +if(uix.compiler.attributes.js_val_QMARK_(x)){ +return x; +} else { +if((x instanceof cljs.core.Keyword)){ +return x.cljs$core$INamed$_name$arity$1(null, ); +} else { +if(cljs.core.map_QMARK_(x)){ +return cljs.core.reduce_kv(uix.compiler.attributes.kv_conv,({}),x); +} else { +if(cljs.core.coll_QMARK_(x)){ +return cljs.core.clj__GT_js(x); +} else { +if(cljs.core.ifn_QMARK_(x)){ +return (function() { +var G__28405__delegate = function (rest__28218_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(x,rest__28218_SHARP_); +}; +var G__28405 = function (var_args){ +var rest__28218_SHARP_ = null; +if (arguments.length > 0) { +var G__28406__i = 0, G__28406__a = new Array(arguments.length - 0); +while (G__28406__i < G__28406__a.length) {G__28406__a[G__28406__i] = arguments[G__28406__i + 0]; ++G__28406__i;} + rest__28218_SHARP_ = new cljs.core.IndexedSeq(G__28406__a,0,null); +} +return G__28405__delegate.call(this,rest__28218_SHARP_);}; +G__28405.cljs$lang$maxFixedArity = 0; +G__28405.cljs$lang$applyTo = (function (arglist__28407){ +var rest__28218_SHARP_ = cljs.core.seq(arglist__28407); +return G__28405__delegate(rest__28218_SHARP_); +}); +G__28405.cljs$core$IFn$_invoke$arity$variadic = G__28405__delegate; +return G__28405; +})() +; +} else { +return cljs.core.clj__GT_js(x); + +} +} +} +} +} +}); +uix.compiler.attributes.convert_custom_prop_value = (function uix$compiler$attributes$convert_custom_prop_value(x){ +if(uix.compiler.attributes.js_val_QMARK_(x)){ +return x; +} else { +if((x instanceof cljs.core.Keyword)){ +return x.cljs$core$INamed$_name$arity$1(null, ); +} else { +if(cljs.core.map_QMARK_(x)){ +return cljs.core.reduce_kv(uix.compiler.attributes.custom_kv_conv,({}),x); +} else { +if(cljs.core.coll_QMARK_(x)){ +return cljs.core.clj__GT_js(x); +} else { +if(cljs.core.ifn_QMARK_(x)){ +return (function() { +var G__28413__delegate = function (rest__28225_SHARP_){ +return cljs.core.apply.cljs$core$IFn$_invoke$arity$2(x,rest__28225_SHARP_); +}; +var G__28413 = function (var_args){ +var rest__28225_SHARP_ = null; +if (arguments.length > 0) { +var G__28414__i = 0, G__28414__a = new Array(arguments.length - 0); +while (G__28414__i < G__28414__a.length) {G__28414__a[G__28414__i] = arguments[G__28414__i + 0]; ++G__28414__i;} + rest__28225_SHARP_ = new cljs.core.IndexedSeq(G__28414__a,0,null); +} +return G__28413__delegate.call(this,rest__28225_SHARP_);}; +G__28413.cljs$lang$maxFixedArity = 0; +G__28413.cljs$lang$applyTo = (function (arglist__28415){ +var rest__28225_SHARP_ = cljs.core.seq(arglist__28415); +return G__28413__delegate(rest__28225_SHARP_); +}); +G__28413.cljs$core$IFn$_invoke$arity$variadic = G__28413__delegate; +return G__28413; +})() +; +} else { +return cljs.core.clj__GT_js(x); + +} +} +} +} +} +}); +uix.compiler.attributes.convert_prop_value_shallow = (function uix$compiler$attributes$convert_prop_value_shallow(x){ +if(cljs.core.map_QMARK_(x)){ +return cljs.core.reduce_kv(uix.compiler.attributes.kv_conv_shallow,({}),x); +} else { +return x; +} +}); +uix.compiler.attributes.class_names_coll = (function uix$compiler$attributes$class_names_coll(classes){ +var classes__$1 = cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (a,c){ +if(c){ +a.push((((c instanceof cljs.core.Keyword))?c.cljs$core$INamed$_name$arity$1(null, ):(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(c) : uix.compiler.attributes.class_names.call(null, c)))); +} else { +} + +return a; +}),[],classes); +if((classes__$1.length > (0))){ +return classes__$1.join(" "); +} else { +return null; +} +}); +/** + * Merges a collection of class names into a string + */ +uix.compiler.attributes.class_names = (function uix$compiler$attributes$class_names(var_args){ +var G__28279 = arguments.length; +switch (G__28279) { +case 1: +return uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +var args_arr__5794__auto__ = []; +var len__5769__auto___28442 = arguments.length; +var i__5770__auto___28443 = (0); +while(true){ +if((i__5770__auto___28443 < len__5769__auto___28442)){ +args_arr__5794__auto__.push((arguments[i__5770__auto___28443])); + +var G__28451 = (i__5770__auto___28443 + (1)); +i__5770__auto___28443 = G__28451; +continue; +} else { +} +break; +} + +var argseq__5795__auto__ = (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null)); +return uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__); + +} +}); + +(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1 = (function (a){ +if(((cljs.core.array_QMARK_(a)) || (cljs.core.coll_QMARK_(a)))){ +return uix.compiler.attributes.class_names_coll(a); +} else { +if((a instanceof cljs.core.Keyword)){ +return a.cljs$core$INamed$_name$arity$1(null, ); +} else { +return a; + +} +} +})); + +(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2 = (function (a,b){ +if(a){ +if(b){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(a))," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(b))].join(''); +} else { +return uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(a); +} +} else { +return uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(b); +} +})); + +(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$variadic = (function (a,b,rst){ +return cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(uix.compiler.attributes.class_names,uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2(a,b),rst); +})); + +/** @this {Function} */ +(uix.compiler.attributes.class_names.cljs$lang$applyTo = (function (seq28269){ +var G__28277 = cljs.core.first(seq28269); +var seq28269__$1 = cljs.core.next(seq28269); +var G__28278 = cljs.core.first(seq28269__$1); +var seq28269__$2 = cljs.core.next(seq28269__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28277,G__28278,seq28269__$2); +})); + +(uix.compiler.attributes.class_names.cljs$lang$maxFixedArity = (2)); + +/** + * HyperScript tag pattern :div :div#id.class etc. + */ +uix.compiler.attributes.re_tag = /([^\.#]*)(?:#([^\.#]+))?(?:\.([^#]+))?/; +/** + * Takes HyperScript tag (:div#id.class) and returns parsed tag, id and class fields, + * and boolean indicating if tag name is a custom element (a custom DOM element that has hyphen in the name) + */ +uix.compiler.attributes.parse_tag = (function uix$compiler$attributes$parse_tag(tag){ +var tag_str = cljs.core.name(tag); +if(cljs.core.truth_((function (){var and__5043__auto__ = cljs.core.not(cljs.core.re_matches(uix.compiler.attributes.re_tag,tag_str)); +if(and__5043__auto__){ +return cljs.core.re_find(/[#\.]/,tag_str); +} else { +return and__5043__auto__; +} +})())){ +throw (new Error(["Invalid tag name (found: ",tag_str,"). Make sure that the name matches the format and ordering is correct `:tag#id.class`"].join(''))); +} else { +} + +var vec__28305 = cljs.core.next(cljs.core.re_matches(uix.compiler.attributes.re_tag,tag_str)); +var tag__$1 = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28305,(0),null); +var id = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28305,(1),null); +var class_name = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28305,(2),null); +var tag__$2 = ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2("",tag__$1))?"div":tag__$1); +var class_name__$1 = (((class_name == null))?null:clojure.string.replace(class_name,/\./," ")); +return [tag__$2,id,class_name__$1,(!((cljs.core.re_find(/-/,tag__$2) == null)))]; +}); +/** + * Takes attributes map and parsed tag, and returns attributes merged with class names and id + */ +uix.compiler.attributes.set_id_class = (function uix$compiler$attributes$set_id_class(props,id_class){ +var props_class = cljs.core.get.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,"class","class",-2030961996)); +var id = (id_class[(1)]); +var class$ = (id_class[(2)]); +var G__28317 = props; +var G__28317__$1 = (((((!((id == null)))) && ((cljs.core.get.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,"id","id",-1388402092)) == null))))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__28317,new cljs.core.Keyword(null,"id","id",-1388402092),id):G__28317); +if(cljs.core.truth_((function (){var or__5045__auto__ = class$; +if(cljs.core.truth_(or__5045__auto__)){ +return or__5045__auto__; +} else { +return props_class; +} +})())){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__28317__$1,new cljs.core.Keyword(null,"class","class",-2030961996),uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2(class$,props_class)); +} else { +return G__28317__$1; +} +}); +/** + * Converts `props` Clojure map into JS object suitable for + * passing as `props` object into `React.createElement` + * + * - `props` — Clojure map of props + * - `id-class` — a triplet of parsed tag, id and class names + * - `shallow?` — indicates whether `props` map should be converted shallowly or not + */ +uix.compiler.attributes.convert_props = (function uix$compiler$attributes$convert_props(props,id_class,shallow_QMARK_){ +var props__$1 = uix.compiler.attributes.set_id_class(props,id_class); +if(cljs.core.truth_((id_class[(3)]))){ +return uix.compiler.attributes.convert_custom_prop_value(props__$1); +} else { +if(shallow_QMARK_){ +return uix.compiler.attributes.convert_prop_value_shallow(props__$1); +} else { +return uix.compiler.attributes.convert_prop_value(props__$1); + +} +} +}); +/** + * Returns a tuple of attributes and a child element + * + * - [attrs] when `attrs` is actually a map of attributes + * - [nil attrs] when `attrs` is not a map, thus a child element + */ +uix.compiler.attributes.interpret_attrs = (function uix$compiler$attributes$interpret_attrs(maybe_attrs,id_class,shallow_QMARK_){ +if(cljs.core.map_QMARK_(maybe_attrs)){ +return [uix.compiler.attributes.convert_props(maybe_attrs,id_class,shallow_QMARK_)]; +} else { +return [uix.compiler.attributes.convert_props(cljs.core.PersistentArrayMap.EMPTY,id_class,shallow_QMARK_),maybe_attrs]; +} +}); +/** + * Returns a tuple of component props and a child element + * + * - [props] when `props` is actually a map of attributes + * - [nil props] when `props` is not a map, thus a child element + */ +uix.compiler.attributes.interpret_props = (function uix$compiler$attributes$interpret_props(props){ +if(cljs.core.map_QMARK_(props)){ +return [props]; +} else { +return [null,props]; +} +}); + +//# sourceMappingURL=uix.compiler.attributes.js.map diff --git a/out/cljs-runtime/uix.compiler.attributes.js.map b/out/cljs-runtime/uix.compiler.attributes.js.map new file mode 100644 index 0000000..41a2df4 --- /dev/null +++ b/out/cljs-runtime/uix.compiler.attributes.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/compiler/attributes.cljs"],"mappings":";;;;AAIA,AAAA,AACA,AAAA,AAEA,wCAAA,xCAAMA,wFAASC;AAAf,AACE,UAAK,CAAA,aAAqB,AAACC,YAAYD;;AAEzC,0CAAA,WAAA,oBAAA,sBAAA,uBAAA,sBAAA,5IAAKE;AAOL,iDAAA,jDAAKC;AAEL,AAAeC,oCAAU,KAAAC,OAAA,SAAA;AAEzB,gCAAA,hCAAOC,wEAAOC;AAAd,AACE,OAACC,0BAAe,GAAA,FAAMD;;AAExB,wCAAA,xCAAcE,wFAAuBC;AAArC,AACE,GAAI,EAAI,2CAAA,3CAACC,kCAAiBD,uBAClB,2CAAA,3CAACC,kCAAiBD;AACxBA;;AACA,OAAUA,iBAASN,kCAAUE;;;AAEjC,6CAAA,7CAAMM,kGAAiBZ;AAAvB,AACE,GAAI,cAAAa,bAAUb;AACZ,OAAmBA;;AACnBA;;;AAEJ,2CAAA,3CAAMc,8FAAkBC;AAAxB,AACE,GAAI,cAAAF,bAAUE;AACZ,IAAML,WAAS,AAAmBK;AAAlC,AACE,IAAAC,qBAAa,CAAMd,wCAAgBQ;AAAnC,AAAA,GAAA,CAAAM,sBAAA;AAEE,IAAME,IAAE,AAACT,sCAAcC;AAAvB,AACE,CAAMR,wCAAgBQ,YAASQ;;AAC/BA;;AAJJ,qBAAAF,jBAAUC;AAAV,AACEA;;;AAIJF;;;AAEJ,kD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ACf,OAACzC,kDAA0BwC;;AAF7B,GAIES;AACA,OAAC/D,mDAA2BsD;;AAL9B,AAOQ,OAAClD,2CAAmBkD;;;;;AAEhC;;;;;;0CAAA,1CAAMU,4FAKHC,YAAYV,SAASQ;AALxB,AAME,GAAI,AAACvD,qBAAKyD;AAAV,QACO,AAACH,sCAAcG,YAAYV,SAASQ;;AAD3C,QAEO,sCAAA,tCAACD,yEAAiBP,SAASQ,gBAAUE;;;AAE9C;;;;;;0CAAA,1CAAMC,4FAKHZ;AALH,AAME,GAAI,AAAC9C,qBAAK8C;AAAV,QACOA;;AADP,QAAA,KAEWA","names":["uix.compiler.attributes/js-val?","x","goog/typeOf","uix.compiler.attributes/prop-name-cache","uix.compiler.attributes/custom-prop-name-cache","uix.compiler.attributes/cc-regexp","js/RegExp","uix.compiler.attributes/cc-fn","s","clojure.string/upper-case","uix.compiler.attributes/dash-to-camel","name-str","clojure.string/starts-with?","uix.compiler.attributes/keyword->string","cljs.core/Keyword","uix.compiler.attributes/cached-prop-name","k","temp__5825__auto__","k'","v","uix.compiler.attributes/cached-custom-prop-name","uix.compiler.attributes/convert-interop-prop-value","cljs.core._EQ_","cljs.core/vector?","a","uix.compiler.attributes/convert-prop-value-shallow","uix.compiler.attributes/kv-conv","o","uix.compiler.attributes.goog$module$goog$object.set","uix.compiler.attributes/convert-prop-value","uix.compiler.attributes/kv-conv-shallow","uix.compiler.attributes/custom-kv-conv","rest__28218#","cljs.core/map?","cljs.core/reduce-kv","cljs.core/coll?","cljs.core/clj->js","cljs.core/ifn?","cljs.core.apply","uix.compiler.attributes/convert-custom-prop-value","rest__28225#","uix.compiler.attributes/class-names-coll","classes","cljs.core.reduce","c","uix.compiler.attributes/class-names","var_args","G__28279","args-arr__5794__auto__","len__5769__auto__","i__5770__auto__","argseq__5795__auto__","cljs.core/IndexedSeq","seq28269","G__28277","cljs.core/first","cljs.core/next","G__28278","self__5754__auto__","cljs.core/array?","b","uix.compiler.attributes.class_names","rst","uix.compiler.attributes/re-tag","uix.compiler.attributes/parse-tag","tag","tag-str","cljs.core/name","and__5043__auto__","cljs.core/not","cljs.core/re-matches","cljs.core/re-find","js/Error","vec__28305","cljs.core.nth","id","class-name","clojure.string/replace","uix.compiler.attributes/set-id-class","props","id-class","props-class","cljs.core.get","class","G__28317","cljs.core.assoc","or__5045__auto__","uix.compiler.attributes/convert-props","shallow?","uix.compiler.attributes/interpret-attrs","maybe-attrs","uix.compiler.attributes/interpret-props"],"sourcesContent":["(ns uix.compiler.attributes\n (:require [clojure.string :as str]\n [goog.object :as gobj]))\n\n(declare convert-prop-value)\n(declare convert-prop-value-shallow)\n\n(defn js-val? [x]\n (not (identical? \"object\" (goog/typeOf x))))\n\n(def prop-name-cache\n #js {:class \"className\"\n :for \"htmlFor\"\n :charset \"charSet\"\n :class-id \"classID\"\n :item-id \"itemID\"})\n\n(def custom-prop-name-cache #js {})\n\n(def ^:private cc-regexp (js/RegExp. \"-(\\\\w)\" \"g\"))\n\n(defn- cc-fn [s]\n (str/upper-case (aget s 1)))\n\n(defn ^string dash-to-camel [^string name-str]\n (if (or (str/starts-with? name-str \"aria-\")\n (str/starts-with? name-str \"data-\"))\n name-str\n (.replace name-str cc-regexp cc-fn)))\n\n(defn keyword->string [x]\n (if (keyword? x)\n (-name ^not-native x)\n x))\n\n(defn cached-prop-name [k]\n (if (keyword? k)\n (let [name-str (-name ^not-native k)]\n (if-some [k' (aget prop-name-cache name-str)]\n k'\n (let [v (dash-to-camel name-str)]\n (aset prop-name-cache name-str v)\n v)))\n k))\n\n(defn cached-custom-prop-name [k]\n (if (keyword? k)\n (let [name-str (-name ^not-native k)]\n (if-some [k' (aget custom-prop-name-cache name-str)]\n k'\n (let [v (dash-to-camel name-str)]\n (aset custom-prop-name-cache name-str v)\n v)))\n k))\n\n(defn convert-interop-prop-value [k v]\n (cond\n (= k :style) (if (vector? v)\n (-reduce ^not-native v\n (fn [a v]\n (.push a (convert-prop-value-shallow v))\n a)\n #js [])\n (convert-prop-value-shallow v))\n (keyword? v) (-name ^not-native v)\n :else v))\n\n(defn kv-conv [o k v]\n (gobj/set o (cached-prop-name k) (convert-prop-value v))\n o)\n\n(defn kv-conv-shallow [o k v]\n (gobj/set o (cached-prop-name k) (convert-interop-prop-value k v))\n o)\n\n(defn custom-kv-conv [o k v]\n (gobj/set o (cached-custom-prop-name k) (convert-prop-value v))\n o)\n\n(defn convert-prop-value [x]\n (cond\n (js-val? x) x\n (keyword? x) (-name ^not-native x)\n (map? x) (reduce-kv kv-conv #js {} x)\n (coll? x) (clj->js x)\n (ifn? x) #(apply x %&)\n :else (clj->js x)))\n\n(defn convert-custom-prop-value [x]\n (cond\n (js-val? x) x\n (keyword? x) (-name ^not-native x)\n (map? x) (reduce-kv custom-kv-conv #js {} x)\n (coll? x) (clj->js x)\n (ifn? x) #(apply x %&)\n :else (clj->js x)))\n\n(defn convert-prop-value-shallow [x]\n (if (map? x)\n (reduce-kv kv-conv-shallow #js {} x)\n x))\n\n(declare class-names)\n\n(defn class-names-coll [classes]\n (let [^js/Array classes (reduce (fn [^js/Array a c]\n (when ^boolean c\n (->> (if (keyword? c) (-name ^not-native c) (class-names c))\n (.push a)))\n a)\n #js []\n classes)]\n (when (pos? (.-length classes))\n (.join classes \" \"))))\n\n(defn ^string class-names\n \"Merges a collection of class names into a string\"\n ([a]\n (cond\n (or (array? a) (coll? a)) (class-names-coll a)\n (keyword? a) (-name ^not-native a)\n :else a))\n ([a b]\n (if ^boolean a\n (if ^boolean b\n (str (class-names a) \" \" (class-names b))\n (class-names a))\n (class-names b)))\n ([a b & rst]\n (reduce class-names (class-names a b) rst)))\n\n(def re-tag\n \"HyperScript tag pattern :div :div#id.class etc.\"\n #\"([^\\.#]*)(?:#([^\\.#]+))?(?:\\.([^#]+))?\")\n\n(defn parse-tag\n \"Takes HyperScript tag (:div#id.class) and returns parsed tag, id and class fields,\n and boolean indicating if tag name is a custom element (a custom DOM element that has hyphen in the name)\"\n [tag]\n (let [tag-str (name tag)]\n (when (and (not (re-matches re-tag tag-str))\n (re-find #\"[#\\.]\" tag-str))\n ;; Throwing NPE here because shadow catches those to bring up error view in a browser\n (throw (js/Error. (str \"Invalid tag name (found: \" tag-str \"). Make sure that the name matches the format and ordering is correct `:tag#id.class`\"))))\n (let [[tag id class-name] (next (re-matches re-tag tag-str))\n tag (if (= \"\" tag) \"div\" tag)\n class-name (when-not (nil? class-name)\n (str/replace class-name #\"\\.\" \" \"))]\n #js [tag id class-name (some? (re-find #\"-\" tag))])))\n\n(defn- set-id-class\n \"Takes attributes map and parsed tag, and returns attributes merged with class names and id\"\n [props id-class]\n (let [props-class (get props :class)\n id (aget id-class 1)\n class (aget id-class 2)]\n (cond-> props\n ;; Only use ID from tag keyword if no :id in props already\n (and (some? id) (nil? (get props :id)))\n (assoc :id id)\n\n ;; Merge classes\n (or class props-class)\n (assoc :class (class-names class props-class)))))\n\n(defn ^js convert-props\n \"Converts `props` Clojure map into JS object suitable for\n passing as `props` object into `React.createElement`\n\n - `props` \u2014 Clojure map of props\n - `id-class` \u2014 a triplet of parsed tag, id and class names\n - `shallow?` \u2014 indicates whether `props` map should be converted shallowly or not\"\n [props id-class ^boolean shallow?]\n (let [props (set-id-class props id-class)]\n (cond\n ^boolean (aget id-class 3)\n (convert-custom-prop-value props)\n\n shallow?\n (convert-prop-value-shallow props)\n\n :else (convert-prop-value props))))\n\n(defn interpret-attrs\n \"Returns a tuple of attributes and a child element\n\n - [attrs] when `attrs` is actually a map of attributes\n - [nil attrs] when `attrs` is not a map, thus a child element\"\n [maybe-attrs id-class shallow?]\n (if (map? maybe-attrs)\n #js [(convert-props maybe-attrs id-class shallow?)]\n #js [(convert-props {} id-class shallow?) maybe-attrs]))\n\n(defn interpret-props\n \"Returns a tuple of component props and a child element\n\n - [props] when `props` is actually a map of attributes\n - [nil props] when `props` is not a map, thus a child element\"\n [props]\n (if (map? props)\n #js [props]\n #js [nil props]))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.compiler.input.js b/out/cljs-runtime/uix.compiler.input.js new file mode 100644 index 0000000..a89542c --- /dev/null +++ b/out/cljs-runtime/uix.compiler.input.js @@ -0,0 +1,151 @@ +goog.provide('uix.compiler.input'); +var module$node_modules$react$index=shadow.js.require("module$node_modules$react$index", {}); +uix.compiler.input.these_inputs_have_selection_api = new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, ["url",null,"tel",null,"text",null,"textarea",null,"password",null,"search",null], null), null); +uix.compiler.input.has_selection_api_QMARK_ = (function uix$compiler$input$has_selection_api_QMARK_(input_type){ +return cljs.core.contains_QMARK_(uix.compiler.input.these_inputs_have_selection_api,input_type); +}); +uix.compiler.input.should_use_reagent_input_QMARK_ = (function uix$compiler$input$should_use_reagent_input_QMARK_(){ +return (((typeof reagent !== 'undefined') && (typeof reagent.impl !== 'undefined') && (typeof reagent.impl.util !== 'undefined') && (typeof reagent.impl.util._STAR_non_reactive_STAR_ !== 'undefined')) && (cljs.core.not(reagent.impl.util._STAR_non_reactive_STAR_))); +}); +uix.compiler.input.do_after_render = (function uix$compiler$input$do_after_render(f){ +return reagent.impl.batching.do_after_render(f); +}); +uix.compiler.input.input_node_set_value = (function uix$compiler$input$input_node_set_value(node,rendered_value,dom_value,component){ +if((!((((node === document.activeElement)) && (((uix.compiler.input.has_selection_api_QMARK_(node.type)) && (((typeof rendered_value === 'string') && (typeof dom_value === 'string'))))))))){ +(component.cljsDOMValue = rendered_value); + +return (node.value = rendered_value); +} else { +var node_value = node.value; +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(node_value,dom_value)){ +var existing_offset_from_end = (cljs.core.count(node_value) - node.selectionStart); +var new_cursor_offset = (cljs.core.count(rendered_value) - existing_offset_from_end); +(component.cljsDOMValue = rendered_value); + +(node.value = rendered_value); + +(node.selectionStart = new_cursor_offset); + +return (node.selectionEnd = new_cursor_offset); +} else { +return null; +} +} +}); +uix.compiler.input.input_component_set_value = (function uix$compiler$input$input_component_set_value(this$){ +if(cljs.core.truth_(this$.cljsInputLive)){ +(this$.cljsInputDirty = false); + +var rendered_value = this$.cljsRenderedValue; +var dom_value = this$.cljsDOMValue; +var node = this$.inputEl; +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(rendered_value,dom_value)){ +return uix.compiler.input.input_node_set_value(node,rendered_value,dom_value,this$); +} else { +return null; +} +} else { +return null; +} +}); +uix.compiler.input.input_handle_change = (function uix$compiler$input$input_handle_change(this$,on_change,e){ +(this$.cljsDOMValue = e.target.value); + +if(cljs.core.truth_(this$.cljsInputDirty)){ +} else { +(this$.cljsInputDirty = true); + +uix.compiler.input.do_after_render((function (){ +return uix.compiler.input.input_component_set_value(this$); +})); +} + +return (on_change.cljs$core$IFn$_invoke$arity$1 ? on_change.cljs$core$IFn$_invoke$arity$1(e) : on_change.call(null, e)); +}); +uix.compiler.input.input_render_setup = (function uix$compiler$input$input_render_setup(this$,jsprops){ +if(cljs.core.truth_((function (){var and__5043__auto__ = (!((jsprops == null))); +if(and__5043__auto__){ +var and__5043__auto____$1 = jsprops.hasOwnProperty("onChange"); +if(cljs.core.truth_(and__5043__auto____$1)){ +return jsprops.hasOwnProperty("value"); +} else { +return and__5043__auto____$1; +} +} else { +return and__5043__auto__; +} +})())){ +var v = jsprops.value; +var value = (((v == null))?"":v); +var on_change = jsprops.onChange; +var original_ref_fn = jsprops.ref; +if(cljs.core.truth_(this$.cljsInputLive)){ +} else { +(this$.cljsInputLive = true); + +(this$.cljsDOMValue = value); +} + +if(cljs.core.truth_(this$.reagentRefFn)){ +} else { +(this$.reagentRefFn = ((cljs.core.fn_QMARK_(original_ref_fn))?(function (el){ +(this$.inputEl = el); + +return (original_ref_fn.cljs$core$IFn$_invoke$arity$1 ? original_ref_fn.cljs$core$IFn$_invoke$arity$1(el) : original_ref_fn.call(null, el)); +}):(cljs.core.truth_((function (){var and__5043__auto__ = original_ref_fn; +if(cljs.core.truth_(and__5043__auto__)){ +return original_ref_fn.hasOwnProperty("current"); +} else { +return and__5043__auto__; +} +})())?(function (el){ +(this$.inputEl = el); + +return (original_ref_fn.current = el); +}):(function (el){ +return (this$.inputEl = el); +}) +))); +} + +(this$.cljsRenderedValue = value); + +delete jsprops["value"]; + +(jsprops.defaultValue = value); + +(jsprops.onChange = (function (p1__28217_SHARP_){ +return uix.compiler.input.input_handle_change(this$,on_change,p1__28217_SHARP_); +})); + +return (jsprops.ref = this$.reagentRefFn); +} else { +return null; +} +}); +uix.compiler.input.input_unmount = (function uix$compiler$input$input_unmount(this$){ +return (this$.cljsInputLive = null); +}); +uix.compiler.input.reagent_input = (function uix$compiler$input$reagent_input(js_props){ +var this$ = module$node_modules$react$index.useRef(({})).current; +uix.compiler.input.input_render_setup(this$,js_props.props); + +if((typeof document !== 'undefined')){ +module$node_modules$react$index.useLayoutEffect((function (){ +uix.compiler.input.input_component_set_value(this$); + +return undefined; +})); +} else { +} + +module$node_modules$react$index.useEffect((function (){ +return (function (){ +return uix.compiler.input.input_unmount(this$); +}); +}),[]); + +return cljs.core.apply.cljs$core$IFn$_invoke$arity$4(module$node_modules$react$index.createElement,js_props.tag,js_props.props,js_props.children); +}); + +//# sourceMappingURL=uix.compiler.input.js.map diff --git a/out/cljs-runtime/uix.compiler.input.js.map b/out/cljs-runtime/uix.compiler.input.js.map new file mode 100644 index 0000000..07e00a1 --- /dev/null +++ b/out/cljs-runtime/uix.compiler.input.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/compiler/input.cljs"],"mappings":";;AAOA,qDAAA,iFAAA,WAAA,WAAA,YAAA,gBAAA,gBAAA,xMAAKA;AAGL,8CAAA,9CAAeC,oGACZC;AADH,AAEE,OAACC,0BAAUH,mDAAgCE;;AAE7C,qDAAA,rDAAME;AAAN,AACE,SAAK,QAAAC,oCAAAC,yCAAAC,8CAAAC,iEACA,AAACC,cAAID;;AAEZ,qCAAA,rCAAME,kFAAiBC;AAAvB,AACE,OAACC,sCAAyCD;;AAE5C,AAAA,AAEA,0CAAA,1CAAME,4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AMC,8CAAoB,AAAON,aAAU,AAASA,eAAU,AAAYA","names":["uix.compiler.input/these-inputs-have-selection-api","uix.compiler.input/has-selection-api?","input-type","cljs.core/contains?","uix.compiler.input/should-use-reagent-input?","js/reagent","js/reagent.impl","js/reagent.impl.util","js/reagent.impl.util.*non-reactive*","cljs.core/not","uix.compiler.input/do-after-render","f","js/reagent.impl.batching.do-after-render","uix.compiler.input/input-node-set-value","node","rendered-value","dom-value","component","js/document","node-value","cljs.core._EQ_","existing-offset-from-end","cljs.core/count","new-cursor-offset","uix.compiler.input/input-component-set-value","this","cljs.core.not_EQ_","uix.compiler.input/input-handle-change","on-change","e","uix.compiler.input/input-render-setup","jsprops","and__5043__auto__","v","value","original-ref-fn","cljs.core/fn?","el","p1__28217#","uix.compiler.input/input-unmount","uix.compiler.input/reagent-input","js-props","js/module$node_modules$react$index.useRef","js/module$node_modules$react$index.useLayoutEffect","js/undefined","js/module$node_modules$react$index.useEffect","cljs.core.apply","js/module$node_modules$react$index.createElement"],"sourcesContent":["(ns uix.compiler.input\n \"Copied and adapted from https://github.com/reagent-project/reagent/blob/3b2047391ee2d217f257d9b8a7a99b3b4eff29d2/src/reagent/impl/input.cljs\"\n (:require [react]))\n\n;; \n;; The properties 'selectionStart' and 'selectionEnd' only exist on some inputs\n;; See: https://html.spec.whatwg.org/multipage/forms.html#do-not-apply\n(def these-inputs-have-selection-api #{\"text\" \"textarea\" \"password\" \"search\"\n \"tel\" \"url\"})\n\n(defn ^boolean has-selection-api?\n [input-type]\n (contains? these-inputs-have-selection-api input-type))\n\n(defn should-use-reagent-input? []\n (and (exists? js/reagent.impl.util.*non-reactive*)\n (not js/reagent.impl.util.*non-reactive*)))\n\n(defn do-after-render [f]\n (js/reagent.impl.batching.do-after-render f))\n\n(declare input-component-set-value)\n\n(defn input-node-set-value\n [node rendered-value dom-value ^clj component]\n (if-not (and (identical? node (.-activeElement js/document))\n (has-selection-api? (.-type node))\n (string? rendered-value)\n (string? dom-value))\n ;; just set the value, no need to worry about a cursor\n (do\n (set! (.-cljsDOMValue component) rendered-value)\n (set! (.-value node) rendered-value))\n\n ;; Setting \"value\" (below) moves the cursor position to the\n ;; end which gives the user a jarring experience.\n ;;\n ;; But repositioning the cursor within the text, turns out to\n ;; be quite a challenge because changes in the text can be\n ;; triggered by various events like:\n ;; - a validation function rejecting a user inputted char\n ;; - the user enters a lower case char, but is transformed to\n ;; upper.\n ;; - the user selects multiple chars and deletes text\n ;; - the user pastes in multiple chars, and some of them are\n ;; rejected by a validator.\n ;; - the user selects multiple chars and then types in a\n ;; single new char to repalce them all.\n ;; Coming up with a sane cursor repositioning strategy hasn't\n ;; been easy ALTHOUGH in the end, it kinda fell out nicely,\n ;; and it appears to sanely handle all the cases we could\n ;; think of.\n ;; So this is just a warning. The code below is simple\n ;; enough, but if you are tempted to change it, be aware of\n ;; all the scenarios you have handle.\n (let [node-value (.-value node)]\n (when (= node-value dom-value)\n (let [existing-offset-from-end (- (count node-value)\n (.-selectionStart node))\n new-cursor-offset (- (count rendered-value)\n existing-offset-from-end)]\n (set! (.-cljsDOMValue component) rendered-value)\n (set! (.-value node) rendered-value)\n (set! (.-selectionStart node) new-cursor-offset)\n (set! (.-selectionEnd node) new-cursor-offset))))))\n\n(defn input-component-set-value [^clj this]\n (when (.-cljsInputLive this)\n (set! (.-cljsInputDirty this) false)\n (let [rendered-value (.-cljsRenderedValue this)\n dom-value (.-cljsDOMValue this)\n ;; Default to the root node within this component\n node (.-inputEl this)]\n (when (not= rendered-value dom-value)\n (input-node-set-value node rendered-value dom-value this)))))\n\n(defn input-handle-change [^clj this on-change e]\n (set! (.-cljsDOMValue this) (-> e .-target .-value))\n ;; Make sure the input is re-rendered, in case on-change\n ;; wants to keep the value unchanged\n (when-not (.-cljsInputDirty this)\n (set! (.-cljsInputDirty this) true)\n (do-after-render #(input-component-set-value this)))\n (on-change e))\n\n(defn input-render-setup\n [^clj this ^js jsprops]\n ;; Don't rely on React for updating \"controlled inputs\", since it\n ;; doesn't play well with async rendering (misses keystrokes).\n (when (and (some? jsprops)\n (.hasOwnProperty jsprops \"onChange\")\n (.hasOwnProperty jsprops \"value\"))\n (let [v (.-value jsprops)\n value (if (nil? v) \"\" v)\n on-change (.-onChange jsprops)\n original-ref-fn (.-ref jsprops)]\n (when-not (.-cljsInputLive this)\n ;; set initial value\n (set! (.-cljsInputLive this) true)\n (set! (.-cljsDOMValue this) value))\n (when-not (.-reagentRefFn this)\n (set! (.-reagentRefFn this)\n (cond\n ;; ref fn\n (fn? original-ref-fn)\n (fn [el]\n (set! (.-inputEl this) el)\n (original-ref-fn el))\n\n ;; react/createRef object\n (and original-ref-fn (.hasOwnProperty original-ref-fn \"current\"))\n (fn [el]\n (set! (.-inputEl this) el)\n (set! (.-current original-ref-fn) el))\n\n :else\n (fn [el]\n (set! (.-inputEl this) el)))))\n (set! (.-cljsRenderedValue this) value)\n (js-delete jsprops \"value\")\n (set! (.-defaultValue jsprops) value)\n (set! (.-onChange jsprops) #(input-handle-change this on-change %))\n (set! (.-ref jsprops) (.-reagentRefFn this)))))\n\n(defn input-unmount [^js this]\n (set! (.-cljsInputLive this) nil))\n\n(defn reagent-input [^js js-props]\n (let [this (.-current (react/useRef #js {}))]\n (input-render-setup this (.-props js-props))\n (when (exists? js/document)\n (react/useLayoutEffect\n (fn []\n (input-component-set-value this)\n js/undefined)))\n (react/useEffect\n (fn [] #(input-unmount this))\n #js [])\n (apply react/createElement (.-tag js-props) (.-props js-props) (.-children js-props))))\n\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.core.js b/out/cljs-runtime/uix.core.js new file mode 100644 index 0000000..377db75 --- /dev/null +++ b/out/cljs-runtime/uix.core.js @@ -0,0 +1,601 @@ +goog.provide('uix.core'); +goog.scope(function(){ + uix.core.goog$module$goog$object = goog.module.get('goog.object'); +}); +var module$node_modules$react$index=shadow.js.require("module$node_modules$react$index", {}); +uix.core.built_in_static_method_names = new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"childContextTypes","childContextTypes",578717991),new cljs.core.Keyword(null,"contextTypes","contextTypes",-2023853910),new cljs.core.Keyword(null,"contextType","contextType",1033066077),new cljs.core.Keyword(null,"getDerivedStateFromProps","getDerivedStateFromProps",-991834739),new cljs.core.Keyword(null,"getDerivedStateFromError","getDerivedStateFromError",166658477)], null); +/** + * Creates class based React component + */ +uix.core.create_class = (function uix$core$create_class(p__29585){ +var map__29586 = p__29585; +var map__29586__$1 = cljs.core.__destructure_map(map__29586); +var fields = map__29586__$1; +var contextType = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"contextType","contextType",1033066077)); +var componentDidUpdate = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"componentDidUpdate","componentDidUpdate",-1983477981)); +var componentDidCatch = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"componentDidCatch","componentDidCatch",821717733)); +var displayName = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"displayName","displayName",-809144601)); +var childContextTypes = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"childContextTypes","childContextTypes",578717991)); +var getSnapshotBeforeUpdate = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"getSnapshotBeforeUpdate","getSnapshotBeforeUpdate",861122184)); +var contextTypes = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"contextTypes","contextTypes",-2023853910)); +var getDerivedStateFromProps = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"getDerivedStateFromProps","getDerivedStateFromProps",-991834739)); +var getDerivedStateFromError = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"getDerivedStateFromError","getDerivedStateFromError",166658477)); +var componentWillUnmount = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"componentWillUnmount","componentWillUnmount",1573788814)); +var shouldComponentUpdate = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"shouldComponentUpdate","shouldComponentUpdate",1795750960)); +var render = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"render","render",-1408033454)); +var defaultProps = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"defaultProps","defaultProps",-533483149)); +var getInitialState = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"getInitialState","getInitialState",1541760916)); +var constructor$ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"constructor","constructor",-1953928811)); +var componentDidMount = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,"componentDidMount","componentDidMount",955710936)); +var methods$ = uix.lib.map__GT_js(cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(cljs.core.dissoc,fields,new cljs.core.Keyword(null,"displayName","displayName",-809144601),new cljs.core.Keyword(null,"getInitialState","getInitialState",1541760916),new cljs.core.Keyword(null,"constructor","constructor",-1953928811),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,"render","render",-1408033454),uix.core.built_in_static_method_names], 0))); +var static_methods = uix.lib.map__GT_js(cljs.core.select_keys(fields,uix.core.built_in_static_method_names)); +var ctor = (function (props){ +var this$ = this; +module$node_modules$react$index.Component.apply(this$,arguments); + +if(cljs.core.truth_(constructor$)){ +(constructor$.cljs$core$IFn$_invoke$arity$2 ? constructor$.cljs$core$IFn$_invoke$arity$2(this$,props) : constructor$.call(null, this$,props)); +} else { +} + +if(cljs.core.truth_(getInitialState)){ +(this$.state = (getInitialState.cljs$core$IFn$_invoke$arity$1 ? getInitialState.cljs$core$IFn$_invoke$arity$1(this$) : getInitialState.call(null, this$))); +} else { +} + +return this$; +}); +uix.core.goog$module$goog$object.extend(ctor.prototype,module$node_modules$react$index.Component.prototype,methods$); + +if(cljs.core.truth_(render)){ +(ctor.prototype.render = render); +} else { +} + +uix.core.goog$module$goog$object.extend(ctor,module$node_modules$react$index.Component,static_methods); + +if(cljs.core.truth_(displayName)){ +(ctor.displayName = displayName); + +(ctor.cljs$lang$ctorStr = displayName); + +(ctor.cljs$lang$ctorPrWriter = (function (this$,writer,opt){ +return cljs.core._write(writer,displayName); +})); +} else { +} + +(ctor.cljs$lang$type = true); + +(ctor.prototype.constructor = ctor); + +(ctor.uix_component_QMARK_ = true); + +return ctor; +}); +/** + * Creates React's ref type object. + */ +uix.core.create_ref = (function uix$core$create_ref(){ +return module$node_modules$react$index.createRef(); +}); +uix.core.glue_args = (function uix$core$glue_args(props){ +var G__29587 = props.argv; +if(cljs.core.truth_(props.children)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29587,new cljs.core.Keyword(null,"children","children",-940561982),props.children); +} else { +return G__29587; +} +}); +uix.core.memo_compare_args = (function uix$core$memo_compare_args(a,b){ +return cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(uix.core.glue_args(a),uix.core.glue_args(b)); +}); +/** + * Takes component `f` and optional comparator function `should-update?` + * that takes previous and next props of the component. + * Returns memoized `f`. + * + * When `should-update?` is not provided uses default comparator + * that compares props with clojure.core/= + */ +uix.core.memo = (function uix$core$memo(var_args){ +var G__29589 = arguments.length; +switch (G__29589) { +case 1: +return uix.core.memo.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.core.memo.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.core.memo.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return uix.core.memo.cljs$core$IFn$_invoke$arity$2(f,uix.core.memo_compare_args); +})); + +(uix.core.memo.cljs$core$IFn$_invoke$arity$2 = (function (f,should_update_QMARK_){ +var fm = module$node_modules$react$index.memo(f,should_update_QMARK_); +if(cljs.core.truth_(f.uix_component_QMARK_)){ +(fm.uix_component_QMARK_ = true); +} else { +} + +return fm; +})); + +(uix.core.memo.cljs$lang$maxFixedArity = 2); + +/** + * Takes initial value or a function that computes it and returns a stateful value, + * and a function to update it. + * + * See: https://reactjs.org/docs/hooks-reference.html#usestate + */ +uix.core.use_state = (function uix$core$use_state(value){ +return uix.hooks.alpha.use_state(value); +}); +/** + * An alternative to `use-state`. Accepts a reducer of type (state, action) => new-state, + * and returns the current state paired with a dispatch method. + * + * See: https://reactjs.org/docs/hooks-reference.html#usereducer + */ +uix.core.use_reducer = (function uix$core$use_reducer(var_args){ +var G__29597 = arguments.length; +switch (G__29597) { +case 2: +return uix.core.use_reducer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return uix.core.use_reducer.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.core.use_reducer.cljs$core$IFn$_invoke$arity$2 = (function (f,value){ +return uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2(f,value); +})); + +(uix.core.use_reducer.cljs$core$IFn$_invoke$arity$3 = (function (f,value,init_state){ +return uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3(f,value,init_state); +})); + +(uix.core.use_reducer.cljs$lang$maxFixedArity = 3); + +/** + * Takes optional initial value and returns React's ref hook wrapped in atom-like type. + */ +uix.core.use_ref = (function uix$core$use_ref(var_args){ +var G__29604 = arguments.length; +switch (G__29604) { +case 0: +return uix.core.use_ref.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return uix.core.use_ref.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.core.use_ref.cljs$core$IFn$_invoke$arity$0 = (function (){ +return uix.core.use_ref.cljs$core$IFn$_invoke$arity$1(null); +})); + +(uix.core.use_ref.cljs$core$IFn$_invoke$arity$1 = (function (value){ +var ref = uix.hooks.alpha.use_ref(null); +if((ref.current == null)){ +(ref.current = (function (){var x29608 = ({"current": value}); +(x29608.cljs$core$IDeref$ = cljs.core.PROTOCOL_SENTINEL); + +(x29608.cljs$core$IDeref$_deref$arity$1 = (function (this$){ +var this$__$1 = this; +return this$__$1.current; +})); + +(x29608.cljs$core$IReset$ = cljs.core.PROTOCOL_SENTINEL); + +(x29608.cljs$core$IReset$_reset_BANG_$arity$2 = (function (this$,v){ +var this$__$1 = this; +return (this$__$1.current = v); +})); + +(x29608.cljs$core$ISwap$ = cljs.core.PROTOCOL_SENTINEL); + +(x29608.cljs$core$ISwap$_swap_BANG_$arity$2 = (function (this$,f){ +var this$__$1 = this; +return (this$__$1.current = (function (){var G__29615 = this$__$1.current; +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__29615) : f.call(null, G__29615)); +})()); +})); + +(x29608.cljs$core$ISwap$_swap_BANG_$arity$3 = (function (this$,f,a){ +var this$__$1 = this; +return (this$__$1.current = (function (){var G__29616 = this$__$1.current; +var G__29617 = a; +return (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__29616,G__29617) : f.call(null, G__29616,G__29617)); +})()); +})); + +(x29608.cljs$core$ISwap$_swap_BANG_$arity$4 = (function (this$,f,a,b){ +var this$__$1 = this; +return (this$__$1.current = (function (){var G__29618 = this$__$1.current; +var G__29619 = a; +var G__29620 = b; +return (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__29618,G__29619,G__29620) : f.call(null, G__29618,G__29619,G__29620)); +})()); +})); + +(x29608.cljs$core$ISwap$_swap_BANG_$arity$5 = (function (this$,f,a,b,xs){ +var this$__$1 = this; +return (this$__$1.current = cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,this$__$1.current,a,b,xs)); +})); + +return x29608; +})()); +} else { +} + +return ref.current; +})); + +(uix.core.use_ref.cljs$lang$maxFixedArity = 1); + +/** + * Creates React Context with an optional default value + */ +uix.core.create_context = (function uix$core$create_context(var_args){ +var G__29622 = arguments.length; +switch (G__29622) { +case 0: +return uix.core.create_context.cljs$core$IFn$_invoke$arity$0(); + +break; +case 1: +return uix.core.create_context.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.core.create_context.cljs$core$IFn$_invoke$arity$0 = (function (){ +return module$node_modules$react$index.createContext(); +})); + +(uix.core.create_context.cljs$core$IFn$_invoke$arity$1 = (function (default_value){ +return module$node_modules$react$index.createContext(default_value); +})); + +(uix.core.create_context.cljs$lang$maxFixedArity = 1); + +/** + * Takes React context and returns its current value + */ +uix.core.use_context = (function uix$core$use_context(context){ +return uix.hooks.alpha.use_context(context); +}); +uix.core.use_debug = (function uix$core$use_debug(var_args){ +var G__29624 = arguments.length; +switch (G__29624) { +case 1: +return uix.core.use_debug.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.core.use_debug.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.core.use_debug.cljs$core$IFn$_invoke$arity$1 = (function (v){ +return uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1(v); +})); + +(uix.core.use_debug.cljs$core$IFn$_invoke$arity$2 = (function (v,fmt){ +return uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2(v,fmt); +})); + +(uix.core.use_debug.cljs$lang$maxFixedArity = 2); + +/** + * Accepts a value and returns a new copy of the value that will defer to more urgent updates. + * If the current render is the result of an urgent update, like user input, + * React will return the previous value and then render the new value after the urgent render has completed. + * + * See: https://reactjs.org/docs/hooks-reference.html#usedeferredvalue + */ +uix.core.use_deferred_value = (function uix$core$use_deferred_value(v){ +return uix.hooks.alpha.use_deferred_value(v); +}); +/** + * Returns a stateful value for the pending state of the transition, and a function to start it. + * + * See: https://reactjs.org/docs/hooks-reference.html#usetransition + */ +uix.core.use_transition = (function uix$core$use_transition(){ +return uix.hooks.alpha.use_transition(); +}); +/** + * Marks updates in `f` as transitions + * See: https://reactjs.org/docs/react-api.html#starttransition + */ +uix.core.start_transition = (function uix$core$start_transition(f){ +return module$node_modules$react$index.startTransition(f); +}); +/** + * Returns unique ID that is stable across the server and client, while avoiding hydration mismatches. + * + * See: https://reactjs.org/docs/hooks-reference.html#useid + */ +uix.core.use_id = (function uix$core$use_id(){ +return uix.hooks.alpha.use_id(); +}); +/** + * For reading and subscribing from external data sources in a way that’s compatible + * with concurrent rendering features like selective hydration and time slicing. + * + * subscribe: function to register a callback that is called whenever the store changes + * get-snapshot: function that returns the current value of the store + * get-server-snapshot: function that returns the snapshot used during server rendering + * + * See: https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore + */ +uix.core.use_sync_external_store = (function uix$core$use_sync_external_store(var_args){ +var G__29626 = arguments.length; +switch (G__29626) { +case 2: +return uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$2 = (function (subscribe,get_snapshot){ +return uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2(subscribe,get_snapshot); +})); + +(uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$3 = (function (subscribe,get_snapshot,get_server_snapshot){ +return uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3(subscribe,get_snapshot,get_server_snapshot); +})); + +(uix.core.use_sync_external_store.cljs$lang$maxFixedArity = 3); + +/** + * Interop with React components. Takes a function that returns UIx component + * and returns same component wrapped into interop layer. + */ +uix.core.as_react = (function uix$core$as_react(f){ +return (function (p1__29627_SHARP_){ +var G__29628 = cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1(p1__29627_SHARP_); +return (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__29628) : f.call(null, G__29628)); +}); +}); +/** + * Special case for traditional hot-reloading via shadow-cljs, + * when UI tree is rendered from the root after evert hot-reload + */ +uix.core.lazy_shadow_reloadable = (function uix$core$lazy_shadow_reloadable(f,loadable){ +var lazy_component = module$node_modules$react$index.lazy((function (){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )).then((function (_){ +return ({"default": (function (props){ +return uix.compiler.alpha.component_element(cljs.core.deref(loadable),uix.compiler.attributes.interpret_props(uix.core.glue_args(props)),[]); +})}); +})); +})); +(lazy_component.uix_component_QMARK_ = true); + +return lazy_component; +}); +/** + * Like React.lazy, but supposed to be used with UIx components + */ +uix.core.lazy = (function uix$core$lazy(var_args){ +var G__29630 = arguments.length; +switch (G__29630) { +case 1: +return uix.core.lazy.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.core.lazy.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.core.lazy.cljs$core$IFn$_invoke$arity$1 = (function (f){ +var lazy_component = module$node_modules$react$index.lazy((function (){ +return (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )).then((function (component){ +return ({"default": component}); +})); +})); +(lazy_component.uix_component_QMARK_ = true); + +return lazy_component; +})); + +(uix.core.lazy.cljs$core$IFn$_invoke$arity$2 = (function (f,loadable){ +return uix.core.lazy_shadow_reloadable(f,loadable); +})); + +(uix.core.lazy.cljs$lang$maxFixedArity = 2); + +/** + * Creates React's error boundary component + * + * display-name — the name of the component to be displayed in stack trace + * derive-error-state — maps error object to component's state that is used in render-fn + * did-catch — 2 arg function for side-effects, logging etc. + * receives the exception and additional component info as args + * render-fn — takes state value returned from error->state and a vector + * of arguments passed into error boundary + */ +uix.core.create_error_boundary = (function uix$core$create_error_boundary(p__29633,render_fn){ +var map__29634 = p__29633; +var map__29634__$1 = cljs.core.__destructure_map(map__29634); +var display_name = cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__29634__$1,new cljs.core.Keyword(null,"display-name","display-name",694513143),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.gensym.cljs$core$IFn$_invoke$arity$1("uix.error-boundary"))); +var derive_error_state = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29634__$1,new cljs.core.Keyword(null,"derive-error-state","derive-error-state",-1373095498)); +var did_catch = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29634__$1,new cljs.core.Keyword(null,"did-catch","did-catch",2139522313)); +var constructor$ = (function (this$,_){ +return (this$.state = ({"argv": null})); +}); +var derive_state = (function (error){ +return ({"argv": (derive_error_state.cljs$core$IFn$_invoke$arity$1 ? derive_error_state.cljs$core$IFn$_invoke$arity$1(error) : derive_error_state.call(null, error))}); +}); +var render = (function (){ +var this$ = this; +var props = this$.props; +var state = this$.state; +var set_state = (function (new_value){ +return this$.setState(({"argv": new_value})); +}); +var G__29641 = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [state.argv,set_state], null); +var G__29642 = uix.core.glue_args(props); +return (render_fn.cljs$core$IFn$_invoke$arity$2 ? render_fn.cljs$core$IFn$_invoke$arity$2(G__29641,G__29642) : render_fn.call(null, G__29641,G__29642)); +}); +var class$ = uix.core.create_class(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"constructor","constructor",-1953928811),constructor$,new cljs.core.Keyword(null,"displayName","displayName",-809144601),display_name,new cljs.core.Keyword(null,"getDerivedStateFromError","getDerivedStateFromError",166658477),derive_state,new cljs.core.Keyword(null,"componentDidCatch","componentDidCatch",821717733),did_catch,new cljs.core.Keyword(null,"render","render",-1408033454),render], null)); +(class$.uix_component_QMARK_ = true); + +return class$; +}); +/** + * Like React's `forwardRef`, but should be used only for UIx components + * when passing them into React components that inject a ref + */ +uix.core.forward_ref = (function uix$core$forward_ref(component){ +var ref_comp = module$node_modules$react$index.forwardRef((function (props,ref){ +var argv = (function (){var G__29649 = props.argv; +var G__29649__$1 = (cljs.core.truth_(props.children)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29649,new cljs.core.Keyword(null,"children","children",-940561982),props.children):G__29649); +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29649__$1,new cljs.core.Keyword(null,"ref","ref",1289896967),ref); + +})(); +var argv__$1 = cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([argv,cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1(props),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"argv","argv",-1462790895),new cljs.core.Keyword(null,"children","children",-940561982)], null))], 0)); +return uix.compiler.alpha.component_element(component,uix.compiler.attributes.interpret_props(argv__$1),[]); +})); +(ref_comp.uix_component_QMARK_ = true); + +return ref_comp; +}); +uix.core.clone_element = (function uix$core$clone_element(var_args){ +var args__5775__auto__ = []; +var len__5769__auto___29794 = arguments.length; +var i__5770__auto___29797 = (0); +while(true){ +if((i__5770__auto___29797 < len__5769__auto___29794)){ +args__5775__auto__.push((arguments[i__5770__auto___29797])); + +var G__29800 = (i__5770__auto___29797 + (1)); +i__5770__auto___29797 = G__29800; +continue; +} else { +} +break; +} + +var argseq__5776__auto__ = ((((2) < args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null); +return uix.core.clone_element.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__); +}); + +(uix.core.clone_element.cljs$core$IFn$_invoke$arity$variadic = (function (element,props,children){ +var type = element.type; +var okey = element.key; +var oref = element.ref; +var update_children = (function (p1__29654_SHARP_){ +if(cljs.core.truth_(p1__29654_SHARP_)){ +return cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (el){ +if(cljs.core.truth_((function (){var G__29670 = el; +if((G__29670 == null)){ +return null; +} else { +return G__29670._store; +} +})())){ +(el._store.validated = true); +} else { +} + +return el; +}),p1__29654_SHARP_); +} else { +return null; +} +}); +var children__$1 = update_children(children); +var props__$1 = cljs.core.update.cljs$core$IFn$_invoke$arity$3(props,new cljs.core.Keyword(null,"children","children",-940561982),update_children); +if(((typeof type === 'string') || (cljs.core.not(type.uix_component_QMARK_)))){ +var oprops = element.props; +var nel = uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props((function (){var G__29675 = props__$1; +if(cljs.core.seq(children__$1)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29675,new cljs.core.Keyword(null,"children","children",-940561982),cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(children__$1)); +} else { +return G__29675; +} +})()),[]); +var nprops = Object.assign(({}),oprops,({"key": okey, "ref": oref}),nel.props); +return uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props(nprops),[]); +} else { +var oprops = element.props.argv; +return uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props((function (){var G__29677 = oprops; +var G__29677__$1 = (cljs.core.truth_(okey)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29677,new cljs.core.Keyword(null,"key","key",-1516042587),okey):G__29677); +var G__29677__$2 = cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([G__29677__$1,props__$1], 0)) +; +if(cljs.core.seq(children__$1)){ +return cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29677__$2,new cljs.core.Keyword(null,"children","children",-940561982),children__$1); +} else { +return G__29677__$2; +} +})()),[]); +} +})); + +(uix.core.clone_element.cljs$lang$maxFixedArity = (2)); + +/** @this {Function} */ +(uix.core.clone_element.cljs$lang$applyTo = (function (seq29659){ +var G__29660 = cljs.core.first(seq29659); +var seq29659__$1 = cljs.core.next(seq29659); +var G__29661 = cljs.core.first(seq29659__$1); +var seq29659__$2 = cljs.core.next(seq29659__$1); +var self__5754__auto__ = this; +return self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__29660,G__29661,seq29659__$2); +})); + +uix.core.suspense = module$node_modules$react$index.Suspense; +uix.core.strict_mode = module$node_modules$react$index.StrictMode; +uix.core.profiler = module$node_modules$react$index.Profiler; +uix.core.client_QMARK_ = (typeof document !== 'undefined'); +uix.core.server_QMARK_ = (!(uix.core.client_QMARK_)); + +//# sourceMappingURL=uix.core.js.map diff --git a/out/cljs-runtime/uix.core.js.map b/out/cljs-runtime/uix.core.js.map new file mode 100644 index 0000000..bf09cb2 --- /dev/null +++ b/out/cljs-runtime/uix.core.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/core.cljs"],"mappings":";;;;;AAUA,AAIA,wCAAA,mFAAA,8EAAA,sEAAA,mEAAA,6FAAA,/aAAeA;AAIf;;;wBAAA,gC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0C,6CAAKc;;AACnB,IAAML,SAAO,AAAA,AAAIZ;AAAjB,AACE,OAAAzC,0CAAA,AAAAE,LAAY0C,6CACV,iBAAAgB,WAAQP;IAARO,eAAA,yIAAAA,vHACQf,MAAK,8CAAAe,SAAA,vDAAClI,2GAAWmH;IADzBe,eAAA,AAEgB,uGAAAA,vGAACjC,oHAAM5G;;AAFvB,AAAA,GAGQ,AAACyI,cAAId;AAAU,qDAAAkB,aAAA,3DAAClI,wHAAgBgH;;AAHxCkB;;MADF;;;;AAlBR,CAAA,iDAAA,jDAAM1B;;AAAN;AAAA,CAAA,2CAAA,WAAAC,tDAAMD;AAAN,AAAA,IAAAE,WAAA,AAAAC,gBAAAF;IAAAA,eAAA,AAAAG,eAAAH;IAAAI,WAAA,AAAAF,gBAAAF;IAAAA,eAAA,AAAAG,eAAAH;AAAA,AAAA,IAAAK,qBAAA;AAAA,AAAA,OAAAA,wDAAAJ,SAAAG,SAAAJ;;;AAAA,AAwBA,AAAK0B,oBAASC;AACd,AAAKC,uBAAYC;AACjB,AAAKC,oBAASC;AAGd,AAAKC,yBAAQ,QAAAC;AACb,AAAKC,yBAAQ,GAAKF","names":["uix.core/built-in-static-method-names","p__29585","map__29586","cljs.core/--destructure-map","cljs.core.get","uix.core/create-class","constructor","getInitialState","render","componentDidMount","componentDidUpdate","componentDidCatch","shouldComponentUpdate","getSnapshotBeforeUpdate","componentWillUnmount","childContextTypes","contextTypes","contextType","getDerivedStateFromProps","getDerivedStateFromError","defaultProps","displayName","fields","methods","uix.lib/map->js","cljs.core.apply","cljs.core/dissoc","static-methods","cljs.core/select-keys","ctor","props","this","js/module$node_modules$react$index.Component","uix.core.goog$module$goog$object.extend","writer","opt","cljs.core/-write","uix.core/create-ref","js/module$node_modules$react$index.createRef","uix.core/glue-args","G__29587","cljs.core.assoc","uix.core/memo-compare-args","a","b","cljs.core._EQ_","var_args","G__29589","uix.core/memo","js/Error","f","uix.core.memo","should-update?","fm","js/module$node_modules$react$index.memo","uix.core/use-state","value","uix.hooks.alpha/use-state","G__29597","uix.core/use-reducer","uix.hooks.alpha.use_reducer","init-state","G__29604","uix.core/use-ref","uix.core.use_ref","ref","uix.hooks.alpha/use-ref","x29608","cljs.core/PROTOCOL_SENTINEL","v","G__29615","G__29616","G__29617","G__29618","G__29619","G__29620","xs","G__29622","uix.core/create-context","js/module$node_modules$react$index.createContext","default-value","uix.core/use-context","context","uix.hooks.alpha/use-context","G__29624","uix.core/use-debug","uix.hooks.alpha.use_debug","fmt","uix.core/use-deferred-value","uix.hooks.alpha/use-deferred-value","uix.core/use-transition","uix.hooks.alpha/use-transition","uix.core/start-transition","js/module$node_modules$react$index.startTransition","uix.core/use-id","uix.hooks.alpha/use-id","G__29626","uix.core/use-sync-external-store","subscribe","get-snapshot","uix.hooks.alpha.use_sync_external_store","get-server-snapshot","p1__29627#","uix.core/as-react","G__29628","cljs_bean.core.bean","uix.core/lazy-shadow-reloadable","loadable","lazy-component","js/module$node_modules$react$index.lazy","_","uix.compiler.alpha/component-element","cljs.core/deref","uix.compiler.attributes/interpret-props","G__29630","uix.core/lazy","component","p__29633","map__29634","uix.core/create-error-boundary","display-name","derive-error-state","did-catch","cljs.core.gensym","render-fn","derive-state","error","state","set-state","new-value","G__29641","G__29642","class","uix.core/forward-ref","ref-comp","js/module$node_modules$react$index.forwardRef","argv","G__29649","cljs.core.merge","cljs.core.dissoc","args__5775__auto__","len__5769__auto__","i__5770__auto__","argseq__5776__auto__","cljs.core/IndexedSeq","uix.core/clone-element","seq29659","G__29660","cljs.core/first","cljs.core/next","G__29661","self__5754__auto__","element","children","p1__29654#","type","okey","oref","update-children","cljs.core.map","el","G__29670","cljs.core.update","cljs.core/not","oprops","nel","G__29675","cljs.core/seq","cljs.core.into_array","nprops","js/Object.assign","G__29677","uix.core/suspense","js/module$node_modules$react$index.Suspense","uix.core/strict-mode","js/module$node_modules$react$index.StrictMode","uix.core/profiler","js/module$node_modules$react$index.Profiler","uix.core/client?","js/document","uix.core/server?"],"sourcesContent":["(ns uix.core\n \"Public API\"\n (:require-macros [uix.core])\n (:require [goog.object :as gobj]\n [react]\n [uix.hooks.alpha :as hooks]\n [uix.compiler.aot]\n [uix.lib :refer [doseq-loop map->js]]\n [cljs-bean.core :as bean]))\n\n(def ^:dynamic *current-component*)\n\n;; React's top-level API\n\n(def ^:private built-in-static-method-names\n [:childContextTypes :contextTypes :contextType\n :getDerivedStateFromProps :getDerivedStateFromError])\n\n(defn create-class\n \"Creates class based React component\"\n [{:keys [constructor getInitialState render\n ;; lifecycle methods\n componentDidMount componentDidUpdate componentDidCatch\n shouldComponentUpdate getSnapshotBeforeUpdate componentWillUnmount\n ;; static methods\n childContextTypes contextTypes contextType\n getDerivedStateFromProps getDerivedStateFromError\n ;; class properties\n defaultProps displayName]\n :as fields}]\n (let [methods (map->js (apply dissoc fields :displayName :getInitialState :constructor :render\n built-in-static-method-names))\n static-methods (map->js (select-keys fields built-in-static-method-names))\n ctor (fn [props]\n (this-as this\n (.apply react/Component this (js-arguments))\n (when constructor\n (constructor this props))\n (when getInitialState\n (set! (.-state this) (getInitialState this)))\n this))]\n (gobj/extend (.-prototype ctor) (.-prototype react/Component) methods)\n (when render (set! (.-render ^js (.-prototype ctor)) render))\n (gobj/extend ctor react/Component static-methods)\n (when displayName\n (set! (.-displayName ctor) displayName)\n (set! (.-cljs$lang$ctorStr ctor) displayName)\n (set! (.-cljs$lang$ctorPrWriter ctor)\n (fn [this writer opt]\n (-write writer displayName))))\n (set! (.-cljs$lang$type ctor) true)\n (set! (.. ctor -prototype -constructor) ctor)\n (set! (.-uix-component? ctor) true)\n ctor))\n\n(defn create-ref\n \"Creates React's ref type object.\"\n []\n (react/createRef))\n\n(defn glue-args [^js props]\n (cond-> (.-argv props)\n (.-children props) (assoc :children (.-children props))))\n\n(defn- memo-compare-args [a b]\n (= (glue-args a) (glue-args b)))\n\n(defn memo\n \"Takes component `f` and optional comparator function `should-update?`\n that takes previous and next props of the component.\n Returns memoized `f`.\n\n When `should-update?` is not provided uses default comparator\n that compares props with clojure.core/=\"\n ([f]\n (memo f memo-compare-args))\n ([^js f should-update?]\n (let [fm (react/memo f should-update?)]\n (when (.-uix-component? f)\n (set! (.-uix-component? fm) true))\n fm)))\n\n(defn use-state\n \"Takes initial value or a function that computes it and returns a stateful value,\n and a function to update it.\n\n See: https://reactjs.org/docs/hooks-reference.html#usestate\"\n [value]\n (hooks/use-state value))\n\n(defn use-reducer\n \"An alternative to `use-state`. Accepts a reducer of type (state, action) => new-state,\n and returns the current state paired with a dispatch method.\n\n See: https://reactjs.org/docs/hooks-reference.html#usereducer\"\n ([f value]\n (hooks/use-reducer f value))\n ([f value init-state]\n (hooks/use-reducer f value init-state)))\n\n(defn use-ref\n \"Takes optional initial value and returns React's ref hook wrapped in atom-like type.\"\n ([]\n (use-ref nil))\n ([value]\n (let [ref (hooks/use-ref nil)]\n (when (nil? (.-current ref))\n (set! (.-current ref)\n (specify! #js {:current value}\n IDeref\n (-deref [this]\n (.-current this))\n\n IReset\n (-reset! [this v]\n (set! (.-current ^js this) v))\n\n ISwap\n (-swap!\n ([this f]\n (set! (.-current ^js this) (f (.-current ^js this))))\n ([this f a]\n (set! (.-current ^js this) (f (.-current ^js this) a)))\n ([this f a b]\n (set! (.-current ^js this) (f (.-current ^js this) a b)))\n ([this f a b xs]\n (set! (.-current ^js this) (apply f (.-current ^js this) a b xs)))))))\n (.-current ref))))\n\n(defn create-context\n \"Creates React Context with an optional default value\"\n ([]\n (react/createContext))\n ([default-value]\n (react/createContext default-value)))\n\n(defn use-context\n \"Takes React context and returns its current value\"\n [context]\n (hooks/use-context context))\n\n(defn use-debug\n ([v]\n (hooks/use-debug v))\n ([v fmt]\n (hooks/use-debug v fmt)))\n\n(defn use-deferred-value\n \"Accepts a value and returns a new copy of the value that will defer to more urgent updates.\n If the current render is the result of an urgent update, like user input,\n React will return the previous value and then render the new value after the urgent render has completed.\n\n See: https://reactjs.org/docs/hooks-reference.html#usedeferredvalue\"\n [v]\n (hooks/use-deferred-value v))\n\n(defn use-transition\n \"Returns a stateful value for the pending state of the transition, and a function to start it.\n\n See: https://reactjs.org/docs/hooks-reference.html#usetransition\"\n []\n (hooks/use-transition))\n\n(defn start-transition\n \"Marks updates in `f` as transitions\n See: https://reactjs.org/docs/react-api.html#starttransition\"\n [f]\n (react/startTransition f))\n\n(defn use-id\n \"Returns unique ID that is stable across the server and client, while avoiding hydration mismatches.\n\n See: https://reactjs.org/docs/hooks-reference.html#useid\"\n []\n (hooks/use-id))\n\n(defn use-sync-external-store\n \"For reading and subscribing from external data sources in a way that\u2019s compatible\n with concurrent rendering features like selective hydration and time slicing.\n\n subscribe: function to register a callback that is called whenever the store changes\n get-snapshot: function that returns the current value of the store\n get-server-snapshot: function that returns the snapshot used during server rendering\n\n See: https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore\"\n ([subscribe get-snapshot]\n (hooks/use-sync-external-store subscribe get-snapshot))\n ([subscribe get-snapshot get-server-snapshot]\n (hooks/use-sync-external-store subscribe get-snapshot get-server-snapshot)))\n\n(defn as-react\n \"Interop with React components. Takes a function that returns UIx component\n and returns same component wrapped into interop layer.\"\n [f]\n #(f (bean/bean %)))\n\n(defn- lazy-shadow-reloadable\n \"Special case for traditional hot-reloading via shadow-cljs,\n when UI tree is rendered from the root after evert hot-reload\"\n [f loadable]\n (let [lazy-component (react/lazy #(.then (f) (fn [_] #js {:default (fn [props]\n (uix.core/$ @loadable (glue-args props)))})))]\n (set! (.-uix-component? lazy-component) true)\n lazy-component))\n\n(defn lazy\n \"Like React.lazy, but supposed to be used with UIx components\"\n ([f]\n (let [lazy-component (react/lazy #(.then (f) (fn [component] #js {:default component})))]\n (set! (.-uix-component? lazy-component) true)\n lazy-component))\n ([f loadable]\n (lazy-shadow-reloadable f loadable)))\n\n(defn create-error-boundary\n \"Creates React's error boundary component\n\n display-name \u2014 the name of the component to be displayed in stack trace\n derive-error-state \u2014 maps error object to component's state that is used in render-fn\n did-catch \u2014 2 arg function for side-effects, logging etc.\n receives the exception and additional component info as args\n render-fn \u2014 takes state value returned from error->state and a vector\n of arguments passed into error boundary\"\n [{:keys [display-name derive-error-state did-catch]\n :or {display-name (str (gensym \"uix.error-boundary\"))}}\n render-fn]\n (let [constructor (fn [^js/React.Component this _]\n (set! (.-state this) #js {:argv nil}))\n derive-state (fn [error]\n #js {:argv (derive-error-state error)})\n render (fn []\n (this-as ^react/Component this\n (let [props (.-props this)\n state (.-state this)\n set-state (fn [new-value]\n (.setState this #js {:argv new-value}))]\n (render-fn [(.-argv state) set-state]\n (glue-args props)))))\n class (create-class {:constructor constructor\n :displayName display-name\n :getDerivedStateFromError derive-state\n :componentDidCatch did-catch\n :render render})]\n (set! (.-uix-component? class) true)\n class))\n\n(defn forward-ref\n \"Like React's `forwardRef`, but should be used only for UIx components\n when passing them into React components that inject a ref\"\n [component]\n (let [ref-comp\n (react/forwardRef\n (fn [props ref]\n (let [argv (cond-> (.-argv props)\n (.-children props) (assoc :children (.-children props))\n :always (assoc :ref ref))\n argv (merge argv\n (-> (bean/bean props)\n (dissoc [:argv :children])))]\n (uix.core/$ component argv))))]\n (set! (.-uix-component? ref-comp) true)\n ref-comp))\n\n(defn clone-element [^js element props & children]\n (let [type (.-type element)\n okey (.-key element)\n oref (.-ref element)\n update-children #(when %\n (map (fn [^js el]\n (when (some-> el .-_store)\n (set! (.. el -_store -validated) true))\n el)\n %))\n children (update-children children)\n props (update props :children update-children)]\n (if (or (string? type) (not (.-uix-component? type)))\n (let [oprops (.-props element)\n nel (uix.core/$ type (cond-> props (seq children) (assoc :children (into-array children))))\n nprops (js/Object.assign #js {} oprops #js {:key okey :ref oref} (.-props nel))]\n (uix.core/$ type nprops))\n (let [oprops (.. element -props -argv)]\n (uix.core/$ type\n (cond-> oprops\n okey (assoc :key okey)\n :always (merge props)\n (seq children) (assoc :children children)))))))\n\n(def suspense react/Suspense)\n(def strict-mode react/StrictMode)\n(def profiler react/Profiler)\n\n;; SSR helpers\n(def client? (exists? js/document)) ;; cljs can run in a browser or Node.js\n(def server? (not client?))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.dev.js b/out/cljs-runtime/uix.dev.js new file mode 100644 index 0000000..fc7fc7a --- /dev/null +++ b/out/cljs-runtime/uix.dev.js @@ -0,0 +1,22 @@ +goog.provide('uix.dev'); +var module$node_modules$react_refresh$runtime=shadow.js.require("module$node_modules$react_refresh$runtime", {}); +uix.dev.signature_BANG_ = (function uix$dev$signature_BANG_(){ +return module$node_modules$react_refresh$runtime.createSignatureFunctionForTransform(); +}); +uix.dev.register_BANG_ = (function uix$dev$register_BANG_(type,id){ +return module$node_modules$react_refresh$runtime.register(type,id); +}); +/** + * Injects react-refresh runtime. Should be called before UI is rendered + */ +uix.dev.init_fast_refresh_BANG_ = (function uix$dev$init_fast_refresh_BANG_(){ +return module$node_modules$react_refresh$runtime.injectIntoGlobalHook(window); +}); +/** + * Should be called after hot-reload, in shadow's ^:dev/after-load hook + */ +uix.dev.refresh_BANG_ = (function uix$dev$refresh_BANG_(){ +return module$node_modules$react_refresh$runtime.performReactRefresh(); +}); + +//# sourceMappingURL=uix.dev.js.map diff --git a/out/cljs-runtime/uix.dev.js.map b/out/cljs-runtime/uix.dev.js.map new file mode 100644 index 0000000..f3f16b7 --- /dev/null +++ b/out/cljs-runtime/uix.dev.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/dev.cljs"],"mappings":";;AAGA,0BAAA,1BAAMA;AAAN,AACE,OAACC;;AAEH,yBAAA,zBAAMC,0DAAWC,KAAKC;AAAtB,AACE,OAACC,mDAAiBF,KAAKC;;AAIzB;;;kCAAA,lCAAME;AAAN,AAGE,OAACC,+DAA6BC;;AAEhC;;;wBAAA,xBAAMC;AAAN,AAGE,OAACC","names":["uix.dev/signature!","js/module$node_modules$react_refresh$runtime.createSignatureFunctionForTransform","uix.dev/register!","type","id","js/module$node_modules$react_refresh$runtime.register","uix.dev/init-fast-refresh!","js/module$node_modules$react_refresh$runtime.injectIntoGlobalHook","js/window","uix.dev/refresh!","js/module$node_modules$react_refresh$runtime.performReactRefresh"],"sourcesContent":["(ns uix.dev\n (:require [\"react-refresh/runtime\" :as refresh]))\n\n(defn signature! []\n (refresh/createSignatureFunctionForTransform))\n\n(defn register! [type id]\n (refresh/register type id))\n\n;;;; Public API ;;;;\n\n(defn init-fast-refresh!\n \"Injects react-refresh runtime. Should be called before UI is rendered\"\n []\n (refresh/injectIntoGlobalHook js/window))\n\n(defn refresh!\n \"Should be called after hot-reload, in shadow's ^:dev/after-load hook\"\n []\n (refresh/performReactRefresh))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.dom.js b/out/cljs-runtime/uix.dom.js new file mode 100644 index 0000000..4849b18 --- /dev/null +++ b/out/cljs-runtime/uix.dom.js @@ -0,0 +1,162 @@ +goog.provide('uix.dom'); +var module$node_modules$react_dom$client=shadow.js.require("module$node_modules$react_dom$client", {}); +var module$node_modules$react_dom$index=shadow.js.require("module$node_modules$react_dom$index", {}); +/** + * Create a React root for the supplied container and return the root. + * + * See: https://reactjs.org/docs/react-dom-client.html#createroot + */ +uix.dom.create_root = (function uix$dom$create_root(var_args){ +var G__28762 = arguments.length; +switch (G__28762) { +case 1: +return uix.dom.create_root.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.dom.create_root.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.dom.create_root.cljs$core$IFn$_invoke$arity$1 = (function (node){ +return module$node_modules$react_dom$client.createRoot(node); +})); + +(uix.dom.create_root.cljs$core$IFn$_invoke$arity$2 = (function (node,p__28768){ +var map__28769 = p__28768; +var map__28769__$1 = cljs.core.__destructure_map(map__28769); +var options = map__28769__$1; +var on_recoverable_error = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28769__$1,new cljs.core.Keyword(null,"on-recoverable-error","on-recoverable-error",1651056576)); +var identifier_prefix = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28769__$1,new cljs.core.Keyword(null,"identifier-prefix","identifier-prefix",1929840008)); +return module$node_modules$react_dom$client.createRoot(node,({"onRecoverableError": on_recoverable_error, "identifierPrefix": identifier_prefix})); +})); + +(uix.dom.create_root.cljs$lang$maxFixedArity = 2); + +/** + * Same as `create-root`, but is used to hydrate a container whose HTML contents were rendered by ReactDOMServer. + * + * See: https://reactjs.org/docs/react-dom-client.html#hydrateroot + */ +uix.dom.hydrate_root = (function uix$dom$hydrate_root(var_args){ +var G__28787 = arguments.length; +switch (G__28787) { +case 2: +return uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$2 = (function (container,element){ +return module$node_modules$react_dom$client.hydrateRoot(container,element); +})); + +(uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$3 = (function (container,element,p__28797){ +var map__28798 = p__28797; +var map__28798__$1 = cljs.core.__destructure_map(map__28798); +var options = map__28798__$1; +var on_recoverable_error = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28798__$1,new cljs.core.Keyword(null,"on-recoverable-error","on-recoverable-error",1651056576)); +var identifier_prefix = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28798__$1,new cljs.core.Keyword(null,"identifier-prefix","identifier-prefix",1929840008)); +return module$node_modules$react_dom$client.hydrateRoot(container,element,({"onRecoverableError": on_recoverable_error, "identifierPrefix": identifier_prefix})); +})); + +(uix.dom.hydrate_root.cljs$lang$maxFixedArity = 3); + +/** + * Renders React root into the DOM node. + */ +uix.dom.render_root = (function uix$dom$render_root(element,root){ +return root.render(element); +}); +/** + * Remove a mounted React root from the DOM and clean up its event handlers and state. + */ +uix.dom.unmount_root = (function uix$dom$unmount_root(root){ +return root.unmount(); +}); +/** + * DEPRECATED: Renders element into DOM node. The first argument is React element. + */ +uix.dom.render = (function uix$dom$render(element,node){ +return module$node_modules$react_dom$index.render(element,node); +}); +/** + * DEPRECATED: Hydrates server rendered document at `node` with `element`. + */ +uix.dom.hydrate = (function uix$dom$hydrate(element,node){ +return module$node_modules$react_dom$index.hydrate(element,node); +}); +/** + * Force React to flush any updates inside the provided callback synchronously. + * This ensures that the DOM is updated immediately. + * + * See: https://reactjs.org/docs/react-dom.html#flushsync + */ +uix.dom.flush_sync = (function uix$dom$flush_sync(callback){ +return module$node_modules$react_dom$index.flushSync(callback); +}); +uix.dom.batched_updates = (function uix$dom$batched_updates(f){ +return module$node_modules$react_dom$index.unstable_batchedUpdates(f); +}); +/** + * Unmounts React component rendered into DOM node + */ +uix.dom.unmount_at_node = (function uix$dom$unmount_at_node(node){ +return module$node_modules$react_dom$index.unmountComponentAtNode(node); +}); +/** + * If this component has been mounted into the DOM, this returns the corresponding native browser DOM element. + * + * See: https://reactjs.org/docs/react-dom.html#finddomnode + */ +uix.dom.find_dom_node = (function uix$dom$find_dom_node(component){ +return module$node_modules$react_dom$index.findDOMNode(component); +}); +/** + * Creates a portal. Portals provide a way to render children into a DOM node + * that exists outside the hierarchy of the DOM component. + * + * See: https://reactjs.org/docs/react-dom.html#createportal + */ +uix.dom.create_portal = (function uix$dom$create_portal(var_args){ +var G__28833 = arguments.length; +switch (G__28833) { +case 2: +return uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return uix.dom.create_portal.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2 = (function (child,node){ +return module$node_modules$react_dom$index.createPortal(child,node); +})); + +(uix.dom.create_portal.cljs$core$IFn$_invoke$arity$3 = (function (child,node,key){ +return module$node_modules$react_dom$index.createPortal(child,node,key); +})); + +(uix.dom.create_portal.cljs$lang$maxFixedArity = 3); + + +//# sourceMappingURL=uix.dom.js.map diff --git a/out/cljs-runtime/uix.dom.js.map b/out/cljs-runtime/uix.dom.js.map new file mode 100644 index 0000000..fec2bd9 --- /dev/null +++ b/out/cljs-runtime/uix.dom.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/dom.cljs"],"mappings":";;;AAQA,AAAA;;;;;sBAAA,8BAAAA,pDAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,kDAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,kDAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAAC,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,CAAA,oDAAA,pDAAMD,+DAIFM;AAJJ,AAKG,OAACC,gDAAuBD;;;AAL3B,CAAA,oDAAA,gBAAAJ,pEAAMF,+DAMFM;AANJ,AAAA,IAAAH,aAAAD;IAAAC,iBAAA,AAAAC,4BAAAD;cAAAA,VAM6DO;2BAN7D,AAAAL,4CAAAF,eAAA,lFAMiBK;wBANjB,AAAAH,4CAAAF,eAAA,/EAMsCM;AANtC,AAOG,4DAAA,rDAACF,gDAAuBD,6BAA8BE,0CACFC;;;AARvD,CAAA,8CAAA,9CAAMT;;AAAN,AAUA,AAAA;;;;;uBAAA,+BAAAF,tDAAMc;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,mDAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,mDAAA,CAAA,UAAA,MAAA,CA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,MAAA,KAAApC,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,CAAA,sDAAA,tDAAMoC,iEAKFC,MAAMhC;AALV,AAMG,OAACiC,iDAAkBD,MAAMhC;;;AAN5B,CAAA,sDAAA,tDAAM+B,iEAOFC,MAAMhC,KAAKkC;AAPf,AAQG,OAACD,iDAAkBD,MAAMhC,KAAKkC;;;AARjC,CAAA,gDAAA,hDAAMH;;AAAN","names":["var_args","G__28762","uix.dom/create-root","js/Error","p__28768","map__28769","cljs.core/--destructure-map","cljs.core.get","node","js/module$node_modules$react_dom$client.createRoot","on-recoverable-error","identifier-prefix","options","G__28787","uix.dom/hydrate-root","p__28797","map__28798","container","element","js/module$node_modules$react_dom$client.hydrateRoot","uix.dom/render-root","root","uix.dom/unmount-root","uix.dom/render","js/module$node_modules$react_dom$index.render","uix.dom/hydrate","js/module$node_modules$react_dom$index.hydrate","uix.dom/flush-sync","callback","js/module$node_modules$react_dom$index.flushSync","uix.dom/batched-updates","f","js/module$node_modules$react_dom$index.unstable_batchedUpdates","uix.dom/unmount-at-node","js/module$node_modules$react_dom$index.unmountComponentAtNode","uix.dom/find-dom-node","component","js/module$node_modules$react_dom$index.findDOMNode","G__28833","uix.dom/create-portal","child","js/module$node_modules$react_dom$index.createPortal","key"],"sourcesContent":["(ns uix.dom\n \"Public API\"\n (:require-macros [uix.dom.linter])\n (:require [\"react-dom/client\" :as rdom-client]\n [react-dom :as rdom]))\n\n;; react-dom top-level API\n\n(defn create-root\n \"Create a React root for the supplied container and return the root.\n\n See: https://reactjs.org/docs/react-dom-client.html#createroot\"\n ([node]\n (rdom-client/createRoot node))\n ([node {:keys [on-recoverable-error identifier-prefix] :as options}]\n (rdom-client/createRoot node #js {:onRecoverableError on-recoverable-error\n :identifierPrefix identifier-prefix})))\n\n(defn hydrate-root\n \"Same as `create-root`, but is used to hydrate a container whose HTML contents were rendered by ReactDOMServer.\n\n See: https://reactjs.org/docs/react-dom-client.html#hydrateroot\"\n ([container element]\n (rdom-client/hydrateRoot container element))\n ([container element {:keys [on-recoverable-error identifier-prefix] :as options}]\n (rdom-client/hydrateRoot container element #js {:onRecoverableError on-recoverable-error\n :identifierPrefix identifier-prefix})))\n\n(defn render-root\n \"Renders React root into the DOM node.\"\n [element ^js/ReactDOMRoot root]\n (.render root element))\n\n(defn unmount-root\n \"Remove a mounted React root from the DOM and clean up its event handlers and state.\"\n [^js/ReactDOMRoot root]\n (.unmount root))\n\n(defn render\n \"DEPRECATED: Renders element into DOM node. The first argument is React element.\"\n [element node]\n (rdom/render element node))\n\n(defn hydrate\n \"DEPRECATED: Hydrates server rendered document at `node` with `element`.\"\n [element node]\n (rdom/hydrate element node))\n\n(defn flush-sync\n \"Force React to flush any updates inside the provided callback synchronously.\n This ensures that the DOM is updated immediately.\n\n See: https://reactjs.org/docs/react-dom.html#flushsync\"\n [callback]\n (rdom/flushSync callback))\n\n(defn batched-updates [f]\n (rdom/unstable_batchedUpdates f))\n\n(defn unmount-at-node\n \"Unmounts React component rendered into DOM node\"\n [node]\n (rdom/unmountComponentAtNode node))\n\n(defn find-dom-node\n \"If this component has been mounted into the DOM, this returns the corresponding native browser DOM element.\n\n See: https://reactjs.org/docs/react-dom.html#finddomnode\"\n [component]\n (rdom/findDOMNode component))\n\n(defn create-portal\n \"Creates a portal. Portals provide a way to render children into a DOM node\n that exists outside the hierarchy of the DOM component.\n\n See: https://reactjs.org/docs/react-dom.html#createportal\"\n ([child node]\n (rdom/createPortal child node))\n ([child node key]\n (rdom/createPortal child node key)))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.hooks.alpha.js b/out/cljs-runtime/uix.hooks.alpha.js new file mode 100644 index 0000000..e624965 --- /dev/null +++ b/out/cljs-runtime/uix.hooks.alpha.js @@ -0,0 +1,292 @@ +goog.provide('uix.hooks.alpha'); +var module$node_modules$react$index=shadow.js.require("module$node_modules$react$index", {}); +uix.hooks.alpha.choose_value = (function uix$hooks$alpha$choose_value(nv,cv){ +if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(nv,cv)){ +return cv; +} else { +return nv; +} +}); +/** + * Replicates React's behaviour when updating state with identical JS value, + * but using Clojure's value equality here + */ +uix.hooks.alpha.use_clojure_aware_updater = (function uix$hooks$alpha$use_clojure_aware_updater(updater){ +return module$node_modules$react$index.useCallback((function() { +var G__28319__delegate = function (v,args){ +var G__28144 = (function (cv){ +if(cljs.core.fn_QMARK_(v)){ +return uix.hooks.alpha.choose_value(cljs.core.apply.cljs$core$IFn$_invoke$arity$3(v,cv,args),cv); +} else { +return uix.hooks.alpha.choose_value(v,cv); +} +}); +return (updater.cljs$core$IFn$_invoke$arity$1 ? updater.cljs$core$IFn$_invoke$arity$1(G__28144) : updater.call(null, G__28144)); +}; +var G__28319 = function (v,var_args){ +var args = null; +if (arguments.length > 1) { +var G__28322__i = 0, G__28322__a = new Array(arguments.length - 1); +while (G__28322__i < G__28322__a.length) {G__28322__a[G__28322__i] = arguments[G__28322__i + 1]; ++G__28322__i;} + args = new cljs.core.IndexedSeq(G__28322__a,0,null); +} +return G__28319__delegate.call(this,v,args);}; +G__28319.cljs$lang$maxFixedArity = 1; +G__28319.cljs$lang$applyTo = (function (arglist__28324){ +var v = cljs.core.first(arglist__28324); +var args = cljs.core.rest(arglist__28324); +return G__28319__delegate(v,args); +}); +G__28319.cljs$core$IFn$_invoke$arity$variadic = G__28319__delegate; +return G__28319; +})() +,[updater]); +}); +uix.hooks.alpha.use_state = (function uix$hooks$alpha$use_state(value){ +var vec__28145 = module$node_modules$react$index.useState(value); +var state = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28145,(0),null); +var set_state = cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28145,(1),null); +var set_state__$1 = uix.hooks.alpha.use_clojure_aware_updater(set_state); +return [state,set_state__$1]; +}); +/** + * Same as `use-clojure-primitive-aware-updater` but for `use-reducer` + */ +uix.hooks.alpha.clojure_aware_reducer_updater = (function uix$hooks$alpha$clojure_aware_reducer_updater(f){ +return (function (state,action){ +return uix.hooks.alpha.choose_value((f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(state,action) : f.call(null, state,action)),state); +}); +}); +uix.hooks.alpha.use_reducer = (function uix$hooks$alpha$use_reducer(var_args){ +var G__28174 = arguments.length; +switch (G__28174) { +case 2: +return uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2 = (function (f,value){ +var updater = uix.hooks.alpha.clojure_aware_reducer_updater(f); +return module$node_modules$react$index.useReducer(updater,value); +})); + +(uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3 = (function (f,value,init_state){ +var updater = uix.hooks.alpha.clojure_aware_reducer_updater(f); +return module$node_modules$react$index.useReducer(updater,value,init_state); +})); + +(uix.hooks.alpha.use_reducer.cljs$lang$maxFixedArity = 3); + +uix.hooks.alpha.use_ref = (function uix$hooks$alpha$use_ref(value){ +return module$node_modules$react$index.useRef(value); +}); +uix.hooks.alpha.with_return_value_check = (function uix$hooks$alpha$with_return_value_check(f){ +return (function (){ +var ret = (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )); +if(cljs.core.fn_QMARK_(ret)){ +return ret; +} else { +return undefined; +} +}); +}); +uix.hooks.alpha.use_clj_deps = (function uix$hooks$alpha$use_clj_deps(deps){ +var ref = module$node_modules$react$index.useRef(deps); +if(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(ref.current,deps)){ +(ref.current = deps); +} else { +} + +return ref.current; +}); +uix.hooks.alpha.use_effect = (function uix$hooks$alpha$use_effect(var_args){ +var G__28235 = arguments.length; +switch (G__28235) { +case 1: +return uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$1 = (function (setup_fn){ +return module$node_modules$react$index.useEffect(uix.hooks.alpha.with_return_value_check(setup_fn)); +})); + +(uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2 = (function (setup_fn,deps){ +return module$node_modules$react$index.useEffect(uix.hooks.alpha.with_return_value_check(setup_fn),deps); +})); + +(uix.hooks.alpha.use_effect.cljs$lang$maxFixedArity = 2); + +uix.hooks.alpha.use_layout_effect = (function uix$hooks$alpha$use_layout_effect(var_args){ +var G__28264 = arguments.length; +switch (G__28264) { +case 1: +return uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$1 = (function (setup_fn){ +return module$node_modules$react$index.useLayoutEffect(uix.hooks.alpha.with_return_value_check(setup_fn)); +})); + +(uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$2 = (function (setup_fn,deps){ +return module$node_modules$react$index.useLayoutEffect(uix.hooks.alpha.with_return_value_check(setup_fn),deps); +})); + +(uix.hooks.alpha.use_layout_effect.cljs$lang$maxFixedArity = 2); + +uix.hooks.alpha.use_insertion_effect = (function uix$hooks$alpha$use_insertion_effect(var_args){ +var G__28274 = arguments.length; +switch (G__28274) { +case 1: +return uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$1 = (function (f){ +return module$node_modules$react$index.useInsertionEffect(uix.hooks.alpha.with_return_value_check(f)); +})); + +(uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$2 = (function (f,deps){ +return module$node_modules$react$index.useInsertionEffect(uix.hooks.alpha.with_return_value_check(f),deps); +})); + +(uix.hooks.alpha.use_insertion_effect.cljs$lang$maxFixedArity = 2); + +uix.hooks.alpha.use_callback = (function uix$hooks$alpha$use_callback(f,deps){ +return module$node_modules$react$index.useCallback(f,deps); +}); +uix.hooks.alpha.use_memo = (function uix$hooks$alpha$use_memo(f,deps){ +return module$node_modules$react$index.useMemo(f,deps); +}); +uix.hooks.alpha.use_context = (function uix$hooks$alpha$use_context(v){ +return module$node_modules$react$index.useContext(v); +}); +uix.hooks.alpha.use_imperative_handle = (function uix$hooks$alpha$use_imperative_handle(var_args){ +var G__28282 = arguments.length; +switch (G__28282) { +case 2: +return uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$2 = (function (ref,create_handle){ +return module$node_modules$react$index.useImperativeHandle(ref,create_handle); +})); + +(uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$3 = (function (ref,create_handle,deps){ +return module$node_modules$react$index.useImperativeHandle(ref,create_handle,deps); +})); + +(uix.hooks.alpha.use_imperative_handle.cljs$lang$maxFixedArity = 3); + +uix.hooks.alpha.use_debug = (function uix$hooks$alpha$use_debug(var_args){ +var G__28289 = arguments.length; +switch (G__28289) { +case 1: +return uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); + +break; +case 2: +return uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1 = (function (v){ +return uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2(v,null); +})); + +(uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2 = (function (v,fmt){ +return module$node_modules$react$index.useDebugValue(v,fmt); +})); + +(uix.hooks.alpha.use_debug.cljs$lang$maxFixedArity = 2); + +uix.hooks.alpha.use_deferred_value = (function uix$hooks$alpha$use_deferred_value(v){ +return module$node_modules$react$index.useDeferredValue(v); +}); +uix.hooks.alpha.use_transition = (function uix$hooks$alpha$use_transition(){ +return module$node_modules$react$index.useTransition(); +}); +uix.hooks.alpha.use_id = (function uix$hooks$alpha$use_id(){ +return module$node_modules$react$index.useId(); +}); +uix.hooks.alpha.use_sync_external_store = (function uix$hooks$alpha$use_sync_external_store(var_args){ +var G__28303 = arguments.length; +switch (G__28303) { +case 2: +return uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); + +break; +case 3: +return uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); + +break; +default: +throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); + +} +}); + +(uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2 = (function (subscribe,get_snapshot){ +return module$node_modules$react$index.useSyncExternalStore(subscribe,get_snapshot); +})); + +(uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3 = (function (subscribe,get_snapshot,get_server_snapshot){ +return module$node_modules$react$index.useSyncExternalStore(subscribe,get_snapshot,get_server_snapshot); +})); + +(uix.hooks.alpha.use_sync_external_store.cljs$lang$maxFixedArity = 3); + + +//# sourceMappingURL=uix.hooks.alpha.js.map diff --git a/out/cljs-runtime/uix.hooks.alpha.js.map b/out/cljs-runtime/uix.hooks.alpha.js.map new file mode 100644 index 0000000..2413a53 --- /dev/null +++ b/out/cljs-runtime/uix.hooks.alpha.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/hooks/alpha.cljs"],"mappings":";;AAIA,+BAAA,/BAAOA,sEAAcC,GAAGC;AAAxB,AACE,GAAI,AAACC,6CAAEF,GAAGC;AACRA;;AACAD;;;AAEJ;;;;4CAAA,5CAAOG,gGAGJC;AAHH,AAIE,OAACC,4CACA;mCAAKC,EAAIC;AAAT,AACE,IAAAC,WACC,WAAKP;AAAL,AACE,GAAI,AAACQ,oBAAIH;AACP,OAACP,6BAAa,AAACW,8CAAMJ,EAAEL,GAAGM,MAAMN;;AAChC,OAACF,6BAAaO,EAAEL;;;AAJrB,AAAA,sFAAAO,+BAAAA,7GAACJ,wCAAAA,kDAAAA;;yBADEE;IAAIC;;;;EAAAA;;oCAAJD,EAAIC;;;IAAJD;IAAIC;0BAAJD,EAAIC;;;;;CADV,CAOMH;;AAIR,4BAAA,5BAAMO,gEAAWC;AAAjB,AACE,IAAAC,aAAwB,AAACI,yCAAWL;YAApC,AAAAE,4CAAAD,WAAA,IAAA,nEAAOE;gBAAP,AAAAD,4CAAAD,WAAA,IAA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AAA1B,AACE,OAACuD,iDAAmBvD;;AAEtB,iCAAA,jCAAMwD;AAAN,AACE,OAACC;;AAEH,yBAAA,zBAAMC;AAAN,AACE,OAACC;;AAEH,AAAA,0CAAA,kDAAA5C,5FAAM8C;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,sEAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,sEAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,MAAA,KAAA3C,MAAA,CAAA,8DAAA,AAAA;;;;;AAAA,CAAA,wEAAA,xEAAM2C,mFACFC,UAAUC;AADd,AAEG,OAACC,qDAAuBF,UAAUC;;;AAFrC,CAAA,wEAAA,xEAAMF,mFAGFC,UAAUC,aAAaE;AAH3B,AAIG,OAACD,qDAAuBF,UAAUC,aAAaE;;;AAJlD,CAAA,kEAAA,lEAAMJ;;AAAN","names":["uix.hooks.alpha/choose-value","nv","cv","cljs.core._EQ_","uix.hooks.alpha/use-clojure-aware-updater","updater","js/module$node_modules$react$index.useCallback","v","args","G__28144","cljs.core/fn?","cljs.core.apply","uix.hooks.alpha/use-state","value","vec__28145","cljs.core.nth","state","set-state","js/module$node_modules$react$index.useState","uix.hooks.alpha/clojure-aware-reducer-updater","f","action","var_args","G__28174","uix.hooks.alpha/use-reducer","js/Error","js/module$node_modules$react$index.useReducer","init-state","uix.hooks.alpha/use-ref","js/module$node_modules$react$index.useRef","uix.hooks.alpha/with-return-value-check","ret","js/undefined","uix.hooks.alpha/use-clj-deps","deps","ref","cljs.core.not_EQ_","G__28235","uix.hooks.alpha/use-effect","setup-fn","js/module$node_modules$react$index.useEffect","G__28264","uix.hooks.alpha/use-layout-effect","js/module$node_modules$react$index.useLayoutEffect","G__28274","uix.hooks.alpha/use-insertion-effect","js/module$node_modules$react$index.useInsertionEffect","uix.hooks.alpha/use-callback","uix.hooks.alpha/use-memo","js/module$node_modules$react$index.useMemo","uix.hooks.alpha/use-context","js/module$node_modules$react$index.useContext","G__28282","uix.hooks.alpha/use-imperative-handle","create-handle","js/module$node_modules$react$index.useImperativeHandle","G__28289","uix.hooks.alpha/use-debug","uix.hooks.alpha.use_debug","fmt","js/module$node_modules$react$index.useDebugValue","uix.hooks.alpha/use-deferred-value","js/module$node_modules$react$index.useDeferredValue","uix.hooks.alpha/use-transition","js/module$node_modules$react$index.useTransition","uix.hooks.alpha/use-id","js/module$node_modules$react$index.useId","G__28303","uix.hooks.alpha/use-sync-external-store","subscribe","get-snapshot","js/module$node_modules$react$index.useSyncExternalStore","get-server-snapshot"],"sourcesContent":["(ns uix.hooks.alpha\n \"Wrappers for React Hooks\"\n (:require [react :as r]))\n\n(defn- choose-value [nv cv]\n (if (= nv cv)\n cv\n nv))\n\n(defn- use-clojure-aware-updater\n \"Replicates React's behaviour when updating state with identical JS value,\n but using Clojure's value equality here\"\n [updater]\n (react/useCallback\n (fn [v & args]\n (updater\n (fn [cv]\n (if (fn? v)\n (choose-value (apply v cv args) cv)\n (choose-value v cv)))))\n #js [updater]))\n\n;; == State hook ==\n\n(defn use-state [value]\n (let [[state set-state] (r/useState value)\n set-state (use-clojure-aware-updater set-state)]\n #js [state set-state]))\n\n(defn- clojure-aware-reducer-updater\n \"Same as `use-clojure-primitive-aware-updater` but for `use-reducer`\"\n [f]\n (fn [state action]\n (choose-value (f state action) state)))\n\n(defn use-reducer\n ([f value]\n (let [updater (clojure-aware-reducer-updater f)]\n (r/useReducer updater value)))\n ([f value init-state]\n (let [updater (clojure-aware-reducer-updater f)]\n (r/useReducer updater value init-state))))\n\n;; == Ref hook\n\n(defn use-ref [value]\n (r/useRef value))\n\n;; == Effect hook ==\n(defn with-return-value-check [f]\n #(let [ret (f)]\n (if (fn? ret) ret js/undefined)))\n\n(defn use-clj-deps [deps]\n (let [ref (r/useRef deps)]\n (when (not= (.-current ref) deps)\n (set! (.-current ref) deps))\n (.-current ref)))\n\n(defn use-effect\n ([setup-fn]\n (r/useEffect (with-return-value-check setup-fn)))\n ([setup-fn deps]\n (r/useEffect\n (with-return-value-check setup-fn)\n deps)))\n\n;; == Layout effect hook ==\n(defn use-layout-effect\n ([setup-fn]\n (r/useLayoutEffect\n (with-return-value-check setup-fn)))\n ([setup-fn deps]\n (r/useLayoutEffect\n (with-return-value-check setup-fn)\n deps)))\n\n;; == Insertion effect hook ==\n(defn use-insertion-effect\n ([f]\n (r/useInsertionEffect\n (with-return-value-check f)))\n ([f deps]\n (r/useInsertionEffect\n (with-return-value-check f)\n deps)))\n\n;; == Callback hook ==\n(defn use-callback\n [f deps]\n (r/useCallback f deps))\n\n;; == Memo hook ==\n(defn use-memo\n [f deps]\n (r/useMemo f deps))\n\n;; == Context hook ==\n(defn use-context [v]\n (r/useContext v))\n\n;; == Imperative Handle hook ==\n(defn use-imperative-handle\n ([ref create-handle]\n (r/useImperativeHandle ref create-handle))\n ([ref create-handle deps]\n (r/useImperativeHandle ref create-handle deps)))\n\n;; == Debug hook ==\n(defn use-debug\n ([v]\n (use-debug v nil))\n ([v fmt]\n (r/useDebugValue v fmt)))\n\n(defn use-deferred-value [v]\n (r/useDeferredValue v))\n\n(defn use-transition []\n (r/useTransition))\n\n(defn use-id []\n (r/useId))\n\n(defn use-sync-external-store\n ([subscribe get-snapshot]\n (r/useSyncExternalStore subscribe get-snapshot))\n ([subscribe get-snapshot get-server-snapshot]\n (r/useSyncExternalStore subscribe get-snapshot get-server-snapshot)))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/cljs-runtime/uix.lib.js b/out/cljs-runtime/uix.lib.js new file mode 100644 index 0000000..35c295f --- /dev/null +++ b/out/cljs-runtime/uix.lib.js @@ -0,0 +1,13 @@ +goog.provide('uix.lib'); +goog.scope(function(){ + uix.lib.goog$module$goog$object = goog.module.get('goog.object'); +}); +uix.lib.map__GT_js = (function uix$lib$map__GT_js(m){ +return cljs.core.reduce_kv((function (o,k,v){ +uix.lib.goog$module$goog$object.set(o,cljs.core.name(k),v); + +return o; +}),({}),m); +}); + +//# sourceMappingURL=uix.lib.js.map diff --git a/out/cljs-runtime/uix.lib.js.map b/out/cljs-runtime/uix.lib.js.map new file mode 100644 index 0000000..96b7bb3 --- /dev/null +++ b/out/cljs-runtime/uix.lib.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["uix/lib.cljc"],"mappings":";;;;AAwBG,qBAAA,rBAAMA,kDAASC;AAAf,AACE,OAACC,oBAAU,WAAKC,EAAEC,EAAEC;AAAT,AACE,AAACC,oCAASH,EAAE,AAACI,eAAKH,GAAGC;;AACrBF;GAFb,KAIWF","names":["uix.lib/map->js","m","cljs.core/reduce-kv","o","k","v","uix.lib.goog$module$goog$object.set","cljs.core/name"],"sourcesContent":["(ns uix.lib\n #?(:cljs (:require-macros [uix.lib :refer [doseq-loop]]))\n #?(:cljs (:require [goog.object :as gobj]))\n #?(:clj (:require [cljs.analyzer :as ana]\n [clojure.walk]\n [cljs.core])))\n\n#?(:clj\n (defmacro assert! [x message]\n `(when-not ~x\n (throw (new AssertionError (str \"Assert failed: \" ~message \"\\n\" (pr-str '~x)))))))\n\n#?(:clj\n (defmacro doseq-loop [[v vs] & body]\n `(let [v# ~vs]\n (when (seq v#)\n (loop [x# (first v#)\n xs# (next v#)]\n (let [~v x#]\n ~@body)\n (when (seq xs#)\n (recur (first xs#) (next xs#))))))))\n\n#?(:cljs\n (defn map->js [m]\n (reduce-kv (fn [o k v]\n (gobj/set o (name k) v)\n o)\n #js {}\n m)))\n\n#?(:clj\n (defn cljs-env? [env]\n (boolean (:ns env))))\n\n#?(:clj\n (defn find-form [pred sexp]\n (let [forms (atom [])]\n (clojure.walk/prewalk\n (fn [x]\n (when (pred x)\n (swap! forms conj x))\n x)\n sexp)\n @forms)))\n\n#?(:clj\n (defn parse-sig [name fdecl]\n (let [[fdecl m] (if (string? (first fdecl))\n [(next fdecl) {:doc (first fdecl)}]\n [fdecl {}])\n [fdecl m] (if (map? (first fdecl))\n [(next fdecl) (conj m (first fdecl))]\n [fdecl m])\n fdecl (if (vector? (first fdecl))\n (list fdecl)\n fdecl)\n [fdecl m] (if (map? (last fdecl))\n [(butlast fdecl) (conj m (last fdecl))]\n [fdecl m])\n m (conj {:arglists (list 'quote (#'cljs.core/sigs fdecl))} m)\n m (conj (if (meta name) (meta name) {}) m)]\n [(with-meta name m) fdecl])))\n\n#?(:clj\n (do\n (defn- uix-element?\n \"Returns true when `form` is `(uix.core/$ ...)`\"\n [env form]\n (let [resolve-fn (if (uix.lib/cljs-env? env)\n ana/resolve-var\n resolve)]\n (and (list? form)\n (symbol? (first form))\n (->> (first form) (resolve-fn env) :name (= 'uix.core/$)))))\n\n (def elements-list-fns\n '#{for map mapv filter filterv remove keep keep-indexed})\n\n (defn- elements-list?\n \"Returns true when `v` is form commonly used to render a list of elements\n `(map ...)`, `(for ...)`, etc\"\n [v]\n (and (list? v)\n (symbol? (first v))\n (elements-list-fns (first v))))\n\n (defn normalize-element\n \"When the second item in the element `v` is either UIx element or `elements-list?`,\n returns normalized element with empty map at props position\n and child element shifted into children position\"\n [env v]\n (if (or (uix-element? env (second v))\n (elements-list? (second v)))\n (into [(first v) {}] (rest v))\n v))))\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/out/main.js b/out/main.js index d9e0afe..10b6e87 100644 --- a/out/main.js +++ b/out/main.js @@ -1,7 +1,7 @@ var shadow$provide = {}; var CLOSURE_NO_DEPS = true; var CLOSURE_BASE_PATH = '/out/cljs-runtime/'; -var CLOSURE_DEFINES = {"shadow.cljs.devtools.client.env.repl_pprint":false,"shadow.cljs.devtools.client.env.reload_strategy":"optimized","shadow.cljs.devtools.client.env.devtools_url":"","shadow.cljs.devtools.client.env.autoload":true,"shadow.cljs.devtools.client.env.proc_id":"b76b36a8-d0b8-436c-99c7-e55de66f5f9f","shadow.cljs.devtools.client.env.use_document_protocol":false,"goog.ENABLE_DEBUG_LOADER":false,"shadow.cljs.devtools.client.env.server_port":9630,"shadow.cljs.devtools.client.env.server_token":"745e37fc-55c0-4940-9804-b717d8a0c742","shadow.cljs.devtools.client.env.use_document_host":true,"shadow.cljs.devtools.client.env.module_format":"goog","goog.LOCALE":"en","shadow.cljs.devtools.client.env.build_id":"examples","shadow.cljs.devtools.client.env.ignore_warnings":false,"goog.DEBUG":true,"shadow.cljs.devtools.client.env.log":true,"shadow.cljs.devtools.client.env.ssl":false,"shadow.cljs.devtools.client.env.enabled":true,"shadow.cljs.devtools.client.env.server_host":"localhost","shadow.cljs.devtools.client.env.worker_client_id":2,"goog.TRANSPILE":"never"}; +var CLOSURE_DEFINES = {"shadow.cljs.devtools.client.env.repl_pprint":false,"shadow.cljs.devtools.client.env.reload_strategy":"optimized","shadow.cljs.devtools.client.env.devtools_url":"","shadow.cljs.devtools.client.env.autoload":true,"shadow.cljs.devtools.client.env.proc_id":"358cd3a1-4463-4913-8a2a-2016588150a3","shadow.cljs.devtools.client.env.use_document_protocol":false,"goog.ENABLE_DEBUG_LOADER":false,"shadow.cljs.devtools.client.env.server_port":9630,"shadow.cljs.devtools.client.env.server_token":"99279969-1cce-4f30-aff5-27d70204797d","shadow.cljs.devtools.client.env.use_document_host":true,"shadow.cljs.devtools.client.env.module_format":"goog","goog.LOCALE":"en","shadow.cljs.devtools.client.env.build_id":"examples","shadow.cljs.devtools.client.env.ignore_warnings":false,"goog.DEBUG":true,"shadow.cljs.devtools.client.env.log":true,"shadow.cljs.devtools.client.env.ssl":false,"shadow.cljs.devtools.client.env.enabled":true,"shadow.cljs.devtools.client.env.server_host":"localhost","shadow.cljs.devtools.client.env.worker_client_id":2,"goog.TRANSPILE":"never"}; var COMPILED = false; var goog = goog || {}; goog.global = this || self; @@ -1534,22 +1534,22 @@ SHADOW_ENV.evalLoad("shadow.cljs.devtools.client.browser.js", true, "goog.provid SHADOW_ENV.evalLoad("shadow.js.js", true, "goog.provide(\x22shadow.js\x22);\nshadow.js.files \x3d {};\nshadow.js.nativeProvides \x3d {};\nshadow.js.NODE_ENV \x3d goog.define(\x22shadow.js.NODE_ENV\x22, \x22development\x22);\nshadow.js.requireStack \x3d [];\nshadow.js.exportCopy \x3d function(module, other) {\n let copy \x3d {};\n let exports \x3d module[\x22exports\x22];\n for (let key in other) {\n if (key \x3d\x3d \x22default\x22 || key in exports || key in copy) {\n continue;\n }\n copy[key] \x3d {enumerable:true, get:function() {\n return other[key];\n }};\n }\n Object.defineProperties(exports, copy);\n};\nshadow.js.jsRequire \x3d function(name, opts) {\n var nativeObj \x3d shadow.js.nativeProvides[name];\n if (nativeObj !\x3d\x3d undefined) {\n return nativeObj;\n }\n try {\n if (goog.DEBUG) {\n if (name instanceof String \x26\x26 name.indexOf(\x22/\x22) !\x3d -1) {\n console.warn(\x22Tried to dynamically require \x27\x22 + name + \x22\x27 from \x27\x22 + shadow.js.requireStack[shadow.js.requireStack.length - 1] + \x22\x27. This is not supported and may cause issues.\x22);\n }\n }\n shadow.js.requireStack.push(name);\n var module \x3d shadow.js.files[name];\n var moduleFn \x3d shadow$provide[name];\n if (module \x3d\x3d\x3d undefined) {\n if (moduleFn \x3d\x3d\x3d undefined) {\n throw \x22Module not provided: \x22 + name;\n }\n module \x3d {};\n module[\x22exports\x22] \x3d {};\n shadow.js.files[name] \x3d module;\n }\n if (moduleFn) {\n delete shadow$provide[name];\n try {\n moduleFn.call(module, goog.global, shadow.js.jsRequire, module, module[\x22exports\x22]);\n } catch (e) {\n console.warn(\x22shadow-cljs - failed to load\x22, name);\n console.error(e);\n throw e;\n }\n if (opts) {\n var globals \x3d opts[\x22globals\x22];\n if (globals) {\n var i \x3d 0;\n for (; i \x3c globals.length; i++) {\n window[globals[i]] \x3d module[\x22exports\x22];\n }\n }\n }\n }\n } finally {\n shadow.js.requireStack.pop();\n }\n return module[\x22exports\x22];\n};\nshadow.js.jsRequire[\x22cache\x22] \x3d {};\nshadow.js.jsRequire[\x22resolve\x22] \x3d function(name) {\n return name;\n};\nshadow.js.jsRequire[\x22exportCopy\x22] \x3d shadow.js.exportCopy;\nshadow.js.jsRequire[\x22esmDefault\x22] \x3d function(mod) {\n return mod \x26\x26 mod[\x22__esModule\x22] ? mod : {\x22default\x22:mod};\n};\nshadow.js.jsRequire[\x22dynamic\x22] \x3d function(name) {\n return Promise.resolve().then(function() {\n return shadow.js.jsRequire(name);\n });\n};\nshadow.js.modules \x3d {};\nshadow.js.require \x3d function(name, opts) {\n return shadow.js.jsRequire(name, opts);\n};\n"); SHADOW_ENV.evalLoad("module$node_modules$react$cjs$react_development.js", true, "shadow$provide.module$node_modules$react$cjs$react_development \x3d function(global, require, module, exports) {\n (function() {\n function getIteratorFn(maybeIterable) {\n if (null \x3d\x3d\x3d maybeIterable || \x22object\x22 !\x3d\x3d typeof maybeIterable) {\n return null;\n }\n maybeIterable \x3d MAYBE_ITERATOR_SYMBOL \x26\x26 maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[\x22@@iterator\x22];\n return \x22function\x22 \x3d\x3d\x3d typeof maybeIterable ? maybeIterable : null;\n }\n function warn(format) {\n for (var _len \x3d arguments.length, args \x3d Array(1 \x3c _len ? _len - 1 : 0), _key \x3d 1; _key \x3c _len; _key++) {\n args[_key - 1] \x3d arguments[_key];\n }\n printWarning(\x22warn\x22, format, args);\n }\n function error(format) {\n for (var _len2 \x3d arguments.length, args \x3d Array(1 \x3c _len2 ? _len2 - 1 : 0), _key2 \x3d 1; _key2 \x3c _len2; _key2++) {\n args[_key2 - 1] \x3d arguments[_key2];\n }\n printWarning(\x22error\x22, format, args);\n }\n function printWarning(level, format, args) {\n var stack \x3d ReactSharedInternals.ReactDebugCurrentFrame.getStackAddendum();\n \x22\x22 !\x3d\x3d stack \x26\x26 (format +\x3d \x22%s\x22, args \x3d args.concat([stack]));\n args \x3d args.map(function(item) {\n return String(item);\n });\n args.unshift(\x22Warning: \x22 + format);\n Function.prototype.apply.call(console[level], console, args);\n }\n function warnNoop(publicInstance, callerName) {\n publicInstance \x3d (publicInstance \x3d publicInstance.constructor) \x26\x26 (publicInstance.displayName || publicInstance.name) || \x22ReactClass\x22;\n var warningKey \x3d publicInstance + \x22.\x22 + callerName;\n didWarnStateUpdateForUnmountedComponent[warningKey] || (error(\x22Can\x27t call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state \\x3d {};` class property with the desired state in the %s component.\x22, callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] \x3d !0);\n }\n function Component(props, context, updater) {\n this.props \x3d props;\n this.context \x3d context;\n this.refs \x3d emptyObject;\n this.updater \x3d updater || ReactNoopUpdateQueue;\n }\n function ComponentDummy() {\n }\n function PureComponent(props, context, updater) {\n this.props \x3d props;\n this.context \x3d context;\n this.refs \x3d emptyObject;\n this.updater \x3d updater || ReactNoopUpdateQueue;\n }\n function checkKeyStringCoercion(value) {\n try {\n var JSCompiler_inline_result \x3d !1;\n } catch (e) {\n JSCompiler_inline_result \x3d !0;\n }\n if (JSCompiler_inline_result) {\n return JSCompiler_inline_result \x3d \x22function\x22 \x3d\x3d\x3d typeof Symbol \x26\x26 Symbol.toStringTag \x26\x26 value[Symbol.toStringTag] || value.constructor.name || \x22Object\x22, error(\x22The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.\x22, JSCompiler_inline_result), \x22\x22 + value;\n }\n }\n function getComponentNameFromType(type) {\n if (null \x3d\x3d type) {\n return null;\n }\n \x22number\x22 \x3d\x3d\x3d typeof type.tag \x26\x26 error(\x22Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\x22);\n if (\x22function\x22 \x3d\x3d\x3d typeof type) {\n return type.displayName || type.name || null;\n }\n if (\x22string\x22 \x3d\x3d\x3d typeof type) {\n return type;\n }\n switch(type) {\n case REACT_FRAGMENT_TYPE:\n return \x22Fragment\x22;\n case REACT_PORTAL_TYPE:\n return \x22Portal\x22;\n case REACT_PROFILER_TYPE:\n return \x22Profiler\x22;\n case REACT_STRICT_MODE_TYPE:\n return \x22StrictMode\x22;\n case REACT_SUSPENSE_TYPE:\n return \x22Suspense\x22;\n case REACT_SUSPENSE_LIST_TYPE:\n return \x22SuspenseList\x22;\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof type) {\n switch(type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \x22Context\x22) + \x22.Consumer\x22;\n case REACT_PROVIDER_TYPE:\n return (type._context.displayName || \x22Context\x22) + \x22.Provider\x22;\n case REACT_FORWARD_REF_TYPE:\n var innerType \x3d type.render;\n type \x3d type.displayName;\n type || (type \x3d innerType.displayName || innerType.name || \x22\x22, type \x3d \x22\x22 !\x3d\x3d type ? \x22ForwardRef(\x22 + type + \x22)\x22 : \x22ForwardRef\x22);\n return type;\n case REACT_MEMO_TYPE:\n return innerType \x3d type.displayName || null, null !\x3d\x3d innerType ? innerType : getComponentNameFromType(type.type) || \x22Memo\x22;\n case REACT_LAZY_TYPE:\n innerType \x3d type._payload;\n type \x3d type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {\n }\n }\n }\n return null;\n }\n function hasValidRef(config) {\n if (hasOwnProperty.call(config, \x22ref\x22)) {\n var getter \x3d Object.getOwnPropertyDescriptor(config, \x22ref\x22).get;\n if (getter \x26\x26 getter.isReactWarning) {\n return !1;\n }\n }\n return void 0 !\x3d\x3d config.ref;\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \x22key\x22)) {\n var getter \x3d Object.getOwnPropertyDescriptor(config, \x22key\x22).get;\n if (getter \x26\x26 getter.isReactWarning) {\n return !1;\n }\n }\n return void 0 !\x3d\x3d config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n var warnAboutAccessingKey \x3d function() {\n specialPropKeyWarningShown || (specialPropKeyWarningShown \x3d !0, error(\x22%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)\x22, displayName));\n };\n warnAboutAccessingKey.isReactWarning \x3d !0;\n Object.defineProperty(props, \x22key\x22, {get:warnAboutAccessingKey, configurable:!0});\n }\n function defineRefPropWarningGetter(props, displayName) {\n var warnAboutAccessingRef \x3d function() {\n specialPropRefWarningShown || (specialPropRefWarningShown \x3d !0, error(\x22%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)\x22, displayName));\n };\n warnAboutAccessingRef.isReactWarning \x3d !0;\n Object.defineProperty(props, \x22ref\x22, {get:warnAboutAccessingRef, configurable:!0});\n }\n function createElement(type, config, children) {\n var props \x3d {}, key \x3d null, ref \x3d null, self \x3d null, source \x3d null;\n if (null !\x3d config) {\n for (propName in hasValidRef(config) \x26\x26 (ref \x3d config.ref, \x22string\x22 \x3d\x3d\x3d typeof config.ref \x26\x26 ReactCurrentOwner.current \x26\x26 config.__self \x26\x26 ReactCurrentOwner.current.stateNode !\x3d\x3d config.__self \x26\x26 (self \x3d getComponentNameFromType(ReactCurrentOwner.current.type), didWarnAboutStringRefs[self] || (error(\x27Component \x22%s\x22 contains the string ref \x22%s\x22. Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref\x27, \n self, config.ref), didWarnAboutStringRefs[self] \x3d !0))), hasValidKey(config) \x26\x26 (checkKeyStringCoercion(config.key), key \x3d \x22\x22 + config.key), self \x3d void 0 \x3d\x3d\x3d config.__self ? null : config.__self, source \x3d void 0 \x3d\x3d\x3d config.__source ? null : config.__source, config) {\n hasOwnProperty.call(config, propName) \x26\x26 !RESERVED_PROPS.hasOwnProperty(propName) \x26\x26 (props[propName] \x3d config[propName]);\n }\n }\n var childrenLength \x3d arguments.length - 2;\n if (1 \x3d\x3d\x3d childrenLength) {\n props.children \x3d children;\n } else if (1 \x3c childrenLength) {\n for (var childArray \x3d Array(childrenLength), i \x3d 0; i \x3c childrenLength; i++) {\n childArray[i] \x3d arguments[i + 2];\n }\n Object.freeze \x26\x26 Object.freeze(childArray);\n props.children \x3d childArray;\n }\n if (type \x26\x26 type.defaultProps) {\n for (propName in childrenLength \x3d type.defaultProps, childrenLength) {\n void 0 \x3d\x3d\x3d props[propName] \x26\x26 (props[propName] \x3d childrenLength[propName]);\n }\n }\n if (key || ref) {\n var propName \x3d \x22function\x22 \x3d\x3d\x3d typeof type ? type.displayName || type.name || \x22Unknown\x22 : type;\n key \x26\x26 defineKeyPropWarningGetter(props, propName);\n ref \x26\x26 defineRefPropWarningGetter(props, propName);\n }\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n function cloneAndReplaceKey(oldElement, newKey) {\n return ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n }\n function cloneElement(element, config, children) {\n if (null \x3d\x3d\x3d element || void 0 \x3d\x3d\x3d element) {\n throw Error(\x22React.cloneElement(...): The argument must be a React element, but you passed \x22 + element + \x22.\x22);\n }\n var props \x3d assign({}, element.props), key \x3d element.key, ref \x3d element.ref, self \x3d element._self, source \x3d element._source, owner \x3d element._owner;\n if (null !\x3d config) {\n hasValidRef(config) \x26\x26 (ref \x3d config.ref, owner \x3d ReactCurrentOwner.current);\n hasValidKey(config) \x26\x26 (checkKeyStringCoercion(config.key), key \x3d \x22\x22 + config.key);\n if (element.type \x26\x26 element.type.defaultProps) {\n var defaultProps \x3d element.type.defaultProps;\n }\n for (propName in config) {\n hasOwnProperty.call(config, propName) \x26\x26 !RESERVED_PROPS.hasOwnProperty(propName) \x26\x26 (props[propName] \x3d void 0 \x3d\x3d\x3d config[propName] \x26\x26 void 0 !\x3d\x3d defaultProps ? defaultProps[propName] : config[propName]);\n }\n }\n var propName \x3d arguments.length - 2;\n if (1 \x3d\x3d\x3d propName) {\n props.children \x3d children;\n } else if (1 \x3c propName) {\n defaultProps \x3d Array(propName);\n for (var i \x3d 0; i \x3c propName; i++) {\n defaultProps[i] \x3d arguments[i + 2];\n }\n props.children \x3d defaultProps;\n }\n return ReactElement(element.type, key, ref, self, source, owner, props);\n }\n function isValidElement(object) {\n return \x22object\x22 \x3d\x3d\x3d typeof object \x26\x26 null !\x3d\x3d object \x26\x26 object.$$typeof \x3d\x3d\x3d REACT_ELEMENT_TYPE;\n }\n function escape(key) {\n var escaperLookup \x3d {\x22\\x3d\x22:\x22\\x3d0\x22, \x22:\x22:\x22\\x3d2\x22};\n return \x22$\x22 + key.replace(/[\x3d:]/g, function(match) {\n return escaperLookup[match];\n });\n }\n function getElementKey(element, index) {\n return \x22object\x22 \x3d\x3d\x3d typeof element \x26\x26 null !\x3d\x3d element \x26\x26 null !\x3d element.key ? (checkKeyStringCoercion(element.key), escape(\x22\x22 + element.key)) : index.toString(36);\n }\n function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type \x3d typeof children;\n if (\x22undefined\x22 \x3d\x3d\x3d type || \x22boolean\x22 \x3d\x3d\x3d type) {\n children \x3d null;\n }\n var invokeCallback \x3d !1;\n if (null \x3d\x3d\x3d children) {\n invokeCallback \x3d !0;\n } else {\n switch(type) {\n case \x22string\x22:\n case \x22number\x22:\n invokeCallback \x3d !0;\n break;\n case \x22object\x22:\n switch(children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback \x3d !0;\n }\n }\n }\n if (invokeCallback) {\n return invokeCallback \x3d children, callback \x3d callback(invokeCallback), nameSoFar \x3d \x22\x22 \x3d\x3d\x3d nameSoFar ? \x22.\x22 + getElementKey(invokeCallback, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix \x3d \x22\x22, null !\x3d nameSoFar \x26\x26 (escapedPrefix \x3d nameSoFar.replace(userProvidedKeyEscapeRegex, \x22$\\x26/\x22) + \x22/\x22), mapIntoArray(callback, array, escapedPrefix, \x22\x22, function(c) {\n return c;\n })) : null !\x3d callback \x26\x26 (isValidElement(callback) \x26\x26 (!callback.key || invokeCallback \x26\x26 invokeCallback.key \x3d\x3d\x3d callback.key || checkKeyStringCoercion(callback.key), callback \x3d cloneAndReplaceKey(callback, escapedPrefix + (!callback.key || invokeCallback \x26\x26 invokeCallback.key \x3d\x3d\x3d callback.key ? \x22\x22 : (\x22\x22 + callback.key).replace(userProvidedKeyEscapeRegex, \x22$\\x26/\x22) + \x22/\x22) + nameSoFar)), array.push(callback)), 1;\n }\n invokeCallback \x3d 0;\n nameSoFar \x3d \x22\x22 \x3d\x3d\x3d nameSoFar ? \x22.\x22 : nameSoFar + \x22:\x22;\n if (isArrayImpl(children)) {\n for (var i \x3d 0; i \x3c children.length; i++) {\n type \x3d children[i];\n var nextName \x3d nameSoFar + getElementKey(type, i);\n invokeCallback +\x3d mapIntoArray(type, array, escapedPrefix, nextName, callback);\n }\n } else {\n if (nextName \x3d getIteratorFn(children), \x22function\x22 \x3d\x3d\x3d typeof nextName) {\n for (nextName \x3d\x3d\x3d children.entries \x26\x26 (didWarnAboutMaps || warn(\x22Using Maps as children is not supported. Use an array of keyed ReactElements instead.\x22), didWarnAboutMaps \x3d !0), children \x3d nextName.call(children), i \x3d 0; !(type \x3d children.next()).done;) {\n type \x3d type.value, nextName \x3d nameSoFar + getElementKey(type, i++), invokeCallback +\x3d mapIntoArray(type, array, escapedPrefix, nextName, callback);\n }\n } else if (\x22object\x22 \x3d\x3d\x3d type) {\n throw array \x3d String(children), Error(\x22Objects are not valid as a React child (found: \x22 + (\x22[object Object]\x22 \x3d\x3d\x3d array ? \x22object with keys {\x22 + Object.keys(children).join(\x22, \x22) + \x22}\x22 : array) + \x22). If you meant to render a collection of children, use an array instead.\x22);\n }\n }\n return invokeCallback;\n }\n function mapChildren(children, func, context) {\n if (null \x3d\x3d children) {\n return children;\n }\n var result \x3d [], count \x3d 0;\n mapIntoArray(children, result, \x22\x22, \x22\x22, function(child) {\n return func.call(context, child, count++);\n });\n return result;\n }\n function lazyInitializer(payload) {\n if (-1 \x3d\x3d\x3d payload._status) {\n var ctor \x3d payload._result;\n ctor \x3d ctor();\n ctor.then(function(moduleObject) {\n if (0 \x3d\x3d\x3d payload._status || -1 \x3d\x3d\x3d payload._status) {\n payload._status \x3d 1, payload._result \x3d moduleObject;\n }\n }, function(error) {\n if (0 \x3d\x3d\x3d payload._status || -1 \x3d\x3d\x3d payload._status) {\n payload._status \x3d 2, payload._result \x3d error;\n }\n });\n -1 \x3d\x3d\x3d payload._status \x26\x26 (payload._status \x3d 0, payload._result \x3d ctor);\n }\n if (1 \x3d\x3d\x3d payload._status) {\n return ctor \x3d payload._result, void 0 \x3d\x3d\x3d ctor \x26\x26 error(\x22lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent \\x3d lazy(() \\x3d\\x3e import(\x27./MyComponent\x27))\\n\\nDid you accidentally put curly braces around the import?\x22, ctor), \x22default\x22 in ctor || error(\x22lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent \\x3d lazy(() \\x3d\\x3e import(\x27./MyComponent\x27))\x22, \n ctor), ctor.default;\n }\n throw payload._result;\n }\n function isValidElementType(type) {\n return \x22string\x22 \x3d\x3d\x3d typeof type || \x22function\x22 \x3d\x3d\x3d typeof type || type \x3d\x3d\x3d REACT_FRAGMENT_TYPE || type \x3d\x3d\x3d REACT_PROFILER_TYPE || type \x3d\x3d\x3d REACT_STRICT_MODE_TYPE || type \x3d\x3d\x3d REACT_SUSPENSE_TYPE || type \x3d\x3d\x3d REACT_SUSPENSE_LIST_TYPE || type \x3d\x3d\x3d REACT_OFFSCREEN_TYPE || \x22object\x22 \x3d\x3d\x3d typeof type \x26\x26 null !\x3d\x3d type \x26\x26 (type.$$typeof \x3d\x3d\x3d REACT_LAZY_TYPE || type.$$typeof \x3d\x3d\x3d REACT_MEMO_TYPE || type.$$typeof \x3d\x3d\x3d REACT_PROVIDER_TYPE || type.$$typeof \x3d\x3d\x3d REACT_CONTEXT_TYPE || type.$$typeof \x3d\x3d\x3d REACT_FORWARD_REF_TYPE || \n type.$$typeof \x3d\x3d\x3d REACT_MODULE_REFERENCE || void 0 !\x3d\x3d type.getModuleId) ? !0 : !1;\n }\n function resolveDispatcher() {\n var dispatcher \x3d ReactCurrentDispatcher.current;\n null \x3d\x3d\x3d dispatcher \x26\x26 error(\x22Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\x22);\n return dispatcher;\n }\n function disabledLog() {\n }\n function disableLogs() {\n if (0 \x3d\x3d\x3d disabledDepth) {\n prevLog \x3d console.log;\n prevInfo \x3d console.info;\n prevWarn \x3d console.warn;\n prevError \x3d console.error;\n prevGroup \x3d console.group;\n prevGroupCollapsed \x3d console.groupCollapsed;\n prevGroupEnd \x3d console.groupEnd;\n var props \x3d {configurable:!0, enumerable:!0, value:disabledLog, writable:!0};\n Object.defineProperties(console, {info:props, log:props, warn:props, error:props, group:props, groupCollapsed:props, groupEnd:props});\n }\n disabledDepth++;\n }\n function reenableLogs() {\n disabledDepth--;\n if (0 \x3d\x3d\x3d disabledDepth) {\n var props \x3d {configurable:!0, enumerable:!0, writable:!0};\n Object.defineProperties(console, {log:assign({}, props, {value:prevLog}), info:assign({}, props, {value:prevInfo}), warn:assign({}, props, {value:prevWarn}), error:assign({}, props, {value:prevError}), group:assign({}, props, {value:prevGroup}), groupCollapsed:assign({}, props, {value:prevGroupCollapsed}), groupEnd:assign({}, props, {value:prevGroupEnd})});\n }\n 0 \x3e disabledDepth \x26\x26 error(\x22disabledDepth fell below zero. This is a bug in React. Please file an issue.\x22);\n }\n function describeBuiltInComponentFrame(name, source, ownerFn) {\n if (void 0 \x3d\x3d\x3d prefix) {\n try {\n throw Error();\n } catch (x) {\n prefix \x3d (source \x3d x.stack.trim().match(/\\n( *(at )?)/)) \x26\x26 source[1] || \x22\x22;\n }\n }\n return \x22\\n\x22 + prefix + name;\n }\n function describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) {\n return \x22\x22;\n }\n var frame \x3d componentFrameCache.get(fn);\n if (void 0 !\x3d\x3d frame) {\n return frame;\n }\n reentry \x3d !0;\n frame \x3d Error.prepareStackTrace;\n Error.prepareStackTrace \x3d void 0;\n var previousDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d null;\n disableLogs();\n try {\n if (construct) {\n if (construct \x3d function() {\n throw Error();\n }, Object.defineProperty(construct.prototype, \x22props\x22, {set:function() {\n throw Error();\n }}), \x22object\x22 \x3d\x3d\x3d typeof Reflect \x26\x26 Reflect.construct) {\n try {\n Reflect.construct(construct, []);\n } catch (x) {\n var control \x3d x;\n }\n Reflect.construct(fn, [], construct);\n } else {\n try {\n construct.call();\n } catch (x) {\n control \x3d x;\n }\n fn.call(construct.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control \x3d x;\n }\n fn();\n }\n } catch (sample) {\n if (sample \x26\x26 control \x26\x26 \x22string\x22 \x3d\x3d\x3d typeof sample.stack) {\n for (var sampleLines \x3d sample.stack.split(\x22\\n\x22), controlLines \x3d control.stack.split(\x22\\n\x22), s \x3d sampleLines.length - 1, c \x3d controlLines.length - 1; 1 \x3c\x3d s \x26\x26 0 \x3c\x3d c \x26\x26 sampleLines[s] !\x3d\x3d controlLines[c];) {\n c--;\n }\n for (; 1 \x3c\x3d s \x26\x26 0 \x3c\x3d c; s--, c--) {\n if (sampleLines[s] !\x3d\x3d controlLines[c]) {\n if (1 !\x3d\x3d s || 1 !\x3d\x3d c) {\n do {\n if (s--, c--, 0 \x3e c || sampleLines[s] !\x3d\x3d controlLines[c]) {\n var _frame \x3d \x22\\n\x22 + sampleLines[s].replace(\x22 at new \x22, \x22 at \x22);\n fn.displayName \x26\x26 _frame.includes(\x22\\x3canonymous\\x3e\x22) \x26\x26 (_frame \x3d _frame.replace(\x22\\x3canonymous\\x3e\x22, fn.displayName));\n \x22function\x22 \x3d\x3d\x3d typeof fn \x26\x26 componentFrameCache.set(fn, _frame);\n return _frame;\n }\n } while (1 \x3c\x3d s \x26\x26 0 \x3c\x3d c);\n }\n break;\n }\n }\n }\n } finally {\n reentry \x3d !1, ReactCurrentDispatcher$1.current \x3d previousDispatcher, reenableLogs(), Error.prepareStackTrace \x3d frame;\n }\n control \x3d (control \x3d fn ? fn.displayName || fn.name : \x22\x22) ? describeBuiltInComponentFrame(control) : \x22\x22;\n \x22function\x22 \x3d\x3d\x3d typeof fn \x26\x26 componentFrameCache.set(fn, control);\n return control;\n }\n function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n if (null \x3d\x3d type) {\n return \x22\x22;\n }\n if (\x22function\x22 \x3d\x3d\x3d typeof type) {\n return source \x3d type.prototype, describeNativeComponentFrame(type, !(!source || !source.isReactComponent));\n }\n if (\x22string\x22 \x3d\x3d\x3d typeof type) {\n return describeBuiltInComponentFrame(type);\n }\n switch(type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame(\x22Suspense\x22);\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame(\x22SuspenseList\x22);\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof type) {\n switch(type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return type \x3d describeNativeComponentFrame(type.render, !1), type;\n case REACT_MEMO_TYPE:\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n case REACT_LAZY_TYPE:\n var payload \x3d type._payload;\n type \x3d type._init;\n try {\n return describeUnknownElementTypeFrameInDEV(type(payload), source, ownerFn);\n } catch (x) {\n }\n }\n }\n return \x22\x22;\n }\n function setCurrentlyValidatingElement(element) {\n if (element) {\n var owner \x3d element._owner;\n element \x3d describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(element);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n function setCurrentlyValidatingElement$1(element) {\n if (element) {\n var owner \x3d element._owner;\n currentExtraStackFrame \x3d describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n } else {\n currentExtraStackFrame \x3d null;\n }\n }\n function getDeclarationErrorAddendum() {\n if (ReactCurrentOwner.current) {\n var name \x3d getComponentNameFromType(ReactCurrentOwner.current.type);\n if (name) {\n return \x22\\n\\nCheck the render method of `\x22 + name + \x22`.\x22;\n }\n }\n return \x22\x22;\n }\n function validateExplicitKey(element, parentType) {\n if (element._store \x26\x26 !element._store.validated \x26\x26 null \x3d\x3d element.key) {\n element._store.validated \x3d !0;\n var currentComponentErrorInfo \x3d getDeclarationErrorAddendum();\n currentComponentErrorInfo || (parentType \x3d \x22string\x22 \x3d\x3d\x3d typeof parentType ? parentType : parentType.displayName || parentType.name) \x26\x26 (currentComponentErrorInfo \x3d \x22\\n\\nCheck the top-level render call using \\x3c\x22 + parentType + \x22\\x3e.\x22);\n ownerHasKeyUseWarning[currentComponentErrorInfo] || (ownerHasKeyUseWarning[currentComponentErrorInfo] \x3d !0, parentType \x3d \x22\x22, element \x26\x26 element._owner \x26\x26 element._owner !\x3d\x3d ReactCurrentOwner.current \x26\x26 (parentType \x3d \x22 It was passed a child from \x22 + getComponentNameFromType(element._owner.type) + \x22.\x22), setCurrentlyValidatingElement$1(element), error(\x27Each child in a list should have a unique \x22key\x22 prop.%s%s See https://reactjs.org/link/warning-keys for more information.\x27, currentComponentErrorInfo, \n parentType), setCurrentlyValidatingElement$1(null));\n }\n }\n function validateChildKeys(node, parentType) {\n if (\x22object\x22 \x3d\x3d\x3d typeof node) {\n if (isArrayImpl(node)) {\n for (var i \x3d 0; i \x3c node.length; i++) {\n var child \x3d node[i];\n isValidElement(child) \x26\x26 validateExplicitKey(child, parentType);\n }\n } else if (isValidElement(node)) {\n node._store \x26\x26 (node._store.validated \x3d !0);\n } else if (node \x26\x26 (i \x3d getIteratorFn(node), \x22function\x22 \x3d\x3d\x3d typeof i \x26\x26 i !\x3d\x3d node.entries)) {\n for (node \x3d i.call(node); !(i \x3d node.next()).done;) {\n isValidElement(i.value) \x26\x26 validateExplicitKey(i.value, parentType);\n }\n }\n }\n }\n function validatePropTypes(element) {\n var type \x3d element.type;\n if (null !\x3d\x3d type \x26\x26 void 0 !\x3d\x3d type \x26\x26 \x22string\x22 !\x3d\x3d typeof type) {\n var propTypes;\n if (\x22function\x22 \x3d\x3d\x3d typeof type || \x22object\x22 \x3d\x3d\x3d typeof type \x26\x26 (type.$$typeof \x3d\x3d\x3d REACT_FORWARD_REF_TYPE || type.$$typeof \x3d\x3d\x3d REACT_MEMO_TYPE)) {\n if (propTypes \x3d type.propTypes) {\n var name \x3d getComponentNameFromType(type), values \x3d element.props, has \x3d Function.call.bind(hasOwnProperty), typeSpecName;\n for (typeSpecName in propTypes) {\n if (has(propTypes, typeSpecName)) {\n var error$1 \x3d void 0;\n try {\n if (\x22function\x22 !\x3d\x3d typeof propTypes[typeSpecName]) {\n var err \x3d Error((name || \x22React class\x22) + \x22: prop type `\x22 + typeSpecName + \x22` is invalid; it must be a function, usually from the `prop-types` package, but received `\x22 + typeof propTypes[typeSpecName] + \x22`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.\x22);\n err.name \x3d \x22Invariant Violation\x22;\n throw err;\n }\n error$1 \x3d propTypes[typeSpecName](values, typeSpecName, name, \x22prop\x22, null, \x22SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\x22);\n } catch (ex) {\n error$1 \x3d ex;\n }\n !error$1 || error$1 instanceof Error || (setCurrentlyValidatingElement(element), error(\x22%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).\x22, name || \x22React class\x22, \x22prop\x22, typeSpecName, typeof error$1), setCurrentlyValidatingElement(null));\n error$1 instanceof Error \x26\x26 !(error$1.message in loggedTypeFailures) \x26\x26 (loggedTypeFailures[error$1.message] \x3d !0, setCurrentlyValidatingElement(element), error(\x22Failed %s type: %s\x22, \x22prop\x22, error$1.message), setCurrentlyValidatingElement(null));\n }\n }\n } else {\n void 0 \x3d\x3d\x3d type.PropTypes || propTypesMisspellWarningShown || (propTypesMisspellWarningShown \x3d !0, element \x3d getComponentNameFromType(type), error(\x22Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?\x22, element || \x22Unknown\x22));\n }\n \x22function\x22 !\x3d\x3d typeof type.getDefaultProps || type.getDefaultProps.isReactClassApproved || error(\x22getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.\x22);\n }\n }\n }\n function createElementWithValidation(type, props, children) {\n var validType \x3d isValidElementType(type);\n if (!validType) {\n var info \x3d \x22\x22;\n if (void 0 \x3d\x3d\x3d type || \x22object\x22 \x3d\x3d\x3d typeof type \x26\x26 null !\x3d\x3d type \x26\x26 0 \x3d\x3d\x3d Object.keys(type).length) {\n info +\x3d \x22 You likely forgot to export your component from the file it\x27s defined in, or you might have mixed up default and named imports.\x22;\n }\n if (null !\x3d\x3d props \x26\x26 void 0 !\x3d\x3d props) {\n var sourceInfo \x3d props.__source;\n sourceInfo \x3d void 0 !\x3d\x3d sourceInfo ? \x22\\n\\nCheck your code at \x22 + sourceInfo.fileName.replace(/^.*[\\\\\\/]/, \x22\x22) + \x22:\x22 + sourceInfo.lineNumber + \x22.\x22 : \x22\x22;\n } else {\n sourceInfo \x3d \x22\x22;\n }\n info \x3d sourceInfo ? info + sourceInfo : info + getDeclarationErrorAddendum();\n null \x3d\x3d\x3d type ? sourceInfo \x3d \x22null\x22 : isArrayImpl(type) ? sourceInfo \x3d \x22array\x22 : void 0 !\x3d\x3d type \x26\x26 type.$$typeof \x3d\x3d\x3d REACT_ELEMENT_TYPE ? (sourceInfo \x3d \x22\\x3c\x22 + (getComponentNameFromType(type.type) || \x22Unknown\x22) + \x22 /\\x3e\x22, info \x3d \x22 Did you accidentally export a JSX literal instead of a component?\x22) : sourceInfo \x3d typeof type;\n error(\x22React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s\x22, sourceInfo, info);\n }\n info \x3d createElement.apply(this, arguments);\n if (null \x3d\x3d info) {\n return info;\n }\n if (validType) {\n for (validType \x3d 2; validType \x3c arguments.length; validType++) {\n validateChildKeys(arguments[validType], type);\n }\n }\n if (type \x3d\x3d\x3d REACT_FRAGMENT_TYPE) {\n validType \x3d Object.keys(info.props);\n for (sourceInfo \x3d 0; sourceInfo \x3c validType.length; sourceInfo++) {\n var key \x3d validType[sourceInfo];\n if (\x22children\x22 !\x3d\x3d key \x26\x26 \x22key\x22 !\x3d\x3d key) {\n setCurrentlyValidatingElement$1(info);\n error(\x22Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.\x22, key);\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n null !\x3d\x3d info.ref \x26\x26 (setCurrentlyValidatingElement$1(info), error(\x22Invalid attribute `ref` supplied to `React.Fragment`.\x22), setCurrentlyValidatingElement$1(null));\n } else {\n validatePropTypes(info);\n }\n return info;\n }\n function enqueueTask(task) {\n if (null \x3d\x3d\x3d enqueueTaskImpl) {\n try {\n var requireString \x3d (\x22require\x22 + Math.random()).slice(0, 7);\n enqueueTaskImpl \x3d (module \x26\x26 module[requireString]).call(module, \x22timers\x22).setImmediate;\n } catch (_err) {\n enqueueTaskImpl \x3d function(callback) {\n !1 \x3d\x3d\x3d didWarnAboutMessageChannel \x26\x26 (didWarnAboutMessageChannel \x3d !0, \x22undefined\x22 \x3d\x3d\x3d typeof MessageChannel \x26\x26 error(\x22This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () \\x3d\\x3e ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\x22));\n var channel \x3d new MessageChannel();\n channel.port1.onmessage \x3d callback;\n channel.port2.postMessage(void 0);\n };\n }\n }\n return enqueueTaskImpl(task);\n }\n function popActScope(prevActScopeDepth) {\n prevActScopeDepth !\x3d\x3d actScopeDepth - 1 \x26\x26 error(\x22You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \x22);\n actScopeDepth \x3d prevActScopeDepth;\n }\n function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n var queue \x3d ReactCurrentActQueue.current;\n if (null !\x3d\x3d queue) {\n try {\n flushActQueue(queue), enqueueTask(function() {\n 0 \x3d\x3d\x3d queue.length ? (ReactCurrentActQueue.current \x3d null, resolve(returnValue)) : recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n });\n } catch (error) {\n reject(error);\n }\n } else {\n resolve(returnValue);\n }\n }\n function flushActQueue(queue) {\n if (!isFlushing) {\n isFlushing \x3d !0;\n var i \x3d 0;\n try {\n for (; i \x3c queue.length; i++) {\n var callback \x3d queue[i];\n do {\n callback \x3d callback(!0);\n } while (null !\x3d\x3d callback);\n }\n queue.length \x3d 0;\n } catch (error) {\n throw queue.slice(i + 1), error;\n } finally {\n isFlushing \x3d !1;\n }\n }\n }\n \x22undefined\x22 !\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart \x26\x26 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var REACT_ELEMENT_TYPE \x3d Symbol.for(\x22react.element\x22), REACT_PORTAL_TYPE \x3d Symbol.for(\x22react.portal\x22), REACT_FRAGMENT_TYPE \x3d Symbol.for(\x22react.fragment\x22), REACT_STRICT_MODE_TYPE \x3d Symbol.for(\x22react.strict_mode\x22), REACT_PROFILER_TYPE \x3d Symbol.for(\x22react.profiler\x22), REACT_PROVIDER_TYPE \x3d Symbol.for(\x22react.provider\x22), REACT_CONTEXT_TYPE \x3d Symbol.for(\x22react.context\x22), REACT_FORWARD_REF_TYPE \x3d Symbol.for(\x22react.forward_ref\x22), REACT_SUSPENSE_TYPE \x3d Symbol.for(\x22react.suspense\x22), REACT_SUSPENSE_LIST_TYPE \x3d \n Symbol.for(\x22react.suspense_list\x22), REACT_MEMO_TYPE \x3d Symbol.for(\x22react.memo\x22), REACT_LAZY_TYPE \x3d Symbol.for(\x22react.lazy\x22), REACT_OFFSCREEN_TYPE \x3d Symbol.for(\x22react.offscreen\x22), MAYBE_ITERATOR_SYMBOL \x3d Symbol.iterator, ReactCurrentDispatcher \x3d {current:null}, ReactCurrentBatchConfig \x3d {transition:null}, ReactCurrentActQueue \x3d {current:null, isBatchingLegacy:!1, didScheduleLegacyUpdate:!1}, ReactCurrentOwner \x3d {current:null}, ReactDebugCurrentFrame \x3d {}, currentExtraStackFrame \x3d null;\n ReactDebugCurrentFrame.setExtraStackFrame \x3d function(stack) {\n currentExtraStackFrame \x3d stack;\n };\n ReactDebugCurrentFrame.getCurrentStack \x3d null;\n ReactDebugCurrentFrame.getStackAddendum \x3d function() {\n var stack \x3d \x22\x22;\n currentExtraStackFrame \x26\x26 (stack +\x3d currentExtraStackFrame);\n var impl \x3d ReactDebugCurrentFrame.getCurrentStack;\n impl \x26\x26 (stack +\x3d impl() || \x22\x22);\n return stack;\n };\n var ReactSharedInternals \x3d {ReactCurrentDispatcher, ReactCurrentBatchConfig, ReactCurrentOwner};\n ReactSharedInternals.ReactDebugCurrentFrame \x3d ReactDebugCurrentFrame;\n ReactSharedInternals.ReactCurrentActQueue \x3d ReactCurrentActQueue;\n var didWarnStateUpdateForUnmountedComponent \x3d {}, ReactNoopUpdateQueue \x3d {isMounted:function(publicInstance) {\n return !1;\n }, enqueueForceUpdate:function(publicInstance, callback, callerName) {\n warnNoop(publicInstance, \x22forceUpdate\x22);\n }, enqueueReplaceState:function(publicInstance, completeState, callback, callerName) {\n warnNoop(publicInstance, \x22replaceState\x22);\n }, enqueueSetState:function(publicInstance, partialState, callback, callerName) {\n warnNoop(publicInstance, \x22setState\x22);\n }}, assign \x3d Object.assign, emptyObject \x3d {};\n Object.freeze(emptyObject);\n Component.prototype.isReactComponent \x3d {};\n Component.prototype.setState \x3d function(partialState, callback) {\n if (\x22object\x22 !\x3d\x3d typeof partialState \x26\x26 \x22function\x22 !\x3d\x3d typeof partialState \x26\x26 null !\x3d partialState) {\n throw Error(\x22setState(...): takes an object of state variables to update or a function which returns an object of state variables.\x22);\n }\n this.updater.enqueueSetState(this, partialState, callback, \x22setState\x22);\n };\n Component.prototype.forceUpdate \x3d function(callback) {\n this.updater.enqueueForceUpdate(this, callback, \x22forceUpdate\x22);\n };\n var deprecatedAPIs \x3d {isMounted:[\x22isMounted\x22, \x22Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\x22], replaceState:[\x22replaceState\x22, \x22Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\x22]}, defineDeprecationWarning \x3d function(methodName, info) {\n Object.defineProperty(Component.prototype, methodName, {get:function() {\n warn(\x22%s(...) is deprecated in plain JavaScript React classes. %s\x22, info[0], info[1]);\n }});\n }, fnName;\n for (fnName in deprecatedAPIs) {\n deprecatedAPIs.hasOwnProperty(fnName) \x26\x26 defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n }\n ComponentDummy.prototype \x3d Component.prototype;\n var pureComponentPrototype \x3d PureComponent.prototype \x3d new ComponentDummy();\n pureComponentPrototype.constructor \x3d PureComponent;\n assign(pureComponentPrototype, Component.prototype);\n pureComponentPrototype.isPureReactComponent \x3d !0;\n var isArrayImpl \x3d Array.isArray, hasOwnProperty \x3d Object.prototype.hasOwnProperty, RESERVED_PROPS \x3d {key:!0, ref:!0, __self:!0, __source:!0}, specialPropKeyWarningShown, specialPropRefWarningShown;\n var didWarnAboutStringRefs \x3d {};\n var ReactElement \x3d function(type, key, ref, self, source, owner, props) {\n type \x3d {$$typeof:REACT_ELEMENT_TYPE, type, key, ref, props, _owner:owner, _store:{}};\n Object.defineProperty(type._store, \x22validated\x22, {configurable:!1, enumerable:!1, writable:!0, value:!1});\n Object.defineProperty(type, \x22_self\x22, {configurable:!1, enumerable:!1, writable:!1, value:self});\n Object.defineProperty(type, \x22_source\x22, {configurable:!1, enumerable:!1, writable:!1, value:source});\n Object.freeze \x26\x26 (Object.freeze(type.props), Object.freeze(type));\n return type;\n }, didWarnAboutMaps \x3d !1, userProvidedKeyEscapeRegex \x3d /\\/+/g;\n var REACT_MODULE_REFERENCE \x3d Symbol.for(\x22react.module.reference\x22);\n var disabledDepth \x3d 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd;\n disabledLog.__reactDisabledLog \x3d !0;\n var ReactCurrentDispatcher$1 \x3d ReactSharedInternals.ReactCurrentDispatcher, prefix, reentry \x3d !1;\n var componentFrameCache \x3d new (\x22function\x22 \x3d\x3d\x3d typeof WeakMap ? WeakMap : Map)();\n var loggedTypeFailures \x3d {}, ReactDebugCurrentFrame$1 \x3d ReactSharedInternals.ReactDebugCurrentFrame;\n var propTypesMisspellWarningShown \x3d !1;\n var ownerHasKeyUseWarning \x3d {}, didWarnAboutDeprecatedCreateFactory \x3d !1, didWarnAboutMessageChannel \x3d !1, enqueueTaskImpl \x3d null, actScopeDepth \x3d 0, didWarnNoAwaitAct \x3d !1, isFlushing \x3d !1;\n exports.Children \x3d {map:mapChildren, forEach:function(children, forEachFunc, forEachContext) {\n mapChildren(children, function() {\n forEachFunc.apply(this, arguments);\n }, forEachContext);\n }, count:function(children) {\n var n \x3d 0;\n mapChildren(children, function() {\n n++;\n });\n return n;\n }, toArray:function(children) {\n return mapChildren(children, function(child) {\n return child;\n }) || [];\n }, only:function(children) {\n if (!isValidElement(children)) {\n throw Error(\x22React.Children.only expected to receive a single React element child.\x22);\n }\n return children;\n }};\n exports.Component \x3d Component;\n exports.Fragment \x3d REACT_FRAGMENT_TYPE;\n exports.Profiler \x3d REACT_PROFILER_TYPE;\n exports.PureComponent \x3d PureComponent;\n exports.StrictMode \x3d REACT_STRICT_MODE_TYPE;\n exports.Suspense \x3d REACT_SUSPENSE_TYPE;\n exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED \x3d ReactSharedInternals;\n exports.cloneElement \x3d function(element, props, children) {\n for (var newElement \x3d cloneElement.apply(this, arguments), i \x3d 2; i \x3c arguments.length; i++) {\n validateChildKeys(arguments[i], newElement.type);\n }\n validatePropTypes(newElement);\n return newElement;\n };\n exports.createContext \x3d function(defaultValue) {\n var context \x3d {$$typeof:REACT_CONTEXT_TYPE, _currentValue:defaultValue, _currentValue2:defaultValue, _threadCount:0, Provider:null, Consumer:null, _defaultValue:null, _globalName:null};\n context.Provider \x3d {$$typeof:REACT_PROVIDER_TYPE, _context:context};\n var hasWarnedAboutUsingNestedContextConsumers \x3d !1, hasWarnedAboutUsingConsumerProvider \x3d !1, hasWarnedAboutDisplayNameOnConsumer \x3d !1;\n defaultValue \x3d {$$typeof:REACT_CONTEXT_TYPE, _context:context};\n Object.defineProperties(defaultValue, {Provider:{get:function() {\n hasWarnedAboutUsingConsumerProvider || (hasWarnedAboutUsingConsumerProvider \x3d !0, error(\x22Rendering \\x3cContext.Consumer.Provider\\x3e is not supported and will be removed in a future major release. Did you mean to render \\x3cContext.Provider\\x3e instead?\x22));\n return context.Provider;\n }, set:function(_Provider) {\n context.Provider \x3d _Provider;\n }}, _currentValue:{get:function() {\n return context._currentValue;\n }, set:function(_currentValue) {\n context._currentValue \x3d _currentValue;\n }}, _currentValue2:{get:function() {\n return context._currentValue2;\n }, set:function(_currentValue2) {\n context._currentValue2 \x3d _currentValue2;\n }}, _threadCount:{get:function() {\n return context._threadCount;\n }, set:function(_threadCount) {\n context._threadCount \x3d _threadCount;\n }}, Consumer:{get:function() {\n hasWarnedAboutUsingNestedContextConsumers || (hasWarnedAboutUsingNestedContextConsumers \x3d !0, error(\x22Rendering \\x3cContext.Consumer.Consumer\\x3e is not supported and will be removed in a future major release. Did you mean to render \\x3cContext.Consumer\\x3e instead?\x22));\n return context.Consumer;\n }}, displayName:{get:function() {\n return context.displayName;\n }, set:function(displayName) {\n hasWarnedAboutDisplayNameOnConsumer || (warn(\x22Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName \\x3d \x27%s\x27.\x22, displayName), hasWarnedAboutDisplayNameOnConsumer \x3d !0);\n }}});\n context.Consumer \x3d defaultValue;\n context._currentRenderer \x3d null;\n context._currentRenderer2 \x3d null;\n return context;\n };\n exports.createElement \x3d createElementWithValidation;\n exports.createFactory \x3d function(type) {\n var validatedFactory \x3d createElementWithValidation.bind(null, type);\n validatedFactory.type \x3d type;\n didWarnAboutDeprecatedCreateFactory || (didWarnAboutDeprecatedCreateFactory \x3d !0, warn(\x22React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.\x22));\n Object.defineProperty(validatedFactory, \x22type\x22, {enumerable:!1, get:function() {\n warn(\x22Factory.type is deprecated. Access the class directly before passing it to createFactory.\x22);\n Object.defineProperty(this, \x22type\x22, {value:type});\n return type;\n }});\n return validatedFactory;\n };\n exports.createRef \x3d function() {\n var refObject \x3d {current:null};\n Object.seal(refObject);\n return refObject;\n };\n exports.forwardRef \x3d function(render) {\n null !\x3d render \x26\x26 render.$$typeof \x3d\x3d\x3d REACT_MEMO_TYPE ? error(\x22forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\x22) : \x22function\x22 !\x3d\x3d typeof render ? error(\x22forwardRef requires a render function but was given %s.\x22, null \x3d\x3d\x3d render ? \x22null\x22 : typeof render) : 0 !\x3d\x3d render.length \x26\x26 2 !\x3d\x3d render.length \x26\x26 error(\x22forwardRef render functions accept exactly two parameters: props and ref. %s\x22, 1 \x3d\x3d\x3d render.length ? \x22Did you forget to use the ref parameter?\x22 : \n \x22Any additional parameter will be undefined.\x22);\n null \x3d\x3d render || null \x3d\x3d render.defaultProps \x26\x26 null \x3d\x3d render.propTypes || error(\x22forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?\x22);\n var elementType \x3d {$$typeof:REACT_FORWARD_REF_TYPE, render}, ownName;\n Object.defineProperty(elementType, \x22displayName\x22, {enumerable:!1, configurable:!0, get:function() {\n return ownName;\n }, set:function(name) {\n ownName \x3d name;\n render.name || render.displayName || (render.displayName \x3d name);\n }});\n return elementType;\n };\n exports.isValidElement \x3d isValidElement;\n exports.lazy \x3d function(ctor) {\n var lazyType \x3d {$$typeof:REACT_LAZY_TYPE, _payload:{_status:-1, _result:ctor}, _init:lazyInitializer}, defaultProps, propTypes;\n Object.defineProperties(lazyType, {defaultProps:{configurable:!0, get:function() {\n return defaultProps;\n }, set:function(newDefaultProps) {\n error(\x22React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.\x22);\n defaultProps \x3d newDefaultProps;\n Object.defineProperty(lazyType, \x22defaultProps\x22, {enumerable:!0});\n }}, propTypes:{configurable:!0, get:function() {\n return propTypes;\n }, set:function(newPropTypes) {\n error(\x22React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.\x22);\n propTypes \x3d newPropTypes;\n Object.defineProperty(lazyType, \x22propTypes\x22, {enumerable:!0});\n }}});\n return lazyType;\n };\n exports.memo \x3d function(type, compare) {\n isValidElementType(type) || error(\x22memo: The first argument must be a component. Instead received: %s\x22, null \x3d\x3d\x3d type ? \x22null\x22 : typeof type);\n compare \x3d {$$typeof:REACT_MEMO_TYPE, type, compare:void 0 \x3d\x3d\x3d compare ? null : compare};\n var ownName;\n Object.defineProperty(compare, \x22displayName\x22, {enumerable:!1, configurable:!0, get:function() {\n return ownName;\n }, set:function(name) {\n ownName \x3d name;\n type.name || type.displayName || (type.displayName \x3d name);\n }});\n return compare;\n };\n exports.startTransition \x3d function(scope, options) {\n options \x3d ReactCurrentBatchConfig.transition;\n ReactCurrentBatchConfig.transition \x3d {};\n var currentTransition \x3d ReactCurrentBatchConfig.transition;\n ReactCurrentBatchConfig.transition._updatedFibers \x3d new Set();\n try {\n scope();\n } finally {\n ReactCurrentBatchConfig.transition \x3d options, null \x3d\x3d\x3d options \x26\x26 currentTransition._updatedFibers \x26\x26 (10 \x3c currentTransition._updatedFibers.size \x26\x26 warn(\x22Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\x22), currentTransition._updatedFibers.clear());\n }\n };\n exports.unstable_act \x3d function(callback) {\n var prevActScopeDepth \x3d actScopeDepth;\n actScopeDepth++;\n null \x3d\x3d\x3d ReactCurrentActQueue.current \x26\x26 (ReactCurrentActQueue.current \x3d []);\n var prevIsBatchingLegacy \x3d ReactCurrentActQueue.isBatchingLegacy;\n try {\n ReactCurrentActQueue.isBatchingLegacy \x3d !0;\n var result \x3d callback();\n if (!prevIsBatchingLegacy \x26\x26 ReactCurrentActQueue.didScheduleLegacyUpdate) {\n var queue \x3d ReactCurrentActQueue.current;\n null !\x3d\x3d queue \x26\x26 (ReactCurrentActQueue.didScheduleLegacyUpdate \x3d !1, flushActQueue(queue));\n }\n } catch (error) {\n throw popActScope(prevActScopeDepth), error;\n } finally {\n ReactCurrentActQueue.isBatchingLegacy \x3d prevIsBatchingLegacy;\n }\n if (null !\x3d\x3d result \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof result \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof result.then) {\n var thenableResult \x3d result, wasAwaited \x3d !1;\n didWarnNoAwaitAct || \x22undefined\x22 \x3d\x3d\x3d typeof Promise || Promise.resolve().then(function() {\n }).then(function() {\n wasAwaited || (didWarnNoAwaitAct \x3d !0, error(\x22You called act(async () \\x3d\\x3e ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () \\x3d\\x3e ...);\x22));\n });\n return {then:function(resolve, reject) {\n wasAwaited \x3d !0;\n thenableResult.then(function(returnValue) {\n popActScope(prevActScopeDepth);\n 0 \x3d\x3d\x3d actScopeDepth ? recursivelyFlushAsyncActWork(returnValue, resolve, reject) : resolve(returnValue);\n }, function(error) {\n popActScope(prevActScopeDepth);\n reject(error);\n });\n }};\n }\n var returnValue \x3d result;\n popActScope(prevActScopeDepth);\n return 0 \x3d\x3d\x3d actScopeDepth ? (callback \x3d ReactCurrentActQueue.current, null !\x3d\x3d callback \x26\x26 (flushActQueue(callback), ReactCurrentActQueue.current \x3d null), {then:function(resolve, reject) {\n null \x3d\x3d\x3d ReactCurrentActQueue.current ? (ReactCurrentActQueue.current \x3d [], recursivelyFlushAsyncActWork(returnValue, resolve, reject)) : resolve(returnValue);\n }}) : {then:function(resolve, reject) {\n resolve(returnValue);\n }};\n };\n exports.useCallback \x3d function(callback, deps) {\n return resolveDispatcher().useCallback(callback, deps);\n };\n exports.useContext \x3d function(Context) {\n var dispatcher \x3d resolveDispatcher();\n if (void 0 !\x3d\x3d Context._context) {\n var realContext \x3d Context._context;\n realContext.Consumer \x3d\x3d\x3d Context ? error(\x22Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?\x22) : realContext.Provider \x3d\x3d\x3d Context \x26\x26 error(\x22Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?\x22);\n }\n return dispatcher.useContext(Context);\n };\n exports.useDebugValue \x3d function(value, formatterFn) {\n return resolveDispatcher().useDebugValue(value, formatterFn);\n };\n exports.useDeferredValue \x3d function(value) {\n return resolveDispatcher().useDeferredValue(value);\n };\n exports.useEffect \x3d function(create, deps) {\n return resolveDispatcher().useEffect(create, deps);\n };\n exports.useId \x3d function() {\n return resolveDispatcher().useId();\n };\n exports.useImperativeHandle \x3d function(ref, create, deps) {\n return resolveDispatcher().useImperativeHandle(ref, create, deps);\n };\n exports.useInsertionEffect \x3d function(create, deps) {\n return resolveDispatcher().useInsertionEffect(create, deps);\n };\n exports.useLayoutEffect \x3d function(create, deps) {\n return resolveDispatcher().useLayoutEffect(create, deps);\n };\n exports.useMemo \x3d function(create, deps) {\n return resolveDispatcher().useMemo(create, deps);\n };\n exports.useReducer \x3d function(reducer, initialArg, init) {\n return resolveDispatcher().useReducer(reducer, initialArg, init);\n };\n exports.useRef \x3d function(initialValue) {\n return resolveDispatcher().useRef(initialValue);\n };\n exports.useState \x3d function(initialState) {\n return resolveDispatcher().useState(initialState);\n };\n exports.useSyncExternalStore \x3d function(subscribe, getSnapshot, getServerSnapshot) {\n return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n };\n exports.useTransition \x3d function() {\n return resolveDispatcher().useTransition();\n };\n exports.version \x3d \x2218.2.0\x22;\n \x22undefined\x22 !\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop \x26\x26 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n};\n"); SHADOW_ENV.evalLoad("module$node_modules$react$index.js", true, "shadow$provide.module$node_modules$react$index \x3d function(global, require, module, exports) {\n module.exports \x3d require(\x22module$node_modules$react$cjs$react_development\x22);\n};\n"); -SHADOW_ENV.evalLoad("uix.hooks.alpha.js", true, "goog.provide(\x27uix.hooks.alpha\x27);\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.hooks.alpha.choose_value \x3d (function uix$hooks$alpha$choose_value(nv,cv){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(nv,cv)){\nreturn cv;\n} else {\nreturn nv;\n}\n});\n/**\n * Replicates React\x27s behaviour when updating state with identical JS value,\n * but using Clojure\x27s value equality here\n */\nuix.hooks.alpha.use_clojure_aware_updater \x3d (function uix$hooks$alpha$use_clojure_aware_updater(updater){\nreturn module$node_modules$react$index.useCallback((function() { \nvar G__37416__delegate \x3d function (v,args){\nvar G__37297 \x3d (function (cv){\nif(cljs.core.fn_QMARK_(v)){\nreturn uix.hooks.alpha.choose_value(cljs.core.apply.cljs$core$IFn$_invoke$arity$3(v,cv,args),cv);\n} else {\nreturn uix.hooks.alpha.choose_value(v,cv);\n}\n});\nreturn (updater.cljs$core$IFn$_invoke$arity$1 ? updater.cljs$core$IFn$_invoke$arity$1(G__37297) : updater.call(null, G__37297));\n};\nvar G__37416 \x3d function (v,var_args){\nvar args \x3d null;\nif (arguments.length \x3e 1) {\nvar G__37417__i \x3d 0, G__37417__a \x3d new Array(arguments.length - 1);\nwhile (G__37417__i \x3c G__37417__a.length) {G__37417__a[G__37417__i] \x3d arguments[G__37417__i + 1]; ++G__37417__i;}\n args \x3d new cljs.core.IndexedSeq(G__37417__a,0,null);\n} \nreturn G__37416__delegate.call(this,v,args);};\nG__37416.cljs$lang$maxFixedArity \x3d 1;\nG__37416.cljs$lang$applyTo \x3d (function (arglist__37418){\nvar v \x3d cljs.core.first(arglist__37418);\nvar args \x3d cljs.core.rest(arglist__37418);\nreturn G__37416__delegate(v,args);\n});\nG__37416.cljs$core$IFn$_invoke$arity$variadic \x3d G__37416__delegate;\nreturn G__37416;\n})()\n,[updater]);\n});\nuix.hooks.alpha.use_state \x3d (function uix$hooks$alpha$use_state(value){\nvar vec__37304 \x3d module$node_modules$react$index.useState(value);\nvar state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__37304,(0),null);\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__37304,(1),null);\nvar set_state__$1 \x3d uix.hooks.alpha.use_clojure_aware_updater(set_state);\nreturn [state,set_state__$1];\n});\n/**\n * Same as `use-clojure-primitive-aware-updater` but for `use-reducer`\n */\nuix.hooks.alpha.clojure_aware_reducer_updater \x3d (function uix$hooks$alpha$clojure_aware_reducer_updater(f){\nreturn (function (state,action){\nreturn uix.hooks.alpha.choose_value((f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(state,action) : f.call(null, state,action)),state);\n});\n});\nuix.hooks.alpha.use_reducer \x3d (function uix$hooks$alpha$use_reducer(var_args){\nvar G__37311 \x3d arguments.length;\nswitch (G__37311) {\ncase 2:\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,value){\nvar updater \x3d uix.hooks.alpha.clojure_aware_reducer_updater(f);\nreturn module$node_modules$react$index.useReducer(updater,value);\n}));\n\n(uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3 \x3d (function (f,value,init_state){\nvar updater \x3d uix.hooks.alpha.clojure_aware_reducer_updater(f);\nreturn module$node_modules$react$index.useReducer(updater,value,init_state);\n}));\n\n(uix.hooks.alpha.use_reducer.cljs$lang$maxFixedArity \x3d 3);\n\nuix.hooks.alpha.use_ref \x3d (function uix$hooks$alpha$use_ref(value){\nreturn module$node_modules$react$index.useRef(value);\n});\nuix.hooks.alpha.with_return_value_check \x3d (function uix$hooks$alpha$with_return_value_check(f){\nreturn (function (){\nvar ret \x3d (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, ));\nif(cljs.core.fn_QMARK_(ret)){\nreturn ret;\n} else {\nreturn undefined;\n}\n});\n});\nuix.hooks.alpha.use_clj_deps \x3d (function uix$hooks$alpha$use_clj_deps(deps){\nvar ref \x3d module$node_modules$react$index.useRef(deps);\nif(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(ref.current,deps)){\n(ref.current \x3d deps);\n} else {\n}\n\nreturn ref.current;\n});\nuix.hooks.alpha.use_effect \x3d (function uix$hooks$alpha$use_effect(var_args){\nvar G__37358 \x3d arguments.length;\nswitch (G__37358) {\ncase 1:\nreturn uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$1 \x3d (function (setup_fn){\nreturn module$node_modules$react$index.useEffect(uix.hooks.alpha.with_return_value_check(setup_fn));\n}));\n\n(uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2 \x3d (function (setup_fn,deps){\nreturn module$node_modules$react$index.useEffect(uix.hooks.alpha.with_return_value_check(setup_fn),deps);\n}));\n\n(uix.hooks.alpha.use_effect.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_layout_effect \x3d (function uix$hooks$alpha$use_layout_effect(var_args){\nvar G__37362 \x3d arguments.length;\nswitch (G__37362) {\ncase 1:\nreturn uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$1 \x3d (function (setup_fn){\nreturn module$node_modules$react$index.useLayoutEffect(uix.hooks.alpha.with_return_value_check(setup_fn));\n}));\n\n(uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$2 \x3d (function (setup_fn,deps){\nreturn module$node_modules$react$index.useLayoutEffect(uix.hooks.alpha.with_return_value_check(setup_fn),deps);\n}));\n\n(uix.hooks.alpha.use_layout_effect.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_insertion_effect \x3d (function uix$hooks$alpha$use_insertion_effect(var_args){\nvar G__37379 \x3d arguments.length;\nswitch (G__37379) {\ncase 1:\nreturn uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$1 \x3d (function (f){\nreturn module$node_modules$react$index.useInsertionEffect(uix.hooks.alpha.with_return_value_check(f));\n}));\n\n(uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,deps){\nreturn module$node_modules$react$index.useInsertionEffect(uix.hooks.alpha.with_return_value_check(f),deps);\n}));\n\n(uix.hooks.alpha.use_insertion_effect.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_callback \x3d (function uix$hooks$alpha$use_callback(f,deps){\nreturn module$node_modules$react$index.useCallback(f,deps);\n});\nuix.hooks.alpha.use_memo \x3d (function uix$hooks$alpha$use_memo(f,deps){\nreturn module$node_modules$react$index.useMemo(f,deps);\n});\nuix.hooks.alpha.use_context \x3d (function uix$hooks$alpha$use_context(v){\nreturn module$node_modules$react$index.useContext(v);\n});\nuix.hooks.alpha.use_imperative_handle \x3d (function uix$hooks$alpha$use_imperative_handle(var_args){\nvar G__37394 \x3d arguments.length;\nswitch (G__37394) {\ncase 2:\nreturn uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$2 \x3d (function (ref,create_handle){\nreturn module$node_modules$react$index.useImperativeHandle(ref,create_handle);\n}));\n\n(uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$3 \x3d (function (ref,create_handle,deps){\nreturn module$node_modules$react$index.useImperativeHandle(ref,create_handle,deps);\n}));\n\n(uix.hooks.alpha.use_imperative_handle.cljs$lang$maxFixedArity \x3d 3);\n\nuix.hooks.alpha.use_debug \x3d (function uix$hooks$alpha$use_debug(var_args){\nvar G__37398 \x3d arguments.length;\nswitch (G__37398) {\ncase 1:\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1 \x3d (function (v){\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2(v,null);\n}));\n\n(uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2 \x3d (function (v,fmt){\nreturn module$node_modules$react$index.useDebugValue(v,fmt);\n}));\n\n(uix.hooks.alpha.use_debug.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_deferred_value \x3d (function uix$hooks$alpha$use_deferred_value(v){\nreturn module$node_modules$react$index.useDeferredValue(v);\n});\nuix.hooks.alpha.use_transition \x3d (function uix$hooks$alpha$use_transition(){\nreturn module$node_modules$react$index.useTransition();\n});\nuix.hooks.alpha.use_id \x3d (function uix$hooks$alpha$use_id(){\nreturn module$node_modules$react$index.useId();\n});\nuix.hooks.alpha.use_sync_external_store \x3d (function uix$hooks$alpha$use_sync_external_store(var_args){\nvar G__37409 \x3d arguments.length;\nswitch (G__37409) {\ncase 2:\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2 \x3d (function (subscribe,get_snapshot){\nreturn module$node_modules$react$index.useSyncExternalStore(subscribe,get_snapshot);\n}));\n\n(uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3 \x3d (function (subscribe,get_snapshot,get_server_snapshot){\nreturn module$node_modules$react$index.useSyncExternalStore(subscribe,get_snapshot,get_server_snapshot);\n}));\n\n(uix.hooks.alpha.use_sync_external_store.cljs$lang$maxFixedArity \x3d 3);\n\n"); -SHADOW_ENV.evalLoad("uix.compiler.input.js", true, "goog.provide(\x27uix.compiler.input\x27);\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.compiler.input.these_inputs_have_selection_api \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, [\x22url\x22,null,\x22tel\x22,null,\x22text\x22,null,\x22textarea\x22,null,\x22password\x22,null,\x22search\x22,null], null), null);\nuix.compiler.input.has_selection_api_QMARK_ \x3d (function uix$compiler$input$has_selection_api_QMARK_(input_type){\nreturn cljs.core.contains_QMARK_(uix.compiler.input.these_inputs_have_selection_api,input_type);\n});\nuix.compiler.input.should_use_reagent_input_QMARK_ \x3d (function uix$compiler$input$should_use_reagent_input_QMARK_(){\nreturn (((typeof reagent !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof reagent.impl !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof reagent.impl.util !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof reagent.impl.util._STAR_non_reactive_STAR_ !\x3d\x3d \x27undefined\x27)) \x26\x26 (cljs.core.not(reagent.impl.util._STAR_non_reactive_STAR_)));\n});\nuix.compiler.input.do_after_render \x3d (function uix$compiler$input$do_after_render(f){\nreturn reagent.impl.batching.do_after_render(f);\n});\nuix.compiler.input.input_node_set_value \x3d (function uix$compiler$input$input_node_set_value(node,rendered_value,dom_value,component){\nif((!((((node \x3d\x3d\x3d document.activeElement)) \x26\x26 (((uix.compiler.input.has_selection_api_QMARK_(node.type)) \x26\x26 (((typeof rendered_value \x3d\x3d\x3d \x27string\x27) \x26\x26 (typeof dom_value \x3d\x3d\x3d \x27string\x27))))))))){\n(component.cljsDOMValue \x3d rendered_value);\n\nreturn (node.value \x3d rendered_value);\n} else {\nvar node_value \x3d node.value;\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(node_value,dom_value)){\nvar existing_offset_from_end \x3d (cljs.core.count(node_value) - node.selectionStart);\nvar new_cursor_offset \x3d (cljs.core.count(rendered_value) - existing_offset_from_end);\n(component.cljsDOMValue \x3d rendered_value);\n\n(node.value \x3d rendered_value);\n\n(node.selectionStart \x3d new_cursor_offset);\n\nreturn (node.selectionEnd \x3d new_cursor_offset);\n} else {\nreturn null;\n}\n}\n});\nuix.compiler.input.input_component_set_value \x3d (function uix$compiler$input$input_component_set_value(this$){\nif(cljs.core.truth_(this$.cljsInputLive)){\n(this$.cljsInputDirty \x3d false);\n\nvar rendered_value \x3d this$.cljsRenderedValue;\nvar dom_value \x3d this$.cljsDOMValue;\nvar node \x3d this$.inputEl;\nif(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(rendered_value,dom_value)){\nreturn uix.compiler.input.input_node_set_value(node,rendered_value,dom_value,this$);\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n});\nuix.compiler.input.input_handle_change \x3d (function uix$compiler$input$input_handle_change(this$,on_change,e){\n(this$.cljsDOMValue \x3d e.target.value);\n\nif(cljs.core.truth_(this$.cljsInputDirty)){\n} else {\n(this$.cljsInputDirty \x3d true);\n\nuix.compiler.input.do_after_render((function (){\nreturn uix.compiler.input.input_component_set_value(this$);\n}));\n}\n\nreturn (on_change.cljs$core$IFn$_invoke$arity$1 ? on_change.cljs$core$IFn$_invoke$arity$1(e) : on_change.call(null, e));\n});\nuix.compiler.input.input_render_setup \x3d (function uix$compiler$input$input_render_setup(this$,jsprops){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d (!((jsprops \x3d\x3d null)));\nif(and__5043__auto__){\nvar and__5043__auto____$1 \x3d jsprops.hasOwnProperty(\x22onChange\x22);\nif(cljs.core.truth_(and__5043__auto____$1)){\nreturn jsprops.hasOwnProperty(\x22value\x22);\n} else {\nreturn and__5043__auto____$1;\n}\n} else {\nreturn and__5043__auto__;\n}\n})())){\nvar v \x3d jsprops.value;\nvar value \x3d (((v \x3d\x3d null))?\x22\x22:v);\nvar on_change \x3d jsprops.onChange;\nvar original_ref_fn \x3d jsprops.ref;\nif(cljs.core.truth_(this$.cljsInputLive)){\n} else {\n(this$.cljsInputLive \x3d true);\n\n(this$.cljsDOMValue \x3d value);\n}\n\nif(cljs.core.truth_(this$.reagentRefFn)){\n} else {\n(this$.reagentRefFn \x3d ((cljs.core.fn_QMARK_(original_ref_fn))?(function (el){\n(this$.inputEl \x3d el);\n\nreturn (original_ref_fn.cljs$core$IFn$_invoke$arity$1 ? original_ref_fn.cljs$core$IFn$_invoke$arity$1(el) : original_ref_fn.call(null, el));\n}):(cljs.core.truth_((function (){var and__5043__auto__ \x3d original_ref_fn;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn original_ref_fn.hasOwnProperty(\x22current\x22);\n} else {\nreturn and__5043__auto__;\n}\n})())?(function (el){\n(this$.inputEl \x3d el);\n\nreturn (original_ref_fn.current \x3d el);\n}):(function (el){\nreturn (this$.inputEl \x3d el);\n})\n)));\n}\n\n(this$.cljsRenderedValue \x3d value);\n\ndelete jsprops[\x22value\x22];\n\n(jsprops.defaultValue \x3d value);\n\n(jsprops.onChange \x3d (function (p1__37366_SHARP_){\nreturn uix.compiler.input.input_handle_change(this$,on_change,p1__37366_SHARP_);\n}));\n\nreturn (jsprops.ref \x3d this$.reagentRefFn);\n} else {\nreturn null;\n}\n});\nuix.compiler.input.input_unmount \x3d (function uix$compiler$input$input_unmount(this$){\nreturn (this$.cljsInputLive \x3d null);\n});\nuix.compiler.input.reagent_input \x3d (function uix$compiler$input$reagent_input(js_props){\nvar this$ \x3d module$node_modules$react$index.useRef(({})).current;\nuix.compiler.input.input_render_setup(this$,js_props.props);\n\nif((typeof document !\x3d\x3d \x27undefined\x27)){\nmodule$node_modules$react$index.useLayoutEffect((function (){\nuix.compiler.input.input_component_set_value(this$);\n\nreturn undefined;\n}));\n} else {\n}\n\nmodule$node_modules$react$index.useEffect((function (){\nreturn (function (){\nreturn uix.compiler.input.input_unmount(this$);\n});\n}),[]);\n\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$4(module$node_modules$react$index.createElement,js_props.tag,js_props.props,js_props.children);\n});\n"); -SHADOW_ENV.evalLoad("uix.compiler.attributes.js", true, "goog.provide(\x27uix.compiler.attributes\x27);\ngoog.scope(function(){\n uix.compiler.attributes.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\nuix.compiler.attributes.js_val_QMARK_ \x3d (function uix$compiler$attributes$js_val_QMARK_(x){\nreturn (!((\x22object\x22 \x3d\x3d\x3d goog.typeOf(x))));\n});\nuix.compiler.attributes.prop_name_cache \x3d ({\x22class\x22: \x22className\x22, \x22for\x22: \x22htmlFor\x22, \x22charset\x22: \x22charSet\x22, \x22class-id\x22: \x22classID\x22, \x22item-id\x22: \x22itemID\x22});\nuix.compiler.attributes.custom_prop_name_cache \x3d ({});\nuix.compiler.attributes.cc_regexp \x3d (new RegExp(\x22-(\\\\w)\x22,\x22g\x22));\nuix.compiler.attributes.cc_fn \x3d (function uix$compiler$attributes$cc_fn(s){\nreturn clojure.string.upper_case((s[(1)]));\n});\nuix.compiler.attributes.dash_to_camel \x3d (function uix$compiler$attributes$dash_to_camel(name_str){\nif(((clojure.string.starts_with_QMARK_(name_str,\x22aria-\x22)) || (clojure.string.starts_with_QMARK_(name_str,\x22data-\x22)))){\nreturn name_str;\n} else {\nreturn name_str.replace(uix.compiler.attributes.cc_regexp,uix.compiler.attributes.cc_fn);\n}\n});\nuix.compiler.attributes.keyword__GT_string \x3d (function uix$compiler$attributes$keyword__GT_string(x){\nif((x instanceof cljs.core.Keyword)){\nreturn x.cljs$core$INamed$_name$arity$1(null, );\n} else {\nreturn x;\n}\n});\nuix.compiler.attributes.cached_prop_name \x3d (function uix$compiler$attributes$cached_prop_name(k){\nif((k instanceof cljs.core.Keyword)){\nvar name_str \x3d k.cljs$core$INamed$_name$arity$1(null, );\nvar temp__5825__auto__ \x3d (uix.compiler.attributes.prop_name_cache[name_str]);\nif((temp__5825__auto__ \x3d\x3d null)){\nvar v \x3d uix.compiler.attributes.dash_to_camel(name_str);\n(uix.compiler.attributes.prop_name_cache[name_str] \x3d v);\n\nreturn v;\n} else {\nvar k_SINGLEQUOTE_ \x3d temp__5825__auto__;\nreturn k_SINGLEQUOTE_;\n}\n} else {\nreturn k;\n}\n});\nuix.compiler.attributes.cached_custom_prop_name \x3d (function uix$compiler$attributes$cached_custom_prop_name(k){\nif((k instanceof cljs.core.Keyword)){\nvar name_str \x3d k.cljs$core$INamed$_name$arity$1(null, );\nvar temp__5825__auto__ \x3d (uix.compiler.attributes.custom_prop_name_cache[name_str]);\nif((temp__5825__auto__ \x3d\x3d null)){\nvar v \x3d uix.compiler.attributes.dash_to_camel(name_str);\n(uix.compiler.attributes.custom_prop_name_cache[name_str] \x3d v);\n\nreturn v;\n} else {\nvar k_SINGLEQUOTE_ \x3d temp__5825__auto__;\nreturn k_SINGLEQUOTE_;\n}\n} else {\nreturn k;\n}\n});\nuix.compiler.attributes.convert_interop_prop_value \x3d (function uix$compiler$attributes$convert_interop_prop_value(k,v){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736))){\nif(cljs.core.vector_QMARK_(v)){\nreturn v.cljs$core$IReduce$_reduce$arity$3(null, (function (a,v__$1){\na.push((uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1(v__$1) : uix.compiler.attributes.convert_prop_value_shallow.call(null, v__$1)));\n\nreturn a;\n}),[]);\n} else {\nreturn (uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value_shallow.call(null, v));\n}\n} else {\nif((v instanceof cljs.core.Keyword)){\nreturn v.cljs$core$INamed$_name$arity$1(null, );\n} else {\nreturn v;\n\n}\n}\n});\nuix.compiler.attributes.kv_conv \x3d (function uix$compiler$attributes$kv_conv(o,k,v){\nuix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_prop_name(k),(uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value.call(null, v)));\n\nreturn o;\n});\nuix.compiler.attributes.kv_conv_shallow \x3d (function uix$compiler$attributes$kv_conv_shallow(o,k,v){\nuix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_prop_name(k),uix.compiler.attributes.convert_interop_prop_value(k,v));\n\nreturn o;\n});\nuix.compiler.attributes.custom_kv_conv \x3d (function uix$compiler$attributes$custom_kv_conv(o,k,v){\nuix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_custom_prop_name(k),(uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value.call(null, v)));\n\nreturn o;\n});\nuix.compiler.attributes.convert_prop_value \x3d (function uix$compiler$attributes$convert_prop_value(x){\nif(uix.compiler.attributes.js_val_QMARK_(x)){\nreturn x;\n} else {\nif((x instanceof cljs.core.Keyword)){\nreturn x.cljs$core$INamed$_name$arity$1(null, );\n} else {\nif(cljs.core.map_QMARK_(x)){\nreturn cljs.core.reduce_kv(uix.compiler.attributes.kv_conv,({}),x);\n} else {\nif(cljs.core.coll_QMARK_(x)){\nreturn cljs.core.clj__GT_js(x);\n} else {\nif(cljs.core.ifn_QMARK_(x)){\nreturn (function() { \nvar G__37479__delegate \x3d function (rest__37399_SHARP_){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$2(x,rest__37399_SHARP_);\n};\nvar G__37479 \x3d function (var_args){\nvar rest__37399_SHARP_ \x3d null;\nif (arguments.length \x3e 0) {\nvar G__37480__i \x3d 0, G__37480__a \x3d new Array(arguments.length - 0);\nwhile (G__37480__i \x3c G__37480__a.length) {G__37480__a[G__37480__i] \x3d arguments[G__37480__i + 0]; ++G__37480__i;}\n rest__37399_SHARP_ \x3d new cljs.core.IndexedSeq(G__37480__a,0,null);\n} \nreturn G__37479__delegate.call(this,rest__37399_SHARP_);};\nG__37479.cljs$lang$maxFixedArity \x3d 0;\nG__37479.cljs$lang$applyTo \x3d (function (arglist__37481){\nvar rest__37399_SHARP_ \x3d cljs.core.seq(arglist__37481);\nreturn G__37479__delegate(rest__37399_SHARP_);\n});\nG__37479.cljs$core$IFn$_invoke$arity$variadic \x3d G__37479__delegate;\nreturn G__37479;\n})()\n;\n} else {\nreturn cljs.core.clj__GT_js(x);\n\n}\n}\n}\n}\n}\n});\nuix.compiler.attributes.convert_custom_prop_value \x3d (function uix$compiler$attributes$convert_custom_prop_value(x){\nif(uix.compiler.attributes.js_val_QMARK_(x)){\nreturn x;\n} else {\nif((x instanceof cljs.core.Keyword)){\nreturn x.cljs$core$INamed$_name$arity$1(null, );\n} else {\nif(cljs.core.map_QMARK_(x)){\nreturn cljs.core.reduce_kv(uix.compiler.attributes.custom_kv_conv,({}),x);\n} else {\nif(cljs.core.coll_QMARK_(x)){\nreturn cljs.core.clj__GT_js(x);\n} else {\nif(cljs.core.ifn_QMARK_(x)){\nreturn (function() { \nvar G__37484__delegate \x3d function (rest__37413_SHARP_){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$2(x,rest__37413_SHARP_);\n};\nvar G__37484 \x3d function (var_args){\nvar rest__37413_SHARP_ \x3d null;\nif (arguments.length \x3e 0) {\nvar G__37486__i \x3d 0, G__37486__a \x3d new Array(arguments.length - 0);\nwhile (G__37486__i \x3c G__37486__a.length) {G__37486__a[G__37486__i] \x3d arguments[G__37486__i + 0]; ++G__37486__i;}\n rest__37413_SHARP_ \x3d new cljs.core.IndexedSeq(G__37486__a,0,null);\n} \nreturn G__37484__delegate.call(this,rest__37413_SHARP_);};\nG__37484.cljs$lang$maxFixedArity \x3d 0;\nG__37484.cljs$lang$applyTo \x3d (function (arglist__37487){\nvar rest__37413_SHARP_ \x3d cljs.core.seq(arglist__37487);\nreturn G__37484__delegate(rest__37413_SHARP_);\n});\nG__37484.cljs$core$IFn$_invoke$arity$variadic \x3d G__37484__delegate;\nreturn G__37484;\n})()\n;\n} else {\nreturn cljs.core.clj__GT_js(x);\n\n}\n}\n}\n}\n}\n});\nuix.compiler.attributes.convert_prop_value_shallow \x3d (function uix$compiler$attributes$convert_prop_value_shallow(x){\nif(cljs.core.map_QMARK_(x)){\nreturn cljs.core.reduce_kv(uix.compiler.attributes.kv_conv_shallow,({}),x);\n} else {\nreturn x;\n}\n});\nuix.compiler.attributes.class_names_coll \x3d (function uix$compiler$attributes$class_names_coll(classes){\nvar classes__$1 \x3d cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (a,c){\nif(c){\na.push((((c instanceof cljs.core.Keyword))?c.cljs$core$INamed$_name$arity$1(null, ):(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(c) : uix.compiler.attributes.class_names.call(null, c))));\n} else {\n}\n\nreturn a;\n}),[],classes);\nif((classes__$1.length \x3e (0))){\nreturn classes__$1.join(\x22 \x22);\n} else {\nreturn null;\n}\n});\n/**\n * Merges a collection of class names into a string\n */\nuix.compiler.attributes.class_names \x3d (function uix$compiler$attributes$class_names(var_args){\nvar G__37449 \x3d arguments.length;\nswitch (G__37449) {\ncase 1:\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nvar args_arr__5794__auto__ \x3d [];\nvar len__5769__auto___37493 \x3d arguments.length;\nvar i__5770__auto___37494 \x3d (0);\nwhile(true){\nif((i__5770__auto___37494 \x3c len__5769__auto___37493)){\nargs_arr__5794__auto__.push((arguments[i__5770__auto___37494]));\n\nvar G__37496 \x3d (i__5770__auto___37494 + (1));\ni__5770__auto___37494 \x3d G__37496;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5795__auto__ \x3d (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null));\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__);\n\n}\n});\n\n(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1 \x3d (function (a){\nif(((cljs.core.array_QMARK_(a)) || (cljs.core.coll_QMARK_(a)))){\nreturn uix.compiler.attributes.class_names_coll(a);\n} else {\nif((a instanceof cljs.core.Keyword)){\nreturn a.cljs$core$INamed$_name$arity$1(null, );\n} else {\nreturn a;\n\n}\n}\n}));\n\n(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2 \x3d (function (a,b){\nif(a){\nif(b){\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(a)),\x22 \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(b))].join(\x27\x27);\n} else {\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(a);\n}\n} else {\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(b);\n}\n}));\n\n(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$variadic \x3d (function (a,b,rst){\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(uix.compiler.attributes.class_names,uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2(a,b),rst);\n}));\n\n/** @this {Function} */\n(uix.compiler.attributes.class_names.cljs$lang$applyTo \x3d (function (seq37444){\nvar G__37445 \x3d cljs.core.first(seq37444);\nvar seq37444__$1 \x3d cljs.core.next(seq37444);\nvar G__37447 \x3d cljs.core.first(seq37444__$1);\nvar seq37444__$2 \x3d cljs.core.next(seq37444__$1);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__37445,G__37447,seq37444__$2);\n}));\n\n(uix.compiler.attributes.class_names.cljs$lang$maxFixedArity \x3d (2));\n\n/**\n * HyperScript tag pattern :div :div#id.class etc.\n */\nuix.compiler.attributes.re_tag \x3d /([^\\.#]*)(?:#([^\\.#]+))?(?:\\.([^#]+))?/;\n/**\n * Takes HyperScript tag (:div#id.class) and returns parsed tag, id and class fields,\n * and boolean indicating if tag name is a custom element (a custom DOM element that has hyphen in the name)\n */\nuix.compiler.attributes.parse_tag \x3d (function uix$compiler$attributes$parse_tag(tag){\nvar tag_str \x3d cljs.core.name(tag);\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d cljs.core.not(cljs.core.re_matches(uix.compiler.attributes.re_tag,tag_str));\nif(and__5043__auto__){\nreturn cljs.core.re_find(/[#\\.]/,tag_str);\n} else {\nreturn and__5043__auto__;\n}\n})())){\nthrow (new Error([\x22Invalid tag name (found: \x22,tag_str,\x22). Make sure that the name matches the format and ordering is correct `:tag#id.class`\x22].join(\x27\x27)));\n} else {\n}\n\nvar vec__37453 \x3d cljs.core.next(cljs.core.re_matches(uix.compiler.attributes.re_tag,tag_str));\nvar tag__$1 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__37453,(0),null);\nvar id \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__37453,(1),null);\nvar class_name \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__37453,(2),null);\nvar tag__$2 \x3d ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(\x22\x22,tag__$1))?\x22div\x22:tag__$1);\nvar class_name__$1 \x3d (((class_name \x3d\x3d null))?null:clojure.string.replace(class_name,/\\./,\x22 \x22));\nreturn [tag__$2,id,class_name__$1,(!((cljs.core.re_find(/-/,tag__$2) \x3d\x3d null)))];\n});\n/**\n * Takes attributes map and parsed tag, and returns attributes merged with class names and id\n */\nuix.compiler.attributes.set_id_class \x3d (function uix$compiler$attributes$set_id_class(props,id_class){\nvar props_class \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,\x22class\x22,\x22class\x22,-2030961996));\nvar id \x3d (id_class[(1)]);\nvar class$ \x3d (id_class[(2)]);\nvar G__37457 \x3d props;\nvar G__37457__$1 \x3d (((((!((id \x3d\x3d null)))) \x26\x26 ((cljs.core.get.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092)) \x3d\x3d null))))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__37457,new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id):G__37457);\nif(cljs.core.truth_((function (){var or__5045__auto__ \x3d class$;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn props_class;\n}\n})())){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__37457__$1,new cljs.core.Keyword(null,\x22class\x22,\x22class\x22,-2030961996),uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2(class$,props_class));\n} else {\nreturn G__37457__$1;\n}\n});\n/**\n * Converts `props` Clojure map into JS object suitable for\n * passing as `props` object into `React.createElement`\n * \n * - `props` \u2014 Clojure map of props\n * - `id-class` \u2014 a triplet of parsed tag, id and class names\n * - `shallow?` \u2014 indicates whether `props` map should be converted shallowly or not\n */\nuix.compiler.attributes.convert_props \x3d (function uix$compiler$attributes$convert_props(props,id_class,shallow_QMARK_){\nvar props__$1 \x3d uix.compiler.attributes.set_id_class(props,id_class);\nif(cljs.core.truth_((id_class[(3)]))){\nreturn uix.compiler.attributes.convert_custom_prop_value(props__$1);\n} else {\nif(shallow_QMARK_){\nreturn uix.compiler.attributes.convert_prop_value_shallow(props__$1);\n} else {\nreturn uix.compiler.attributes.convert_prop_value(props__$1);\n\n}\n}\n});\n/**\n * Returns a tuple of attributes and a child element\n * \n * - [attrs] when `attrs` is actually a map of attributes\n * - [nil attrs] when `attrs` is not a map, thus a child element\n */\nuix.compiler.attributes.interpret_attrs \x3d (function uix$compiler$attributes$interpret_attrs(maybe_attrs,id_class,shallow_QMARK_){\nif(cljs.core.map_QMARK_(maybe_attrs)){\nreturn [uix.compiler.attributes.convert_props(maybe_attrs,id_class,shallow_QMARK_)];\n} else {\nreturn [uix.compiler.attributes.convert_props(cljs.core.PersistentArrayMap.EMPTY,id_class,shallow_QMARK_),maybe_attrs];\n}\n});\n/**\n * Returns a tuple of component props and a child element\n * \n * - [props] when `props` is actually a map of attributes\n * - [nil props] when `props` is not a map, thus a child element\n */\nuix.compiler.attributes.interpret_props \x3d (function uix$compiler$attributes$interpret_props(props){\nif(cljs.core.map_QMARK_(props)){\nreturn [props];\n} else {\nreturn [null,props];\n}\n});\n"); -SHADOW_ENV.evalLoad("uix.compiler.alpha.js", true, "goog.provide(\x27uix.compiler.alpha\x27);\ngoog.scope(function(){\n uix.compiler.alpha.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.compiler.alpha.reagent_component_QMARK_ \x3d (function uix$compiler$alpha$reagent_component_QMARK_(component_type){\nreturn cljs.core.some((function (p1__37542_SHARP_){\nif(clojure.string.starts_with_QMARK_(p1__37542_SHARP_,\x22G_\x22)){\nreturn (component_type \x3d\x3d\x3d uix.compiler.alpha.goog$module$goog$object.get(component_type,p1__37542_SHARP_));\n} else {\nreturn null;\n}\n}),Object.keys(component_type));\n});\nuix.compiler.alpha.validate_component \x3d (function uix$compiler$alpha$validate_component(component_type){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d cljs.core.not(component_type.uix_component_QMARK_);\nif(and__5043__auto__){\nreturn uix.compiler.alpha.reagent_component_QMARK_(component_type);\n} else {\nreturn and__5043__auto__;\n}\n})())){\nvar name_str_37565 \x3d (function (){var or__5045__auto__ \x3d component_type.displayName;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn component_type.name;\n}\n})();\nthrow (new Error([\x22Invalid use of Reagent component \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_str_37565),\x22 in `$` form.\\n\x22,\x22UIx doesn\x27t know how to render Reagent components.\\n\x22,\x22Reagent element should be Hiccup wrapped with r/as-element, i.e. (r/as-element [\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_str_37565),\x22])\x22].join(\x27\x27)));\n} else {\n}\n\nreturn true;\n});\nuix.compiler.alpha.normalise_args \x3d (function uix$compiler$alpha$normalise_args(component_type,js_props,props_children){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((2),props_children.length)){\nreturn [component_type,js_props,(props_children[(1)])];\n} else {\nreturn [component_type,js_props];\n}\n});\nuix.compiler.alpha.pojo_QMARK_ \x3d (function uix$compiler$alpha$pojo_QMARK_(x){\nvar and__5043__auto__ \x3d cljs.core.not(x.hasOwnProperty(\x22$$typeof\x22));\nif(and__5043__auto__){\nvar G__37557 \x3d x;\nvar G__37557__$1 \x3d (((G__37557 \x3d\x3d null))?null:G__37557.constructor);\nif((G__37557__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn (G__37557__$1 \x3d\x3d\x3d Object);\n}\n} else {\nreturn and__5043__auto__;\n}\n});\nuix.compiler.alpha.js_props_QMARK_ \x3d (function uix$compiler$alpha$js_props_QMARK_(tag,props){\nvar and__5043__auto__ \x3d ((typeof tag \x3d\x3d\x3d \x27string\x27) || (cljs.core.not(tag.uix_component_QMARK_)));\nif(and__5043__auto__){\nvar and__5043__auto____$1 \x3d props;\nif(cljs.core.truth_(and__5043__auto____$1)){\nreturn uix.compiler.alpha.pojo_QMARK_(props);\n} else {\nreturn and__5043__auto____$1;\n}\n} else {\nreturn and__5043__auto__;\n}\n});\nuix.compiler.alpha.create_element \x3d (function uix$compiler$alpha$create_element(args,children){\nvar tag \x3d (args[(0)]);\nvar props \x3d (args[(1)]);\nvar child \x3d (args[(2)]);\nif(cljs.core.truth_(uix.compiler.alpha.js_props_QMARK_(tag,child))){\nreturn module$node_modules$react$index.createElement.apply(null,[tag,Object.assign(props,child)].concat(children));\n} else {\nreturn module$node_modules$react$index.createElement.apply(null,args.concat(children));\n}\n});\nuix.compiler.alpha.uix_component_element \x3d (function uix$compiler$alpha$uix_component_element(component_type,props_children,children){\nvar props \x3d (props_children[(0)]);\nvar js_props \x3d (function (){var temp__5825__auto__ \x3d new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587).cljs$core$IFn$_invoke$arity$1(props);\nif((temp__5825__auto__ \x3d\x3d null)){\nreturn ({\x22argv\x22: props});\n} else {\nvar key \x3d temp__5825__auto__;\nreturn ({\x22key\x22: key, \x22argv\x22: cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587))});\n}\n})();\nvar args \x3d uix.compiler.alpha.normalise_args(component_type,js_props,props_children);\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.alpha.react_component_element \x3d (function uix$compiler$alpha$react_component_element(component_type,props_children,children){\nvar js_props \x3d (uix.compiler.attributes.interpret_attrs((props_children[(0)]),[],true)[(0)]);\nvar args \x3d uix.compiler.alpha.normalise_args(component_type,js_props,props_children);\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.alpha.dynamic_element \x3d (function uix$compiler$alpha$dynamic_element(component_type,props_children,children){\nvar tag_id_class \x3d uix.compiler.attributes.parse_tag(component_type);\nvar js_props \x3d (uix.compiler.attributes.interpret_attrs((props_children[(0)]),tag_id_class,false)[(0)]);\nvar tag \x3d (tag_id_class[(0)]);\nvar args \x3d uix.compiler.alpha.normalise_args(tag,js_props,props_children);\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.alpha.component_element \x3d (function uix$compiler$alpha$component_element(component_type,props_children,children){\nif(goog.DEBUG){\nuix.compiler.alpha.validate_component(component_type);\n} else {\n}\n\nif(cljs.core.truth_(component_type.uix_component_QMARK_)){\nreturn uix.compiler.alpha.uix_component_element(component_type,props_children,children);\n} else {\nif((component_type instanceof cljs.core.Keyword)){\nreturn uix.compiler.alpha.dynamic_element(component_type,props_children,children);\n} else {\nreturn uix.compiler.alpha.react_component_element(component_type,props_children,children);\n\n}\n}\n});\n"); +SHADOW_ENV.evalLoad("uix.hooks.alpha.js", true, "goog.provide(\x27uix.hooks.alpha\x27);\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.hooks.alpha.choose_value \x3d (function uix$hooks$alpha$choose_value(nv,cv){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(nv,cv)){\nreturn cv;\n} else {\nreturn nv;\n}\n});\n/**\n * Replicates React\x27s behaviour when updating state with identical JS value,\n * but using Clojure\x27s value equality here\n */\nuix.hooks.alpha.use_clojure_aware_updater \x3d (function uix$hooks$alpha$use_clojure_aware_updater(updater){\nreturn module$node_modules$react$index.useCallback((function() { \nvar G__28319__delegate \x3d function (v,args){\nvar G__28144 \x3d (function (cv){\nif(cljs.core.fn_QMARK_(v)){\nreturn uix.hooks.alpha.choose_value(cljs.core.apply.cljs$core$IFn$_invoke$arity$3(v,cv,args),cv);\n} else {\nreturn uix.hooks.alpha.choose_value(v,cv);\n}\n});\nreturn (updater.cljs$core$IFn$_invoke$arity$1 ? updater.cljs$core$IFn$_invoke$arity$1(G__28144) : updater.call(null, G__28144));\n};\nvar G__28319 \x3d function (v,var_args){\nvar args \x3d null;\nif (arguments.length \x3e 1) {\nvar G__28322__i \x3d 0, G__28322__a \x3d new Array(arguments.length - 1);\nwhile (G__28322__i \x3c G__28322__a.length) {G__28322__a[G__28322__i] \x3d arguments[G__28322__i + 1]; ++G__28322__i;}\n args \x3d new cljs.core.IndexedSeq(G__28322__a,0,null);\n} \nreturn G__28319__delegate.call(this,v,args);};\nG__28319.cljs$lang$maxFixedArity \x3d 1;\nG__28319.cljs$lang$applyTo \x3d (function (arglist__28324){\nvar v \x3d cljs.core.first(arglist__28324);\nvar args \x3d cljs.core.rest(arglist__28324);\nreturn G__28319__delegate(v,args);\n});\nG__28319.cljs$core$IFn$_invoke$arity$variadic \x3d G__28319__delegate;\nreturn G__28319;\n})()\n,[updater]);\n});\nuix.hooks.alpha.use_state \x3d (function uix$hooks$alpha$use_state(value){\nvar vec__28145 \x3d module$node_modules$react$index.useState(value);\nvar state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28145,(0),null);\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28145,(1),null);\nvar set_state__$1 \x3d uix.hooks.alpha.use_clojure_aware_updater(set_state);\nreturn [state,set_state__$1];\n});\n/**\n * Same as `use-clojure-primitive-aware-updater` but for `use-reducer`\n */\nuix.hooks.alpha.clojure_aware_reducer_updater \x3d (function uix$hooks$alpha$clojure_aware_reducer_updater(f){\nreturn (function (state,action){\nreturn uix.hooks.alpha.choose_value((f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(state,action) : f.call(null, state,action)),state);\n});\n});\nuix.hooks.alpha.use_reducer \x3d (function uix$hooks$alpha$use_reducer(var_args){\nvar G__28174 \x3d arguments.length;\nswitch (G__28174) {\ncase 2:\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,value){\nvar updater \x3d uix.hooks.alpha.clojure_aware_reducer_updater(f);\nreturn module$node_modules$react$index.useReducer(updater,value);\n}));\n\n(uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3 \x3d (function (f,value,init_state){\nvar updater \x3d uix.hooks.alpha.clojure_aware_reducer_updater(f);\nreturn module$node_modules$react$index.useReducer(updater,value,init_state);\n}));\n\n(uix.hooks.alpha.use_reducer.cljs$lang$maxFixedArity \x3d 3);\n\nuix.hooks.alpha.use_ref \x3d (function uix$hooks$alpha$use_ref(value){\nreturn module$node_modules$react$index.useRef(value);\n});\nuix.hooks.alpha.with_return_value_check \x3d (function uix$hooks$alpha$with_return_value_check(f){\nreturn (function (){\nvar ret \x3d (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, ));\nif(cljs.core.fn_QMARK_(ret)){\nreturn ret;\n} else {\nreturn undefined;\n}\n});\n});\nuix.hooks.alpha.use_clj_deps \x3d (function uix$hooks$alpha$use_clj_deps(deps){\nvar ref \x3d module$node_modules$react$index.useRef(deps);\nif(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(ref.current,deps)){\n(ref.current \x3d deps);\n} else {\n}\n\nreturn ref.current;\n});\nuix.hooks.alpha.use_effect \x3d (function uix$hooks$alpha$use_effect(var_args){\nvar G__28235 \x3d arguments.length;\nswitch (G__28235) {\ncase 1:\nreturn uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$1 \x3d (function (setup_fn){\nreturn module$node_modules$react$index.useEffect(uix.hooks.alpha.with_return_value_check(setup_fn));\n}));\n\n(uix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2 \x3d (function (setup_fn,deps){\nreturn module$node_modules$react$index.useEffect(uix.hooks.alpha.with_return_value_check(setup_fn),deps);\n}));\n\n(uix.hooks.alpha.use_effect.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_layout_effect \x3d (function uix$hooks$alpha$use_layout_effect(var_args){\nvar G__28264 \x3d arguments.length;\nswitch (G__28264) {\ncase 1:\nreturn uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$1 \x3d (function (setup_fn){\nreturn module$node_modules$react$index.useLayoutEffect(uix.hooks.alpha.with_return_value_check(setup_fn));\n}));\n\n(uix.hooks.alpha.use_layout_effect.cljs$core$IFn$_invoke$arity$2 \x3d (function (setup_fn,deps){\nreturn module$node_modules$react$index.useLayoutEffect(uix.hooks.alpha.with_return_value_check(setup_fn),deps);\n}));\n\n(uix.hooks.alpha.use_layout_effect.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_insertion_effect \x3d (function uix$hooks$alpha$use_insertion_effect(var_args){\nvar G__28274 \x3d arguments.length;\nswitch (G__28274) {\ncase 1:\nreturn uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$1 \x3d (function (f){\nreturn module$node_modules$react$index.useInsertionEffect(uix.hooks.alpha.with_return_value_check(f));\n}));\n\n(uix.hooks.alpha.use_insertion_effect.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,deps){\nreturn module$node_modules$react$index.useInsertionEffect(uix.hooks.alpha.with_return_value_check(f),deps);\n}));\n\n(uix.hooks.alpha.use_insertion_effect.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_callback \x3d (function uix$hooks$alpha$use_callback(f,deps){\nreturn module$node_modules$react$index.useCallback(f,deps);\n});\nuix.hooks.alpha.use_memo \x3d (function uix$hooks$alpha$use_memo(f,deps){\nreturn module$node_modules$react$index.useMemo(f,deps);\n});\nuix.hooks.alpha.use_context \x3d (function uix$hooks$alpha$use_context(v){\nreturn module$node_modules$react$index.useContext(v);\n});\nuix.hooks.alpha.use_imperative_handle \x3d (function uix$hooks$alpha$use_imperative_handle(var_args){\nvar G__28282 \x3d arguments.length;\nswitch (G__28282) {\ncase 2:\nreturn uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$2 \x3d (function (ref,create_handle){\nreturn module$node_modules$react$index.useImperativeHandle(ref,create_handle);\n}));\n\n(uix.hooks.alpha.use_imperative_handle.cljs$core$IFn$_invoke$arity$3 \x3d (function (ref,create_handle,deps){\nreturn module$node_modules$react$index.useImperativeHandle(ref,create_handle,deps);\n}));\n\n(uix.hooks.alpha.use_imperative_handle.cljs$lang$maxFixedArity \x3d 3);\n\nuix.hooks.alpha.use_debug \x3d (function uix$hooks$alpha$use_debug(var_args){\nvar G__28289 \x3d arguments.length;\nswitch (G__28289) {\ncase 1:\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1 \x3d (function (v){\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2(v,null);\n}));\n\n(uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2 \x3d (function (v,fmt){\nreturn module$node_modules$react$index.useDebugValue(v,fmt);\n}));\n\n(uix.hooks.alpha.use_debug.cljs$lang$maxFixedArity \x3d 2);\n\nuix.hooks.alpha.use_deferred_value \x3d (function uix$hooks$alpha$use_deferred_value(v){\nreturn module$node_modules$react$index.useDeferredValue(v);\n});\nuix.hooks.alpha.use_transition \x3d (function uix$hooks$alpha$use_transition(){\nreturn module$node_modules$react$index.useTransition();\n});\nuix.hooks.alpha.use_id \x3d (function uix$hooks$alpha$use_id(){\nreturn module$node_modules$react$index.useId();\n});\nuix.hooks.alpha.use_sync_external_store \x3d (function uix$hooks$alpha$use_sync_external_store(var_args){\nvar G__28303 \x3d arguments.length;\nswitch (G__28303) {\ncase 2:\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2 \x3d (function (subscribe,get_snapshot){\nreturn module$node_modules$react$index.useSyncExternalStore(subscribe,get_snapshot);\n}));\n\n(uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3 \x3d (function (subscribe,get_snapshot,get_server_snapshot){\nreturn module$node_modules$react$index.useSyncExternalStore(subscribe,get_snapshot,get_server_snapshot);\n}));\n\n(uix.hooks.alpha.use_sync_external_store.cljs$lang$maxFixedArity \x3d 3);\n\n"); +SHADOW_ENV.evalLoad("uix.compiler.input.js", true, "goog.provide(\x27uix.compiler.input\x27);\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.compiler.input.these_inputs_have_selection_api \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 6, [\x22url\x22,null,\x22tel\x22,null,\x22text\x22,null,\x22textarea\x22,null,\x22password\x22,null,\x22search\x22,null], null), null);\nuix.compiler.input.has_selection_api_QMARK_ \x3d (function uix$compiler$input$has_selection_api_QMARK_(input_type){\nreturn cljs.core.contains_QMARK_(uix.compiler.input.these_inputs_have_selection_api,input_type);\n});\nuix.compiler.input.should_use_reagent_input_QMARK_ \x3d (function uix$compiler$input$should_use_reagent_input_QMARK_(){\nreturn (((typeof reagent !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof reagent.impl !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof reagent.impl.util !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof reagent.impl.util._STAR_non_reactive_STAR_ !\x3d\x3d \x27undefined\x27)) \x26\x26 (cljs.core.not(reagent.impl.util._STAR_non_reactive_STAR_)));\n});\nuix.compiler.input.do_after_render \x3d (function uix$compiler$input$do_after_render(f){\nreturn reagent.impl.batching.do_after_render(f);\n});\nuix.compiler.input.input_node_set_value \x3d (function uix$compiler$input$input_node_set_value(node,rendered_value,dom_value,component){\nif((!((((node \x3d\x3d\x3d document.activeElement)) \x26\x26 (((uix.compiler.input.has_selection_api_QMARK_(node.type)) \x26\x26 (((typeof rendered_value \x3d\x3d\x3d \x27string\x27) \x26\x26 (typeof dom_value \x3d\x3d\x3d \x27string\x27))))))))){\n(component.cljsDOMValue \x3d rendered_value);\n\nreturn (node.value \x3d rendered_value);\n} else {\nvar node_value \x3d node.value;\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(node_value,dom_value)){\nvar existing_offset_from_end \x3d (cljs.core.count(node_value) - node.selectionStart);\nvar new_cursor_offset \x3d (cljs.core.count(rendered_value) - existing_offset_from_end);\n(component.cljsDOMValue \x3d rendered_value);\n\n(node.value \x3d rendered_value);\n\n(node.selectionStart \x3d new_cursor_offset);\n\nreturn (node.selectionEnd \x3d new_cursor_offset);\n} else {\nreturn null;\n}\n}\n});\nuix.compiler.input.input_component_set_value \x3d (function uix$compiler$input$input_component_set_value(this$){\nif(cljs.core.truth_(this$.cljsInputLive)){\n(this$.cljsInputDirty \x3d false);\n\nvar rendered_value \x3d this$.cljsRenderedValue;\nvar dom_value \x3d this$.cljsDOMValue;\nvar node \x3d this$.inputEl;\nif(cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(rendered_value,dom_value)){\nreturn uix.compiler.input.input_node_set_value(node,rendered_value,dom_value,this$);\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n});\nuix.compiler.input.input_handle_change \x3d (function uix$compiler$input$input_handle_change(this$,on_change,e){\n(this$.cljsDOMValue \x3d e.target.value);\n\nif(cljs.core.truth_(this$.cljsInputDirty)){\n} else {\n(this$.cljsInputDirty \x3d true);\n\nuix.compiler.input.do_after_render((function (){\nreturn uix.compiler.input.input_component_set_value(this$);\n}));\n}\n\nreturn (on_change.cljs$core$IFn$_invoke$arity$1 ? on_change.cljs$core$IFn$_invoke$arity$1(e) : on_change.call(null, e));\n});\nuix.compiler.input.input_render_setup \x3d (function uix$compiler$input$input_render_setup(this$,jsprops){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d (!((jsprops \x3d\x3d null)));\nif(and__5043__auto__){\nvar and__5043__auto____$1 \x3d jsprops.hasOwnProperty(\x22onChange\x22);\nif(cljs.core.truth_(and__5043__auto____$1)){\nreturn jsprops.hasOwnProperty(\x22value\x22);\n} else {\nreturn and__5043__auto____$1;\n}\n} else {\nreturn and__5043__auto__;\n}\n})())){\nvar v \x3d jsprops.value;\nvar value \x3d (((v \x3d\x3d null))?\x22\x22:v);\nvar on_change \x3d jsprops.onChange;\nvar original_ref_fn \x3d jsprops.ref;\nif(cljs.core.truth_(this$.cljsInputLive)){\n} else {\n(this$.cljsInputLive \x3d true);\n\n(this$.cljsDOMValue \x3d value);\n}\n\nif(cljs.core.truth_(this$.reagentRefFn)){\n} else {\n(this$.reagentRefFn \x3d ((cljs.core.fn_QMARK_(original_ref_fn))?(function (el){\n(this$.inputEl \x3d el);\n\nreturn (original_ref_fn.cljs$core$IFn$_invoke$arity$1 ? original_ref_fn.cljs$core$IFn$_invoke$arity$1(el) : original_ref_fn.call(null, el));\n}):(cljs.core.truth_((function (){var and__5043__auto__ \x3d original_ref_fn;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn original_ref_fn.hasOwnProperty(\x22current\x22);\n} else {\nreturn and__5043__auto__;\n}\n})())?(function (el){\n(this$.inputEl \x3d el);\n\nreturn (original_ref_fn.current \x3d el);\n}):(function (el){\nreturn (this$.inputEl \x3d el);\n})\n)));\n}\n\n(this$.cljsRenderedValue \x3d value);\n\ndelete jsprops[\x22value\x22];\n\n(jsprops.defaultValue \x3d value);\n\n(jsprops.onChange \x3d (function (p1__28217_SHARP_){\nreturn uix.compiler.input.input_handle_change(this$,on_change,p1__28217_SHARP_);\n}));\n\nreturn (jsprops.ref \x3d this$.reagentRefFn);\n} else {\nreturn null;\n}\n});\nuix.compiler.input.input_unmount \x3d (function uix$compiler$input$input_unmount(this$){\nreturn (this$.cljsInputLive \x3d null);\n});\nuix.compiler.input.reagent_input \x3d (function uix$compiler$input$reagent_input(js_props){\nvar this$ \x3d module$node_modules$react$index.useRef(({})).current;\nuix.compiler.input.input_render_setup(this$,js_props.props);\n\nif((typeof document !\x3d\x3d \x27undefined\x27)){\nmodule$node_modules$react$index.useLayoutEffect((function (){\nuix.compiler.input.input_component_set_value(this$);\n\nreturn undefined;\n}));\n} else {\n}\n\nmodule$node_modules$react$index.useEffect((function (){\nreturn (function (){\nreturn uix.compiler.input.input_unmount(this$);\n});\n}),[]);\n\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$4(module$node_modules$react$index.createElement,js_props.tag,js_props.props,js_props.children);\n});\n"); +SHADOW_ENV.evalLoad("uix.compiler.attributes.js", true, "goog.provide(\x27uix.compiler.attributes\x27);\ngoog.scope(function(){\n uix.compiler.attributes.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\nuix.compiler.attributes.js_val_QMARK_ \x3d (function uix$compiler$attributes$js_val_QMARK_(x){\nreturn (!((\x22object\x22 \x3d\x3d\x3d goog.typeOf(x))));\n});\nuix.compiler.attributes.prop_name_cache \x3d ({\x22class\x22: \x22className\x22, \x22for\x22: \x22htmlFor\x22, \x22charset\x22: \x22charSet\x22, \x22class-id\x22: \x22classID\x22, \x22item-id\x22: \x22itemID\x22});\nuix.compiler.attributes.custom_prop_name_cache \x3d ({});\nuix.compiler.attributes.cc_regexp \x3d (new RegExp(\x22-(\\\\w)\x22,\x22g\x22));\nuix.compiler.attributes.cc_fn \x3d (function uix$compiler$attributes$cc_fn(s){\nreturn clojure.string.upper_case((s[(1)]));\n});\nuix.compiler.attributes.dash_to_camel \x3d (function uix$compiler$attributes$dash_to_camel(name_str){\nif(((clojure.string.starts_with_QMARK_(name_str,\x22aria-\x22)) || (clojure.string.starts_with_QMARK_(name_str,\x22data-\x22)))){\nreturn name_str;\n} else {\nreturn name_str.replace(uix.compiler.attributes.cc_regexp,uix.compiler.attributes.cc_fn);\n}\n});\nuix.compiler.attributes.keyword__GT_string \x3d (function uix$compiler$attributes$keyword__GT_string(x){\nif((x instanceof cljs.core.Keyword)){\nreturn x.cljs$core$INamed$_name$arity$1(null, );\n} else {\nreturn x;\n}\n});\nuix.compiler.attributes.cached_prop_name \x3d (function uix$compiler$attributes$cached_prop_name(k){\nif((k instanceof cljs.core.Keyword)){\nvar name_str \x3d k.cljs$core$INamed$_name$arity$1(null, );\nvar temp__5825__auto__ \x3d (uix.compiler.attributes.prop_name_cache[name_str]);\nif((temp__5825__auto__ \x3d\x3d null)){\nvar v \x3d uix.compiler.attributes.dash_to_camel(name_str);\n(uix.compiler.attributes.prop_name_cache[name_str] \x3d v);\n\nreturn v;\n} else {\nvar k_SINGLEQUOTE_ \x3d temp__5825__auto__;\nreturn k_SINGLEQUOTE_;\n}\n} else {\nreturn k;\n}\n});\nuix.compiler.attributes.cached_custom_prop_name \x3d (function uix$compiler$attributes$cached_custom_prop_name(k){\nif((k instanceof cljs.core.Keyword)){\nvar name_str \x3d k.cljs$core$INamed$_name$arity$1(null, );\nvar temp__5825__auto__ \x3d (uix.compiler.attributes.custom_prop_name_cache[name_str]);\nif((temp__5825__auto__ \x3d\x3d null)){\nvar v \x3d uix.compiler.attributes.dash_to_camel(name_str);\n(uix.compiler.attributes.custom_prop_name_cache[name_str] \x3d v);\n\nreturn v;\n} else {\nvar k_SINGLEQUOTE_ \x3d temp__5825__auto__;\nreturn k_SINGLEQUOTE_;\n}\n} else {\nreturn k;\n}\n});\nuix.compiler.attributes.convert_interop_prop_value \x3d (function uix$compiler$attributes$convert_interop_prop_value(k,v){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(k,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736))){\nif(cljs.core.vector_QMARK_(v)){\nreturn v.cljs$core$IReduce$_reduce$arity$3(null, (function (a,v__$1){\na.push((uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1(v__$1) : uix.compiler.attributes.convert_prop_value_shallow.call(null, v__$1)));\n\nreturn a;\n}),[]);\n} else {\nreturn (uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value_shallow.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value_shallow.call(null, v));\n}\n} else {\nif((v instanceof cljs.core.Keyword)){\nreturn v.cljs$core$INamed$_name$arity$1(null, );\n} else {\nreturn v;\n\n}\n}\n});\nuix.compiler.attributes.kv_conv \x3d (function uix$compiler$attributes$kv_conv(o,k,v){\nuix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_prop_name(k),(uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value.call(null, v)));\n\nreturn o;\n});\nuix.compiler.attributes.kv_conv_shallow \x3d (function uix$compiler$attributes$kv_conv_shallow(o,k,v){\nuix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_prop_name(k),uix.compiler.attributes.convert_interop_prop_value(k,v));\n\nreturn o;\n});\nuix.compiler.attributes.custom_kv_conv \x3d (function uix$compiler$attributes$custom_kv_conv(o,k,v){\nuix.compiler.attributes.goog$module$goog$object.set(o,uix.compiler.attributes.cached_custom_prop_name(k),(uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.convert_prop_value.cljs$core$IFn$_invoke$arity$1(v) : uix.compiler.attributes.convert_prop_value.call(null, v)));\n\nreturn o;\n});\nuix.compiler.attributes.convert_prop_value \x3d (function uix$compiler$attributes$convert_prop_value(x){\nif(uix.compiler.attributes.js_val_QMARK_(x)){\nreturn x;\n} else {\nif((x instanceof cljs.core.Keyword)){\nreturn x.cljs$core$INamed$_name$arity$1(null, );\n} else {\nif(cljs.core.map_QMARK_(x)){\nreturn cljs.core.reduce_kv(uix.compiler.attributes.kv_conv,({}),x);\n} else {\nif(cljs.core.coll_QMARK_(x)){\nreturn cljs.core.clj__GT_js(x);\n} else {\nif(cljs.core.ifn_QMARK_(x)){\nreturn (function() { \nvar G__28405__delegate \x3d function (rest__28218_SHARP_){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$2(x,rest__28218_SHARP_);\n};\nvar G__28405 \x3d function (var_args){\nvar rest__28218_SHARP_ \x3d null;\nif (arguments.length \x3e 0) {\nvar G__28406__i \x3d 0, G__28406__a \x3d new Array(arguments.length - 0);\nwhile (G__28406__i \x3c G__28406__a.length) {G__28406__a[G__28406__i] \x3d arguments[G__28406__i + 0]; ++G__28406__i;}\n rest__28218_SHARP_ \x3d new cljs.core.IndexedSeq(G__28406__a,0,null);\n} \nreturn G__28405__delegate.call(this,rest__28218_SHARP_);};\nG__28405.cljs$lang$maxFixedArity \x3d 0;\nG__28405.cljs$lang$applyTo \x3d (function (arglist__28407){\nvar rest__28218_SHARP_ \x3d cljs.core.seq(arglist__28407);\nreturn G__28405__delegate(rest__28218_SHARP_);\n});\nG__28405.cljs$core$IFn$_invoke$arity$variadic \x3d G__28405__delegate;\nreturn G__28405;\n})()\n;\n} else {\nreturn cljs.core.clj__GT_js(x);\n\n}\n}\n}\n}\n}\n});\nuix.compiler.attributes.convert_custom_prop_value \x3d (function uix$compiler$attributes$convert_custom_prop_value(x){\nif(uix.compiler.attributes.js_val_QMARK_(x)){\nreturn x;\n} else {\nif((x instanceof cljs.core.Keyword)){\nreturn x.cljs$core$INamed$_name$arity$1(null, );\n} else {\nif(cljs.core.map_QMARK_(x)){\nreturn cljs.core.reduce_kv(uix.compiler.attributes.custom_kv_conv,({}),x);\n} else {\nif(cljs.core.coll_QMARK_(x)){\nreturn cljs.core.clj__GT_js(x);\n} else {\nif(cljs.core.ifn_QMARK_(x)){\nreturn (function() { \nvar G__28413__delegate \x3d function (rest__28225_SHARP_){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$2(x,rest__28225_SHARP_);\n};\nvar G__28413 \x3d function (var_args){\nvar rest__28225_SHARP_ \x3d null;\nif (arguments.length \x3e 0) {\nvar G__28414__i \x3d 0, G__28414__a \x3d new Array(arguments.length - 0);\nwhile (G__28414__i \x3c G__28414__a.length) {G__28414__a[G__28414__i] \x3d arguments[G__28414__i + 0]; ++G__28414__i;}\n rest__28225_SHARP_ \x3d new cljs.core.IndexedSeq(G__28414__a,0,null);\n} \nreturn G__28413__delegate.call(this,rest__28225_SHARP_);};\nG__28413.cljs$lang$maxFixedArity \x3d 0;\nG__28413.cljs$lang$applyTo \x3d (function (arglist__28415){\nvar rest__28225_SHARP_ \x3d cljs.core.seq(arglist__28415);\nreturn G__28413__delegate(rest__28225_SHARP_);\n});\nG__28413.cljs$core$IFn$_invoke$arity$variadic \x3d G__28413__delegate;\nreturn G__28413;\n})()\n;\n} else {\nreturn cljs.core.clj__GT_js(x);\n\n}\n}\n}\n}\n}\n});\nuix.compiler.attributes.convert_prop_value_shallow \x3d (function uix$compiler$attributes$convert_prop_value_shallow(x){\nif(cljs.core.map_QMARK_(x)){\nreturn cljs.core.reduce_kv(uix.compiler.attributes.kv_conv_shallow,({}),x);\n} else {\nreturn x;\n}\n});\nuix.compiler.attributes.class_names_coll \x3d (function uix$compiler$attributes$class_names_coll(classes){\nvar classes__$1 \x3d cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (a,c){\nif(c){\na.push((((c instanceof cljs.core.Keyword))?c.cljs$core$INamed$_name$arity$1(null, ):(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(c) : uix.compiler.attributes.class_names.call(null, c))));\n} else {\n}\n\nreturn a;\n}),[],classes);\nif((classes__$1.length \x3e (0))){\nreturn classes__$1.join(\x22 \x22);\n} else {\nreturn null;\n}\n});\n/**\n * Merges a collection of class names into a string\n */\nuix.compiler.attributes.class_names \x3d (function uix$compiler$attributes$class_names(var_args){\nvar G__28279 \x3d arguments.length;\nswitch (G__28279) {\ncase 1:\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nvar args_arr__5794__auto__ \x3d [];\nvar len__5769__auto___28442 \x3d arguments.length;\nvar i__5770__auto___28443 \x3d (0);\nwhile(true){\nif((i__5770__auto___28443 \x3c len__5769__auto___28442)){\nargs_arr__5794__auto__.push((arguments[i__5770__auto___28443]));\n\nvar G__28451 \x3d (i__5770__auto___28443 + (1));\ni__5770__auto___28443 \x3d G__28451;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5795__auto__ \x3d (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((2)),(0),null));\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5795__auto__);\n\n}\n});\n\n(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1 \x3d (function (a){\nif(((cljs.core.array_QMARK_(a)) || (cljs.core.coll_QMARK_(a)))){\nreturn uix.compiler.attributes.class_names_coll(a);\n} else {\nif((a instanceof cljs.core.Keyword)){\nreturn a.cljs$core$INamed$_name$arity$1(null, );\n} else {\nreturn a;\n\n}\n}\n}));\n\n(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2 \x3d (function (a,b){\nif(a){\nif(b){\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(a)),\x22 \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(b))].join(\x27\x27);\n} else {\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(a);\n}\n} else {\nreturn uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$1(b);\n}\n}));\n\n(uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$variadic \x3d (function (a,b,rst){\nreturn cljs.core.reduce.cljs$core$IFn$_invoke$arity$3(uix.compiler.attributes.class_names,uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2(a,b),rst);\n}));\n\n/** @this {Function} */\n(uix.compiler.attributes.class_names.cljs$lang$applyTo \x3d (function (seq28269){\nvar G__28277 \x3d cljs.core.first(seq28269);\nvar seq28269__$1 \x3d cljs.core.next(seq28269);\nvar G__28278 \x3d cljs.core.first(seq28269__$1);\nvar seq28269__$2 \x3d cljs.core.next(seq28269__$1);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__28277,G__28278,seq28269__$2);\n}));\n\n(uix.compiler.attributes.class_names.cljs$lang$maxFixedArity \x3d (2));\n\n/**\n * HyperScript tag pattern :div :div#id.class etc.\n */\nuix.compiler.attributes.re_tag \x3d /([^\\.#]*)(?:#([^\\.#]+))?(?:\\.([^#]+))?/;\n/**\n * Takes HyperScript tag (:div#id.class) and returns parsed tag, id and class fields,\n * and boolean indicating if tag name is a custom element (a custom DOM element that has hyphen in the name)\n */\nuix.compiler.attributes.parse_tag \x3d (function uix$compiler$attributes$parse_tag(tag){\nvar tag_str \x3d cljs.core.name(tag);\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d cljs.core.not(cljs.core.re_matches(uix.compiler.attributes.re_tag,tag_str));\nif(and__5043__auto__){\nreturn cljs.core.re_find(/[#\\.]/,tag_str);\n} else {\nreturn and__5043__auto__;\n}\n})())){\nthrow (new Error([\x22Invalid tag name (found: \x22,tag_str,\x22). Make sure that the name matches the format and ordering is correct `:tag#id.class`\x22].join(\x27\x27)));\n} else {\n}\n\nvar vec__28305 \x3d cljs.core.next(cljs.core.re_matches(uix.compiler.attributes.re_tag,tag_str));\nvar tag__$1 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28305,(0),null);\nvar id \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28305,(1),null);\nvar class_name \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__28305,(2),null);\nvar tag__$2 \x3d ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(\x22\x22,tag__$1))?\x22div\x22:tag__$1);\nvar class_name__$1 \x3d (((class_name \x3d\x3d null))?null:clojure.string.replace(class_name,/\\./,\x22 \x22));\nreturn [tag__$2,id,class_name__$1,(!((cljs.core.re_find(/-/,tag__$2) \x3d\x3d null)))];\n});\n/**\n * Takes attributes map and parsed tag, and returns attributes merged with class names and id\n */\nuix.compiler.attributes.set_id_class \x3d (function uix$compiler$attributes$set_id_class(props,id_class){\nvar props_class \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,\x22class\x22,\x22class\x22,-2030961996));\nvar id \x3d (id_class[(1)]);\nvar class$ \x3d (id_class[(2)]);\nvar G__28317 \x3d props;\nvar G__28317__$1 \x3d (((((!((id \x3d\x3d null)))) \x26\x26 ((cljs.core.get.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092)) \x3d\x3d null))))?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__28317,new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id):G__28317);\nif(cljs.core.truth_((function (){var or__5045__auto__ \x3d class$;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn props_class;\n}\n})())){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__28317__$1,new cljs.core.Keyword(null,\x22class\x22,\x22class\x22,-2030961996),uix.compiler.attributes.class_names.cljs$core$IFn$_invoke$arity$2(class$,props_class));\n} else {\nreturn G__28317__$1;\n}\n});\n/**\n * Converts `props` Clojure map into JS object suitable for\n * passing as `props` object into `React.createElement`\n * \n * - `props` \u2014 Clojure map of props\n * - `id-class` \u2014 a triplet of parsed tag, id and class names\n * - `shallow?` \u2014 indicates whether `props` map should be converted shallowly or not\n */\nuix.compiler.attributes.convert_props \x3d (function uix$compiler$attributes$convert_props(props,id_class,shallow_QMARK_){\nvar props__$1 \x3d uix.compiler.attributes.set_id_class(props,id_class);\nif(cljs.core.truth_((id_class[(3)]))){\nreturn uix.compiler.attributes.convert_custom_prop_value(props__$1);\n} else {\nif(shallow_QMARK_){\nreturn uix.compiler.attributes.convert_prop_value_shallow(props__$1);\n} else {\nreturn uix.compiler.attributes.convert_prop_value(props__$1);\n\n}\n}\n});\n/**\n * Returns a tuple of attributes and a child element\n * \n * - [attrs] when `attrs` is actually a map of attributes\n * - [nil attrs] when `attrs` is not a map, thus a child element\n */\nuix.compiler.attributes.interpret_attrs \x3d (function uix$compiler$attributes$interpret_attrs(maybe_attrs,id_class,shallow_QMARK_){\nif(cljs.core.map_QMARK_(maybe_attrs)){\nreturn [uix.compiler.attributes.convert_props(maybe_attrs,id_class,shallow_QMARK_)];\n} else {\nreturn [uix.compiler.attributes.convert_props(cljs.core.PersistentArrayMap.EMPTY,id_class,shallow_QMARK_),maybe_attrs];\n}\n});\n/**\n * Returns a tuple of component props and a child element\n * \n * - [props] when `props` is actually a map of attributes\n * - [nil props] when `props` is not a map, thus a child element\n */\nuix.compiler.attributes.interpret_props \x3d (function uix$compiler$attributes$interpret_props(props){\nif(cljs.core.map_QMARK_(props)){\nreturn [props];\n} else {\nreturn [null,props];\n}\n});\n"); +SHADOW_ENV.evalLoad("uix.compiler.alpha.js", true, "goog.provide(\x27uix.compiler.alpha\x27);\ngoog.scope(function(){\n uix.compiler.alpha.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.compiler.alpha.reagent_component_QMARK_ \x3d (function uix$compiler$alpha$reagent_component_QMARK_(component_type){\nreturn cljs.core.some((function (p1__28851_SHARP_){\nif(clojure.string.starts_with_QMARK_(p1__28851_SHARP_,\x22G_\x22)){\nreturn (component_type \x3d\x3d\x3d uix.compiler.alpha.goog$module$goog$object.get(component_type,p1__28851_SHARP_));\n} else {\nreturn null;\n}\n}),Object.keys(component_type));\n});\nuix.compiler.alpha.validate_component \x3d (function uix$compiler$alpha$validate_component(component_type){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d cljs.core.not(component_type.uix_component_QMARK_);\nif(and__5043__auto__){\nreturn uix.compiler.alpha.reagent_component_QMARK_(component_type);\n} else {\nreturn and__5043__auto__;\n}\n})())){\nvar name_str_28873 \x3d (function (){var or__5045__auto__ \x3d component_type.displayName;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn component_type.name;\n}\n})();\nthrow (new Error([\x22Invalid use of Reagent component \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_str_28873),\x22 in `$` form.\\n\x22,\x22UIx doesn\x27t know how to render Reagent components.\\n\x22,\x22Reagent element should be Hiccup wrapped with r/as-element, i.e. (r/as-element [\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(name_str_28873),\x22])\x22].join(\x27\x27)));\n} else {\n}\n\nreturn true;\n});\nuix.compiler.alpha.normalise_args \x3d (function uix$compiler$alpha$normalise_args(component_type,js_props,props_children){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((2),props_children.length)){\nreturn [component_type,js_props,(props_children[(1)])];\n} else {\nreturn [component_type,js_props];\n}\n});\nuix.compiler.alpha.pojo_QMARK_ \x3d (function uix$compiler$alpha$pojo_QMARK_(x){\nvar and__5043__auto__ \x3d cljs.core.not(x.hasOwnProperty(\x22$$typeof\x22));\nif(and__5043__auto__){\nvar G__28866 \x3d x;\nvar G__28866__$1 \x3d (((G__28866 \x3d\x3d null))?null:G__28866.constructor);\nif((G__28866__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn (G__28866__$1 \x3d\x3d\x3d Object);\n}\n} else {\nreturn and__5043__auto__;\n}\n});\nuix.compiler.alpha.js_props_QMARK_ \x3d (function uix$compiler$alpha$js_props_QMARK_(tag,props){\nvar and__5043__auto__ \x3d ((typeof tag \x3d\x3d\x3d \x27string\x27) || (cljs.core.not(tag.uix_component_QMARK_)));\nif(and__5043__auto__){\nvar and__5043__auto____$1 \x3d props;\nif(cljs.core.truth_(and__5043__auto____$1)){\nreturn uix.compiler.alpha.pojo_QMARK_(props);\n} else {\nreturn and__5043__auto____$1;\n}\n} else {\nreturn and__5043__auto__;\n}\n});\nuix.compiler.alpha.create_element \x3d (function uix$compiler$alpha$create_element(args,children){\nvar tag \x3d (args[(0)]);\nvar props \x3d (args[(1)]);\nvar child \x3d (args[(2)]);\nif(cljs.core.truth_(uix.compiler.alpha.js_props_QMARK_(tag,child))){\nreturn module$node_modules$react$index.createElement.apply(null,[tag,Object.assign(props,child)].concat(children));\n} else {\nreturn module$node_modules$react$index.createElement.apply(null,args.concat(children));\n}\n});\nuix.compiler.alpha.uix_component_element \x3d (function uix$compiler$alpha$uix_component_element(component_type,props_children,children){\nvar props \x3d (props_children[(0)]);\nvar js_props \x3d (function (){var temp__5825__auto__ \x3d new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587).cljs$core$IFn$_invoke$arity$1(props);\nif((temp__5825__auto__ \x3d\x3d null)){\nreturn ({\x22argv\x22: props});\n} else {\nvar key \x3d temp__5825__auto__;\nreturn ({\x22key\x22: key, \x22argv\x22: cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(props,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587))});\n}\n})();\nvar args \x3d uix.compiler.alpha.normalise_args(component_type,js_props,props_children);\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.alpha.react_component_element \x3d (function uix$compiler$alpha$react_component_element(component_type,props_children,children){\nvar js_props \x3d (uix.compiler.attributes.interpret_attrs((props_children[(0)]),[],true)[(0)]);\nvar args \x3d uix.compiler.alpha.normalise_args(component_type,js_props,props_children);\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.alpha.dynamic_element \x3d (function uix$compiler$alpha$dynamic_element(component_type,props_children,children){\nvar tag_id_class \x3d uix.compiler.attributes.parse_tag(component_type);\nvar js_props \x3d (uix.compiler.attributes.interpret_attrs((props_children[(0)]),tag_id_class,false)[(0)]);\nvar tag \x3d (tag_id_class[(0)]);\nvar args \x3d uix.compiler.alpha.normalise_args(tag,js_props,props_children);\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.alpha.component_element \x3d (function uix$compiler$alpha$component_element(component_type,props_children,children){\nif(goog.DEBUG){\nuix.compiler.alpha.validate_component(component_type);\n} else {\n}\n\nif(cljs.core.truth_(component_type.uix_component_QMARK_)){\nreturn uix.compiler.alpha.uix_component_element(component_type,props_children,children);\n} else {\nif((component_type instanceof cljs.core.Keyword)){\nreturn uix.compiler.alpha.dynamic_element(component_type,props_children,children);\n} else {\nreturn uix.compiler.alpha.react_component_element(component_type,props_children,children);\n\n}\n}\n});\n"); SHADOW_ENV.evalLoad("uix.lib.js", true, "goog.provide(\x27uix.lib\x27);\ngoog.scope(function(){\n uix.lib.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\nuix.lib.map__GT_js \x3d (function uix$lib$map__GT_js(m){\nreturn cljs.core.reduce_kv((function (o,k,v){\nuix.lib.goog$module$goog$object.set(o,cljs.core.name(k),v);\n\nreturn o;\n}),({}),m);\n});\n"); -SHADOW_ENV.evalLoad("uix.compiler.aot.js", true, "goog.provide(\x27uix.compiler.aot\x27);\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.compiler.aot.hiccup_QMARK_ \x3d (function uix$compiler$aot$hiccup_QMARK_(el){\nif(cljs.core.vector_QMARK_(el)){\nvar tag \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(el,(0),null);\nreturn (((tag instanceof cljs.core.Keyword)) || ((((tag instanceof cljs.core.Symbol)) || (((cljs.core.fn_QMARK_(tag)) || ((tag instanceof cljs.core.MultiFn)))))));\n} else {\nreturn null;\n}\n});\nuix.compiler.aot.validate_children \x3d (function uix$compiler$aot$validate_children(children){\nvar v__37498__auto___37585 \x3d children;\nif(cljs.core.seq(v__37498__auto___37585)){\nvar x__37499__auto___37586 \x3d cljs.core.first(v__37498__auto___37585);\nvar xs__37500__auto___37587 \x3d cljs.core.next(v__37498__auto___37585);\nwhile(true){\nvar child_37588 \x3d x__37499__auto___37586;\nif(cljs.core.truth_(uix.compiler.aot.hiccup_QMARK_(child_37588))){\nthrow (new Error([\x22Hiccup is not valid as UIx child (found: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(child_37588),\x22).\\n\x22,\x22If you meant to render UIx element, use `$` macro, i.e. ($ \x22,clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22 \x22,child_37588),\x22)\\n\x22,\x22If you meant to render Reagent element, wrap it with r/as-element, i.e. (r/as-element \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(child_37588),\x22)\x22].join(\x27\x27)));\n} else {\nif(cljs.core.sequential_QMARK_(child_37588)){\n(uix.compiler.aot.validate_children.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.aot.validate_children.cljs$core$IFn$_invoke$arity$1(child_37588) : uix.compiler.aot.validate_children.call(null, child_37588));\n} else {\n}\n}\n\nif(cljs.core.seq(xs__37500__auto___37587)){\nvar G__37589 \x3d cljs.core.first(xs__37500__auto___37587);\nvar G__37590 \x3d cljs.core.next(xs__37500__auto___37587);\nx__37499__auto___37586 \x3d G__37589;\nxs__37500__auto___37587 \x3d G__37590;\ncontinue;\n} else {\n}\nbreak;\n}\n} else {\n}\n\nreturn true;\n});\nuix.compiler.aot._GT_el \x3d (function uix$compiler$aot$_GT_el(tag,attrs_children,children){\nvar args \x3d [tag].concat(attrs_children);\nif(goog.DEBUG){\nuix.compiler.aot.validate_children(args);\n} else {\n}\n\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.aot.create_uix_input \x3d (function uix$compiler$aot$create_uix_input(tag,attrs_children,children){\nif(uix.compiler.input.should_use_reagent_input_QMARK_()){\nvar props \x3d (attrs_children[(0)]);\nvar children__$1 \x3d [(attrs_children[(1)])].concat(children);\nreturn uix.compiler.alpha.create_element([uix.compiler.input.reagent_input,({\x22props\x22: props, \x22tag\x22: tag})],children__$1);\n} else {\nreturn uix.compiler.aot._GT_el(tag,attrs_children,children);\n}\n});\nuix.compiler.aot.fragment \x3d module$node_modules$react$index.Fragment;\n"); +SHADOW_ENV.evalLoad("uix.compiler.aot.js", true, "goog.provide(\x27uix.compiler.aot\x27);\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.compiler.aot.hiccup_QMARK_ \x3d (function uix$compiler$aot$hiccup_QMARK_(el){\nif(cljs.core.vector_QMARK_(el)){\nvar tag \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(el,(0),null);\nreturn (((tag instanceof cljs.core.Keyword)) || ((((tag instanceof cljs.core.Symbol)) || (((cljs.core.fn_QMARK_(tag)) || ((tag instanceof cljs.core.MultiFn)))))));\n} else {\nreturn null;\n}\n});\nuix.compiler.aot.validate_children \x3d (function uix$compiler$aot$validate_children(children){\nvar v__28237__auto___28880 \x3d children;\nif(cljs.core.seq(v__28237__auto___28880)){\nvar x__28238__auto___28881 \x3d cljs.core.first(v__28237__auto___28880);\nvar xs__28239__auto___28882 \x3d cljs.core.next(v__28237__auto___28880);\nwhile(true){\nvar child_28883 \x3d x__28238__auto___28881;\nif(cljs.core.truth_(uix.compiler.aot.hiccup_QMARK_(child_28883))){\nthrow (new Error([\x22Hiccup is not valid as UIx child (found: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(child_28883),\x22).\\n\x22,\x22If you meant to render UIx element, use `$` macro, i.e. ($ \x22,clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22 \x22,child_28883),\x22)\\n\x22,\x22If you meant to render Reagent element, wrap it with r/as-element, i.e. (r/as-element \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(child_28883),\x22)\x22].join(\x27\x27)));\n} else {\nif(cljs.core.sequential_QMARK_(child_28883)){\n(uix.compiler.aot.validate_children.cljs$core$IFn$_invoke$arity$1 ? uix.compiler.aot.validate_children.cljs$core$IFn$_invoke$arity$1(child_28883) : uix.compiler.aot.validate_children.call(null, child_28883));\n} else {\n}\n}\n\nif(cljs.core.seq(xs__28239__auto___28882)){\nvar G__28884 \x3d cljs.core.first(xs__28239__auto___28882);\nvar G__28885 \x3d cljs.core.next(xs__28239__auto___28882);\nx__28238__auto___28881 \x3d G__28884;\nxs__28239__auto___28882 \x3d G__28885;\ncontinue;\n} else {\n}\nbreak;\n}\n} else {\n}\n\nreturn true;\n});\nuix.compiler.aot._GT_el \x3d (function uix$compiler$aot$_GT_el(tag,attrs_children,children){\nvar args \x3d [tag].concat(attrs_children);\nif(goog.DEBUG){\nuix.compiler.aot.validate_children(args);\n} else {\n}\n\nreturn uix.compiler.alpha.create_element(args,children);\n});\nuix.compiler.aot.create_uix_input \x3d (function uix$compiler$aot$create_uix_input(tag,attrs_children,children){\nif(uix.compiler.input.should_use_reagent_input_QMARK_()){\nvar props \x3d (attrs_children[(0)]);\nvar children__$1 \x3d [(attrs_children[(1)])].concat(children);\nreturn uix.compiler.alpha.create_element([uix.compiler.input.reagent_input,({\x22props\x22: props, \x22tag\x22: tag})],children__$1);\n} else {\nreturn uix.compiler.aot._GT_el(tag,attrs_children,children);\n}\n});\nuix.compiler.aot.fragment \x3d module$node_modules$react$index.Fragment;\n"); SHADOW_ENV.evalLoad("cljs_bean.from.cljs.core.js", true, "goog.provide(\x27cljs_bean.from.cljs.core\x27);\ncljs_bean.from.cljs.core._indexOf \x3d (function cljs_bean$from$cljs$core$_indexOf(var_args){\nvar G__37559 \x3d arguments.length;\nswitch (G__37559) {\ncase 2:\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$2 \x3d (function (coll,x){\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0));\n}));\n\n(cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3 \x3d (function (coll,x,start){\nvar len \x3d cljs.core.count(coll);\nif((start \x3e\x3d len)){\nreturn (-1);\n} else {\nvar idx \x3d (((start \x3e (0)))?start:(((start \x3c (0)))?(function (){var x__5130__auto__ \x3d (0);\nvar y__5131__auto__ \x3d (start + len);\nreturn ((x__5130__auto__ \x3e y__5131__auto__) ? x__5130__auto__ : y__5131__auto__);\n})():start\n));\nwhile(true){\nif((idx \x3c len)){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx),x)){\nreturn idx;\n} else {\nvar G__37687 \x3d (idx + (1));\nidx \x3d G__37687;\ncontinue;\n}\n} else {\nreturn (-1);\n}\nbreak;\n}\n}\n}));\n\n(cljs_bean.from.cljs.core._indexOf.cljs$lang$maxFixedArity \x3d 3);\n\ncljs_bean.from.cljs.core._lastIndexOf \x3d (function cljs_bean$from$cljs$core$_lastIndexOf(var_args){\nvar G__37567 \x3d arguments.length;\nswitch (G__37567) {\ncase 2:\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2 \x3d (function (coll,x){\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll));\n}));\n\n(cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3 \x3d (function (coll,x,start){\nvar len \x3d cljs.core.count(coll);\nif((len \x3d\x3d\x3d (0))){\nreturn (-1);\n} else {\nvar idx \x3d (((start \x3e (0)))?(function (){var x__5133__auto__ \x3d (len - (1));\nvar y__5134__auto__ \x3d start;\nreturn ((x__5133__auto__ \x3c y__5134__auto__) ? x__5133__auto__ : y__5134__auto__);\n})():(((start \x3c (0)))?(len + start):start\n));\nwhile(true){\nif((idx \x3e\x3d (0))){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(coll,idx),x)){\nreturn idx;\n} else {\nvar G__37712 \x3d (idx - (1));\nidx \x3d G__37712;\ncontinue;\n}\n} else {\nreturn (-1);\n}\nbreak;\n}\n}\n}));\n\n(cljs_bean.from.cljs.core._lastIndexOf.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Compare indexed collection.\n */\ncljs_bean.from.cljs.core.compare_indexed \x3d (function cljs_bean$from$cljs$core$compare_indexed(var_args){\nvar G__37594 \x3d arguments.length;\nswitch (G__37594) {\ncase 2:\nreturn cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 4:\nreturn cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2 \x3d (function (xs,ys){\nvar xl \x3d cljs.core.count(xs);\nvar yl \x3d cljs.core.count(ys);\nif((xl \x3c yl)){\nreturn (-1);\n} else {\nif((xl \x3e yl)){\nreturn (1);\n} else {\nif((xl \x3d\x3d\x3d (0))){\nreturn (0);\n} else {\nreturn cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4(xs,ys,xl,(0));\n\n}\n}\n}\n}));\n\n(cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$4 \x3d (function (xs,ys,len,n){\nwhile(true){\nvar d \x3d cljs.core.compare(cljs.core.nth.cljs$core$IFn$_invoke$arity$2(xs,n),cljs.core.nth.cljs$core$IFn$_invoke$arity$2(ys,n));\nif((((d \x3d\x3d\x3d (0))) \x26\x26 (((n + (1)) \x3c len)))){\nvar G__37715 \x3d xs;\nvar G__37716 \x3d ys;\nvar G__37717 \x3d len;\nvar G__37718 \x3d (n + (1));\nxs \x3d G__37715;\nys \x3d G__37716;\nlen \x3d G__37717;\nn \x3d G__37718;\ncontinue;\n} else {\nreturn d;\n}\nbreak;\n}\n}));\n\n(cljs_bean.from.cljs.core.compare_indexed.cljs$lang$maxFixedArity \x3d 4);\n\n/**\n * Assumes x is sequential. Returns true if x equals y, otherwise\n * returns false.\n */\ncljs_bean.from.cljs.core.equiv_sequential \x3d (function cljs_bean$from$cljs$core$equiv_sequential(x,y){\nreturn cljs.core.boolean$(((cljs.core.sequential_QMARK_(y))?((((cljs.core.counted_QMARK_(x)) \x26\x26 (((cljs.core.counted_QMARK_(y)) \x26\x26 ((!((cljs.core.count(x) \x3d\x3d\x3d cljs.core.count(y)))))))))?false:(function (){var xs \x3d cljs.core.seq(x);\nvar ys \x3d cljs.core.seq(y);\nwhile(true){\nif((xs \x3d\x3d null)){\nreturn (ys \x3d\x3d null);\n} else {\nif((ys \x3d\x3d null)){\nreturn false;\n} else {\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs.core.first(xs),cljs.core.first(ys))){\nvar G__37720 \x3d cljs.core.next(xs);\nvar G__37721 \x3d cljs.core.next(ys);\nxs \x3d G__37720;\nys \x3d G__37721;\ncontinue;\n} else {\nreturn false;\n\n}\n}\n}\nbreak;\n}\n})()):null));\n});\n/**\n * Accepts any collection which satisfies the ICount and IIndexed protocols and\n * reduces them without incurring seq initialization\n */\ncljs_bean.from.cljs.core.ci_reduce \x3d (function cljs_bean$from$cljs$core$ci_reduce(var_args){\nvar G__37614 \x3d arguments.length;\nswitch (G__37614) {\ncase 2:\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ncase 4:\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2 \x3d (function (cicoll,f){\nvar cnt \x3d cicoll.cljs$core$ICounted$_count$arity$1(null, );\nif((cnt \x3d\x3d\x3d (0))){\nreturn (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, ));\n} else {\nvar val \x3d cicoll.cljs$core$IIndexed$_nth$arity$2(null, (0));\nvar n \x3d (1);\nwhile(true){\nif((n \x3c cnt)){\nvar nval \x3d (function (){var G__37635 \x3d val;\nvar G__37636 \x3d cicoll.cljs$core$IIndexed$_nth$arity$2(null, n);\nreturn (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__37635,G__37636) : f.call(null, G__37635,G__37636));\n})();\nif(cljs.core.reduced_QMARK_(nval)){\nreturn cljs.core.deref(nval);\n} else {\nvar G__37724 \x3d nval;\nvar G__37725 \x3d (n + (1));\nval \x3d G__37724;\nn \x3d G__37725;\ncontinue;\n}\n} else {\nreturn val;\n}\nbreak;\n}\n}\n}));\n\n(cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3 \x3d (function (cicoll,f,val){\nvar cnt \x3d cicoll.cljs$core$ICounted$_count$arity$1(null, );\nvar val__$1 \x3d val;\nvar n \x3d (0);\nwhile(true){\nif((n \x3c cnt)){\nvar nval \x3d (function (){var G__37657 \x3d val__$1;\nvar G__37658 \x3d cicoll.cljs$core$IIndexed$_nth$arity$2(null, n);\nreturn (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__37657,G__37658) : f.call(null, G__37657,G__37658));\n})();\nif(cljs.core.reduced_QMARK_(nval)){\nreturn cljs.core.deref(nval);\n} else {\nvar G__37732 \x3d nval;\nvar G__37733 \x3d (n + (1));\nval__$1 \x3d G__37732;\nn \x3d G__37733;\ncontinue;\n}\n} else {\nreturn val__$1;\n}\nbreak;\n}\n}));\n\n(cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$4 \x3d (function (cicoll,f,val,idx){\nvar cnt \x3d cicoll.cljs$core$ICounted$_count$arity$1(null, );\nvar val__$1 \x3d val;\nvar n \x3d idx;\nwhile(true){\nif((n \x3c cnt)){\nvar nval \x3d (function (){var G__37664 \x3d val__$1;\nvar G__37665 \x3d cicoll.cljs$core$IIndexed$_nth$arity$2(null, n);\nreturn (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__37664,G__37665) : f.call(null, G__37664,G__37665));\n})();\nif(cljs.core.reduced_QMARK_(nval)){\nreturn cljs.core.deref(nval);\n} else {\nvar G__37736 \x3d nval;\nvar G__37737 \x3d (n + (1));\nval__$1 \x3d G__37736;\nn \x3d G__37737;\ncontinue;\n}\n} else {\nreturn val__$1;\n}\nbreak;\n}\n}));\n\n(cljs_bean.from.cljs.core.ci_reduce.cljs$lang$maxFixedArity \x3d 4);\n\ncljs_bean.from.cljs.core.TransientArrayMap_conj_BANG_ \x3d (function cljs_bean$from$cljs$core$TransientArrayMap_conj_BANG_(tcoll,o,editable_QMARK_){\nif(cljs.core.truth_(editable_QMARK_)){\nif(cljs.core.map_entry_QMARK_(o)){\nreturn tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null, cljs.core.key(o),cljs.core.val(o));\n} else {\nif(cljs.core.vector_QMARK_(o)){\nreturn tcoll.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3(null, (o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((0)) : o.call(null, (0))),(o.cljs$core$IFn$_invoke$arity$1 ? o.cljs$core$IFn$_invoke$arity$1((1)) : o.call(null, (1))));\n} else {\nvar es \x3d cljs.core.seq(o);\nvar tcoll__$1 \x3d tcoll;\nwhile(true){\nvar temp__5821__auto__ \x3d cljs.core.first(es);\nif(cljs.core.truth_(temp__5821__auto__)){\nvar e \x3d temp__5821__auto__;\nvar G__37738 \x3d cljs.core.next(es);\nvar G__37739 \x3d cljs.core._assoc_BANG_(tcoll__$1,cljs.core.key(e),cljs.core.val(e));\nes \x3d G__37738;\ntcoll__$1 \x3d G__37739;\ncontinue;\n} else {\nreturn tcoll__$1;\n}\nbreak;\n}\n\n}\n}\n} else {\nthrow (new Error(\x22conj! after persistent!\x22));\n}\n});\ncljs_bean.from.cljs.core.PersistentArrayMap_conj \x3d (function cljs_bean$from$cljs$core$PersistentArrayMap_conj(coll,entry){\nif(cljs.core.vector_QMARK_(entry)){\nreturn coll.cljs$core$IAssociative$_assoc$arity$3(null, cljs.core._nth(entry,(0)),cljs.core._nth(entry,(1)));\n} else {\nvar ret \x3d coll;\nvar es \x3d cljs.core.seq(entry);\nwhile(true){\nif((es \x3d\x3d null)){\nreturn ret;\n} else {\nvar e \x3d cljs.core.first(es);\nif(cljs.core.vector_QMARK_(e)){\nvar G__37743 \x3d cljs.core._assoc(ret,cljs.core._nth(e,(0)),cljs.core._nth(e,(1)));\nvar G__37744 \x3d cljs.core.next(es);\nret \x3d G__37743;\nes \x3d G__37744;\ncontinue;\n} else {\nthrow (new Error(\x22conj on a map takes map entries or seqables of map entries\x22));\n}\n}\nbreak;\n}\n}\n});\ncljs_bean.from.cljs.core.TransientVector_assoc_BANG_ \x3d (function cljs_bean$from$cljs$core$TransientVector_assoc_BANG_(tcoll,key,val,type_name){\nif(typeof key \x3d\x3d\x3d \x27number\x27){\nreturn tcoll.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3(null, key,val);\n} else {\nthrow (new Error([cljs.core.str.cljs$core$IFn$_invoke$arity$1(type_name),\x22\x27s key for assoc! must be a number.\x22].join(\x27\x27)));\n}\n});\ncljs_bean.from.cljs.core.PersistentVector_equiv \x3d (function cljs_bean$from$cljs$core$PersistentVector_equiv(coll,other,type,cnt){\nif((other instanceof type)){\nif((cnt \x3d\x3d\x3d cljs.core.count(other))){\nvar me_iter \x3d coll.cljs$core$IIterable$_iterator$arity$1(null, );\nvar you_iter \x3d cljs.core._iterator(other);\nwhile(true){\nif(me_iter.hasNext()){\nvar x \x3d me_iter.next();\nvar y \x3d you_iter.next();\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(x,y)){\ncontinue;\n} else {\nreturn false;\n}\n} else {\nreturn true;\n}\nbreak;\n}\n} else {\nreturn false;\n}\n} else {\nreturn cljs_bean.from.cljs.core.equiv_sequential(coll,other);\n}\n});\ncljs_bean.from.cljs.core.PersistentVector_lookup \x3d (function cljs_bean$from$cljs$core$PersistentVector_lookup(coll,k,not_found){\nif(typeof k \x3d\x3d\x3d \x27number\x27){\nreturn coll.cljs$core$IIndexed$_nth$arity$3(null, k,not_found);\n} else {\nreturn not_found;\n}\n});\ncljs_bean.from.cljs.core.PersistentVector_assoc \x3d (function cljs_bean$from$cljs$core$PersistentVector_assoc(coll,k,v){\nif(typeof k \x3d\x3d\x3d \x27number\x27){\nreturn coll.cljs$core$IVector$_assoc_n$arity$3(null, k,v);\n} else {\nthrow (new Error(\x22Vector\x27s key for assoc must be a number.\x22));\n}\n});\ncljs_bean.from.cljs.core.PersistentVector_contains_key_QMARK_ \x3d (function cljs_bean$from$cljs$core$PersistentVector_contains_key_QMARK_(coll,k,cnt){\nif(cljs.core.integer_QMARK_(k)){\nreturn ((((0) \x3c\x3d k)) \x26\x26 ((k \x3c cnt)));\n} else {\nreturn false;\n}\n});\n"); SHADOW_ENV.evalLoad("cljs_bean.core.js", true, "goog.provide(\x27cljs_bean.core\x27);\ngoog.scope(function(){\n cljs_bean.core.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\ncljs_bean.core.lookup_sentinel \x3d ({});\ncljs_bean.core.primitive_QMARK_ \x3d (function cljs_bean$core$primitive_QMARK_(x){\nreturn ((typeof x \x3d\x3d\x3d \x27number\x27) || (((typeof x \x3d\x3d\x3d \x27string\x27) || (((cljs.core.boolean_QMARK_(x)) || ((x \x3d\x3d null)))))));\n});\ncljs_bean.core.__GT_val \x3d (function cljs_bean$core$__GT_val(x,prop__GT_key,key__GT_prop,transform){\nvar temp__5825__auto__ \x3d (((!((transform \x3d\x3d null))))?(transform.cljs$core$IFn$_invoke$arity$1 ? transform.cljs$core$IFn$_invoke$arity$1(x) : transform.call(null, x)):null);\nif((temp__5825__auto__ \x3d\x3d null)){\nif(cljs_bean.core.primitive_QMARK_(x)){\nreturn x;\n} else {\nif(cljs.core.object_QMARK_(x)){\nreturn (new cljs_bean.core.Bean(null,x,prop__GT_key,key__GT_prop,transform,true,null,null,null));\n} else {\nif(cljs.core.array_QMARK_(x)){\nreturn (new cljs_bean.core.ArrayVector(null,prop__GT_key,key__GT_prop,transform,x,null));\n} else {\nreturn x;\n\n}\n}\n}\n} else {\nvar transformed \x3d temp__5825__auto__;\nreturn transformed;\n}\n});\ncljs_bean.core.unwrap \x3d (function cljs_bean$core$unwrap(x){\nif(cljs_bean.core.primitive_QMARK_(x)){\nreturn x;\n} else {\nif((x instanceof cljs_bean.core.Bean)){\nreturn x.obj;\n} else {\nif((x instanceof cljs_bean.core.ArrayVector)){\nreturn x.arr;\n} else {\nreturn x;\n\n}\n}\n}\n});\ncljs_bean.core.empty_map \x3d cljs.core.PersistentArrayMap.EMPTY;\ncljs_bean.core.snapshot \x3d (function cljs_bean$core$snapshot(x,prop__GT_key,key__GT_prop,transform,recursive_QMARK_){\nvar result \x3d cljs.core.volatile_BANG_(cljs.core.transient$(cljs_bean.core.empty_map));\ncljs_bean.core.goog$module$goog$object.forEach(x,(function (v,k,_){\nreturn result.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, cljs.core.assoc_BANG_.cljs$core$IFn$_invoke$arity$3(result.cljs$core$IDeref$_deref$arity$1(null, ),(prop__GT_key.cljs$core$IFn$_invoke$arity$1 ? prop__GT_key.cljs$core$IFn$_invoke$arity$1(k) : prop__GT_key.call(null, k)),(function (){var G__38707 \x3d v;\nif(cljs.core.truth_(recursive_QMARK_)){\nreturn cljs_bean.core.__GT_val(G__38707,prop__GT_key,key__GT_prop,transform);\n} else {\nreturn G__38707;\n}\n})()));\n}));\n\nreturn cljs.core.persistent_BANG_(cljs.core.deref(result));\n});\ncljs_bean.core.snapshot_arr \x3d (function cljs_bean$core$snapshot_arr(arr){\nreturn cljs.core.vec((function (){var a__5630__auto__ \x3d arr;\nvar l__5631__auto__ \x3d a__5630__auto__.length;\nvar ret \x3d cljs.core.aclone(a__5630__auto__);\nvar idx \x3d (0);\nwhile(true){\nif((idx \x3c l__5631__auto__)){\n(ret[idx] \x3d (function (){var G__38708 \x3d (arr[idx]);\nreturn (cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1 ? cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1(G__38708) : cljs_bean.core.__GT_clj.call(null, G__38708));\n})());\n\nvar G__38876 \x3d (idx + (1));\nidx \x3d G__38876;\ncontinue;\n} else {\nreturn ret;\n}\nbreak;\n}\n})());\n});\ncljs_bean.core.indexed_entry \x3d (function cljs_bean$core$indexed_entry(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i){\nvar prop \x3d (arr[i]);\nreturn (new cljs.core.MapEntry((prop__GT_key.cljs$core$IFn$_invoke$arity$1 ? prop__GT_key.cljs$core$IFn$_invoke$arity$1(prop) : prop__GT_key.call(null, prop)),(function (){var G__38709 \x3d (obj[prop]);\nif(recursive_QMARK_){\nreturn cljs_bean.core.__GT_val(G__38709,prop__GT_key,key__GT_prop,transform);\n} else {\nreturn G__38709;\n}\n})(),null));\n});\ncljs_bean.core.compatible_key_QMARK_ \x3d (function cljs_bean$core$compatible_key_QMARK_(k,prop__GT_key){\nreturn (((((k instanceof cljs.core.Keyword)) \x26\x26 ((prop__GT_key \x3d\x3d\x3d cljs.core.keyword)))) || (((typeof k \x3d\x3d\x3d \x27string\x27) \x26\x26 ((prop__GT_key \x3d\x3d\x3d cljs.core.identity)))));\n});\ncljs_bean.core.compatible_value_QMARK_ \x3d (function cljs_bean$core$compatible_value_QMARK_(v,recursive_QMARK_){\nreturn ((cljs_bean.core.primitive_QMARK_(v)) || ((((!(((((cljs.core.map_QMARK_(v)) \x26\x26 ((!((v instanceof cljs_bean.core.Bean)))))) || (((cljs.core.vector_QMARK_(v)) \x26\x26 ((!((v instanceof cljs_bean.core.ArrayVector)))))))))) \x26\x26 (cljs.core.not((function (){var and__5043__auto____$1 \x3d recursive_QMARK_;\nif(cljs.core.truth_(and__5043__auto____$1)){\nreturn ((cljs.core.object_QMARK_(v)) || (cljs.core.array_QMARK_(v)));\n} else {\nreturn and__5043__auto____$1;\n}\n})())))));\n});\ncljs_bean.core.snapshot_QMARK_ \x3d (function cljs_bean$core$snapshot_QMARK_(k,v,prop__GT_key,recursive_QMARK_){\nreturn (!(((cljs_bean.core.compatible_key_QMARK_(k,prop__GT_key)) \x26\x26 (cljs_bean.core.compatible_value_QMARK_(v,recursive_QMARK_)))));\n});\n\n/**\n* @constructor\n * @implements {cljs.core.IFn}\n * @implements {cljs.core.ITransientMap}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ITransientCollection}\n * @implements {cljs.core.ITransientAssociative}\n * @implements {cljs.core.ILookup}\n*/\ncljs_bean.core.TransientBean \x3d (function (editable_QMARK_,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__cnt){\nthis.editable_QMARK_ \x3d editable_QMARK_;\nthis.obj \x3d obj;\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.recursive_QMARK_ \x3d recursive_QMARK_;\nthis.__cnt \x3d __cnt;\nthis.cljs$lang$protocol_mask$partition0$ \x3d 259;\nthis.cljs$lang$protocol_mask$partition1$ \x3d 56;\n});\n(cljs_bean.core.TransientBean.prototype.cljs$core$ILookup$_lookup$arity$2 \x3d (function (_,k){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(self__.editable_QMARK_){\nvar G__38714 \x3d (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]);\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.__GT_val(G__38714,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38714;\n}\n} else {\nthrow (new Error(\x22lookup after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$ILookup$_lookup$arity$3 \x3d (function (_,k,not_found){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(self__.editable_QMARK_){\nvar ret \x3d cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found);\nvar G__38715 \x3d ret;\nif(((self__.recursive_QMARK_) \x26\x26 ((!((ret \x3d\x3d\x3d not_found)))))){\nreturn cljs_bean.core.__GT_val(G__38715,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38715;\n}\n} else {\nthrow (new Error(\x22lookup after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$ICounted$_count$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif((self__.__cnt \x3d\x3d null)){\nreturn (self__.__cnt \x3d cljs.core.count(cljs.core.js_keys(self__.obj)));\n} else {\nreturn self__.__cnt;\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 \x3d (function (tcoll,o){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.TransientArrayMap_conj_BANG_(tcoll__$1,o,self__.editable_QMARK_);\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 \x3d (function (tcoll){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nif(self__.editable_QMARK_){\n(self__.editable_QMARK_ \x3d false);\n\nreturn (new cljs_bean.core.Bean(null,self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,null,self__.__cnt,null));\n} else {\nthrow (new Error(\x22persistent! called twice\x22));\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 \x3d (function (tcoll,k,v){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nif(self__.editable_QMARK_){\nif(cljs_bean.core.snapshot_QMARK_(k,v,self__.prop__GT_key,self__.recursive_QMARK_)){\nreturn cljs.core._assoc_BANG_(cljs.core.transient$(cljs_bean.core.snapshot(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_)),k,v);\n} else {\n(self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))] \x3d (function (){var G__38719 \x3d v;\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.unwrap(G__38719);\n} else {\nreturn G__38719;\n}\n})());\n\n(self__.__cnt \x3d null);\n\nreturn tcoll__$1;\n}\n} else {\nthrow (new Error(\x22assoc! after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$ITransientMap$_dissoc_BANG_$arity$2 \x3d (function (tcoll,k){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nif(self__.editable_QMARK_){\ndelete self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))];\n\n(self__.__cnt \x3d null);\n\nreturn tcoll__$1;\n} else {\nthrow (new Error(\x22dissoc! after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.call \x3d (function (unused__11796__auto__){\nvar self__ \x3d this;\nvar self__ \x3d this;\nvar G__38721 \x3d (arguments.length - (1));\nswitch (G__38721) {\ncase (1):\nreturn self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)]));\n\nbreak;\ncase (2):\nreturn self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(\x27\x27)));\n\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.apply \x3d (function (self__,args38710){\nvar self__ \x3d this;\nvar self____$1 \x3d this;\nreturn self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38710)));\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$IFn$_invoke$arity$1 \x3d (function (k){\nvar self__ \x3d this;\nvar _ \x3d this;\nif(self__.editable_QMARK_){\nvar G__38722 \x3d (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]);\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.__GT_val(G__38722,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38722;\n}\n} else {\nthrow (new Error(\x22lookup after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientBean.prototype.cljs$core$IFn$_invoke$arity$2 \x3d (function (k,not_found){\nvar self__ \x3d this;\nvar _ \x3d this;\nif(self__.editable_QMARK_){\nvar ret \x3d cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found);\nvar G__38723 \x3d ret;\nif(((self__.recursive_QMARK_) \x26\x26 ((!((ret \x3d\x3d\x3d not_found)))))){\nreturn cljs_bean.core.__GT_val(G__38723,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38723;\n}\n} else {\nthrow (new Error(\x22lookup after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientBean.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,\x22editable?\x22,\x22editable?\x22,-164945806,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),new cljs.core.Symbol(null,\x22boolean\x22,\x22boolean\x22,-278886877,null),new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null)),new cljs.core.Symbol(null,\x22obj\x22,\x22obj\x22,-1672671807,null),new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,\x22recursive?\x22,\x22recursive?\x22,-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),new cljs.core.Symbol(null,\x22boolean\x22,\x22boolean\x22,-278886877,null)], null)),cljs.core.with_meta(new cljs.core.Symbol(null,\x22__cnt\x22,\x22__cnt\x22,1833584904,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null))], null);\n}));\n\n(cljs_bean.core.TransientBean.cljs$lang$type \x3d true);\n\n(cljs_bean.core.TransientBean.cljs$lang$ctorStr \x3d \x22cljs-bean.core/TransientBean\x22);\n\n(cljs_bean.core.TransientBean.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/TransientBean\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/TransientBean.\n */\ncljs_bean.core.__GT_TransientBean \x3d (function cljs_bean$core$__GT_TransientBean(editable_QMARK_,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__cnt){\nreturn (new cljs_bean.core.TransientBean(editable_QMARK_,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__cnt));\n});\n\n\n/**\n* @constructor\n*/\ncljs_bean.core.BeanIterator \x3d (function (obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,cnt){\nthis.obj \x3d obj;\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.recursive_QMARK_ \x3d recursive_QMARK_;\nthis.arr \x3d arr;\nthis.i \x3d i;\nthis.cnt \x3d cnt;\n});\n(cljs_bean.core.BeanIterator.prototype.hasNext \x3d (function (){\nvar self__ \x3d this;\nvar _ \x3d this;\nreturn (self__.i \x3c self__.cnt);\n}));\n\n(cljs_bean.core.BeanIterator.prototype.next \x3d (function (){\nvar self__ \x3d this;\nvar _ \x3d this;\nvar ret \x3d cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i);\n(self__.i \x3d (self__.i + (1)));\n\nreturn ret;\n}));\n\n(cljs_bean.core.BeanIterator.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\x22obj\x22,\x22obj\x22,-1672671807,null),new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,\x22recursive?\x22,\x22recursive?\x22,-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),new cljs.core.Symbol(null,\x22boolean\x22,\x22boolean\x22,-278886877,null)], null)),new cljs.core.Symbol(null,\x22arr\x22,\x22arr\x22,2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,\x22i\x22,\x22i\x22,253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null)),new cljs.core.Symbol(null,\x22cnt\x22,\x22cnt\x22,1924510325,null)], null);\n}));\n\n(cljs_bean.core.BeanIterator.cljs$lang$type \x3d true);\n\n(cljs_bean.core.BeanIterator.cljs$lang$ctorStr \x3d \x22cljs-bean.core/BeanIterator\x22);\n\n(cljs_bean.core.BeanIterator.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/BeanIterator\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/BeanIterator.\n */\ncljs_bean.core.__GT_BeanIterator \x3d (function cljs_bean$core$__GT_BeanIterator(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,cnt){\nreturn (new cljs_bean.core.BeanIterator(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,cnt));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IIndexed}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.ASeq}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.IEmptyableCollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeq}\n * @implements {cljs.core.INext}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.ISequential}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IReduce}\n*/\ncljs_bean.core.BeanSeq \x3d (function (obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,meta){\nthis.obj \x3d obj;\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.recursive_QMARK_ \x3d recursive_QMARK_;\nthis.arr \x3d arr;\nthis.i \x3d i;\nthis.meta \x3d meta;\nthis.cljs$lang$protocol_mask$partition0$ \x3d 2179858686;\nthis.cljs$lang$protocol_mask$partition1$ \x3d 8192;\n});\n(cljs_bean.core.BeanSeq.prototype.toString \x3d (function (){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.pr_str_STAR_(coll);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.equiv \x3d (function (other){\nvar self__ \x3d this;\nvar this$ \x3d this;\nreturn this$.cljs$core$IEquiv$_equiv$arity$2(null, other);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.indexOf \x3d (function() {\nvar G__38894 \x3d null;\nvar G__38894__1 \x3d (function (x){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0));\n});\nvar G__38894__2 \x3d (function (x,start){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start);\n});\nG__38894 \x3d function(x,start){\nswitch(arguments.length){\ncase 1:\nreturn G__38894__1.call(this,x);\ncase 2:\nreturn G__38894__2.call(this,x,start);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__38894.cljs$core$IFn$_invoke$arity$1 \x3d G__38894__1;\nG__38894.cljs$core$IFn$_invoke$arity$2 \x3d G__38894__2;\nreturn G__38894;\n})()\n);\n\n(cljs_bean.core.BeanSeq.prototype.lastIndexOf \x3d (function() {\nvar G__38897 \x3d null;\nvar G__38897__1 \x3d (function (x){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll));\n});\nvar G__38897__2 \x3d (function (x,start){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start);\n});\nG__38897 \x3d function(x,start){\nswitch(arguments.length){\ncase 1:\nreturn G__38897__1.call(this,x);\ncase 2:\nreturn G__38897__2.call(this,x,start);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__38897.cljs$core$IFn$_invoke$arity$1 \x3d G__38897__1;\nG__38897.cljs$core$IFn$_invoke$arity$2 \x3d G__38897__2;\nreturn G__38897;\n})()\n);\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IIndexed$_nth$arity$2 \x3d (function (_,n){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar i__$1 \x3d (n + self__.i);\nif(((((0) \x3c\x3d i__$1)) \x26\x26 ((i__$1 \x3c self__.arr.length)))){\nreturn cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,i__$1);\n} else {\nthrow (new Error(\x22Index out of bounds\x22));\n}\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IIndexed$_nth$arity$3 \x3d (function (_,n,not_found){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar i__$1 \x3d (n + self__.i);\nif(((((0) \x3c\x3d i__$1)) \x26\x26 ((i__$1 \x3c self__.arr.length)))){\nreturn cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,i__$1);\n} else {\nreturn not_found;\n}\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 \x3d (function (coll,writer,opts){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,\x22(\x22,\x22 \x22,\x22)\x22,opts,coll__$1);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IMeta$_meta$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn self__.meta;\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$ICloneable$_clone$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i,self__.meta));\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$INext$_next$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(((self__.i + (1)) \x3c self__.arr.length)){\nreturn (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,(self__.i + (1)),null));\n} else {\nreturn null;\n}\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$ICounted$_count$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar x__5130__auto__ \x3d (0);\nvar y__5131__auto__ \x3d (self__.arr.length - self__.i);\nreturn ((x__5130__auto__ \x3e y__5131__auto__) ? x__5130__auto__ : y__5131__auto__);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IHash$_hash$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.hash_ordered_coll(coll__$1);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 \x3d (function (coll,other){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.equiv_sequential(coll__$1,other);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn cljs.core.List.EMPTY;\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IReduce$_reduce$arity$2 \x3d (function (coll,f){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IReduce$_reduce$arity$3 \x3d (function (coll,f,start){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,start);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$ISeq$_first$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn cljs_bean.core.indexed_entry(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i);\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$ISeq$_rest$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(((self__.i + (1)) \x3c self__.arr.length)){\nreturn (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,(self__.i + (1)),null));\n} else {\nreturn cljs.core.List.EMPTY;\n}\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$ISeqable$_seq$arity$1 \x3d (function (this$){\nvar self__ \x3d this;\nvar this$__$1 \x3d this;\nreturn this$__$1;\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 \x3d (function (coll,new_meta){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((new_meta \x3d\x3d\x3d self__.meta)){\nreturn coll__$1;\n} else {\nreturn (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.arr,self__.i,new_meta));\n}\n}));\n\n(cljs_bean.core.BeanSeq.prototype.cljs$core$ICollection$_conj$arity$2 \x3d (function (coll,o){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.cons(o,coll__$1);\n}));\n\n(cljs_bean.core.BeanSeq.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\x22obj\x22,\x22obj\x22,-1672671807,null),new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,\x22recursive?\x22,\x22recursive?\x22,-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),new cljs.core.Symbol(null,\x22boolean\x22,\x22boolean\x22,-278886877,null)], null)),new cljs.core.Symbol(null,\x22arr\x22,\x22arr\x22,2115492975,null),new cljs.core.Symbol(null,\x22i\x22,\x22i\x22,253690212,null),new cljs.core.Symbol(null,\x22meta\x22,\x22meta\x22,-1154898805,null)], null);\n}));\n\n(cljs_bean.core.BeanSeq.cljs$lang$type \x3d true);\n\n(cljs_bean.core.BeanSeq.cljs$lang$ctorStr \x3d \x22cljs-bean.core/BeanSeq\x22);\n\n(cljs_bean.core.BeanSeq.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/BeanSeq\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/BeanSeq.\n */\ncljs_bean.core.__GT_BeanSeq \x3d (function cljs_bean$core$__GT_BeanSeq(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,meta){\nreturn (new cljs_bean.core.BeanSeq(obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,arr,i,meta));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IKVReduce}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.IFn}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.IEditableCollection}\n * @implements {cljs.core.IFind}\n * @implements {cljs.core.IEmptyableCollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.IIterable}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IAssociative}\n * @implements {cljs.core.IMap}\n * @implements {cljs.core.ILookup}\n * @implements {cljs.core.IReduce}\n*/\ncljs_bean.core.Bean \x3d (function (meta,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__arr,__cnt,__hash){\nthis.meta \x3d meta;\nthis.obj \x3d obj;\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.recursive_QMARK_ \x3d recursive_QMARK_;\nthis.__arr \x3d __arr;\nthis.__cnt \x3d __cnt;\nthis.__hash \x3d __hash;\nthis.cljs$lang$protocol_mask$partition0$ \x3d 2164131599;\nthis.cljs$lang$protocol_mask$partition1$ \x3d 139268;\n});\n(cljs_bean.core.Bean.prototype.cljs$core$IFind$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(cljs_bean.core.Bean.prototype.cljs$core$IFind$_find$arity$2 \x3d (function (_,k){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar v \x3d cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),cljs_bean.core.lookup_sentinel);\nif((v \x3d\x3d\x3d cljs_bean.core.lookup_sentinel)){\nreturn null;\n} else {\nreturn (new cljs.core.MapEntry(k,(function (){var G__38727 \x3d v;\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.__GT_val(G__38727,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38727;\n}\n})(),null));\n}\n}));\n\n(cljs_bean.core.Bean.prototype.toString \x3d (function (){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.pr_str_STAR_(coll);\n}));\n\n(cljs_bean.core.Bean.prototype.equiv \x3d (function (other){\nvar self__ \x3d this;\nvar this$ \x3d this;\nreturn this$.cljs$core$IEquiv$_equiv$arity$2(null, other);\n}));\n\n(cljs_bean.core.Bean.prototype.keys \x3d (function (){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.es6_iterator(cljs.core.keys(coll));\n}));\n\n(cljs_bean.core.Bean.prototype.entries \x3d (function (){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.es6_entries_iterator(cljs.core.seq(coll));\n}));\n\n(cljs_bean.core.Bean.prototype.values \x3d (function (){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.es6_iterator(cljs.core.vals(coll));\n}));\n\n(cljs_bean.core.Bean.prototype.has \x3d (function (k){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.contains_QMARK_(coll,k);\n}));\n\n(cljs_bean.core.Bean.prototype.get \x3d (function (k,not_found){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found);\n}));\n\n(cljs_bean.core.Bean.prototype.forEach \x3d (function (f){\nvar self__ \x3d this;\nvar coll \x3d this;\nvar seq__38733 \x3d cljs.core.seq(coll);\nvar chunk__38734 \x3d null;\nvar count__38735 \x3d (0);\nvar i__38736 \x3d (0);\nwhile(true){\nif((i__38736 \x3c count__38735)){\nvar vec__38743 \x3d chunk__38734.cljs$core$IIndexed$_nth$arity$2(null, i__38736);\nvar k \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38743,(0),null);\nvar v \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38743,(1),null);\n(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k));\n\n\nvar G__38914 \x3d seq__38733;\nvar G__38915 \x3d chunk__38734;\nvar G__38916 \x3d count__38735;\nvar G__38917 \x3d (i__38736 + (1));\nseq__38733 \x3d G__38914;\nchunk__38734 \x3d G__38915;\ncount__38735 \x3d G__38916;\ni__38736 \x3d G__38917;\ncontinue;\n} else {\nvar temp__5823__auto__ \x3d cljs.core.seq(seq__38733);\nif(temp__5823__auto__){\nvar seq__38733__$1 \x3d temp__5823__auto__;\nif(cljs.core.chunked_seq_QMARK_(seq__38733__$1)){\nvar c__5568__auto__ \x3d cljs.core.chunk_first(seq__38733__$1);\nvar G__38918 \x3d cljs.core.chunk_rest(seq__38733__$1);\nvar G__38919 \x3d c__5568__auto__;\nvar G__38920 \x3d cljs.core.count(c__5568__auto__);\nvar G__38921 \x3d (0);\nseq__38733 \x3d G__38918;\nchunk__38734 \x3d G__38919;\ncount__38735 \x3d G__38920;\ni__38736 \x3d G__38921;\ncontinue;\n} else {\nvar vec__38746 \x3d cljs.core.first(seq__38733__$1);\nvar k \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38746,(0),null);\nvar v \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__38746,(1),null);\n(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(v,k) : f.call(null, v,k));\n\n\nvar G__38924 \x3d cljs.core.next(seq__38733__$1);\nvar G__38925 \x3d null;\nvar G__38926 \x3d (0);\nvar G__38927 \x3d (0);\nseq__38733 \x3d G__38924;\nchunk__38734 \x3d G__38925;\ncount__38735 \x3d G__38926;\ni__38736 \x3d G__38927;\ncontinue;\n}\n} else {\nreturn null;\n}\n}\nbreak;\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$ILookup$_lookup$arity$2 \x3d (function (_,k){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar G__38749 \x3d (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]);\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.__GT_val(G__38749,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38749;\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$ILookup$_lookup$arity$3 \x3d (function (_,k,not_found){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar ret \x3d cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found);\nvar G__38750 \x3d ret;\nif(((self__.recursive_QMARK_) \x26\x26 ((!((ret \x3d\x3d\x3d not_found)))))){\nreturn cljs_bean.core.__GT_val(G__38750,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38750;\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 \x3d (function (_,f,init){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\ntry{var result \x3d cljs.core.volatile_BANG_(init);\ncljs_bean.core.goog$module$goog$object.forEach(self__.obj,(function (v,k,___$2){\nvar r \x3d result.cljs$core$IVolatile$_vreset_BANG_$arity$2(null, (function (){var G__38752 \x3d result.cljs$core$IDeref$_deref$arity$1(null, );\nvar G__38753 \x3d (self__.prop__GT_key.cljs$core$IFn$_invoke$arity$1 ? self__.prop__GT_key.cljs$core$IFn$_invoke$arity$1(k) : self__.prop__GT_key.call(null, k));\nvar G__38754 \x3d (function (){var G__38755 \x3d v;\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.__GT_val(G__38755,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38755;\n}\n})();\nreturn (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__38752,G__38753,G__38754) : f.call(null, G__38752,G__38753,G__38754));\n})());\nif(cljs.core.reduced_QMARK_(r)){\nthrow r;\n} else {\nreturn null;\n}\n}));\n\nreturn cljs.core.deref(result);\n}catch (e38751){var x \x3d e38751;\nif(cljs.core.reduced_QMARK_(x)){\nreturn cljs.core.deref(x);\n} else {\nthrow x;\n}\n}}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 \x3d (function (coll,writer,opts){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.print_map(coll__$1,cljs.core.pr_writer,writer,opts);\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IIterable$_iterator$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((self__.__arr \x3d\x3d null)){\n(self__.__arr \x3d cljs.core.js_keys(self__.obj));\n} else {\n}\n\nreturn (new cljs_bean.core.BeanIterator(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,(0),coll__$1.cljs$core$ICounted$_count$arity$1(null, )));\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IMeta$_meta$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn self__.meta;\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$ICloneable$_clone$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.Bean(self__.meta,self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,self__.__cnt,self__.__hash));\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$ICounted$_count$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif((self__.__cnt \x3d\x3d null)){\nif((self__.__arr \x3d\x3d null)){\n(self__.__arr \x3d cljs.core.js_keys(self__.obj));\n} else {\n}\n\nreturn (self__.__cnt \x3d self__.__arr.length);\n} else {\nreturn self__.__cnt;\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IHash$_hash$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nvar h__5154__auto__ \x3d self__.__hash;\nif((!((h__5154__auto__ \x3d\x3d null)))){\nreturn h__5154__auto__;\n} else {\nvar h__5154__auto____$1 \x3d cljs.core.hash_unordered_coll(coll__$1);\n(self__.__hash \x3d h__5154__auto____$1);\n\nreturn h__5154__auto____$1;\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IEquiv$_equiv$arity$2 \x3d (function (coll,other){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.equiv_map(coll__$1,other);\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.TransientBean(true,cljs_bean.core.goog$module$goog$object.clone(self__.obj),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__cnt));\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.Bean(self__.meta,({}),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,[],(0),null));\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IReduce$_reduce$arity$2 \x3d (function (coll,f){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core._reduce(coll__$1.cljs$core$ISeqable$_seq$arity$1(null, ),f);\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IReduce$_reduce$arity$3 \x3d (function (coll,f,start){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn coll__$1.cljs$core$IKVReduce$_kv_reduce$arity$3(null, (function (r,k,v){\nvar G__38761 \x3d r;\nvar G__38762 \x3d (new cljs.core.MapEntry(k,v,null));\nreturn (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__38761,G__38762) : f.call(null, G__38761,G__38762));\n}),start);\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IMap$_dissoc$arity$2 \x3d (function (_,k){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.Bean(self__.meta,(function (){var G__38763 \x3d cljs_bean.core.goog$module$goog$object.clone(self__.obj);\ndelete G__38763[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))];\n\nreturn G__38763;\n})(),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,null,null,null));\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IAssociative$_assoc$arity$3 \x3d (function (_,k,v){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(cljs_bean.core.snapshot_QMARK_(k,v,self__.prop__GT_key,self__.recursive_QMARK_)){\nreturn cljs.core._assoc(cljs.core.with_meta(cljs_bean.core.snapshot(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_),self__.meta),k,v);\n} else {\nreturn (new cljs_bean.core.Bean(self__.meta,(function (){var G__38766 \x3d cljs_bean.core.goog$module$goog$object.clone(self__.obj);\n(G__38766[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))] \x3d (function (){var G__38767 \x3d v;\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.unwrap(G__38767);\n} else {\nreturn G__38767;\n}\n})());\n\nreturn G__38766;\n})(),self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,null,null,null));\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 \x3d (function (coll,k){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn (!((coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,cljs_bean.core.lookup_sentinel) \x3d\x3d\x3d cljs_bean.core.lookup_sentinel)));\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$ISeqable$_seq$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif((self__.__arr \x3d\x3d null)){\n(self__.__arr \x3d cljs.core.js_keys(self__.obj));\n} else {\n}\n\nif((self__.__arr.length \x3e (0))){\nreturn (new cljs_bean.core.BeanSeq(self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,(0),null));\n} else {\nreturn null;\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IWithMeta$_with_meta$arity$2 \x3d (function (coll,new_meta){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((new_meta \x3d\x3d\x3d self__.meta)){\nreturn coll__$1;\n} else {\nreturn (new cljs_bean.core.Bean(new_meta,self__.obj,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.recursive_QMARK_,self__.__arr,self__.__cnt,self__.__hash));\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$ICollection$_conj$arity$2 \x3d (function (coll,entry){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.PersistentArrayMap_conj(coll__$1,entry);\n}));\n\n(cljs_bean.core.Bean.prototype.call \x3d (function (unused__11796__auto__){\nvar self__ \x3d this;\nvar self__ \x3d this;\nvar G__38769 \x3d (arguments.length - (1));\nswitch (G__38769) {\ncase (1):\nreturn self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)]));\n\nbreak;\ncase (2):\nreturn self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(\x27\x27)));\n\n}\n}));\n\n(cljs_bean.core.Bean.prototype.apply \x3d (function (self__,args38726){\nvar self__ \x3d this;\nvar self____$1 \x3d this;\nreturn self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38726)));\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IFn$_invoke$arity$1 \x3d (function (k){\nvar self__ \x3d this;\nvar _ \x3d this;\nvar G__38770 \x3d (self__.obj[(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k))]);\nif(self__.recursive_QMARK_){\nreturn cljs_bean.core.__GT_val(G__38770,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38770;\n}\n}));\n\n(cljs_bean.core.Bean.prototype.cljs$core$IFn$_invoke$arity$2 \x3d (function (k,not_found){\nvar self__ \x3d this;\nvar _ \x3d this;\nvar ret \x3d cljs_bean.core.goog$module$goog$object.get(self__.obj,(self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1 ? self__.key__GT_prop.cljs$core$IFn$_invoke$arity$1(k) : self__.key__GT_prop.call(null, k)),not_found);\nvar G__38773 \x3d ret;\nif(((self__.recursive_QMARK_) \x26\x26 ((!((ret \x3d\x3d\x3d not_found)))))){\nreturn cljs_bean.core.__GT_val(G__38773,self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn G__38773;\n}\n}));\n\n(cljs_bean.core.Bean.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\x22meta\x22,\x22meta\x22,-1154898805,null),new cljs.core.Symbol(null,\x22obj\x22,\x22obj\x22,-1672671807,null),new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null),cljs.core.with_meta(new cljs.core.Symbol(null,\x22recursive?\x22,\x22recursive?\x22,-1314360525,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),new cljs.core.Symbol(null,\x22boolean\x22,\x22boolean\x22,-278886877,null)], null)),cljs.core.with_meta(new cljs.core.Symbol(null,\x22__arr\x22,\x22__arr\x22,2056204649,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,\x22__cnt\x22,\x22__cnt\x22,1833584904,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,\x22__hash\x22,\x22__hash\x22,-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null))], null);\n}));\n\n(cljs_bean.core.Bean.cljs$lang$type \x3d true);\n\n(cljs_bean.core.Bean.cljs$lang$ctorStr \x3d \x22cljs-bean.core/Bean\x22);\n\n(cljs_bean.core.Bean.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/Bean\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/Bean.\n */\ncljs_bean.core.__GT_Bean \x3d (function cljs_bean$core$__GT_Bean(meta,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__arr,__cnt,__hash){\nreturn (new cljs_bean.core.Bean(meta,obj,prop__GT_key,key__GT_prop,transform,recursive_QMARK_,__arr,__cnt,__hash));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IIndexed}\n * @implements {cljs.core.IFn}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ITransientCollection}\n * @implements {cljs.core.ITransientVector}\n * @implements {cljs.core.ITransientAssociative}\n * @implements {cljs.core.ILookup}\n*/\ncljs_bean.core.TransientArrayVector \x3d (function (editable_QMARK_,arr,prop__GT_key,key__GT_prop,transform){\nthis.editable_QMARK_ \x3d editable_QMARK_;\nthis.arr \x3d arr;\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.cljs$lang$protocol_mask$partition1$ \x3d 88;\nthis.cljs$lang$protocol_mask$partition0$ \x3d 275;\n});\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientCollection$_conj_BANG_$arity$2 \x3d (function (tcoll,o){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nif(self__.editable_QMARK_){\nif((!(cljs_bean.core.compatible_value_QMARK_(o,true)))){\nreturn cljs.core._conj_BANG_(cljs.core.transient$(cljs_bean.core.snapshot_arr(self__.arr)),o);\n} else {\nself__.arr.push(cljs_bean.core.unwrap(o));\n\nreturn tcoll__$1;\n}\n} else {\nthrow (new Error(\x22conj! after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientCollection$_persistent_BANG_$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(self__.editable_QMARK_){\n(self__.editable_QMARK_ \x3d false);\n\nreturn (new cljs_bean.core.ArrayVector(null,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,null));\n} else {\nthrow (new Error(\x22persistent! called twice\x22));\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientAssociative$_assoc_BANG_$arity$3 \x3d (function (tcoll,key,val){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.TransientVector_assoc_BANG_(tcoll__$1,key,val,\x22TransientArrayVector\x22);\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientVector$_assoc_n_BANG_$arity$3 \x3d (function (tcoll,n,val){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nif(self__.editable_QMARK_){\nif((!(cljs_bean.core.compatible_value_QMARK_(val,true)))){\nreturn cljs.core._assoc_n_BANG_(cljs.core.transient$(cljs_bean.core.snapshot_arr(self__.arr)),n,val);\n} else {\nif(((((0) \x3c\x3d n)) \x26\x26 ((n \x3c self__.arr.length)))){\n(self__.arr[n] \x3d cljs_bean.core.unwrap(val));\n\nreturn tcoll__$1;\n} else {\nif((n \x3d\x3d\x3d self__.arr.length)){\nreturn tcoll__$1.cljs$core$ITransientCollection$_conj_BANG_$arity$2(null, val);\n} else {\nthrow (new Error([\x22Index \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),\x22 out of bounds for TransientArrayVector of length\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.arr.length)].join(\x27\x27)));\n\n}\n}\n}\n} else {\nthrow (new Error(\x22assoc! after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ITransientVector$_pop_BANG_$arity$1 \x3d (function (tcoll){\nvar self__ \x3d this;\nvar tcoll__$1 \x3d this;\nif(self__.editable_QMARK_){\nif((self__.arr.length \x3d\x3d\x3d (0))){\nthrow (new Error(\x22Can\x27t pop empty vector\x22));\n} else {\n(self__.arr \x3d self__.arr.slice((0),(self__.arr.length - (1))));\n\nreturn tcoll__$1;\n}\n} else {\nthrow (new Error(\x22pop! after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ICounted$_count$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(self__.editable_QMARK_){\nreturn self__.arr.length;\n} else {\nthrow (new Error(\x22count after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IIndexed$_nth$arity$2 \x3d (function (_,n){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(self__.editable_QMARK_){\nreturn cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nthrow (new Error(\x22nth after persistent!\x22));\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IIndexed$_nth$arity$3 \x3d (function (coll,n,not_found){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif(((((0) \x3c\x3d n)) \x26\x26 ((n \x3c self__.arr.length)))){\nreturn coll__$1.cljs$core$IIndexed$_nth$arity$2(null, n);\n} else {\nreturn not_found;\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ILookup$_lookup$arity$2 \x3d (function (coll,k){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null);\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$ILookup$_lookup$arity$3 \x3d (function (coll,k,not_found){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif(typeof k \x3d\x3d\x3d \x27number\x27){\nreturn coll__$1.cljs$core$IIndexed$_nth$arity$3(null, k,not_found);\n} else {\nreturn not_found;\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.call \x3d (function (unused__11796__auto__){\nvar self__ \x3d this;\nvar self__ \x3d this;\nvar G__38780 \x3d (arguments.length - (1));\nswitch (G__38780) {\ncase (1):\nreturn self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)]));\n\nbreak;\ncase (2):\nreturn self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(\x27\x27)));\n\n}\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.apply \x3d (function (self__,args38779){\nvar self__ \x3d this;\nvar self____$1 \x3d this;\nreturn self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38779)));\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IFn$_invoke$arity$1 \x3d (function (k){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn coll.cljs$core$ILookup$_lookup$arity$2(null, k);\n}));\n\n(cljs_bean.core.TransientArrayVector.prototype.cljs$core$IFn$_invoke$arity$2 \x3d (function (k,not_found){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn coll.cljs$core$ILookup$_lookup$arity$3(null, k,not_found);\n}));\n\n(cljs_bean.core.TransientArrayVector.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,\x22editable?\x22,\x22editable?\x22,-164945806,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),new cljs.core.Symbol(null,\x22boolean\x22,\x22boolean\x22,-278886877,null),new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null)),cljs.core.with_meta(new cljs.core.Symbol(null,\x22arr\x22,\x22arr\x22,2115492975,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null)),new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null)], null);\n}));\n\n(cljs_bean.core.TransientArrayVector.cljs$lang$type \x3d true);\n\n(cljs_bean.core.TransientArrayVector.cljs$lang$ctorStr \x3d \x22cljs-bean.core/TransientArrayVector\x22);\n\n(cljs_bean.core.TransientArrayVector.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/TransientArrayVector\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/TransientArrayVector.\n */\ncljs_bean.core.__GT_TransientArrayVector \x3d (function cljs_bean$core$__GT_TransientArrayVector(editable_QMARK_,arr,prop__GT_key,key__GT_prop,transform){\nreturn (new cljs_bean.core.TransientArrayVector(editable_QMARK_,arr,prop__GT_key,key__GT_prop,transform));\n});\n\n\n/**\n* @constructor\n*/\ncljs_bean.core.ArrayVectorIterator \x3d (function (prop__GT_key,key__GT_prop,transform,arr,i,cnt){\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.arr \x3d arr;\nthis.i \x3d i;\nthis.cnt \x3d cnt;\n});\n(cljs_bean.core.ArrayVectorIterator.prototype.hasNext \x3d (function (){\nvar self__ \x3d this;\nvar _ \x3d this;\nreturn (self__.i \x3c self__.cnt);\n}));\n\n(cljs_bean.core.ArrayVectorIterator.prototype.next \x3d (function (){\nvar self__ \x3d this;\nvar _ \x3d this;\nvar ret \x3d cljs_bean.core.__GT_val((self__.arr[self__.i]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n(self__.i \x3d (self__.i + (1)));\n\nreturn ret;\n}));\n\n(cljs_bean.core.ArrayVectorIterator.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null),new cljs.core.Symbol(null,\x22arr\x22,\x22arr\x22,2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,\x22i\x22,\x22i\x22,253690212,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null)),new cljs.core.Symbol(null,\x22cnt\x22,\x22cnt\x22,1924510325,null)], null);\n}));\n\n(cljs_bean.core.ArrayVectorIterator.cljs$lang$type \x3d true);\n\n(cljs_bean.core.ArrayVectorIterator.cljs$lang$ctorStr \x3d \x22cljs-bean.core/ArrayVectorIterator\x22);\n\n(cljs_bean.core.ArrayVectorIterator.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/ArrayVectorIterator\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/ArrayVectorIterator.\n */\ncljs_bean.core.__GT_ArrayVectorIterator \x3d (function cljs_bean$core$__GT_ArrayVectorIterator(prop__GT_key,key__GT_prop,transform,arr,i,cnt){\nreturn (new cljs_bean.core.ArrayVectorIterator(prop__GT_key,key__GT_prop,transform,arr,i,cnt));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IIndexed}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.ASeq}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.IEmptyableCollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeq}\n * @implements {cljs.core.INext}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.ISequential}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IReduce}\n*/\ncljs_bean.core.ArrayVectorSeq \x3d (function (prop__GT_key,key__GT_prop,transform,arr,i,meta){\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.arr \x3d arr;\nthis.i \x3d i;\nthis.meta \x3d meta;\nthis.cljs$lang$protocol_mask$partition0$ \x3d 2179858686;\nthis.cljs$lang$protocol_mask$partition1$ \x3d 8192;\n});\n(cljs_bean.core.ArrayVectorSeq.prototype.toString \x3d (function (){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.pr_str_STAR_(coll);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.equiv \x3d (function (other){\nvar self__ \x3d this;\nvar this$ \x3d this;\nreturn this$.cljs$core$IEquiv$_equiv$arity$2(null, other);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.indexOf \x3d (function() {\nvar G__38967 \x3d null;\nvar G__38967__1 \x3d (function (x){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0));\n});\nvar G__38967__2 \x3d (function (x,start){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start);\n});\nG__38967 \x3d function(x,start){\nswitch(arguments.length){\ncase 1:\nreturn G__38967__1.call(this,x);\ncase 2:\nreturn G__38967__2.call(this,x,start);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__38967.cljs$core$IFn$_invoke$arity$1 \x3d G__38967__1;\nG__38967.cljs$core$IFn$_invoke$arity$2 \x3d G__38967__2;\nreturn G__38967;\n})()\n);\n\n(cljs_bean.core.ArrayVectorSeq.prototype.lastIndexOf \x3d (function() {\nvar G__38970 \x3d null;\nvar G__38970__1 \x3d (function (x){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,cljs.core.count(coll));\n});\nvar G__38970__2 \x3d (function (x,start){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start);\n});\nG__38970 \x3d function(x,start){\nswitch(arguments.length){\ncase 1:\nreturn G__38970__1.call(this,x);\ncase 2:\nreturn G__38970__2.call(this,x,start);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__38970.cljs$core$IFn$_invoke$arity$1 \x3d G__38970__1;\nG__38970.cljs$core$IFn$_invoke$arity$2 \x3d G__38970__2;\nreturn G__38970;\n})()\n);\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IIndexed$_nth$arity$2 \x3d (function (_,n){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar i__$1 \x3d (n + self__.i);\nif(((((0) \x3c\x3d i__$1)) \x26\x26 ((i__$1 \x3c self__.arr.length)))){\nreturn cljs_bean.core.__GT_val((self__.arr[i__$1]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nthrow (new Error(\x22Index out of bounds\x22));\n}\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IIndexed$_nth$arity$3 \x3d (function (_,n,not_found){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar i__$1 \x3d (n + self__.i);\nif(((((0) \x3c\x3d i__$1)) \x26\x26 ((i__$1 \x3c self__.arr.length)))){\nreturn cljs_bean.core.__GT_val((self__.arr[i__$1]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn not_found;\n}\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 \x3d (function (coll,writer,opts){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,\x22(\x22,\x22 \x22,\x22)\x22,opts,coll__$1);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IMeta$_meta$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn self__.meta;\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ICloneable$_clone$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.i,self__.meta));\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$INext$_next$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(((self__.i + (1)) \x3c self__.arr.length)){\nreturn (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(self__.i + (1)),null));\n} else {\nreturn null;\n}\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ICounted$_count$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nvar x__5130__auto__ \x3d (0);\nvar y__5131__auto__ \x3d (self__.arr.length - self__.i);\nreturn ((x__5130__auto__ \x3e y__5131__auto__) ? x__5130__auto__ : y__5131__auto__);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IHash$_hash$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.hash_ordered_coll(coll__$1);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IEquiv$_equiv$arity$2 \x3d (function (coll,other){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.equiv_sequential(coll__$1,other);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn cljs.core.List.EMPTY;\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IReduce$_reduce$arity$2 \x3d (function (coll,f){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(coll__$1,f);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IReduce$_reduce$arity$3 \x3d (function (coll,f,start){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(coll__$1,f,start);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ISeq$_first$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn cljs_bean.core.__GT_val((self__.arr[self__.i]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ISeq$_rest$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif(((self__.i + (1)) \x3c self__.arr.length)){\nreturn (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(self__.i + (1)),null));\n} else {\nreturn cljs.core.List.EMPTY;\n}\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ISeqable$_seq$arity$1 \x3d (function (this$){\nvar self__ \x3d this;\nvar this$__$1 \x3d this;\nreturn this$__$1;\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$IWithMeta$_with_meta$arity$2 \x3d (function (coll,new_meta){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((new_meta \x3d\x3d\x3d self__.meta)){\nreturn coll__$1;\n} else {\nreturn (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.i,new_meta));\n}\n}));\n\n(cljs_bean.core.ArrayVectorSeq.prototype.cljs$core$ICollection$_conj$arity$2 \x3d (function (coll,o){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.cons(o,coll__$1);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null),new cljs.core.Symbol(null,\x22arr\x22,\x22arr\x22,2115492975,null),new cljs.core.Symbol(null,\x22i\x22,\x22i\x22,253690212,null),new cljs.core.Symbol(null,\x22meta\x22,\x22meta\x22,-1154898805,null)], null);\n}));\n\n(cljs_bean.core.ArrayVectorSeq.cljs$lang$type \x3d true);\n\n(cljs_bean.core.ArrayVectorSeq.cljs$lang$ctorStr \x3d \x22cljs-bean.core/ArrayVectorSeq\x22);\n\n(cljs_bean.core.ArrayVectorSeq.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/ArrayVectorSeq\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/ArrayVectorSeq.\n */\ncljs_bean.core.__GT_ArrayVectorSeq \x3d (function cljs_bean$core$__GT_ArrayVectorSeq(prop__GT_key,key__GT_prop,transform,arr,i,meta){\nreturn (new cljs_bean.core.ArrayVectorSeq(prop__GT_key,key__GT_prop,transform,arr,i,meta));\n});\n\n\n/**\n* @constructor\n * @implements {cljs.core.IIndexed}\n * @implements {cljs.core.IVector}\n * @implements {cljs.core.IReversible}\n * @implements {cljs.core.IKVReduce}\n * @implements {cljs.core.IEquiv}\n * @implements {cljs.core.IHash}\n * @implements {cljs.core.IFn}\n * @implements {cljs.core.ICollection}\n * @implements {cljs.core.IEditableCollection}\n * @implements {cljs.core.IFind}\n * @implements {cljs.core.IEmptyableCollection}\n * @implements {cljs.core.ICounted}\n * @implements {cljs.core.ISeqable}\n * @implements {cljs.core.IMeta}\n * @implements {cljs.core.ICloneable}\n * @implements {cljs.core.IStack}\n * @implements {cljs.core.IPrintWithWriter}\n * @implements {cljs.core.IIterable}\n * @implements {cljs.core.IComparable}\n * @implements {cljs.core.ISequential}\n * @implements {cljs.core.IWithMeta}\n * @implements {cljs.core.IAssociative}\n * @implements {cljs.core.ILookup}\n * @implements {cljs.core.IReduce}\n*/\ncljs_bean.core.ArrayVector \x3d (function (meta,prop__GT_key,key__GT_prop,transform,arr,__hash){\nthis.meta \x3d meta;\nthis.prop__GT_key \x3d prop__GT_key;\nthis.key__GT_prop \x3d key__GT_prop;\nthis.transform \x3d transform;\nthis.arr \x3d arr;\nthis.__hash \x3d __hash;\nthis.cljs$lang$protocol_mask$partition0$ \x3d 2315150111;\nthis.cljs$lang$protocol_mask$partition1$ \x3d 141316;\n});\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IFind$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IFind$_find$arity$2 \x3d (function (coll,n){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif(((((0) \x3c\x3d n)) \x26\x26 ((n \x3c self__.arr.length)))){\nreturn (new cljs.core.MapEntry(n,cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform),null));\n} else {\nreturn null;\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.toString \x3d (function (){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs.core.pr_str_STAR_(coll);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.equiv \x3d (function (other){\nvar self__ \x3d this;\nvar this$ \x3d this;\nreturn this$.cljs$core$IEquiv$_equiv$arity$2(null, other);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.indexOf \x3d (function() {\nvar G__38986 \x3d null;\nvar G__38986__1 \x3d (function (x){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,(0));\n});\nvar G__38986__2 \x3d (function (x,start){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._indexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start);\n});\nG__38986 \x3d function(x,start){\nswitch(arguments.length){\ncase 1:\nreturn G__38986__1.call(this,x);\ncase 2:\nreturn G__38986__2.call(this,x,start);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__38986.cljs$core$IFn$_invoke$arity$1 \x3d G__38986__1;\nG__38986.cljs$core$IFn$_invoke$arity$2 \x3d G__38986__2;\nreturn G__38986;\n})()\n);\n\n(cljs_bean.core.ArrayVector.prototype.lastIndexOf \x3d (function() {\nvar G__38988 \x3d null;\nvar G__38988__1 \x3d (function (x){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$2(coll,x);\n});\nvar G__38988__2 \x3d (function (x,start){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn cljs_bean.from.cljs.core._lastIndexOf.cljs$core$IFn$_invoke$arity$3(coll,x,start);\n});\nG__38988 \x3d function(x,start){\nswitch(arguments.length){\ncase 1:\nreturn G__38988__1.call(this,x);\ncase 2:\nreturn G__38988__2.call(this,x,start);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__38988.cljs$core$IFn$_invoke$arity$1 \x3d G__38988__1;\nG__38988.cljs$core$IFn$_invoke$arity$2 \x3d G__38988__2;\nreturn G__38988;\n})()\n);\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$ILookup$_lookup$arity$2 \x3d (function (coll,k){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn coll__$1.cljs$core$ILookup$_lookup$arity$3(null, k,null);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$ILookup$_lookup$arity$3 \x3d (function (coll,k,not_found){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.PersistentVector_lookup(coll__$1,k,not_found);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IKVReduce$_kv_reduce$arity$3 \x3d (function (v,f,init){\nvar self__ \x3d this;\nvar v__$1 \x3d this;\nvar i \x3d (0);\nvar init__$1 \x3d init;\nwhile(true){\nif((i \x3c self__.arr.length)){\nvar len \x3d self__.arr.length;\nvar init__$2 \x3d (function (){var j \x3d (0);\nvar init__$2 \x3d init__$1;\nwhile(true){\nif((j \x3c len)){\nvar init__$3 \x3d (function (){var G__38803 \x3d init__$2;\nvar G__38804 \x3d (j + i);\nvar G__38805 \x3d cljs_bean.core.__GT_val((self__.arr[j]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\nreturn (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__38803,G__38804,G__38805) : f.call(null, G__38803,G__38804,G__38805));\n})();\nif(cljs.core.reduced_QMARK_(init__$3)){\nreturn init__$3;\n} else {\nvar G__38993 \x3d (j + (1));\nvar G__38994 \x3d init__$3;\nj \x3d G__38993;\ninit__$2 \x3d G__38994;\ncontinue;\n}\n} else {\nreturn init__$2;\n}\nbreak;\n}\n})();\nif(cljs.core.reduced_QMARK_(init__$2)){\nreturn cljs.core.deref(init__$2);\n} else {\nvar G__38995 \x3d (i + len);\nvar G__38996 \x3d init__$2;\ni \x3d G__38995;\ninit__$1 \x3d G__38996;\ncontinue;\n}\n} else {\nreturn init__$1;\n}\nbreak;\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IIndexed$_nth$arity$2 \x3d (function (coll,n){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif(((((0) \x3c\x3d n)) \x26\x26 ((n \x3c self__.arr.length)))){\nreturn cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nthrow (new Error([\x22No item \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),\x22 in vector of length \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.arr.length)].join(\x27\x27)));\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IIndexed$_nth$arity$3 \x3d (function (coll,n,not_found){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif(((((0) \x3c\x3d n)) \x26\x26 ((n \x3c self__.arr.length)))){\nreturn cljs_bean.core.__GT_val((self__.arr[n]),self__.prop__GT_key,self__.key__GT_prop,self__.transform);\n} else {\nreturn not_found;\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IPrintWithWriter$_pr_writer$arity$3 \x3d (function (coll,writer,opts){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs.core.pr_sequential_writer(writer,cljs.core.pr_writer,\x22[\x22,\x22 \x22,\x22]\x22,opts,coll__$1);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IVector$_assoc_n$arity$3 \x3d (function (coll,n,val){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif(((((0) \x3c\x3d n)) \x26\x26 ((n \x3c self__.arr.length)))){\nif((!(cljs_bean.core.compatible_value_QMARK_(val,true)))){\nreturn cljs.core._assoc_n(cljs_bean.core.snapshot_arr(self__.arr),n,val);\n} else {\nvar new_arr \x3d cljs.core.aclone(self__.arr);\n(new_arr[n] \x3d cljs_bean.core.unwrap(val));\n\nreturn (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,new_arr,null));\n}\n} else {\nif((n \x3d\x3d\x3d self__.arr.length)){\nreturn coll__$1.cljs$core$ICollection$_conj$arity$2(null, val);\n} else {\nthrow (new Error([\x22Index \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(n),\x22 out of bounds [0,\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(self__.arr.length),\x22]\x22].join(\x27\x27)));\n\n}\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IIterable$_iterator$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.ArrayVectorIterator(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(0),self__.arr.length));\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IMeta$_meta$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn self__.meta;\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$ICloneable$_clone$arity$1 \x3d (function (_){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nreturn (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.__hash));\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$ICounted$_count$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn self__.arr.length;\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IStack$_peek$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((self__.arr.length \x3e (0))){\nreturn coll__$1.cljs$core$IIndexed$_nth$arity$2(null, (self__.arr.length - (1)));\n} else {\nreturn null;\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IStack$_pop$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((self__.arr.length \x3d\x3d\x3d (0))){\nthrow (new Error(\x22Can\x27t pop empty vector\x22));\n} else {\nif(((1) \x3d\x3d\x3d self__.arr.length)){\nreturn coll__$1.cljs$core$IEmptyableCollection$_empty$arity$1(null, );\n} else {\nvar new_arr \x3d cljs.core.aclone(self__.arr);\nreturn (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,new_arr.slice((0),(new_arr.length - (1))),null));\n\n}\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IReversible$_rseq$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((self__.arr.length \x3e (0))){\nreturn (new cljs.core.RSeq(coll__$1,(self__.arr.length - (1)),null));\n} else {\nreturn null;\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IHash$_hash$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nvar h__5154__auto__ \x3d self__.__hash;\nif((!((h__5154__auto__ \x3d\x3d null)))){\nreturn h__5154__auto__;\n} else {\nvar h__5154__auto____$1 \x3d cljs.core.hash_ordered_coll(coll__$1);\n(self__.__hash \x3d h__5154__auto____$1);\n\nreturn h__5154__auto____$1;\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IEquiv$_equiv$arity$2 \x3d (function (coll,other){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.PersistentVector_equiv(coll__$1,other,cljs_bean.core.ArrayVector,self__.arr.length);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IEditableCollection$_as_transient$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn (new cljs_bean.core.TransientArrayVector(true,cljs.core.aclone(self__.arr),self__.prop__GT_key,self__.key__GT_prop,self__.transform));\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IEmptyableCollection$_empty$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,[],null));\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IReduce$_reduce$arity$2 \x3d (function (v,f){\nvar self__ \x3d this;\nvar v__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$2(v__$1,f);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IReduce$_reduce$arity$3 \x3d (function (v,f,init){\nvar self__ \x3d this;\nvar v__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.ci_reduce.cljs$core$IFn$_invoke$arity$3(v__$1,f,init);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IAssociative$_assoc$arity$3 \x3d (function (coll,k,v){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.PersistentVector_assoc(coll__$1,k,v);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IAssociative$_contains_key_QMARK_$arity$2 \x3d (function (coll,k){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nreturn cljs_bean.from.cljs.core.PersistentVector_contains_key_QMARK_(coll__$1,k,self__.arr.length);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$ISeqable$_seq$arity$1 \x3d (function (coll){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((self__.arr.length \x3e (0))){\nreturn (new cljs_bean.core.ArrayVectorSeq(self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,(0),null));\n} else {\nreturn null;\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IWithMeta$_with_meta$arity$2 \x3d (function (coll,new_meta){\nvar self__ \x3d this;\nvar coll__$1 \x3d this;\nif((new_meta \x3d\x3d\x3d self__.meta)){\nreturn coll__$1;\n} else {\nreturn (new cljs_bean.core.ArrayVector(new_meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,self__.arr,self__.__hash));\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$ICollection$_conj$arity$2 \x3d (function (_,o){\nvar self__ \x3d this;\nvar ___$1 \x3d this;\nif((!(cljs_bean.core.compatible_value_QMARK_(o,true)))){\nreturn cljs.core._conj(cljs_bean.core.snapshot_arr(self__.arr),o);\n} else {\nvar new_arr \x3d cljs.core.aclone(self__.arr);\n(new_arr[new_arr.length] \x3d cljs_bean.core.unwrap(o));\n\nreturn (new cljs_bean.core.ArrayVector(self__.meta,self__.prop__GT_key,self__.key__GT_prop,self__.transform,new_arr,null));\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.call \x3d (function (unused__11796__auto__){\nvar self__ \x3d this;\nvar self__ \x3d this;\nvar G__38812 \x3d (arguments.length - (1));\nswitch (G__38812) {\ncase (1):\nreturn self__.cljs$core$IFn$_invoke$arity$1((arguments[(1)]));\n\nbreak;\ncase (2):\nreturn self__.cljs$core$IFn$_invoke$arity$2((arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1((arguments.length - (1)))].join(\x27\x27)));\n\n}\n}));\n\n(cljs_bean.core.ArrayVector.prototype.apply \x3d (function (self__,args38799){\nvar self__ \x3d this;\nvar self____$1 \x3d this;\nreturn self____$1.call.apply(self____$1,[self____$1].concat(cljs.core.aclone(args38799)));\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IFn$_invoke$arity$1 \x3d (function (k){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn coll.cljs$core$IIndexed$_nth$arity$2(null, k);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IFn$_invoke$arity$2 \x3d (function (k,not_found){\nvar self__ \x3d this;\nvar coll \x3d this;\nreturn coll.cljs$core$IIndexed$_nth$arity$3(null, k,not_found);\n}));\n\n(cljs_bean.core.ArrayVector.prototype.cljs$core$IComparable$_compare$arity$2 \x3d (function (x,y){\nvar self__ \x3d this;\nvar x__$1 \x3d this;\nif(cljs.core.vector_QMARK_(y)){\nreturn cljs_bean.from.cljs.core.compare_indexed.cljs$core$IFn$_invoke$arity$2(x__$1,y);\n} else {\nthrow (new Error([\x22Cannot compare \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(x__$1),\x22 to \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(\x27\x27)));\n}\n}));\n\n(cljs_bean.core.ArrayVector.getBasis \x3d (function (){\nreturn new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,\x22meta\x22,\x22meta\x22,-1154898805,null),new cljs.core.Symbol(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,342816281,null),new cljs.core.Symbol(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,612078996,null),new cljs.core.Symbol(null,\x22transform\x22,\x22transform\x22,-1273134005,null),new cljs.core.Symbol(null,\x22arr\x22,\x22arr\x22,2115492975,null),cljs.core.with_meta(new cljs.core.Symbol(null,\x22__hash\x22,\x22__hash\x22,-1328796629,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22mutable\x22,\x22mutable\x22,875778266),true], null))], null);\n}));\n\n(cljs_bean.core.ArrayVector.cljs$lang$type \x3d true);\n\n(cljs_bean.core.ArrayVector.cljs$lang$ctorStr \x3d \x22cljs-bean.core/ArrayVector\x22);\n\n(cljs_bean.core.ArrayVector.cljs$lang$ctorPrWriter \x3d (function (this__5330__auto__,writer__5331__auto__,opt__5332__auto__){\nreturn cljs.core._write(writer__5331__auto__,\x22cljs-bean.core/ArrayVector\x22);\n}));\n\n/**\n * Positional factory function for cljs-bean.core/ArrayVector.\n */\ncljs_bean.core.__GT_ArrayVector \x3d (function cljs_bean$core$__GT_ArrayVector(meta,prop__GT_key,key__GT_prop,transform,arr,__hash){\nreturn (new cljs_bean.core.ArrayVector(meta,prop__GT_key,key__GT_prop,transform,arr,__hash));\n});\n\ncljs_bean.core.default_key__GT_prop \x3d (function cljs_bean$core$default_key__GT_prop(x){\nif((x instanceof cljs.core.Keyword)){\nreturn x.fqn;\n} else {\nreturn null;\n}\n});\n/**\n * Takes a JavaScript object and returns a read-only implementation of the map\n * abstraction backed by the object.\n * \n * By default, bean produces beans that keywordize the keys. Supply\n * :keywordize-keys false to suppress this behavior. You can alternatively\n * supply :prop-\x3ekey and :key-\x3eprop with functions that control the mapping\n * between properties and keys.\n * \n * Supply :recursive true to create a bean which recursively converts\n * JavaScript object values to beans and JavaScript arrays into vectors.\n * \n * Supply :transform and a function of one argument to transform values being\n * converted from JavaScript to ClojureScript. This function should return nil\n * if no conversion is to be performed, thus allowing default logic to be applied.\n * \n * Calling (bean) produces an empty bean.\n */\ncljs_bean.core.bean \x3d (function cljs_bean$core$bean(var_args){\nvar G__38826 \x3d arguments.length;\nswitch (G__38826) {\ncase 0:\nreturn cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nvar args_arr__5794__auto__ \x3d [];\nvar len__5769__auto___39033 \x3d arguments.length;\nvar i__5770__auto___39035 \x3d (0);\nwhile(true){\nif((i__5770__auto___39035 \x3c len__5769__auto___39033)){\nargs_arr__5794__auto__.push((arguments[i__5770__auto___39035]));\n\nvar G__39036 \x3d (i__5770__auto___39035 + (1));\ni__5770__auto___39035 \x3d G__39036;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5795__auto__ \x3d (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null));\nreturn cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__);\n\n}\n});\n\n(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn (new cljs_bean.core.Bean(null,({}),cljs.core.keyword,cljs_bean.core.default_key__GT_prop,null,false,[],(0),null));\n}));\n\n(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1 \x3d (function (x){\nreturn (new cljs_bean.core.Bean(null,x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,null,false,null,null,null));\n}));\n\n(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$variadic \x3d (function (x,opts){\nvar map__38830 \x3d opts;\nvar map__38830__$1 \x3d cljs.core.__destructure_map(map__38830);\nvar keywordize_keys \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,\x22keywordize-keys\x22,\x22keywordize-keys\x22,1310784252));\nvar prop__GT_key \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,-1297715246));\nvar key__GT_prop \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,-1028452531));\nvar transform \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,\x22transform\x22,\x22transform\x22,1381301764));\nvar recursive \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38830__$1,new cljs.core.Keyword(null,\x22recursive\x22,\x22recursive\x22,718885872));\nif(keywordize_keys \x3d\x3d\x3d false){\nreturn (new cljs_bean.core.Bean(null,x,cljs.core.identity,cljs.core.identity,transform,cljs.core.boolean$(recursive),null,null,null));\n} else {\nif((((!((prop__GT_key \x3d\x3d null)))) \x26\x26 ((!((key__GT_prop \x3d\x3d null)))))){\nreturn (new cljs_bean.core.Bean(null,x,prop__GT_key,key__GT_prop,transform,cljs.core.boolean$(recursive),null,null,null));\n} else {\nreturn (new cljs_bean.core.Bean(null,x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,transform,cljs.core.boolean$(recursive),null,null,null));\n\n}\n}\n}));\n\n/** @this {Function} */\n(cljs_bean.core.bean.cljs$lang$applyTo \x3d (function (seq38824){\nvar G__38825 \x3d cljs.core.first(seq38824);\nvar seq38824__$1 \x3d cljs.core.next(seq38824);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__38825,seq38824__$1);\n}));\n\n(cljs_bean.core.bean.cljs$lang$maxFixedArity \x3d (1));\n\n/**\n * Returns true if x is a bean.\n */\ncljs_bean.core.bean_QMARK_ \x3d (function cljs_bean$core$bean_QMARK_(x){\nreturn (x instanceof cljs_bean.core.Bean);\n});\n/**\n * Takes a bean and returns a JavaScript object.\n */\ncljs_bean.core.object \x3d (function cljs_bean$core$object(b){\nreturn b.obj;\n});\n/**\n * Recursively converts JavaScript values to ClojureScript.\n * \n * JavaScript objects are converted to beans with keywords for keys.\n * \n * JavaScript arrays are converted to read-only implementations of the vector\n * abstraction, backed by the supplied array.\n * \n * By default, -\x3eclj produces values that keywordize the keys. Supply\n * :keywordize-keys false to suppress this behavior. You can alternatively\n * supply :prop-\x3ekey and :key-\x3eprop with functions that control the mapping\n * between properties and keys.\n * \n * Supply :transform and a function of one argument to transform values being\n * converted from JavaScript to ClojureScript. This function should return nil\n * if no conversion is to be performed, thus allowing default logic to be applied.\n */\ncljs_bean.core.__GT_clj \x3d (function cljs_bean$core$__GT_clj(var_args){\nvar G__38845 \x3d arguments.length;\nswitch (G__38845) {\ncase 1:\nreturn cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nvar args_arr__5794__auto__ \x3d [];\nvar len__5769__auto___39047 \x3d arguments.length;\nvar i__5770__auto___39048 \x3d (0);\nwhile(true){\nif((i__5770__auto___39048 \x3c len__5769__auto___39047)){\nargs_arr__5794__auto__.push((arguments[i__5770__auto___39048]));\n\nvar G__39050 \x3d (i__5770__auto___39048 + (1));\ni__5770__auto___39048 \x3d G__39050;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5795__auto__ \x3d (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null));\nreturn cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__);\n\n}\n});\n\n(cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1 \x3d (function (x){\nreturn cljs_bean.core.__GT_val(x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,null);\n}));\n\n(cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$variadic \x3d (function (x,opts){\nvar map__38847 \x3d opts;\nvar map__38847__$1 \x3d cljs.core.__destructure_map(map__38847);\nvar keywordize_keys \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,\x22keywordize-keys\x22,\x22keywordize-keys\x22,1310784252));\nvar prop__GT_key \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,\x22prop-\x3ekey\x22,\x22prop-\x3ekey\x22,-1297715246));\nvar key__GT_prop \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,-1028452531));\nvar transform \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38847__$1,new cljs.core.Keyword(null,\x22transform\x22,\x22transform\x22,1381301764));\nif(keywordize_keys \x3d\x3d\x3d false){\nreturn cljs_bean.core.__GT_val(x,cljs.core.identity,cljs.core.identity,transform);\n} else {\nif((((!((prop__GT_key \x3d\x3d null)))) \x26\x26 ((!((key__GT_prop \x3d\x3d null)))))){\nreturn cljs_bean.core.__GT_val(x,prop__GT_key,key__GT_prop,transform);\n} else {\nreturn cljs_bean.core.__GT_val(x,cljs.core.keyword,cljs_bean.core.default_key__GT_prop,transform);\n\n}\n}\n}));\n\n/** @this {Function} */\n(cljs_bean.core.__GT_clj.cljs$lang$applyTo \x3d (function (seq38840){\nvar G__38841 \x3d cljs.core.first(seq38840);\nvar seq38840__$1 \x3d cljs.core.next(seq38840);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__38841,seq38840__$1);\n}));\n\n(cljs_bean.core.__GT_clj.cljs$lang$maxFixedArity \x3d (1));\n\n/**\n * Recursively converts ClojureScript values to JavaScript.\n * \n * Where possible, directly returns the backing objects and arrays for values\n * produced using -\x3eclj and bean.\n * \n * Otherwise delegates to clj-\x3ejs to perform the conversion, converting keyword\n * keys using their qualified names. You can alternatively supply :key-\x3eprop with\n * a function that controls the mapping from keys to properties.\n */\ncljs_bean.core.__GT_js \x3d (function cljs_bean$core$__GT_js(var_args){\nvar G__38859 \x3d arguments.length;\nswitch (G__38859) {\ncase 1:\nreturn cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nvar args_arr__5794__auto__ \x3d [];\nvar len__5769__auto___39056 \x3d arguments.length;\nvar i__5770__auto___39057 \x3d (0);\nwhile(true){\nif((i__5770__auto___39057 \x3c len__5769__auto___39056)){\nargs_arr__5794__auto__.push((arguments[i__5770__auto___39057]));\n\nvar G__39059 \x3d (i__5770__auto___39057 + (1));\ni__5770__auto___39057 \x3d G__39059;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5795__auto__ \x3d (new cljs.core.IndexedSeq(args_arr__5794__auto__.slice((1)),(0),null));\nreturn cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5795__auto__);\n\n}\n});\n\n(cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$1 \x3d (function (x){\nif((x instanceof cljs_bean.core.Bean)){\nreturn x.obj;\n} else {\nif((x instanceof cljs_bean.core.ArrayVector)){\nreturn x.arr;\n} else {\nreturn cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic(x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22keyword-fn\x22,\x22keyword-fn\x22,-64566675),cljs_bean.core.default_key__GT_prop], 0));\n\n}\n}\n}));\n\n(cljs_bean.core.__GT_js.cljs$core$IFn$_invoke$arity$variadic \x3d (function (x,opts){\nif((x instanceof cljs_bean.core.Bean)){\nreturn x.obj;\n} else {\nif((x instanceof cljs_bean.core.ArrayVector)){\nreturn x.arr;\n} else {\nvar map__38864 \x3d opts;\nvar map__38864__$1 \x3d cljs.core.__destructure_map(map__38864);\nvar key__GT_prop \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__38864__$1,new cljs.core.Keyword(null,\x22key-\x3eprop\x22,\x22key-\x3eprop\x22,-1028452531),cljs_bean.core.default_key__GT_prop);\nreturn cljs.core.clj__GT_js.cljs$core$IFn$_invoke$arity$variadic(x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22keyword-fn\x22,\x22keyword-fn\x22,-64566675),key__GT_prop], 0));\n\n}\n}\n}));\n\n/** @this {Function} */\n(cljs_bean.core.__GT_js.cljs$lang$applyTo \x3d (function (seq38855){\nvar G__38856 \x3d cljs.core.first(seq38855);\nvar seq38855__$1 \x3d cljs.core.next(seq38855);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__38856,seq38855__$1);\n}));\n\n(cljs_bean.core.__GT_js.cljs$lang$maxFixedArity \x3d (1));\n\n/**\n * Set empty map and array to Bean and ArrayVector. Useful for testing.\n */\ncljs_bean.core.set_empty_colls_BANG_ \x3d (function cljs_bean$core$set_empty_colls_BANG_(){\n(cljs.core.PersistentArrayMap.EMPTY \x3d cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1(({})));\n\n(cljs.core.PersistentVector.EMPTY \x3d cljs_bean.core.__GT_clj.cljs$core$IFn$_invoke$arity$1([]));\n\nreturn null;\n});\n"); -SHADOW_ENV.evalLoad("uix.core.js", true, "goog.provide(\x27uix.core\x27);\ngoog.scope(function(){\n uix.core.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.core.built_in_static_method_names \x3d new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22childContextTypes\x22,\x22childContextTypes\x22,578717991),new cljs.core.Keyword(null,\x22contextTypes\x22,\x22contextTypes\x22,-2023853910),new cljs.core.Keyword(null,\x22contextType\x22,\x22contextType\x22,1033066077),new cljs.core.Keyword(null,\x22getDerivedStateFromProps\x22,\x22getDerivedStateFromProps\x22,-991834739),new cljs.core.Keyword(null,\x22getDerivedStateFromError\x22,\x22getDerivedStateFromError\x22,166658477)], null);\n/**\n * Creates class based React component\n */\nuix.core.create_class \x3d (function uix$core$create_class(p__39717){\nvar map__39718 \x3d p__39717;\nvar map__39718__$1 \x3d cljs.core.__destructure_map(map__39718);\nvar fields \x3d map__39718__$1;\nvar contextType \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22contextType\x22,\x22contextType\x22,1033066077));\nvar componentDidUpdate \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22componentDidUpdate\x22,\x22componentDidUpdate\x22,-1983477981));\nvar componentDidCatch \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22componentDidCatch\x22,\x22componentDidCatch\x22,821717733));\nvar displayName \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22displayName\x22,\x22displayName\x22,-809144601));\nvar childContextTypes \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22childContextTypes\x22,\x22childContextTypes\x22,578717991));\nvar getSnapshotBeforeUpdate \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22getSnapshotBeforeUpdate\x22,\x22getSnapshotBeforeUpdate\x22,861122184));\nvar contextTypes \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22contextTypes\x22,\x22contextTypes\x22,-2023853910));\nvar getDerivedStateFromProps \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22getDerivedStateFromProps\x22,\x22getDerivedStateFromProps\x22,-991834739));\nvar getDerivedStateFromError \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22getDerivedStateFromError\x22,\x22getDerivedStateFromError\x22,166658477));\nvar componentWillUnmount \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22componentWillUnmount\x22,\x22componentWillUnmount\x22,1573788814));\nvar shouldComponentUpdate \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22shouldComponentUpdate\x22,\x22shouldComponentUpdate\x22,1795750960));\nvar render \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22render\x22,\x22render\x22,-1408033454));\nvar defaultProps \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22defaultProps\x22,\x22defaultProps\x22,-533483149));\nvar getInitialState \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22getInitialState\x22,\x22getInitialState\x22,1541760916));\nvar constructor$ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22constructor\x22,\x22constructor\x22,-1953928811));\nvar componentDidMount \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39718__$1,new cljs.core.Keyword(null,\x22componentDidMount\x22,\x22componentDidMount\x22,955710936));\nvar methods$ \x3d uix.lib.map__GT_js(cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(cljs.core.dissoc,fields,new cljs.core.Keyword(null,\x22displayName\x22,\x22displayName\x22,-809144601),new cljs.core.Keyword(null,\x22getInitialState\x22,\x22getInitialState\x22,1541760916),new cljs.core.Keyword(null,\x22constructor\x22,\x22constructor\x22,-1953928811),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22render\x22,\x22render\x22,-1408033454),uix.core.built_in_static_method_names], 0)));\nvar static_methods \x3d uix.lib.map__GT_js(cljs.core.select_keys(fields,uix.core.built_in_static_method_names));\nvar ctor \x3d (function (props){\nvar this$ \x3d this;\nmodule$node_modules$react$index.Component.apply(this$,arguments);\n\nif(cljs.core.truth_(constructor$)){\n(constructor$.cljs$core$IFn$_invoke$arity$2 ? constructor$.cljs$core$IFn$_invoke$arity$2(this$,props) : constructor$.call(null, this$,props));\n} else {\n}\n\nif(cljs.core.truth_(getInitialState)){\n(this$.state \x3d (getInitialState.cljs$core$IFn$_invoke$arity$1 ? getInitialState.cljs$core$IFn$_invoke$arity$1(this$) : getInitialState.call(null, this$)));\n} else {\n}\n\nreturn this$;\n});\nuix.core.goog$module$goog$object.extend(ctor.prototype,module$node_modules$react$index.Component.prototype,methods$);\n\nif(cljs.core.truth_(render)){\n(ctor.prototype.render \x3d render);\n} else {\n}\n\nuix.core.goog$module$goog$object.extend(ctor,module$node_modules$react$index.Component,static_methods);\n\nif(cljs.core.truth_(displayName)){\n(ctor.displayName \x3d displayName);\n\n(ctor.cljs$lang$ctorStr \x3d displayName);\n\n(ctor.cljs$lang$ctorPrWriter \x3d (function (this$,writer,opt){\nreturn cljs.core._write(writer,displayName);\n}));\n} else {\n}\n\n(ctor.cljs$lang$type \x3d true);\n\n(ctor.prototype.constructor \x3d ctor);\n\n(ctor.uix_component_QMARK_ \x3d true);\n\nreturn ctor;\n});\n/**\n * Creates React\x27s ref type object.\n */\nuix.core.create_ref \x3d (function uix$core$create_ref(){\nreturn module$node_modules$react$index.createRef();\n});\nuix.core.glue_args \x3d (function uix$core$glue_args(props){\nvar G__39722 \x3d props.argv;\nif(cljs.core.truth_(props.children)){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__39722,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),props.children);\n} else {\nreturn G__39722;\n}\n});\nuix.core.memo_compare_args \x3d (function uix$core$memo_compare_args(a,b){\nreturn cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(uix.core.glue_args(a),uix.core.glue_args(b));\n});\n/**\n * Takes component `f` and optional comparator function `should-update?`\n * that takes previous and next props of the component.\n * Returns memoized `f`.\n * \n * When `should-update?` is not provided uses default comparator\n * that compares props with clojure.core/\x3d\n */\nuix.core.memo \x3d (function uix$core$memo(var_args){\nvar G__39725 \x3d arguments.length;\nswitch (G__39725) {\ncase 1:\nreturn uix.core.memo.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.core.memo.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.memo.cljs$core$IFn$_invoke$arity$1 \x3d (function (f){\nreturn uix.core.memo.cljs$core$IFn$_invoke$arity$2(f,uix.core.memo_compare_args);\n}));\n\n(uix.core.memo.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,should_update_QMARK_){\nvar fm \x3d module$node_modules$react$index.memo(f,should_update_QMARK_);\nif(cljs.core.truth_(f.uix_component_QMARK_)){\n(fm.uix_component_QMARK_ \x3d true);\n} else {\n}\n\nreturn fm;\n}));\n\n(uix.core.memo.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Takes initial value or a function that computes it and returns a stateful value,\n * and a function to update it.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usestate\n */\nuix.core.use_state \x3d (function uix$core$use_state(value){\nreturn uix.hooks.alpha.use_state(value);\n});\n/**\n * An alternative to `use-state`. Accepts a reducer of type (state, action) \x3d\x3e new-state,\n * and returns the current state paired with a dispatch method.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usereducer\n */\nuix.core.use_reducer \x3d (function uix$core$use_reducer(var_args){\nvar G__39731 \x3d arguments.length;\nswitch (G__39731) {\ncase 2:\nreturn uix.core.use_reducer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.core.use_reducer.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_reducer.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,value){\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2(f,value);\n}));\n\n(uix.core.use_reducer.cljs$core$IFn$_invoke$arity$3 \x3d (function (f,value,init_state){\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3(f,value,init_state);\n}));\n\n(uix.core.use_reducer.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Takes optional initial value and returns React\x27s ref hook wrapped in atom-like type.\n */\nuix.core.use_ref \x3d (function uix$core$use_ref(var_args){\nvar G__39733 \x3d arguments.length;\nswitch (G__39733) {\ncase 0:\nreturn uix.core.use_ref.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn uix.core.use_ref.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_ref.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn uix.core.use_ref.cljs$core$IFn$_invoke$arity$1(null);\n}));\n\n(uix.core.use_ref.cljs$core$IFn$_invoke$arity$1 \x3d (function (value){\nvar ref \x3d uix.hooks.alpha.use_ref(null);\nif((ref.current \x3d\x3d null)){\n(ref.current \x3d (function (){var x39735 \x3d ({\x22current\x22: value});\n(x39735.cljs$core$IDeref$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(x39735.cljs$core$IDeref$_deref$arity$1 \x3d (function (this$){\nvar this$__$1 \x3d this;\nreturn this$__$1.current;\n}));\n\n(x39735.cljs$core$IReset$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(x39735.cljs$core$IReset$_reset_BANG_$arity$2 \x3d (function (this$,v){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d v);\n}));\n\n(x39735.cljs$core$ISwap$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(x39735.cljs$core$ISwap$_swap_BANG_$arity$2 \x3d (function (this$,f){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d (function (){var G__39736 \x3d this$__$1.current;\nreturn (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__39736) : f.call(null, G__39736));\n})());\n}));\n\n(x39735.cljs$core$ISwap$_swap_BANG_$arity$3 \x3d (function (this$,f,a){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d (function (){var G__39738 \x3d this$__$1.current;\nvar G__39739 \x3d a;\nreturn (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__39738,G__39739) : f.call(null, G__39738,G__39739));\n})());\n}));\n\n(x39735.cljs$core$ISwap$_swap_BANG_$arity$4 \x3d (function (this$,f,a,b){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d (function (){var G__39741 \x3d this$__$1.current;\nvar G__39742 \x3d a;\nvar G__39743 \x3d b;\nreturn (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__39741,G__39742,G__39743) : f.call(null, G__39741,G__39742,G__39743));\n})());\n}));\n\n(x39735.cljs$core$ISwap$_swap_BANG_$arity$5 \x3d (function (this$,f,a,b,xs){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,this$__$1.current,a,b,xs));\n}));\n\nreturn x39735;\n})());\n} else {\n}\n\nreturn ref.current;\n}));\n\n(uix.core.use_ref.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * Creates React Context with an optional default value\n */\nuix.core.create_context \x3d (function uix$core$create_context(var_args){\nvar G__39747 \x3d arguments.length;\nswitch (G__39747) {\ncase 0:\nreturn uix.core.create_context.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn uix.core.create_context.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.create_context.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn module$node_modules$react$index.createContext();\n}));\n\n(uix.core.create_context.cljs$core$IFn$_invoke$arity$1 \x3d (function (default_value){\nreturn module$node_modules$react$index.createContext(default_value);\n}));\n\n(uix.core.create_context.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * Takes React context and returns its current value\n */\nuix.core.use_context \x3d (function uix$core$use_context(context){\nreturn uix.hooks.alpha.use_context(context);\n});\nuix.core.use_debug \x3d (function uix$core$use_debug(var_args){\nvar G__39750 \x3d arguments.length;\nswitch (G__39750) {\ncase 1:\nreturn uix.core.use_debug.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.core.use_debug.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_debug.cljs$core$IFn$_invoke$arity$1 \x3d (function (v){\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1(v);\n}));\n\n(uix.core.use_debug.cljs$core$IFn$_invoke$arity$2 \x3d (function (v,fmt){\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2(v,fmt);\n}));\n\n(uix.core.use_debug.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Accepts a value and returns a new copy of the value that will defer to more urgent updates.\n * If the current render is the result of an urgent update, like user input,\n * React will return the previous value and then render the new value after the urgent render has completed.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usedeferredvalue\n */\nuix.core.use_deferred_value \x3d (function uix$core$use_deferred_value(v){\nreturn uix.hooks.alpha.use_deferred_value(v);\n});\n/**\n * Returns a stateful value for the pending state of the transition, and a function to start it.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usetransition\n */\nuix.core.use_transition \x3d (function uix$core$use_transition(){\nreturn uix.hooks.alpha.use_transition();\n});\n/**\n * Marks updates in `f` as transitions\n * See: https://reactjs.org/docs/react-api.html#starttransition\n */\nuix.core.start_transition \x3d (function uix$core$start_transition(f){\nreturn module$node_modules$react$index.startTransition(f);\n});\n/**\n * Returns unique ID that is stable across the server and client, while avoiding hydration mismatches.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#useid\n */\nuix.core.use_id \x3d (function uix$core$use_id(){\nreturn uix.hooks.alpha.use_id();\n});\n/**\n * For reading and subscribing from external data sources in a way that\u2019s compatible\n * with concurrent rendering features like selective hydration and time slicing.\n * \n * subscribe: function to register a callback that is called whenever the store changes\n * get-snapshot: function that returns the current value of the store\n * get-server-snapshot: function that returns the snapshot used during server rendering\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore\n */\nuix.core.use_sync_external_store \x3d (function uix$core$use_sync_external_store(var_args){\nvar G__39753 \x3d arguments.length;\nswitch (G__39753) {\ncase 2:\nreturn uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$2 \x3d (function (subscribe,get_snapshot){\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2(subscribe,get_snapshot);\n}));\n\n(uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$3 \x3d (function (subscribe,get_snapshot,get_server_snapshot){\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3(subscribe,get_snapshot,get_server_snapshot);\n}));\n\n(uix.core.use_sync_external_store.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Interop with React components. Takes a function that returns UIx component\n * and returns same component wrapped into interop layer.\n */\nuix.core.as_react \x3d (function uix$core$as_react(f){\nreturn (function (p1__39754_SHARP_){\nvar G__39755 \x3d cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1(p1__39754_SHARP_);\nreturn (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__39755) : f.call(null, G__39755));\n});\n});\n/**\n * Special case for traditional hot-reloading via shadow-cljs,\n * when UI tree is rendered from the root after evert hot-reload\n */\nuix.core.lazy_shadow_reloadable \x3d (function uix$core$lazy_shadow_reloadable(f,loadable){\nvar lazy_component \x3d module$node_modules$react$index.lazy((function (){\nreturn (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )).then((function (_){\nreturn ({\x22default\x22: (function (props){\nreturn uix.compiler.alpha.component_element(cljs.core.deref(loadable),uix.compiler.attributes.interpret_props(uix.core.glue_args(props)),[]);\n})});\n}));\n}));\n(lazy_component.uix_component_QMARK_ \x3d true);\n\nreturn lazy_component;\n});\n/**\n * Like React.lazy, but supposed to be used with UIx components\n */\nuix.core.lazy \x3d (function uix$core$lazy(var_args){\nvar G__39758 \x3d arguments.length;\nswitch (G__39758) {\ncase 1:\nreturn uix.core.lazy.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.core.lazy.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.lazy.cljs$core$IFn$_invoke$arity$1 \x3d (function (f){\nvar lazy_component \x3d module$node_modules$react$index.lazy((function (){\nreturn (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )).then((function (component){\nreturn ({\x22default\x22: component});\n}));\n}));\n(lazy_component.uix_component_QMARK_ \x3d true);\n\nreturn lazy_component;\n}));\n\n(uix.core.lazy.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,loadable){\nreturn uix.core.lazy_shadow_reloadable(f,loadable);\n}));\n\n(uix.core.lazy.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Creates React\x27s error boundary component\n * \n * display-name \u2014 the name of the component to be displayed in stack trace\n * derive-error-state \u2014 maps error object to component\x27s state that is used in render-fn\n * did-catch \u2014 2 arg function for side-effects, logging etc.\n * receives the exception and additional component info as args\n * render-fn \u2014 takes state value returned from error-\x3estate and a vector\n * of arguments passed into error boundary\n */\nuix.core.create_error_boundary \x3d (function uix$core$create_error_boundary(p__39759,render_fn){\nvar map__39760 \x3d p__39759;\nvar map__39760__$1 \x3d cljs.core.__destructure_map(map__39760);\nvar display_name \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__39760__$1,new cljs.core.Keyword(null,\x22display-name\x22,\x22display-name\x22,694513143),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.gensym.cljs$core$IFn$_invoke$arity$1(\x22uix.error-boundary\x22)));\nvar derive_error_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39760__$1,new cljs.core.Keyword(null,\x22derive-error-state\x22,\x22derive-error-state\x22,-1373095498));\nvar did_catch \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__39760__$1,new cljs.core.Keyword(null,\x22did-catch\x22,\x22did-catch\x22,2139522313));\nvar constructor$ \x3d (function (this$,_){\nreturn (this$.state \x3d ({\x22argv\x22: null}));\n});\nvar derive_state \x3d (function (error){\nreturn ({\x22argv\x22: (derive_error_state.cljs$core$IFn$_invoke$arity$1 ? derive_error_state.cljs$core$IFn$_invoke$arity$1(error) : derive_error_state.call(null, error))});\n});\nvar render \x3d (function (){\nvar this$ \x3d this;\nvar props \x3d this$.props;\nvar state \x3d this$.state;\nvar set_state \x3d (function (new_value){\nreturn this$.setState(({\x22argv\x22: new_value}));\n});\nvar G__39761 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [state.argv,set_state], null);\nvar G__39762 \x3d uix.core.glue_args(props);\nreturn (render_fn.cljs$core$IFn$_invoke$arity$2 ? render_fn.cljs$core$IFn$_invoke$arity$2(G__39761,G__39762) : render_fn.call(null, G__39761,G__39762));\n});\nvar class$ \x3d uix.core.create_class(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22constructor\x22,\x22constructor\x22,-1953928811),constructor$,new cljs.core.Keyword(null,\x22displayName\x22,\x22displayName\x22,-809144601),display_name,new cljs.core.Keyword(null,\x22getDerivedStateFromError\x22,\x22getDerivedStateFromError\x22,166658477),derive_state,new cljs.core.Keyword(null,\x22componentDidCatch\x22,\x22componentDidCatch\x22,821717733),did_catch,new cljs.core.Keyword(null,\x22render\x22,\x22render\x22,-1408033454),render], null));\n(class$.uix_component_QMARK_ \x3d true);\n\nreturn class$;\n});\n/**\n * Like React\x27s `forwardRef`, but should be used only for UIx components\n * when passing them into React components that inject a ref\n */\nuix.core.forward_ref \x3d (function uix$core$forward_ref(component){\nvar ref_comp \x3d module$node_modules$react$index.forwardRef((function (props,ref){\nvar argv \x3d (function (){var G__39763 \x3d props.argv;\nvar G__39763__$1 \x3d (cljs.core.truth_(props.children)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__39763,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),props.children):G__39763);\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__39763__$1,new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967),ref);\n\n})();\nvar argv__$1 \x3d cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([argv,cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1(props),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22argv\x22,\x22argv\x22,-1462790895),new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982)], null))], 0));\nreturn uix.compiler.alpha.component_element(component,uix.compiler.attributes.interpret_props(argv__$1),[]);\n}));\n(ref_comp.uix_component_QMARK_ \x3d true);\n\nreturn ref_comp;\n});\nuix.core.clone_element \x3d (function uix$core$clone_element(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___39792 \x3d arguments.length;\nvar i__5770__auto___39793 \x3d (0);\nwhile(true){\nif((i__5770__auto___39793 \x3c len__5769__auto___39792)){\nargs__5775__auto__.push((arguments[i__5770__auto___39793]));\n\nvar G__39794 \x3d (i__5770__auto___39793 + (1));\ni__5770__auto___39793 \x3d G__39794;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((2) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null);\nreturn uix.core.clone_element.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__);\n});\n\n(uix.core.clone_element.cljs$core$IFn$_invoke$arity$variadic \x3d (function (element,props,children){\nvar type \x3d element.type;\nvar okey \x3d element.key;\nvar oref \x3d element.ref;\nvar update_children \x3d (function (p1__39765_SHARP_){\nif(cljs.core.truth_(p1__39765_SHARP_)){\nreturn cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (el){\nif(cljs.core.truth_((function (){var G__39769 \x3d el;\nif((G__39769 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__39769._store;\n}\n})())){\n(el._store.validated \x3d true);\n} else {\n}\n\nreturn el;\n}),p1__39765_SHARP_);\n} else {\nreturn null;\n}\n});\nvar children__$1 \x3d update_children(children);\nvar props__$1 \x3d cljs.core.update.cljs$core$IFn$_invoke$arity$3(props,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),update_children);\nif(((typeof type \x3d\x3d\x3d \x27string\x27) || (cljs.core.not(type.uix_component_QMARK_)))){\nvar oprops \x3d element.props;\nvar nel \x3d uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props((function (){var G__39770 \x3d props__$1;\nif(cljs.core.seq(children__$1)){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__39770,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(children__$1));\n} else {\nreturn G__39770;\n}\n})()),[]);\nvar nprops \x3d Object.assign(({}),oprops,({\x22key\x22: okey, \x22ref\x22: oref}),nel.props);\nreturn uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props(nprops),[]);\n} else {\nvar oprops \x3d element.props.argv;\nreturn uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props((function (){var G__39771 \x3d oprops;\nvar G__39771__$1 \x3d (cljs.core.truth_(okey)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__39771,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),okey):G__39771);\nvar G__39771__$2 \x3d cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([G__39771__$1,props__$1], 0))\n;\nif(cljs.core.seq(children__$1)){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__39771__$2,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),children__$1);\n} else {\nreturn G__39771__$2;\n}\n})()),[]);\n}\n}));\n\n(uix.core.clone_element.cljs$lang$maxFixedArity \x3d (2));\n\n/** @this {Function} */\n(uix.core.clone_element.cljs$lang$applyTo \x3d (function (seq39766){\nvar G__39767 \x3d cljs.core.first(seq39766);\nvar seq39766__$1 \x3d cljs.core.next(seq39766);\nvar G__39768 \x3d cljs.core.first(seq39766__$1);\nvar seq39766__$2 \x3d cljs.core.next(seq39766__$1);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__39767,G__39768,seq39766__$2);\n}));\n\nuix.core.suspense \x3d module$node_modules$react$index.Suspense;\nuix.core.strict_mode \x3d module$node_modules$react$index.StrictMode;\nuix.core.profiler \x3d module$node_modules$react$index.Profiler;\nuix.core.client_QMARK_ \x3d (typeof document !\x3d\x3d \x27undefined\x27);\nuix.core.server_QMARK_ \x3d (!(uix.core.client_QMARK_));\n"); +SHADOW_ENV.evalLoad("uix.core.js", true, "goog.provide(\x27uix.core\x27);\ngoog.scope(function(){\n uix.core.goog$module$goog$object \x3d goog.module.get(\x27goog.object\x27);\n});\nvar module$node_modules$react$index\x3dshadow.js.require(\x22module$node_modules$react$index\x22, {});\nuix.core.built_in_static_method_names \x3d new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22childContextTypes\x22,\x22childContextTypes\x22,578717991),new cljs.core.Keyword(null,\x22contextTypes\x22,\x22contextTypes\x22,-2023853910),new cljs.core.Keyword(null,\x22contextType\x22,\x22contextType\x22,1033066077),new cljs.core.Keyword(null,\x22getDerivedStateFromProps\x22,\x22getDerivedStateFromProps\x22,-991834739),new cljs.core.Keyword(null,\x22getDerivedStateFromError\x22,\x22getDerivedStateFromError\x22,166658477)], null);\n/**\n * Creates class based React component\n */\nuix.core.create_class \x3d (function uix$core$create_class(p__29585){\nvar map__29586 \x3d p__29585;\nvar map__29586__$1 \x3d cljs.core.__destructure_map(map__29586);\nvar fields \x3d map__29586__$1;\nvar contextType \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22contextType\x22,\x22contextType\x22,1033066077));\nvar componentDidUpdate \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22componentDidUpdate\x22,\x22componentDidUpdate\x22,-1983477981));\nvar componentDidCatch \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22componentDidCatch\x22,\x22componentDidCatch\x22,821717733));\nvar displayName \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22displayName\x22,\x22displayName\x22,-809144601));\nvar childContextTypes \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22childContextTypes\x22,\x22childContextTypes\x22,578717991));\nvar getSnapshotBeforeUpdate \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22getSnapshotBeforeUpdate\x22,\x22getSnapshotBeforeUpdate\x22,861122184));\nvar contextTypes \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22contextTypes\x22,\x22contextTypes\x22,-2023853910));\nvar getDerivedStateFromProps \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22getDerivedStateFromProps\x22,\x22getDerivedStateFromProps\x22,-991834739));\nvar getDerivedStateFromError \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22getDerivedStateFromError\x22,\x22getDerivedStateFromError\x22,166658477));\nvar componentWillUnmount \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22componentWillUnmount\x22,\x22componentWillUnmount\x22,1573788814));\nvar shouldComponentUpdate \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22shouldComponentUpdate\x22,\x22shouldComponentUpdate\x22,1795750960));\nvar render \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22render\x22,\x22render\x22,-1408033454));\nvar defaultProps \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22defaultProps\x22,\x22defaultProps\x22,-533483149));\nvar getInitialState \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22getInitialState\x22,\x22getInitialState\x22,1541760916));\nvar constructor$ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22constructor\x22,\x22constructor\x22,-1953928811));\nvar componentDidMount \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29586__$1,new cljs.core.Keyword(null,\x22componentDidMount\x22,\x22componentDidMount\x22,955710936));\nvar methods$ \x3d uix.lib.map__GT_js(cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(cljs.core.dissoc,fields,new cljs.core.Keyword(null,\x22displayName\x22,\x22displayName\x22,-809144601),new cljs.core.Keyword(null,\x22getInitialState\x22,\x22getInitialState\x22,1541760916),new cljs.core.Keyword(null,\x22constructor\x22,\x22constructor\x22,-1953928811),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22render\x22,\x22render\x22,-1408033454),uix.core.built_in_static_method_names], 0)));\nvar static_methods \x3d uix.lib.map__GT_js(cljs.core.select_keys(fields,uix.core.built_in_static_method_names));\nvar ctor \x3d (function (props){\nvar this$ \x3d this;\nmodule$node_modules$react$index.Component.apply(this$,arguments);\n\nif(cljs.core.truth_(constructor$)){\n(constructor$.cljs$core$IFn$_invoke$arity$2 ? constructor$.cljs$core$IFn$_invoke$arity$2(this$,props) : constructor$.call(null, this$,props));\n} else {\n}\n\nif(cljs.core.truth_(getInitialState)){\n(this$.state \x3d (getInitialState.cljs$core$IFn$_invoke$arity$1 ? getInitialState.cljs$core$IFn$_invoke$arity$1(this$) : getInitialState.call(null, this$)));\n} else {\n}\n\nreturn this$;\n});\nuix.core.goog$module$goog$object.extend(ctor.prototype,module$node_modules$react$index.Component.prototype,methods$);\n\nif(cljs.core.truth_(render)){\n(ctor.prototype.render \x3d render);\n} else {\n}\n\nuix.core.goog$module$goog$object.extend(ctor,module$node_modules$react$index.Component,static_methods);\n\nif(cljs.core.truth_(displayName)){\n(ctor.displayName \x3d displayName);\n\n(ctor.cljs$lang$ctorStr \x3d displayName);\n\n(ctor.cljs$lang$ctorPrWriter \x3d (function (this$,writer,opt){\nreturn cljs.core._write(writer,displayName);\n}));\n} else {\n}\n\n(ctor.cljs$lang$type \x3d true);\n\n(ctor.prototype.constructor \x3d ctor);\n\n(ctor.uix_component_QMARK_ \x3d true);\n\nreturn ctor;\n});\n/**\n * Creates React\x27s ref type object.\n */\nuix.core.create_ref \x3d (function uix$core$create_ref(){\nreturn module$node_modules$react$index.createRef();\n});\nuix.core.glue_args \x3d (function uix$core$glue_args(props){\nvar G__29587 \x3d props.argv;\nif(cljs.core.truth_(props.children)){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29587,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),props.children);\n} else {\nreturn G__29587;\n}\n});\nuix.core.memo_compare_args \x3d (function uix$core$memo_compare_args(a,b){\nreturn cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(uix.core.glue_args(a),uix.core.glue_args(b));\n});\n/**\n * Takes component `f` and optional comparator function `should-update?`\n * that takes previous and next props of the component.\n * Returns memoized `f`.\n * \n * When `should-update?` is not provided uses default comparator\n * that compares props with clojure.core/\x3d\n */\nuix.core.memo \x3d (function uix$core$memo(var_args){\nvar G__29589 \x3d arguments.length;\nswitch (G__29589) {\ncase 1:\nreturn uix.core.memo.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.core.memo.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.memo.cljs$core$IFn$_invoke$arity$1 \x3d (function (f){\nreturn uix.core.memo.cljs$core$IFn$_invoke$arity$2(f,uix.core.memo_compare_args);\n}));\n\n(uix.core.memo.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,should_update_QMARK_){\nvar fm \x3d module$node_modules$react$index.memo(f,should_update_QMARK_);\nif(cljs.core.truth_(f.uix_component_QMARK_)){\n(fm.uix_component_QMARK_ \x3d true);\n} else {\n}\n\nreturn fm;\n}));\n\n(uix.core.memo.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Takes initial value or a function that computes it and returns a stateful value,\n * and a function to update it.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usestate\n */\nuix.core.use_state \x3d (function uix$core$use_state(value){\nreturn uix.hooks.alpha.use_state(value);\n});\n/**\n * An alternative to `use-state`. Accepts a reducer of type (state, action) \x3d\x3e new-state,\n * and returns the current state paired with a dispatch method.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usereducer\n */\nuix.core.use_reducer \x3d (function uix$core$use_reducer(var_args){\nvar G__29597 \x3d arguments.length;\nswitch (G__29597) {\ncase 2:\nreturn uix.core.use_reducer.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.core.use_reducer.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_reducer.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,value){\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$2(f,value);\n}));\n\n(uix.core.use_reducer.cljs$core$IFn$_invoke$arity$3 \x3d (function (f,value,init_state){\nreturn uix.hooks.alpha.use_reducer.cljs$core$IFn$_invoke$arity$3(f,value,init_state);\n}));\n\n(uix.core.use_reducer.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Takes optional initial value and returns React\x27s ref hook wrapped in atom-like type.\n */\nuix.core.use_ref \x3d (function uix$core$use_ref(var_args){\nvar G__29604 \x3d arguments.length;\nswitch (G__29604) {\ncase 0:\nreturn uix.core.use_ref.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn uix.core.use_ref.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_ref.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn uix.core.use_ref.cljs$core$IFn$_invoke$arity$1(null);\n}));\n\n(uix.core.use_ref.cljs$core$IFn$_invoke$arity$1 \x3d (function (value){\nvar ref \x3d uix.hooks.alpha.use_ref(null);\nif((ref.current \x3d\x3d null)){\n(ref.current \x3d (function (){var x29608 \x3d ({\x22current\x22: value});\n(x29608.cljs$core$IDeref$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(x29608.cljs$core$IDeref$_deref$arity$1 \x3d (function (this$){\nvar this$__$1 \x3d this;\nreturn this$__$1.current;\n}));\n\n(x29608.cljs$core$IReset$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(x29608.cljs$core$IReset$_reset_BANG_$arity$2 \x3d (function (this$,v){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d v);\n}));\n\n(x29608.cljs$core$ISwap$ \x3d cljs.core.PROTOCOL_SENTINEL);\n\n(x29608.cljs$core$ISwap$_swap_BANG_$arity$2 \x3d (function (this$,f){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d (function (){var G__29615 \x3d this$__$1.current;\nreturn (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__29615) : f.call(null, G__29615));\n})());\n}));\n\n(x29608.cljs$core$ISwap$_swap_BANG_$arity$3 \x3d (function (this$,f,a){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d (function (){var G__29616 \x3d this$__$1.current;\nvar G__29617 \x3d a;\nreturn (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(G__29616,G__29617) : f.call(null, G__29616,G__29617));\n})());\n}));\n\n(x29608.cljs$core$ISwap$_swap_BANG_$arity$4 \x3d (function (this$,f,a,b){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d (function (){var G__29618 \x3d this$__$1.current;\nvar G__29619 \x3d a;\nvar G__29620 \x3d b;\nreturn (f.cljs$core$IFn$_invoke$arity$3 ? f.cljs$core$IFn$_invoke$arity$3(G__29618,G__29619,G__29620) : f.call(null, G__29618,G__29619,G__29620));\n})());\n}));\n\n(x29608.cljs$core$ISwap$_swap_BANG_$arity$5 \x3d (function (this$,f,a,b,xs){\nvar this$__$1 \x3d this;\nreturn (this$__$1.current \x3d cljs.core.apply.cljs$core$IFn$_invoke$arity$5(f,this$__$1.current,a,b,xs));\n}));\n\nreturn x29608;\n})());\n} else {\n}\n\nreturn ref.current;\n}));\n\n(uix.core.use_ref.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * Creates React Context with an optional default value\n */\nuix.core.create_context \x3d (function uix$core$create_context(var_args){\nvar G__29622 \x3d arguments.length;\nswitch (G__29622) {\ncase 0:\nreturn uix.core.create_context.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn uix.core.create_context.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.create_context.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn module$node_modules$react$index.createContext();\n}));\n\n(uix.core.create_context.cljs$core$IFn$_invoke$arity$1 \x3d (function (default_value){\nreturn module$node_modules$react$index.createContext(default_value);\n}));\n\n(uix.core.create_context.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * Takes React context and returns its current value\n */\nuix.core.use_context \x3d (function uix$core$use_context(context){\nreturn uix.hooks.alpha.use_context(context);\n});\nuix.core.use_debug \x3d (function uix$core$use_debug(var_args){\nvar G__29624 \x3d arguments.length;\nswitch (G__29624) {\ncase 1:\nreturn uix.core.use_debug.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.core.use_debug.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_debug.cljs$core$IFn$_invoke$arity$1 \x3d (function (v){\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$1(v);\n}));\n\n(uix.core.use_debug.cljs$core$IFn$_invoke$arity$2 \x3d (function (v,fmt){\nreturn uix.hooks.alpha.use_debug.cljs$core$IFn$_invoke$arity$2(v,fmt);\n}));\n\n(uix.core.use_debug.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Accepts a value and returns a new copy of the value that will defer to more urgent updates.\n * If the current render is the result of an urgent update, like user input,\n * React will return the previous value and then render the new value after the urgent render has completed.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usedeferredvalue\n */\nuix.core.use_deferred_value \x3d (function uix$core$use_deferred_value(v){\nreturn uix.hooks.alpha.use_deferred_value(v);\n});\n/**\n * Returns a stateful value for the pending state of the transition, and a function to start it.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usetransition\n */\nuix.core.use_transition \x3d (function uix$core$use_transition(){\nreturn uix.hooks.alpha.use_transition();\n});\n/**\n * Marks updates in `f` as transitions\n * See: https://reactjs.org/docs/react-api.html#starttransition\n */\nuix.core.start_transition \x3d (function uix$core$start_transition(f){\nreturn module$node_modules$react$index.startTransition(f);\n});\n/**\n * Returns unique ID that is stable across the server and client, while avoiding hydration mismatches.\n * \n * See: https://reactjs.org/docs/hooks-reference.html#useid\n */\nuix.core.use_id \x3d (function uix$core$use_id(){\nreturn uix.hooks.alpha.use_id();\n});\n/**\n * For reading and subscribing from external data sources in a way that\u2019s compatible\n * with concurrent rendering features like selective hydration and time slicing.\n * \n * subscribe: function to register a callback that is called whenever the store changes\n * get-snapshot: function that returns the current value of the store\n * get-server-snapshot: function that returns the snapshot used during server rendering\n * \n * See: https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore\n */\nuix.core.use_sync_external_store \x3d (function uix$core$use_sync_external_store(var_args){\nvar G__29626 \x3d arguments.length;\nswitch (G__29626) {\ncase 2:\nreturn uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$2 \x3d (function (subscribe,get_snapshot){\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$2(subscribe,get_snapshot);\n}));\n\n(uix.core.use_sync_external_store.cljs$core$IFn$_invoke$arity$3 \x3d (function (subscribe,get_snapshot,get_server_snapshot){\nreturn uix.hooks.alpha.use_sync_external_store.cljs$core$IFn$_invoke$arity$3(subscribe,get_snapshot,get_server_snapshot);\n}));\n\n(uix.core.use_sync_external_store.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Interop with React components. Takes a function that returns UIx component\n * and returns same component wrapped into interop layer.\n */\nuix.core.as_react \x3d (function uix$core$as_react(f){\nreturn (function (p1__29627_SHARP_){\nvar G__29628 \x3d cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1(p1__29627_SHARP_);\nreturn (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(G__29628) : f.call(null, G__29628));\n});\n});\n/**\n * Special case for traditional hot-reloading via shadow-cljs,\n * when UI tree is rendered from the root after evert hot-reload\n */\nuix.core.lazy_shadow_reloadable \x3d (function uix$core$lazy_shadow_reloadable(f,loadable){\nvar lazy_component \x3d module$node_modules$react$index.lazy((function (){\nreturn (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )).then((function (_){\nreturn ({\x22default\x22: (function (props){\nreturn uix.compiler.alpha.component_element(cljs.core.deref(loadable),uix.compiler.attributes.interpret_props(uix.core.glue_args(props)),[]);\n})});\n}));\n}));\n(lazy_component.uix_component_QMARK_ \x3d true);\n\nreturn lazy_component;\n});\n/**\n * Like React.lazy, but supposed to be used with UIx components\n */\nuix.core.lazy \x3d (function uix$core$lazy(var_args){\nvar G__29630 \x3d arguments.length;\nswitch (G__29630) {\ncase 1:\nreturn uix.core.lazy.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.core.lazy.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.core.lazy.cljs$core$IFn$_invoke$arity$1 \x3d (function (f){\nvar lazy_component \x3d module$node_modules$react$index.lazy((function (){\nreturn (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null, )).then((function (component){\nreturn ({\x22default\x22: component});\n}));\n}));\n(lazy_component.uix_component_QMARK_ \x3d true);\n\nreturn lazy_component;\n}));\n\n(uix.core.lazy.cljs$core$IFn$_invoke$arity$2 \x3d (function (f,loadable){\nreturn uix.core.lazy_shadow_reloadable(f,loadable);\n}));\n\n(uix.core.lazy.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Creates React\x27s error boundary component\n * \n * display-name \u2014 the name of the component to be displayed in stack trace\n * derive-error-state \u2014 maps error object to component\x27s state that is used in render-fn\n * did-catch \u2014 2 arg function for side-effects, logging etc.\n * receives the exception and additional component info as args\n * render-fn \u2014 takes state value returned from error-\x3estate and a vector\n * of arguments passed into error boundary\n */\nuix.core.create_error_boundary \x3d (function uix$core$create_error_boundary(p__29633,render_fn){\nvar map__29634 \x3d p__29633;\nvar map__29634__$1 \x3d cljs.core.__destructure_map(map__29634);\nvar display_name \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__29634__$1,new cljs.core.Keyword(null,\x22display-name\x22,\x22display-name\x22,694513143),cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.gensym.cljs$core$IFn$_invoke$arity$1(\x22uix.error-boundary\x22)));\nvar derive_error_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29634__$1,new cljs.core.Keyword(null,\x22derive-error-state\x22,\x22derive-error-state\x22,-1373095498));\nvar did_catch \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__29634__$1,new cljs.core.Keyword(null,\x22did-catch\x22,\x22did-catch\x22,2139522313));\nvar constructor$ \x3d (function (this$,_){\nreturn (this$.state \x3d ({\x22argv\x22: null}));\n});\nvar derive_state \x3d (function (error){\nreturn ({\x22argv\x22: (derive_error_state.cljs$core$IFn$_invoke$arity$1 ? derive_error_state.cljs$core$IFn$_invoke$arity$1(error) : derive_error_state.call(null, error))});\n});\nvar render \x3d (function (){\nvar this$ \x3d this;\nvar props \x3d this$.props;\nvar state \x3d this$.state;\nvar set_state \x3d (function (new_value){\nreturn this$.setState(({\x22argv\x22: new_value}));\n});\nvar G__29641 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [state.argv,set_state], null);\nvar G__29642 \x3d uix.core.glue_args(props);\nreturn (render_fn.cljs$core$IFn$_invoke$arity$2 ? render_fn.cljs$core$IFn$_invoke$arity$2(G__29641,G__29642) : render_fn.call(null, G__29641,G__29642));\n});\nvar class$ \x3d uix.core.create_class(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22constructor\x22,\x22constructor\x22,-1953928811),constructor$,new cljs.core.Keyword(null,\x22displayName\x22,\x22displayName\x22,-809144601),display_name,new cljs.core.Keyword(null,\x22getDerivedStateFromError\x22,\x22getDerivedStateFromError\x22,166658477),derive_state,new cljs.core.Keyword(null,\x22componentDidCatch\x22,\x22componentDidCatch\x22,821717733),did_catch,new cljs.core.Keyword(null,\x22render\x22,\x22render\x22,-1408033454),render], null));\n(class$.uix_component_QMARK_ \x3d true);\n\nreturn class$;\n});\n/**\n * Like React\x27s `forwardRef`, but should be used only for UIx components\n * when passing them into React components that inject a ref\n */\nuix.core.forward_ref \x3d (function uix$core$forward_ref(component){\nvar ref_comp \x3d module$node_modules$react$index.forwardRef((function (props,ref){\nvar argv \x3d (function (){var G__29649 \x3d props.argv;\nvar G__29649__$1 \x3d (cljs.core.truth_(props.children)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29649,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),props.children):G__29649);\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29649__$1,new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967),ref);\n\n})();\nvar argv__$1 \x3d cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([argv,cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(cljs_bean.core.bean.cljs$core$IFn$_invoke$arity$1(props),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22argv\x22,\x22argv\x22,-1462790895),new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982)], null))], 0));\nreturn uix.compiler.alpha.component_element(component,uix.compiler.attributes.interpret_props(argv__$1),[]);\n}));\n(ref_comp.uix_component_QMARK_ \x3d true);\n\nreturn ref_comp;\n});\nuix.core.clone_element \x3d (function uix$core$clone_element(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___29794 \x3d arguments.length;\nvar i__5770__auto___29797 \x3d (0);\nwhile(true){\nif((i__5770__auto___29797 \x3c len__5769__auto___29794)){\nargs__5775__auto__.push((arguments[i__5770__auto___29797]));\n\nvar G__29800 \x3d (i__5770__auto___29797 + (1));\ni__5770__auto___29797 \x3d G__29800;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((2) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null);\nreturn uix.core.clone_element.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__);\n});\n\n(uix.core.clone_element.cljs$core$IFn$_invoke$arity$variadic \x3d (function (element,props,children){\nvar type \x3d element.type;\nvar okey \x3d element.key;\nvar oref \x3d element.ref;\nvar update_children \x3d (function (p1__29654_SHARP_){\nif(cljs.core.truth_(p1__29654_SHARP_)){\nreturn cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (el){\nif(cljs.core.truth_((function (){var G__29670 \x3d el;\nif((G__29670 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__29670._store;\n}\n})())){\n(el._store.validated \x3d true);\n} else {\n}\n\nreturn el;\n}),p1__29654_SHARP_);\n} else {\nreturn null;\n}\n});\nvar children__$1 \x3d update_children(children);\nvar props__$1 \x3d cljs.core.update.cljs$core$IFn$_invoke$arity$3(props,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),update_children);\nif(((typeof type \x3d\x3d\x3d \x27string\x27) || (cljs.core.not(type.uix_component_QMARK_)))){\nvar oprops \x3d element.props;\nvar nel \x3d uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props((function (){var G__29675 \x3d props__$1;\nif(cljs.core.seq(children__$1)){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29675,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),cljs.core.into_array.cljs$core$IFn$_invoke$arity$1(children__$1));\n} else {\nreturn G__29675;\n}\n})()),[]);\nvar nprops \x3d Object.assign(({}),oprops,({\x22key\x22: okey, \x22ref\x22: oref}),nel.props);\nreturn uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props(nprops),[]);\n} else {\nvar oprops \x3d element.props.argv;\nreturn uix.compiler.alpha.component_element(type,uix.compiler.attributes.interpret_props((function (){var G__29677 \x3d oprops;\nvar G__29677__$1 \x3d (cljs.core.truth_(okey)?cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29677,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),okey):G__29677);\nvar G__29677__$2 \x3d cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([G__29677__$1,props__$1], 0))\n;\nif(cljs.core.seq(children__$1)){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(G__29677__$2,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982),children__$1);\n} else {\nreturn G__29677__$2;\n}\n})()),[]);\n}\n}));\n\n(uix.core.clone_element.cljs$lang$maxFixedArity \x3d (2));\n\n/** @this {Function} */\n(uix.core.clone_element.cljs$lang$applyTo \x3d (function (seq29659){\nvar G__29660 \x3d cljs.core.first(seq29659);\nvar seq29659__$1 \x3d cljs.core.next(seq29659);\nvar G__29661 \x3d cljs.core.first(seq29659__$1);\nvar seq29659__$2 \x3d cljs.core.next(seq29659__$1);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__29660,G__29661,seq29659__$2);\n}));\n\nuix.core.suspense \x3d module$node_modules$react$index.Suspense;\nuix.core.strict_mode \x3d module$node_modules$react$index.StrictMode;\nuix.core.profiler \x3d module$node_modules$react$index.Profiler;\nuix.core.client_QMARK_ \x3d (typeof document !\x3d\x3d \x27undefined\x27);\nuix.core.server_QMARK_ \x3d (!(uix.core.client_QMARK_));\n"); SHADOW_ENV.evalLoad("module$node_modules$scheduler$cjs$scheduler_development.js", true, "shadow$provide.module$node_modules$scheduler$cjs$scheduler_development \x3d function(global, require, module, exports) {\n (function() {\n function push(heap, node) {\n var index \x3d heap.length;\n heap.push(node);\n a: {\n for (; 0 \x3c index;) {\n var parentIndex \x3d index - 1 \x3e\x3e\x3e 1, parent \x3d heap[parentIndex];\n if (0 \x3c compare(parent, node)) {\n heap[parentIndex] \x3d node, heap[index] \x3d parent, index \x3d parentIndex;\n } else {\n break a;\n }\n }\n }\n }\n function peek(heap) {\n return 0 \x3d\x3d\x3d heap.length ? null : heap[0];\n }\n function pop(heap) {\n if (0 \x3d\x3d\x3d heap.length) {\n return null;\n }\n var first \x3d heap[0], last \x3d heap.pop();\n if (last !\x3d\x3d first) {\n heap[0] \x3d last;\n a: {\n for (var index \x3d 0, length \x3d heap.length, halfLength \x3d length \x3e\x3e\x3e 1; index \x3c halfLength;) {\n var leftIndex \x3d 2 * (index + 1) - 1, left \x3d heap[leftIndex], rightIndex \x3d leftIndex + 1, right \x3d heap[rightIndex];\n if (0 \x3e compare(left, last)) {\n rightIndex \x3c length \x26\x26 0 \x3e compare(right, left) ? (heap[index] \x3d right, heap[rightIndex] \x3d last, index \x3d rightIndex) : (heap[index] \x3d left, heap[leftIndex] \x3d last, index \x3d leftIndex);\n } else if (rightIndex \x3c length \x26\x26 0 \x3e compare(right, last)) {\n heap[index] \x3d right, heap[rightIndex] \x3d last, index \x3d rightIndex;\n } else {\n break a;\n }\n }\n }\n }\n return first;\n }\n function compare(a, b) {\n var diff \x3d a.sortIndex - b.sortIndex;\n return 0 !\x3d\x3d diff ? diff : a.id - b.id;\n }\n function advanceTimers(currentTime) {\n for (var timer \x3d peek(timerQueue); null !\x3d\x3d timer;) {\n if (null \x3d\x3d\x3d timer.callback) {\n pop(timerQueue);\n } else if (timer.startTime \x3c\x3d currentTime) {\n pop(timerQueue), timer.sortIndex \x3d timer.expirationTime, push(taskQueue, timer);\n } else {\n break;\n }\n timer \x3d peek(timerQueue);\n }\n }\n function handleTimeout(currentTime) {\n isHostTimeoutScheduled \x3d !1;\n advanceTimers(currentTime);\n if (!isHostCallbackScheduled) {\n if (null !\x3d\x3d peek(taskQueue)) {\n isHostCallbackScheduled \x3d !0, requestHostCallback(flushWork);\n } else {\n var firstTimer \x3d peek(timerQueue);\n null !\x3d\x3d firstTimer \x26\x26 requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);\n }\n }\n }\n function flushWork(hasTimeRemaining, initialTime) {\n isHostCallbackScheduled \x3d !1;\n isHostTimeoutScheduled \x26\x26 (isHostTimeoutScheduled \x3d !1, localClearTimeout(taskTimeoutID), taskTimeoutID \x3d -1);\n isPerformingWork \x3d !0;\n var previousPriorityLevel \x3d currentPriorityLevel;\n try {\n advanceTimers(initialTime);\n for (currentTask \x3d peek(taskQueue); null !\x3d\x3d currentTask \x26\x26 (!(currentTask.expirationTime \x3e initialTime) || hasTimeRemaining \x26\x26 !shouldYieldToHost());) {\n var callback \x3d currentTask.callback;\n if (\x22function\x22 \x3d\x3d\x3d typeof callback) {\n currentTask.callback \x3d null;\n currentPriorityLevel \x3d currentTask.priorityLevel;\n var continuationCallback \x3d callback(currentTask.expirationTime \x3c\x3d initialTime);\n initialTime \x3d exports.unstable_now();\n \x22function\x22 \x3d\x3d\x3d typeof continuationCallback ? currentTask.callback \x3d continuationCallback : currentTask \x3d\x3d\x3d peek(taskQueue) \x26\x26 pop(taskQueue);\n advanceTimers(initialTime);\n } else {\n pop(taskQueue);\n }\n currentTask \x3d peek(taskQueue);\n }\n if (null !\x3d\x3d currentTask) {\n var JSCompiler_inline_result \x3d !0;\n } else {\n var firstTimer \x3d peek(timerQueue);\n null !\x3d\x3d firstTimer \x26\x26 requestHostTimeout(handleTimeout, firstTimer.startTime - initialTime);\n JSCompiler_inline_result \x3d !1;\n }\n return JSCompiler_inline_result;\n } finally {\n currentTask \x3d null, currentPriorityLevel \x3d previousPriorityLevel, isPerformingWork \x3d !1;\n }\n }\n function shouldYieldToHost() {\n return exports.unstable_now() - startTime \x3c frameInterval ? !1 : !0;\n }\n function requestHostCallback(callback) {\n scheduledHostCallback \x3d callback;\n isMessageLoopRunning || (isMessageLoopRunning \x3d !0, schedulePerformWorkUntilDeadline());\n }\n function requestHostTimeout(callback, ms) {\n taskTimeoutID \x3d localSetTimeout(function() {\n callback(exports.unstable_now());\n }, ms);\n }\n \x22undefined\x22 !\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart \x26\x26 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n if (\x22object\x22 \x3d\x3d\x3d typeof performance \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof performance.now) {\n var localPerformance \x3d performance;\n exports.unstable_now \x3d function() {\n return localPerformance.now();\n };\n } else {\n var localDate \x3d Date, initialTime \x3d localDate.now();\n exports.unstable_now \x3d function() {\n return localDate.now() - initialTime;\n };\n }\n var taskQueue \x3d [], timerQueue \x3d [], taskIdCounter \x3d 1, currentTask \x3d null, currentPriorityLevel \x3d 3, isPerformingWork \x3d !1, isHostCallbackScheduled \x3d !1, isHostTimeoutScheduled \x3d !1, localSetTimeout \x3d \x22function\x22 \x3d\x3d\x3d typeof setTimeout ? setTimeout : null, localClearTimeout \x3d \x22function\x22 \x3d\x3d\x3d typeof clearTimeout ? clearTimeout : null, localSetImmediate \x3d \x22undefined\x22 !\x3d\x3d typeof setImmediate ? setImmediate : null;\n \x22undefined\x22 !\x3d\x3d typeof navigator \x26\x26 void 0 !\x3d\x3d navigator.scheduling \x26\x26 void 0 !\x3d\x3d navigator.scheduling.isInputPending \x26\x26 navigator.scheduling.isInputPending.bind(navigator.scheduling);\n var isMessageLoopRunning \x3d !1, scheduledHostCallback \x3d null, taskTimeoutID \x3d -1, frameInterval \x3d 5, startTime \x3d -1, performWorkUntilDeadline \x3d function() {\n if (null !\x3d\x3d scheduledHostCallback) {\n var currentTime \x3d exports.unstable_now();\n startTime \x3d currentTime;\n var hasMoreWork \x3d !0;\n try {\n hasMoreWork \x3d scheduledHostCallback(!0, currentTime);\n } finally {\n hasMoreWork ? schedulePerformWorkUntilDeadline() : (isMessageLoopRunning \x3d !1, scheduledHostCallback \x3d null);\n }\n } else {\n isMessageLoopRunning \x3d !1;\n }\n };\n if (\x22function\x22 \x3d\x3d\x3d typeof localSetImmediate) {\n var schedulePerformWorkUntilDeadline \x3d function() {\n localSetImmediate(performWorkUntilDeadline);\n };\n } else if (\x22undefined\x22 !\x3d\x3d typeof MessageChannel) {\n var channel \x3d new MessageChannel(), port \x3d channel.port2;\n channel.port1.onmessage \x3d performWorkUntilDeadline;\n schedulePerformWorkUntilDeadline \x3d function() {\n port.postMessage(null);\n };\n } else {\n schedulePerformWorkUntilDeadline \x3d function() {\n localSetTimeout(performWorkUntilDeadline, 0);\n };\n }\n exports.unstable_IdlePriority \x3d 5;\n exports.unstable_ImmediatePriority \x3d 1;\n exports.unstable_LowPriority \x3d 4;\n exports.unstable_NormalPriority \x3d 3;\n exports.unstable_Profiling \x3d null;\n exports.unstable_UserBlockingPriority \x3d 2;\n exports.unstable_cancelCallback \x3d function(task) {\n task.callback \x3d null;\n };\n exports.unstable_continueExecution \x3d function() {\n isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled \x3d !0, requestHostCallback(flushWork));\n };\n exports.unstable_forceFrameRate \x3d function(fps) {\n 0 \x3e fps || 125 \x3c fps ? console.error(\x22forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\x22) : frameInterval \x3d 0 \x3c fps ? Math.floor(1000 / fps) : 5;\n };\n exports.unstable_getCurrentPriorityLevel \x3d function() {\n return currentPriorityLevel;\n };\n exports.unstable_getFirstCallbackNode \x3d function() {\n return peek(taskQueue);\n };\n exports.unstable_next \x3d function(eventHandler) {\n switch(currentPriorityLevel) {\n case 1:\n case 2:\n case 3:\n var priorityLevel \x3d 3;\n break;\n default:\n priorityLevel \x3d currentPriorityLevel;\n }\n var previousPriorityLevel \x3d currentPriorityLevel;\n currentPriorityLevel \x3d priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel \x3d previousPriorityLevel;\n }\n };\n exports.unstable_pauseExecution \x3d function() {\n };\n exports.unstable_requestPaint \x3d function() {\n };\n exports.unstable_runWithPriority \x3d function(priorityLevel, eventHandler) {\n switch(priorityLevel) {\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n break;\n default:\n priorityLevel \x3d 3;\n }\n var previousPriorityLevel \x3d currentPriorityLevel;\n currentPriorityLevel \x3d priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel \x3d previousPriorityLevel;\n }\n };\n exports.unstable_scheduleCallback \x3d function(priorityLevel, callback, options) {\n var currentTime \x3d exports.unstable_now();\n \x22object\x22 \x3d\x3d\x3d typeof options \x26\x26 null !\x3d\x3d options ? (options \x3d options.delay, options \x3d \x22number\x22 \x3d\x3d\x3d typeof options \x26\x26 0 \x3c options ? currentTime + options : currentTime) : options \x3d currentTime;\n switch(priorityLevel) {\n case 1:\n var timeout \x3d -1;\n break;\n case 2:\n timeout \x3d 250;\n break;\n case 5:\n timeout \x3d 1073741823;\n break;\n case 4:\n timeout \x3d 10000;\n break;\n default:\n timeout \x3d 5000;\n }\n timeout \x3d options + timeout;\n priorityLevel \x3d {id:taskIdCounter++, callback, priorityLevel, startTime:options, expirationTime:timeout, sortIndex:-1};\n options \x3e currentTime ? (priorityLevel.sortIndex \x3d options, push(timerQueue, priorityLevel), null \x3d\x3d\x3d peek(taskQueue) \x26\x26 priorityLevel \x3d\x3d\x3d peek(timerQueue) \x26\x26 (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID \x3d -1) : isHostTimeoutScheduled \x3d !0, requestHostTimeout(handleTimeout, options - currentTime))) : (priorityLevel.sortIndex \x3d timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled \x3d !0, requestHostCallback(flushWork)));\n return priorityLevel;\n };\n exports.unstable_shouldYield \x3d shouldYieldToHost;\n exports.unstable_wrapCallback \x3d function(callback) {\n var parentPriorityLevel \x3d currentPriorityLevel;\n return function() {\n var previousPriorityLevel \x3d currentPriorityLevel;\n currentPriorityLevel \x3d parentPriorityLevel;\n try {\n return callback.apply(this, arguments);\n } finally {\n currentPriorityLevel \x3d previousPriorityLevel;\n }\n };\n };\n \x22undefined\x22 !\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop \x26\x26 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n};\n"); SHADOW_ENV.evalLoad("module$node_modules$scheduler$index.js", true, "shadow$provide.module$node_modules$scheduler$index \x3d function(global, require, module, exports) {\n module.exports \x3d require(\x22module$node_modules$scheduler$cjs$scheduler_development\x22);\n};\n"); SHADOW_ENV.evalLoad("module$node_modules$react_dom$cjs$react_dom_development.js", true, "shadow$provide.module$node_modules$react_dom$cjs$react_dom_development \x3d function(global, require, module, exports) {\n (function() {\n function warn(format) {\n if (!suppressWarning) {\n for (var _len \x3d arguments.length, args \x3d Array(1 \x3c _len ? _len - 1 : 0), _key \x3d 1; _key \x3c _len; _key++) {\n args[_key - 1] \x3d arguments[_key];\n }\n printWarning(\x22warn\x22, format, args);\n }\n }\n function error(format) {\n if (!suppressWarning) {\n for (var _len2 \x3d arguments.length, args \x3d Array(1 \x3c _len2 ? _len2 - 1 : 0), _key2 \x3d 1; _key2 \x3c _len2; _key2++) {\n args[_key2 - 1] \x3d arguments[_key2];\n }\n printWarning(\x22error\x22, format, args);\n }\n }\n function printWarning(level, format, args) {\n var stack \x3d ReactSharedInternals.ReactDebugCurrentFrame.getStackAddendum();\n \x22\x22 !\x3d\x3d stack \x26\x26 (format +\x3d \x22%s\x22, args \x3d args.concat([stack]));\n args \x3d args.map(function(item) {\n return String(item);\n });\n args.unshift(\x22Warning: \x22 + format);\n Function.prototype.apply.call(console[level], console, args);\n }\n function registerTwoPhaseEvent(registrationName, dependencies) {\n registerDirectEvent(registrationName, dependencies);\n registerDirectEvent(registrationName + \x22Capture\x22, dependencies);\n }\n function registerDirectEvent(registrationName, dependencies) {\n registrationNameDependencies[registrationName] \x26\x26 error(\x22EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.\x22, registrationName);\n registrationNameDependencies[registrationName] \x3d dependencies;\n var lowerCasedName \x3d registrationName.toLowerCase();\n possibleRegistrationNames[lowerCasedName] \x3d registrationName;\n \x22onDoubleClick\x22 \x3d\x3d\x3d registrationName \x26\x26 (possibleRegistrationNames.ondblclick \x3d registrationName);\n for (registrationName \x3d 0; registrationName \x3c dependencies.length; registrationName++) {\n allNativeEvents.add(dependencies[registrationName]);\n }\n }\n function isAttributeNameSafe(attributeName) {\n if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) {\n return !0;\n }\n if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) {\n return !1;\n }\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {\n return validatedAttributeNameCache[attributeName] \x3d !0;\n }\n illegalAttributeNameCache[attributeName] \x3d !0;\n error(\x22Invalid attribute name: `%s`\x22, attributeName);\n return !1;\n }\n function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) {\n return null !\x3d\x3d propertyInfo ? 0 \x3d\x3d\x3d propertyInfo.type : isCustomComponentTag ? !1 : !(2 \x3c name.length) || \x22o\x22 !\x3d\x3d name[0] \x26\x26 \x22O\x22 !\x3d\x3d name[0] || \x22n\x22 !\x3d\x3d name[1] \x26\x26 \x22N\x22 !\x3d\x3d name[1] ? !1 : !0;\n }\n function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) {\n if (null !\x3d\x3d propertyInfo \x26\x26 0 \x3d\x3d\x3d propertyInfo.type) {\n return !1;\n }\n switch(typeof value) {\n case \x22function\x22:\n case \x22symbol\x22:\n return !0;\n case \x22boolean\x22:\n if (isCustomComponentTag) {\n return !1;\n }\n if (null !\x3d\x3d propertyInfo) {\n return !propertyInfo.acceptsBooleans;\n }\n name \x3d name.toLowerCase().slice(0, 5);\n return \x22data-\x22 !\x3d\x3d name \x26\x26 \x22aria-\x22 !\x3d\x3d name;\n default:\n return !1;\n }\n }\n function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) {\n if (null \x3d\x3d\x3d value || \x22undefined\x22 \x3d\x3d\x3d typeof value || shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) {\n return !0;\n }\n if (isCustomComponentTag) {\n return !1;\n }\n if (null !\x3d\x3d propertyInfo) {\n switch(propertyInfo.type) {\n case 3:\n return !value;\n case 4:\n return !1 \x3d\x3d\x3d value;\n case 5:\n return isNaN(value);\n case 6:\n return isNaN(value) || 1 \x3e value;\n }\n }\n return !1;\n }\n function getPropertyInfo(name) {\n return properties.hasOwnProperty(name) ? properties[name] : null;\n }\n function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {\n this.acceptsBooleans \x3d 2 \x3d\x3d\x3d type || 3 \x3d\x3d\x3d type || 4 \x3d\x3d\x3d type;\n this.attributeName \x3d attributeName;\n this.attributeNamespace \x3d attributeNamespace;\n this.mustUseProperty \x3d mustUseProperty;\n this.propertyName \x3d name;\n this.type \x3d type;\n this.sanitizeURL \x3d sanitizeURL;\n this.removeEmptyString \x3d removeEmptyString;\n }\n function sanitizeURL(url) {\n !didWarn \x26\x26 isJavaScriptProtocol.test(url) \x26\x26 (didWarn \x3d !0, error(\x22A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.\x22, JSON.stringify(url)));\n }\n function getValueForAttribute(node, name, expected, isCustomComponentTag) {\n if (isAttributeNameSafe(name)) {\n if (!node.hasAttribute(name)) {\n return void 0 \x3d\x3d\x3d expected ? void 0 : null;\n }\n node \x3d node.getAttribute(name);\n return node \x3d\x3d\x3d \x22\x22 + expected ? expected : node;\n }\n }\n function setValueForProperty(node, name, value, isCustomComponentTag) {\n var propertyInfo \x3d getPropertyInfo(name);\n if (!shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag)) {\n if (shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) \x26\x26 (value \x3d null), isCustomComponentTag || null \x3d\x3d\x3d propertyInfo) {\n isAttributeNameSafe(name) \x26\x26 (null \x3d\x3d\x3d value ? node.removeAttribute(name) : node.setAttribute(name, \x22\x22 + value));\n } else {\n if (propertyInfo.mustUseProperty) {\n node[propertyInfo.propertyName] \x3d null \x3d\x3d\x3d value ? 3 \x3d\x3d\x3d propertyInfo.type ? !1 : \x22\x22 : value;\n } else {\n if (name \x3d propertyInfo.attributeName, isCustomComponentTag \x3d propertyInfo.attributeNamespace, null \x3d\x3d\x3d value) {\n node.removeAttribute(name);\n } else {\n var _type \x3d propertyInfo.type;\n 3 \x3d\x3d\x3d _type || 4 \x3d\x3d\x3d _type \x26\x26 !0 \x3d\x3d\x3d value ? value \x3d \x22\x22 : (value \x3d \x22\x22 + value, propertyInfo.sanitizeURL \x26\x26 sanitizeURL(value.toString()));\n isCustomComponentTag ? node.setAttributeNS(isCustomComponentTag, name, value) : node.setAttribute(name, value);\n }\n }\n }\n }\n }\n function getIteratorFn(maybeIterable) {\n if (null \x3d\x3d\x3d maybeIterable || \x22object\x22 !\x3d\x3d typeof maybeIterable) {\n return null;\n }\n maybeIterable \x3d MAYBE_ITERATOR_SYMBOL \x26\x26 maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[\x22@@iterator\x22];\n return \x22function\x22 \x3d\x3d\x3d typeof maybeIterable ? maybeIterable : null;\n }\n function disabledLog() {\n }\n function disableLogs() {\n if (0 \x3d\x3d\x3d disabledDepth) {\n prevLog \x3d console.log;\n prevInfo \x3d console.info;\n prevWarn \x3d console.warn;\n prevError \x3d console.error;\n prevGroup \x3d console.group;\n prevGroupCollapsed \x3d console.groupCollapsed;\n prevGroupEnd \x3d console.groupEnd;\n var props \x3d {configurable:!0, enumerable:!0, value:disabledLog, writable:!0};\n Object.defineProperties(console, {info:props, log:props, warn:props, error:props, group:props, groupCollapsed:props, groupEnd:props});\n }\n disabledDepth++;\n }\n function reenableLogs() {\n disabledDepth--;\n if (0 \x3d\x3d\x3d disabledDepth) {\n var props \x3d {configurable:!0, enumerable:!0, writable:!0};\n Object.defineProperties(console, {log:assign({}, props, {value:prevLog}), info:assign({}, props, {value:prevInfo}), warn:assign({}, props, {value:prevWarn}), error:assign({}, props, {value:prevError}), group:assign({}, props, {value:prevGroup}), groupCollapsed:assign({}, props, {value:prevGroupCollapsed}), groupEnd:assign({}, props, {value:prevGroupEnd})});\n }\n 0 \x3e disabledDepth \x26\x26 error(\x22disabledDepth fell below zero. This is a bug in React. Please file an issue.\x22);\n }\n function describeBuiltInComponentFrame(name, source, ownerFn) {\n if (void 0 \x3d\x3d\x3d prefix) {\n try {\n throw Error();\n } catch (x) {\n prefix \x3d (source \x3d x.stack.trim().match(/\\n( *(at )?)/)) \x26\x26 source[1] || \x22\x22;\n }\n }\n return \x22\\n\x22 + prefix + name;\n }\n function describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) {\n return \x22\x22;\n }\n var frame \x3d componentFrameCache.get(fn);\n if (void 0 !\x3d\x3d frame) {\n return frame;\n }\n reentry \x3d !0;\n frame \x3d Error.prepareStackTrace;\n Error.prepareStackTrace \x3d void 0;\n var previousDispatcher \x3d ReactCurrentDispatcher.current;\n ReactCurrentDispatcher.current \x3d null;\n disableLogs();\n try {\n if (construct) {\n if (construct \x3d function() {\n throw Error();\n }, Object.defineProperty(construct.prototype, \x22props\x22, {set:function() {\n throw Error();\n }}), \x22object\x22 \x3d\x3d\x3d typeof Reflect \x26\x26 Reflect.construct) {\n try {\n Reflect.construct(construct, []);\n } catch (x) {\n var control \x3d x;\n }\n Reflect.construct(fn, [], construct);\n } else {\n try {\n construct.call();\n } catch (x) {\n control \x3d x;\n }\n fn.call(construct.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control \x3d x;\n }\n fn();\n }\n } catch (sample) {\n if (sample \x26\x26 control \x26\x26 \x22string\x22 \x3d\x3d\x3d typeof sample.stack) {\n for (var sampleLines \x3d sample.stack.split(\x22\\n\x22), controlLines \x3d control.stack.split(\x22\\n\x22), s \x3d sampleLines.length - 1, c \x3d controlLines.length - 1; 1 \x3c\x3d s \x26\x26 0 \x3c\x3d c \x26\x26 sampleLines[s] !\x3d\x3d controlLines[c];) {\n c--;\n }\n for (; 1 \x3c\x3d s \x26\x26 0 \x3c\x3d c; s--, c--) {\n if (sampleLines[s] !\x3d\x3d controlLines[c]) {\n if (1 !\x3d\x3d s || 1 !\x3d\x3d c) {\n do {\n if (s--, c--, 0 \x3e c || sampleLines[s] !\x3d\x3d controlLines[c]) {\n var _frame \x3d \x22\\n\x22 + sampleLines[s].replace(\x22 at new \x22, \x22 at \x22);\n fn.displayName \x26\x26 _frame.includes(\x22\\x3canonymous\\x3e\x22) \x26\x26 (_frame \x3d _frame.replace(\x22\\x3canonymous\\x3e\x22, fn.displayName));\n \x22function\x22 \x3d\x3d\x3d typeof fn \x26\x26 componentFrameCache.set(fn, _frame);\n return _frame;\n }\n } while (1 \x3c\x3d s \x26\x26 0 \x3c\x3d c);\n }\n break;\n }\n }\n }\n } finally {\n reentry \x3d !1, ReactCurrentDispatcher.current \x3d previousDispatcher, reenableLogs(), Error.prepareStackTrace \x3d frame;\n }\n control \x3d (control \x3d fn ? fn.displayName || fn.name : \x22\x22) ? describeBuiltInComponentFrame(control) : \x22\x22;\n \x22function\x22 \x3d\x3d\x3d typeof fn \x26\x26 componentFrameCache.set(fn, control);\n return control;\n }\n function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n if (null \x3d\x3d type) {\n return \x22\x22;\n }\n if (\x22function\x22 \x3d\x3d\x3d typeof type) {\n return source \x3d type.prototype, describeNativeComponentFrame(type, !(!source || !source.isReactComponent));\n }\n if (\x22string\x22 \x3d\x3d\x3d typeof type) {\n return describeBuiltInComponentFrame(type);\n }\n switch(type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame(\x22Suspense\x22);\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame(\x22SuspenseList\x22);\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof type) {\n switch(type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return type \x3d describeNativeComponentFrame(type.render, !1), type;\n case REACT_MEMO_TYPE:\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n case REACT_LAZY_TYPE:\n var payload \x3d type._payload;\n type \x3d type._init;\n try {\n return describeUnknownElementTypeFrameInDEV(type(payload), source, ownerFn);\n } catch (x) {\n }\n }\n }\n return \x22\x22;\n }\n function describeFiber(fiber) {\n switch(fiber.tag) {\n case 5:\n return describeBuiltInComponentFrame(fiber.type);\n case 16:\n return describeBuiltInComponentFrame(\x22Lazy\x22);\n case 13:\n return describeBuiltInComponentFrame(\x22Suspense\x22);\n case 19:\n return describeBuiltInComponentFrame(\x22SuspenseList\x22);\n case 0:\n case 2:\n case 15:\n return fiber \x3d describeNativeComponentFrame(fiber.type, !1), fiber;\n case 11:\n return fiber \x3d describeNativeComponentFrame(fiber.type.render, !1), fiber;\n case 1:\n return fiber \x3d describeNativeComponentFrame(fiber.type, !0), fiber;\n default:\n return \x22\x22;\n }\n }\n function getStackByFiberInDevAndProd(workInProgress) {\n try {\n var info \x3d \x22\x22;\n do {\n info +\x3d describeFiber(workInProgress), workInProgress \x3d workInProgress.return;\n } while (workInProgress);\n return info;\n } catch (x) {\n return \x22\\nError generating stack: \x22 + x.message + \x22\\n\x22 + x.stack;\n }\n }\n function getComponentNameFromType(type) {\n if (null \x3d\x3d type) {\n return null;\n }\n \x22number\x22 \x3d\x3d\x3d typeof type.tag \x26\x26 error(\x22Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\x22);\n if (\x22function\x22 \x3d\x3d\x3d typeof type) {\n return type.displayName || type.name || null;\n }\n if (\x22string\x22 \x3d\x3d\x3d typeof type) {\n return type;\n }\n switch(type) {\n case REACT_FRAGMENT_TYPE:\n return \x22Fragment\x22;\n case REACT_PORTAL_TYPE:\n return \x22Portal\x22;\n case REACT_PROFILER_TYPE:\n return \x22Profiler\x22;\n case REACT_STRICT_MODE_TYPE:\n return \x22StrictMode\x22;\n case REACT_SUSPENSE_TYPE:\n return \x22Suspense\x22;\n case REACT_SUSPENSE_LIST_TYPE:\n return \x22SuspenseList\x22;\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof type) {\n switch(type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \x22Context\x22) + \x22.Consumer\x22;\n case REACT_PROVIDER_TYPE:\n return (type._context.displayName || \x22Context\x22) + \x22.Provider\x22;\n case REACT_FORWARD_REF_TYPE:\n var innerType \x3d type.render;\n type \x3d type.displayName;\n type || (type \x3d innerType.displayName || innerType.name || \x22\x22, type \x3d \x22\x22 !\x3d\x3d type ? \x22ForwardRef(\x22 + type + \x22)\x22 : \x22ForwardRef\x22);\n return type;\n case REACT_MEMO_TYPE:\n return innerType \x3d type.displayName || null, null !\x3d\x3d innerType ? innerType : getComponentNameFromType(type.type) || \x22Memo\x22;\n case REACT_LAZY_TYPE:\n innerType \x3d type._payload;\n type \x3d type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {\n }\n }\n }\n return null;\n }\n function getComponentNameFromFiber(fiber) {\n var type \x3d fiber.type;\n switch(fiber.tag) {\n case 24:\n return \x22Cache\x22;\n case 9:\n return (type.displayName || \x22Context\x22) + \x22.Consumer\x22;\n case 10:\n return (type._context.displayName || \x22Context\x22) + \x22.Provider\x22;\n case 18:\n return \x22DehydratedFragment\x22;\n case 11:\n return fiber \x3d type.render, fiber \x3d fiber.displayName || fiber.name || \x22\x22, type.displayName || (\x22\x22 !\x3d\x3d fiber ? \x22ForwardRef(\x22 + fiber + \x22)\x22 : \x22ForwardRef\x22);\n case 7:\n return \x22Fragment\x22;\n case 5:\n return type;\n case 4:\n return \x22Portal\x22;\n case 3:\n return \x22Root\x22;\n case 6:\n return \x22Text\x22;\n case 16:\n return getComponentNameFromType(type);\n case 8:\n return type \x3d\x3d\x3d REACT_STRICT_MODE_TYPE ? \x22StrictMode\x22 : \x22Mode\x22;\n case 22:\n return \x22Offscreen\x22;\n case 12:\n return \x22Profiler\x22;\n case 21:\n return \x22Scope\x22;\n case 13:\n return \x22Suspense\x22;\n case 19:\n return \x22SuspenseList\x22;\n case 25:\n return \x22TracingMarker\x22;\n case 1:\n case 0:\n case 17:\n case 2:\n case 14:\n case 15:\n if (\x22function\x22 \x3d\x3d\x3d typeof type) {\n return type.displayName || type.name || null;\n }\n if (\x22string\x22 \x3d\x3d\x3d typeof type) {\n return type;\n }\n }\n return null;\n }\n function getCurrentFiberOwnerNameInDevOrNull() {\n if (null \x3d\x3d\x3d current) {\n return null;\n }\n var owner \x3d current._debugOwner;\n return null !\x3d\x3d owner \x26\x26 \x22undefined\x22 !\x3d\x3d typeof owner ? getComponentNameFromFiber(owner) : null;\n }\n function getCurrentFiberStackInDev() {\n return null \x3d\x3d\x3d current ? \x22\x22 : getStackByFiberInDevAndProd(current);\n }\n function resetCurrentFiber() {\n current \x3d ReactDebugCurrentFrame.getCurrentStack \x3d null;\n isRendering \x3d !1;\n }\n function setCurrentFiber(fiber) {\n ReactDebugCurrentFrame.getCurrentStack \x3d null \x3d\x3d\x3d fiber ? null : getCurrentFiberStackInDev;\n current \x3d fiber;\n isRendering \x3d !1;\n }\n function getToStringValue(value) {\n switch(typeof value) {\n case \x22boolean\x22:\n case \x22number\x22:\n case \x22string\x22:\n case \x22undefined\x22:\n return value;\n case \x22object\x22:\n return value;\n default:\n return \x22\x22;\n }\n }\n function checkControlledValueProps(tagName, props) {\n hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || null \x3d\x3d props.value || error(\x22You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.\x22);\n props.onChange || props.readOnly || props.disabled || null \x3d\x3d props.checked || error(\x22You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.\x22);\n }\n function isCheckable(elem) {\n var type \x3d elem.type;\n return (elem \x3d elem.nodeName) \x26\x26 \x22input\x22 \x3d\x3d\x3d elem.toLowerCase() \x26\x26 (\x22checkbox\x22 \x3d\x3d\x3d type || \x22radio\x22 \x3d\x3d\x3d type);\n }\n function trackValueOnNode(node) {\n var valueField \x3d isCheckable(node) ? \x22checked\x22 : \x22value\x22, descriptor \x3d Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField), currentValue \x3d \x22\x22 + node[valueField];\n if (!node.hasOwnProperty(valueField) \x26\x26 \x22undefined\x22 !\x3d\x3d typeof descriptor \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof descriptor.get \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof descriptor.set) {\n var get \x3d descriptor.get, set \x3d descriptor.set;\n Object.defineProperty(node, valueField, {configurable:!0, get:function() {\n return get.call(this);\n }, set:function(value) {\n currentValue \x3d \x22\x22 + value;\n set.call(this, value);\n }});\n Object.defineProperty(node, valueField, {enumerable:descriptor.enumerable});\n return {getValue:function() {\n return currentValue;\n }, setValue:function(value) {\n currentValue \x3d \x22\x22 + value;\n }, stopTracking:function() {\n node._valueTracker \x3d null;\n delete node[valueField];\n }};\n }\n }\n function track(node) {\n node._valueTracker || (node._valueTracker \x3d trackValueOnNode(node));\n }\n function updateValueIfChanged(node) {\n if (!node) {\n return !1;\n }\n var tracker \x3d node._valueTracker;\n if (!tracker) {\n return !0;\n }\n var lastValue \x3d tracker.getValue();\n var value \x3d \x22\x22;\n node \x26\x26 (value \x3d isCheckable(node) ? node.checked ? \x22true\x22 : \x22false\x22 : node.value);\n node \x3d value;\n return node !\x3d\x3d lastValue ? (tracker.setValue(node), !0) : !1;\n }\n function getActiveElement(doc) {\n doc \x3d doc || (\x22undefined\x22 !\x3d\x3d typeof document ? document : void 0);\n if (\x22undefined\x22 \x3d\x3d\x3d typeof doc) {\n return null;\n }\n try {\n return doc.activeElement || doc.body;\n } catch (e) {\n return doc.body;\n }\n }\n function isControlled(props) {\n return \x22checkbox\x22 \x3d\x3d\x3d props.type || \x22radio\x22 \x3d\x3d\x3d props.type ? null !\x3d props.checked : null !\x3d props.value;\n }\n function getHostProps(element, props) {\n var checked \x3d props.checked;\n return assign({}, props, {defaultChecked:void 0, defaultValue:void 0, value:void 0, checked:null !\x3d checked ? checked : element._wrapperState.initialChecked});\n }\n function initWrapperState(element, props) {\n checkControlledValueProps(\x22input\x22, props);\n void 0 \x3d\x3d\x3d props.checked || void 0 \x3d\x3d\x3d props.defaultChecked || didWarnCheckedDefaultChecked || (error(\x22%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components\x22, getCurrentFiberOwnerNameInDevOrNull() || \n \x22A component\x22, props.type), didWarnCheckedDefaultChecked \x3d !0);\n void 0 \x3d\x3d\x3d props.value || void 0 \x3d\x3d\x3d props.defaultValue || didWarnValueDefaultValue || (error(\x22%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components\x22, getCurrentFiberOwnerNameInDevOrNull() || \x22A component\x22, \n props.type), didWarnValueDefaultValue \x3d !0);\n var defaultValue \x3d null \x3d\x3d props.defaultValue ? \x22\x22 : props.defaultValue;\n element._wrapperState \x3d {initialChecked:null !\x3d props.checked ? props.checked : props.defaultChecked, initialValue:getToStringValue(null !\x3d props.value ? props.value : defaultValue), controlled:isControlled(props)};\n }\n function updateChecked(element, props) {\n props \x3d props.checked;\n null !\x3d props \x26\x26 setValueForProperty(element, \x22checked\x22, props, !1);\n }\n function updateWrapper(element, props) {\n var controlled \x3d isControlled(props);\n element._wrapperState.controlled || !controlled || didWarnUncontrolledToControlled || (error(\x22A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components\x22), didWarnUncontrolledToControlled \x3d !0);\n !element._wrapperState.controlled || controlled || didWarnControlledToUncontrolled || (error(\x22A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components\x22), didWarnControlledToUncontrolled \x3d !0);\n updateChecked(element, props);\n controlled \x3d getToStringValue(props.value);\n var type \x3d props.type;\n if (null !\x3d controlled) {\n if (\x22number\x22 \x3d\x3d\x3d type) {\n if (0 \x3d\x3d\x3d controlled \x26\x26 \x22\x22 \x3d\x3d\x3d element.value || element.value !\x3d controlled) {\n element.value \x3d \x22\x22 + controlled;\n }\n } else {\n element.value !\x3d\x3d \x22\x22 + controlled \x26\x26 (element.value \x3d \x22\x22 + controlled);\n }\n } else if (\x22submit\x22 \x3d\x3d\x3d type || \x22reset\x22 \x3d\x3d\x3d type) {\n element.removeAttribute(\x22value\x22);\n return;\n }\n props.hasOwnProperty(\x22value\x22) ? setDefaultValue(element, props.type, controlled) : props.hasOwnProperty(\x22defaultValue\x22) \x26\x26 setDefaultValue(element, props.type, getToStringValue(props.defaultValue));\n null \x3d\x3d props.checked \x26\x26 null !\x3d props.defaultChecked \x26\x26 (element.defaultChecked \x3d !!props.defaultChecked);\n }\n function postMountWrapper(element, props, isHydrating) {\n if (props.hasOwnProperty(\x22value\x22) || props.hasOwnProperty(\x22defaultValue\x22)) {\n var type \x3d props.type;\n if (!(\x22submit\x22 !\x3d\x3d type \x26\x26 \x22reset\x22 !\x3d\x3d type || void 0 !\x3d\x3d props.value \x26\x26 null !\x3d\x3d props.value)) {\n return;\n }\n props \x3d \x22\x22 + element._wrapperState.initialValue;\n isHydrating || props \x3d\x3d\x3d element.value || (element.value \x3d props);\n element.defaultValue \x3d props;\n }\n isHydrating \x3d element.name;\n \x22\x22 !\x3d\x3d isHydrating \x26\x26 (element.name \x3d \x22\x22);\n element.defaultChecked \x3d !element.defaultChecked;\n element.defaultChecked \x3d !!element._wrapperState.initialChecked;\n \x22\x22 !\x3d\x3d isHydrating \x26\x26 (element.name \x3d isHydrating);\n }\n function setDefaultValue(node, type, value) {\n if (\x22number\x22 !\x3d\x3d type || getActiveElement(node.ownerDocument) !\x3d\x3d node) {\n null \x3d\x3d value ? node.defaultValue \x3d \x22\x22 + node._wrapperState.initialValue : node.defaultValue !\x3d\x3d \x22\x22 + value \x26\x26 (node.defaultValue \x3d \x22\x22 + value);\n }\n }\n function validateProps(element, props) {\n null \x3d\x3d props.value \x26\x26 (\x22object\x22 \x3d\x3d\x3d typeof props.children \x26\x26 null !\x3d\x3d props.children ? React.Children.forEach(props.children, function(child) {\n null \x3d\x3d child || \x22string\x22 \x3d\x3d\x3d typeof child || \x22number\x22 \x3d\x3d\x3d typeof child || didWarnInvalidChild || (didWarnInvalidChild \x3d !0, error(\x22Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to \\x3coption\\x3e.\x22));\n }) : null \x3d\x3d props.dangerouslySetInnerHTML || didWarnInvalidInnerHTML || (didWarnInvalidInnerHTML \x3d !0, error(\x22Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.\x22)));\n null \x3d\x3d props.selected || didWarnSelectedSetOnOption || (error(\x22Use the `defaultValue` or `value` props on \\x3cselect\\x3e instead of setting `selected` on \\x3coption\\x3e.\x22), didWarnSelectedSetOnOption \x3d !0);\n }\n function getDeclarationErrorAddendum() {\n var ownerName \x3d getCurrentFiberOwnerNameInDevOrNull();\n return ownerName ? \x22\\n\\nCheck the render method of `\x22 + ownerName + \x22`.\x22 : \x22\x22;\n }\n function updateOptions(node, multiple, propValue, setDefaultSelected) {\n node \x3d node.options;\n if (multiple) {\n multiple \x3d {};\n for (var i \x3d 0; i \x3c propValue.length; i++) {\n multiple[\x22$\x22 + propValue[i]] \x3d !0;\n }\n for (propValue \x3d 0; propValue \x3c node.length; propValue++) {\n i \x3d multiple.hasOwnProperty(\x22$\x22 + node[propValue].value), node[propValue].selected !\x3d\x3d i \x26\x26 (node[propValue].selected \x3d i), i \x26\x26 setDefaultSelected \x26\x26 (node[propValue].defaultSelected \x3d !0);\n }\n } else {\n propValue \x3d \x22\x22 + getToStringValue(propValue);\n multiple \x3d null;\n for (i \x3d 0; i \x3c node.length; i++) {\n if (node[i].value \x3d\x3d\x3d propValue) {\n node[i].selected \x3d !0;\n setDefaultSelected \x26\x26 (node[i].defaultSelected \x3d !0);\n return;\n }\n null !\x3d\x3d multiple || node[i].disabled || (multiple \x3d node[i]);\n }\n null !\x3d\x3d multiple \x26\x26 (multiple.selected \x3d !0);\n }\n }\n function initWrapperState$1(element, props) {\n checkControlledValueProps(\x22select\x22, props);\n for (var i \x3d 0; i \x3c valuePropNames.length; i++) {\n var propName \x3d valuePropNames[i];\n if (null !\x3d props[propName]) {\n var propNameIsArray \x3d isArrayImpl(props[propName]);\n props.multiple \x26\x26 !propNameIsArray ? error(\x22The `%s` prop supplied to \\x3cselect\\x3e must be an array if `multiple` is true.%s\x22, propName, getDeclarationErrorAddendum()) : !props.multiple \x26\x26 propNameIsArray \x26\x26 error(\x22The `%s` prop supplied to \\x3cselect\\x3e must be a scalar value if `multiple` is false.%s\x22, propName, getDeclarationErrorAddendum());\n }\n }\n element._wrapperState \x3d {wasMultiple:!!props.multiple};\n void 0 \x3d\x3d\x3d props.value || void 0 \x3d\x3d\x3d props.defaultValue || didWarnValueDefaultValue$1 || (error(\x22Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components\x22), didWarnValueDefaultValue$1 \x3d !0);\n }\n function getHostProps$2(element, props) {\n if (null !\x3d props.dangerouslySetInnerHTML) {\n throw Error(\x22`dangerouslySetInnerHTML` does not make sense on \\x3ctextarea\\x3e.\x22);\n }\n return assign({}, props, {value:void 0, defaultValue:void 0, children:\x22\x22 + element._wrapperState.initialValue});\n }\n function initWrapperState$2(element, props) {\n checkControlledValueProps(\x22textarea\x22, props);\n void 0 \x3d\x3d\x3d props.value || void 0 \x3d\x3d\x3d props.defaultValue || didWarnValDefaultVal || (error(\x22%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components\x22, getCurrentFiberOwnerNameInDevOrNull() || \x22A component\x22), didWarnValDefaultVal \x3d \n !0);\n var initialValue \x3d props.value;\n if (null \x3d\x3d initialValue) {\n initialValue \x3d props.children;\n props \x3d props.defaultValue;\n if (null !\x3d initialValue) {\n error(\x22Use the `defaultValue` or `value` props instead of setting children on \\x3ctextarea\\x3e.\x22);\n if (null !\x3d props) {\n throw Error(\x22If you supply `defaultValue` on a \\x3ctextarea\\x3e, do not pass children.\x22);\n }\n if (isArrayImpl(initialValue)) {\n if (1 \x3c initialValue.length) {\n throw Error(\x22\\x3ctextarea\\x3e can only have at most one child.\x22);\n }\n initialValue \x3d initialValue[0];\n }\n props \x3d initialValue;\n }\n null \x3d\x3d props \x26\x26 (props \x3d \x22\x22);\n initialValue \x3d props;\n }\n element._wrapperState \x3d {initialValue:getToStringValue(initialValue)};\n }\n function updateWrapper$1(element, props) {\n var value \x3d getToStringValue(props.value), defaultValue \x3d getToStringValue(props.defaultValue);\n null !\x3d value \x26\x26 (value \x3d \x22\x22 + value, value !\x3d\x3d element.value \x26\x26 (element.value \x3d value), null \x3d\x3d props.defaultValue \x26\x26 element.defaultValue !\x3d\x3d value \x26\x26 (element.defaultValue \x3d value));\n null !\x3d defaultValue \x26\x26 (element.defaultValue \x3d \x22\x22 + defaultValue);\n }\n function postMountWrapper$3(element, props) {\n props \x3d element.textContent;\n props \x3d\x3d\x3d element._wrapperState.initialValue \x26\x26 \x22\x22 !\x3d\x3d props \x26\x26 null !\x3d\x3d props \x26\x26 (element.value \x3d props);\n }\n function getIntrinsicNamespace(type) {\n switch(type) {\n case \x22svg\x22:\n return \x22http://www.w3.org/2000/svg\x22;\n case \x22math\x22:\n return \x22http://www.w3.org/1998/Math/MathML\x22;\n default:\n return \x22http://www.w3.org/1999/xhtml\x22;\n }\n }\n function getChildNamespace(parentNamespace, type) {\n return null \x3d\x3d parentNamespace || \x22http://www.w3.org/1999/xhtml\x22 \x3d\x3d\x3d parentNamespace ? getIntrinsicNamespace(type) : \x22http://www.w3.org/2000/svg\x22 \x3d\x3d\x3d parentNamespace \x26\x26 \x22foreignObject\x22 \x3d\x3d\x3d type ? \x22http://www.w3.org/1999/xhtml\x22 : parentNamespace;\n }\n function dangerousStyleValue(name, value, isCustomProperty) {\n return null \x3d\x3d value || \x22boolean\x22 \x3d\x3d\x3d typeof value || \x22\x22 \x3d\x3d\x3d value ? \x22\x22 : isCustomProperty || \x22number\x22 !\x3d\x3d typeof value || 0 \x3d\x3d\x3d value || isUnitlessNumber.hasOwnProperty(name) \x26\x26 isUnitlessNumber[name] ? (\x22\x22 + value).trim() : value + \x22px\x22;\n }\n function setValueForStyles(node, styles) {\n node \x3d node.style;\n for (var styleName in styles) {\n if (styles.hasOwnProperty(styleName)) {\n var isCustomProperty \x3d 0 \x3d\x3d\x3d styleName.indexOf(\x22--\x22);\n isCustomProperty || warnValidStyle$1(styleName, styles[styleName]);\n var styleValue \x3d dangerousStyleValue(styleName, styles[styleName], isCustomProperty);\n \x22float\x22 \x3d\x3d\x3d styleName \x26\x26 (styleName \x3d \x22cssFloat\x22);\n isCustomProperty ? node.setProperty(styleName, styleValue) : node[styleName] \x3d styleValue;\n }\n }\n }\n function expandShorthandMap(styles) {\n var expanded \x3d {}, key;\n for (key in styles) {\n styles \x3d shorthandToLonghand[key] || [key];\n for (var i \x3d 0; i \x3c styles.length; i++) {\n expanded[styles[i]] \x3d key;\n }\n }\n return expanded;\n }\n function assertValidProps(tag, props) {\n if (props) {\n if (voidElementTags[tag] \x26\x26 (null !\x3d props.children || null !\x3d props.dangerouslySetInnerHTML)) {\n throw Error(tag + \x22 is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\x22);\n }\n if (null !\x3d props.dangerouslySetInnerHTML) {\n if (null !\x3d props.children) {\n throw Error(\x22Can only set one of `children` or `props.dangerouslySetInnerHTML`.\x22);\n }\n if (\x22object\x22 !\x3d\x3d typeof props.dangerouslySetInnerHTML || !(\x22__html\x22 in props.dangerouslySetInnerHTML)) {\n throw Error(\x22`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.\x22);\n }\n }\n !props.suppressContentEditableWarning \x26\x26 props.contentEditable \x26\x26 null !\x3d props.children \x26\x26 error(\x22A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.\x22);\n if (null !\x3d props.style \x26\x26 \x22object\x22 !\x3d\x3d typeof props.style) {\n throw Error(\x22The `style` prop expects a mapping from style properties to values, not a string. For example, style\\x3d{{marginRight: spacing + \x27em\x27}} when using JSX.\x22);\n }\n }\n }\n function isCustomComponent(tagName, props) {\n if (-1 \x3d\x3d\x3d tagName.indexOf(\x22-\x22)) {\n return \x22string\x22 \x3d\x3d\x3d typeof props.is;\n }\n switch(tagName) {\n case \x22annotation-xml\x22:\n case \x22color-profile\x22:\n case \x22font-face\x22:\n case \x22font-face-src\x22:\n case \x22font-face-uri\x22:\n case \x22font-face-format\x22:\n case \x22font-face-name\x22:\n case \x22missing-glyph\x22:\n return !1;\n default:\n return !0;\n }\n }\n function validateProperty(tagName, name) {\n if (hasOwnProperty.call(warnedProperties, name) \x26\x26 warnedProperties[name]) {\n return !0;\n }\n if (rARIACamel.test(name)) {\n tagName \x3d \x22aria-\x22 + name.slice(4).toLowerCase();\n tagName \x3d ariaProperties.hasOwnProperty(tagName) ? tagName : null;\n if (null \x3d\x3d tagName) {\n return error(\x22Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.\x22, name), warnedProperties[name] \x3d !0;\n }\n if (name !\x3d\x3d tagName) {\n return error(\x22Invalid ARIA attribute `%s`. Did you mean `%s`?\x22, name, tagName), warnedProperties[name] \x3d !0;\n }\n }\n if (rARIA.test(name)) {\n tagName \x3d name.toLowerCase();\n tagName \x3d ariaProperties.hasOwnProperty(tagName) ? tagName : null;\n if (null \x3d\x3d tagName) {\n return warnedProperties[name] \x3d !0, !1;\n }\n name !\x3d\x3d tagName \x26\x26 (error(\x22Unknown ARIA attribute `%s`. Did you mean `%s`?\x22, name, tagName), warnedProperties[name] \x3d !0);\n }\n return !0;\n }\n function warnInvalidARIAProps(type, props) {\n var invalidProps \x3d [], key;\n for (key in props) {\n validateProperty(type, key) || invalidProps.push(key);\n }\n props \x3d invalidProps.map(function(prop) {\n return \x22`\x22 + prop + \x22`\x22;\n }).join(\x22, \x22);\n 1 \x3d\x3d\x3d invalidProps.length ? error(\x22Invalid aria prop %s on \\x3c%s\\x3e tag. For details, see https://reactjs.org/link/invalid-aria-props\x22, props, type) : 1 \x3c invalidProps.length \x26\x26 error(\x22Invalid aria props %s on \\x3c%s\\x3e tag. For details, see https://reactjs.org/link/invalid-aria-props\x22, props, type);\n }\n function getEventTarget(nativeEvent) {\n nativeEvent \x3d nativeEvent.target || nativeEvent.srcElement || window;\n nativeEvent.correspondingUseElement \x26\x26 (nativeEvent \x3d nativeEvent.correspondingUseElement);\n return 3 \x3d\x3d\x3d nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;\n }\n function restoreStateOfTarget(target) {\n if (target \x3d getInstanceFromNode(target)) {\n if (\x22function\x22 !\x3d\x3d typeof restoreImpl) {\n throw Error(\x22setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n var stateNode \x3d target.stateNode;\n stateNode \x26\x26 (stateNode \x3d getFiberCurrentPropsFromNode(stateNode), restoreImpl(target.stateNode, target.type, stateNode));\n }\n }\n function enqueueStateRestore(target) {\n restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue \x3d [target] : restoreTarget \x3d target;\n }\n function restoreStateIfNeeded() {\n if (restoreTarget) {\n var target \x3d restoreTarget, queuedTargets \x3d restoreQueue;\n restoreQueue \x3d restoreTarget \x3d null;\n restoreStateOfTarget(target);\n if (queuedTargets) {\n for (target \x3d 0; target \x3c queuedTargets.length; target++) {\n restoreStateOfTarget(queuedTargets[target]);\n }\n }\n }\n }\n function batchedUpdates(fn, a, b) {\n if (isInsideEventHandler) {\n return fn(a, b);\n }\n isInsideEventHandler \x3d !0;\n try {\n return batchedUpdatesImpl(fn, a, b);\n } finally {\n if (isInsideEventHandler \x3d !1, null !\x3d\x3d restoreTarget || null !\x3d\x3d restoreQueue) {\n flushSyncImpl(), restoreStateIfNeeded();\n }\n }\n }\n function getListener(inst, registrationName) {\n var stateNode \x3d inst.stateNode;\n if (null \x3d\x3d\x3d stateNode) {\n return null;\n }\n var props \x3d getFiberCurrentPropsFromNode(stateNode);\n if (null \x3d\x3d\x3d props) {\n return null;\n }\n stateNode \x3d props[registrationName];\n a: {\n switch(registrationName) {\n case \x22onClick\x22:\n case \x22onClickCapture\x22:\n case \x22onDoubleClick\x22:\n case \x22onDoubleClickCapture\x22:\n case \x22onMouseDown\x22:\n case \x22onMouseDownCapture\x22:\n case \x22onMouseMove\x22:\n case \x22onMouseMoveCapture\x22:\n case \x22onMouseUp\x22:\n case \x22onMouseUpCapture\x22:\n case \x22onMouseEnter\x22:\n (props \x3d !props.disabled) || (inst \x3d inst.type, props \x3d !(\x22button\x22 \x3d\x3d\x3d inst || \x22input\x22 \x3d\x3d\x3d inst || \x22select\x22 \x3d\x3d\x3d inst || \x22textarea\x22 \x3d\x3d\x3d inst));\n inst \x3d !props;\n break a;\n default:\n inst \x3d !1;\n }\n }\n if (inst) {\n return null;\n }\n if (stateNode \x26\x26 \x22function\x22 !\x3d\x3d typeof stateNode) {\n throw Error(\x22Expected `\x22 + registrationName + \x22` listener to be a function, instead got a value of `\x22 + typeof stateNode + \x22` type.\x22);\n }\n return stateNode;\n }\n function invokeGuardedCallbackProd(name, func, context, a, b, c, d, e, f) {\n var funcArgs \x3d Array.prototype.slice.call(arguments, 3);\n try {\n func.apply(context, funcArgs);\n } catch (error) {\n this.onError(error);\n }\n }\n function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {\n hasError \x3d !1;\n caughtError \x3d null;\n invokeGuardedCallbackImpl$1.apply(reporter, arguments);\n }\n function invokeGuardedCallbackAndCatchFirstError(name, func, context, a, b, c, d, e, f) {\n invokeGuardedCallback.apply(this, arguments);\n if (hasError) {\n var error \x3d clearCaughtError();\n hasRethrowError || (hasRethrowError \x3d !0, rethrowError \x3d error);\n }\n }\n function clearCaughtError() {\n if (hasError) {\n var error \x3d caughtError;\n hasError \x3d !1;\n caughtError \x3d null;\n return error;\n }\n throw Error(\x22clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n function getNearestMountedFiber(fiber) {\n var node \x3d fiber, nearestMounted \x3d fiber;\n if (fiber.alternate) {\n for (; node.return;) {\n node \x3d node.return;\n }\n } else {\n fiber \x3d node;\n do {\n node \x3d fiber, 0 !\x3d\x3d (node.flags \x26 4098) \x26\x26 (nearestMounted \x3d node.return), fiber \x3d node.return;\n } while (fiber);\n }\n return 3 \x3d\x3d\x3d node.tag ? nearestMounted : null;\n }\n function getSuspenseInstanceFromFiber(fiber) {\n if (13 \x3d\x3d\x3d fiber.tag) {\n var suspenseState \x3d fiber.memoizedState;\n null \x3d\x3d\x3d suspenseState \x26\x26 (fiber \x3d fiber.alternate, null !\x3d\x3d fiber \x26\x26 (suspenseState \x3d fiber.memoizedState));\n if (null !\x3d\x3d suspenseState) {\n return suspenseState.dehydrated;\n }\n }\n return null;\n }\n function assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !\x3d\x3d fiber) {\n throw Error(\x22Unable to find node on an unmounted component.\x22);\n }\n }\n function findCurrentFiberUsingSlowPath(fiber) {\n var alternate \x3d fiber.alternate;\n if (!alternate) {\n alternate \x3d getNearestMountedFiber(fiber);\n if (null \x3d\x3d\x3d alternate) {\n throw Error(\x22Unable to find node on an unmounted component.\x22);\n }\n return alternate !\x3d\x3d fiber ? null : fiber;\n }\n for (var a \x3d fiber, b \x3d alternate;;) {\n var parentA \x3d a.return;\n if (null \x3d\x3d\x3d parentA) {\n break;\n }\n var parentB \x3d parentA.alternate;\n if (null \x3d\x3d\x3d parentB) {\n b \x3d parentA.return;\n if (null !\x3d\x3d b) {\n a \x3d b;\n continue;\n }\n break;\n }\n if (parentA.child \x3d\x3d\x3d parentB.child) {\n for (parentB \x3d parentA.child; parentB;) {\n if (parentB \x3d\x3d\x3d a) {\n return assertIsMounted(parentA), fiber;\n }\n if (parentB \x3d\x3d\x3d b) {\n return assertIsMounted(parentA), alternate;\n }\n parentB \x3d parentB.sibling;\n }\n throw Error(\x22Unable to find node on an unmounted component.\x22);\n }\n if (a.return !\x3d\x3d b.return) {\n a \x3d parentA, b \x3d parentB;\n } else {\n for (var didFindChild \x3d !1, _child \x3d parentA.child; _child;) {\n if (_child \x3d\x3d\x3d a) {\n didFindChild \x3d !0;\n a \x3d parentA;\n b \x3d parentB;\n break;\n }\n if (_child \x3d\x3d\x3d b) {\n didFindChild \x3d !0;\n b \x3d parentA;\n a \x3d parentB;\n break;\n }\n _child \x3d _child.sibling;\n }\n if (!didFindChild) {\n for (_child \x3d parentB.child; _child;) {\n if (_child \x3d\x3d\x3d a) {\n didFindChild \x3d !0;\n a \x3d parentB;\n b \x3d parentA;\n break;\n }\n if (_child \x3d\x3d\x3d b) {\n didFindChild \x3d !0;\n b \x3d parentB;\n a \x3d parentA;\n break;\n }\n _child \x3d _child.sibling;\n }\n if (!didFindChild) {\n throw Error(\x22Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\x22);\n }\n }\n }\n if (a.alternate !\x3d\x3d b) {\n throw Error(\x22Return fibers should always be each others\x27 alternates. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n }\n if (3 !\x3d\x3d a.tag) {\n throw Error(\x22Unable to find node on an unmounted component.\x22);\n }\n return a.stateNode.current \x3d\x3d\x3d a ? fiber : alternate;\n }\n function findCurrentHostFiber(parent) {\n parent \x3d findCurrentFiberUsingSlowPath(parent);\n return null !\x3d\x3d parent ? findCurrentHostFiberImpl(parent) : null;\n }\n function findCurrentHostFiberImpl(node) {\n if (5 \x3d\x3d\x3d node.tag || 6 \x3d\x3d\x3d node.tag) {\n return node;\n }\n for (node \x3d node.child; null !\x3d\x3d node;) {\n var match \x3d findCurrentHostFiberImpl(node);\n if (null !\x3d\x3d match) {\n return match;\n }\n node \x3d node.sibling;\n }\n return null;\n }\n function findCurrentHostFiberWithNoPortalsImpl(node) {\n if (5 \x3d\x3d\x3d node.tag || 6 \x3d\x3d\x3d node.tag) {\n return node;\n }\n for (node \x3d node.child; null !\x3d\x3d node;) {\n if (4 !\x3d\x3d node.tag) {\n var match \x3d findCurrentHostFiberWithNoPortalsImpl(node);\n if (null !\x3d\x3d match) {\n return match;\n }\n }\n node \x3d node.sibling;\n }\n return null;\n }\n function injectInternals(internals) {\n if (\x22undefined\x22 \x3d\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {\n return !1;\n }\n var hook \x3d __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (hook.isDisabled) {\n return !0;\n }\n if (!hook.supportsFiber) {\n return error(\x22The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools\x22), !0;\n }\n try {\n internals \x3d assign({}, internals, {getLaneLabelMap, injectProfilingHooks}), rendererID \x3d hook.inject(internals), injectedHook \x3d hook;\n } catch (err) {\n error(\x22React instrumentation encountered an error: %s.\x22, err);\n }\n return hook.checkDCE ? !0 : !1;\n }\n function onCommitRoot(root, eventPriority) {\n if (injectedHook \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedHook.onCommitFiberRoot) {\n try {\n var didError \x3d 128 \x3d\x3d\x3d (root.current.flags \x26 128);\n switch(eventPriority) {\n case DiscreteEventPriority:\n var schedulerPriority \x3d ImmediatePriority;\n break;\n case ContinuousEventPriority:\n schedulerPriority \x3d UserBlockingPriority;\n break;\n case DefaultEventPriority:\n schedulerPriority \x3d NormalPriority;\n break;\n case IdleEventPriority:\n schedulerPriority \x3d IdlePriority;\n break;\n default:\n schedulerPriority \x3d NormalPriority;\n }\n injectedHook.onCommitFiberRoot(rendererID, root, schedulerPriority, didError);\n } catch (err) {\n hasLoggedError || (hasLoggedError \x3d !0, error(\x22React instrumentation encountered an error: %s\x22, err));\n }\n }\n }\n function setIsStrictModeForDevtools(newIsStrictMode) {\n \x22function\x22 \x3d\x3d\x3d typeof unstable_yieldValue \x26\x26 (unstable_setDisableYieldValue(newIsStrictMode), suppressWarning \x3d newIsStrictMode);\n if (injectedHook \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedHook.setStrictMode) {\n try {\n injectedHook.setStrictMode(rendererID, newIsStrictMode);\n } catch (err) {\n hasLoggedError || (hasLoggedError \x3d !0, error(\x22React instrumentation encountered an error: %s\x22, err));\n }\n }\n }\n function injectProfilingHooks(profilingHooks) {\n injectedProfilingHooks \x3d profilingHooks;\n }\n function getLaneLabelMap() {\n for (var map \x3d new Map(), lane \x3d 1, index \x3d 0; index \x3c TotalLanes; index++) {\n var label \x3d getLabelForLane(lane);\n map.set(lane, label);\n lane *\x3d 2;\n }\n return map;\n }\n function markCommitStopped() {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markCommitStopped \x26\x26 injectedProfilingHooks.markCommitStopped();\n }\n function markComponentRenderStarted(fiber) {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentRenderStarted \x26\x26 injectedProfilingHooks.markComponentRenderStarted(fiber);\n }\n function markComponentRenderStopped() {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentRenderStopped \x26\x26 injectedProfilingHooks.markComponentRenderStopped();\n }\n function markComponentLayoutEffectUnmountStarted(fiber) {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStarted \x26\x26 injectedProfilingHooks.markComponentLayoutEffectUnmountStarted(fiber);\n }\n function markComponentLayoutEffectUnmountStopped() {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStopped \x26\x26 injectedProfilingHooks.markComponentLayoutEffectUnmountStopped();\n }\n function markRenderStarted(lanes) {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markRenderStarted \x26\x26 injectedProfilingHooks.markRenderStarted(lanes);\n }\n function markRenderStopped() {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markRenderStopped \x26\x26 injectedProfilingHooks.markRenderStopped();\n }\n function markStateUpdateScheduled(fiber, lane) {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markStateUpdateScheduled \x26\x26 injectedProfilingHooks.markStateUpdateScheduled(fiber, lane);\n }\n function clz32Fallback(x) {\n x \x3e\x3e\x3e\x3d 0;\n return 0 \x3d\x3d\x3d x ? 32 : 31 - (log(x) / LN2 | 0) | 0;\n }\n function getLabelForLane(lane) {\n if (lane \x26 SyncLane) {\n return \x22Sync\x22;\n }\n if (lane \x26 InputContinuousHydrationLane) {\n return \x22InputContinuousHydration\x22;\n }\n if (lane \x26 InputContinuousLane) {\n return \x22InputContinuous\x22;\n }\n if (lane \x26 DefaultHydrationLane) {\n return \x22DefaultHydration\x22;\n }\n if (lane \x26 DefaultLane) {\n return \x22Default\x22;\n }\n if (lane \x26 TransitionHydrationLane) {\n return \x22TransitionHydration\x22;\n }\n if (lane \x26 TransitionLanes) {\n return \x22Transition\x22;\n }\n if (lane \x26 RetryLanes) {\n return \x22Retry\x22;\n }\n if (lane \x26 SelectiveHydrationLane) {\n return \x22SelectiveHydration\x22;\n }\n if (lane \x26 IdleHydrationLane) {\n return \x22IdleHydration\x22;\n }\n if (lane \x26 IdleLane) {\n return \x22Idle\x22;\n }\n if (lane \x26 OffscreenLane) {\n return \x22Offscreen\x22;\n }\n }\n function getHighestPriorityLanes(lanes) {\n switch(lanes \x26 -lanes) {\n case SyncLane:\n return SyncLane;\n case InputContinuousHydrationLane:\n return InputContinuousHydrationLane;\n case InputContinuousLane:\n return InputContinuousLane;\n case DefaultHydrationLane:\n return DefaultHydrationLane;\n case DefaultLane:\n return DefaultLane;\n case TransitionHydrationLane:\n return TransitionHydrationLane;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes \x26 TransitionLanes;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return lanes \x26 RetryLanes;\n case SelectiveHydrationLane:\n return SelectiveHydrationLane;\n case IdleHydrationLane:\n return IdleHydrationLane;\n case IdleLane:\n return IdleLane;\n case OffscreenLane:\n return OffscreenLane;\n default:\n return error(\x22Should have found matching lanes. This is a bug in React.\x22), lanes;\n }\n }\n function getNextLanes(root, wipLanes) {\n var pendingLanes \x3d root.pendingLanes;\n if (0 \x3d\x3d\x3d pendingLanes) {\n return 0;\n }\n var nextLanes \x3d 0, suspendedLanes \x3d root.suspendedLanes, pingedLanes \x3d root.pingedLanes, nonIdlePendingLanes \x3d pendingLanes \x26 268435455;\n if (0 !\x3d\x3d nonIdlePendingLanes) {\n var nonIdleUnblockedLanes \x3d nonIdlePendingLanes \x26 ~suspendedLanes;\n 0 !\x3d\x3d nonIdleUnblockedLanes ? nextLanes \x3d getHighestPriorityLanes(nonIdleUnblockedLanes) : (pingedLanes \x26\x3d nonIdlePendingLanes, 0 !\x3d\x3d pingedLanes \x26\x26 (nextLanes \x3d getHighestPriorityLanes(pingedLanes)));\n } else {\n nonIdlePendingLanes \x3d pendingLanes \x26 ~suspendedLanes, 0 !\x3d\x3d nonIdlePendingLanes ? nextLanes \x3d getHighestPriorityLanes(nonIdlePendingLanes) : 0 !\x3d\x3d pingedLanes \x26\x26 (nextLanes \x3d getHighestPriorityLanes(pingedLanes));\n }\n if (0 \x3d\x3d\x3d nextLanes) {\n return 0;\n }\n if (0 !\x3d\x3d wipLanes \x26\x26 wipLanes !\x3d\x3d nextLanes \x26\x26 0 \x3d\x3d\x3d (wipLanes \x26 suspendedLanes) \x26\x26 (suspendedLanes \x3d nextLanes \x26 -nextLanes, pingedLanes \x3d wipLanes \x26 -wipLanes, suspendedLanes \x3e\x3d pingedLanes || suspendedLanes \x3d\x3d\x3d DefaultLane \x26\x26 0 !\x3d\x3d (pingedLanes \x26 TransitionLanes))) {\n return wipLanes;\n }\n 0 !\x3d\x3d (nextLanes \x26 InputContinuousLane) \x26\x26 (nextLanes |\x3d pendingLanes \x26 DefaultLane);\n wipLanes \x3d root.entangledLanes;\n if (0 !\x3d\x3d wipLanes) {\n for (root \x3d root.entanglements, wipLanes \x26\x3d nextLanes; 0 \x3c wipLanes;) {\n pendingLanes \x3d 31 - clz32(wipLanes), suspendedLanes \x3d 1 \x3c\x3c pendingLanes, nextLanes |\x3d root[pendingLanes], wipLanes \x26\x3d ~suspendedLanes;\n }\n }\n return nextLanes;\n }\n function computeExpirationTime(lane, currentTime) {\n switch(lane) {\n case SyncLane:\n case InputContinuousHydrationLane:\n case InputContinuousLane:\n return currentTime + 250;\n case DefaultHydrationLane:\n case DefaultLane:\n case TransitionHydrationLane:\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5000;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return -1;\n case SelectiveHydrationLane:\n case IdleHydrationLane:\n case IdleLane:\n case OffscreenLane:\n return -1;\n default:\n return error(\x22Should have found matching lanes. This is a bug in React.\x22), -1;\n }\n }\n function markStarvedLanesAsExpired(root, currentTime) {\n for (var suspendedLanes \x3d root.suspendedLanes, pingedLanes \x3d root.pingedLanes, expirationTimes \x3d root.expirationTimes, lanes \x3d root.pendingLanes; 0 \x3c lanes;) {\n var index \x3d 31 - clz32(lanes), lane \x3d 1 \x3c\x3c index, expirationTime \x3d expirationTimes[index];\n if (-1 \x3d\x3d\x3d expirationTime) {\n if (0 \x3d\x3d\x3d (lane \x26 suspendedLanes) || 0 !\x3d\x3d (lane \x26 pingedLanes)) {\n expirationTimes[index] \x3d computeExpirationTime(lane, currentTime);\n }\n } else {\n expirationTime \x3c\x3d currentTime \x26\x26 (root.expiredLanes |\x3d lane);\n }\n lanes \x26\x3d ~lane;\n }\n }\n function getLanesToRetrySynchronouslyOnError(root) {\n root \x3d root.pendingLanes \x26 ~OffscreenLane;\n return 0 !\x3d\x3d root ? root : root \x26 OffscreenLane ? OffscreenLane : 0;\n }\n function claimNextTransitionLane() {\n var lane \x3d nextTransitionLane;\n nextTransitionLane \x3c\x3c\x3d 1;\n 0 \x3d\x3d\x3d (nextTransitionLane \x26 TransitionLanes) \x26\x26 (nextTransitionLane \x3d 64);\n return lane;\n }\n function createLaneMap(initial) {\n for (var laneMap \x3d [], i \x3d 0; i \x3c TotalLanes; i++) {\n laneMap.push(initial);\n }\n return laneMap;\n }\n function markRootUpdated(root, updateLane, eventTime) {\n root.pendingLanes |\x3d updateLane;\n updateLane !\x3d\x3d IdleLane \x26\x26 (root.suspendedLanes \x3d 0, root.pingedLanes \x3d 0);\n root \x3d root.eventTimes;\n updateLane \x3d 31 - clz32(updateLane);\n root[updateLane] \x3d eventTime;\n }\n function markRootFinished(root, remainingLanes) {\n var noLongerPendingLanes \x3d root.pendingLanes \x26 ~remainingLanes;\n root.pendingLanes \x3d remainingLanes;\n root.suspendedLanes \x3d 0;\n root.pingedLanes \x3d 0;\n root.expiredLanes \x26\x3d remainingLanes;\n root.mutableReadLanes \x26\x3d remainingLanes;\n root.entangledLanes \x26\x3d remainingLanes;\n remainingLanes \x3d root.entanglements;\n var eventTimes \x3d root.eventTimes;\n for (root \x3d root.expirationTimes; 0 \x3c noLongerPendingLanes;) {\n var index \x3d 31 - clz32(noLongerPendingLanes), lane \x3d 1 \x3c\x3c index;\n remainingLanes[index] \x3d 0;\n eventTimes[index] \x3d -1;\n root[index] \x3d -1;\n noLongerPendingLanes \x26\x3d ~lane;\n }\n }\n function markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes \x3d root.entangledLanes |\x3d entangledLanes;\n for (root \x3d root.entanglements; rootEntangledLanes;) {\n var index \x3d 31 - clz32(rootEntangledLanes), lane \x3d 1 \x3c\x3c index;\n lane \x26 entangledLanes | root[index] \x26 entangledLanes \x26\x26 (root[index] |\x3d entangledLanes);\n rootEntangledLanes \x26\x3d ~lane;\n }\n }\n function addFiberToLanesMap(root, fiber, lanes) {\n if (isDevToolsPresent) {\n for (root \x3d root.pendingUpdatersLaneMap; 0 \x3c lanes;) {\n var index \x3d 31 - clz32(lanes), lane \x3d 1 \x3c\x3c index;\n root[index].add(fiber);\n lanes \x26\x3d ~lane;\n }\n }\n }\n function movePendingFibersToMemoized(root, lanes) {\n if (isDevToolsPresent) {\n for (var pendingUpdatersLaneMap \x3d root.pendingUpdatersLaneMap, memoizedUpdaters \x3d root.memoizedUpdaters; 0 \x3c lanes;) {\n var index \x3d 31 - clz32(lanes);\n root \x3d 1 \x3c\x3c index;\n index \x3d pendingUpdatersLaneMap[index];\n 0 \x3c index.size \x26\x26 (index.forEach(function(fiber) {\n var alternate \x3d fiber.alternate;\n null !\x3d\x3d alternate \x26\x26 memoizedUpdaters.has(alternate) || memoizedUpdaters.add(fiber);\n }), index.clear());\n lanes \x26\x3d ~root;\n }\n }\n }\n function lanesToEventPriority(lanes) {\n lanes \x26\x3d -lanes;\n return 0 !\x3d\x3d DiscreteEventPriority \x26\x26 DiscreteEventPriority \x3c lanes ? 0 !\x3d\x3d ContinuousEventPriority \x26\x26 ContinuousEventPriority \x3c lanes ? 0 !\x3d\x3d (lanes \x26 268435455) ? DefaultEventPriority : IdleEventPriority : ContinuousEventPriority : DiscreteEventPriority;\n }\n function clearIfContinuousEvent(domEventName, nativeEvent) {\n switch(domEventName) {\n case \x22focusin\x22:\n case \x22focusout\x22:\n queuedFocus \x3d null;\n break;\n case \x22dragenter\x22:\n case \x22dragleave\x22:\n queuedDrag \x3d null;\n break;\n case \x22mouseover\x22:\n case \x22mouseout\x22:\n queuedMouse \x3d null;\n break;\n case \x22pointerover\x22:\n case \x22pointerout\x22:\n queuedPointers.delete(nativeEvent.pointerId);\n break;\n case \x22gotpointercapture\x22:\n case \x22lostpointercapture\x22:\n queuedPointerCaptures.delete(nativeEvent.pointerId);\n }\n }\n function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {\n if (null \x3d\x3d\x3d existingQueuedEvent || existingQueuedEvent.nativeEvent !\x3d\x3d nativeEvent) {\n return existingQueuedEvent \x3d {blockedOn, domEventName, eventSystemFlags, nativeEvent, targetContainers:[targetContainer]}, null !\x3d\x3d blockedOn \x26\x26 (blockedOn \x3d getInstanceFromNode(blockedOn), null !\x3d\x3d blockedOn \x26\x26 attemptContinuousHydration(blockedOn)), existingQueuedEvent;\n }\n existingQueuedEvent.eventSystemFlags |\x3d eventSystemFlags;\n blockedOn \x3d existingQueuedEvent.targetContainers;\n null !\x3d\x3d targetContainer \x26\x26 -1 \x3d\x3d\x3d blockedOn.indexOf(targetContainer) \x26\x26 blockedOn.push(targetContainer);\n return existingQueuedEvent;\n }\n function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {\n switch(domEventName) {\n case \x22focusin\x22:\n return queuedFocus \x3d accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0;\n case \x22dragenter\x22:\n return queuedDrag \x3d accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0;\n case \x22mouseover\x22:\n return queuedMouse \x3d accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0;\n case \x22pointerover\x22:\n var pointerId \x3d nativeEvent.pointerId;\n queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent));\n return !0;\n case \x22gotpointercapture\x22:\n return pointerId \x3d nativeEvent.pointerId, queuedPointerCaptures.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)), !0;\n }\n return !1;\n }\n function attemptExplicitHydrationTarget(queuedTarget) {\n var targetInst \x3d getClosestInstanceFromNode(queuedTarget.target);\n if (null !\x3d\x3d targetInst) {\n var nearestMounted \x3d getNearestMountedFiber(targetInst);\n if (null !\x3d\x3d nearestMounted) {\n if (targetInst \x3d nearestMounted.tag, 13 \x3d\x3d\x3d targetInst) {\n if (targetInst \x3d getSuspenseInstanceFromFiber(nearestMounted), null !\x3d\x3d targetInst) {\n queuedTarget.blockedOn \x3d targetInst;\n attemptHydrationAtPriority(queuedTarget.priority, function() {\n attemptHydrationAtCurrentPriority(nearestMounted);\n });\n return;\n }\n } else if (3 \x3d\x3d\x3d targetInst \x26\x26 nearestMounted.stateNode.current.memoizedState.isDehydrated) {\n queuedTarget.blockedOn \x3d 3 \x3d\x3d\x3d nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null;\n return;\n }\n }\n }\n queuedTarget.blockedOn \x3d null;\n }\n function attemptReplayContinuousQueuedEvent(queuedEvent) {\n if (null !\x3d\x3d queuedEvent.blockedOn) {\n return !1;\n }\n for (var targetContainers \x3d queuedEvent.targetContainers; 0 \x3c targetContainers.length;) {\n var nextBlockedOn \x3d findInstanceBlockingEvent(queuedEvent.domEventName, queuedEvent.eventSystemFlags, targetContainers[0], queuedEvent.nativeEvent);\n if (null \x3d\x3d\x3d nextBlockedOn) {\n nextBlockedOn \x3d queuedEvent.nativeEvent;\n var nativeEventClone \x3d new nextBlockedOn.constructor(nextBlockedOn.type, nextBlockedOn), event \x3d nativeEventClone;\n null !\x3d\x3d currentReplayingEvent \x26\x26 error(\x22Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.\x22);\n currentReplayingEvent \x3d event;\n nextBlockedOn.target.dispatchEvent(nativeEventClone);\n null \x3d\x3d\x3d currentReplayingEvent \x26\x26 error(\x22Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.\x22);\n currentReplayingEvent \x3d null;\n } else {\n return targetContainers \x3d getInstanceFromNode(nextBlockedOn), null !\x3d\x3d targetContainers \x26\x26 attemptContinuousHydration(targetContainers), queuedEvent.blockedOn \x3d nextBlockedOn, !1;\n }\n targetContainers.shift();\n }\n return !0;\n }\n function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {\n attemptReplayContinuousQueuedEvent(queuedEvent) \x26\x26 map.delete(key);\n }\n function replayUnblockedEvents() {\n hasScheduledReplayAttempt \x3d !1;\n null !\x3d\x3d queuedFocus \x26\x26 attemptReplayContinuousQueuedEvent(queuedFocus) \x26\x26 (queuedFocus \x3d null);\n null !\x3d\x3d queuedDrag \x26\x26 attemptReplayContinuousQueuedEvent(queuedDrag) \x26\x26 (queuedDrag \x3d null);\n null !\x3d\x3d queuedMouse \x26\x26 attemptReplayContinuousQueuedEvent(queuedMouse) \x26\x26 (queuedMouse \x3d null);\n queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);\n queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);\n }\n function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {\n queuedEvent.blockedOn \x3d\x3d\x3d unblocked \x26\x26 (queuedEvent.blockedOn \x3d null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt \x3d !0, Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, replayUnblockedEvents)));\n }\n function retryIfBlockedOn(unblocked) {\n if (0 \x3c queuedDiscreteEvents.length) {\n scheduleCallbackIfUnblocked(queuedDiscreteEvents[0], unblocked);\n for (var i \x3d 1; i \x3c queuedDiscreteEvents.length; i++) {\n var queuedEvent \x3d queuedDiscreteEvents[i];\n queuedEvent.blockedOn \x3d\x3d\x3d unblocked \x26\x26 (queuedEvent.blockedOn \x3d null);\n }\n }\n null !\x3d\x3d queuedFocus \x26\x26 scheduleCallbackIfUnblocked(queuedFocus, unblocked);\n null !\x3d\x3d queuedDrag \x26\x26 scheduleCallbackIfUnblocked(queuedDrag, unblocked);\n null !\x3d\x3d queuedMouse \x26\x26 scheduleCallbackIfUnblocked(queuedMouse, unblocked);\n i \x3d function(queuedEvent) {\n return scheduleCallbackIfUnblocked(queuedEvent, unblocked);\n };\n queuedPointers.forEach(i);\n queuedPointerCaptures.forEach(i);\n for (i \x3d 0; i \x3c queuedExplicitHydrationTargets.length; i++) {\n queuedEvent \x3d queuedExplicitHydrationTargets[i], queuedEvent.blockedOn \x3d\x3d\x3d unblocked \x26\x26 (queuedEvent.blockedOn \x3d null);\n }\n for (; 0 \x3c queuedExplicitHydrationTargets.length \x26\x26 (i \x3d queuedExplicitHydrationTargets[0], null \x3d\x3d\x3d i.blockedOn);) {\n attemptExplicitHydrationTarget(i), null \x3d\x3d\x3d i.blockedOn \x26\x26 queuedExplicitHydrationTargets.shift();\n }\n }\n function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {\n var previousPriority \x3d currentUpdatePriority, prevTransition \x3d ReactCurrentBatchConfig.transition;\n ReactCurrentBatchConfig.transition \x3d null;\n try {\n currentUpdatePriority \x3d DiscreteEventPriority, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n } finally {\n currentUpdatePriority \x3d previousPriority, ReactCurrentBatchConfig.transition \x3d prevTransition;\n }\n }\n function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) {\n var previousPriority \x3d currentUpdatePriority, prevTransition \x3d ReactCurrentBatchConfig.transition;\n ReactCurrentBatchConfig.transition \x3d null;\n try {\n currentUpdatePriority \x3d ContinuousEventPriority, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n } finally {\n currentUpdatePriority \x3d previousPriority, ReactCurrentBatchConfig.transition \x3d prevTransition;\n }\n }\n function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {\n if (_enabled) {\n var blockedOn \x3d findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent);\n if (null \x3d\x3d\x3d blockedOn) {\n dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer), clearIfContinuousEvent(domEventName, nativeEvent);\n } else {\n if (queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)) {\n nativeEvent.stopPropagation();\n } else {\n if (clearIfContinuousEvent(domEventName, nativeEvent), eventSystemFlags \x26 4 \x26\x26 -1 \x3c discreteReplayableEvents.indexOf(domEventName)) {\n for (; null !\x3d\x3d blockedOn;) {\n var fiber \x3d getInstanceFromNode(blockedOn);\n null !\x3d\x3d fiber \x26\x26 _attemptSynchronousHydration(fiber);\n fiber \x3d findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent);\n null \x3d\x3d\x3d fiber \x26\x26 dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer);\n if (fiber \x3d\x3d\x3d blockedOn) {\n break;\n }\n blockedOn \x3d fiber;\n }\n null !\x3d\x3d blockedOn \x26\x26 nativeEvent.stopPropagation();\n } else {\n dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, null, targetContainer);\n }\n }\n }\n }\n }\n function findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {\n return_targetInst \x3d null;\n domEventName \x3d getEventTarget(nativeEvent);\n domEventName \x3d getClosestInstanceFromNode(domEventName);\n if (null !\x3d\x3d domEventName) {\n if (eventSystemFlags \x3d getNearestMountedFiber(domEventName), null \x3d\x3d\x3d eventSystemFlags) {\n domEventName \x3d null;\n } else {\n if (targetContainer \x3d eventSystemFlags.tag, 13 \x3d\x3d\x3d targetContainer) {\n domEventName \x3d getSuspenseInstanceFromFiber(eventSystemFlags);\n if (null !\x3d\x3d domEventName) {\n return domEventName;\n }\n domEventName \x3d null;\n } else if (3 \x3d\x3d\x3d targetContainer) {\n if (eventSystemFlags.stateNode.current.memoizedState.isDehydrated) {\n return 3 \x3d\x3d\x3d eventSystemFlags.tag ? eventSystemFlags.stateNode.containerInfo : null;\n }\n domEventName \x3d null;\n } else {\n eventSystemFlags !\x3d\x3d domEventName \x26\x26 (domEventName \x3d null);\n }\n }\n }\n return_targetInst \x3d domEventName;\n return null;\n }\n function getEventPriority(domEventName) {\n switch(domEventName) {\n case \x22cancel\x22:\n case \x22click\x22:\n case \x22close\x22:\n case \x22contextmenu\x22:\n case \x22copy\x22:\n case \x22cut\x22:\n case \x22auxclick\x22:\n case \x22dblclick\x22:\n case \x22dragend\x22:\n case \x22dragstart\x22:\n case \x22drop\x22:\n case \x22focusin\x22:\n case \x22focusout\x22:\n case \x22input\x22:\n case \x22invalid\x22:\n case \x22keydown\x22:\n case \x22keypress\x22:\n case \x22keyup\x22:\n case \x22mousedown\x22:\n case \x22mouseup\x22:\n case \x22paste\x22:\n case \x22pause\x22:\n case \x22play\x22:\n case \x22pointercancel\x22:\n case \x22pointerdown\x22:\n case \x22pointerup\x22:\n case \x22ratechange\x22:\n case \x22reset\x22:\n case \x22resize\x22:\n case \x22seeked\x22:\n case \x22submit\x22:\n case \x22touchcancel\x22:\n case \x22touchend\x22:\n case \x22touchstart\x22:\n case \x22volumechange\x22:\n case \x22change\x22:\n case \x22selectionchange\x22:\n case \x22textInput\x22:\n case \x22compositionstart\x22:\n case \x22compositionend\x22:\n case \x22compositionupdate\x22:\n case \x22beforeblur\x22:\n case \x22afterblur\x22:\n case \x22beforeinput\x22:\n case \x22blur\x22:\n case \x22fullscreenchange\x22:\n case \x22focus\x22:\n case \x22hashchange\x22:\n case \x22popstate\x22:\n case \x22select\x22:\n case \x22selectstart\x22:\n return DiscreteEventPriority;\n case \x22drag\x22:\n case \x22dragenter\x22:\n case \x22dragexit\x22:\n case \x22dragleave\x22:\n case \x22dragover\x22:\n case \x22mousemove\x22:\n case \x22mouseout\x22:\n case \x22mouseover\x22:\n case \x22pointermove\x22:\n case \x22pointerout\x22:\n case \x22pointerover\x22:\n case \x22scroll\x22:\n case \x22toggle\x22:\n case \x22touchmove\x22:\n case \x22wheel\x22:\n case \x22mouseenter\x22:\n case \x22mouseleave\x22:\n case \x22pointerenter\x22:\n case \x22pointerleave\x22:\n return ContinuousEventPriority;\n case \x22message\x22:\n switch(getCurrentPriorityLevel()) {\n case ImmediatePriority:\n return DiscreteEventPriority;\n case UserBlockingPriority:\n return ContinuousEventPriority;\n case NormalPriority:\n case LowPriority:\n return DefaultEventPriority;\n case IdlePriority:\n return IdleEventPriority;\n default:\n return DefaultEventPriority;\n }default:\n return DefaultEventPriority;\n }\n }\n function getData() {\n if (fallbackText) {\n return fallbackText;\n }\n var start, startValue \x3d startText, startLength \x3d startValue.length, end, endValue \x3d \x22value\x22 in root ? root.value : root.textContent, endLength \x3d endValue.length;\n for (start \x3d 0; start \x3c startLength \x26\x26 startValue[start] \x3d\x3d\x3d endValue[start]; start++) {\n }\n var minEnd \x3d startLength - start;\n for (end \x3d 1; end \x3c\x3d minEnd \x26\x26 startValue[startLength - end] \x3d\x3d\x3d endValue[endLength - end]; end++) {\n }\n return fallbackText \x3d endValue.slice(start, 1 \x3c end ? 1 - end : void 0);\n }\n function getEventCharCode(nativeEvent) {\n var keyCode \x3d nativeEvent.keyCode;\n \x22charCode\x22 in nativeEvent ? (nativeEvent \x3d nativeEvent.charCode, 0 \x3d\x3d\x3d nativeEvent \x26\x26 13 \x3d\x3d\x3d keyCode \x26\x26 (nativeEvent \x3d 13)) : nativeEvent \x3d keyCode;\n 10 \x3d\x3d\x3d nativeEvent \x26\x26 (nativeEvent \x3d 13);\n return 32 \x3c\x3d nativeEvent || 13 \x3d\x3d\x3d nativeEvent ? nativeEvent : 0;\n }\n function functionThatReturnsTrue() {\n return !0;\n }\n function functionThatReturnsFalse() {\n return !1;\n }\n function createSyntheticEvent(Interface) {\n function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {\n this._reactName \x3d reactName;\n this._targetInst \x3d targetInst;\n this.type \x3d reactEventType;\n this.nativeEvent \x3d nativeEvent;\n this.target \x3d nativeEventTarget;\n this.currentTarget \x3d null;\n for (var _propName in Interface) {\n Interface.hasOwnProperty(_propName) \x26\x26 (reactName \x3d Interface[_propName], this[_propName] \x3d reactName ? reactName(nativeEvent) : nativeEvent[_propName]);\n }\n this.isDefaultPrevented \x3d (null !\x3d nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented : !1 \x3d\x3d\x3d nativeEvent.returnValue) ? functionThatReturnsTrue : functionThatReturnsFalse;\n this.isPropagationStopped \x3d functionThatReturnsFalse;\n return this;\n }\n assign(SyntheticBaseEvent.prototype, {preventDefault:function() {\n this.defaultPrevented \x3d !0;\n var event \x3d this.nativeEvent;\n event \x26\x26 (event.preventDefault ? event.preventDefault() : \x22unknown\x22 !\x3d\x3d typeof event.returnValue \x26\x26 (event.returnValue \x3d !1), this.isDefaultPrevented \x3d functionThatReturnsTrue);\n }, stopPropagation:function() {\n var event \x3d this.nativeEvent;\n event \x26\x26 (event.stopPropagation ? event.stopPropagation() : \x22unknown\x22 !\x3d\x3d typeof event.cancelBubble \x26\x26 (event.cancelBubble \x3d !0), this.isPropagationStopped \x3d functionThatReturnsTrue);\n }, persist:function() {\n }, isPersistent:functionThatReturnsTrue});\n return SyntheticBaseEvent;\n }\n function modifierStateGetter(keyArg) {\n var nativeEvent \x3d this.nativeEvent;\n return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg \x3d modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : !1;\n }\n function getEventModifierState(nativeEvent) {\n return modifierStateGetter;\n }\n function isFallbackCompositionEnd(domEventName, nativeEvent) {\n switch(domEventName) {\n case \x22keyup\x22:\n return -1 !\x3d\x3d END_KEYCODES.indexOf(nativeEvent.keyCode);\n case \x22keydown\x22:\n return nativeEvent.keyCode !\x3d\x3d START_KEYCODE;\n case \x22keypress\x22:\n case \x22mousedown\x22:\n case \x22focusout\x22:\n return !0;\n default:\n return !1;\n }\n }\n function getDataFromCustomEvent(nativeEvent) {\n nativeEvent \x3d nativeEvent.detail;\n return \x22object\x22 \x3d\x3d\x3d typeof nativeEvent \x26\x26 \x22data\x22 in nativeEvent ? nativeEvent.data : null;\n }\n function getNativeBeforeInputChars(domEventName, nativeEvent) {\n switch(domEventName) {\n case \x22compositionend\x22:\n return getDataFromCustomEvent(nativeEvent);\n case \x22keypress\x22:\n if (nativeEvent.which !\x3d\x3d SPACEBAR_CODE) {\n return null;\n }\n hasSpaceKeypress \x3d !0;\n return SPACEBAR_CHAR;\n case \x22textInput\x22:\n return domEventName \x3d nativeEvent.data, domEventName \x3d\x3d\x3d SPACEBAR_CHAR \x26\x26 hasSpaceKeypress ? null : domEventName;\n default:\n return null;\n }\n }\n function getFallbackBeforeInputChars(domEventName, nativeEvent) {\n if (isComposing) {\n return \x22compositionend\x22 \x3d\x3d\x3d domEventName || !canUseCompositionEvent \x26\x26 isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName \x3d getData(), fallbackText \x3d startText \x3d root \x3d null, isComposing \x3d !1, domEventName) : null;\n }\n switch(domEventName) {\n case \x22paste\x22:\n return null;\n case \x22keypress\x22:\n if (!(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) || nativeEvent.ctrlKey \x26\x26 nativeEvent.altKey) {\n if (nativeEvent.char \x26\x26 1 \x3c nativeEvent.char.length) {\n return nativeEvent.char;\n }\n if (nativeEvent.which) {\n return String.fromCharCode(nativeEvent.which);\n }\n }\n return null;\n case \x22compositionend\x22:\n return useFallbackCompositionData \x26\x26 \x22ko\x22 !\x3d\x3d nativeEvent.locale ? null : nativeEvent.data;\n default:\n return null;\n }\n }\n function isTextInputElement(elem) {\n var nodeName \x3d elem \x26\x26 elem.nodeName \x26\x26 elem.nodeName.toLowerCase();\n return \x22input\x22 \x3d\x3d\x3d nodeName ? !!supportedInputTypes[elem.type] : \x22textarea\x22 \x3d\x3d\x3d nodeName ? !0 : !1;\n }\n function isEventSupported(eventNameSuffix) {\n if (!canUseDOM) {\n return !1;\n }\n eventNameSuffix \x3d \x22on\x22 + eventNameSuffix;\n var isSupported \x3d eventNameSuffix in document;\n isSupported || (isSupported \x3d document.createElement(\x22div\x22), isSupported.setAttribute(eventNameSuffix, \x22return;\x22), isSupported \x3d \x22function\x22 \x3d\x3d\x3d typeof isSupported[eventNameSuffix]);\n return isSupported;\n }\n function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) {\n enqueueStateRestore(target);\n inst \x3d accumulateTwoPhaseListeners(inst, \x22onChange\x22);\n 0 \x3c inst.length \x26\x26 (nativeEvent \x3d new SyntheticEvent(\x22onChange\x22, \x22change\x22, null, nativeEvent, target), dispatchQueue.push({event:nativeEvent, listeners:inst}));\n }\n function runEventInBatch(dispatchQueue) {\n processDispatchQueue(dispatchQueue, 0);\n }\n function getInstIfValueChanged(targetInst) {\n var targetNode \x3d getNodeFromInstance(targetInst);\n if (updateValueIfChanged(targetNode)) {\n return targetInst;\n }\n }\n function getTargetInstForChangeEvent(domEventName, targetInst) {\n if (\x22change\x22 \x3d\x3d\x3d domEventName) {\n return targetInst;\n }\n }\n function stopWatchingForValueChange() {\n activeElement \x26\x26 (activeElement.detachEvent(\x22onpropertychange\x22, handlePropertyChange), activeElementInst \x3d activeElement \x3d null);\n }\n function handlePropertyChange(nativeEvent) {\n if (\x22value\x22 \x3d\x3d\x3d nativeEvent.propertyName \x26\x26 getInstIfValueChanged(activeElementInst)) {\n var dispatchQueue \x3d [];\n createAndAccumulateChangeEvent(dispatchQueue, activeElementInst, nativeEvent, getEventTarget(nativeEvent));\n batchedUpdates(runEventInBatch, dispatchQueue);\n }\n }\n function handleEventsForInputEventPolyfill(domEventName, target, targetInst) {\n \x22focusin\x22 \x3d\x3d\x3d domEventName ? (stopWatchingForValueChange(), activeElement \x3d target, activeElementInst \x3d targetInst, activeElement.attachEvent(\x22onpropertychange\x22, handlePropertyChange)) : \x22focusout\x22 \x3d\x3d\x3d domEventName \x26\x26 stopWatchingForValueChange();\n }\n function getTargetInstForInputEventPolyfill(domEventName, targetInst) {\n if (\x22selectionchange\x22 \x3d\x3d\x3d domEventName || \x22keyup\x22 \x3d\x3d\x3d domEventName || \x22keydown\x22 \x3d\x3d\x3d domEventName) {\n return getInstIfValueChanged(activeElementInst);\n }\n }\n function getTargetInstForClickEvent(domEventName, targetInst) {\n if (\x22click\x22 \x3d\x3d\x3d domEventName) {\n return getInstIfValueChanged(targetInst);\n }\n }\n function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {\n if (\x22input\x22 \x3d\x3d\x3d domEventName || \x22change\x22 \x3d\x3d\x3d domEventName) {\n return getInstIfValueChanged(targetInst);\n }\n }\n function is(x, y) {\n return x \x3d\x3d\x3d y \x26\x26 (0 !\x3d\x3d x || 1 / x \x3d\x3d\x3d 1 / y) || x !\x3d\x3d x \x26\x26 y !\x3d\x3d y;\n }\n function shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) {\n return !0;\n }\n if (\x22object\x22 !\x3d\x3d typeof objA || null \x3d\x3d\x3d objA || \x22object\x22 !\x3d\x3d typeof objB || null \x3d\x3d\x3d objB) {\n return !1;\n }\n var keysA \x3d Object.keys(objA), keysB \x3d Object.keys(objB);\n if (keysA.length !\x3d\x3d keysB.length) {\n return !1;\n }\n for (keysB \x3d 0; keysB \x3c keysA.length; keysB++) {\n var currentKey \x3d keysA[keysB];\n if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) {\n return !1;\n }\n }\n return !0;\n }\n function getLeafNode(node) {\n for (; node \x26\x26 node.firstChild;) {\n node \x3d node.firstChild;\n }\n return node;\n }\n function getNodeForCharacterOffset(root, offset) {\n var node \x3d getLeafNode(root);\n root \x3d 0;\n for (var nodeEnd; node;) {\n if (3 \x3d\x3d\x3d node.nodeType) {\n nodeEnd \x3d root + node.textContent.length;\n if (root \x3c\x3d offset \x26\x26 nodeEnd \x3e\x3d offset) {\n return {node, offset:offset - root};\n }\n root \x3d nodeEnd;\n }\n a: {\n for (; node;) {\n if (node.nextSibling) {\n node \x3d node.nextSibling;\n break a;\n }\n node \x3d node.parentNode;\n }\n node \x3d void 0;\n }\n node \x3d getLeafNode(node);\n }\n }\n function containsNode(outerNode, innerNode) {\n return outerNode \x26\x26 innerNode ? outerNode \x3d\x3d\x3d innerNode ? !0 : outerNode \x26\x26 3 \x3d\x3d\x3d outerNode.nodeType ? !1 : innerNode \x26\x26 3 \x3d\x3d\x3d innerNode.nodeType ? containsNode(outerNode, innerNode.parentNode) : \x22contains\x22 in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) \x26 16) : !1 : !1;\n }\n function getActiveElementDeep() {\n for (var win \x3d window, element \x3d getActiveElement(); element instanceof win.HTMLIFrameElement;) {\n try {\n var JSCompiler_inline_result \x3d \x22string\x22 \x3d\x3d\x3d typeof element.contentWindow.location.href;\n } catch (err) {\n JSCompiler_inline_result \x3d !1;\n }\n if (JSCompiler_inline_result) {\n win \x3d element.contentWindow;\n } else {\n break;\n }\n element \x3d getActiveElement(win.document);\n }\n return element;\n }\n function hasSelectionCapabilities(elem) {\n var nodeName \x3d elem \x26\x26 elem.nodeName \x26\x26 elem.nodeName.toLowerCase();\n return nodeName \x26\x26 (\x22input\x22 \x3d\x3d\x3d nodeName \x26\x26 (\x22text\x22 \x3d\x3d\x3d elem.type || \x22search\x22 \x3d\x3d\x3d elem.type || \x22tel\x22 \x3d\x3d\x3d elem.type || \x22url\x22 \x3d\x3d\x3d elem.type || \x22password\x22 \x3d\x3d\x3d elem.type) || \x22textarea\x22 \x3d\x3d\x3d nodeName || \x22true\x22 \x3d\x3d\x3d elem.contentEditable);\n }\n function restoreSelection(priorSelectionInformation) {\n var curFocusedElem \x3d getActiveElementDeep(), priorFocusedElem \x3d priorSelectionInformation.focusedElem, priorSelectionRange \x3d priorSelectionInformation.selectionRange;\n if (curFocusedElem !\x3d\x3d priorFocusedElem \x26\x26 priorFocusedElem \x26\x26 priorFocusedElem.ownerDocument \x26\x26 containsNode(priorFocusedElem.ownerDocument.documentElement, priorFocusedElem)) {\n if (null !\x3d\x3d priorSelectionRange \x26\x26 hasSelectionCapabilities(priorFocusedElem)) {\n if (curFocusedElem \x3d priorSelectionRange.start, priorSelectionInformation \x3d priorSelectionRange.end, void 0 \x3d\x3d\x3d priorSelectionInformation \x26\x26 (priorSelectionInformation \x3d curFocusedElem), \x22selectionStart\x22 in priorFocusedElem) {\n priorFocusedElem.selectionStart \x3d curFocusedElem, priorFocusedElem.selectionEnd \x3d Math.min(priorSelectionInformation, priorFocusedElem.value.length);\n } else {\n if (priorSelectionInformation \x3d (curFocusedElem \x3d priorFocusedElem.ownerDocument || document) \x26\x26 curFocusedElem.defaultView || window, priorSelectionInformation.getSelection) {\n priorSelectionInformation \x3d priorSelectionInformation.getSelection();\n var length \x3d priorFocusedElem.textContent.length, start \x3d Math.min(priorSelectionRange.start, length);\n priorSelectionRange \x3d void 0 \x3d\x3d\x3d priorSelectionRange.end ? start : Math.min(priorSelectionRange.end, length);\n !priorSelectionInformation.extend \x26\x26 start \x3e priorSelectionRange \x26\x26 (length \x3d priorSelectionRange, priorSelectionRange \x3d start, start \x3d length);\n length \x3d getNodeForCharacterOffset(priorFocusedElem, start);\n var endMarker \x3d getNodeForCharacterOffset(priorFocusedElem, priorSelectionRange);\n length \x26\x26 endMarker \x26\x26 (1 !\x3d\x3d priorSelectionInformation.rangeCount || priorSelectionInformation.anchorNode !\x3d\x3d length.node || priorSelectionInformation.anchorOffset !\x3d\x3d length.offset || priorSelectionInformation.focusNode !\x3d\x3d endMarker.node || priorSelectionInformation.focusOffset !\x3d\x3d endMarker.offset) \x26\x26 (curFocusedElem \x3d curFocusedElem.createRange(), curFocusedElem.setStart(length.node, length.offset), priorSelectionInformation.removeAllRanges(), start \x3e priorSelectionRange ? (priorSelectionInformation.addRange(curFocusedElem), \n priorSelectionInformation.extend(endMarker.node, endMarker.offset)) : (curFocusedElem.setEnd(endMarker.node, endMarker.offset), priorSelectionInformation.addRange(curFocusedElem)));\n }\n }\n }\n curFocusedElem \x3d [];\n for (priorSelectionInformation \x3d priorFocusedElem; priorSelectionInformation \x3d priorSelectionInformation.parentNode;) {\n 1 \x3d\x3d\x3d priorSelectionInformation.nodeType \x26\x26 curFocusedElem.push({element:priorSelectionInformation, left:priorSelectionInformation.scrollLeft, top:priorSelectionInformation.scrollTop});\n }\n \x22function\x22 \x3d\x3d\x3d typeof priorFocusedElem.focus \x26\x26 priorFocusedElem.focus();\n for (priorFocusedElem \x3d 0; priorFocusedElem \x3c curFocusedElem.length; priorFocusedElem++) {\n priorSelectionInformation \x3d curFocusedElem[priorFocusedElem], priorSelectionInformation.element.scrollLeft \x3d priorSelectionInformation.left, priorSelectionInformation.element.scrollTop \x3d priorSelectionInformation.top;\n }\n }\n }\n function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {\n var doc \x3d nativeEventTarget.window \x3d\x3d\x3d nativeEventTarget ? nativeEventTarget.document : 9 \x3d\x3d\x3d nativeEventTarget.nodeType ? nativeEventTarget : nativeEventTarget.ownerDocument;\n mouseDown || null \x3d\x3d activeElement$1 || activeElement$1 !\x3d\x3d getActiveElement(doc) || (doc \x3d activeElement$1, \x22selectionStart\x22 in doc \x26\x26 hasSelectionCapabilities(doc) ? doc \x3d {start:doc.selectionStart, end:doc.selectionEnd} : (doc \x3d (doc.ownerDocument \x26\x26 doc.ownerDocument.defaultView || window).getSelection(), doc \x3d {anchorNode:doc.anchorNode, anchorOffset:doc.anchorOffset, focusNode:doc.focusNode, focusOffset:doc.focusOffset}), lastSelection \x26\x26 shallowEqual(lastSelection, doc) || (lastSelection \x3d \n doc, doc \x3d accumulateTwoPhaseListeners(activeElementInst$1, \x22onSelect\x22), 0 \x3c doc.length \x26\x26 (nativeEvent \x3d new SyntheticEvent(\x22onSelect\x22, \x22select\x22, null, nativeEvent, nativeEventTarget), dispatchQueue.push({event:nativeEvent, listeners:doc}), nativeEvent.target \x3d activeElement$1)));\n }\n function makePrefixMap(styleProp, eventName) {\n var prefixes \x3d {};\n prefixes[styleProp.toLowerCase()] \x3d eventName.toLowerCase();\n prefixes[\x22Webkit\x22 + styleProp] \x3d \x22webkit\x22 + eventName;\n prefixes[\x22Moz\x22 + styleProp] \x3d \x22moz\x22 + eventName;\n return prefixes;\n }\n function getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) {\n return prefixedEventNames[eventName];\n }\n if (!vendorPrefixes[eventName]) {\n return eventName;\n }\n var prefixMap \x3d vendorPrefixes[eventName], styleProp;\n for (styleProp in prefixMap) {\n if (prefixMap.hasOwnProperty(styleProp) \x26\x26 styleProp in style) {\n return prefixedEventNames[eventName] \x3d prefixMap[styleProp];\n }\n }\n return eventName;\n }\n function registerSimpleEvent(domEventName, reactName) {\n topLevelEventsToReactNames.set(domEventName, reactName);\n registerTwoPhaseEvent(reactName, [domEventName]);\n }\n function executeDispatch(event, listener, currentTarget) {\n var type \x3d event.type || \x22unknown-event\x22;\n event.currentTarget \x3d currentTarget;\n invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event);\n event.currentTarget \x3d null;\n }\n function processDispatchQueue(dispatchQueue, eventSystemFlags) {\n eventSystemFlags \x3d 0 !\x3d\x3d (eventSystemFlags \x26 4);\n for (var i \x3d 0; i \x3c dispatchQueue.length; i++) {\n var _dispatchQueue$i \x3d dispatchQueue[i];\n a: {\n var previousInstance \x3d void 0, event \x3d _dispatchQueue$i.event;\n _dispatchQueue$i \x3d _dispatchQueue$i.listeners;\n if (eventSystemFlags) {\n for (var i$jscomp$0 \x3d _dispatchQueue$i.length - 1; 0 \x3c\x3d i$jscomp$0; i$jscomp$0--) {\n var _dispatchListeners$i \x3d _dispatchQueue$i[i$jscomp$0], instance \x3d _dispatchListeners$i.instance, currentTarget \x3d _dispatchListeners$i.currentTarget;\n _dispatchListeners$i \x3d _dispatchListeners$i.listener;\n if (instance !\x3d\x3d previousInstance \x26\x26 event.isPropagationStopped()) {\n break a;\n }\n executeDispatch(event, _dispatchListeners$i, currentTarget);\n previousInstance \x3d instance;\n }\n } else {\n for (i$jscomp$0 \x3d 0; i$jscomp$0 \x3c _dispatchQueue$i.length; i$jscomp$0++) {\n _dispatchListeners$i \x3d _dispatchQueue$i[i$jscomp$0];\n instance \x3d _dispatchListeners$i.instance;\n currentTarget \x3d _dispatchListeners$i.currentTarget;\n _dispatchListeners$i \x3d _dispatchListeners$i.listener;\n if (instance !\x3d\x3d previousInstance \x26\x26 event.isPropagationStopped()) {\n break a;\n }\n executeDispatch(event, _dispatchListeners$i, currentTarget);\n previousInstance \x3d instance;\n }\n }\n }\n }\n if (hasRethrowError) {\n throw dispatchQueue \x3d rethrowError, hasRethrowError \x3d !1, rethrowError \x3d null, dispatchQueue;\n }\n }\n function listenToNonDelegatedEvent(domEventName, targetElement) {\n nonDelegatedEvents.has(domEventName) || error(\x27Did not expect a listenToNonDelegatedEvent() call for \x22%s\x22. This is a bug in React. Please file an issue.\x27, domEventName);\n var listenerSet \x3d targetElement[internalEventHandlersKey];\n void 0 \x3d\x3d\x3d listenerSet \x26\x26 (listenerSet \x3d targetElement[internalEventHandlersKey] \x3d new Set());\n var listenerSetKey \x3d domEventName + \x22__bubble\x22;\n listenerSet.has(listenerSetKey) || (addTrappedEventListener(targetElement, domEventName, 2, !1), listenerSet.add(listenerSetKey));\n }\n function listenToNativeEvent(domEventName, isCapturePhaseListener, target) {\n nonDelegatedEvents.has(domEventName) \x26\x26 !isCapturePhaseListener \x26\x26 error(\x27Did not expect a listenToNativeEvent() call for \x22%s\x22 in the bubble phase. This is a bug in React. Please file an issue.\x27, domEventName);\n var eventSystemFlags \x3d 0;\n isCapturePhaseListener \x26\x26 (eventSystemFlags |\x3d 4);\n addTrappedEventListener(target, domEventName, eventSystemFlags, isCapturePhaseListener);\n }\n function listenToAllSupportedEvents(rootContainerElement) {\n if (!rootContainerElement[listeningMarker]) {\n rootContainerElement[listeningMarker] \x3d !0;\n allNativeEvents.forEach(function(domEventName) {\n \x22selectionchange\x22 !\x3d\x3d domEventName \x26\x26 (nonDelegatedEvents.has(domEventName) || listenToNativeEvent(domEventName, !1, rootContainerElement), listenToNativeEvent(domEventName, !0, rootContainerElement));\n });\n var ownerDocument \x3d 9 \x3d\x3d\x3d rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument;\n null \x3d\x3d\x3d ownerDocument || ownerDocument[listeningMarker] || (ownerDocument[listeningMarker] \x3d !0, listenToNativeEvent(\x22selectionchange\x22, !1, ownerDocument));\n }\n }\n function addTrappedEventListener(targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener, isDeferredListenerForLegacyFBSupport) {\n switch(getEventPriority(domEventName)) {\n case DiscreteEventPriority:\n isDeferredListenerForLegacyFBSupport \x3d dispatchDiscreteEvent;\n break;\n case ContinuousEventPriority:\n isDeferredListenerForLegacyFBSupport \x3d dispatchContinuousEvent;\n break;\n default:\n isDeferredListenerForLegacyFBSupport \x3d dispatchEvent;\n }\n eventSystemFlags \x3d isDeferredListenerForLegacyFBSupport.bind(null, domEventName, eventSystemFlags, targetContainer);\n isDeferredListenerForLegacyFBSupport \x3d void 0;\n !passiveBrowserEventsSupported || \x22touchstart\x22 !\x3d\x3d domEventName \x26\x26 \x22touchmove\x22 !\x3d\x3d domEventName \x26\x26 \x22wheel\x22 !\x3d\x3d domEventName || (isDeferredListenerForLegacyFBSupport \x3d !0);\n isCapturePhaseListener ? void 0 !\x3d\x3d isDeferredListenerForLegacyFBSupport ? targetContainer.addEventListener(domEventName, eventSystemFlags, {capture:!0, passive:isDeferredListenerForLegacyFBSupport}) : targetContainer.addEventListener(domEventName, eventSystemFlags, !0) : void 0 !\x3d\x3d isDeferredListenerForLegacyFBSupport ? targetContainer.addEventListener(domEventName, eventSystemFlags, {passive:isDeferredListenerForLegacyFBSupport}) : targetContainer.addEventListener(domEventName, eventSystemFlags, \n !1);\n }\n function dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) {\n var ancestorInst \x3d targetInst;\n if (0 \x3d\x3d\x3d (eventSystemFlags \x26 1) \x26\x26 0 \x3d\x3d\x3d (eventSystemFlags \x26 2) \x26\x26 null !\x3d\x3d targetInst) {\n a: for (;;) {\n if (null \x3d\x3d\x3d targetInst) {\n return;\n }\n var nodeTag \x3d targetInst.tag;\n if (3 \x3d\x3d\x3d nodeTag || 4 \x3d\x3d\x3d nodeTag) {\n var container \x3d targetInst.stateNode.containerInfo;\n if (container \x3d\x3d\x3d targetContainer || 8 \x3d\x3d\x3d container.nodeType \x26\x26 container.parentNode \x3d\x3d\x3d targetContainer) {\n break;\n }\n if (4 \x3d\x3d\x3d nodeTag) {\n for (nodeTag \x3d targetInst.return; null !\x3d\x3d nodeTag;) {\n var grandTag \x3d nodeTag.tag;\n if (3 \x3d\x3d\x3d grandTag || 4 \x3d\x3d\x3d grandTag) {\n if (grandTag \x3d nodeTag.stateNode.containerInfo, grandTag \x3d\x3d\x3d targetContainer || 8 \x3d\x3d\x3d grandTag.nodeType \x26\x26 grandTag.parentNode \x3d\x3d\x3d targetContainer) {\n return;\n }\n }\n nodeTag \x3d nodeTag.return;\n }\n }\n for (; null !\x3d\x3d container;) {\n nodeTag \x3d getClosestInstanceFromNode(container);\n if (null \x3d\x3d\x3d nodeTag) {\n return;\n }\n grandTag \x3d nodeTag.tag;\n if (5 \x3d\x3d\x3d grandTag || 6 \x3d\x3d\x3d grandTag) {\n targetInst \x3d ancestorInst \x3d nodeTag;\n continue a;\n }\n container \x3d container.parentNode;\n }\n }\n targetInst \x3d targetInst.return;\n }\n }\n batchedUpdates(function() {\n var targetInst \x3d ancestorInst, nativeEventTarget \x3d getEventTarget(nativeEvent), dispatchQueue \x3d [];\n a: {\n var reactName \x3d topLevelEventsToReactNames.get(domEventName);\n if (void 0 !\x3d\x3d reactName) {\n var SyntheticEventCtor \x3d SyntheticEvent, reactEventType \x3d domEventName;\n switch(domEventName) {\n case \x22keypress\x22:\n if (0 \x3d\x3d\x3d getEventCharCode(nativeEvent)) {\n break a;\n }\n case \x22keydown\x22:\n case \x22keyup\x22:\n SyntheticEventCtor \x3d SyntheticKeyboardEvent;\n break;\n case \x22focusin\x22:\n reactEventType \x3d \x22focus\x22;\n SyntheticEventCtor \x3d SyntheticFocusEvent;\n break;\n case \x22focusout\x22:\n reactEventType \x3d \x22blur\x22;\n SyntheticEventCtor \x3d SyntheticFocusEvent;\n break;\n case \x22beforeblur\x22:\n case \x22afterblur\x22:\n SyntheticEventCtor \x3d SyntheticFocusEvent;\n break;\n case \x22click\x22:\n if (2 \x3d\x3d\x3d nativeEvent.button) {\n break a;\n }\n case \x22auxclick\x22:\n case \x22dblclick\x22:\n case \x22mousedown\x22:\n case \x22mousemove\x22:\n case \x22mouseup\x22:\n case \x22mouseout\x22:\n case \x22mouseover\x22:\n case \x22contextmenu\x22:\n SyntheticEventCtor \x3d SyntheticMouseEvent;\n break;\n case \x22drag\x22:\n case \x22dragend\x22:\n case \x22dragenter\x22:\n case \x22dragexit\x22:\n case \x22dragleave\x22:\n case \x22dragover\x22:\n case \x22dragstart\x22:\n case \x22drop\x22:\n SyntheticEventCtor \x3d SyntheticDragEvent;\n break;\n case \x22touchcancel\x22:\n case \x22touchend\x22:\n case \x22touchmove\x22:\n case \x22touchstart\x22:\n SyntheticEventCtor \x3d SyntheticTouchEvent;\n break;\n case ANIMATION_END:\n case ANIMATION_ITERATION:\n case ANIMATION_START:\n SyntheticEventCtor \x3d SyntheticAnimationEvent;\n break;\n case TRANSITION_END:\n SyntheticEventCtor \x3d SyntheticTransitionEvent;\n break;\n case \x22scroll\x22:\n SyntheticEventCtor \x3d SyntheticUIEvent;\n break;\n case \x22wheel\x22:\n SyntheticEventCtor \x3d SyntheticWheelEvent;\n break;\n case \x22copy\x22:\n case \x22cut\x22:\n case \x22paste\x22:\n SyntheticEventCtor \x3d SyntheticClipboardEvent;\n break;\n case \x22gotpointercapture\x22:\n case \x22lostpointercapture\x22:\n case \x22pointercancel\x22:\n case \x22pointerdown\x22:\n case \x22pointermove\x22:\n case \x22pointerout\x22:\n case \x22pointerover\x22:\n case \x22pointerup\x22:\n SyntheticEventCtor \x3d SyntheticPointerEvent;\n }\n var inCapturePhase \x3d 0 !\x3d\x3d (eventSystemFlags \x26 4), accumulateTargetOnly \x3d !inCapturePhase \x26\x26 \x22scroll\x22 \x3d\x3d\x3d domEventName, reactEventName \x3d inCapturePhase ? null !\x3d\x3d reactName ? reactName + \x22Capture\x22 : null : reactName;\n inCapturePhase \x3d [];\n for (var instance \x3d targetInst, lastHostComponent; null !\x3d\x3d instance;) {\n lastHostComponent \x3d instance;\n var stateNode \x3d lastHostComponent.stateNode;\n 5 \x3d\x3d\x3d lastHostComponent.tag \x26\x26 null !\x3d\x3d stateNode \x26\x26 (lastHostComponent \x3d stateNode, null !\x3d\x3d reactEventName \x26\x26 (stateNode \x3d getListener(instance, reactEventName), null !\x3d stateNode \x26\x26 inCapturePhase.push(createDispatchListener(instance, stateNode, lastHostComponent))));\n if (accumulateTargetOnly) {\n break;\n }\n instance \x3d instance.return;\n }\n 0 \x3c inCapturePhase.length \x26\x26 (reactName \x3d new SyntheticEventCtor(reactName, reactEventType, null, nativeEvent, nativeEventTarget), dispatchQueue.push({event:reactName, listeners:inCapturePhase}));\n }\n }\n if (0 \x3d\x3d\x3d (eventSystemFlags \x26 7)) {\n a: {\n reactName \x3d \x22mouseover\x22 \x3d\x3d\x3d domEventName || \x22pointerover\x22 \x3d\x3d\x3d domEventName;\n SyntheticEventCtor \x3d \x22mouseout\x22 \x3d\x3d\x3d domEventName || \x22pointerout\x22 \x3d\x3d\x3d domEventName;\n if (reactName \x26\x26 nativeEvent !\x3d\x3d currentReplayingEvent \x26\x26 (reactEventType \x3d nativeEvent.relatedTarget || nativeEvent.fromElement) \x26\x26 (getClosestInstanceFromNode(reactEventType) || reactEventType[internalContainerInstanceKey])) {\n break a;\n }\n if (SyntheticEventCtor || reactName) {\n reactName \x3d nativeEventTarget.window \x3d\x3d\x3d nativeEventTarget ? nativeEventTarget : (reactName \x3d nativeEventTarget.ownerDocument) ? reactName.defaultView || reactName.parentWindow : window;\n if (SyntheticEventCtor) {\n if (reactEventType \x3d nativeEvent.relatedTarget || nativeEvent.toElement, SyntheticEventCtor \x3d targetInst, reactEventType \x3d reactEventType ? getClosestInstanceFromNode(reactEventType) : null, null !\x3d\x3d reactEventType \x26\x26 (accumulateTargetOnly \x3d getNearestMountedFiber(reactEventType), reactEventType !\x3d\x3d accumulateTargetOnly || 5 !\x3d\x3d reactEventType.tag \x26\x26 6 !\x3d\x3d reactEventType.tag)) {\n reactEventType \x3d null;\n }\n } else {\n SyntheticEventCtor \x3d null, reactEventType \x3d targetInst;\n }\n if (SyntheticEventCtor !\x3d\x3d reactEventType) {\n inCapturePhase \x3d SyntheticMouseEvent;\n stateNode \x3d \x22onMouseLeave\x22;\n reactEventName \x3d \x22onMouseEnter\x22;\n instance \x3d \x22mouse\x22;\n if (\x22pointerout\x22 \x3d\x3d\x3d domEventName || \x22pointerover\x22 \x3d\x3d\x3d domEventName) {\n inCapturePhase \x3d SyntheticPointerEvent, stateNode \x3d \x22onPointerLeave\x22, reactEventName \x3d \x22onPointerEnter\x22, instance \x3d \x22pointer\x22;\n }\n accumulateTargetOnly \x3d null \x3d\x3d SyntheticEventCtor ? reactName : getNodeFromInstance(SyntheticEventCtor);\n lastHostComponent \x3d null \x3d\x3d reactEventType ? reactName : getNodeFromInstance(reactEventType);\n reactName \x3d new inCapturePhase(stateNode, instance + \x22leave\x22, SyntheticEventCtor, nativeEvent, nativeEventTarget);\n reactName.target \x3d accumulateTargetOnly;\n reactName.relatedTarget \x3d lastHostComponent;\n stateNode \x3d null;\n getClosestInstanceFromNode(nativeEventTarget) \x3d\x3d\x3d targetInst \x26\x26 (inCapturePhase \x3d new inCapturePhase(reactEventName, instance + \x22enter\x22, reactEventType, nativeEvent, nativeEventTarget), inCapturePhase.target \x3d lastHostComponent, inCapturePhase.relatedTarget \x3d accumulateTargetOnly, stateNode \x3d inCapturePhase);\n accumulateTargetOnly \x3d stateNode;\n if (SyntheticEventCtor \x26\x26 reactEventType) {\n b: {\n inCapturePhase \x3d SyntheticEventCtor;\n reactEventName \x3d reactEventType;\n instance \x3d 0;\n for (lastHostComponent \x3d inCapturePhase; lastHostComponent; lastHostComponent \x3d getParent(lastHostComponent)) {\n instance++;\n }\n lastHostComponent \x3d 0;\n for (stateNode \x3d reactEventName; stateNode; stateNode \x3d getParent(stateNode)) {\n lastHostComponent++;\n }\n for (; 0 \x3c instance - lastHostComponent;) {\n inCapturePhase \x3d getParent(inCapturePhase), instance--;\n }\n for (; 0 \x3c lastHostComponent - instance;) {\n reactEventName \x3d getParent(reactEventName), lastHostComponent--;\n }\n for (; instance--;) {\n if (inCapturePhase \x3d\x3d\x3d reactEventName || null !\x3d\x3d reactEventName \x26\x26 inCapturePhase \x3d\x3d\x3d reactEventName.alternate) {\n break b;\n }\n inCapturePhase \x3d getParent(inCapturePhase);\n reactEventName \x3d getParent(reactEventName);\n }\n inCapturePhase \x3d null;\n }\n } else {\n inCapturePhase \x3d null;\n }\n null !\x3d\x3d SyntheticEventCtor \x26\x26 accumulateEnterLeaveListenersForEvent(dispatchQueue, reactName, SyntheticEventCtor, inCapturePhase, !1);\n null !\x3d\x3d reactEventType \x26\x26 null !\x3d\x3d accumulateTargetOnly \x26\x26 accumulateEnterLeaveListenersForEvent(dispatchQueue, accumulateTargetOnly, reactEventType, inCapturePhase, !0);\n }\n }\n }\n a: {\n reactName \x3d targetInst ? getNodeFromInstance(targetInst) : window;\n SyntheticEventCtor \x3d reactName.nodeName \x26\x26 reactName.nodeName.toLowerCase();\n if (\x22select\x22 \x3d\x3d\x3d SyntheticEventCtor || \x22input\x22 \x3d\x3d\x3d SyntheticEventCtor \x26\x26 \x22file\x22 \x3d\x3d\x3d reactName.type) {\n var getTargetInstFunc \x3d getTargetInstForChangeEvent;\n } else if (isTextInputElement(reactName)) {\n if (isInputEventSupported) {\n getTargetInstFunc \x3d getTargetInstForInputOrChangeEvent;\n } else {\n getTargetInstFunc \x3d getTargetInstForInputEventPolyfill;\n var handleEventFunc \x3d handleEventsForInputEventPolyfill;\n }\n } else {\n (SyntheticEventCtor \x3d reactName.nodeName) \x26\x26 \x22input\x22 \x3d\x3d\x3d SyntheticEventCtor.toLowerCase() \x26\x26 (\x22checkbox\x22 \x3d\x3d\x3d reactName.type || \x22radio\x22 \x3d\x3d\x3d reactName.type) \x26\x26 (getTargetInstFunc \x3d getTargetInstForClickEvent);\n }\n if (getTargetInstFunc \x26\x26 (getTargetInstFunc \x3d getTargetInstFunc(domEventName, targetInst))) {\n createAndAccumulateChangeEvent(dispatchQueue, getTargetInstFunc, nativeEvent, nativeEventTarget);\n break a;\n }\n handleEventFunc \x26\x26 handleEventFunc(domEventName, reactName, targetInst);\n \x22focusout\x22 \x3d\x3d\x3d domEventName \x26\x26 (handleEventFunc \x3d reactName._wrapperState) \x26\x26 handleEventFunc.controlled \x26\x26 \x22number\x22 \x3d\x3d\x3d reactName.type \x26\x26 setDefaultValue(reactName, \x22number\x22, reactName.value);\n }\n handleEventFunc \x3d targetInst ? getNodeFromInstance(targetInst) : window;\n switch(domEventName) {\n case \x22focusin\x22:\n if (isTextInputElement(handleEventFunc) || \x22true\x22 \x3d\x3d\x3d handleEventFunc.contentEditable) {\n activeElement$1 \x3d handleEventFunc, activeElementInst$1 \x3d targetInst, lastSelection \x3d null;\n }\n break;\n case \x22focusout\x22:\n lastSelection \x3d activeElementInst$1 \x3d activeElement$1 \x3d null;\n break;\n case \x22mousedown\x22:\n mouseDown \x3d !0;\n break;\n case \x22contextmenu\x22:\n case \x22mouseup\x22:\n case \x22dragend\x22:\n mouseDown \x3d !1;\n constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);\n break;\n case \x22selectionchange\x22:\n if (skipSelectionChangeEvent) {\n break;\n }\n case \x22keydown\x22:\n case \x22keyup\x22:\n constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);\n }\n var fallbackData;\n if (canUseCompositionEvent) {\n b: {\n switch(domEventName) {\n case \x22compositionstart\x22:\n var eventType \x3d \x22onCompositionStart\x22;\n break b;\n case \x22compositionend\x22:\n eventType \x3d \x22onCompositionEnd\x22;\n break b;\n case \x22compositionupdate\x22:\n eventType \x3d \x22onCompositionUpdate\x22;\n break b;\n }\n eventType \x3d void 0;\n }\n } else {\n isComposing ? isFallbackCompositionEnd(domEventName, nativeEvent) \x26\x26 (eventType \x3d \x22onCompositionEnd\x22) : \x22keydown\x22 \x3d\x3d\x3d domEventName \x26\x26 nativeEvent.keyCode \x3d\x3d\x3d START_KEYCODE \x26\x26 (eventType \x3d \x22onCompositionStart\x22);\n }\n eventType \x26\x26 (useFallbackCompositionData \x26\x26 \x22ko\x22 !\x3d\x3d nativeEvent.locale \x26\x26 (isComposing || \x22onCompositionStart\x22 !\x3d\x3d eventType ? \x22onCompositionEnd\x22 \x3d\x3d\x3d eventType \x26\x26 isComposing \x26\x26 (fallbackData \x3d getData()) : (root \x3d nativeEventTarget, startText \x3d \x22value\x22 in root ? root.value : root.textContent, isComposing \x3d !0)), handleEventFunc \x3d accumulateTwoPhaseListeners(targetInst, eventType), 0 \x3c handleEventFunc.length \x26\x26 (eventType \x3d new SyntheticCompositionEvent(eventType, domEventName, null, nativeEvent, \n nativeEventTarget), dispatchQueue.push({event:eventType, listeners:handleEventFunc}), fallbackData ? eventType.data \x3d fallbackData : (fallbackData \x3d getDataFromCustomEvent(nativeEvent), null !\x3d\x3d fallbackData \x26\x26 (eventType.data \x3d fallbackData))));\n if (fallbackData \x3d canUseTextInputEvent ? getNativeBeforeInputChars(domEventName, nativeEvent) : getFallbackBeforeInputChars(domEventName, nativeEvent)) {\n targetInst \x3d accumulateTwoPhaseListeners(targetInst, \x22onBeforeInput\x22), 0 \x3c targetInst.length \x26\x26 (nativeEventTarget \x3d new SyntheticInputEvent(\x22onBeforeInput\x22, \x22beforeinput\x22, null, nativeEvent, nativeEventTarget), dispatchQueue.push({event:nativeEventTarget, listeners:targetInst}), nativeEventTarget.data \x3d fallbackData);\n }\n }\n processDispatchQueue(dispatchQueue, eventSystemFlags);\n });\n }\n function createDispatchListener(instance, listener, currentTarget) {\n return {instance, listener, currentTarget};\n }\n function accumulateTwoPhaseListeners(targetFiber, reactName) {\n for (var captureName \x3d reactName + \x22Capture\x22, listeners \x3d []; null !\x3d\x3d targetFiber;) {\n var _instance3 \x3d targetFiber, stateNode \x3d _instance3.stateNode;\n 5 \x3d\x3d\x3d _instance3.tag \x26\x26 null !\x3d\x3d stateNode \x26\x26 (_instance3 \x3d stateNode, stateNode \x3d getListener(targetFiber, captureName), null !\x3d stateNode \x26\x26 listeners.unshift(createDispatchListener(targetFiber, stateNode, _instance3)), stateNode \x3d getListener(targetFiber, reactName), null !\x3d stateNode \x26\x26 listeners.push(createDispatchListener(targetFiber, stateNode, _instance3)));\n targetFiber \x3d targetFiber.return;\n }\n return listeners;\n }\n function getParent(inst) {\n if (null \x3d\x3d\x3d inst) {\n return null;\n }\n do {\n inst \x3d inst.return;\n } while (inst \x26\x26 5 !\x3d\x3d inst.tag);\n return inst ? inst : null;\n }\n function accumulateEnterLeaveListenersForEvent(dispatchQueue, event, target, common, inCapturePhase) {\n for (var registrationName \x3d event._reactName, listeners \x3d []; null !\x3d\x3d target \x26\x26 target !\x3d\x3d common;) {\n var _instance4 \x3d target, alternate \x3d _instance4.alternate, stateNode \x3d _instance4.stateNode;\n if (null !\x3d\x3d alternate \x26\x26 alternate \x3d\x3d\x3d common) {\n break;\n }\n 5 \x3d\x3d\x3d _instance4.tag \x26\x26 null !\x3d\x3d stateNode \x26\x26 (_instance4 \x3d stateNode, inCapturePhase ? (alternate \x3d getListener(target, registrationName), null !\x3d alternate \x26\x26 listeners.unshift(createDispatchListener(target, alternate, _instance4))) : inCapturePhase || (alternate \x3d getListener(target, registrationName), null !\x3d alternate \x26\x26 listeners.push(createDispatchListener(target, alternate, _instance4))));\n target \x3d target.return;\n }\n 0 !\x3d\x3d listeners.length \x26\x26 dispatchQueue.push({event, listeners});\n }\n function normalizeMarkupForTextOrAttribute(markup) {\n return (\x22string\x22 \x3d\x3d\x3d typeof markup ? markup : \x22\x22 + markup).replace(NORMALIZE_NEWLINES_REGEX, \x22\\n\x22).replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, \x22\x22);\n }\n function checkForUnmatchedText(serverText, clientText, isConcurrentMode, shouldWarnDev) {\n clientText \x3d normalizeMarkupForTextOrAttribute(clientText);\n serverText \x3d normalizeMarkupForTextOrAttribute(serverText);\n if (serverText !\x3d\x3d clientText \x26\x26 (shouldWarnDev \x26\x26 !didWarnInvalidHydration \x26\x26 (didWarnInvalidHydration \x3d !0, error(\x27Text content did not match. Server: \x22%s\x22 Client: \x22%s\x22\x27, serverText, clientText)), isConcurrentMode)) {\n throw Error(\x22Text content does not match server-rendered HTML.\x22);\n }\n }\n function noop() {\n }\n function warnForDeletedHydratableElement(parentNode, child) {\n didWarnInvalidHydration || (didWarnInvalidHydration \x3d !0, error(\x22Did not expect server HTML to contain a \\x3c%s\\x3e in \\x3c%s\\x3e.\x22, child.nodeName.toLowerCase(), parentNode.nodeName.toLowerCase()));\n }\n function warnForDeletedHydratableText(parentNode, child) {\n didWarnInvalidHydration || (didWarnInvalidHydration \x3d !0, error(\x27Did not expect server HTML to contain the text node \x22%s\x22 in \\x3c%s\\x3e.\x27, child.nodeValue, parentNode.nodeName.toLowerCase()));\n }\n function warnForInsertedHydratedElement(parentNode, tag, props) {\n didWarnInvalidHydration || (didWarnInvalidHydration \x3d !0, error(\x22Expected server HTML to contain a matching \\x3c%s\\x3e in \\x3c%s\\x3e.\x22, tag, parentNode.nodeName.toLowerCase()));\n }\n function warnForInsertedHydratedText(parentNode, text) {\n \x22\x22 \x3d\x3d\x3d text || didWarnInvalidHydration || (didWarnInvalidHydration \x3d !0, error(\x27Expected server HTML to contain a matching text node for \x22%s\x22 in \\x3c%s\\x3e.\x27, text, parentNode.nodeName.toLowerCase()));\n }\n function shouldSetTextContent(type, props) {\n return \x22textarea\x22 \x3d\x3d\x3d type || \x22noscript\x22 \x3d\x3d\x3d type || \x22string\x22 \x3d\x3d\x3d typeof props.children || \x22number\x22 \x3d\x3d\x3d typeof props.children || \x22object\x22 \x3d\x3d\x3d typeof props.dangerouslySetInnerHTML \x26\x26 null !\x3d\x3d props.dangerouslySetInnerHTML \x26\x26 null !\x3d props.dangerouslySetInnerHTML.__html;\n }\n function handleErrorInNextTick(error) {\n setTimeout(function() {\n throw error;\n });\n }\n function clearSuspenseBoundary(parentInstance, suspenseInstance) {\n var node \x3d suspenseInstance, depth \x3d 0;\n do {\n var nextNode \x3d node.nextSibling;\n parentInstance.removeChild(node);\n if (nextNode \x26\x26 8 \x3d\x3d\x3d nextNode.nodeType) {\n if (node \x3d nextNode.data, node \x3d\x3d\x3d SUSPENSE_END_DATA) {\n if (0 \x3d\x3d\x3d depth) {\n parentInstance.removeChild(nextNode);\n retryIfBlockedOn(suspenseInstance);\n return;\n }\n depth--;\n } else {\n node !\x3d\x3d SUSPENSE_START_DATA \x26\x26 node !\x3d\x3d SUSPENSE_PENDING_START_DATA \x26\x26 node !\x3d\x3d SUSPENSE_FALLBACK_START_DATA || depth++;\n }\n }\n node \x3d nextNode;\n } while (node);\n retryIfBlockedOn(suspenseInstance);\n }\n function getNextHydratable(node) {\n for (; null !\x3d node; node \x3d node.nextSibling) {\n var nodeType \x3d node.nodeType;\n if (1 \x3d\x3d\x3d nodeType || 3 \x3d\x3d\x3d nodeType) {\n break;\n }\n if (8 \x3d\x3d\x3d nodeType) {\n nodeType \x3d node.data;\n if (nodeType \x3d\x3d\x3d SUSPENSE_START_DATA || nodeType \x3d\x3d\x3d SUSPENSE_FALLBACK_START_DATA || nodeType \x3d\x3d\x3d SUSPENSE_PENDING_START_DATA) {\n break;\n }\n if (nodeType \x3d\x3d\x3d SUSPENSE_END_DATA) {\n return null;\n }\n }\n }\n return node;\n }\n function getParentSuspenseInstance(targetInstance) {\n targetInstance \x3d targetInstance.previousSibling;\n for (var depth \x3d 0; targetInstance;) {\n if (8 \x3d\x3d\x3d targetInstance.nodeType) {\n var data \x3d targetInstance.data;\n if (data \x3d\x3d\x3d SUSPENSE_START_DATA || data \x3d\x3d\x3d SUSPENSE_FALLBACK_START_DATA || data \x3d\x3d\x3d SUSPENSE_PENDING_START_DATA) {\n if (0 \x3d\x3d\x3d depth) {\n return targetInstance;\n }\n depth--;\n } else {\n data \x3d\x3d\x3d SUSPENSE_END_DATA \x26\x26 depth++;\n }\n }\n targetInstance \x3d targetInstance.previousSibling;\n }\n return null;\n }\n function getClosestInstanceFromNode(targetNode) {\n var targetInst \x3d targetNode[internalInstanceKey];\n if (targetInst) {\n return targetInst;\n }\n for (var parentNode \x3d targetNode.parentNode; parentNode;) {\n if (targetInst \x3d parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey]) {\n parentNode \x3d targetInst.alternate;\n if (null !\x3d\x3d targetInst.child || null !\x3d\x3d parentNode \x26\x26 null !\x3d\x3d parentNode.child) {\n for (targetNode \x3d getParentSuspenseInstance(targetNode); null !\x3d\x3d targetNode;) {\n if (parentNode \x3d targetNode[internalInstanceKey]) {\n return parentNode;\n }\n targetNode \x3d getParentSuspenseInstance(targetNode);\n }\n }\n return targetInst;\n }\n targetNode \x3d parentNode;\n parentNode \x3d targetNode.parentNode;\n }\n return null;\n }\n function getInstanceFromNode(node) {\n node \x3d node[internalInstanceKey] || node[internalContainerInstanceKey];\n return !node || 5 !\x3d\x3d node.tag \x26\x26 6 !\x3d\x3d node.tag \x26\x26 13 !\x3d\x3d node.tag \x26\x26 3 !\x3d\x3d node.tag ? null : node;\n }\n function getNodeFromInstance(inst) {\n if (5 \x3d\x3d\x3d inst.tag || 6 \x3d\x3d\x3d inst.tag) {\n return inst.stateNode;\n }\n throw Error(\x22getNodeFromInstance: Invalid argument.\x22);\n }\n function getFiberCurrentPropsFromNode(node) {\n return node[internalPropsKey] || null;\n }\n function setCurrentlyValidatingElement(element) {\n if (element) {\n var owner \x3d element._owner;\n element \x3d describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(element);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n function checkPropTypes(typeSpecs, values, location, componentName, element) {\n var has \x3d Function.call.bind(hasOwnProperty), typeSpecName;\n for (typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 \x3d void 0;\n try {\n if (\x22function\x22 !\x3d\x3d typeof typeSpecs[typeSpecName]) {\n var err \x3d Error((componentName || \x22React class\x22) + \x22: \x22 + location + \x22 type `\x22 + typeSpecName + \x22` is invalid; it must be a function, usually from the `prop-types` package, but received `\x22 + typeof typeSpecs[typeSpecName] + \x22`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.\x22);\n err.name \x3d \x22Invariant Violation\x22;\n throw err;\n }\n error$1 \x3d typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, \x22SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\x22);\n } catch (ex) {\n error$1 \x3d ex;\n }\n !error$1 || error$1 instanceof Error || (setCurrentlyValidatingElement(element), error(\x22%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).\x22, componentName || \x22React class\x22, location, typeSpecName, typeof error$1), setCurrentlyValidatingElement(null));\n error$1 instanceof Error \x26\x26 !(error$1.message in loggedTypeFailures) \x26\x26 (loggedTypeFailures[error$1.message] \x3d !0, setCurrentlyValidatingElement(element), error(\x22Failed %s type: %s\x22, location, error$1.message), setCurrentlyValidatingElement(null));\n }\n }\n }\n function createCursor(defaultValue) {\n return {current:defaultValue};\n }\n function pop(cursor, fiber) {\n 0 \x3e index ? error(\x22Unexpected pop.\x22) : (fiber !\x3d\x3d fiberStack[index] \x26\x26 error(\x22Unexpected Fiber popped.\x22), cursor.current \x3d valueStack[index], valueStack[index] \x3d null, fiberStack[index] \x3d null, index--);\n }\n function push(cursor, value, fiber) {\n index++;\n valueStack[index] \x3d cursor.current;\n fiberStack[index] \x3d fiber;\n cursor.current \x3d value;\n }\n function getMaskedContext(workInProgress, unmaskedContext) {\n var contextTypes \x3d workInProgress.type.contextTypes;\n if (!contextTypes) {\n return emptyContextObject;\n }\n var instance \x3d workInProgress.stateNode;\n if (instance \x26\x26 instance.__reactInternalMemoizedUnmaskedChildContext \x3d\x3d\x3d unmaskedContext) {\n return instance.__reactInternalMemoizedMaskedChildContext;\n }\n var context \x3d {};\n for (key in contextTypes) {\n context[key] \x3d unmaskedContext[key];\n }\n var key \x3d getComponentNameFromFiber(workInProgress) || \x22Unknown\x22;\n checkPropTypes(contextTypes, context, \x22context\x22, key);\n instance \x26\x26 (workInProgress \x3d workInProgress.stateNode, workInProgress.__reactInternalMemoizedUnmaskedChildContext \x3d unmaskedContext, workInProgress.__reactInternalMemoizedMaskedChildContext \x3d context);\n return context;\n }\n function isContextProvider(type) {\n type \x3d type.childContextTypes;\n return null !\x3d\x3d type \x26\x26 void 0 !\x3d\x3d type;\n }\n function popContext(fiber) {\n pop(didPerformWorkStackCursor, fiber);\n pop(contextStackCursor, fiber);\n }\n function popTopLevelContextObject(fiber) {\n pop(didPerformWorkStackCursor, fiber);\n pop(contextStackCursor, fiber);\n }\n function pushTopLevelContextObject(fiber, context, didChange) {\n if (contextStackCursor.current !\x3d\x3d emptyContextObject) {\n throw Error(\x22Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n push(contextStackCursor, context, fiber);\n push(didPerformWorkStackCursor, didChange, fiber);\n }\n function processChildContext(fiber, type, parentContext) {\n var instance \x3d fiber.stateNode;\n type \x3d type.childContextTypes;\n if (\x22function\x22 !\x3d\x3d typeof instance.getChildContext) {\n return fiber \x3d getComponentNameFromFiber(fiber) || \x22Unknown\x22, warnedAboutMissingGetChildContext[fiber] || (warnedAboutMissingGetChildContext[fiber] \x3d !0, error(\x22%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.\x22, fiber, fiber)), parentContext;\n }\n instance \x3d instance.getChildContext();\n for (var contextKey in instance) {\n if (!(contextKey in type)) {\n throw Error((getComponentNameFromFiber(fiber) || \x22Unknown\x22) + \x27.getChildContext(): key \x22\x27 + contextKey + \x27\x22 is not defined in childContextTypes.\x27);\n }\n }\n fiber \x3d getComponentNameFromFiber(fiber) || \x22Unknown\x22;\n checkPropTypes(type, instance, \x22child context\x22, fiber);\n return assign({}, parentContext, instance);\n }\n function pushContextProvider(workInProgress) {\n var instance \x3d workInProgress.stateNode;\n instance \x3d instance \x26\x26 instance.__reactInternalMemoizedMergedChildContext || emptyContextObject;\n previousContext \x3d contextStackCursor.current;\n push(contextStackCursor, instance, workInProgress);\n push(didPerformWorkStackCursor, didPerformWorkStackCursor.current, workInProgress);\n return !0;\n }\n function invalidateContextProvider(workInProgress, type, didChange) {\n var instance \x3d workInProgress.stateNode;\n if (!instance) {\n throw Error(\x22Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n didChange ? (type \x3d processChildContext(workInProgress, type, previousContext), instance.__reactInternalMemoizedMergedChildContext \x3d type, pop(didPerformWorkStackCursor, workInProgress), pop(contextStackCursor, workInProgress), push(contextStackCursor, type, workInProgress)) : pop(didPerformWorkStackCursor, workInProgress);\n push(didPerformWorkStackCursor, didChange, workInProgress);\n }\n function scheduleSyncCallback(callback) {\n null \x3d\x3d\x3d syncQueue ? syncQueue \x3d [callback] : syncQueue.push(callback);\n }\n function scheduleLegacySyncCallback(callback) {\n includesLegacySyncCallbacks \x3d !0;\n scheduleSyncCallback(callback);\n }\n function flushSyncCallbacks() {\n if (!isFlushingSyncQueue \x26\x26 null !\x3d\x3d syncQueue) {\n isFlushingSyncQueue \x3d !0;\n var i \x3d 0, previousUpdatePriority \x3d currentUpdatePriority;\n try {\n var queue \x3d syncQueue;\n for (currentUpdatePriority \x3d DiscreteEventPriority; i \x3c queue.length; i++) {\n var callback \x3d queue[i];\n do {\n callback \x3d callback(!0);\n } while (null !\x3d\x3d callback);\n }\n syncQueue \x3d null;\n includesLegacySyncCallbacks \x3d !1;\n } catch (error) {\n throw null !\x3d\x3d syncQueue \x26\x26 (syncQueue \x3d syncQueue.slice(i + 1)), scheduleCallback(ImmediatePriority, flushSyncCallbacks), error;\n } finally {\n currentUpdatePriority \x3d previousUpdatePriority, isFlushingSyncQueue \x3d !1;\n }\n }\n return null;\n }\n function pushTreeFork(workInProgress, totalChildren) {\n warnIfNotHydrating();\n forkStack[forkStackIndex++] \x3d treeForkCount;\n forkStack[forkStackIndex++] \x3d treeForkProvider;\n treeForkProvider \x3d workInProgress;\n treeForkCount \x3d totalChildren;\n }\n function pushTreeId(workInProgress, totalChildren, index) {\n warnIfNotHydrating();\n idStack[idStackIndex++] \x3d treeContextId;\n idStack[idStackIndex++] \x3d treeContextOverflow;\n idStack[idStackIndex++] \x3d treeContextProvider;\n treeContextProvider \x3d workInProgress;\n var baseIdWithLeadingBit \x3d treeContextId;\n workInProgress \x3d treeContextOverflow;\n var baseLength \x3d 32 - clz32(baseIdWithLeadingBit) - 1;\n baseIdWithLeadingBit \x26\x3d ~(1 \x3c\x3c baseLength);\n index +\x3d 1;\n var length \x3d 32 - clz32(totalChildren) + baseLength;\n if (30 \x3c length) {\n var numberOfOverflowBits \x3d baseLength - baseLength % 5;\n length \x3d (baseIdWithLeadingBit \x26 (1 \x3c\x3c numberOfOverflowBits) - 1).toString(32);\n baseIdWithLeadingBit \x3e\x3e\x3d numberOfOverflowBits;\n baseLength -\x3d numberOfOverflowBits;\n treeContextId \x3d 1 \x3c\x3c 32 - clz32(totalChildren) + baseLength | index \x3c\x3c baseLength | baseIdWithLeadingBit;\n treeContextOverflow \x3d length + workInProgress;\n } else {\n treeContextId \x3d 1 \x3c\x3c length | index \x3c\x3c baseLength | baseIdWithLeadingBit, treeContextOverflow \x3d workInProgress;\n }\n }\n function pushMaterializedTreeId(workInProgress) {\n warnIfNotHydrating();\n null !\x3d\x3d workInProgress.return \x26\x26 (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0));\n }\n function popTreeContext(workInProgress) {\n for (; workInProgress \x3d\x3d\x3d treeForkProvider;) {\n treeForkProvider \x3d forkStack[--forkStackIndex], forkStack[forkStackIndex] \x3d null, treeForkCount \x3d forkStack[--forkStackIndex], forkStack[forkStackIndex] \x3d null;\n }\n for (; workInProgress \x3d\x3d\x3d treeContextProvider;) {\n treeContextProvider \x3d idStack[--idStackIndex], idStack[idStackIndex] \x3d null, treeContextOverflow \x3d idStack[--idStackIndex], idStack[idStackIndex] \x3d null, treeContextId \x3d idStack[--idStackIndex], idStack[idStackIndex] \x3d null;\n }\n }\n function warnIfNotHydrating() {\n isHydrating || error(\x22Expected to be hydrating. This is a bug in React. Please file an issue.\x22);\n }\n function warnUnhydratedInstance(returnFiber, instance) {\n switch(returnFiber.tag) {\n case 3:\n returnFiber \x3d returnFiber.stateNode.containerInfo;\n 1 \x3d\x3d\x3d instance.nodeType ? warnForDeletedHydratableElement(returnFiber, instance) : 8 !\x3d\x3d instance.nodeType \x26\x26 warnForDeletedHydratableText(returnFiber, instance);\n break;\n case 5:\n var parentProps \x3d returnFiber.memoizedProps, parentInstance \x3d returnFiber.stateNode;\n if (0 !\x3d\x3d (returnFiber.mode \x26 1) || !0 !\x3d\x3d parentProps.suppressHydrationWarning) {\n 1 \x3d\x3d\x3d instance.nodeType ? warnForDeletedHydratableElement(parentInstance, instance) : 8 !\x3d\x3d instance.nodeType \x26\x26 warnForDeletedHydratableText(parentInstance, instance);\n }\n break;\n case 13:\n returnFiber \x3d returnFiber.memoizedState, null !\x3d\x3d returnFiber.dehydrated \x26\x26 (returnFiber \x3d returnFiber.dehydrated.parentNode, null !\x3d\x3d returnFiber \x26\x26 (1 \x3d\x3d\x3d instance.nodeType ? warnForDeletedHydratableElement(returnFiber, instance) : 8 !\x3d\x3d instance.nodeType \x26\x26 warnForDeletedHydratableText(returnFiber, instance)));\n }\n }\n function deleteHydratableInstance(returnFiber, instance) {\n warnUnhydratedInstance(returnFiber, instance);\n var fiber \x3d createFiber(5, null, null, 0);\n fiber.elementType \x3d \x22DELETED\x22;\n fiber.stateNode \x3d instance;\n fiber.return \x3d returnFiber;\n instance \x3d returnFiber.deletions;\n null \x3d\x3d\x3d instance ? (returnFiber.deletions \x3d [fiber], returnFiber.flags |\x3d 16) : instance.push(fiber);\n }\n function warnNonhydratedInstance(returnFiber, fiber) {\n if (!didSuspendOrErrorDEV) {\n switch(returnFiber.tag) {\n case 3:\n returnFiber \x3d returnFiber.stateNode.containerInfo;\n switch(fiber.tag) {\n case 5:\n warnForInsertedHydratedElement(returnFiber, fiber.type);\n break;\n case 6:\n warnForInsertedHydratedText(returnFiber, fiber.pendingProps);\n }break;\n case 5:\n var parentProps \x3d returnFiber.memoizedProps, parentInstance \x3d returnFiber.stateNode;\n switch(fiber.tag) {\n case 5:\n fiber \x3d fiber.type;\n 0 \x3d\x3d\x3d (returnFiber.mode \x26 1) \x26\x26 !0 \x3d\x3d\x3d parentProps.suppressHydrationWarning || warnForInsertedHydratedElement(parentInstance, fiber);\n break;\n case 6:\n fiber \x3d fiber.pendingProps, 0 \x3d\x3d\x3d (returnFiber.mode \x26 1) \x26\x26 !0 \x3d\x3d\x3d parentProps.suppressHydrationWarning || warnForInsertedHydratedText(parentInstance, fiber);\n }break;\n case 13:\n if (returnFiber \x3d returnFiber.memoizedState.dehydrated, null !\x3d\x3d returnFiber) {\n switch(fiber.tag) {\n case 5:\n fiber \x3d fiber.type;\n returnFiber \x3d returnFiber.parentNode;\n null !\x3d\x3d returnFiber \x26\x26 warnForInsertedHydratedElement(returnFiber, fiber);\n break;\n case 6:\n fiber \x3d fiber.pendingProps, returnFiber \x3d returnFiber.parentNode, null !\x3d\x3d returnFiber \x26\x26 warnForInsertedHydratedText(returnFiber, fiber);\n }\n }\n }\n }\n }\n function tryHydrate(fiber, nextInstance) {\n switch(fiber.tag) {\n case 5:\n var type \x3d fiber.type;\n nextInstance \x3d 1 !\x3d\x3d nextInstance.nodeType || type.toLowerCase() !\x3d\x3d nextInstance.nodeName.toLowerCase() ? null : nextInstance;\n return null !\x3d\x3d nextInstance ? (fiber.stateNode \x3d nextInstance, hydrationParentFiber \x3d fiber, nextHydratableInstance \x3d getNextHydratable(nextInstance.firstChild), !0) : !1;\n case 6:\n return nextInstance \x3d \x22\x22 \x3d\x3d\x3d fiber.pendingProps || 3 !\x3d\x3d nextInstance.nodeType ? null : nextInstance, null !\x3d\x3d nextInstance ? (fiber.stateNode \x3d nextInstance, hydrationParentFiber \x3d fiber, nextHydratableInstance \x3d null, !0) : !1;\n case 13:\n return nextInstance \x3d 8 !\x3d\x3d nextInstance.nodeType ? null : nextInstance, null !\x3d\x3d nextInstance ? (warnIfNotHydrating(), type \x3d null !\x3d\x3d treeContextProvider ? {id:treeContextId, overflow:treeContextOverflow} : null, fiber.memoizedState \x3d {dehydrated:nextInstance, treeContext:type, retryLane:OffscreenLane}, type \x3d createFiber(18, null, null, 0), type.stateNode \x3d nextInstance, type.return \x3d fiber, fiber.child \x3d type, hydrationParentFiber \x3d fiber, nextHydratableInstance \x3d null, !0) : !1;\n default:\n return !1;\n }\n }\n function shouldClientRenderOnMismatch(fiber) {\n return 0 !\x3d\x3d (fiber.mode \x26 1) \x26\x26 0 \x3d\x3d\x3d (fiber.flags \x26 128);\n }\n function throwOnHydrationMismatch(fiber) {\n throw Error(\x22Hydration failed because the initial UI does not match what was rendered on the server.\x22);\n }\n function tryToClaimNextHydratableInstance(fiber) {\n if (isHydrating) {\n var nextInstance \x3d nextHydratableInstance;\n if (nextInstance) {\n var firstAttemptedInstance \x3d nextInstance;\n if (!tryHydrate(fiber, nextInstance)) {\n shouldClientRenderOnMismatch(fiber) \x26\x26 (warnNonhydratedInstance(hydrationParentFiber, fiber), throwOnHydrationMismatch());\n nextInstance \x3d getNextHydratable(firstAttemptedInstance.nextSibling);\n var prevHydrationParentFiber \x3d hydrationParentFiber;\n nextInstance \x26\x26 tryHydrate(fiber, nextInstance) ? deleteHydratableInstance(prevHydrationParentFiber, firstAttemptedInstance) : (nextInstance \x3d hydrationParentFiber, fiber.flags \x3d fiber.flags \x26 -4097 | 2, warnNonhydratedInstance(nextInstance, fiber), isHydrating \x3d !1, hydrationParentFiber \x3d fiber);\n }\n } else {\n shouldClientRenderOnMismatch(fiber) \x26\x26 (warnNonhydratedInstance(hydrationParentFiber, fiber), throwOnHydrationMismatch()), nextInstance \x3d hydrationParentFiber, fiber.flags \x3d fiber.flags \x26 -4097 | 2, warnNonhydratedInstance(nextInstance, fiber), isHydrating \x3d !1, hydrationParentFiber \x3d fiber;\n }\n }\n }\n function popToNextHostParent(fiber) {\n for (fiber \x3d fiber.return; null !\x3d\x3d fiber \x26\x26 5 !\x3d\x3d fiber.tag \x26\x26 3 !\x3d\x3d fiber.tag \x26\x26 13 !\x3d\x3d fiber.tag;) {\n fiber \x3d fiber.return;\n }\n hydrationParentFiber \x3d fiber;\n }\n function popHydrationState(fiber) {\n if (fiber !\x3d\x3d hydrationParentFiber) {\n return !1;\n }\n if (!isHydrating) {\n return popToNextHostParent(fiber), isHydrating \x3d !0, !1;\n }\n var JSCompiler_temp;\n (JSCompiler_temp \x3d 3 !\x3d\x3d fiber.tag) \x26\x26 !(JSCompiler_temp \x3d 5 !\x3d\x3d fiber.tag) \x26\x26 (JSCompiler_temp \x3d fiber.type, JSCompiler_temp \x3d \x22head\x22 !\x3d\x3d JSCompiler_temp \x26\x26 \x22body\x22 !\x3d\x3d JSCompiler_temp \x26\x26 !shouldSetTextContent(fiber.type, fiber.memoizedProps));\n if (JSCompiler_temp \x26\x26 (JSCompiler_temp \x3d nextHydratableInstance)) {\n if (shouldClientRenderOnMismatch(fiber)) {\n warnIfUnhydratedTailNodes(fiber), throwOnHydrationMismatch();\n } else {\n for (; JSCompiler_temp;) {\n deleteHydratableInstance(fiber, JSCompiler_temp), JSCompiler_temp \x3d getNextHydratable(JSCompiler_temp.nextSibling);\n }\n }\n }\n popToNextHostParent(fiber);\n if (13 \x3d\x3d\x3d fiber.tag) {\n fiber \x3d fiber.memoizedState;\n fiber \x3d null !\x3d\x3d fiber ? fiber.dehydrated : null;\n if (!fiber) {\n throw Error(\x22Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n a: {\n fiber \x3d fiber.nextSibling;\n for (JSCompiler_temp \x3d 0; fiber;) {\n if (8 \x3d\x3d\x3d fiber.nodeType) {\n var data \x3d fiber.data;\n if (data \x3d\x3d\x3d SUSPENSE_END_DATA) {\n if (0 \x3d\x3d\x3d JSCompiler_temp) {\n nextHydratableInstance \x3d getNextHydratable(fiber.nextSibling);\n break a;\n }\n JSCompiler_temp--;\n } else {\n data !\x3d\x3d SUSPENSE_START_DATA \x26\x26 data !\x3d\x3d SUSPENSE_FALLBACK_START_DATA \x26\x26 data !\x3d\x3d SUSPENSE_PENDING_START_DATA || JSCompiler_temp++;\n }\n }\n fiber \x3d fiber.nextSibling;\n }\n nextHydratableInstance \x3d null;\n }\n } else {\n nextHydratableInstance \x3d hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null;\n }\n return !0;\n }\n function warnIfUnhydratedTailNodes(fiber) {\n for (var nextInstance \x3d nextHydratableInstance; nextInstance;) {\n warnUnhydratedInstance(fiber, nextInstance), nextInstance \x3d getNextHydratable(nextInstance.nextSibling);\n }\n }\n function resetHydrationState() {\n nextHydratableInstance \x3d hydrationParentFiber \x3d null;\n didSuspendOrErrorDEV \x3d isHydrating \x3d !1;\n }\n function queueHydrationError(error) {\n null \x3d\x3d\x3d hydrationErrors ? hydrationErrors \x3d [error] : hydrationErrors.push(error);\n }\n function resolveDefaultProps(Component, baseProps) {\n if (Component \x26\x26 Component.defaultProps) {\n baseProps \x3d assign({}, baseProps);\n Component \x3d Component.defaultProps;\n for (var propName in Component) {\n void 0 \x3d\x3d\x3d baseProps[propName] \x26\x26 (baseProps[propName] \x3d Component[propName]);\n }\n return baseProps;\n }\n return baseProps;\n }\n function resetContextDependencies() {\n lastFullyObservedContext \x3d lastContextDependency \x3d currentlyRenderingFiber \x3d null;\n isDisallowedContextReadInDEV \x3d !1;\n }\n function pushProvider(providerFiber, context, nextValue) {\n push(valueCursor, context._currentValue, providerFiber);\n context._currentValue \x3d nextValue;\n void 0 !\x3d\x3d context._currentRenderer \x26\x26 null !\x3d\x3d context._currentRenderer \x26\x26 context._currentRenderer !\x3d\x3d rendererSigil \x26\x26 error(\x22Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.\x22);\n context._currentRenderer \x3d rendererSigil;\n }\n function popProvider(context, providerFiber) {\n var currentValue \x3d valueCursor.current;\n pop(valueCursor, providerFiber);\n context._currentValue \x3d currentValue;\n }\n function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {\n for (; null !\x3d\x3d parent;) {\n var alternate \x3d parent.alternate;\n (parent.childLanes \x26 renderLanes) !\x3d\x3d renderLanes ? (parent.childLanes |\x3d renderLanes, null !\x3d\x3d alternate \x26\x26 (alternate.childLanes |\x3d renderLanes)) : null !\x3d\x3d alternate \x26\x26 (alternate.childLanes \x26 renderLanes) !\x3d\x3d renderLanes \x26\x26 (alternate.childLanes |\x3d renderLanes);\n if (parent \x3d\x3d\x3d propagationRoot) {\n break;\n }\n parent \x3d parent.return;\n }\n parent !\x3d\x3d propagationRoot \x26\x26 error(\x22Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n function prepareToReadContext(workInProgress, renderLanes) {\n currentlyRenderingFiber \x3d workInProgress;\n lastFullyObservedContext \x3d lastContextDependency \x3d null;\n workInProgress \x3d workInProgress.dependencies;\n null !\x3d\x3d workInProgress \x26\x26 null !\x3d\x3d workInProgress.firstContext \x26\x26 (0 !\x3d\x3d (workInProgress.lanes \x26 renderLanes) \x26\x26 (didReceiveUpdate \x3d !0), workInProgress.firstContext \x3d null);\n }\n function readContext(context) {\n isDisallowedContextReadInDEV \x26\x26 error(\x22Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\x22);\n var value \x3d context._currentValue;\n if (lastFullyObservedContext !\x3d\x3d context) {\n if (context \x3d {context, memoizedValue:value, next:null}, null \x3d\x3d\x3d lastContextDependency) {\n if (null \x3d\x3d\x3d currentlyRenderingFiber) {\n throw Error(\x22Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\x22);\n }\n lastContextDependency \x3d context;\n currentlyRenderingFiber.dependencies \x3d {lanes:0, firstContext:context};\n } else {\n lastContextDependency \x3d lastContextDependency.next \x3d context;\n }\n }\n return value;\n }\n function pushConcurrentUpdateQueue(queue) {\n null \x3d\x3d\x3d concurrentQueues ? concurrentQueues \x3d [queue] : concurrentQueues.push(queue);\n }\n function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {\n var interleaved \x3d queue.interleaved;\n null \x3d\x3d\x3d interleaved ? (update.next \x3d update, pushConcurrentUpdateQueue(queue)) : (update.next \x3d interleaved.next, interleaved.next \x3d update);\n queue.interleaved \x3d update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n }\n function markUpdateLaneFromFiberToRoot(sourceFiber, lane) {\n sourceFiber.lanes |\x3d lane;\n var alternate \x3d sourceFiber.alternate;\n null !\x3d\x3d alternate \x26\x26 (alternate.lanes |\x3d lane);\n null \x3d\x3d\x3d alternate \x26\x26 0 !\x3d\x3d (sourceFiber.flags \x26 4098) \x26\x26 warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);\n alternate \x3d sourceFiber;\n for (var parent \x3d sourceFiber.return; null !\x3d\x3d parent;) {\n parent.childLanes |\x3d lane, alternate \x3d parent.alternate, null !\x3d\x3d alternate ? alternate.childLanes |\x3d lane : 0 !\x3d\x3d (parent.flags \x26 4098) \x26\x26 warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber), alternate \x3d parent, parent \x3d parent.return;\n }\n return 3 \x3d\x3d\x3d alternate.tag ? alternate.stateNode : null;\n }\n function initializeUpdateQueue(fiber) {\n fiber.updateQueue \x3d {baseState:fiber.memoizedState, firstBaseUpdate:null, lastBaseUpdate:null, shared:{pending:null, interleaved:null, lanes:0}, effects:null};\n }\n function cloneUpdateQueue(current, workInProgress) {\n current \x3d current.updateQueue;\n workInProgress.updateQueue \x3d\x3d\x3d current \x26\x26 (workInProgress.updateQueue \x3d {baseState:current.baseState, firstBaseUpdate:current.firstBaseUpdate, lastBaseUpdate:current.lastBaseUpdate, shared:current.shared, effects:current.effects});\n }\n function createUpdate(eventTime, lane) {\n return {eventTime, lane, tag:UpdateState, payload:null, callback:null, next:null};\n }\n function enqueueUpdate(fiber, update, lane) {\n var updateQueue \x3d fiber.updateQueue;\n if (null \x3d\x3d\x3d updateQueue) {\n return null;\n }\n updateQueue \x3d updateQueue.shared;\n currentlyProcessingQueue !\x3d\x3d updateQueue || didWarnUpdateInsideUpdate || (error(\x22An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.\x22), didWarnUpdateInsideUpdate \x3d !0);\n if ((executionContext \x26 RenderContext) !\x3d\x3d NoContext) {\n var pending \x3d updateQueue.pending;\n null \x3d\x3d\x3d pending ? update.next \x3d update : (update.next \x3d pending.next, pending.next \x3d update);\n updateQueue.pending \x3d update;\n return unsafe_markUpdateLaneFromFiberToRoot(fiber, lane);\n }\n pending \x3d updateQueue.interleaved;\n null \x3d\x3d\x3d pending ? (update.next \x3d update, pushConcurrentUpdateQueue(updateQueue)) : (update.next \x3d pending.next, pending.next \x3d update);\n updateQueue.interleaved \x3d update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n }\n function entangleTransitions(root, fiber, lane) {\n fiber \x3d fiber.updateQueue;\n if (null !\x3d\x3d fiber \x26\x26 (fiber \x3d fiber.shared, 0 !\x3d\x3d (lane \x26 TransitionLanes))) {\n var queueLanes \x3d fiber.lanes;\n queueLanes \x26\x3d root.pendingLanes;\n lane |\x3d queueLanes;\n fiber.lanes \x3d lane;\n markRootEntangled(root, lane);\n }\n }\n function enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue \x3d workInProgress.updateQueue, current \x3d workInProgress.alternate;\n if (null !\x3d\x3d current \x26\x26 (current \x3d current.updateQueue, queue \x3d\x3d\x3d current)) {\n var newFirst \x3d null, newLast \x3d null;\n queue \x3d queue.firstBaseUpdate;\n if (null !\x3d\x3d queue) {\n do {\n var clone \x3d {eventTime:queue.eventTime, lane:queue.lane, tag:queue.tag, payload:queue.payload, callback:queue.callback, next:null};\n null \x3d\x3d\x3d newLast ? newFirst \x3d newLast \x3d clone : newLast \x3d newLast.next \x3d clone;\n queue \x3d queue.next;\n } while (null !\x3d\x3d queue);\n null \x3d\x3d\x3d newLast ? newFirst \x3d newLast \x3d capturedUpdate : newLast \x3d newLast.next \x3d capturedUpdate;\n } else {\n newFirst \x3d newLast \x3d capturedUpdate;\n }\n queue \x3d {baseState:current.baseState, firstBaseUpdate:newFirst, lastBaseUpdate:newLast, shared:current.shared, effects:current.effects};\n workInProgress.updateQueue \x3d queue;\n return;\n }\n workInProgress \x3d queue.lastBaseUpdate;\n null \x3d\x3d\x3d workInProgress ? queue.firstBaseUpdate \x3d capturedUpdate : workInProgress.next \x3d capturedUpdate;\n queue.lastBaseUpdate \x3d capturedUpdate;\n }\n function processUpdateQueue(workInProgress, props, instance$jscomp$0, renderLanes) {\n var queue \x3d workInProgress.updateQueue;\n hasForceUpdate \x3d !1;\n currentlyProcessingQueue \x3d queue.shared;\n var firstBaseUpdate \x3d queue.firstBaseUpdate, lastBaseUpdate \x3d queue.lastBaseUpdate, pendingQueue \x3d queue.shared.pending;\n if (null !\x3d\x3d pendingQueue) {\n queue.shared.pending \x3d null;\n var lastPendingUpdate \x3d pendingQueue, firstPendingUpdate \x3d lastPendingUpdate.next;\n lastPendingUpdate.next \x3d null;\n null \x3d\x3d\x3d lastBaseUpdate ? firstBaseUpdate \x3d firstPendingUpdate : lastBaseUpdate.next \x3d firstPendingUpdate;\n lastBaseUpdate \x3d lastPendingUpdate;\n var current \x3d workInProgress.alternate;\n null !\x3d\x3d current \x26\x26 (current \x3d current.updateQueue, pendingQueue \x3d current.lastBaseUpdate, pendingQueue !\x3d\x3d lastBaseUpdate \x26\x26 (null \x3d\x3d\x3d pendingQueue ? current.firstBaseUpdate \x3d firstPendingUpdate : pendingQueue.next \x3d firstPendingUpdate, current.lastBaseUpdate \x3d lastPendingUpdate));\n }\n if (null !\x3d\x3d firstBaseUpdate) {\n var newState \x3d queue.baseState;\n lastBaseUpdate \x3d 0;\n current \x3d firstPendingUpdate \x3d lastPendingUpdate \x3d null;\n pendingQueue \x3d firstBaseUpdate;\n do {\n var updateLane \x3d pendingQueue.lane, updateEventTime \x3d pendingQueue.eventTime;\n if ((renderLanes \x26 updateLane) \x3d\x3d\x3d updateLane) {\n null !\x3d\x3d current \x26\x26 (current \x3d current.next \x3d {eventTime:updateEventTime, lane:0, tag:pendingQueue.tag, payload:pendingQueue.payload, callback:pendingQueue.callback, next:null});\n a: {\n updateLane \x3d workInProgress;\n var partialState \x3d pendingQueue;\n updateEventTime \x3d props;\n var instance \x3d instance$jscomp$0;\n switch(partialState.tag) {\n case 1:\n partialState \x3d partialState.payload;\n if (\x22function\x22 \x3d\x3d\x3d typeof partialState) {\n isDisallowedContextReadInDEV \x3d !0;\n var nextState \x3d partialState.call(instance, newState, updateEventTime);\n if (updateLane.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n partialState.call(instance, newState, updateEventTime);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isDisallowedContextReadInDEV \x3d !1;\n newState \x3d nextState;\n break a;\n }\n newState \x3d partialState;\n break a;\n case 3:\n updateLane.flags \x3d updateLane.flags \x26 -65537 | 128;\n case UpdateState:\n nextState \x3d partialState.payload;\n if (\x22function\x22 \x3d\x3d\x3d typeof nextState) {\n isDisallowedContextReadInDEV \x3d !0;\n partialState \x3d nextState.call(instance, newState, updateEventTime);\n if (updateLane.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n nextState.call(instance, newState, updateEventTime);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isDisallowedContextReadInDEV \x3d !1;\n } else {\n partialState \x3d nextState;\n }\n if (null \x3d\x3d\x3d partialState || void 0 \x3d\x3d\x3d partialState) {\n break a;\n }\n newState \x3d assign({}, newState, partialState);\n break a;\n case ForceUpdate:\n hasForceUpdate \x3d !0;\n }\n }\n null !\x3d\x3d pendingQueue.callback \x26\x26 0 !\x3d\x3d pendingQueue.lane \x26\x26 (workInProgress.flags |\x3d 64, updateLane \x3d queue.effects, null \x3d\x3d\x3d updateLane ? queue.effects \x3d [pendingQueue] : updateLane.push(pendingQueue));\n } else {\n updateEventTime \x3d {eventTime:updateEventTime, lane:updateLane, tag:pendingQueue.tag, payload:pendingQueue.payload, callback:pendingQueue.callback, next:null}, null \x3d\x3d\x3d current ? (firstPendingUpdate \x3d current \x3d updateEventTime, lastPendingUpdate \x3d newState) : current \x3d current.next \x3d updateEventTime, lastBaseUpdate |\x3d updateLane;\n }\n pendingQueue \x3d pendingQueue.next;\n if (null \x3d\x3d\x3d pendingQueue) {\n if (pendingQueue \x3d queue.shared.pending, null \x3d\x3d\x3d pendingQueue) {\n break;\n } else {\n updateLane \x3d pendingQueue, pendingQueue \x3d updateLane.next, updateLane.next \x3d null, queue.lastBaseUpdate \x3d updateLane, queue.shared.pending \x3d null;\n }\n }\n } while (1);\n null \x3d\x3d\x3d current \x26\x26 (lastPendingUpdate \x3d newState);\n queue.baseState \x3d lastPendingUpdate;\n queue.firstBaseUpdate \x3d firstPendingUpdate;\n queue.lastBaseUpdate \x3d current;\n props \x3d queue.shared.interleaved;\n if (null !\x3d\x3d props) {\n queue \x3d props;\n do {\n lastBaseUpdate |\x3d queue.lane, queue \x3d queue.next;\n } while (queue !\x3d\x3d props);\n } else {\n null \x3d\x3d\x3d firstBaseUpdate \x26\x26 (queue.shared.lanes \x3d 0);\n }\n workInProgressRootSkippedLanes |\x3d lastBaseUpdate;\n workInProgress.lanes \x3d lastBaseUpdate;\n workInProgress.memoizedState \x3d newState;\n }\n currentlyProcessingQueue \x3d null;\n }\n function commitUpdateQueue(finishedWork, finishedQueue, instance) {\n finishedWork \x3d finishedQueue.effects;\n finishedQueue.effects \x3d null;\n if (null !\x3d\x3d finishedWork) {\n for (finishedQueue \x3d 0; finishedQueue \x3c finishedWork.length; finishedQueue++) {\n var effect \x3d finishedWork[finishedQueue], callback \x3d effect.callback;\n if (null !\x3d\x3d callback) {\n effect.callback \x3d null;\n if (\x22function\x22 !\x3d\x3d typeof callback) {\n throw Error(\x22Invalid argument passed as callback. Expected a function. Instead received: \x22 + callback);\n }\n callback.call(instance);\n }\n }\n }\n }\n function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {\n var prevState \x3d workInProgress.memoizedState, partialState \x3d getDerivedStateFromProps(nextProps, prevState);\n if (workInProgress.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n partialState \x3d getDerivedStateFromProps(nextProps, prevState);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n warnOnUndefinedDerivedState(ctor, partialState);\n ctor \x3d null \x3d\x3d\x3d partialState || void 0 \x3d\x3d\x3d partialState ? prevState : assign({}, prevState, partialState);\n workInProgress.memoizedState \x3d ctor;\n 0 \x3d\x3d\x3d workInProgress.lanes \x26\x26 (workInProgress.updateQueue.baseState \x3d ctor);\n }\n function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) {\n var instance \x3d workInProgress.stateNode;\n if (\x22function\x22 \x3d\x3d\x3d typeof instance.shouldComponentUpdate) {\n oldProps \x3d instance.shouldComponentUpdate(newProps, newState, nextContext);\n if (workInProgress.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n oldProps \x3d instance.shouldComponentUpdate(newProps, newState, nextContext);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n void 0 \x3d\x3d\x3d oldProps \x26\x26 error(\x22%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.\x22, getComponentNameFromType(ctor) || \x22Component\x22);\n return oldProps;\n }\n return ctor.prototype \x26\x26 ctor.prototype.isPureReactComponent ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) : !0;\n }\n function constructClassInstance(workInProgress, ctor, props) {\n var isLegacyContextConsumer \x3d !1, unmaskedContext \x3d emptyContextObject;\n var context \x3d ctor.contextType;\n if (\x22contextType\x22 in ctor \x26\x26 null !\x3d\x3d context \x26\x26 (void 0 \x3d\x3d\x3d context || context.$$typeof !\x3d\x3d REACT_CONTEXT_TYPE || void 0 !\x3d\x3d context._context) \x26\x26 !didWarnAboutInvalidateContextType.has(ctor)) {\n didWarnAboutInvalidateContextType.add(ctor);\n var addendum \x3d void 0 \x3d\x3d\x3d context ? \x22 However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.\x22 : \x22object\x22 !\x3d\x3d typeof context ? \x22 However, it is set to a \x22 + typeof context + \x22.\x22 : context.$$typeof \x3d\x3d\x3d REACT_PROVIDER_TYPE ? \x22 Did you accidentally pass the Context.Provider instead?\x22 : void 0 !\x3d\x3d context._context ? \x22 Did you accidentally pass the Context.Consumer instead?\x22 : \n \x22 However, it is set to an object with keys {\x22 + Object.keys(context).join(\x22, \x22) + \x22}.\x22;\n error(\x22%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s\x22, getComponentNameFromType(ctor) || \x22Component\x22, addendum);\n }\n \x22object\x22 \x3d\x3d\x3d typeof context \x26\x26 null !\x3d\x3d context ? context \x3d readContext(context) : (unmaskedContext \x3d isContextProvider(ctor) ? previousContext : contextStackCursor.current, isLegacyContextConsumer \x3d ctor.contextTypes, context \x3d (isLegacyContextConsumer \x3d null !\x3d\x3d isLegacyContextConsumer \x26\x26 void 0 !\x3d\x3d isLegacyContextConsumer) ? getMaskedContext(workInProgress, unmaskedContext) : emptyContextObject);\n addendum \x3d new ctor(props, context);\n if (workInProgress.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n addendum \x3d new ctor(props, context);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n props \x3d workInProgress.memoizedState \x3d null !\x3d\x3d addendum.state \x26\x26 void 0 !\x3d\x3d addendum.state ? addendum.state : null;\n var instance \x3d addendum;\n instance.updater \x3d classComponentUpdater;\n workInProgress.stateNode \x3d instance;\n instance._reactInternals \x3d workInProgress;\n instance._reactInternalInstance \x3d fakeInternalInstance;\n \x22function\x22 \x3d\x3d\x3d typeof ctor.getDerivedStateFromProps \x26\x26 null \x3d\x3d\x3d props \x26\x26 (props \x3d getComponentNameFromType(ctor) || \x22Component\x22, didWarnAboutUninitializedState.has(props) || (didWarnAboutUninitializedState.add(props), error(\x22`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.\x22, \n props, null \x3d\x3d\x3d addendum.state ? \x22null\x22 : \x22undefined\x22, props)));\n if (\x22function\x22 \x3d\x3d\x3d typeof ctor.getDerivedStateFromProps || \x22function\x22 \x3d\x3d\x3d typeof addendum.getSnapshotBeforeUpdate) {\n var foundWillUpdateName \x3d instance \x3d props \x3d null;\n \x22function\x22 \x3d\x3d\x3d typeof addendum.componentWillMount \x26\x26 !0 !\x3d\x3d addendum.componentWillMount.__suppressDeprecationWarning ? props \x3d \x22componentWillMount\x22 : \x22function\x22 \x3d\x3d\x3d typeof addendum.UNSAFE_componentWillMount \x26\x26 (props \x3d \x22UNSAFE_componentWillMount\x22);\n \x22function\x22 \x3d\x3d\x3d typeof addendum.componentWillReceiveProps \x26\x26 !0 !\x3d\x3d addendum.componentWillReceiveProps.__suppressDeprecationWarning ? instance \x3d \x22componentWillReceiveProps\x22 : \x22function\x22 \x3d\x3d\x3d typeof addendum.UNSAFE_componentWillReceiveProps \x26\x26 (instance \x3d \x22UNSAFE_componentWillReceiveProps\x22);\n \x22function\x22 \x3d\x3d\x3d typeof addendum.componentWillUpdate \x26\x26 !0 !\x3d\x3d addendum.componentWillUpdate.__suppressDeprecationWarning ? foundWillUpdateName \x3d \x22componentWillUpdate\x22 : \x22function\x22 \x3d\x3d\x3d typeof addendum.UNSAFE_componentWillUpdate \x26\x26 (foundWillUpdateName \x3d \x22UNSAFE_componentWillUpdate\x22);\n if (null !\x3d\x3d props || null !\x3d\x3d instance || null !\x3d\x3d foundWillUpdateName) {\n var _componentName \x3d getComponentNameFromType(ctor) || \x22Component\x22;\n ctor \x3d \x22function\x22 \x3d\x3d\x3d typeof ctor.getDerivedStateFromProps ? \x22getDerivedStateFromProps()\x22 : \x22getSnapshotBeforeUpdate()\x22;\n didWarnAboutLegacyLifecyclesAndDerivedState.has(_componentName) || (didWarnAboutLegacyLifecyclesAndDerivedState.add(_componentName), error(\x22Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\nhttps://reactjs.org/link/unsafe-component-lifecycles\x22, _componentName, ctor, null !\x3d\x3d props ? \x22\\n \x22 + props : \x22\x22, \n null !\x3d\x3d instance ? \x22\\n \x22 + instance : \x22\x22, null !\x3d\x3d foundWillUpdateName ? \x22\\n \x22 + foundWillUpdateName : \x22\x22));\n }\n }\n isLegacyContextConsumer \x26\x26 (workInProgress \x3d workInProgress.stateNode, workInProgress.__reactInternalMemoizedUnmaskedChildContext \x3d unmaskedContext, workInProgress.__reactInternalMemoizedMaskedChildContext \x3d context);\n return addendum;\n }\n function callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext) {\n var oldState \x3d instance.state;\n \x22function\x22 \x3d\x3d\x3d typeof instance.componentWillReceiveProps \x26\x26 instance.componentWillReceiveProps(newProps, nextContext);\n \x22function\x22 \x3d\x3d\x3d typeof instance.UNSAFE_componentWillReceiveProps \x26\x26 instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !\x3d\x3d oldState \x26\x26 (workInProgress \x3d getComponentNameFromFiber(workInProgress) || \x22Component\x22, didWarnAboutStateAssignmentForComponent.has(workInProgress) || (didWarnAboutStateAssignmentForComponent.add(workInProgress), error(\x22%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component\x27s constructor). Use setState instead.\x22, workInProgress)), classComponentUpdater.enqueueReplaceState(instance, instance.state, null));\n }\n function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {\n var instance \x3d workInProgress.stateNode, name \x3d getComponentNameFromType(ctor) || \x22Component\x22;\n instance.render || (ctor.prototype \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof ctor.prototype.render ? error(\x22%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?\x22, name) : error(\x22%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.\x22, name));\n !instance.getInitialState || instance.getInitialState.isReactClassApproved || instance.state || error(\x22getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?\x22, name);\n instance.getDefaultProps \x26\x26 !instance.getDefaultProps.isReactClassApproved \x26\x26 error(\x22getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.\x22, name);\n instance.propTypes \x26\x26 error(\x22propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.\x22, name);\n instance.contextType \x26\x26 error(\x22contextType was defined as an instance property on %s. Use a static property to define contextType instead.\x22, name);\n instance.contextTypes \x26\x26 error(\x22contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.\x22, name);\n ctor.contextType \x26\x26 ctor.contextTypes \x26\x26 !didWarnAboutContextTypeAndContextTypes.has(ctor) \x26\x26 (didWarnAboutContextTypeAndContextTypes.add(ctor), error(\x22%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.\x22, name));\n \x22function\x22 \x3d\x3d\x3d typeof instance.componentShouldUpdate \x26\x26 error(\x22%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.\x22, name);\n ctor.prototype \x26\x26 ctor.prototype.isPureReactComponent \x26\x26 \x22undefined\x22 !\x3d\x3d typeof instance.shouldComponentUpdate \x26\x26 error(\x22%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.\x22, getComponentNameFromType(ctor) || \x22A pure component\x22);\n \x22function\x22 \x3d\x3d\x3d typeof instance.componentDidUnmount \x26\x26 error(\x22%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?\x22, name);\n \x22function\x22 \x3d\x3d\x3d typeof instance.componentDidReceiveProps \x26\x26 error(\x22%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().\x22, name);\n \x22function\x22 \x3d\x3d\x3d typeof instance.componentWillRecieveProps \x26\x26 error(\x22%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?\x22, name);\n \x22function\x22 \x3d\x3d\x3d typeof instance.UNSAFE_componentWillRecieveProps \x26\x26 error(\x22%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?\x22, name);\n var hasMutatedProps \x3d instance.props !\x3d\x3d newProps;\n void 0 !\x3d\x3d instance.props \x26\x26 hasMutatedProps \x26\x26 error(\x22%s(...): When calling super() in `%s`, make sure to pass up the same props that your component\x27s constructor was passed.\x22, name, name);\n instance.defaultProps \x26\x26 error(\x22Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.\x22, name, name);\n \x22function\x22 !\x3d\x3d typeof instance.getSnapshotBeforeUpdate || \x22function\x22 \x3d\x3d\x3d typeof instance.componentDidUpdate || didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(ctor) || (didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(ctor), error(\x22%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.\x22, getComponentNameFromType(ctor)));\n \x22function\x22 \x3d\x3d\x3d typeof instance.getDerivedStateFromProps \x26\x26 error(\x22%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.\x22, name);\n \x22function\x22 \x3d\x3d\x3d typeof instance.getDerivedStateFromError \x26\x26 error(\x22%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.\x22, name);\n \x22function\x22 \x3d\x3d\x3d typeof ctor.getSnapshotBeforeUpdate \x26\x26 error(\x22%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.\x22, name);\n (hasMutatedProps \x3d instance.state) \x26\x26 (\x22object\x22 !\x3d\x3d typeof hasMutatedProps || isArrayImpl(hasMutatedProps)) \x26\x26 error(\x22%s.state: must be set to an object or null\x22, name);\n \x22function\x22 \x3d\x3d\x3d typeof instance.getChildContext \x26\x26 \x22object\x22 !\x3d\x3d typeof ctor.childContextTypes \x26\x26 error(\x22%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().\x22, name);\n instance \x3d workInProgress.stateNode;\n instance.props \x3d newProps;\n instance.state \x3d workInProgress.memoizedState;\n instance.refs \x3d emptyRefsObject;\n initializeUpdateQueue(workInProgress);\n name \x3d ctor.contextType;\n \x22object\x22 \x3d\x3d\x3d typeof name \x26\x26 null !\x3d\x3d name ? instance.context \x3d readContext(name) : (name \x3d isContextProvider(ctor) ? previousContext : contextStackCursor.current, instance.context \x3d getMaskedContext(workInProgress, name));\n instance.state \x3d\x3d\x3d newProps \x26\x26 (name \x3d getComponentNameFromType(ctor) || \x22Component\x22, didWarnAboutDirectlyAssigningPropsToState.has(name) || (didWarnAboutDirectlyAssigningPropsToState.add(name), error(\x22%s: It is not recommended to assign props directly to state because updates to props won\x27t be reflected in state. In most cases, it is better to use props directly.\x22, name)));\n workInProgress.mode \x26 8 \x26\x26 ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, instance);\n ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress, instance);\n instance.state \x3d workInProgress.memoizedState;\n name \x3d ctor.getDerivedStateFromProps;\n \x22function\x22 \x3d\x3d\x3d typeof name \x26\x26 (applyDerivedStateFromProps(workInProgress, ctor, name, newProps), instance.state \x3d workInProgress.memoizedState);\n \x22function\x22 \x3d\x3d\x3d typeof ctor.getDerivedStateFromProps || \x22function\x22 \x3d\x3d\x3d typeof instance.getSnapshotBeforeUpdate || \x22function\x22 !\x3d\x3d typeof instance.UNSAFE_componentWillMount \x26\x26 \x22function\x22 !\x3d\x3d typeof instance.componentWillMount || (ctor \x3d instance.state, \x22function\x22 \x3d\x3d\x3d typeof instance.componentWillMount \x26\x26 instance.componentWillMount(), \x22function\x22 \x3d\x3d\x3d typeof instance.UNSAFE_componentWillMount \x26\x26 instance.UNSAFE_componentWillMount(), ctor !\x3d\x3d instance.state \x26\x26 (error(\x22%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component\x27s constructor). Use setState instead.\x22, \n getComponentNameFromFiber(workInProgress) || \x22Component\x22), classComponentUpdater.enqueueReplaceState(instance, instance.state, null)), processUpdateQueue(workInProgress, newProps, instance, renderLanes), instance.state \x3d workInProgress.memoizedState);\n \x22function\x22 \x3d\x3d\x3d typeof instance.componentDidMount \x26\x26 (newProps \x3d 4194308, 0 !\x3d\x3d (workInProgress.mode \x26 16) \x26\x26 (newProps |\x3d 16777216), workInProgress.flags |\x3d newProps);\n }\n function coerceRef(returnFiber, current, element) {\n var mixedRef \x3d element.ref;\n if (null !\x3d\x3d mixedRef \x26\x26 \x22function\x22 !\x3d\x3d typeof mixedRef \x26\x26 \x22object\x22 !\x3d\x3d typeof mixedRef) {\n !(returnFiber.mode \x26 8) || element._owner \x26\x26 element._self \x26\x26 element._owner.stateNode !\x3d\x3d element._self || (returnFiber \x3d getComponentNameFromFiber(returnFiber) || \x22Component\x22, didWarnAboutStringRefs[returnFiber] || (error(\x27A string ref, \x22%s\x22, has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref\x27, \n mixedRef), didWarnAboutStringRefs[returnFiber] \x3d !0));\n if (element._owner) {\n element \x3d element._owner;\n if (element) {\n if (1 !\x3d\x3d element.tag) {\n throw Error(\x22Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref\x22);\n }\n var inst \x3d element.stateNode;\n }\n if (!inst) {\n throw Error(\x22Missing owner for string ref \x22 + mixedRef + \x22. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n var resolvedInst \x3d inst, stringRef \x3d \x22\x22 + mixedRef;\n if (null !\x3d\x3d current \x26\x26 null !\x3d\x3d current.ref \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof current.ref \x26\x26 current.ref._stringRef \x3d\x3d\x3d stringRef) {\n return current.ref;\n }\n current \x3d function(value) {\n var refs \x3d resolvedInst.refs;\n refs \x3d\x3d\x3d emptyRefsObject \x26\x26 (refs \x3d resolvedInst.refs \x3d {});\n null \x3d\x3d\x3d value ? delete refs[stringRef] : refs[stringRef] \x3d value;\n };\n current._stringRef \x3d stringRef;\n return current;\n }\n if (\x22string\x22 !\x3d\x3d typeof mixedRef) {\n throw Error(\x22Expected ref to be a function, a string, an object returned by React.createRef(), or null.\x22);\n }\n if (!element._owner) {\n throw Error(\x22Element ref was specified as a string (\x22 + mixedRef + \x22) but no owner was set. This could happen for one of the following reasons:\\n1. You may be adding a ref to a function component\\n2. You may be adding a ref to a component that was not created inside a component\x27s render method\\n3. You have multiple copies of React loaded\\nSee https://reactjs.org/link/refs-must-have-owner for more information.\x22);\n }\n }\n return mixedRef;\n }\n function throwOnInvalidObjectType(returnFiber, newChild) {\n returnFiber \x3d Object.prototype.toString.call(newChild);\n throw Error(\x22Objects are not valid as a React child (found: \x22 + (\x22[object Object]\x22 \x3d\x3d\x3d returnFiber ? \x22object with keys {\x22 + Object.keys(newChild).join(\x22, \x22) + \x22}\x22 : returnFiber) + \x22). If you meant to render a collection of children, use an array instead.\x22);\n }\n function warnOnFunctionType(returnFiber) {\n returnFiber \x3d getComponentNameFromFiber(returnFiber) || \x22Component\x22;\n ownerHasFunctionTypeWarning[returnFiber] || (ownerHasFunctionTypeWarning[returnFiber] \x3d !0, error(\x22Functions are not valid as a React child. This may happen if you return a Component instead of \\x3cComponent /\\x3e from render. Or maybe you meant to call this function rather than return it.\x22));\n }\n function resolveLazy(lazyType) {\n var init \x3d lazyType._init;\n return init(lazyType._payload);\n }\n function ChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions \x3d returnFiber.deletions;\n null \x3d\x3d\x3d deletions ? (returnFiber.deletions \x3d [childToDelete], returnFiber.flags |\x3d 16) : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) {\n return null;\n }\n for (; null !\x3d\x3d currentFirstChild;) {\n deleteChild(returnFiber, currentFirstChild), currentFirstChild \x3d currentFirstChild.sibling;\n }\n return null;\n }\n function mapRemainingChildren(returnFiber, currentFirstChild) {\n for (returnFiber \x3d new Map(); null !\x3d\x3d currentFirstChild;) {\n null !\x3d\x3d currentFirstChild.key ? returnFiber.set(currentFirstChild.key, currentFirstChild) : returnFiber.set(currentFirstChild.index, currentFirstChild), currentFirstChild \x3d currentFirstChild.sibling;\n }\n return returnFiber;\n }\n function useFiber(fiber, pendingProps) {\n fiber \x3d createWorkInProgress(fiber, pendingProps);\n fiber.index \x3d 0;\n fiber.sibling \x3d null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index \x3d newIndex;\n if (!shouldTrackSideEffects) {\n return newFiber.flags |\x3d 1048576, lastPlacedIndex;\n }\n newIndex \x3d newFiber.alternate;\n if (null !\x3d\x3d newIndex) {\n return newIndex \x3d newIndex.index, newIndex \x3c lastPlacedIndex ? (newFiber.flags |\x3d 2, lastPlacedIndex) : newIndex;\n }\n newFiber.flags |\x3d 2;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects \x26\x26 null \x3d\x3d\x3d newFiber.alternate \x26\x26 (newFiber.flags |\x3d 2);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null \x3d\x3d\x3d current || 6 !\x3d\x3d current.tag) {\n return current \x3d createFiberFromText(textContent, returnFiber.mode, lanes), current.return \x3d returnFiber, current;\n }\n current \x3d useFiber(current, textContent);\n current.return \x3d returnFiber;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType \x3d element.type;\n if (elementType \x3d\x3d\x3d REACT_FRAGMENT_TYPE) {\n return updateFragment(returnFiber, current, element.props.children, lanes, element.key);\n }\n if (null !\x3d\x3d current \x26\x26 (current.elementType \x3d\x3d\x3d elementType || isCompatibleFamilyForHotReloading(current, element) || \x22object\x22 \x3d\x3d\x3d typeof elementType \x26\x26 null !\x3d\x3d elementType \x26\x26 elementType.$$typeof \x3d\x3d\x3d REACT_LAZY_TYPE \x26\x26 resolveLazy(elementType) \x3d\x3d\x3d current.type)) {\n return lanes \x3d useFiber(current, element.props), lanes.ref \x3d coerceRef(returnFiber, current, element), lanes.return \x3d returnFiber, lanes._debugSource \x3d element._source, lanes._debugOwner \x3d element._owner, lanes;\n }\n lanes \x3d createFiberFromElement(element, returnFiber.mode, lanes);\n lanes.ref \x3d coerceRef(returnFiber, current, element);\n lanes.return \x3d returnFiber;\n return lanes;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (null \x3d\x3d\x3d current || 4 !\x3d\x3d current.tag || current.stateNode.containerInfo !\x3d\x3d portal.containerInfo || current.stateNode.implementation !\x3d\x3d portal.implementation) {\n return current \x3d createFiberFromPortal(portal, returnFiber.mode, lanes), current.return \x3d returnFiber, current;\n }\n current \x3d useFiber(current, portal.children || []);\n current.return \x3d returnFiber;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null \x3d\x3d\x3d current || 7 !\x3d\x3d current.tag) {\n return current \x3d createFiberFromFragment(fragment, returnFiber.mode, lanes, key), current.return \x3d returnFiber, current;\n }\n current \x3d useFiber(current, fragment);\n current.return \x3d returnFiber;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\x22string\x22 \x3d\x3d\x3d typeof newChild \x26\x26 \x22\x22 !\x3d\x3d newChild || \x22number\x22 \x3d\x3d\x3d typeof newChild) {\n return newChild \x3d createFiberFromText(\x22\x22 + newChild, returnFiber.mode, lanes), newChild.return \x3d returnFiber, newChild;\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof newChild \x26\x26 null !\x3d\x3d newChild) {\n switch(newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return lanes \x3d createFiberFromElement(newChild, returnFiber.mode, lanes), lanes.ref \x3d coerceRef(returnFiber, null, newChild), lanes.return \x3d returnFiber, lanes;\n case REACT_PORTAL_TYPE:\n return newChild \x3d createFiberFromPortal(newChild, returnFiber.mode, lanes), newChild.return \x3d returnFiber, newChild;\n case REACT_LAZY_TYPE:\n var init \x3d newChild._init;\n return createChild(returnFiber, init(newChild._payload), lanes);\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild)) {\n return newChild \x3d createFiberFromFragment(newChild, returnFiber.mode, lanes, null), newChild.return \x3d returnFiber, newChild;\n }\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n \x22function\x22 \x3d\x3d\x3d typeof newChild \x26\x26 warnOnFunctionType(returnFiber);\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key \x3d null !\x3d\x3d oldFiber ? oldFiber.key : null;\n if (\x22string\x22 \x3d\x3d\x3d typeof newChild \x26\x26 \x22\x22 !\x3d\x3d newChild || \x22number\x22 \x3d\x3d\x3d typeof newChild) {\n return null !\x3d\x3d key ? null : updateTextNode(returnFiber, oldFiber, \x22\x22 + newChild, lanes);\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof newChild \x26\x26 null !\x3d\x3d newChild) {\n switch(newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key \x3d\x3d\x3d key ? updateElement(returnFiber, oldFiber, newChild, lanes) : null;\n case REACT_PORTAL_TYPE:\n return newChild.key \x3d\x3d\x3d key ? updatePortal(returnFiber, oldFiber, newChild, lanes) : null;\n case REACT_LAZY_TYPE:\n return key \x3d newChild._init, updateSlot(returnFiber, oldFiber, key(newChild._payload), lanes);\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild)) {\n return null !\x3d\x3d key ? null : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n }\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n \x22function\x22 \x3d\x3d\x3d typeof newChild \x26\x26 warnOnFunctionType(returnFiber);\n return null;\n }\n function updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes) {\n if (\x22string\x22 \x3d\x3d\x3d typeof newChild \x26\x26 \x22\x22 !\x3d\x3d newChild || \x22number\x22 \x3d\x3d\x3d typeof newChild) {\n return existingChildren \x3d existingChildren.get(newIdx) || null, updateTextNode(returnFiber, existingChildren, \x22\x22 + newChild, lanes);\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof newChild \x26\x26 null !\x3d\x3d newChild) {\n switch(newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return existingChildren \x3d existingChildren.get(null \x3d\x3d\x3d newChild.key ? newIdx : newChild.key) || null, updateElement(returnFiber, existingChildren, newChild, lanes);\n case REACT_PORTAL_TYPE:\n return existingChildren \x3d existingChildren.get(null \x3d\x3d\x3d newChild.key ? newIdx : newChild.key) || null, updatePortal(returnFiber, existingChildren, newChild, lanes);\n case REACT_LAZY_TYPE:\n var init \x3d newChild._init;\n return updateFromMap(existingChildren, returnFiber, newIdx, init(newChild._payload), lanes);\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild)) {\n return existingChildren \x3d existingChildren.get(newIdx) || null, updateFragment(returnFiber, existingChildren, newChild, lanes, null);\n }\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n \x22function\x22 \x3d\x3d\x3d typeof newChild \x26\x26 warnOnFunctionType(returnFiber);\n return null;\n }\n function warnOnInvalidKey(child, knownKeys, returnFiber) {\n if (\x22object\x22 !\x3d\x3d typeof child || null \x3d\x3d\x3d child) {\n return knownKeys;\n }\n switch(child.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n warnForMissingKey(child, returnFiber);\n child \x3d child.key;\n if (\x22string\x22 !\x3d\x3d typeof child) {\n break;\n }\n if (null \x3d\x3d\x3d knownKeys) {\n knownKeys \x3d new Set();\n knownKeys.add(child);\n break;\n }\n if (!knownKeys.has(child)) {\n knownKeys.add(child);\n break;\n }\n error(\x22Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.\x22, child);\n break;\n case REACT_LAZY_TYPE:\n var init \x3d child._init;\n warnOnInvalidKey(init(child._payload), knownKeys, returnFiber);\n }\n return knownKeys;\n }\n function reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, lanes) {\n for (var knownKeys \x3d null, i \x3d 0; i \x3c newChildren.length; i++) {\n knownKeys \x3d warnOnInvalidKey(newChildren[i], knownKeys, returnFiber);\n }\n i \x3d knownKeys \x3d null;\n for (var oldFiber \x3d currentFirstChild, newIdx \x3d currentFirstChild \x3d 0, nextOldFiber \x3d null; null !\x3d\x3d oldFiber \x26\x26 newIdx \x3c newChildren.length; newIdx++) {\n oldFiber.index \x3e newIdx ? (nextOldFiber \x3d oldFiber, oldFiber \x3d null) : nextOldFiber \x3d oldFiber.sibling;\n var newFiber \x3d updateSlot(returnFiber, oldFiber, newChildren[newIdx], lanes);\n if (null \x3d\x3d\x3d newFiber) {\n null \x3d\x3d\x3d oldFiber \x26\x26 (oldFiber \x3d nextOldFiber);\n break;\n }\n shouldTrackSideEffects \x26\x26 oldFiber \x26\x26 null \x3d\x3d\x3d newFiber.alternate \x26\x26 deleteChild(returnFiber, oldFiber);\n currentFirstChild \x3d placeChild(newFiber, currentFirstChild, newIdx);\n null \x3d\x3d\x3d i ? knownKeys \x3d newFiber : i.sibling \x3d newFiber;\n i \x3d newFiber;\n oldFiber \x3d nextOldFiber;\n }\n if (newIdx \x3d\x3d\x3d newChildren.length) {\n return deleteRemainingChildren(returnFiber, oldFiber), isHydrating \x26\x26 pushTreeFork(returnFiber, newIdx), knownKeys;\n }\n if (null \x3d\x3d\x3d oldFiber) {\n for (; newIdx \x3c newChildren.length; newIdx++) {\n oldFiber \x3d createChild(returnFiber, newChildren[newIdx], lanes), null !\x3d\x3d oldFiber \x26\x26 (currentFirstChild \x3d placeChild(oldFiber, currentFirstChild, newIdx), null \x3d\x3d\x3d i ? knownKeys \x3d oldFiber : i.sibling \x3d oldFiber, i \x3d oldFiber);\n }\n isHydrating \x26\x26 pushTreeFork(returnFiber, newIdx);\n return knownKeys;\n }\n for (oldFiber \x3d mapRemainingChildren(returnFiber, oldFiber); newIdx \x3c newChildren.length; newIdx++) {\n nextOldFiber \x3d updateFromMap(oldFiber, returnFiber, newIdx, newChildren[newIdx], lanes), null !\x3d\x3d nextOldFiber \x26\x26 (shouldTrackSideEffects \x26\x26 null !\x3d\x3d nextOldFiber.alternate \x26\x26 oldFiber.delete(null \x3d\x3d\x3d nextOldFiber.key ? newIdx : nextOldFiber.key), currentFirstChild \x3d placeChild(nextOldFiber, currentFirstChild, newIdx), null \x3d\x3d\x3d i ? knownKeys \x3d nextOldFiber : i.sibling \x3d nextOldFiber, i \x3d nextOldFiber);\n }\n shouldTrackSideEffects \x26\x26 oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating \x26\x26 pushTreeFork(returnFiber, newIdx);\n return knownKeys;\n }\n function reconcileChildrenIterator(returnFiber, currentFirstChild, newChildrenIterable, lanes) {\n var iteratorFn \x3d getIteratorFn(newChildrenIterable);\n if (\x22function\x22 !\x3d\x3d typeof iteratorFn) {\n throw Error(\x22An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n \x22function\x22 \x3d\x3d\x3d typeof Symbol \x26\x26 \x22Generator\x22 \x3d\x3d\x3d newChildrenIterable[Symbol.toStringTag] \x26\x26 (didWarnAboutGenerators || error(\x22Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers.\x22), didWarnAboutGenerators \x3d !0);\n newChildrenIterable.entries \x3d\x3d\x3d iteratorFn \x26\x26 (didWarnAboutMaps || error(\x22Using Maps as children is not supported. Use an array of keyed ReactElements instead.\x22), didWarnAboutMaps \x3d !0);\n var _newChildren \x3d iteratorFn.call(newChildrenIterable);\n if (_newChildren) {\n for (var knownKeys \x3d null, _step \x3d _newChildren.next(); !_step.done; _step \x3d _newChildren.next()) {\n knownKeys \x3d warnOnInvalidKey(_step.value, knownKeys, returnFiber);\n }\n }\n newChildrenIterable \x3d iteratorFn.call(newChildrenIterable);\n if (null \x3d\x3d newChildrenIterable) {\n throw Error(\x22An iterable object provided no iterator.\x22);\n }\n _newChildren \x3d iteratorFn \x3d null;\n var oldFiber \x3d currentFirstChild;\n knownKeys \x3d currentFirstChild \x3d 0;\n var nextOldFiber \x3d null;\n for (_step \x3d newChildrenIterable.next(); null !\x3d\x3d oldFiber \x26\x26 !_step.done; knownKeys++, _step \x3d newChildrenIterable.next()) {\n oldFiber.index \x3e knownKeys ? (nextOldFiber \x3d oldFiber, oldFiber \x3d null) : nextOldFiber \x3d oldFiber.sibling;\n var newFiber \x3d updateSlot(returnFiber, oldFiber, _step.value, lanes);\n if (null \x3d\x3d\x3d newFiber) {\n null \x3d\x3d\x3d oldFiber \x26\x26 (oldFiber \x3d nextOldFiber);\n break;\n }\n shouldTrackSideEffects \x26\x26 oldFiber \x26\x26 null \x3d\x3d\x3d newFiber.alternate \x26\x26 deleteChild(returnFiber, oldFiber);\n currentFirstChild \x3d placeChild(newFiber, currentFirstChild, knownKeys);\n null \x3d\x3d\x3d _newChildren ? iteratorFn \x3d newFiber : _newChildren.sibling \x3d newFiber;\n _newChildren \x3d newFiber;\n oldFiber \x3d nextOldFiber;\n }\n if (_step.done) {\n return deleteRemainingChildren(returnFiber, oldFiber), isHydrating \x26\x26 pushTreeFork(returnFiber, knownKeys), iteratorFn;\n }\n if (null \x3d\x3d\x3d oldFiber) {\n for (; !_step.done; knownKeys++, _step \x3d newChildrenIterable.next()) {\n _step \x3d createChild(returnFiber, _step.value, lanes), null !\x3d\x3d _step \x26\x26 (currentFirstChild \x3d placeChild(_step, currentFirstChild, knownKeys), null \x3d\x3d\x3d _newChildren ? iteratorFn \x3d _step : _newChildren.sibling \x3d _step, _newChildren \x3d _step);\n }\n isHydrating \x26\x26 pushTreeFork(returnFiber, knownKeys);\n return iteratorFn;\n }\n for (oldFiber \x3d mapRemainingChildren(returnFiber, oldFiber); !_step.done; knownKeys++, _step \x3d newChildrenIterable.next()) {\n _step \x3d updateFromMap(oldFiber, returnFiber, knownKeys, _step.value, lanes), null !\x3d\x3d _step \x26\x26 (shouldTrackSideEffects \x26\x26 null !\x3d\x3d _step.alternate \x26\x26 oldFiber.delete(null \x3d\x3d\x3d _step.key ? knownKeys : _step.key), currentFirstChild \x3d placeChild(_step, currentFirstChild, knownKeys), null \x3d\x3d\x3d _newChildren ? iteratorFn \x3d _step : _newChildren.sibling \x3d _step, _newChildren \x3d _step);\n }\n shouldTrackSideEffects \x26\x26 oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating \x26\x26 pushTreeFork(returnFiber, knownKeys);\n return iteratorFn;\n }\n function reconcileChildFibers(returnFiber, currentFirstChild, newChild, lanes) {\n \x22object\x22 \x3d\x3d\x3d typeof newChild \x26\x26 null !\x3d\x3d newChild \x26\x26 newChild.type \x3d\x3d\x3d REACT_FRAGMENT_TYPE \x26\x26 null \x3d\x3d\x3d newChild.key \x26\x26 (newChild \x3d newChild.props.children);\n if (\x22object\x22 \x3d\x3d\x3d typeof newChild \x26\x26 null !\x3d\x3d newChild) {\n switch(newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n for (var key \x3d newChild.key, child \x3d currentFirstChild; null !\x3d\x3d child;) {\n if (child.key \x3d\x3d\x3d key) {\n key \x3d newChild.type;\n if (key \x3d\x3d\x3d REACT_FRAGMENT_TYPE) {\n if (7 \x3d\x3d\x3d child.tag) {\n deleteRemainingChildren(returnFiber, child.sibling);\n currentFirstChild \x3d useFiber(child, newChild.props.children);\n currentFirstChild.return \x3d returnFiber;\n currentFirstChild._debugSource \x3d newChild._source;\n currentFirstChild._debugOwner \x3d newChild._owner;\n returnFiber \x3d currentFirstChild;\n break a;\n }\n } else {\n if (child.elementType \x3d\x3d\x3d key || isCompatibleFamilyForHotReloading(child, newChild) || \x22object\x22 \x3d\x3d\x3d typeof key \x26\x26 null !\x3d\x3d key \x26\x26 key.$$typeof \x3d\x3d\x3d REACT_LAZY_TYPE \x26\x26 resolveLazy(key) \x3d\x3d\x3d child.type) {\n deleteRemainingChildren(returnFiber, child.sibling);\n currentFirstChild \x3d useFiber(child, newChild.props);\n currentFirstChild.ref \x3d coerceRef(returnFiber, child, newChild);\n currentFirstChild.return \x3d returnFiber;\n currentFirstChild._debugSource \x3d newChild._source;\n currentFirstChild._debugOwner \x3d newChild._owner;\n returnFiber \x3d currentFirstChild;\n break a;\n }\n }\n deleteRemainingChildren(returnFiber, child);\n break;\n } else {\n deleteChild(returnFiber, child);\n }\n child \x3d child.sibling;\n }\n newChild.type \x3d\x3d\x3d REACT_FRAGMENT_TYPE ? (currentFirstChild \x3d createFiberFromFragment(newChild.props.children, returnFiber.mode, lanes, newChild.key), currentFirstChild.return \x3d returnFiber, returnFiber \x3d currentFirstChild) : (lanes \x3d createFiberFromElement(newChild, returnFiber.mode, lanes), lanes.ref \x3d coerceRef(returnFiber, currentFirstChild, newChild), lanes.return \x3d returnFiber, returnFiber \x3d lanes);\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (child \x3d newChild.key; null !\x3d\x3d currentFirstChild;) {\n if (currentFirstChild.key \x3d\x3d\x3d child) {\n if (4 \x3d\x3d\x3d currentFirstChild.tag \x26\x26 currentFirstChild.stateNode.containerInfo \x3d\x3d\x3d newChild.containerInfo \x26\x26 currentFirstChild.stateNode.implementation \x3d\x3d\x3d newChild.implementation) {\n deleteRemainingChildren(returnFiber, currentFirstChild.sibling);\n currentFirstChild \x3d useFiber(currentFirstChild, newChild.children || []);\n currentFirstChild.return \x3d returnFiber;\n returnFiber \x3d currentFirstChild;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n } else {\n deleteChild(returnFiber, currentFirstChild);\n }\n currentFirstChild \x3d currentFirstChild.sibling;\n }\n currentFirstChild \x3d createFiberFromPortal(newChild, returnFiber.mode, lanes);\n currentFirstChild.return \x3d returnFiber;\n returnFiber \x3d currentFirstChild;\n }\n return placeSingleChild(returnFiber);\n case REACT_LAZY_TYPE:\n return child \x3d newChild._init, reconcileChildFibers(returnFiber, currentFirstChild, child(newChild._payload), lanes);\n }\n if (isArrayImpl(newChild)) {\n return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes);\n }\n if (getIteratorFn(newChild)) {\n return reconcileChildrenIterator(returnFiber, currentFirstChild, newChild, lanes);\n }\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n if (\x22string\x22 \x3d\x3d\x3d typeof newChild \x26\x26 \x22\x22 !\x3d\x3d newChild || \x22number\x22 \x3d\x3d\x3d typeof newChild) {\n return newChild \x3d \x22\x22 + newChild, null !\x3d\x3d currentFirstChild \x26\x26 6 \x3d\x3d\x3d currentFirstChild.tag ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling), currentFirstChild \x3d useFiber(currentFirstChild, newChild), currentFirstChild.return \x3d returnFiber, returnFiber \x3d currentFirstChild) : (deleteRemainingChildren(returnFiber, currentFirstChild), currentFirstChild \x3d createFiberFromText(newChild, returnFiber.mode, lanes), currentFirstChild.return \x3d returnFiber, returnFiber \x3d currentFirstChild), \n placeSingleChild(returnFiber);\n }\n \x22function\x22 \x3d\x3d\x3d typeof newChild \x26\x26 warnOnFunctionType(returnFiber);\n return deleteRemainingChildren(returnFiber, currentFirstChild);\n }\n return reconcileChildFibers;\n }\n function requiredContext(c) {\n if (c \x3d\x3d\x3d NO_CONTEXT) {\n throw Error(\x22Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n return c;\n }\n function pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance, fiber);\n push(contextFiberStackCursor, fiber, fiber);\n push(contextStackCursor$1, NO_CONTEXT, fiber);\n var nextRootContext \x3d nextRootInstance.nodeType;\n switch(nextRootContext) {\n case 9:\n case 11:\n nextRootContext \x3d 9 \x3d\x3d\x3d nextRootContext ? \x22#document\x22 : \x22#fragment\x22;\n nextRootInstance \x3d (nextRootInstance \x3d nextRootInstance.documentElement) ? nextRootInstance.namespaceURI : getChildNamespace(null, \x22\x22);\n break;\n default:\n nextRootContext \x3d 8 \x3d\x3d\x3d nextRootContext ? nextRootInstance.parentNode : nextRootInstance, nextRootInstance \x3d nextRootContext.namespaceURI || null, nextRootContext \x3d nextRootContext.tagName, nextRootInstance \x3d getChildNamespace(nextRootInstance, nextRootContext);\n }\n nextRootContext \x3d nextRootContext.toLowerCase();\n nextRootContext \x3d updatedAncestorInfo(null, nextRootContext);\n nextRootContext \x3d {namespace:nextRootInstance, ancestorInfo:nextRootContext};\n pop(contextStackCursor$1, fiber);\n push(contextStackCursor$1, nextRootContext, fiber);\n }\n function popHostContainer(fiber) {\n pop(contextStackCursor$1, fiber);\n pop(contextFiberStackCursor, fiber);\n pop(rootInstanceStackCursor, fiber);\n }\n function pushHostContext(fiber) {\n requiredContext(rootInstanceStackCursor.current);\n var context \x3d requiredContext(contextStackCursor$1.current);\n var type \x3d fiber.type;\n var nextContext \x3d getChildNamespace(context.namespace, type);\n type \x3d updatedAncestorInfo(context.ancestorInfo, type);\n nextContext \x3d {namespace:nextContext, ancestorInfo:type};\n context !\x3d\x3d nextContext \x26\x26 (push(contextFiberStackCursor, fiber, fiber), push(contextStackCursor$1, nextContext, fiber));\n }\n function popHostContext(fiber) {\n contextFiberStackCursor.current \x3d\x3d\x3d fiber \x26\x26 (pop(contextStackCursor$1, fiber), pop(contextFiberStackCursor, fiber));\n }\n function findFirstSuspended(row) {\n for (var node \x3d row; null !\x3d\x3d node;) {\n if (13 \x3d\x3d\x3d node.tag) {\n var state \x3d node.memoizedState;\n if (null !\x3d\x3d state \x26\x26 (state \x3d state.dehydrated, null \x3d\x3d\x3d state || state.data \x3d\x3d\x3d SUSPENSE_PENDING_START_DATA || state.data \x3d\x3d\x3d SUSPENSE_FALLBACK_START_DATA)) {\n return node;\n }\n } else if (19 \x3d\x3d\x3d node.tag \x26\x26 void 0 !\x3d\x3d node.memoizedProps.revealOrder) {\n if (0 !\x3d\x3d (node.flags \x26 128)) {\n return node;\n }\n } else if (null !\x3d\x3d node.child) {\n node.child.return \x3d node;\n node \x3d node.child;\n continue;\n }\n if (node \x3d\x3d\x3d row) {\n break;\n }\n for (; null \x3d\x3d\x3d node.sibling;) {\n if (null \x3d\x3d\x3d node.return || node.return \x3d\x3d\x3d row) {\n return null;\n }\n node \x3d node.return;\n }\n node.sibling.return \x3d node.return;\n node \x3d node.sibling;\n }\n return null;\n }\n function resetWorkInProgressVersions() {\n for (var i \x3d 0; i \x3c workInProgressSources.length; i++) {\n workInProgressSources[i]._workInProgressVersionPrimary \x3d null;\n }\n workInProgressSources.length \x3d 0;\n }\n function mountHookTypesDev() {\n var hookName \x3d currentHookNameInDev;\n null \x3d\x3d\x3d hookTypesDev ? hookTypesDev \x3d [hookName] : hookTypesDev.push(hookName);\n }\n function updateHookTypesDev() {\n var hookName \x3d currentHookNameInDev;\n if (null !\x3d\x3d hookTypesDev \x26\x26 (hookTypesUpdateIndexDev++, hookTypesDev[hookTypesUpdateIndexDev] !\x3d\x3d hookName)) {\n var componentName \x3d getComponentNameFromFiber(currentlyRenderingFiber$1);\n if (!didWarnAboutMismatchedHooksForComponent.has(componentName) \x26\x26 (didWarnAboutMismatchedHooksForComponent.add(componentName), null !\x3d\x3d hookTypesDev)) {\n for (var table \x3d \x22\x22, i \x3d 0; i \x3c\x3d hookTypesUpdateIndexDev; i++) {\n var oldHookName \x3d hookTypesDev[i], newHookName \x3d i \x3d\x3d\x3d hookTypesUpdateIndexDev ? hookName : oldHookName;\n for (oldHookName \x3d i + 1 + \x22. \x22 + oldHookName; 30 \x3e oldHookName.length;) {\n oldHookName +\x3d \x22 \x22;\n }\n oldHookName +\x3d newHookName + \x22\\n\x22;\n table +\x3d oldHookName;\n }\n error(\x22React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\\n\\n Previous render Next render\\n ------------------------------------------------------\\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n\x22, componentName, table);\n }\n }\n }\n function checkDepsAreArrayDev(deps) {\n void 0 \x3d\x3d\x3d deps || null \x3d\x3d\x3d deps || isArrayImpl(deps) || error(\x22%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.\x22, currentHookNameInDev, typeof deps);\n }\n function throwInvalidHookError() {\n throw Error(\x22Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\x22);\n }\n function areHookInputsEqual(nextDeps, prevDeps) {\n if (ignorePreviousDependencies) {\n return !1;\n }\n if (null \x3d\x3d\x3d prevDeps) {\n return error(\x22%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.\x22, currentHookNameInDev), !1;\n }\n nextDeps.length !\x3d\x3d prevDeps.length \x26\x26 error(\x22The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\\n\\nPrevious: %s\\nIncoming: %s\x22, currentHookNameInDev, \x22[\x22 + prevDeps.join(\x22, \x22) + \x22]\x22, \x22[\x22 + nextDeps.join(\x22, \x22) + \x22]\x22);\n for (var i \x3d 0; i \x3c prevDeps.length \x26\x26 i \x3c nextDeps.length; i++) {\n if (!objectIs(nextDeps[i], prevDeps[i])) {\n return !1;\n }\n }\n return !0;\n }\n function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) {\n renderLanes \x3d nextRenderLanes;\n currentlyRenderingFiber$1 \x3d workInProgress;\n hookTypesDev \x3d null !\x3d\x3d current ? current._debugHookTypes : null;\n hookTypesUpdateIndexDev \x3d -1;\n ignorePreviousDependencies \x3d null !\x3d\x3d current \x26\x26 current.type !\x3d\x3d workInProgress.type;\n workInProgress.memoizedState \x3d null;\n workInProgress.updateQueue \x3d null;\n workInProgress.lanes \x3d 0;\n ReactCurrentDispatcher$1.current \x3d null !\x3d\x3d current \x26\x26 null !\x3d\x3d current.memoizedState ? HooksDispatcherOnUpdateInDEV : null !\x3d\x3d hookTypesDev ? HooksDispatcherOnMountWithHookTypesInDEV : HooksDispatcherOnMountInDEV;\n nextRenderLanes \x3d Component(props, secondArg);\n if (didScheduleRenderPhaseUpdateDuringThisPass) {\n var numberOfReRenders \x3d 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass \x3d !1;\n localIdCounter \x3d 0;\n if (25 \x3c\x3d numberOfReRenders) {\n throw Error(\x22Too many re-renders. React limits the number of renders to prevent an infinite loop.\x22);\n }\n numberOfReRenders +\x3d 1;\n ignorePreviousDependencies \x3d !1;\n workInProgressHook \x3d currentHook \x3d null;\n workInProgress.updateQueue \x3d null;\n hookTypesUpdateIndexDev \x3d -1;\n ReactCurrentDispatcher$1.current \x3d HooksDispatcherOnRerenderInDEV;\n nextRenderLanes \x3d Component(props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n }\n ReactCurrentDispatcher$1.current \x3d ContextOnlyDispatcher;\n workInProgress._debugHookTypes \x3d hookTypesDev;\n Component \x3d null !\x3d\x3d currentHook \x26\x26 null !\x3d\x3d currentHook.next;\n renderLanes \x3d 0;\n hookTypesDev \x3d currentHookNameInDev \x3d workInProgressHook \x3d currentHook \x3d currentlyRenderingFiber$1 \x3d null;\n hookTypesUpdateIndexDev \x3d -1;\n null !\x3d\x3d current \x26\x26 (current.flags \x26 14680064) !\x3d\x3d (workInProgress.flags \x26 14680064) \x26\x26 0 !\x3d\x3d (current.mode \x26 1) \x26\x26 error(\x22Internal React error: Expected static flag was missing. Please notify the React team.\x22);\n didScheduleRenderPhaseUpdate \x3d !1;\n if (Component) {\n throw Error(\x22Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\x22);\n }\n return nextRenderLanes;\n }\n function checkDidRenderIdHook() {\n var didRenderIdHook \x3d 0 !\x3d\x3d localIdCounter;\n localIdCounter \x3d 0;\n return didRenderIdHook;\n }\n function bailoutHooks(current, workInProgress, lanes) {\n workInProgress.updateQueue \x3d current.updateQueue;\n workInProgress.flags \x3d 0 !\x3d\x3d (workInProgress.mode \x26 16) ? workInProgress.flags \x26 -50333701 : workInProgress.flags \x26 -2053;\n current.lanes \x26\x3d ~lanes;\n }\n function resetHooksAfterThrow() {\n ReactCurrentDispatcher$1.current \x3d ContextOnlyDispatcher;\n if (didScheduleRenderPhaseUpdate) {\n for (var hook \x3d currentlyRenderingFiber$1.memoizedState; null !\x3d\x3d hook;) {\n var queue \x3d hook.queue;\n null !\x3d\x3d queue \x26\x26 (queue.pending \x3d null);\n hook \x3d hook.next;\n }\n didScheduleRenderPhaseUpdate \x3d !1;\n }\n renderLanes \x3d 0;\n hookTypesDev \x3d workInProgressHook \x3d currentHook \x3d currentlyRenderingFiber$1 \x3d null;\n hookTypesUpdateIndexDev \x3d -1;\n currentHookNameInDev \x3d null;\n didScheduleRenderPhaseUpdateDuringThisPass \x3d isUpdatingOpaqueValueInRenderPhase \x3d !1;\n localIdCounter \x3d 0;\n }\n function mountWorkInProgressHook() {\n var hook \x3d {memoizedState:null, baseState:null, baseQueue:null, queue:null, next:null};\n null \x3d\x3d\x3d workInProgressHook ? currentlyRenderingFiber$1.memoizedState \x3d workInProgressHook \x3d hook : workInProgressHook \x3d workInProgressHook.next \x3d hook;\n return workInProgressHook;\n }\n function updateWorkInProgressHook() {\n if (null \x3d\x3d\x3d currentHook) {\n var nextCurrentHook \x3d currentlyRenderingFiber$1.alternate;\n nextCurrentHook \x3d null !\x3d\x3d nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else {\n nextCurrentHook \x3d currentHook.next;\n }\n var nextWorkInProgressHook \x3d null \x3d\x3d\x3d workInProgressHook ? currentlyRenderingFiber$1.memoizedState : workInProgressHook.next;\n if (null !\x3d\x3d nextWorkInProgressHook) {\n workInProgressHook \x3d nextWorkInProgressHook, currentHook \x3d nextCurrentHook;\n } else {\n if (null \x3d\x3d\x3d nextCurrentHook) {\n throw Error(\x22Rendered more hooks than during the previous render.\x22);\n }\n currentHook \x3d nextCurrentHook;\n nextCurrentHook \x3d {memoizedState:currentHook.memoizedState, baseState:currentHook.baseState, baseQueue:currentHook.baseQueue, queue:currentHook.queue, next:null};\n null \x3d\x3d\x3d workInProgressHook ? currentlyRenderingFiber$1.memoizedState \x3d workInProgressHook \x3d nextCurrentHook : workInProgressHook \x3d workInProgressHook.next \x3d nextCurrentHook;\n }\n return workInProgressHook;\n }\n function basicStateReducer(state, action) {\n return \x22function\x22 \x3d\x3d\x3d typeof action ? action(state) : action;\n }\n function mountReducer(reducer, initialArg, init) {\n var hook \x3d mountWorkInProgressHook();\n initialArg \x3d void 0 !\x3d\x3d init ? init(initialArg) : initialArg;\n hook.memoizedState \x3d hook.baseState \x3d initialArg;\n reducer \x3d {pending:null, interleaved:null, lanes:0, dispatch:null, lastRenderedReducer:reducer, lastRenderedState:initialArg};\n hook.queue \x3d reducer;\n reducer \x3d reducer.dispatch \x3d dispatchReducerAction.bind(null, currentlyRenderingFiber$1, reducer);\n return [hook.memoizedState, reducer];\n }\n function updateReducer(reducer, initialArg, init) {\n initialArg \x3d updateWorkInProgressHook();\n init \x3d initialArg.queue;\n if (null \x3d\x3d\x3d init) {\n throw Error(\x22Should have a queue. This is likely a bug in React. Please file an issue.\x22);\n }\n init.lastRenderedReducer \x3d reducer;\n var current \x3d currentHook, baseQueue \x3d current.baseQueue, pendingQueue \x3d init.pending;\n if (null !\x3d\x3d pendingQueue) {\n if (null !\x3d\x3d baseQueue) {\n var baseFirst \x3d baseQueue.next;\n baseQueue.next \x3d pendingQueue.next;\n pendingQueue.next \x3d baseFirst;\n }\n current.baseQueue !\x3d\x3d baseQueue \x26\x26 error(\x22Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.\x22);\n current.baseQueue \x3d baseQueue \x3d pendingQueue;\n init.pending \x3d null;\n }\n if (null !\x3d\x3d baseQueue) {\n pendingQueue \x3d baseQueue.next;\n current \x3d current.baseState;\n var newBaseQueueFirst \x3d baseFirst \x3d null, newBaseQueueLast \x3d null, update \x3d pendingQueue;\n do {\n var updateLane \x3d update.lane;\n if ((renderLanes \x26 updateLane) \x3d\x3d\x3d updateLane) {\n null !\x3d\x3d newBaseQueueLast \x26\x26 (newBaseQueueLast \x3d newBaseQueueLast.next \x3d {lane:0, action:update.action, hasEagerState:update.hasEagerState, eagerState:update.eagerState, next:null}), current \x3d update.hasEagerState ? update.eagerState : reducer(current, update.action);\n } else {\n var clone \x3d {lane:updateLane, action:update.action, hasEagerState:update.hasEagerState, eagerState:update.eagerState, next:null};\n null \x3d\x3d\x3d newBaseQueueLast ? (newBaseQueueFirst \x3d newBaseQueueLast \x3d clone, baseFirst \x3d current) : newBaseQueueLast \x3d newBaseQueueLast.next \x3d clone;\n currentlyRenderingFiber$1.lanes |\x3d updateLane;\n workInProgressRootSkippedLanes |\x3d updateLane;\n }\n update \x3d update.next;\n } while (null !\x3d\x3d update \x26\x26 update !\x3d\x3d pendingQueue);\n null \x3d\x3d\x3d newBaseQueueLast ? baseFirst \x3d current : newBaseQueueLast.next \x3d newBaseQueueFirst;\n objectIs(current, initialArg.memoizedState) || (didReceiveUpdate \x3d !0);\n initialArg.memoizedState \x3d current;\n initialArg.baseState \x3d baseFirst;\n initialArg.baseQueue \x3d newBaseQueueLast;\n init.lastRenderedState \x3d current;\n }\n reducer \x3d init.interleaved;\n if (null !\x3d\x3d reducer) {\n baseQueue \x3d reducer;\n do {\n pendingQueue \x3d baseQueue.lane, currentlyRenderingFiber$1.lanes |\x3d pendingQueue, workInProgressRootSkippedLanes |\x3d pendingQueue, baseQueue \x3d baseQueue.next;\n } while (baseQueue !\x3d\x3d reducer);\n } else {\n null \x3d\x3d\x3d baseQueue \x26\x26 (init.lanes \x3d 0);\n }\n return [initialArg.memoizedState, init.dispatch];\n }\n function rerenderReducer(reducer, initialArg, init) {\n initialArg \x3d updateWorkInProgressHook();\n init \x3d initialArg.queue;\n if (null \x3d\x3d\x3d init) {\n throw Error(\x22Should have a queue. This is likely a bug in React. Please file an issue.\x22);\n }\n init.lastRenderedReducer \x3d reducer;\n var dispatch \x3d init.dispatch, lastRenderPhaseUpdate \x3d init.pending, newState \x3d initialArg.memoizedState;\n if (null !\x3d\x3d lastRenderPhaseUpdate) {\n init.pending \x3d null;\n var update \x3d lastRenderPhaseUpdate \x3d lastRenderPhaseUpdate.next;\n do {\n newState \x3d reducer(newState, update.action), update \x3d update.next;\n } while (update !\x3d\x3d lastRenderPhaseUpdate);\n objectIs(newState, initialArg.memoizedState) || (didReceiveUpdate \x3d !0);\n initialArg.memoizedState \x3d newState;\n null \x3d\x3d\x3d initialArg.baseQueue \x26\x26 (initialArg.baseState \x3d newState);\n init.lastRenderedState \x3d newState;\n }\n return [newState, dispatch];\n }\n function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n var fiber \x3d currentlyRenderingFiber$1, hook \x3d mountWorkInProgressHook();\n if (isHydrating) {\n if (void 0 \x3d\x3d\x3d getServerSnapshot) {\n throw Error(\x22Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.\x22);\n }\n var nextSnapshot \x3d getServerSnapshot();\n didWarnUncachedGetSnapshot || nextSnapshot \x3d\x3d\x3d getServerSnapshot() || (error(\x22The result of getServerSnapshot should be cached to avoid an infinite loop\x22), didWarnUncachedGetSnapshot \x3d !0);\n } else {\n nextSnapshot \x3d getSnapshot();\n didWarnUncachedGetSnapshot || (getServerSnapshot \x3d getSnapshot(), objectIs(nextSnapshot, getServerSnapshot) || (error(\x22The result of getSnapshot should be cached to avoid an infinite loop\x22), didWarnUncachedGetSnapshot \x3d !0));\n if (null \x3d\x3d\x3d workInProgressRoot) {\n throw Error(\x22Expected a work-in-progress root. This is a bug in React. Please file an issue.\x22);\n }\n 0 !\x3d\x3d (renderLanes \x26 (InputContinuousHydrationLane | InputContinuousLane | DefaultHydrationLane | DefaultLane)) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);\n }\n hook.memoizedState \x3d nextSnapshot;\n getServerSnapshot \x3d {value:nextSnapshot, getSnapshot};\n hook.queue \x3d getServerSnapshot;\n mountEffect(subscribeToStore.bind(null, fiber, getServerSnapshot, subscribe), [subscribe]);\n fiber.flags |\x3d 2048;\n pushEffect(HasEffect | Passive$1, updateStoreInstance.bind(null, fiber, getServerSnapshot, nextSnapshot, getSnapshot), void 0, null);\n return nextSnapshot;\n }\n function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n getServerSnapshot \x3d currentlyRenderingFiber$1;\n var hook \x3d updateWorkInProgressHook(), nextSnapshot \x3d getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedSnapshot \x3d getSnapshot();\n objectIs(nextSnapshot, cachedSnapshot) || (error(\x22The result of getSnapshot should be cached to avoid an infinite loop\x22), didWarnUncachedGetSnapshot \x3d !0);\n }\n if (cachedSnapshot \x3d !objectIs(hook.memoizedState, nextSnapshot)) {\n hook.memoizedState \x3d nextSnapshot, didReceiveUpdate \x3d !0;\n }\n hook \x3d hook.queue;\n var create \x3d subscribeToStore.bind(null, getServerSnapshot, hook, subscribe);\n updateEffectImpl(2048, Passive$1, create, [subscribe]);\n if (hook.getSnapshot !\x3d\x3d getSnapshot || cachedSnapshot || null !\x3d\x3d workInProgressHook \x26\x26 workInProgressHook.memoizedState.tag \x26 HasEffect) {\n getServerSnapshot.flags |\x3d 2048;\n pushEffect(HasEffect | Passive$1, updateStoreInstance.bind(null, getServerSnapshot, hook, nextSnapshot, getSnapshot), void 0, null);\n if (null \x3d\x3d\x3d workInProgressRoot) {\n throw Error(\x22Expected a work-in-progress root. This is a bug in React. Please file an issue.\x22);\n }\n 0 !\x3d\x3d (renderLanes \x26 (InputContinuousHydrationLane | InputContinuousLane | DefaultHydrationLane | DefaultLane)) || pushStoreConsistencyCheck(getServerSnapshot, getSnapshot, nextSnapshot);\n }\n return nextSnapshot;\n }\n function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {\n fiber.flags |\x3d 16384;\n fiber \x3d {getSnapshot, value:renderedSnapshot};\n getSnapshot \x3d currentlyRenderingFiber$1.updateQueue;\n null \x3d\x3d\x3d getSnapshot ? (getSnapshot \x3d {lastEffect:null, stores:null}, currentlyRenderingFiber$1.updateQueue \x3d getSnapshot, getSnapshot.stores \x3d [fiber]) : (renderedSnapshot \x3d getSnapshot.stores, null \x3d\x3d\x3d renderedSnapshot ? getSnapshot.stores \x3d [fiber] : renderedSnapshot.push(fiber));\n }\n function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {\n inst.value \x3d nextSnapshot;\n inst.getSnapshot \x3d getSnapshot;\n checkIfSnapshotChanged(inst) \x26\x26 forceStoreRerender(fiber);\n }\n function subscribeToStore(fiber, inst, subscribe) {\n return subscribe(function() {\n checkIfSnapshotChanged(inst) \x26\x26 forceStoreRerender(fiber);\n });\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot \x3d inst.getSnapshot;\n inst \x3d inst.value;\n try {\n var nextValue \x3d latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function forceStoreRerender(fiber) {\n var root \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane);\n null !\x3d\x3d root \x26\x26 scheduleUpdateOnFiber(root, fiber, SyncLane, -1);\n }\n function mountState(initialState) {\n var hook \x3d mountWorkInProgressHook();\n \x22function\x22 \x3d\x3d\x3d typeof initialState \x26\x26 (initialState \x3d initialState());\n hook.memoizedState \x3d hook.baseState \x3d initialState;\n initialState \x3d {pending:null, interleaved:null, lanes:0, dispatch:null, lastRenderedReducer:basicStateReducer, lastRenderedState:initialState};\n hook.queue \x3d initialState;\n initialState \x3d initialState.dispatch \x3d dispatchSetState.bind(null, currentlyRenderingFiber$1, initialState);\n return [hook.memoizedState, initialState];\n }\n function pushEffect(tag, create, destroy, deps) {\n tag \x3d {tag, create, destroy, deps, next:null};\n create \x3d currentlyRenderingFiber$1.updateQueue;\n null \x3d\x3d\x3d create ? (create \x3d {lastEffect:null, stores:null}, currentlyRenderingFiber$1.updateQueue \x3d create, create.lastEffect \x3d tag.next \x3d tag) : (destroy \x3d create.lastEffect, null \x3d\x3d\x3d destroy ? create.lastEffect \x3d tag.next \x3d tag : (deps \x3d destroy.next, destroy.next \x3d tag, tag.next \x3d deps, create.lastEffect \x3d tag));\n return tag;\n }\n function mountRef(initialValue) {\n var hook \x3d mountWorkInProgressHook();\n initialValue \x3d {current:initialValue};\n return hook.memoizedState \x3d initialValue;\n }\n function mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook \x3d mountWorkInProgressHook();\n currentlyRenderingFiber$1.flags |\x3d fiberFlags;\n hook.memoizedState \x3d pushEffect(HasEffect | hookFlags, create, void 0, void 0 \x3d\x3d\x3d deps ? null : deps);\n }\n function updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook \x3d updateWorkInProgressHook();\n deps \x3d void 0 \x3d\x3d\x3d deps ? null : deps;\n var destroy \x3d void 0;\n if (null !\x3d\x3d currentHook) {\n var prevEffect \x3d currentHook.memoizedState;\n destroy \x3d prevEffect.destroy;\n if (null !\x3d\x3d deps \x26\x26 areHookInputsEqual(deps, prevEffect.deps)) {\n hook.memoizedState \x3d pushEffect(hookFlags, create, destroy, deps);\n return;\n }\n }\n currentlyRenderingFiber$1.flags |\x3d fiberFlags;\n hook.memoizedState \x3d pushEffect(HasEffect | hookFlags, create, destroy, deps);\n }\n function mountEffect(create, deps) {\n return 0 !\x3d\x3d (currentlyRenderingFiber$1.mode \x26 16) ? mountEffectImpl(41945088, Passive$1, create, deps) : mountEffectImpl(8390656, Passive$1, create, deps);\n }\n function mountLayoutEffect(create, deps) {\n var fiberFlags \x3d 4194308;\n 0 !\x3d\x3d (currentlyRenderingFiber$1.mode \x26 16) \x26\x26 (fiberFlags |\x3d 16777216);\n return mountEffectImpl(fiberFlags, Layout, create, deps);\n }\n function imperativeHandleEffect(create, ref) {\n if (\x22function\x22 \x3d\x3d\x3d typeof ref) {\n return create \x3d create(), ref(create), function() {\n ref(null);\n };\n }\n if (null !\x3d\x3d ref \x26\x26 void 0 !\x3d\x3d ref) {\n return ref.hasOwnProperty(\x22current\x22) || error(\x22Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.\x22, \x22an object with keys {\x22 + Object.keys(ref).join(\x22, \x22) + \x22}\x22), create \x3d create(), ref.current \x3d create, function() {\n ref.current \x3d null;\n };\n }\n }\n function mountImperativeHandle(ref, create, deps) {\n \x22function\x22 !\x3d\x3d typeof create \x26\x26 error(\x22Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.\x22, null !\x3d\x3d create ? typeof create : \x22null\x22);\n deps \x3d null !\x3d\x3d deps \x26\x26 void 0 !\x3d\x3d deps ? deps.concat([ref]) : null;\n var fiberFlags \x3d 4194308;\n 0 !\x3d\x3d (currentlyRenderingFiber$1.mode \x26 16) \x26\x26 (fiberFlags |\x3d 16777216);\n return mountEffectImpl(fiberFlags, Layout, imperativeHandleEffect.bind(null, create, ref), deps);\n }\n function updateImperativeHandle(ref, create, deps) {\n \x22function\x22 !\x3d\x3d typeof create \x26\x26 error(\x22Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.\x22, null !\x3d\x3d create ? typeof create : \x22null\x22);\n deps \x3d null !\x3d\x3d deps \x26\x26 void 0 !\x3d\x3d deps ? deps.concat([ref]) : null;\n return updateEffectImpl(4, Layout, imperativeHandleEffect.bind(null, create, ref), deps);\n }\n function mountCallback(callback, deps) {\n mountWorkInProgressHook().memoizedState \x3d [callback, void 0 \x3d\x3d\x3d deps ? null : deps];\n return callback;\n }\n function updateCallback(callback, deps) {\n var hook \x3d updateWorkInProgressHook();\n deps \x3d void 0 \x3d\x3d\x3d deps ? null : deps;\n var prevState \x3d hook.memoizedState;\n if (null !\x3d\x3d prevState \x26\x26 null !\x3d\x3d deps \x26\x26 areHookInputsEqual(deps, prevState[1])) {\n return prevState[0];\n }\n hook.memoizedState \x3d [callback, deps];\n return callback;\n }\n function mountMemo(nextCreate, deps) {\n var hook \x3d mountWorkInProgressHook();\n deps \x3d void 0 \x3d\x3d\x3d deps ? null : deps;\n nextCreate \x3d nextCreate();\n hook.memoizedState \x3d [nextCreate, deps];\n return nextCreate;\n }\n function updateMemo(nextCreate, deps) {\n var hook \x3d updateWorkInProgressHook();\n deps \x3d void 0 \x3d\x3d\x3d deps ? null : deps;\n var prevState \x3d hook.memoizedState;\n if (null !\x3d\x3d prevState \x26\x26 null !\x3d\x3d deps \x26\x26 areHookInputsEqual(deps, prevState[1])) {\n return prevState[0];\n }\n nextCreate \x3d nextCreate();\n hook.memoizedState \x3d [nextCreate, deps];\n return nextCreate;\n }\n function mountDeferredValue(value) {\n return mountWorkInProgressHook().memoizedState \x3d value;\n }\n function updateDeferredValue(value) {\n var hook \x3d updateWorkInProgressHook();\n return updateDeferredValueImpl(hook, currentHook.memoizedState, value);\n }\n function rerenderDeferredValue(value) {\n var hook \x3d updateWorkInProgressHook();\n return null \x3d\x3d\x3d currentHook ? hook.memoizedState \x3d value : updateDeferredValueImpl(hook, currentHook.memoizedState, value);\n }\n function updateDeferredValueImpl(hook, prevValue, value) {\n if (0 \x3d\x3d\x3d (renderLanes \x26 (SyncLane | InputContinuousLane | DefaultLane))) {\n return hook.baseState \x26\x26 (hook.baseState \x3d !1, didReceiveUpdate \x3d !0), hook.memoizedState \x3d value;\n }\n objectIs(value, prevValue) || (value \x3d claimNextTransitionLane(), currentlyRenderingFiber$1.lanes |\x3d value, workInProgressRootSkippedLanes |\x3d value, hook.baseState \x3d !0);\n return prevValue;\n }\n function startTransition(setPending, callback, options) {\n options \x3d currentUpdatePriority;\n currentUpdatePriority \x3d 0 !\x3d\x3d options \x26\x26 options \x3c ContinuousEventPriority ? options : ContinuousEventPriority;\n setPending(!0);\n var prevTransition \x3d ReactCurrentBatchConfig$2.transition;\n ReactCurrentBatchConfig$2.transition \x3d {};\n var currentTransition \x3d ReactCurrentBatchConfig$2.transition;\n ReactCurrentBatchConfig$2.transition._updatedFibers \x3d new Set();\n try {\n setPending(!1), callback();\n } finally {\n currentUpdatePriority \x3d options, ReactCurrentBatchConfig$2.transition \x3d prevTransition, null \x3d\x3d\x3d prevTransition \x26\x26 currentTransition._updatedFibers \x26\x26 (10 \x3c currentTransition._updatedFibers.size \x26\x26 warn(\x22Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\x22), currentTransition._updatedFibers.clear());\n }\n }\n function mountTransition() {\n var _mountState \x3d mountState(!1), isPending \x3d _mountState[0];\n _mountState \x3d startTransition.bind(null, _mountState[1]);\n mountWorkInProgressHook().memoizedState \x3d _mountState;\n return [isPending, _mountState];\n }\n function updateTransition() {\n var isPending \x3d updateReducer(basicStateReducer)[0], start \x3d updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n }\n function rerenderTransition() {\n var isPending \x3d rerenderReducer(basicStateReducer)[0], start \x3d updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n }\n function mountId() {\n var hook \x3d mountWorkInProgressHook(), identifierPrefix \x3d workInProgressRoot.identifierPrefix;\n if (isHydrating) {\n var treeId \x3d treeContextOverflow;\n var idWithLeadingBit \x3d treeContextId;\n treeId \x3d (idWithLeadingBit \x26 ~(1 \x3c\x3c 32 - clz32(idWithLeadingBit) - 1)).toString(32) + treeId;\n identifierPrefix \x3d \x22:\x22 + identifierPrefix + \x22R\x22 + treeId;\n treeId \x3d localIdCounter++;\n 0 \x3c treeId \x26\x26 (identifierPrefix +\x3d \x22H\x22 + treeId.toString(32));\n identifierPrefix +\x3d \x22:\x22;\n } else {\n treeId \x3d globalClientIdCounter++, identifierPrefix \x3d \x22:\x22 + identifierPrefix + \x22r\x22 + treeId.toString(32) + \x22:\x22;\n }\n return hook.memoizedState \x3d identifierPrefix;\n }\n function dispatchReducerAction(fiber, queue, action, JSCompiler_OptimizeArgumentsArray_p0) {\n \x22function\x22 \x3d\x3d\x3d typeof JSCompiler_OptimizeArgumentsArray_p0 \x26\x26 error(\x22State updates from the useState() and useReducer() Hooks don\x27t support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().\x22);\n JSCompiler_OptimizeArgumentsArray_p0 \x3d requestUpdateLane(fiber);\n action \x3d {lane:JSCompiler_OptimizeArgumentsArray_p0, action, hasEagerState:!1, eagerState:null, next:null};\n if (isRenderPhaseUpdate(fiber)) {\n enqueueRenderPhaseUpdate(queue, action);\n } else {\n if (action \x3d enqueueConcurrentHookUpdate(fiber, queue, action, JSCompiler_OptimizeArgumentsArray_p0), null !\x3d\x3d action) {\n var eventTime \x3d requestEventTime();\n scheduleUpdateOnFiber(action, fiber, JSCompiler_OptimizeArgumentsArray_p0, eventTime);\n entangleTransitionUpdate(action, queue, JSCompiler_OptimizeArgumentsArray_p0);\n }\n }\n markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);\n }\n function dispatchSetState(fiber, queue, action, JSCompiler_OptimizeArgumentsArray_p1) {\n \x22function\x22 \x3d\x3d\x3d typeof JSCompiler_OptimizeArgumentsArray_p1 \x26\x26 error(\x22State updates from the useState() and useReducer() Hooks don\x27t support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().\x22);\n JSCompiler_OptimizeArgumentsArray_p1 \x3d requestUpdateLane(fiber);\n var update \x3d {lane:JSCompiler_OptimizeArgumentsArray_p1, action, hasEagerState:!1, eagerState:null, next:null};\n if (isRenderPhaseUpdate(fiber)) {\n enqueueRenderPhaseUpdate(queue, update);\n } else {\n var alternate \x3d fiber.alternate;\n if (0 \x3d\x3d\x3d fiber.lanes \x26\x26 (null \x3d\x3d\x3d alternate || 0 \x3d\x3d\x3d alternate.lanes) \x26\x26 (alternate \x3d queue.lastRenderedReducer, null !\x3d\x3d alternate)) {\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n var currentState \x3d queue.lastRenderedState, eagerState \x3d alternate(currentState, action);\n update.hasEagerState \x3d !0;\n update.eagerState \x3d eagerState;\n if (objectIs(eagerState, currentState)) {\n var interleaved \x3d queue.interleaved;\n null \x3d\x3d\x3d interleaved ? (update.next \x3d update, pushConcurrentUpdateQueue(queue)) : (update.next \x3d interleaved.next, interleaved.next \x3d update);\n queue.interleaved \x3d update;\n return;\n }\n } catch (error) {\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }\n action \x3d enqueueConcurrentHookUpdate(fiber, queue, update, JSCompiler_OptimizeArgumentsArray_p1);\n null !\x3d\x3d action \x26\x26 (currentState \x3d requestEventTime(), scheduleUpdateOnFiber(action, fiber, JSCompiler_OptimizeArgumentsArray_p1, currentState), entangleTransitionUpdate(action, queue, JSCompiler_OptimizeArgumentsArray_p1));\n }\n markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);\n }\n function isRenderPhaseUpdate(fiber) {\n var alternate \x3d fiber.alternate;\n return fiber \x3d\x3d\x3d currentlyRenderingFiber$1 || null !\x3d\x3d alternate \x26\x26 alternate \x3d\x3d\x3d currentlyRenderingFiber$1;\n }\n function enqueueRenderPhaseUpdate(queue, update) {\n didScheduleRenderPhaseUpdateDuringThisPass \x3d didScheduleRenderPhaseUpdate \x3d !0;\n var pending \x3d queue.pending;\n null \x3d\x3d\x3d pending ? update.next \x3d update : (update.next \x3d pending.next, pending.next \x3d update);\n queue.pending \x3d update;\n }\n function entangleTransitionUpdate(root, queue, lane) {\n if (0 !\x3d\x3d (lane \x26 TransitionLanes)) {\n var queueLanes \x3d queue.lanes;\n queueLanes \x26\x3d root.pendingLanes;\n lane |\x3d queueLanes;\n queue.lanes \x3d lane;\n markRootEntangled(root, lane);\n }\n }\n function startProfilerTimer(fiber) {\n profilerStartTime \x3d now$1();\n 0 \x3e fiber.actualStartTime \x26\x26 (fiber.actualStartTime \x3d now$1());\n }\n function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {\n if (0 \x3c\x3d profilerStartTime) {\n var elapsedTime \x3d now$1() - profilerStartTime;\n fiber.actualDuration +\x3d elapsedTime;\n overrideBaseTime \x26\x26 (fiber.selfBaseDuration \x3d elapsedTime);\n profilerStartTime \x3d -1;\n }\n }\n function recordLayoutEffectDuration(fiber) {\n if (0 \x3c\x3d layoutEffectStartTime) {\n var elapsedTime \x3d now$1() - layoutEffectStartTime;\n layoutEffectStartTime \x3d -1;\n for (fiber \x3d fiber.return; null !\x3d\x3d fiber;) {\n switch(fiber.tag) {\n case 3:\n fiber.stateNode.effectDuration +\x3d elapsedTime;\n return;\n case 12:\n fiber.stateNode.effectDuration +\x3d elapsedTime;\n return;\n }\n fiber \x3d fiber.return;\n }\n }\n }\n function recordPassiveEffectDuration(fiber) {\n if (0 \x3c\x3d passiveEffectStartTime) {\n var elapsedTime \x3d now$1() - passiveEffectStartTime;\n passiveEffectStartTime \x3d -1;\n for (fiber \x3d fiber.return; null !\x3d\x3d fiber;) {\n switch(fiber.tag) {\n case 3:\n fiber \x3d fiber.stateNode;\n null !\x3d\x3d fiber \x26\x26 (fiber.passiveEffectDuration +\x3d elapsedTime);\n return;\n case 12:\n fiber \x3d fiber.stateNode;\n null !\x3d\x3d fiber \x26\x26 (fiber.passiveEffectDuration +\x3d elapsedTime);\n return;\n }\n fiber \x3d fiber.return;\n }\n }\n }\n function startLayoutEffectTimer() {\n layoutEffectStartTime \x3d now$1();\n }\n function transferActualDuration(fiber) {\n for (var child \x3d fiber.child; child;) {\n fiber.actualDuration +\x3d child.actualDuration, child \x3d child.sibling;\n }\n }\n function createCapturedValueAtFiber(value, source) {\n return {value, source, stack:getStackByFiberInDevAndProd(source), digest:null};\n }\n function createCapturedValue(value, digest, stack) {\n return {value, source:null, stack:null !\x3d stack ? stack : null, digest:null !\x3d digest ? digest : null};\n }\n function logCapturedError(boundary, errorInfo) {\n try {\n var error \x3d errorInfo.value, source \x3d errorInfo.source, stack \x3d errorInfo.stack;\n errorInfo \x3d null !\x3d\x3d stack ? stack : \x22\x22;\n if (null !\x3d error \x26\x26 error._suppressLogging) {\n if (1 \x3d\x3d\x3d boundary.tag) {\n return;\n }\n console.error(error);\n }\n var componentName \x3d source ? getComponentNameFromFiber(source) : null;\n error \x3d componentName ? \x22The above error occurred in the \\x3c\x22 + componentName + \x22\\x3e component:\x22 : \x22The above error occurred in one of your React components:\x22;\n var errorBoundaryMessage \x3d 3 \x3d\x3d\x3d boundary.tag ? \x22Consider adding an error boundary to your tree to customize error handling behavior.\\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.\x22 : \x22React will try to recreate this component tree from scratch using the error boundary you provided, \x22 + ((getComponentNameFromFiber(boundary) || \x22Anonymous\x22) + \x22.\x22);\n console.error(error + \x22\\n\x22 + errorInfo + \x22\\n\\n\x22 + errorBoundaryMessage);\n } catch (e) {\n setTimeout(function() {\n throw e;\n });\n }\n }\n function createRootErrorUpdate(fiber, errorInfo, lane) {\n lane \x3d createUpdate(-1, lane);\n lane.tag \x3d 3;\n lane.payload \x3d {element:null};\n var error \x3d errorInfo.value;\n lane.callback \x3d function() {\n hasUncaughtError || (hasUncaughtError \x3d !0, firstUncaughtError \x3d error);\n logCapturedError(fiber, errorInfo);\n };\n return lane;\n }\n function createClassErrorUpdate(fiber, errorInfo, lane) {\n lane \x3d createUpdate(-1, lane);\n lane.tag \x3d 3;\n var getDerivedStateFromError \x3d fiber.type.getDerivedStateFromError;\n if (\x22function\x22 \x3d\x3d\x3d typeof getDerivedStateFromError) {\n var error$1 \x3d errorInfo.value;\n lane.payload \x3d function() {\n return getDerivedStateFromError(error$1);\n };\n lane.callback \x3d function() {\n markFailedErrorBoundaryForHotReloading(fiber);\n logCapturedError(fiber, errorInfo);\n };\n }\n var inst \x3d fiber.stateNode;\n null !\x3d\x3d inst \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof inst.componentDidCatch \x26\x26 (lane.callback \x3d function() {\n markFailedErrorBoundaryForHotReloading(fiber);\n logCapturedError(fiber, errorInfo);\n \x22function\x22 !\x3d\x3d typeof getDerivedStateFromError \x26\x26 (null \x3d\x3d\x3d legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed \x3d new Set([this]) : legacyErrorBoundariesThatAlreadyFailed.add(this));\n var stack \x3d errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {componentStack:null !\x3d\x3d stack ? stack : \x22\x22});\n \x22function\x22 !\x3d\x3d typeof getDerivedStateFromError \x26\x26 0 \x3d\x3d\x3d (fiber.lanes \x26 SyncLane) \x26\x26 error(\x22%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.\x22, getComponentNameFromFiber(fiber) || \x22Unknown\x22);\n });\n return lane;\n }\n function attachPingListener(root, wakeable, lanes) {\n var pingCache \x3d root.pingCache;\n if (null \x3d\x3d\x3d pingCache) {\n pingCache \x3d root.pingCache \x3d new PossiblyWeakMap$1();\n var threadIDs \x3d new Set();\n pingCache.set(wakeable, threadIDs);\n } else {\n threadIDs \x3d pingCache.get(wakeable), void 0 \x3d\x3d\x3d threadIDs \x26\x26 (threadIDs \x3d new Set(), pingCache.set(wakeable, threadIDs));\n }\n threadIDs.has(lanes) || (threadIDs.add(lanes), pingCache \x3d pingSuspendedRoot.bind(null, root, wakeable, lanes), isDevToolsPresent \x26\x26 restorePendingUpdaters(root, lanes), wakeable.then(pingCache, pingCache));\n }\n function getNearestSuspenseBoundaryToCapture(returnFiber) {\n do {\n var JSCompiler_temp;\n if (JSCompiler_temp \x3d 13 \x3d\x3d\x3d returnFiber.tag) {\n JSCompiler_temp \x3d returnFiber.memoizedState, JSCompiler_temp \x3d null !\x3d\x3d JSCompiler_temp ? null !\x3d\x3d JSCompiler_temp.dehydrated ? !0 : !1 : !0;\n }\n if (JSCompiler_temp) {\n return returnFiber;\n }\n returnFiber \x3d returnFiber.return;\n } while (null !\x3d\x3d returnFiber);\n return null;\n }\n function markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root, rootRenderLanes) {\n if (0 \x3d\x3d\x3d (suspenseBoundary.mode \x26 1)) {\n return suspenseBoundary \x3d\x3d\x3d returnFiber ? suspenseBoundary.flags |\x3d 65536 : (suspenseBoundary.flags |\x3d 128, sourceFiber.flags |\x3d 131072, sourceFiber.flags \x26\x3d -52805, 1 \x3d\x3d\x3d sourceFiber.tag \x26\x26 (null \x3d\x3d\x3d sourceFiber.alternate ? sourceFiber.tag \x3d 17 : (returnFiber \x3d createUpdate(-1, SyncLane), returnFiber.tag \x3d ForceUpdate, enqueueUpdate(sourceFiber, returnFiber, SyncLane))), sourceFiber.lanes |\x3d SyncLane), suspenseBoundary;\n }\n suspenseBoundary.flags |\x3d 65536;\n suspenseBoundary.lanes \x3d rootRenderLanes;\n return suspenseBoundary;\n }\n function reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n workInProgress.child \x3d null \x3d\x3d\x3d current ? mountChildFibers(workInProgress, null, nextChildren, renderLanes) : reconcileChildFibers(workInProgress, current.child, nextChildren, renderLanes);\n }\n function updateForwardRef(current, workInProgress, Component, nextProps, renderLanes) {\n if (workInProgress.type !\x3d\x3d workInProgress.elementType) {\n var innerPropTypes \x3d Component.propTypes;\n innerPropTypes \x26\x26 checkPropTypes(innerPropTypes, nextProps, \x22prop\x22, getComponentNameFromType(Component));\n }\n Component \x3d Component.render;\n innerPropTypes \x3d workInProgress.ref;\n prepareToReadContext(workInProgress, renderLanes);\n markComponentRenderStarted(workInProgress);\n ReactCurrentOwner$1.current \x3d workInProgress;\n isRendering \x3d !0;\n var nextChildren \x3d renderWithHooks(current, workInProgress, Component, nextProps, innerPropTypes, renderLanes);\n var hasId \x3d checkDidRenderIdHook();\n if (workInProgress.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n nextChildren \x3d renderWithHooks(current, workInProgress, Component, nextProps, innerPropTypes, renderLanes), hasId \x3d checkDidRenderIdHook();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isRendering \x3d !1;\n markComponentRenderStopped();\n if (null !\x3d\x3d current \x26\x26 !didReceiveUpdate) {\n return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n isHydrating \x26\x26 hasId \x26\x26 pushMaterializedTreeId(workInProgress);\n workInProgress.flags |\x3d 1;\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n }\n function updateMemoComponent(current, workInProgress, Component, nextProps, renderLanes) {\n if (null \x3d\x3d\x3d current) {\n var type \x3d Component.type;\n if (\x22function\x22 \x3d\x3d\x3d typeof type \x26\x26 !shouldConstruct$1(type) \x26\x26 void 0 \x3d\x3d\x3d type.defaultProps \x26\x26 null \x3d\x3d\x3d Component.compare \x26\x26 void 0 \x3d\x3d\x3d Component.defaultProps) {\n return Component \x3d resolveFunctionForHotReloading(type), workInProgress.tag \x3d 15, workInProgress.type \x3d Component, validateFunctionComponentInDev(workInProgress, type), updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes);\n }\n (current \x3d type.propTypes) \x26\x26 checkPropTypes(current, nextProps, \x22prop\x22, getComponentNameFromType(type));\n nextProps \x3d createFiberFromTypeAndProps(Component.type, null, nextProps, workInProgress, workInProgress.mode, renderLanes);\n nextProps.ref \x3d workInProgress.ref;\n nextProps.return \x3d workInProgress;\n return workInProgress.child \x3d nextProps;\n }\n type \x3d Component.type;\n var _innerPropTypes \x3d type.propTypes;\n _innerPropTypes \x26\x26 checkPropTypes(_innerPropTypes, nextProps, \x22prop\x22, getComponentNameFromType(type));\n type \x3d current.child;\n if (0 \x3d\x3d\x3d (current.lanes \x26 renderLanes) \x26\x26 (_innerPropTypes \x3d type.memoizedProps, Component \x3d Component.compare, Component \x3d null !\x3d\x3d Component ? Component : shallowEqual, Component(_innerPropTypes, nextProps) \x26\x26 current.ref \x3d\x3d\x3d workInProgress.ref)) {\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n workInProgress.flags |\x3d 1;\n nextProps \x3d createWorkInProgress(type, nextProps);\n nextProps.ref \x3d workInProgress.ref;\n nextProps.return \x3d workInProgress;\n return workInProgress.child \x3d nextProps;\n }\n function updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes) {\n if (workInProgress.type !\x3d\x3d workInProgress.elementType) {\n var outerMemoType \x3d workInProgress.elementType;\n if (outerMemoType.$$typeof \x3d\x3d\x3d REACT_LAZY_TYPE) {\n var lazyComponent \x3d outerMemoType, payload \x3d lazyComponent._payload;\n lazyComponent \x3d lazyComponent._init;\n try {\n outerMemoType \x3d lazyComponent(payload);\n } catch (x) {\n outerMemoType \x3d null;\n }\n (payload \x3d outerMemoType \x26\x26 outerMemoType.propTypes) \x26\x26 checkPropTypes(payload, nextProps, \x22prop\x22, getComponentNameFromType(outerMemoType));\n }\n }\n if (null !\x3d\x3d current \x26\x26 (outerMemoType \x3d current.memoizedProps, shallowEqual(outerMemoType, nextProps) \x26\x26 current.ref \x3d\x3d\x3d workInProgress.ref \x26\x26 workInProgress.type \x3d\x3d\x3d current.type)) {\n if (didReceiveUpdate \x3d !1, workInProgress.pendingProps \x3d nextProps \x3d outerMemoType, 0 !\x3d\x3d (current.lanes \x26 renderLanes)) {\n 0 !\x3d\x3d (current.flags \x26 131072) \x26\x26 (didReceiveUpdate \x3d !0);\n } else {\n return workInProgress.lanes \x3d current.lanes, bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n }\n return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);\n }\n function updateOffscreenComponent(current, workInProgress, renderLanes) {\n var nextProps \x3d workInProgress.pendingProps, nextChildren \x3d nextProps.children, prevState \x3d null !\x3d\x3d current ? current.memoizedState : null;\n if (\x22hidden\x22 \x3d\x3d\x3d nextProps.mode) {\n if (0 \x3d\x3d\x3d (workInProgress.mode \x26 1)) {\n workInProgress.memoizedState \x3d {baseLanes:0, cachePool:null, transitions:null}, pushRenderLanes(workInProgress, renderLanes);\n } else {\n if (0 \x3d\x3d\x3d (renderLanes \x26 OffscreenLane)) {\n return current \x3d null !\x3d\x3d prevState ? prevState.baseLanes | renderLanes : renderLanes, workInProgress.lanes \x3d workInProgress.childLanes \x3d OffscreenLane, workInProgress.memoizedState \x3d {baseLanes:current, cachePool:null, transitions:null}, workInProgress.updateQueue \x3d null, pushRenderLanes(workInProgress, current), null;\n }\n workInProgress.memoizedState \x3d {baseLanes:0, cachePool:null, transitions:null};\n pushRenderLanes(workInProgress, null !\x3d\x3d prevState ? prevState.baseLanes : renderLanes);\n }\n } else {\n null !\x3d\x3d prevState ? (nextProps \x3d prevState.baseLanes | renderLanes, workInProgress.memoizedState \x3d null) : nextProps \x3d renderLanes, pushRenderLanes(workInProgress, nextProps);\n }\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n }\n function markRef(current, workInProgress) {\n var ref \x3d workInProgress.ref;\n if (null \x3d\x3d\x3d current \x26\x26 null !\x3d\x3d ref || null !\x3d\x3d current \x26\x26 current.ref !\x3d\x3d ref) {\n workInProgress.flags |\x3d 512, workInProgress.flags |\x3d 2097152;\n }\n }\n function updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes) {\n if (workInProgress.type !\x3d\x3d workInProgress.elementType) {\n var innerPropTypes \x3d Component.propTypes;\n innerPropTypes \x26\x26 checkPropTypes(innerPropTypes, nextProps, \x22prop\x22, getComponentNameFromType(Component));\n }\n innerPropTypes \x3d isContextProvider(Component) ? previousContext : contextStackCursor.current;\n innerPropTypes \x3d getMaskedContext(workInProgress, innerPropTypes);\n prepareToReadContext(workInProgress, renderLanes);\n markComponentRenderStarted(workInProgress);\n ReactCurrentOwner$1.current \x3d workInProgress;\n isRendering \x3d !0;\n var nextChildren \x3d renderWithHooks(current, workInProgress, Component, nextProps, innerPropTypes, renderLanes);\n var hasId \x3d checkDidRenderIdHook();\n if (workInProgress.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n nextChildren \x3d renderWithHooks(current, workInProgress, Component, nextProps, innerPropTypes, renderLanes), hasId \x3d checkDidRenderIdHook();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isRendering \x3d !1;\n markComponentRenderStopped();\n if (null !\x3d\x3d current \x26\x26 !didReceiveUpdate) {\n return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n isHydrating \x26\x26 hasId \x26\x26 pushMaterializedTreeId(workInProgress);\n workInProgress.flags |\x3d 1;\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n }\n function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {\n switch(shouldErrorImpl(workInProgress)) {\n case !1:\n var _instance \x3d workInProgress.stateNode, state \x3d (new workInProgress.type(workInProgress.memoizedProps, _instance.context)).state;\n _instance.updater.enqueueSetState(_instance, state, null);\n break;\n case !0:\n workInProgress.flags |\x3d 128, workInProgress.flags |\x3d 65536, _instance \x3d Error(\x22Simulated error coming from DevTools\x22), state \x3d renderLanes \x26 -renderLanes, workInProgress.lanes |\x3d state, _instance \x3d createClassErrorUpdate(workInProgress, createCapturedValueAtFiber(_instance, workInProgress), state), enqueueCapturedUpdate(workInProgress, _instance);\n }\n workInProgress.type !\x3d\x3d workInProgress.elementType \x26\x26 (_instance \x3d Component.propTypes) \x26\x26 checkPropTypes(_instance, nextProps, \x22prop\x22, getComponentNameFromType(Component));\n isContextProvider(Component) ? (_instance \x3d !0, pushContextProvider(workInProgress)) : _instance \x3d !1;\n prepareToReadContext(workInProgress, renderLanes);\n if (null \x3d\x3d\x3d workInProgress.stateNode) {\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), constructClassInstance(workInProgress, Component, nextProps), mountClassInstance(workInProgress, Component, nextProps, renderLanes), state \x3d !0;\n } else if (null \x3d\x3d\x3d current) {\n state \x3d workInProgress.stateNode;\n var oldProps \x3d workInProgress.memoizedProps;\n state.props \x3d oldProps;\n var oldContext \x3d state.context, contextType \x3d Component.contextType;\n \x22object\x22 \x3d\x3d\x3d typeof contextType \x26\x26 null !\x3d\x3d contextType ? contextType \x3d readContext(contextType) : (contextType \x3d isContextProvider(Component) ? previousContext : contextStackCursor.current, contextType \x3d getMaskedContext(workInProgress, contextType));\n var getDerivedStateFromProps \x3d Component.getDerivedStateFromProps, hasNewLifecycles \x3d \x22function\x22 \x3d\x3d\x3d typeof getDerivedStateFromProps || \x22function\x22 \x3d\x3d\x3d typeof state.getSnapshotBeforeUpdate;\n hasNewLifecycles || \x22function\x22 !\x3d\x3d typeof state.UNSAFE_componentWillReceiveProps \x26\x26 \x22function\x22 !\x3d\x3d typeof state.componentWillReceiveProps || (oldProps !\x3d\x3d nextProps || oldContext !\x3d\x3d contextType) \x26\x26 callComponentWillReceiveProps(workInProgress, state, nextProps, contextType);\n hasForceUpdate \x3d !1;\n var oldState \x3d workInProgress.memoizedState;\n state.state \x3d oldState;\n processUpdateQueue(workInProgress, nextProps, state, renderLanes);\n oldContext \x3d workInProgress.memoizedState;\n oldProps !\x3d\x3d nextProps || oldState !\x3d\x3d oldContext || didPerformWorkStackCursor.current || hasForceUpdate ? (\x22function\x22 \x3d\x3d\x3d typeof getDerivedStateFromProps \x26\x26 (applyDerivedStateFromProps(workInProgress, Component, getDerivedStateFromProps, nextProps), oldContext \x3d workInProgress.memoizedState), (oldProps \x3d hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, oldProps, nextProps, oldState, oldContext, contextType)) ? (hasNewLifecycles || \x22function\x22 !\x3d\x3d typeof state.UNSAFE_componentWillMount \x26\x26 \n \x22function\x22 !\x3d\x3d typeof state.componentWillMount || (\x22function\x22 \x3d\x3d\x3d typeof state.componentWillMount \x26\x26 state.componentWillMount(), \x22function\x22 \x3d\x3d\x3d typeof state.UNSAFE_componentWillMount \x26\x26 state.UNSAFE_componentWillMount()), \x22function\x22 \x3d\x3d\x3d typeof state.componentDidMount \x26\x26 (hasNewLifecycles \x3d 4194308, 0 !\x3d\x3d (workInProgress.mode \x26 16) \x26\x26 (hasNewLifecycles |\x3d 16777216), workInProgress.flags |\x3d hasNewLifecycles)) : (\x22function\x22 \x3d\x3d\x3d typeof state.componentDidMount \x26\x26 (hasNewLifecycles \x3d 4194308, 0 !\x3d\x3d \n (workInProgress.mode \x26 16) \x26\x26 (hasNewLifecycles |\x3d 16777216), workInProgress.flags |\x3d hasNewLifecycles), workInProgress.memoizedProps \x3d nextProps, workInProgress.memoizedState \x3d oldContext), state.props \x3d nextProps, state.state \x3d oldContext, state.context \x3d contextType, state \x3d oldProps) : (\x22function\x22 \x3d\x3d\x3d typeof state.componentDidMount \x26\x26 (state \x3d 4194308, 0 !\x3d\x3d (workInProgress.mode \x26 16) \x26\x26 (state |\x3d 16777216), workInProgress.flags |\x3d state), state \x3d !1);\n } else {\n state \x3d workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n contextType \x3d workInProgress.memoizedProps;\n oldProps \x3d workInProgress.type \x3d\x3d\x3d workInProgress.elementType ? contextType : resolveDefaultProps(workInProgress.type, contextType);\n state.props \x3d oldProps;\n oldContext \x3d workInProgress.pendingProps;\n oldState \x3d state.context;\n hasNewLifecycles \x3d Component.contextType;\n \x22object\x22 \x3d\x3d\x3d typeof hasNewLifecycles \x26\x26 null !\x3d\x3d hasNewLifecycles ? hasNewLifecycles \x3d readContext(hasNewLifecycles) : (hasNewLifecycles \x3d isContextProvider(Component) ? previousContext : contextStackCursor.current, hasNewLifecycles \x3d getMaskedContext(workInProgress, hasNewLifecycles));\n var getDerivedStateFromProps$jscomp$0 \x3d Component.getDerivedStateFromProps;\n (getDerivedStateFromProps \x3d \x22function\x22 \x3d\x3d\x3d typeof getDerivedStateFromProps$jscomp$0 || \x22function\x22 \x3d\x3d\x3d typeof state.getSnapshotBeforeUpdate) || \x22function\x22 !\x3d\x3d typeof state.UNSAFE_componentWillReceiveProps \x26\x26 \x22function\x22 !\x3d\x3d typeof state.componentWillReceiveProps || (contextType !\x3d\x3d oldContext || oldState !\x3d\x3d hasNewLifecycles) \x26\x26 callComponentWillReceiveProps(workInProgress, state, nextProps, hasNewLifecycles);\n hasForceUpdate \x3d !1;\n oldState \x3d workInProgress.memoizedState;\n state.state \x3d oldState;\n processUpdateQueue(workInProgress, nextProps, state, renderLanes);\n var newState \x3d workInProgress.memoizedState;\n contextType !\x3d\x3d oldContext || oldState !\x3d\x3d newState || didPerformWorkStackCursor.current || hasForceUpdate ? (\x22function\x22 \x3d\x3d\x3d typeof getDerivedStateFromProps$jscomp$0 \x26\x26 (applyDerivedStateFromProps(workInProgress, Component, getDerivedStateFromProps$jscomp$0, nextProps), newState \x3d workInProgress.memoizedState), (oldProps \x3d hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, oldProps, nextProps, oldState, newState, hasNewLifecycles) || !1) ? (getDerivedStateFromProps || \n \x22function\x22 !\x3d\x3d typeof state.UNSAFE_componentWillUpdate \x26\x26 \x22function\x22 !\x3d\x3d typeof state.componentWillUpdate || (\x22function\x22 \x3d\x3d\x3d typeof state.componentWillUpdate \x26\x26 state.componentWillUpdate(nextProps, newState, hasNewLifecycles), \x22function\x22 \x3d\x3d\x3d typeof state.UNSAFE_componentWillUpdate \x26\x26 state.UNSAFE_componentWillUpdate(nextProps, newState, hasNewLifecycles)), \x22function\x22 \x3d\x3d\x3d typeof state.componentDidUpdate \x26\x26 (workInProgress.flags |\x3d 4), \x22function\x22 \x3d\x3d\x3d typeof state.getSnapshotBeforeUpdate \x26\x26 \n (workInProgress.flags |\x3d 1024)) : (\x22function\x22 !\x3d\x3d typeof state.componentDidUpdate || contextType \x3d\x3d\x3d current.memoizedProps \x26\x26 oldState \x3d\x3d\x3d current.memoizedState || (workInProgress.flags |\x3d 4), \x22function\x22 !\x3d\x3d typeof state.getSnapshotBeforeUpdate || contextType \x3d\x3d\x3d current.memoizedProps \x26\x26 oldState \x3d\x3d\x3d current.memoizedState || (workInProgress.flags |\x3d 1024), workInProgress.memoizedProps \x3d nextProps, workInProgress.memoizedState \x3d newState), state.props \x3d nextProps, state.state \x3d newState, state.context \x3d \n hasNewLifecycles, state \x3d oldProps) : (\x22function\x22 !\x3d\x3d typeof state.componentDidUpdate || contextType \x3d\x3d\x3d current.memoizedProps \x26\x26 oldState \x3d\x3d\x3d current.memoizedState || (workInProgress.flags |\x3d 4), \x22function\x22 !\x3d\x3d typeof state.getSnapshotBeforeUpdate || contextType \x3d\x3d\x3d current.memoizedProps \x26\x26 oldState \x3d\x3d\x3d current.memoizedState || (workInProgress.flags |\x3d 1024), state \x3d !1);\n }\n current \x3d finishClassComponent(current, workInProgress, Component, state, _instance, renderLanes);\n Component \x3d workInProgress.stateNode;\n state \x26\x26 Component.props !\x3d\x3d nextProps \x26\x26 (didWarnAboutReassigningProps || error(\x22It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.\x22, getComponentNameFromFiber(workInProgress) || \x22a component\x22), didWarnAboutReassigningProps \x3d !0);\n return current;\n }\n function finishClassComponent(current, workInProgress, Component, shouldUpdate, hasContext, renderLanes) {\n markRef(current, workInProgress);\n var didCaptureError \x3d 0 !\x3d\x3d (workInProgress.flags \x26 128);\n if (!shouldUpdate \x26\x26 !didCaptureError) {\n return hasContext \x26\x26 invalidateContextProvider(workInProgress, Component, !1), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n shouldUpdate \x3d workInProgress.stateNode;\n ReactCurrentOwner$1.current \x3d workInProgress;\n if (didCaptureError \x26\x26 \x22function\x22 !\x3d\x3d typeof Component.getDerivedStateFromError) {\n var nextChildren \x3d null;\n profilerStartTime \x3d -1;\n } else {\n markComponentRenderStarted(workInProgress);\n isRendering \x3d !0;\n nextChildren \x3d shouldUpdate.render();\n if (workInProgress.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n shouldUpdate.render();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isRendering \x3d !1;\n markComponentRenderStopped();\n }\n workInProgress.flags |\x3d 1;\n null !\x3d\x3d current \x26\x26 didCaptureError ? (didCaptureError \x3d nextChildren, workInProgress.child \x3d reconcileChildFibers(workInProgress, current.child, null, renderLanes), workInProgress.child \x3d reconcileChildFibers(workInProgress, null, didCaptureError, renderLanes)) : reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n workInProgress.memoizedState \x3d shouldUpdate.state;\n hasContext \x26\x26 invalidateContextProvider(workInProgress, Component, !0);\n return workInProgress.child;\n }\n function pushHostRootContext(workInProgress) {\n var root \x3d workInProgress.stateNode;\n root.pendingContext ? pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !\x3d\x3d root.context) : root.context \x26\x26 pushTopLevelContextObject(workInProgress, root.context, !1);\n pushHostContainer(workInProgress, root.containerInfo);\n }\n function mountHostRootWithoutHydrating(current, workInProgress, nextChildren, renderLanes, recoverableError) {\n resetHydrationState();\n queueHydrationError(recoverableError);\n workInProgress.flags |\x3d 256;\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n }\n function validateFunctionComponentInDev(workInProgress, Component) {\n Component \x26\x26 Component.childContextTypes \x26\x26 error(\x22%s(...): childContextTypes cannot be defined on a function component.\x22, Component.displayName || Component.name || \x22Component\x22);\n if (null !\x3d\x3d workInProgress.ref) {\n var info \x3d \x22\x22, ownerName \x3d getCurrentFiberOwnerNameInDevOrNull();\n ownerName \x26\x26 (info +\x3d \x22\\n\\nCheck the render method of `\x22 + ownerName + \x22`.\x22);\n ownerName \x3d ownerName || \x22\x22;\n (workInProgress \x3d workInProgress._debugSource) \x26\x26 (ownerName \x3d workInProgress.fileName + \x22:\x22 + workInProgress.lineNumber);\n didWarnAboutFunctionRefs[ownerName] || (didWarnAboutFunctionRefs[ownerName] \x3d !0, error(\x22Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s\x22, info));\n }\n \x22function\x22 \x3d\x3d\x3d typeof Component.getDerivedStateFromProps \x26\x26 (info \x3d getComponentNameFromType(Component) || \x22Unknown\x22, didWarnAboutGetDerivedStateOnFunctionComponent[info] || (error(\x22%s: Function components do not support getDerivedStateFromProps.\x22, info), didWarnAboutGetDerivedStateOnFunctionComponent[info] \x3d !0));\n \x22object\x22 \x3d\x3d\x3d typeof Component.contextType \x26\x26 null !\x3d\x3d Component.contextType \x26\x26 (Component \x3d getComponentNameFromType(Component) || \x22Unknown\x22, didWarnAboutContextTypeOnFunctionComponent[Component] || (error(\x22%s: Function components do not support contextType.\x22, Component), didWarnAboutContextTypeOnFunctionComponent[Component] \x3d !0));\n }\n function mountSuspenseOffscreenState(renderLanes) {\n return {baseLanes:renderLanes, cachePool:null, transitions:null};\n }\n function updateSuspenseComponent(current, workInProgress, renderLanes) {\n var nextProps \x3d workInProgress.pendingProps;\n shouldSuspendImpl(workInProgress) \x26\x26 (workInProgress.flags |\x3d 128);\n var suspenseContext \x3d suspenseStackCursor.current, showFallback \x3d !1, didSuspend \x3d 0 !\x3d\x3d (workInProgress.flags \x26 128), JSCompiler_temp;\n (JSCompiler_temp \x3d didSuspend) || (JSCompiler_temp \x3d null !\x3d\x3d current \x26\x26 null \x3d\x3d\x3d current.memoizedState ? !1 : 0 !\x3d\x3d (suspenseContext \x26 ForceSuspenseFallback));\n if (JSCompiler_temp) {\n showFallback \x3d !0, workInProgress.flags \x26\x3d -129;\n } else {\n if (null \x3d\x3d\x3d current || null !\x3d\x3d current.memoizedState) {\n suspenseContext |\x3d InvisibleParentSuspenseContext;\n }\n }\n suspenseContext \x26\x3d SubtreeSuspenseContextMask;\n push(suspenseStackCursor, suspenseContext, workInProgress);\n if (null \x3d\x3d\x3d current) {\n tryToClaimNextHydratableInstance(workInProgress);\n current \x3d workInProgress.memoizedState;\n if (null !\x3d\x3d current \x26\x26 (current \x3d current.dehydrated, null !\x3d\x3d current)) {\n return 0 \x3d\x3d\x3d (workInProgress.mode \x26 1) ? (error(\x22Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, \\x3cApp /\\x3e).render(element) or remove the Suspense components from the server rendered components.\x22), workInProgress.lanes \x3d SyncLane) : current.data \x3d\x3d\x3d SUSPENSE_FALLBACK_START_DATA ? workInProgress.lanes \x3d DefaultHydrationLane : workInProgress.lanes \x3d OffscreenLane, null;\n }\n didSuspend \x3d nextProps.children;\n current \x3d nextProps.fallback;\n return showFallback ? (nextProps \x3d workInProgress.mode, showFallback \x3d workInProgress.child, didSuspend \x3d {mode:\x22hidden\x22, children:didSuspend}, 0 \x3d\x3d\x3d (nextProps \x26 1) \x26\x26 null !\x3d\x3d showFallback ? (showFallback.childLanes \x3d 0, showFallback.pendingProps \x3d didSuspend, workInProgress.mode \x26 2 \x26\x26 (showFallback.actualDuration \x3d 0, showFallback.actualStartTime \x3d -1, showFallback.selfBaseDuration \x3d 0, showFallback.treeBaseDuration \x3d 0)) : showFallback \x3d createFiberFromOffscreen(didSuspend, nextProps, \n 0, null), current \x3d createFiberFromFragment(current, nextProps, renderLanes, null), showFallback.return \x3d workInProgress, current.return \x3d workInProgress, showFallback.sibling \x3d current, workInProgress.child \x3d showFallback, workInProgress.child.memoizedState \x3d mountSuspenseOffscreenState(renderLanes), workInProgress.memoizedState \x3d SUSPENDED_MARKER, current) : mountSuspensePrimaryChildren(workInProgress, didSuspend);\n }\n suspenseContext \x3d current.memoizedState;\n if (null !\x3d\x3d suspenseContext \x26\x26 (JSCompiler_temp \x3d suspenseContext.dehydrated, null !\x3d\x3d JSCompiler_temp)) {\n return updateDehydratedSuspenseComponent(current, workInProgress, didSuspend, nextProps, JSCompiler_temp, suspenseContext, renderLanes);\n }\n if (showFallback) {\n showFallback \x3d nextProps.fallback;\n didSuspend \x3d workInProgress.mode;\n suspenseContext \x3d current.child;\n JSCompiler_temp \x3d suspenseContext.sibling;\n var primaryChildProps \x3d {mode:\x22hidden\x22, children:nextProps.children};\n 0 \x3d\x3d\x3d (didSuspend \x26 1) \x26\x26 workInProgress.child !\x3d\x3d suspenseContext ? (nextProps \x3d workInProgress.child, nextProps.childLanes \x3d 0, nextProps.pendingProps \x3d primaryChildProps, workInProgress.mode \x26 2 \x26\x26 (nextProps.actualDuration \x3d 0, nextProps.actualStartTime \x3d -1, nextProps.selfBaseDuration \x3d suspenseContext.selfBaseDuration, nextProps.treeBaseDuration \x3d suspenseContext.treeBaseDuration), workInProgress.deletions \x3d null) : (nextProps \x3d createWorkInProgress(suspenseContext, primaryChildProps), \n nextProps.subtreeFlags \x3d suspenseContext.subtreeFlags \x26 14680064);\n null !\x3d\x3d JSCompiler_temp ? showFallback \x3d createWorkInProgress(JSCompiler_temp, showFallback) : (showFallback \x3d createFiberFromFragment(showFallback, didSuspend, renderLanes, null), showFallback.flags |\x3d 2);\n showFallback.return \x3d workInProgress;\n nextProps.return \x3d workInProgress;\n nextProps.sibling \x3d showFallback;\n workInProgress.child \x3d nextProps;\n nextProps \x3d showFallback;\n showFallback \x3d workInProgress.child;\n didSuspend \x3d current.child.memoizedState;\n didSuspend \x3d null \x3d\x3d\x3d didSuspend ? mountSuspenseOffscreenState(renderLanes) : {baseLanes:didSuspend.baseLanes | renderLanes, cachePool:null, transitions:didSuspend.transitions};\n showFallback.memoizedState \x3d didSuspend;\n showFallback.childLanes \x3d current.childLanes \x26 ~renderLanes;\n workInProgress.memoizedState \x3d SUSPENDED_MARKER;\n return nextProps;\n }\n showFallback \x3d current.child;\n current \x3d showFallback.sibling;\n nextProps \x3d createWorkInProgress(showFallback, {mode:\x22visible\x22, children:nextProps.children});\n 0 \x3d\x3d\x3d (workInProgress.mode \x26 1) \x26\x26 (nextProps.lanes \x3d renderLanes);\n nextProps.return \x3d workInProgress;\n nextProps.sibling \x3d null;\n null !\x3d\x3d current \x26\x26 (renderLanes \x3d workInProgress.deletions, null \x3d\x3d\x3d renderLanes ? (workInProgress.deletions \x3d [current], workInProgress.flags |\x3d 16) : renderLanes.push(current));\n workInProgress.child \x3d nextProps;\n workInProgress.memoizedState \x3d null;\n return nextProps;\n }\n function mountSuspensePrimaryChildren(workInProgress, primaryChildren, renderLanes) {\n primaryChildren \x3d createFiberFromOffscreen({mode:\x22visible\x22, children:primaryChildren}, workInProgress.mode, 0, null);\n primaryChildren.return \x3d workInProgress;\n return workInProgress.child \x3d primaryChildren;\n }\n function retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, recoverableError) {\n null !\x3d\x3d recoverableError \x26\x26 queueHydrationError(recoverableError);\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current \x3d mountSuspensePrimaryChildren(workInProgress, workInProgress.pendingProps.children);\n current.flags |\x3d 2;\n workInProgress.memoizedState \x3d null;\n return current;\n }\n function updateDehydratedSuspenseComponent(current, workInProgress, didSuspend, nextProps, suspenseInstance, suspenseState, renderLanes) {\n if (didSuspend) {\n if (workInProgress.flags \x26 256) {\n return workInProgress.flags \x26\x3d -257, nextProps \x3d createCapturedValue(Error(\x22There was an error while hydrating this Suspense boundary. Switched to client rendering.\x22)), retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, nextProps);\n }\n if (null !\x3d\x3d workInProgress.memoizedState) {\n return workInProgress.child \x3d current.child, workInProgress.flags |\x3d 128, null;\n }\n suspenseState \x3d nextProps.fallback;\n var fiberMode \x3d workInProgress.mode;\n nextProps \x3d createFiberFromOffscreen({mode:\x22visible\x22, children:nextProps.children}, fiberMode, 0, null);\n suspenseState \x3d createFiberFromFragment(suspenseState, fiberMode, renderLanes, null);\n suspenseState.flags |\x3d 2;\n nextProps.return \x3d workInProgress;\n suspenseState.return \x3d workInProgress;\n nextProps.sibling \x3d suspenseState;\n workInProgress.child \x3d nextProps;\n 0 !\x3d\x3d (workInProgress.mode \x26 1) \x26\x26 reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n workInProgress.child.memoizedState \x3d mountSuspenseOffscreenState(renderLanes);\n workInProgress.memoizedState \x3d SUSPENDED_MARKER;\n return suspenseState;\n }\n isHydrating \x26\x26 error(\x22We should not be hydrating here. This is a bug in React. Please file a bug.\x22);\n if (0 \x3d\x3d\x3d (workInProgress.mode \x26 1)) {\n return retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, null);\n }\n if (suspenseInstance.data \x3d\x3d\x3d SUSPENSE_FALLBACK_START_DATA) {\n nextProps \x3d suspenseInstance.nextSibling \x26\x26 suspenseInstance.nextSibling.dataset;\n if (nextProps) {\n fiberMode \x3d nextProps.dgst;\n var message \x3d nextProps.msg;\n var stack \x3d nextProps.stck;\n }\n suspenseInstance \x3d message;\n nextProps \x3d fiberMode;\n suspenseState \x3d stack;\n fiberMode \x3d suspenseInstance;\n nextProps \x3d createCapturedValue(fiberMode ? Error(fiberMode) : Error(\x22The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.\x22), nextProps, suspenseState);\n return retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, nextProps);\n }\n fiberMode \x3d 0 !\x3d\x3d (renderLanes \x26 current.childLanes);\n if (didReceiveUpdate || fiberMode) {\n nextProps \x3d workInProgressRoot;\n if (null !\x3d\x3d nextProps) {\n switch(renderLanes \x26 -renderLanes) {\n case InputContinuousLane:\n fiberMode \x3d InputContinuousHydrationLane;\n break;\n case DefaultLane:\n fiberMode \x3d DefaultHydrationLane;\n break;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n fiberMode \x3d TransitionHydrationLane;\n break;\n case IdleLane:\n fiberMode \x3d IdleHydrationLane;\n break;\n default:\n fiberMode \x3d 0;\n }\n fiberMode \x3d 0 !\x3d\x3d (fiberMode \x26 (nextProps.suspendedLanes | renderLanes)) ? 0 : fiberMode;\n 0 !\x3d\x3d fiberMode \x26\x26 fiberMode !\x3d\x3d suspenseState.retryLane \x26\x26 (suspenseState.retryLane \x3d fiberMode, markUpdateLaneFromFiberToRoot(current, fiberMode), scheduleUpdateOnFiber(nextProps, current, fiberMode, -1));\n }\n renderDidSuspendDelayIfPossible();\n nextProps \x3d createCapturedValue(Error(\x22This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.\x22));\n return retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, nextProps);\n }\n if (suspenseInstance.data \x3d\x3d\x3d SUSPENSE_PENDING_START_DATA) {\n return workInProgress.flags |\x3d 128, workInProgress.child \x3d current.child, workInProgress \x3d retryDehydratedSuspenseBoundary.bind(null, current), suspenseInstance._reactRetry \x3d workInProgress, null;\n }\n current \x3d suspenseState.treeContext;\n nextHydratableInstance \x3d getNextHydratable(suspenseInstance.nextSibling);\n hydrationParentFiber \x3d workInProgress;\n isHydrating \x3d !0;\n hydrationErrors \x3d null;\n didSuspendOrErrorDEV \x3d !1;\n null !\x3d\x3d current \x26\x26 (warnIfNotHydrating(), idStack[idStackIndex++] \x3d treeContextId, idStack[idStackIndex++] \x3d treeContextOverflow, idStack[idStackIndex++] \x3d treeContextProvider, treeContextId \x3d current.id, treeContextOverflow \x3d current.overflow, treeContextProvider \x3d workInProgress);\n workInProgress \x3d mountSuspensePrimaryChildren(workInProgress, nextProps.children);\n workInProgress.flags |\x3d 4096;\n return workInProgress;\n }\n function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {\n fiber.lanes |\x3d renderLanes;\n var alternate \x3d fiber.alternate;\n null !\x3d\x3d alternate \x26\x26 (alternate.lanes |\x3d renderLanes);\n scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);\n }\n function validateSuspenseListNestedChild(childSlot, index) {\n var isAnArray \x3d isArrayImpl(childSlot);\n childSlot \x3d !isAnArray \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof getIteratorFn(childSlot);\n return isAnArray || childSlot ? (isAnArray \x3d isAnArray ? \x22array\x22 : \x22iterable\x22, error(\x22A nested %s was passed to row #%s in \\x3cSuspenseList /\\x3e. Wrap it in an additional SuspenseList to configure its revealOrder: \\x3cSuspenseList revealOrder\\x3d...\\x3e ... \\x3cSuspenseList revealOrder\\x3d...\\x3e{%s}\\x3c/SuspenseList\\x3e ... \\x3c/SuspenseList\\x3e\x22, isAnArray, index, isAnArray), !1) : !0;\n }\n function initSuspenseListRenderState(workInProgress, isBackwards, tail, lastContentRow, tailMode) {\n var renderState \x3d workInProgress.memoizedState;\n null \x3d\x3d\x3d renderState ? workInProgress.memoizedState \x3d {isBackwards, rendering:null, renderingStartTime:0, last:lastContentRow, tail, tailMode} : (renderState.isBackwards \x3d isBackwards, renderState.rendering \x3d null, renderState.renderingStartTime \x3d 0, renderState.last \x3d lastContentRow, renderState.tail \x3d tail, renderState.tailMode \x3d tailMode);\n }\n function updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps \x3d workInProgress.pendingProps, revealOrder \x3d nextProps.revealOrder, tailMode \x3d nextProps.tail;\n nextProps \x3d nextProps.children;\n if (void 0 !\x3d\x3d revealOrder \x26\x26 \x22forwards\x22 !\x3d\x3d revealOrder \x26\x26 \x22backwards\x22 !\x3d\x3d revealOrder \x26\x26 \x22together\x22 !\x3d\x3d revealOrder \x26\x26 !didWarnAboutRevealOrder[revealOrder]) {\n if (didWarnAboutRevealOrder[revealOrder] \x3d !0, \x22string\x22 \x3d\x3d\x3d typeof revealOrder) {\n switch(revealOrder.toLowerCase()) {\n case \x22together\x22:\n case \x22forwards\x22:\n case \x22backwards\x22:\n error(\x27\x22%s\x22 is not a valid value for revealOrder on \\x3cSuspenseList /\\x3e. Use lowercase \x22%s\x22 instead.\x27, revealOrder, revealOrder.toLowerCase());\n break;\n case \x22forward\x22:\n case \x22backward\x22:\n error(\x27\x22%s\x22 is not a valid value for revealOrder on \\x3cSuspenseList /\\x3e. React uses the -s suffix in the spelling. Use \x22%ss\x22 instead.\x27, revealOrder, revealOrder.toLowerCase());\n break;\n default:\n error(\x27\x22%s\x22 is not a supported revealOrder on \\x3cSuspenseList /\\x3e. Did you mean \x22together\x22, \x22forwards\x22 or \x22backwards\x22?\x27, revealOrder);\n }\n } else {\n error(\x27%s is not a supported value for revealOrder on \\x3cSuspenseList /\\x3e. Did you mean \x22together\x22, \x22forwards\x22 or \x22backwards\x22?\x27, revealOrder);\n }\n }\n void 0 \x3d\x3d\x3d tailMode || didWarnAboutTailOptions[tailMode] || (\x22collapsed\x22 !\x3d\x3d tailMode \x26\x26 \x22hidden\x22 !\x3d\x3d tailMode ? (didWarnAboutTailOptions[tailMode] \x3d !0, error(\x27\x22%s\x22 is not a supported value for tail on \\x3cSuspenseList /\\x3e. Did you mean \x22collapsed\x22 or \x22hidden\x22?\x27, tailMode)) : \x22forwards\x22 !\x3d\x3d revealOrder \x26\x26 \x22backwards\x22 !\x3d\x3d revealOrder \x26\x26 (didWarnAboutTailOptions[tailMode] \x3d !0, error(\x27\\x3cSuspenseList tail\\x3d\x22%s\x22 /\\x3e is only valid if revealOrder is \x22forwards\x22 or \x22backwards\x22. Did you mean to specify revealOrder\\x3d\x22forwards\x22?\x27, \n tailMode)));\n a: {\n if ((\x22forwards\x22 \x3d\x3d\x3d revealOrder || \x22backwards\x22 \x3d\x3d\x3d revealOrder) \x26\x26 void 0 !\x3d\x3d nextProps \x26\x26 null !\x3d\x3d nextProps \x26\x26 !1 !\x3d\x3d nextProps) {\n if (isArrayImpl(nextProps)) {\n for (var i \x3d 0; i \x3c nextProps.length; i++) {\n if (!validateSuspenseListNestedChild(nextProps[i], i)) {\n break a;\n }\n }\n } else {\n if (i \x3d getIteratorFn(nextProps), \x22function\x22 \x3d\x3d\x3d typeof i) {\n if (i \x3d i.call(nextProps)) {\n for (var step \x3d i.next(), _i \x3d 0; !step.done; step \x3d i.next()) {\n if (!validateSuspenseListNestedChild(step.value, _i)) {\n break a;\n }\n _i++;\n }\n }\n } else {\n error(\x27A single row was passed to a \\x3cSuspenseList revealOrder\\x3d\x22%s\x22 /\\x3e. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?\x27, revealOrder);\n }\n }\n }\n }\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n nextProps \x3d suspenseStackCursor.current;\n if (0 !\x3d\x3d (nextProps \x26 ForceSuspenseFallback)) {\n nextProps \x3d nextProps \x26 SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress.flags |\x3d 128;\n } else {\n if (null !\x3d\x3d current \x26\x26 0 !\x3d\x3d (current.flags \x26 128)) {\n a: {\n for (current \x3d workInProgress.child; null !\x3d\x3d current;) {\n if (13 \x3d\x3d\x3d current.tag) {\n null !\x3d\x3d current.memoizedState \x26\x26 scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n } else if (19 \x3d\x3d\x3d current.tag) {\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n } else if (null !\x3d\x3d current.child) {\n current.child.return \x3d current;\n current \x3d current.child;\n continue;\n }\n if (current \x3d\x3d\x3d workInProgress) {\n break a;\n }\n for (; null \x3d\x3d\x3d current.sibling;) {\n if (null \x3d\x3d\x3d current.return || current.return \x3d\x3d\x3d workInProgress) {\n break a;\n }\n current \x3d current.return;\n }\n current.sibling.return \x3d current.return;\n current \x3d current.sibling;\n }\n }\n }\n nextProps \x26\x3d SubtreeSuspenseContextMask;\n }\n push(suspenseStackCursor, nextProps, workInProgress);\n if (0 \x3d\x3d\x3d (workInProgress.mode \x26 1)) {\n workInProgress.memoizedState \x3d null;\n } else {\n switch(revealOrder) {\n case \x22forwards\x22:\n renderLanes \x3d workInProgress.child;\n for (revealOrder \x3d null; null !\x3d\x3d renderLanes;) {\n current \x3d renderLanes.alternate, null !\x3d\x3d current \x26\x26 null \x3d\x3d\x3d findFirstSuspended(current) \x26\x26 (revealOrder \x3d renderLanes), renderLanes \x3d renderLanes.sibling;\n }\n renderLanes \x3d revealOrder;\n null \x3d\x3d\x3d renderLanes ? (revealOrder \x3d workInProgress.child, workInProgress.child \x3d null) : (revealOrder \x3d renderLanes.sibling, renderLanes.sibling \x3d null);\n initSuspenseListRenderState(workInProgress, !1, revealOrder, renderLanes, tailMode);\n break;\n case \x22backwards\x22:\n renderLanes \x3d null;\n revealOrder \x3d workInProgress.child;\n for (workInProgress.child \x3d null; null !\x3d\x3d revealOrder;) {\n current \x3d revealOrder.alternate;\n if (null !\x3d\x3d current \x26\x26 null \x3d\x3d\x3d findFirstSuspended(current)) {\n workInProgress.child \x3d revealOrder;\n break;\n }\n current \x3d revealOrder.sibling;\n revealOrder.sibling \x3d renderLanes;\n renderLanes \x3d revealOrder;\n revealOrder \x3d current;\n }\n initSuspenseListRenderState(workInProgress, !0, renderLanes, null, tailMode);\n break;\n case \x22together\x22:\n initSuspenseListRenderState(workInProgress, !1, null, null, void 0);\n break;\n default:\n workInProgress.memoizedState \x3d null;\n }\n }\n return workInProgress.child;\n }\n function resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress) {\n 0 \x3d\x3d\x3d (workInProgress.mode \x26 1) \x26\x26 null !\x3d\x3d current \x26\x26 (current.alternate \x3d null, workInProgress.alternate \x3d null, workInProgress.flags |\x3d 2);\n }\n function bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n null !\x3d\x3d current \x26\x26 (workInProgress.dependencies \x3d current.dependencies);\n profilerStartTime \x3d -1;\n workInProgressRootSkippedLanes |\x3d workInProgress.lanes;\n if (0 \x3d\x3d\x3d (renderLanes \x26 workInProgress.childLanes)) {\n return null;\n }\n if (null !\x3d\x3d current \x26\x26 workInProgress.child !\x3d\x3d current.child) {\n throw Error(\x22Resuming work not yet implemented.\x22);\n }\n if (null !\x3d\x3d workInProgress.child) {\n current \x3d workInProgress.child;\n renderLanes \x3d createWorkInProgress(current, current.pendingProps);\n workInProgress.child \x3d renderLanes;\n for (renderLanes.return \x3d workInProgress; null !\x3d\x3d current.sibling;) {\n current \x3d current.sibling, renderLanes \x3d renderLanes.sibling \x3d createWorkInProgress(current, current.pendingProps), renderLanes.return \x3d workInProgress;\n }\n renderLanes.sibling \x3d null;\n }\n return workInProgress.child;\n }\n function attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes) {\n switch(workInProgress.tag) {\n case 3:\n pushHostRootContext(workInProgress);\n resetHydrationState();\n break;\n case 5:\n pushHostContext(workInProgress);\n break;\n case 1:\n isContextProvider(workInProgress.type) \x26\x26 pushContextProvider(workInProgress);\n break;\n case 4:\n pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n break;\n case 10:\n pushProvider(workInProgress, workInProgress.type._context, workInProgress.memoizedProps.value);\n break;\n case 12:\n 0 !\x3d\x3d (renderLanes \x26 workInProgress.childLanes) \x26\x26 (workInProgress.flags |\x3d 4);\n var stateNode \x3d workInProgress.stateNode;\n stateNode.effectDuration \x3d 0;\n stateNode.passiveEffectDuration \x3d 0;\n break;\n case 13:\n stateNode \x3d workInProgress.memoizedState;\n if (null !\x3d\x3d stateNode) {\n if (null !\x3d\x3d stateNode.dehydrated) {\n return push(suspenseStackCursor, suspenseStackCursor.current \x26 SubtreeSuspenseContextMask, workInProgress), workInProgress.flags |\x3d 128, null;\n }\n if (0 !\x3d\x3d (renderLanes \x26 workInProgress.child.childLanes)) {\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n }\n push(suspenseStackCursor, suspenseStackCursor.current \x26 SubtreeSuspenseContextMask, workInProgress);\n current \x3d bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n return null !\x3d\x3d current ? current.sibling : null;\n }\n push(suspenseStackCursor, suspenseStackCursor.current \x26 SubtreeSuspenseContextMask, workInProgress);\n break;\n case 19:\n stateNode \x3d 0 !\x3d\x3d (renderLanes \x26 workInProgress.childLanes);\n if (0 !\x3d\x3d (current.flags \x26 128)) {\n if (stateNode) {\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n }\n workInProgress.flags |\x3d 128;\n }\n var renderState \x3d workInProgress.memoizedState;\n null !\x3d\x3d renderState \x26\x26 (renderState.rendering \x3d null, renderState.tail \x3d null, renderState.lastEffect \x3d null);\n push(suspenseStackCursor, suspenseStackCursor.current, workInProgress);\n if (stateNode) {\n break;\n } else {\n return null;\n }\n case 22:\n case 23:\n return workInProgress.lanes \x3d 0, updateOffscreenComponent(current, workInProgress, renderLanes);\n }\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n function beginWork(current, workInProgress, renderLanes) {\n if (workInProgress._debugNeedsRemount \x26\x26 null !\x3d\x3d current) {\n renderLanes \x3d createFiberFromTypeAndProps(workInProgress.type, workInProgress.key, workInProgress.pendingProps, workInProgress._debugOwner || null, workInProgress.mode, workInProgress.lanes);\n var returnFiber \x3d workInProgress.return;\n if (null \x3d\x3d\x3d returnFiber) {\n throw Error(\x22Cannot swap the root fiber.\x22);\n }\n current.alternate \x3d null;\n workInProgress.alternate \x3d null;\n renderLanes.index \x3d workInProgress.index;\n renderLanes.sibling \x3d workInProgress.sibling;\n renderLanes.return \x3d workInProgress.return;\n renderLanes.ref \x3d workInProgress.ref;\n if (workInProgress \x3d\x3d\x3d returnFiber.child) {\n returnFiber.child \x3d renderLanes;\n } else {\n var prevSibling \x3d returnFiber.child;\n if (null \x3d\x3d\x3d prevSibling) {\n throw Error(\x22Expected parent to have a child.\x22);\n }\n for (; prevSibling.sibling !\x3d\x3d workInProgress;) {\n if (prevSibling \x3d prevSibling.sibling, null \x3d\x3d\x3d prevSibling) {\n throw Error(\x22Expected to find the previous sibling.\x22);\n }\n }\n prevSibling.sibling \x3d renderLanes;\n }\n workInProgress \x3d returnFiber.deletions;\n null \x3d\x3d\x3d workInProgress ? (returnFiber.deletions \x3d [current], returnFiber.flags |\x3d 16) : workInProgress.push(current);\n renderLanes.flags |\x3d 2;\n return renderLanes;\n }\n if (null !\x3d\x3d current) {\n if (current.memoizedProps !\x3d\x3d workInProgress.pendingProps || didPerformWorkStackCursor.current || workInProgress.type !\x3d\x3d current.type) {\n didReceiveUpdate \x3d !0;\n } else {\n if (0 \x3d\x3d\x3d (current.lanes \x26 renderLanes) \x26\x26 0 \x3d\x3d\x3d (workInProgress.flags \x26 128)) {\n return didReceiveUpdate \x3d !1, attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes);\n }\n didReceiveUpdate \x3d 0 !\x3d\x3d (current.flags \x26 131072) ? !0 : !1;\n }\n } else {\n didReceiveUpdate \x3d !1;\n if (returnFiber \x3d isHydrating) {\n warnIfNotHydrating(), returnFiber \x3d 0 !\x3d\x3d (workInProgress.flags \x26 1048576);\n }\n returnFiber \x26\x26 (returnFiber \x3d workInProgress.index, warnIfNotHydrating(), pushTreeId(workInProgress, treeForkCount, returnFiber));\n }\n workInProgress.lanes \x3d 0;\n switch(workInProgress.tag) {\n case 2:\n returnFiber \x3d workInProgress.type;\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);\n current \x3d workInProgress.pendingProps;\n var context \x3d getMaskedContext(workInProgress, contextStackCursor.current);\n prepareToReadContext(workInProgress, renderLanes);\n markComponentRenderStarted(workInProgress);\n returnFiber.prototype \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof returnFiber.prototype.render \x26\x26 (prevSibling \x3d getComponentNameFromType(returnFiber) || \x22Unknown\x22, didWarnAboutBadClass[prevSibling] || (error(\x22The \\x3c%s /\\x3e component appears to have a render method, but doesn\x27t extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.\x22, prevSibling, prevSibling), didWarnAboutBadClass[prevSibling] \x3d !0));\n workInProgress.mode \x26 8 \x26\x26 ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, null);\n isRendering \x3d !0;\n ReactCurrentOwner$1.current \x3d workInProgress;\n prevSibling \x3d renderWithHooks(null, workInProgress, returnFiber, current, context, renderLanes);\n var hasId \x3d checkDidRenderIdHook();\n isRendering \x3d !1;\n markComponentRenderStopped();\n workInProgress.flags |\x3d 1;\n if (\x22object\x22 \x3d\x3d\x3d typeof prevSibling \x26\x26 null !\x3d\x3d prevSibling \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof prevSibling.render \x26\x26 void 0 \x3d\x3d\x3d prevSibling.$$typeof) {\n var _componentName \x3d getComponentNameFromType(returnFiber) || \x22Unknown\x22;\n didWarnAboutModulePatternComponent[_componentName] || (error(\x22The \\x3c%s /\\x3e component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can\x27t use a class try assigning the prototype on the function as a workaround. `%s.prototype \\x3d React.Component.prototype`. Don\x27t use an arrow function since it cannot be called with `new` by React.\x22, _componentName, _componentName, _componentName), didWarnAboutModulePatternComponent[_componentName] \x3d \n !0);\n }\n if (\x22object\x22 \x3d\x3d\x3d typeof prevSibling \x26\x26 null !\x3d\x3d prevSibling \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof prevSibling.render \x26\x26 void 0 \x3d\x3d\x3d prevSibling.$$typeof) {\n context \x3d getComponentNameFromType(returnFiber) || \x22Unknown\x22, didWarnAboutModulePatternComponent[context] || (error(\x22The \\x3c%s /\\x3e component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can\x27t use a class try assigning the prototype on the function as a workaround. `%s.prototype \\x3d React.Component.prototype`. Don\x27t use an arrow function since it cannot be called with `new` by React.\x22, context, context, \n context), didWarnAboutModulePatternComponent[context] \x3d !0), workInProgress.tag \x3d 1, workInProgress.memoizedState \x3d null, workInProgress.updateQueue \x3d null, isContextProvider(returnFiber) ? (context \x3d !0, pushContextProvider(workInProgress)) : context \x3d !1, workInProgress.memoizedState \x3d null !\x3d\x3d prevSibling.state \x26\x26 void 0 !\x3d\x3d prevSibling.state ? prevSibling.state : null, initializeUpdateQueue(workInProgress), prevSibling.updater \x3d classComponentUpdater, workInProgress.stateNode \x3d prevSibling, \n prevSibling._reactInternals \x3d workInProgress, prevSibling._reactInternalInstance \x3d fakeInternalInstance, mountClassInstance(workInProgress, returnFiber, current, renderLanes), workInProgress \x3d finishClassComponent(null, workInProgress, returnFiber, !0, context, renderLanes);\n } else {\n workInProgress.tag \x3d 0;\n if (workInProgress.mode \x26 8) {\n setIsStrictModeForDevtools(!0);\n try {\n prevSibling \x3d renderWithHooks(null, workInProgress, returnFiber, current, context, renderLanes), hasId \x3d checkDidRenderIdHook();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isHydrating \x26\x26 hasId \x26\x26 pushMaterializedTreeId(workInProgress);\n reconcileChildren(null, workInProgress, prevSibling, renderLanes);\n validateFunctionComponentInDev(workInProgress, returnFiber);\n workInProgress \x3d workInProgress.child;\n }\n return workInProgress;\n case 16:\n a: {\n prevSibling \x3d workInProgress.elementType;\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);\n returnFiber \x3d workInProgress.pendingProps;\n current \x3d prevSibling._init;\n current \x3d current(prevSibling._payload);\n workInProgress.type \x3d current;\n prevSibling \x3d workInProgress.tag \x3d resolveLazyComponentTag(current);\n returnFiber \x3d resolveDefaultProps(current, returnFiber);\n switch(prevSibling) {\n case 0:\n validateFunctionComponentInDev(workInProgress, current);\n workInProgress.type \x3d current \x3d resolveFunctionForHotReloading(current);\n workInProgress \x3d updateFunctionComponent(null, workInProgress, current, returnFiber, renderLanes);\n break a;\n case 1:\n workInProgress.type \x3d current \x3d resolveFunctionForHotReloading(current);\n workInProgress \x3d updateClassComponent(null, workInProgress, current, returnFiber, renderLanes);\n break a;\n case 11:\n workInProgress.type \x3d current \x3d resolveForwardRefForHotReloading(current);\n workInProgress \x3d updateForwardRef(null, workInProgress, current, returnFiber, renderLanes);\n break a;\n case 14:\n workInProgress.type !\x3d\x3d workInProgress.elementType \x26\x26 (prevSibling \x3d current.propTypes) \x26\x26 checkPropTypes(prevSibling, returnFiber, \x22prop\x22, getComponentNameFromType(current));\n workInProgress \x3d updateMemoComponent(null, workInProgress, current, resolveDefaultProps(current.type, returnFiber), renderLanes);\n break a;\n }\n workInProgress \x3d \x22\x22;\n null !\x3d\x3d current \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof current \x26\x26 current.$$typeof \x3d\x3d\x3d REACT_LAZY_TYPE \x26\x26 (workInProgress \x3d \x22 Did you wrap a component in React.lazy() more than once?\x22);\n throw Error(\x22Element type is invalid. Received a promise that resolves to: \x22 + current + \x22. Lazy element type must resolve to a class or function.\x22 + workInProgress);\n }\n return workInProgress;\n case 0:\n return returnFiber \x3d workInProgress.type, prevSibling \x3d workInProgress.pendingProps, prevSibling \x3d workInProgress.elementType \x3d\x3d\x3d returnFiber ? prevSibling : resolveDefaultProps(returnFiber, prevSibling), updateFunctionComponent(current, workInProgress, returnFiber, prevSibling, renderLanes);\n case 1:\n return returnFiber \x3d workInProgress.type, prevSibling \x3d workInProgress.pendingProps, prevSibling \x3d workInProgress.elementType \x3d\x3d\x3d returnFiber ? prevSibling : resolveDefaultProps(returnFiber, prevSibling), updateClassComponent(current, workInProgress, returnFiber, prevSibling, renderLanes);\n case 3:\n a: {\n pushHostRootContext(workInProgress);\n if (null \x3d\x3d\x3d current) {\n throw Error(\x22Should have a current fiber. This is a bug in React.\x22);\n }\n returnFiber \x3d workInProgress.pendingProps;\n context \x3d workInProgress.memoizedState;\n prevSibling \x3d context.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, returnFiber, null, renderLanes);\n hasId \x3d workInProgress.memoizedState;\n returnFiber \x3d hasId.element;\n if (context.isDehydrated) {\n if (context \x3d {element:returnFiber, isDehydrated:!1, cache:hasId.cache, pendingSuspenseBoundaries:hasId.pendingSuspenseBoundaries, transitions:hasId.transitions}, workInProgress.updateQueue.baseState \x3d context, workInProgress.memoizedState \x3d context, workInProgress.flags \x26 256) {\n prevSibling \x3d createCapturedValueAtFiber(Error(\x22There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.\x22), workInProgress);\n workInProgress \x3d mountHostRootWithoutHydrating(current, workInProgress, returnFiber, renderLanes, prevSibling);\n break a;\n } else if (returnFiber !\x3d\x3d prevSibling) {\n prevSibling \x3d createCapturedValueAtFiber(Error(\x22This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.\x22), workInProgress);\n workInProgress \x3d mountHostRootWithoutHydrating(current, workInProgress, returnFiber, renderLanes, prevSibling);\n break a;\n } else {\n for (nextHydratableInstance \x3d getNextHydratable(workInProgress.stateNode.containerInfo.firstChild), hydrationParentFiber \x3d workInProgress, isHydrating \x3d !0, hydrationErrors \x3d null, didSuspendOrErrorDEV \x3d !1, renderLanes \x3d mountChildFibers(workInProgress, null, returnFiber, renderLanes), workInProgress.child \x3d renderLanes; renderLanes;) {\n renderLanes.flags \x3d renderLanes.flags \x26 -3 | 4096, renderLanes \x3d renderLanes.sibling;\n }\n }\n } else {\n resetHydrationState();\n if (returnFiber \x3d\x3d\x3d prevSibling) {\n workInProgress \x3d bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n break a;\n }\n reconcileChildren(current, workInProgress, returnFiber, renderLanes);\n }\n workInProgress \x3d workInProgress.child;\n }\n return workInProgress;\n case 5:\n return pushHostContext(workInProgress), null \x3d\x3d\x3d current \x26\x26 tryToClaimNextHydratableInstance(workInProgress), returnFiber \x3d workInProgress.type, prevSibling \x3d workInProgress.pendingProps, context \x3d null !\x3d\x3d current ? current.memoizedProps : null, hasId \x3d prevSibling.children, shouldSetTextContent(returnFiber, prevSibling) ? hasId \x3d null : null !\x3d\x3d context \x26\x26 shouldSetTextContent(returnFiber, context) \x26\x26 (workInProgress.flags |\x3d 32), markRef(current, workInProgress), reconcileChildren(current, \n workInProgress, hasId, renderLanes), workInProgress.child;\n case 6:\n return null \x3d\x3d\x3d current \x26\x26 tryToClaimNextHydratableInstance(workInProgress), null;\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo), returnFiber \x3d workInProgress.pendingProps, null \x3d\x3d\x3d current ? workInProgress.child \x3d reconcileChildFibers(workInProgress, null, returnFiber, renderLanes) : reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child;\n case 11:\n return returnFiber \x3d workInProgress.type, prevSibling \x3d workInProgress.pendingProps, prevSibling \x3d workInProgress.elementType \x3d\x3d\x3d returnFiber ? prevSibling : resolveDefaultProps(returnFiber, prevSibling), updateForwardRef(current, workInProgress, returnFiber, prevSibling, renderLanes);\n case 7:\n return reconcileChildren(current, workInProgress, workInProgress.pendingProps, renderLanes), workInProgress.child;\n case 8:\n return reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child;\n case 12:\n return workInProgress.flags |\x3d 4, returnFiber \x3d workInProgress.stateNode, returnFiber.effectDuration \x3d 0, returnFiber.passiveEffectDuration \x3d 0, reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child;\n case 10:\n a: {\n returnFiber \x3d workInProgress.type._context;\n prevSibling \x3d workInProgress.pendingProps;\n context \x3d workInProgress.memoizedProps;\n hasId \x3d prevSibling.value;\n \x22value\x22 in prevSibling || hasWarnedAboutUsingNoValuePropOnContextProvider || (hasWarnedAboutUsingNoValuePropOnContextProvider \x3d !0, error(\x22The `value` prop is required for the `\\x3cContext.Provider\\x3e`. Did you misspell it or forget to pass it?\x22));\n (_componentName \x3d workInProgress.type.propTypes) \x26\x26 checkPropTypes(_componentName, prevSibling, \x22prop\x22, \x22Context.Provider\x22);\n pushProvider(workInProgress, returnFiber, hasId);\n if (null !\x3d\x3d context) {\n if (objectIs(context.value, hasId)) {\n if (context.children \x3d\x3d\x3d prevSibling.children \x26\x26 !didPerformWorkStackCursor.current) {\n workInProgress \x3d bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n break a;\n }\n } else {\n for (context \x3d workInProgress.child, null !\x3d\x3d context \x26\x26 (context.return \x3d workInProgress); null !\x3d\x3d context;) {\n _componentName \x3d context.dependencies;\n if (null !\x3d\x3d _componentName) {\n hasId \x3d context.child;\n for (var dependency \x3d _componentName.firstContext; null !\x3d\x3d dependency;) {\n if (dependency.context \x3d\x3d\x3d returnFiber) {\n if (1 \x3d\x3d\x3d context.tag) {\n dependency \x3d createUpdate(-1, renderLanes \x26 -renderLanes);\n dependency.tag \x3d ForceUpdate;\n var updateQueue \x3d context.updateQueue;\n if (null !\x3d\x3d updateQueue) {\n updateQueue \x3d updateQueue.shared;\n var pending \x3d updateQueue.pending;\n null \x3d\x3d\x3d pending ? dependency.next \x3d dependency : (dependency.next \x3d pending.next, pending.next \x3d dependency);\n updateQueue.pending \x3d dependency;\n }\n }\n context.lanes |\x3d renderLanes;\n dependency \x3d context.alternate;\n null !\x3d\x3d dependency \x26\x26 (dependency.lanes |\x3d renderLanes);\n scheduleContextWorkOnParentPath(context.return, renderLanes, workInProgress);\n _componentName.lanes |\x3d renderLanes;\n break;\n }\n dependency \x3d dependency.next;\n }\n } else if (10 \x3d\x3d\x3d context.tag) {\n hasId \x3d context.type \x3d\x3d\x3d workInProgress.type ? null : context.child;\n } else if (18 \x3d\x3d\x3d context.tag) {\n hasId \x3d context.return;\n if (null \x3d\x3d\x3d hasId) {\n throw Error(\x22We just came from a parent so we must have had a parent. This is a bug in React.\x22);\n }\n hasId.lanes |\x3d renderLanes;\n _componentName \x3d hasId.alternate;\n null !\x3d\x3d _componentName \x26\x26 (_componentName.lanes |\x3d renderLanes);\n scheduleContextWorkOnParentPath(hasId, renderLanes, workInProgress);\n hasId \x3d context.sibling;\n } else {\n hasId \x3d context.child;\n }\n if (null !\x3d\x3d hasId) {\n hasId.return \x3d context;\n } else {\n for (hasId \x3d context; null !\x3d\x3d hasId;) {\n if (hasId \x3d\x3d\x3d workInProgress) {\n hasId \x3d null;\n break;\n }\n context \x3d hasId.sibling;\n if (null !\x3d\x3d context) {\n context.return \x3d hasId.return;\n hasId \x3d context;\n break;\n }\n hasId \x3d hasId.return;\n }\n }\n context \x3d hasId;\n }\n }\n }\n reconcileChildren(current, workInProgress, prevSibling.children, renderLanes);\n workInProgress \x3d workInProgress.child;\n }\n return workInProgress;\n case 9:\n return prevSibling \x3d workInProgress.type, void 0 \x3d\x3d\x3d prevSibling._context ? prevSibling \x3d\x3d\x3d prevSibling.Consumer || hasWarnedAboutUsingContextAsConsumer || (hasWarnedAboutUsingContextAsConsumer \x3d !0, error(\x22Rendering \\x3cContext\\x3e directly is not supported and will be removed in a future major release. Did you mean to render \\x3cContext.Consumer\\x3e instead?\x22)) : prevSibling \x3d prevSibling._context, returnFiber \x3d workInProgress.pendingProps.children, \x22function\x22 !\x3d\x3d typeof returnFiber \x26\x26 \n error(\x22A context consumer was rendered with multiple children, or a child that isn\x27t a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.\x22), prepareToReadContext(workInProgress, renderLanes), prevSibling \x3d readContext(prevSibling), markComponentRenderStarted(workInProgress), ReactCurrentOwner$1.current \x3d workInProgress, isRendering \x3d !0, returnFiber \x3d returnFiber(prevSibling), \n isRendering \x3d !1, markComponentRenderStopped(), workInProgress.flags |\x3d 1, reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child;\n case 14:\n return returnFiber \x3d workInProgress.type, prevSibling \x3d resolveDefaultProps(returnFiber, workInProgress.pendingProps), workInProgress.type !\x3d\x3d workInProgress.elementType \x26\x26 (context \x3d returnFiber.propTypes) \x26\x26 checkPropTypes(context, prevSibling, \x22prop\x22, getComponentNameFromType(returnFiber)), prevSibling \x3d resolveDefaultProps(returnFiber.type, prevSibling), updateMemoComponent(current, workInProgress, returnFiber, prevSibling, renderLanes);\n case 15:\n return updateSimpleMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes);\n case 17:\n return returnFiber \x3d workInProgress.type, prevSibling \x3d workInProgress.pendingProps, prevSibling \x3d workInProgress.elementType \x3d\x3d\x3d returnFiber ? prevSibling : resolveDefaultProps(returnFiber, prevSibling), resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress), workInProgress.tag \x3d 1, isContextProvider(returnFiber) ? (current \x3d !0, pushContextProvider(workInProgress)) : current \x3d !1, prepareToReadContext(workInProgress, renderLanes), constructClassInstance(workInProgress, returnFiber, \n prevSibling), mountClassInstance(workInProgress, returnFiber, prevSibling, renderLanes), finishClassComponent(null, workInProgress, returnFiber, !0, current, renderLanes);\n case 19:\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(current, workInProgress, renderLanes);\n }\n throw Error(\x22Unknown unit of work tag (\x22 + workInProgress.tag + \x22). This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n if (!isHydrating) {\n switch(renderState.tailMode) {\n case \x22hidden\x22:\n hasRenderedATailFallback \x3d renderState.tail;\n for (var lastTailNode \x3d null; null !\x3d\x3d hasRenderedATailFallback;) {\n null !\x3d\x3d hasRenderedATailFallback.alternate \x26\x26 (lastTailNode \x3d hasRenderedATailFallback), hasRenderedATailFallback \x3d hasRenderedATailFallback.sibling;\n }\n null \x3d\x3d\x3d lastTailNode ? renderState.tail \x3d null : lastTailNode.sibling \x3d null;\n break;\n case \x22collapsed\x22:\n lastTailNode \x3d renderState.tail;\n for (var _lastTailNode \x3d null; null !\x3d\x3d lastTailNode;) {\n null !\x3d\x3d lastTailNode.alternate \x26\x26 (_lastTailNode \x3d lastTailNode), lastTailNode \x3d lastTailNode.sibling;\n }\n null \x3d\x3d\x3d _lastTailNode ? hasRenderedATailFallback || null \x3d\x3d\x3d renderState.tail ? renderState.tail \x3d null : renderState.tail.sibling \x3d null : _lastTailNode.sibling \x3d null;\n }\n }\n }\n function bubbleProperties(completedWork) {\n var didBailout \x3d null !\x3d\x3d completedWork.alternate \x26\x26 completedWork.alternate.child \x3d\x3d\x3d completedWork.child, newChildLanes \x3d 0, subtreeFlags \x3d 0;\n if (didBailout) {\n if (0 !\x3d\x3d (completedWork.mode \x26 2)) {\n for (var _treeBaseDuration \x3d completedWork.selfBaseDuration, _child2 \x3d completedWork.child; null !\x3d\x3d _child2;) {\n newChildLanes |\x3d _child2.lanes | _child2.childLanes, subtreeFlags |\x3d _child2.subtreeFlags \x26 14680064, subtreeFlags |\x3d _child2.flags \x26 14680064, _treeBaseDuration +\x3d _child2.treeBaseDuration, _child2 \x3d _child2.sibling;\n }\n completedWork.treeBaseDuration \x3d _treeBaseDuration;\n } else {\n for (_treeBaseDuration \x3d completedWork.child; null !\x3d\x3d _treeBaseDuration;) {\n newChildLanes |\x3d _treeBaseDuration.lanes | _treeBaseDuration.childLanes, subtreeFlags |\x3d _treeBaseDuration.subtreeFlags \x26 14680064, subtreeFlags |\x3d _treeBaseDuration.flags \x26 14680064, _treeBaseDuration.return \x3d completedWork, _treeBaseDuration \x3d _treeBaseDuration.sibling;\n }\n }\n } else {\n if (0 !\x3d\x3d (completedWork.mode \x26 2)) {\n _treeBaseDuration \x3d completedWork.actualDuration;\n _child2 \x3d completedWork.selfBaseDuration;\n for (var child \x3d completedWork.child; null !\x3d\x3d child;) {\n newChildLanes |\x3d child.lanes | child.childLanes, subtreeFlags |\x3d child.subtreeFlags, subtreeFlags |\x3d child.flags, _treeBaseDuration +\x3d child.actualDuration, _child2 +\x3d child.treeBaseDuration, child \x3d child.sibling;\n }\n completedWork.actualDuration \x3d _treeBaseDuration;\n completedWork.treeBaseDuration \x3d _child2;\n } else {\n for (_treeBaseDuration \x3d completedWork.child; null !\x3d\x3d _treeBaseDuration;) {\n newChildLanes |\x3d _treeBaseDuration.lanes | _treeBaseDuration.childLanes, subtreeFlags |\x3d _treeBaseDuration.subtreeFlags, subtreeFlags |\x3d _treeBaseDuration.flags, _treeBaseDuration.return \x3d completedWork, _treeBaseDuration \x3d _treeBaseDuration.sibling;\n }\n }\n }\n completedWork.subtreeFlags |\x3d subtreeFlags;\n completedWork.childLanes \x3d newChildLanes;\n return didBailout;\n }\n function completeWork(current, workInProgress, renderLanes) {\n var newProps \x3d workInProgress.pendingProps;\n popTreeContext(workInProgress);\n switch(workInProgress.tag) {\n case 2:\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return isContextProvider(workInProgress.type) \x26\x26 popContext(workInProgress), bubbleProperties(workInProgress), null;\n case 3:\n var fiberRoot \x3d workInProgress.stateNode;\n popHostContainer(workInProgress);\n popTopLevelContextObject(workInProgress);\n resetWorkInProgressVersions();\n fiberRoot.pendingContext \x26\x26 (fiberRoot.context \x3d fiberRoot.pendingContext, fiberRoot.pendingContext \x3d null);\n if (null \x3d\x3d\x3d current || null \x3d\x3d\x3d current.child) {\n popHydrationState(workInProgress) ? workInProgress.flags |\x3d 4 : null \x3d\x3d\x3d current || current.memoizedState.isDehydrated \x26\x26 0 \x3d\x3d\x3d (workInProgress.flags \x26 256) || (workInProgress.flags |\x3d 1024, null !\x3d\x3d hydrationErrors \x26\x26 (queueRecoverableErrors(hydrationErrors), hydrationErrors \x3d null));\n }\n updateHostContainer(current, workInProgress);\n bubbleProperties(workInProgress);\n return null;\n case 5:\n popHostContext(workInProgress);\n var rootContainerInstance \x3d requiredContext(rootInstanceStackCursor.current);\n renderLanes \x3d workInProgress.type;\n if (null !\x3d\x3d current \x26\x26 null !\x3d workInProgress.stateNode) {\n updateHostComponent$1(current, workInProgress, renderLanes, newProps, rootContainerInstance), current.ref !\x3d\x3d workInProgress.ref \x26\x26 (workInProgress.flags |\x3d 512, workInProgress.flags |\x3d 2097152);\n } else {\n if (!newProps) {\n if (null \x3d\x3d\x3d workInProgress.stateNode) {\n throw Error(\x22We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n bubbleProperties(workInProgress);\n return null;\n }\n var currentHostContext \x3d requiredContext(contextStackCursor$1.current);\n if (popHydrationState(workInProgress)) {\n newProps \x3d workInProgress.stateNode;\n renderLanes \x3d workInProgress.type;\n var props \x3d workInProgress.memoizedProps;\n current \x3d !didSuspendOrErrorDEV;\n newProps[internalInstanceKey] \x3d workInProgress;\n newProps[internalPropsKey] \x3d props;\n var parentNamespace \x3d currentHostContext.namespace;\n currentHostContext \x3d 0 !\x3d\x3d (workInProgress.mode \x26 1);\n var extraAttributeNames;\n rootContainerInstance \x3d isCustomComponent(renderLanes, props);\n validatePropertiesInDevelopment(renderLanes, props);\n switch(renderLanes) {\n case \x22dialog\x22:\n listenToNonDelegatedEvent(\x22cancel\x22, newProps);\n listenToNonDelegatedEvent(\x22close\x22, newProps);\n break;\n case \x22iframe\x22:\n case \x22object\x22:\n case \x22embed\x22:\n listenToNonDelegatedEvent(\x22load\x22, newProps);\n break;\n case \x22video\x22:\n case \x22audio\x22:\n for (extraAttributeNames \x3d 0; extraAttributeNames \x3c mediaEventTypes.length; extraAttributeNames++) {\n listenToNonDelegatedEvent(mediaEventTypes[extraAttributeNames], newProps);\n }\n break;\n case \x22source\x22:\n listenToNonDelegatedEvent(\x22error\x22, newProps);\n break;\n case \x22img\x22:\n case \x22image\x22:\n case \x22link\x22:\n listenToNonDelegatedEvent(\x22error\x22, newProps);\n listenToNonDelegatedEvent(\x22load\x22, newProps);\n break;\n case \x22details\x22:\n listenToNonDelegatedEvent(\x22toggle\x22, newProps);\n break;\n case \x22input\x22:\n initWrapperState(newProps, props);\n listenToNonDelegatedEvent(\x22invalid\x22, newProps);\n break;\n case \x22option\x22:\n validateProps(newProps, props);\n break;\n case \x22select\x22:\n initWrapperState$1(newProps, props);\n listenToNonDelegatedEvent(\x22invalid\x22, newProps);\n break;\n case \x22textarea\x22:\n initWrapperState$2(newProps, props), listenToNonDelegatedEvent(\x22invalid\x22, newProps);\n }\n assertValidProps(renderLanes, props);\n extraAttributeNames \x3d new Set();\n for (var attributes \x3d newProps.attributes, _i \x3d 0; _i \x3c attributes.length; _i++) {\n switch(attributes[_i].name.toLowerCase()) {\n case \x22value\x22:\n break;\n case \x22checked\x22:\n break;\n case \x22selected\x22:\n break;\n default:\n extraAttributeNames.add(attributes[_i].name);\n }\n }\n attributes \x3d null;\n for (fiberRoot in props) {\n if (props.hasOwnProperty(fiberRoot)) {\n if (_i \x3d props[fiberRoot], \x22children\x22 \x3d\x3d\x3d fiberRoot) {\n \x22string\x22 \x3d\x3d\x3d typeof _i ? newProps.textContent !\x3d\x3d _i \x26\x26 (!0 !\x3d\x3d props.suppressHydrationWarning \x26\x26 checkForUnmatchedText(newProps.textContent, _i, currentHostContext, current), attributes \x3d [\x22children\x22, _i]) : \x22number\x22 \x3d\x3d\x3d typeof _i \x26\x26 newProps.textContent !\x3d\x3d \x22\x22 + _i \x26\x26 (!0 !\x3d\x3d props.suppressHydrationWarning \x26\x26 checkForUnmatchedText(newProps.textContent, _i, currentHostContext, current), attributes \x3d [\x22children\x22, \x22\x22 + _i]);\n } else if (registrationNameDependencies.hasOwnProperty(fiberRoot)) {\n null !\x3d _i \x26\x26 (\x22function\x22 !\x3d\x3d typeof _i \x26\x26 warnForInvalidEventListener(fiberRoot, _i), \x22onScroll\x22 \x3d\x3d\x3d fiberRoot \x26\x26 listenToNonDelegatedEvent(\x22scroll\x22, newProps));\n } else if (current \x26\x26 \x22boolean\x22 \x3d\x3d\x3d typeof rootContainerInstance) {\n var serverValue, propertyInfo \x3d getPropertyInfo(fiberRoot);\n if (!0 !\x3d\x3d props.suppressHydrationWarning \x26\x26 \x22suppressContentEditableWarning\x22 !\x3d\x3d fiberRoot \x26\x26 \x22suppressHydrationWarning\x22 !\x3d\x3d fiberRoot \x26\x26 \x22value\x22 !\x3d\x3d fiberRoot \x26\x26 \x22checked\x22 !\x3d\x3d fiberRoot \x26\x26 \x22selected\x22 !\x3d\x3d fiberRoot) {\n if (\x22dangerouslySetInnerHTML\x22 \x3d\x3d\x3d fiberRoot) {\n var serverHTML \x3d newProps.innerHTML;\n _i \x3d _i ? _i.__html : void 0;\n null !\x3d _i \x26\x26 (_i \x3d normalizeHTML(newProps, _i), _i !\x3d\x3d serverHTML \x26\x26 warnForPropDifference(fiberRoot, serverHTML, _i));\n } else if (\x22style\x22 \x3d\x3d\x3d fiberRoot) {\n if (extraAttributeNames.delete(fiberRoot), canDiffStyleForHydrationWarning) {\n serverHTML \x3d void 0;\n var delimiter \x3d serverValue \x3d \x22\x22;\n for (serverHTML in _i) {\n if (_i.hasOwnProperty(serverHTML)) {\n var styleValue \x3d _i[serverHTML];\n null !\x3d styleValue \x26\x26 (propertyInfo \x3d 0 \x3d\x3d\x3d serverHTML.indexOf(\x22--\x22), serverValue +\x3d delimiter + (propertyInfo ? serverHTML : serverHTML.replace(uppercasePattern, \x22-$1\x22).toLowerCase().replace(msPattern, \x22-ms-\x22)) + \x22:\x22, serverValue +\x3d dangerousStyleValue(serverHTML, styleValue, propertyInfo), delimiter \x3d \x22;\x22);\n }\n }\n _i \x3d serverValue || null;\n serverValue \x3d newProps.getAttribute(\x22style\x22);\n _i !\x3d\x3d serverValue \x26\x26 warnForPropDifference(fiberRoot, serverValue, _i);\n }\n } else if (rootContainerInstance) {\n extraAttributeNames.delete(fiberRoot.toLowerCase()), serverValue \x3d getValueForAttribute(newProps, fiberRoot, _i), _i !\x3d\x3d serverValue \x26\x26 warnForPropDifference(fiberRoot, serverValue, _i);\n } else if (!shouldIgnoreAttribute(fiberRoot, propertyInfo, rootContainerInstance) \x26\x26 !shouldRemoveAttribute(fiberRoot, _i, propertyInfo, rootContainerInstance)) {\n serverHTML \x3d !1;\n if (null !\x3d\x3d propertyInfo) {\n b: {\n if (extraAttributeNames.delete(propertyInfo.attributeName), styleValue \x3d newProps, serverValue \x3d fiberRoot, delimiter \x3d _i, propertyInfo.mustUseProperty) {\n serverValue \x3d styleValue[propertyInfo.propertyName];\n } else {\n propertyInfo.sanitizeURL \x26\x26 sanitizeURL(\x22\x22 + delimiter);\n var attributeName \x3d propertyInfo.attributeName, stringValue \x3d null;\n if (4 \x3d\x3d\x3d propertyInfo.type) {\n if (styleValue.hasAttribute(attributeName)) {\n styleValue \x3d styleValue.getAttribute(attributeName);\n serverValue \x3d \x22\x22 \x3d\x3d\x3d styleValue ? !0 : shouldRemoveAttribute(serverValue, delimiter, propertyInfo, !1) ? styleValue : styleValue \x3d\x3d\x3d \x22\x22 + delimiter ? delimiter : styleValue;\n break b;\n }\n } else if (styleValue.hasAttribute(attributeName)) {\n if (shouldRemoveAttribute(serverValue, delimiter, propertyInfo, !1)) {\n serverValue \x3d styleValue.getAttribute(attributeName);\n break b;\n }\n if (3 \x3d\x3d\x3d propertyInfo.type) {\n serverValue \x3d delimiter;\n break b;\n }\n stringValue \x3d styleValue.getAttribute(attributeName);\n }\n serverValue \x3d shouldRemoveAttribute(serverValue, delimiter, propertyInfo, !1) ? null \x3d\x3d\x3d stringValue ? delimiter : stringValue : stringValue \x3d\x3d\x3d \x22\x22 + delimiter ? delimiter : stringValue;\n }\n }\n } else {\n serverValue \x3d parentNamespace, \x22http://www.w3.org/1999/xhtml\x22 \x3d\x3d\x3d serverValue \x26\x26 (serverValue \x3d getIntrinsicNamespace(renderLanes)), \x22http://www.w3.org/1999/xhtml\x22 \x3d\x3d\x3d serverValue ? extraAttributeNames.delete(fiberRoot.toLowerCase()) : (serverValue \x3d fiberRoot.toLowerCase(), serverValue \x3d possibleStandardNames.hasOwnProperty(serverValue) ? possibleStandardNames[serverValue] || null : null, null !\x3d\x3d serverValue \x26\x26 serverValue !\x3d\x3d fiberRoot \x26\x26 (serverHTML \x3d !0, extraAttributeNames.delete(serverValue)), \n extraAttributeNames.delete(fiberRoot)), serverValue \x3d getValueForAttribute(newProps, fiberRoot, _i);\n }\n _i \x3d\x3d\x3d serverValue || serverHTML || warnForPropDifference(fiberRoot, serverValue, _i);\n }\n }\n }\n }\n }\n current \x26\x26 0 \x3c extraAttributeNames.size \x26\x26 !0 !\x3d\x3d props.suppressHydrationWarning \x26\x26 warnForExtraAttributes(extraAttributeNames);\n switch(renderLanes) {\n case \x22input\x22:\n track(newProps);\n postMountWrapper(newProps, props, !0);\n break;\n case \x22textarea\x22:\n track(newProps);\n postMountWrapper$3(newProps);\n break;\n case \x22select\x22:\n case \x22option\x22:\n break;\n default:\n \x22function\x22 \x3d\x3d\x3d typeof props.onClick \x26\x26 (newProps.onclick \x3d noop);\n }\n fiberRoot \x3d attributes;\n workInProgress.updateQueue \x3d fiberRoot;\n null !\x3d\x3d fiberRoot \x26\x26 (workInProgress.flags |\x3d 4);\n } else {\n validateDOMNesting(renderLanes, null, currentHostContext.ancestorInfo);\n if (\x22string\x22 \x3d\x3d\x3d typeof newProps.children || \x22number\x22 \x3d\x3d\x3d typeof newProps.children) {\n fiberRoot \x3d \x22\x22 + newProps.children, current \x3d updatedAncestorInfo(currentHostContext.ancestorInfo, renderLanes), validateDOMNesting(null, fiberRoot, current);\n }\n current \x3d 9 \x3d\x3d\x3d rootContainerInstance.nodeType ? rootContainerInstance : rootContainerInstance.ownerDocument;\n fiberRoot \x3d currentHostContext.namespace;\n \x22http://www.w3.org/1999/xhtml\x22 \x3d\x3d\x3d fiberRoot \x26\x26 (fiberRoot \x3d getIntrinsicNamespace(renderLanes));\n \x22http://www.w3.org/1999/xhtml\x22 \x3d\x3d\x3d fiberRoot ? ((parentNamespace \x3d isCustomComponent(renderLanes, newProps)) || renderLanes \x3d\x3d\x3d renderLanes.toLowerCase() || error(\x22\\x3c%s /\\x3e is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.\x22, renderLanes), \x22script\x22 \x3d\x3d\x3d renderLanes ? (current \x3d current.createElement(\x22div\x22), current.innerHTML \x3d \x22\\x3cscript\\x3e\\x3c/script\\x3e\x22, current \x3d current.removeChild(current.firstChild)) : \x22string\x22 \x3d\x3d\x3d typeof newProps.is ? \n current \x3d current.createElement(renderLanes, {is:newProps.is}) : (current \x3d current.createElement(renderLanes), \x22select\x22 \x3d\x3d\x3d renderLanes \x26\x26 (currentHostContext \x3d current, newProps.multiple ? currentHostContext.multiple \x3d !0 : newProps.size \x26\x26 (currentHostContext.size \x3d newProps.size)))) : current \x3d current.createElementNS(fiberRoot, renderLanes);\n \x22http://www.w3.org/1999/xhtml\x22 !\x3d\x3d fiberRoot || parentNamespace || \x22[object HTMLUnknownElement]\x22 !\x3d\x3d Object.prototype.toString.call(current) || hasOwnProperty.call(warnedUnknownTags, renderLanes) || (warnedUnknownTags[renderLanes] \x3d !0, error(\x22The tag \\x3c%s\\x3e is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.\x22, renderLanes));\n fiberRoot \x3d current;\n fiberRoot[internalInstanceKey] \x3d workInProgress;\n fiberRoot[internalPropsKey] \x3d newProps;\n appendAllChildren(fiberRoot, workInProgress, !1, !1);\n workInProgress.stateNode \x3d fiberRoot;\n a: {\n current \x3d isCustomComponent(renderLanes, newProps);\n validatePropertiesInDevelopment(renderLanes, newProps);\n switch(renderLanes) {\n case \x22dialog\x22:\n listenToNonDelegatedEvent(\x22cancel\x22, fiberRoot);\n listenToNonDelegatedEvent(\x22close\x22, fiberRoot);\n parentNamespace \x3d newProps;\n break;\n case \x22iframe\x22:\n case \x22object\x22:\n case \x22embed\x22:\n listenToNonDelegatedEvent(\x22load\x22, fiberRoot);\n parentNamespace \x3d newProps;\n break;\n case \x22video\x22:\n case \x22audio\x22:\n for (parentNamespace \x3d 0; parentNamespace \x3c mediaEventTypes.length; parentNamespace++) {\n listenToNonDelegatedEvent(mediaEventTypes[parentNamespace], fiberRoot);\n }\n parentNamespace \x3d newProps;\n break;\n case \x22source\x22:\n listenToNonDelegatedEvent(\x22error\x22, fiberRoot);\n parentNamespace \x3d newProps;\n break;\n case \x22img\x22:\n case \x22image\x22:\n case \x22link\x22:\n listenToNonDelegatedEvent(\x22error\x22, fiberRoot);\n listenToNonDelegatedEvent(\x22load\x22, fiberRoot);\n parentNamespace \x3d newProps;\n break;\n case \x22details\x22:\n listenToNonDelegatedEvent(\x22toggle\x22, fiberRoot);\n parentNamespace \x3d newProps;\n break;\n case \x22input\x22:\n initWrapperState(fiberRoot, newProps);\n parentNamespace \x3d getHostProps(fiberRoot, newProps);\n listenToNonDelegatedEvent(\x22invalid\x22, fiberRoot);\n break;\n case \x22option\x22:\n validateProps(fiberRoot, newProps);\n parentNamespace \x3d newProps;\n break;\n case \x22select\x22:\n initWrapperState$1(fiberRoot, newProps);\n parentNamespace \x3d assign({}, newProps, {value:void 0});\n listenToNonDelegatedEvent(\x22invalid\x22, fiberRoot);\n break;\n case \x22textarea\x22:\n initWrapperState$2(fiberRoot, newProps);\n parentNamespace \x3d getHostProps$2(fiberRoot, newProps);\n listenToNonDelegatedEvent(\x22invalid\x22, fiberRoot);\n break;\n default:\n parentNamespace \x3d newProps;\n }\n assertValidProps(renderLanes, parentNamespace);\n currentHostContext \x3d parentNamespace;\n for (props in currentHostContext) {\n currentHostContext.hasOwnProperty(props) \x26\x26 (rootContainerInstance \x3d currentHostContext[props], \x22style\x22 \x3d\x3d\x3d props ? (rootContainerInstance \x26\x26 Object.freeze(rootContainerInstance), setValueForStyles(fiberRoot, rootContainerInstance)) : \x22dangerouslySetInnerHTML\x22 \x3d\x3d\x3d props ? (rootContainerInstance \x3d rootContainerInstance ? rootContainerInstance.__html : void 0, null !\x3d rootContainerInstance \x26\x26 setInnerHTML(fiberRoot, rootContainerInstance)) : \x22children\x22 \x3d\x3d\x3d props ? \x22string\x22 \x3d\x3d\x3d typeof rootContainerInstance ? \n (\x22textarea\x22 !\x3d\x3d renderLanes || \x22\x22 !\x3d\x3d rootContainerInstance) \x26\x26 setTextContent(fiberRoot, rootContainerInstance) : \x22number\x22 \x3d\x3d\x3d typeof rootContainerInstance \x26\x26 setTextContent(fiberRoot, \x22\x22 + rootContainerInstance) : \x22suppressContentEditableWarning\x22 !\x3d\x3d props \x26\x26 \x22suppressHydrationWarning\x22 !\x3d\x3d props \x26\x26 \x22autoFocus\x22 !\x3d\x3d props \x26\x26 (registrationNameDependencies.hasOwnProperty(props) ? null !\x3d rootContainerInstance \x26\x26 (\x22function\x22 !\x3d\x3d typeof rootContainerInstance \x26\x26 warnForInvalidEventListener(props, \n rootContainerInstance), \x22onScroll\x22 \x3d\x3d\x3d props \x26\x26 listenToNonDelegatedEvent(\x22scroll\x22, fiberRoot)) : null !\x3d rootContainerInstance \x26\x26 setValueForProperty(fiberRoot, props, rootContainerInstance, current)));\n }\n switch(renderLanes) {\n case \x22input\x22:\n track(fiberRoot);\n postMountWrapper(fiberRoot, newProps, !1);\n break;\n case \x22textarea\x22:\n track(fiberRoot);\n postMountWrapper$3(fiberRoot);\n break;\n case \x22option\x22:\n null !\x3d newProps.value \x26\x26 fiberRoot.setAttribute(\x22value\x22, \x22\x22 + getToStringValue(newProps.value));\n break;\n case \x22select\x22:\n fiberRoot.multiple \x3d !!newProps.multiple;\n props \x3d newProps.value;\n null !\x3d props ? updateOptions(fiberRoot, !!newProps.multiple, props, !1) : null !\x3d newProps.defaultValue \x26\x26 updateOptions(fiberRoot, !!newProps.multiple, newProps.defaultValue, !0);\n break;\n default:\n \x22function\x22 \x3d\x3d\x3d typeof parentNamespace.onClick \x26\x26 (fiberRoot.onclick \x3d noop);\n }\n switch(renderLanes) {\n case \x22button\x22:\n case \x22input\x22:\n case \x22select\x22:\n case \x22textarea\x22:\n fiberRoot \x3d !!newProps.autoFocus;\n break a;\n case \x22img\x22:\n fiberRoot \x3d !0;\n break a;\n default:\n fiberRoot \x3d !1;\n }\n }\n fiberRoot \x26\x26 (workInProgress.flags |\x3d 4);\n }\n null !\x3d\x3d workInProgress.ref \x26\x26 (workInProgress.flags |\x3d 512, workInProgress.flags |\x3d 2097152);\n }\n bubbleProperties(workInProgress);\n return null;\n case 6:\n if (current \x26\x26 null !\x3d workInProgress.stateNode) {\n updateHostText$1(current, workInProgress, current.memoizedProps, newProps);\n } else {\n if (\x22string\x22 !\x3d\x3d typeof newProps \x26\x26 null \x3d\x3d\x3d workInProgress.stateNode) {\n throw Error(\x22We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n fiberRoot \x3d requiredContext(rootInstanceStackCursor.current);\n renderLanes \x3d requiredContext(contextStackCursor$1.current);\n if (popHydrationState(workInProgress)) {\n fiberRoot \x3d workInProgress.stateNode;\n newProps \x3d workInProgress.memoizedProps;\n fiberRoot[internalInstanceKey] \x3d workInProgress;\n if (renderLanes \x3d fiberRoot.nodeValue !\x3d\x3d newProps) {\n if (props \x3d hydrationParentFiber, null !\x3d\x3d props) {\n switch(props.tag) {\n case 3:\n checkForUnmatchedText(fiberRoot.nodeValue, newProps, 0 !\x3d\x3d (props.mode \x26 1), !0);\n break;\n case 5:\n !0 !\x3d\x3d props.memoizedProps.suppressHydrationWarning \x26\x26 checkForUnmatchedText(fiberRoot.nodeValue, newProps, 0 !\x3d\x3d (props.mode \x26 1), !0);\n }\n }\n }\n renderLanes \x26\x26 (workInProgress.flags |\x3d 4);\n } else {\n validateDOMNesting(null, newProps, renderLanes.ancestorInfo), fiberRoot \x3d (9 \x3d\x3d\x3d fiberRoot.nodeType ? fiberRoot : fiberRoot.ownerDocument).createTextNode(newProps), fiberRoot[internalInstanceKey] \x3d workInProgress, workInProgress.stateNode \x3d fiberRoot;\n }\n }\n bubbleProperties(workInProgress);\n return null;\n case 13:\n pop(suspenseStackCursor, workInProgress);\n fiberRoot \x3d workInProgress.memoizedState;\n if (null \x3d\x3d\x3d current || null !\x3d\x3d current.memoizedState \x26\x26 null !\x3d\x3d current.memoizedState.dehydrated) {\n if (isHydrating \x26\x26 null !\x3d\x3d nextHydratableInstance \x26\x26 0 !\x3d\x3d (workInProgress.mode \x26 1) \x26\x26 0 \x3d\x3d\x3d (workInProgress.flags \x26 128)) {\n warnIfUnhydratedTailNodes(workInProgress), resetHydrationState(), workInProgress.flags |\x3d 98560, newProps \x3d !1;\n } else {\n if (newProps \x3d popHydrationState(workInProgress), null !\x3d\x3d fiberRoot \x26\x26 null !\x3d\x3d fiberRoot.dehydrated) {\n if (null \x3d\x3d\x3d current) {\n if (!newProps) {\n throw Error(\x22A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.\x22);\n }\n newProps \x3d workInProgress.memoizedState;\n newProps \x3d null !\x3d\x3d newProps ? newProps.dehydrated : null;\n if (!newProps) {\n throw Error(\x22Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n newProps[internalInstanceKey] \x3d workInProgress;\n bubbleProperties(workInProgress);\n 0 !\x3d\x3d (workInProgress.mode \x26 2) \x26\x26 null !\x3d\x3d fiberRoot \x26\x26 (newProps \x3d workInProgress.child, null !\x3d\x3d newProps \x26\x26 (workInProgress.treeBaseDuration -\x3d newProps.treeBaseDuration));\n } else {\n resetHydrationState(), 0 \x3d\x3d\x3d (workInProgress.flags \x26 128) \x26\x26 (workInProgress.memoizedState \x3d null), workInProgress.flags |\x3d 4, bubbleProperties(workInProgress), 0 !\x3d\x3d (workInProgress.mode \x26 2) \x26\x26 null !\x3d\x3d fiberRoot \x26\x26 (newProps \x3d workInProgress.child, null !\x3d\x3d newProps \x26\x26 (workInProgress.treeBaseDuration -\x3d newProps.treeBaseDuration));\n }\n newProps \x3d !1;\n } else {\n null !\x3d\x3d hydrationErrors \x26\x26 (queueRecoverableErrors(hydrationErrors), hydrationErrors \x3d null), newProps \x3d !0;\n }\n }\n if (!newProps) {\n return workInProgress.flags \x26 65536 ? workInProgress : null;\n }\n }\n if (0 !\x3d\x3d (workInProgress.flags \x26 128)) {\n return workInProgress.lanes \x3d renderLanes, 0 !\x3d\x3d (workInProgress.mode \x26 2) \x26\x26 transferActualDuration(workInProgress), workInProgress;\n }\n fiberRoot \x3d null !\x3d\x3d fiberRoot;\n fiberRoot !\x3d\x3d (null !\x3d\x3d current \x26\x26 null !\x3d\x3d current.memoizedState) \x26\x26 fiberRoot \x26\x26 (workInProgress.child.flags |\x3d 8192, 0 !\x3d\x3d (workInProgress.mode \x26 1) \x26\x26 (null \x3d\x3d\x3d current || 0 !\x3d\x3d (suspenseStackCursor.current \x26 InvisibleParentSuspenseContext) ? workInProgressRootExitStatus \x3d\x3d\x3d RootInProgress \x26\x26 (workInProgressRootExitStatus \x3d RootSuspended) : renderDidSuspendDelayIfPossible()));\n null !\x3d\x3d workInProgress.updateQueue \x26\x26 (workInProgress.flags |\x3d 4);\n bubbleProperties(workInProgress);\n 0 !\x3d\x3d (workInProgress.mode \x26 2) \x26\x26 fiberRoot \x26\x26 (fiberRoot \x3d workInProgress.child, null !\x3d\x3d fiberRoot \x26\x26 (workInProgress.treeBaseDuration -\x3d fiberRoot.treeBaseDuration));\n return null;\n case 4:\n return popHostContainer(workInProgress), updateHostContainer(current, workInProgress), null \x3d\x3d\x3d current \x26\x26 listenToAllSupportedEvents(workInProgress.stateNode.containerInfo), bubbleProperties(workInProgress), null;\n case 10:\n return popProvider(workInProgress.type._context, workInProgress), bubbleProperties(workInProgress), null;\n case 17:\n return isContextProvider(workInProgress.type) \x26\x26 popContext(workInProgress), bubbleProperties(workInProgress), null;\n case 19:\n pop(suspenseStackCursor, workInProgress);\n newProps \x3d workInProgress.memoizedState;\n if (null \x3d\x3d\x3d newProps) {\n return bubbleProperties(workInProgress), null;\n }\n fiberRoot \x3d 0 !\x3d\x3d (workInProgress.flags \x26 128);\n props \x3d newProps.rendering;\n if (null \x3d\x3d\x3d props) {\n if (fiberRoot) {\n cutOffTailIfNeeded(newProps, !1);\n } else {\n if (workInProgressRootExitStatus !\x3d\x3d RootInProgress || null !\x3d\x3d current \x26\x26 0 !\x3d\x3d (current.flags \x26 128)) {\n for (props \x3d workInProgress.child; null !\x3d\x3d props;) {\n current \x3d findFirstSuspended(props);\n if (null !\x3d\x3d current) {\n workInProgress.flags |\x3d 128;\n cutOffTailIfNeeded(newProps, !1);\n fiberRoot \x3d current.updateQueue;\n null !\x3d\x3d fiberRoot \x26\x26 (workInProgress.updateQueue \x3d fiberRoot, workInProgress.flags |\x3d 4);\n workInProgress.subtreeFlags \x3d 0;\n fiberRoot \x3d renderLanes;\n for (newProps \x3d workInProgress.child; null !\x3d\x3d newProps;) {\n renderLanes \x3d newProps, current \x3d fiberRoot, renderLanes.flags \x26\x3d 14680066, props \x3d renderLanes.alternate, null \x3d\x3d\x3d props ? (renderLanes.childLanes \x3d 0, renderLanes.lanes \x3d current, renderLanes.child \x3d null, renderLanes.subtreeFlags \x3d 0, renderLanes.memoizedProps \x3d null, renderLanes.memoizedState \x3d null, renderLanes.updateQueue \x3d null, renderLanes.dependencies \x3d null, renderLanes.stateNode \x3d null, renderLanes.selfBaseDuration \x3d 0, renderLanes.treeBaseDuration \x3d 0) : (renderLanes.childLanes \x3d \n props.childLanes, renderLanes.lanes \x3d props.lanes, renderLanes.child \x3d props.child, renderLanes.subtreeFlags \x3d 0, renderLanes.deletions \x3d null, renderLanes.memoizedProps \x3d props.memoizedProps, renderLanes.memoizedState \x3d props.memoizedState, renderLanes.updateQueue \x3d props.updateQueue, renderLanes.type \x3d props.type, current \x3d props.dependencies, renderLanes.dependencies \x3d null \x3d\x3d\x3d current ? null : {lanes:current.lanes, firstContext:current.firstContext}, renderLanes.selfBaseDuration \x3d \n props.selfBaseDuration, renderLanes.treeBaseDuration \x3d props.treeBaseDuration), newProps \x3d newProps.sibling;\n }\n push(suspenseStackCursor, suspenseStackCursor.current \x26 SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress);\n return workInProgress.child;\n }\n props \x3d props.sibling;\n }\n }\n null !\x3d\x3d newProps.tail \x26\x26 now() \x3e workInProgressRootRenderTargetTime \x26\x26 (workInProgress.flags |\x3d 128, fiberRoot \x3d !0, cutOffTailIfNeeded(newProps, !1), workInProgress.lanes \x3d 4194304);\n }\n } else {\n if (!fiberRoot) {\n if (current \x3d findFirstSuspended(props), null !\x3d\x3d current) {\n if (workInProgress.flags |\x3d 128, fiberRoot \x3d !0, renderLanes \x3d current.updateQueue, null !\x3d\x3d renderLanes \x26\x26 (workInProgress.updateQueue \x3d renderLanes, workInProgress.flags |\x3d 4), cutOffTailIfNeeded(newProps, !0), null \x3d\x3d\x3d newProps.tail \x26\x26 \x22hidden\x22 \x3d\x3d\x3d newProps.tailMode \x26\x26 !props.alternate \x26\x26 !isHydrating) {\n return bubbleProperties(workInProgress), null;\n }\n } else {\n 2 * now() - newProps.renderingStartTime \x3e workInProgressRootRenderTargetTime \x26\x26 renderLanes !\x3d\x3d OffscreenLane \x26\x26 (workInProgress.flags |\x3d 128, fiberRoot \x3d !0, cutOffTailIfNeeded(newProps, !1), workInProgress.lanes \x3d 4194304);\n }\n }\n newProps.isBackwards ? (props.sibling \x3d workInProgress.child, workInProgress.child \x3d props) : (renderLanes \x3d newProps.last, null !\x3d\x3d renderLanes ? renderLanes.sibling \x3d props : workInProgress.child \x3d props, newProps.last \x3d props);\n }\n if (null !\x3d\x3d newProps.tail) {\n return renderLanes \x3d newProps.tail, newProps.rendering \x3d renderLanes, newProps.tail \x3d renderLanes.sibling, newProps.renderingStartTime \x3d now(), renderLanes.sibling \x3d null, newProps \x3d suspenseStackCursor.current, newProps \x3d fiberRoot ? newProps \x26 SubtreeSuspenseContextMask | ForceSuspenseFallback : newProps \x26 SubtreeSuspenseContextMask, push(suspenseStackCursor, newProps, workInProgress), renderLanes;\n }\n bubbleProperties(workInProgress);\n return null;\n case 22:\n case 23:\n return popRenderLanes(workInProgress), fiberRoot \x3d null !\x3d\x3d workInProgress.memoizedState, null !\x3d\x3d current \x26\x26 null !\x3d\x3d current.memoizedState !\x3d\x3d fiberRoot \x26\x26 (workInProgress.flags |\x3d 8192), fiberRoot \x26\x26 0 !\x3d\x3d (workInProgress.mode \x26 1) ? 0 !\x3d\x3d (subtreeRenderLanes \x26 OffscreenLane) \x26\x26 (bubbleProperties(workInProgress), workInProgress.subtreeFlags \x26 6 \x26\x26 (workInProgress.flags |\x3d 8192)) : bubbleProperties(workInProgress), null;\n case 24:\n return null;\n case 25:\n return null;\n }\n throw Error(\x22Unknown unit of work tag (\x22 + workInProgress.tag + \x22). This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n function unwindWork(current, workInProgress, renderLanes) {\n popTreeContext(workInProgress);\n switch(workInProgress.tag) {\n case 1:\n return isContextProvider(workInProgress.type) \x26\x26 popContext(workInProgress), current \x3d workInProgress.flags, current \x26 65536 ? (workInProgress.flags \x3d current \x26 -65537 | 128, 0 !\x3d\x3d (workInProgress.mode \x26 2) \x26\x26 transferActualDuration(workInProgress), workInProgress) : null;\n case 3:\n return popHostContainer(workInProgress), popTopLevelContextObject(workInProgress), resetWorkInProgressVersions(), current \x3d workInProgress.flags, 0 !\x3d\x3d (current \x26 65536) \x26\x26 0 \x3d\x3d\x3d (current \x26 128) ? (workInProgress.flags \x3d current \x26 -65537 | 128, workInProgress) : null;\n case 5:\n return popHostContext(workInProgress), null;\n case 13:\n pop(suspenseStackCursor, workInProgress);\n current \x3d workInProgress.memoizedState;\n if (null !\x3d\x3d current \x26\x26 null !\x3d\x3d current.dehydrated) {\n if (null \x3d\x3d\x3d workInProgress.alternate) {\n throw Error(\x22Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.\x22);\n }\n resetHydrationState();\n }\n current \x3d workInProgress.flags;\n return current \x26 65536 ? (workInProgress.flags \x3d current \x26 -65537 | 128, 0 !\x3d\x3d (workInProgress.mode \x26 2) \x26\x26 transferActualDuration(workInProgress), workInProgress) : null;\n case 19:\n return pop(suspenseStackCursor, workInProgress), null;\n case 4:\n return popHostContainer(workInProgress), null;\n case 10:\n return popProvider(workInProgress.type._context, workInProgress), null;\n case 22:\n case 23:\n return popRenderLanes(workInProgress), null;\n case 24:\n return null;\n default:\n return null;\n }\n }\n function unwindInterruptedWork(current, interruptedWork, renderLanes) {\n popTreeContext(interruptedWork);\n switch(interruptedWork.tag) {\n case 1:\n current \x3d interruptedWork.type.childContextTypes;\n null !\x3d\x3d current \x26\x26 void 0 !\x3d\x3d current \x26\x26 popContext(interruptedWork);\n break;\n case 3:\n popHostContainer(interruptedWork);\n popTopLevelContextObject(interruptedWork);\n resetWorkInProgressVersions();\n break;\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer(interruptedWork);\n break;\n case 13:\n pop(suspenseStackCursor, interruptedWork);\n break;\n case 19:\n pop(suspenseStackCursor, interruptedWork);\n break;\n case 10:\n popProvider(interruptedWork.type._context, interruptedWork);\n break;\n case 22:\n case 23:\n popRenderLanes(interruptedWork);\n }\n }\n function reportUncaughtErrorInDEV(error) {\n invokeGuardedCallback(null, function() {\n throw error;\n });\n clearCaughtError();\n }\n function safelyCallComponentWillUnmount(current, nearestMountedAncestor, instance) {\n try {\n if (instance.props \x3d current.memoizedProps, instance.state \x3d current.memoizedState, current.mode \x26 2) {\n try {\n startLayoutEffectTimer(), instance.componentWillUnmount();\n } finally {\n recordLayoutEffectDuration(current);\n }\n } else {\n instance.componentWillUnmount();\n }\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n }\n function safelyDetachRef(current, nearestMountedAncestor) {\n var ref \x3d current.ref;\n if (null !\x3d\x3d ref) {\n if (\x22function\x22 \x3d\x3d\x3d typeof ref) {\n try {\n if (current.mode \x26 2) {\n try {\n startLayoutEffectTimer();\n var retVal \x3d ref(null);\n } finally {\n recordLayoutEffectDuration(current);\n }\n } else {\n retVal \x3d ref(null);\n }\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n \x22function\x22 \x3d\x3d\x3d typeof retVal \x26\x26 error(\x22Unexpected return value from a callback ref in %s. A callback ref should not return a function.\x22, getComponentNameFromFiber(current));\n } else {\n ref.current \x3d null;\n }\n }\n }\n function safelyCallDestroy(current, nearestMountedAncestor, destroy) {\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n }\n function commitBeforeMutationEffects(root, firstChild) {\n eventsEnabled \x3d _enabled;\n root \x3d getActiveElementDeep();\n if (hasSelectionCapabilities(root)) {\n if (\x22selectionStart\x22 in root) {\n var JSCompiler_temp \x3d {start:root.selectionStart, end:root.selectionEnd};\n } else {\n a: {\n JSCompiler_temp \x3d (JSCompiler_temp \x3d root.ownerDocument) \x26\x26 JSCompiler_temp.defaultView || window;\n var selection \x3d JSCompiler_temp.getSelection \x26\x26 JSCompiler_temp.getSelection();\n if (selection \x26\x26 0 !\x3d\x3d selection.rangeCount) {\n JSCompiler_temp \x3d selection.anchorNode;\n var anchorOffset \x3d selection.anchorOffset, focusNode \x3d selection.focusNode;\n selection \x3d selection.focusOffset;\n try {\n JSCompiler_temp.nodeType, focusNode.nodeType;\n } catch (e) {\n JSCompiler_temp \x3d null;\n break a;\n }\n var length \x3d 0, start \x3d -1, end \x3d -1, indexWithinAnchor \x3d 0, indexWithinFocus \x3d 0, node \x3d root, parentNode \x3d null;\n b: for (;;) {\n for (var next;;) {\n node !\x3d\x3d JSCompiler_temp || 0 !\x3d\x3d anchorOffset \x26\x26 3 !\x3d\x3d node.nodeType || (start \x3d length + anchorOffset);\n node !\x3d\x3d focusNode || 0 !\x3d\x3d selection \x26\x26 3 !\x3d\x3d node.nodeType || (end \x3d length + selection);\n 3 \x3d\x3d\x3d node.nodeType \x26\x26 (length +\x3d node.nodeValue.length);\n if (null \x3d\x3d\x3d (next \x3d node.firstChild)) {\n break;\n }\n parentNode \x3d node;\n node \x3d next;\n }\n for (;;) {\n if (node \x3d\x3d\x3d root) {\n break b;\n }\n parentNode \x3d\x3d\x3d JSCompiler_temp \x26\x26 ++indexWithinAnchor \x3d\x3d\x3d anchorOffset \x26\x26 (start \x3d length);\n parentNode \x3d\x3d\x3d focusNode \x26\x26 ++indexWithinFocus \x3d\x3d\x3d selection \x26\x26 (end \x3d length);\n if (null !\x3d\x3d (next \x3d node.nextSibling)) {\n break;\n }\n node \x3d parentNode;\n parentNode \x3d node.parentNode;\n }\n node \x3d next;\n }\n JSCompiler_temp \x3d -1 \x3d\x3d\x3d start || -1 \x3d\x3d\x3d end ? null : {start, end};\n } else {\n JSCompiler_temp \x3d null;\n }\n }\n }\n JSCompiler_temp \x3d JSCompiler_temp || {start:0, end:0};\n } else {\n JSCompiler_temp \x3d null;\n }\n selectionInformation \x3d {focusedElem:root, selectionRange:JSCompiler_temp};\n _enabled \x3d !1;\n for (nextEffect \x3d firstChild; null !\x3d\x3d nextEffect;) {\n if (firstChild \x3d nextEffect, root \x3d firstChild.child, 0 !\x3d\x3d (firstChild.subtreeFlags \x26 1028) \x26\x26 null !\x3d\x3d root) {\n root.return \x3d firstChild, nextEffect \x3d root;\n } else {\n for (; null !\x3d\x3d nextEffect;) {\n firstChild \x3d nextEffect;\n setCurrentFiber(firstChild);\n try {\n root \x3d firstChild;\n var current \x3d root.alternate;\n if (0 !\x3d\x3d (root.flags \x26 1024)) {\n setCurrentFiber(root);\n switch(root.tag) {\n case 0:\n case 11:\n case 15:\n break;\n case 1:\n if (null !\x3d\x3d current) {\n var prevProps \x3d current.memoizedProps, prevState \x3d current.memoizedState, instance \x3d root.stateNode;\n root.type !\x3d\x3d root.elementType || didWarnAboutReassigningProps || (instance.props !\x3d\x3d root.memoizedProps \x26\x26 error(\x22Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\x22, getComponentNameFromFiber(root) || \x22instance\x22), instance.state !\x3d\x3d root.memoizedState \x26\x26 error(\x22Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\x22, \n getComponentNameFromFiber(root) || \x22instance\x22));\n var snapshot \x3d instance.getSnapshotBeforeUpdate(root.elementType \x3d\x3d\x3d root.type ? prevProps : resolveDefaultProps(root.type, prevProps), prevState);\n JSCompiler_temp \x3d didWarnAboutUndefinedSnapshotBeforeUpdate;\n void 0 !\x3d\x3d snapshot || JSCompiler_temp.has(root.type) || (JSCompiler_temp.add(root.type), error(\x22%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.\x22, getComponentNameFromFiber(root)));\n instance.__reactInternalSnapshotBeforeUpdate \x3d snapshot;\n }\n break;\n case 3:\n var container \x3d root.stateNode.containerInfo;\n 1 \x3d\x3d\x3d container.nodeType ? container.textContent \x3d \x22\x22 : 9 \x3d\x3d\x3d container.nodeType \x26\x26 container.documentElement \x26\x26 container.removeChild(container.documentElement);\n break;\n case 5:\n case 6:\n case 4:\n case 17:\n break;\n default:\n throw Error(\x22This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n resetCurrentFiber();\n }\n } catch (error) {\n captureCommitPhaseError(firstChild, firstChild.return, error);\n }\n resetCurrentFiber();\n root \x3d firstChild.sibling;\n if (null !\x3d\x3d root) {\n root.return \x3d firstChild.return;\n nextEffect \x3d root;\n break;\n }\n nextEffect \x3d firstChild.return;\n }\n }\n }\n current \x3d shouldFireAfterActiveInstanceBlur;\n shouldFireAfterActiveInstanceBlur \x3d !1;\n return current;\n }\n function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) {\n var updateQueue \x3d finishedWork.updateQueue;\n updateQueue \x3d null !\x3d\x3d updateQueue ? updateQueue.lastEffect : null;\n if (null !\x3d\x3d updateQueue) {\n var effect \x3d updateQueue \x3d updateQueue.next;\n do {\n if ((effect.tag \x26 flags) \x3d\x3d\x3d flags) {\n var destroy \x3d effect.destroy;\n effect.destroy \x3d void 0;\n void 0 !\x3d\x3d destroy \x26\x26 ((flags \x26 Passive$1) !\x3d\x3d NoFlags$1 ? null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStarted \x26\x26 injectedProfilingHooks.markComponentPassiveEffectUnmountStarted(finishedWork) : (flags \x26 Layout) !\x3d\x3d NoFlags$1 \x26\x26 markComponentLayoutEffectUnmountStarted(finishedWork), (flags \x26 Insertion) !\x3d\x3d NoFlags$1 \x26\x26 (isRunningInsertionEffect \x3d !0), safelyCallDestroy(finishedWork, nearestMountedAncestor, destroy), (flags \x26 \n Insertion) !\x3d\x3d NoFlags$1 \x26\x26 (isRunningInsertionEffect \x3d !1), (flags \x26 Passive$1) !\x3d\x3d NoFlags$1 ? null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStopped \x26\x26 injectedProfilingHooks.markComponentPassiveEffectUnmountStopped() : (flags \x26 Layout) !\x3d\x3d NoFlags$1 \x26\x26 markComponentLayoutEffectUnmountStopped());\n }\n effect \x3d effect.next;\n } while (effect !\x3d\x3d updateQueue);\n }\n }\n function commitHookEffectListMount(flags, finishedWork) {\n var updateQueue \x3d finishedWork.updateQueue;\n updateQueue \x3d null !\x3d\x3d updateQueue ? updateQueue.lastEffect : null;\n if (null !\x3d\x3d updateQueue) {\n var effect \x3d updateQueue \x3d updateQueue.next;\n do {\n if ((effect.tag \x26 flags) \x3d\x3d\x3d flags) {\n (flags \x26 Passive$1) !\x3d\x3d NoFlags$1 ? null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentPassiveEffectMountStarted \x26\x26 injectedProfilingHooks.markComponentPassiveEffectMountStarted(finishedWork) : (flags \x26 Layout) !\x3d\x3d NoFlags$1 \x26\x26 null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentLayoutEffectMountStarted \x26\x26 injectedProfilingHooks.markComponentLayoutEffectMountStarted(finishedWork);\n var create \x3d effect.create;\n (flags \x26 Insertion) !\x3d\x3d NoFlags$1 \x26\x26 (isRunningInsertionEffect \x3d !0);\n effect.destroy \x3d create();\n (flags \x26 Insertion) !\x3d\x3d NoFlags$1 \x26\x26 (isRunningInsertionEffect \x3d !1);\n (flags \x26 Passive$1) !\x3d\x3d NoFlags$1 ? null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentPassiveEffectMountStopped \x26\x26 injectedProfilingHooks.markComponentPassiveEffectMountStopped() : (flags \x26 Layout) !\x3d\x3d NoFlags$1 \x26\x26 null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentLayoutEffectMountStopped \x26\x26 injectedProfilingHooks.markComponentLayoutEffectMountStopped();\n create \x3d effect.destroy;\n if (void 0 !\x3d\x3d create \x26\x26 \x22function\x22 !\x3d\x3d typeof create) {\n var hookName \x3d 0 !\x3d\x3d (effect.tag \x26 Layout) ? \x22useLayoutEffect\x22 : 0 !\x3d\x3d (effect.tag \x26 Insertion) ? \x22useInsertionEffect\x22 : \x22useEffect\x22;\n error(\x22%s must not return anything besides a function, which is used for clean-up.%s\x22, hookName, null \x3d\x3d\x3d create ? \x22 You returned null. If your effect does not require clean up, return undefined (or nothing).\x22 : \x22function\x22 \x3d\x3d\x3d typeof create.then ? \x22\\n\\nIt looks like you wrote \x22 + hookName + \x22(async () \\x3d\\x3e ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\\n\\n\x22 + hookName + \x22(() \\x3d\\x3e {\\n async function fetchData() {\\n // You can await here\\n const response \\x3d await MyAPI.getData(someId);\\n // ...\\n }\\n fetchData();\\n}, [someId]); // Or [] if effect doesn\x27t need props or state\\n\\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching\x22 : \n \x22 You returned: \x22 + create);\n }\n }\n effect \x3d effect.next;\n } while (effect !\x3d\x3d updateQueue);\n }\n }\n function commitAttachRef(finishedWork) {\n var ref \x3d finishedWork.ref;\n if (null !\x3d\x3d ref) {\n var instance \x3d finishedWork.stateNode;\n if (\x22function\x22 \x3d\x3d\x3d typeof ref) {\n if (finishedWork.mode \x26 2) {\n try {\n startLayoutEffectTimer();\n var retVal \x3d ref(instance);\n } finally {\n recordLayoutEffectDuration(finishedWork);\n }\n } else {\n retVal \x3d ref(instance);\n }\n \x22function\x22 \x3d\x3d\x3d typeof retVal \x26\x26 error(\x22Unexpected return value from a callback ref in %s. A callback ref should not return a function.\x22, getComponentNameFromFiber(finishedWork));\n } else {\n ref.hasOwnProperty(\x22current\x22) || error(\x22Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().\x22, getComponentNameFromFiber(finishedWork)), ref.current \x3d instance;\n }\n }\n }\n function detachFiberAfterEffects(fiber) {\n var alternate \x3d fiber.alternate;\n null !\x3d\x3d alternate \x26\x26 (fiber.alternate \x3d null, detachFiberAfterEffects(alternate));\n fiber.child \x3d null;\n fiber.deletions \x3d null;\n fiber.sibling \x3d null;\n 5 \x3d\x3d\x3d fiber.tag \x26\x26 (alternate \x3d fiber.stateNode, null !\x3d\x3d alternate \x26\x26 (delete alternate[internalInstanceKey], delete alternate[internalPropsKey], delete alternate[internalEventHandlersKey], delete alternate[internalEventHandlerListenersKey], delete alternate[internalEventHandlesSetKey]));\n fiber.stateNode \x3d null;\n fiber._debugOwner \x3d null;\n fiber.return \x3d null;\n fiber.dependencies \x3d null;\n fiber.memoizedProps \x3d null;\n fiber.memoizedState \x3d null;\n fiber.pendingProps \x3d null;\n fiber.stateNode \x3d null;\n fiber.updateQueue \x3d null;\n }\n function isHostParent(fiber) {\n return 5 \x3d\x3d\x3d fiber.tag || 3 \x3d\x3d\x3d fiber.tag || 4 \x3d\x3d\x3d fiber.tag;\n }\n function getHostSibling(fiber) {\n a: for (;;) {\n for (; null \x3d\x3d\x3d fiber.sibling;) {\n if (null \x3d\x3d\x3d fiber.return || isHostParent(fiber.return)) {\n return null;\n }\n fiber \x3d fiber.return;\n }\n fiber.sibling.return \x3d fiber.return;\n for (fiber \x3d fiber.sibling; 5 !\x3d\x3d fiber.tag \x26\x26 6 !\x3d\x3d fiber.tag \x26\x26 18 !\x3d\x3d fiber.tag;) {\n if (fiber.flags \x26 2) {\n continue a;\n }\n if (null \x3d\x3d\x3d fiber.child || 4 \x3d\x3d\x3d fiber.tag) {\n continue a;\n } else {\n fiber.child.return \x3d fiber, fiber \x3d fiber.child;\n }\n }\n if (!(fiber.flags \x26 2)) {\n return fiber.stateNode;\n }\n }\n }\n function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {\n var tag \x3d node.tag;\n if (5 \x3d\x3d\x3d tag || 6 \x3d\x3d\x3d tag) {\n node \x3d node.stateNode, before ? 8 \x3d\x3d\x3d parent.nodeType ? parent.parentNode.insertBefore(node, before) : parent.insertBefore(node, before) : (8 \x3d\x3d\x3d parent.nodeType ? (before \x3d parent.parentNode, before.insertBefore(node, parent)) : (before \x3d parent, before.appendChild(node)), parent \x3d parent._reactRootContainer, null !\x3d\x3d parent \x26\x26 void 0 !\x3d\x3d parent || null !\x3d\x3d before.onclick || (before.onclick \x3d noop));\n } else if (4 !\x3d\x3d tag \x26\x26 (node \x3d node.child, null !\x3d\x3d node)) {\n for (insertOrAppendPlacementNodeIntoContainer(node, before, parent), node \x3d node.sibling; null !\x3d\x3d node;) {\n insertOrAppendPlacementNodeIntoContainer(node, before, parent), node \x3d node.sibling;\n }\n }\n }\n function insertOrAppendPlacementNode(node, before, parent) {\n var tag \x3d node.tag;\n if (5 \x3d\x3d\x3d tag || 6 \x3d\x3d\x3d tag) {\n node \x3d node.stateNode, before ? parent.insertBefore(node, before) : parent.appendChild(node);\n } else if (4 !\x3d\x3d tag \x26\x26 (node \x3d node.child, null !\x3d\x3d node)) {\n for (insertOrAppendPlacementNode(node, before, parent), node \x3d node.sibling; null !\x3d\x3d node;) {\n insertOrAppendPlacementNode(node, before, parent), node \x3d node.sibling;\n }\n }\n }\n function recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, parent) {\n for (parent \x3d parent.child; null !\x3d\x3d parent;) {\n commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent), parent \x3d parent.sibling;\n }\n }\n function commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, deletedFiber) {\n if (injectedHook \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedHook.onCommitFiberUnmount) {\n try {\n injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);\n } catch (err) {\n hasLoggedError || (hasLoggedError \x3d !0, error(\x22React instrumentation encountered an error: %s\x22, err));\n }\n }\n switch(deletedFiber.tag) {\n case 5:\n offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);\n case 6:\n var prevHostParent \x3d hostParent, prevHostParentIsContainer \x3d hostParentIsContainer;\n hostParent \x3d null;\n recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);\n hostParent \x3d prevHostParent;\n hostParentIsContainer \x3d prevHostParentIsContainer;\n null !\x3d\x3d hostParent \x26\x26 (hostParentIsContainer ? (finishedRoot \x3d hostParent, deletedFiber \x3d deletedFiber.stateNode, 8 \x3d\x3d\x3d finishedRoot.nodeType ? finishedRoot.parentNode.removeChild(deletedFiber) : finishedRoot.removeChild(deletedFiber)) : hostParent.removeChild(deletedFiber.stateNode));\n break;\n case 18:\n null !\x3d\x3d hostParent \x26\x26 (hostParentIsContainer ? (finishedRoot \x3d hostParent, deletedFiber \x3d deletedFiber.stateNode, 8 \x3d\x3d\x3d finishedRoot.nodeType ? clearSuspenseBoundary(finishedRoot.parentNode, deletedFiber) : 1 \x3d\x3d\x3d finishedRoot.nodeType \x26\x26 clearSuspenseBoundary(finishedRoot, deletedFiber), retryIfBlockedOn(finishedRoot)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode));\n break;\n case 4:\n prevHostParent \x3d hostParent;\n prevHostParentIsContainer \x3d hostParentIsContainer;\n hostParent \x3d deletedFiber.stateNode.containerInfo;\n hostParentIsContainer \x3d !0;\n recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);\n hostParent \x3d prevHostParent;\n hostParentIsContainer \x3d prevHostParentIsContainer;\n break;\n case 0:\n case 11:\n case 14:\n case 15:\n if (!offscreenSubtreeWasHidden \x26\x26 (prevHostParent \x3d deletedFiber.updateQueue, null !\x3d\x3d prevHostParent \x26\x26 (prevHostParent \x3d prevHostParent.lastEffect, null !\x3d\x3d prevHostParent))) {\n prevHostParentIsContainer \x3d prevHostParent \x3d prevHostParent.next;\n do {\n var _effect \x3d prevHostParentIsContainer, destroy \x3d _effect.destroy;\n _effect \x3d _effect.tag;\n void 0 !\x3d\x3d destroy \x26\x26 ((_effect \x26 Insertion) !\x3d\x3d NoFlags$1 ? safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy) : (_effect \x26 Layout) !\x3d\x3d NoFlags$1 \x26\x26 (markComponentLayoutEffectUnmountStarted(deletedFiber), deletedFiber.mode \x26 2 ? (startLayoutEffectTimer(), safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy), recordLayoutEffectDuration(deletedFiber)) : safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy), markComponentLayoutEffectUnmountStopped()));\n prevHostParentIsContainer \x3d prevHostParentIsContainer.next;\n } while (prevHostParentIsContainer !\x3d\x3d prevHostParent);\n }\n recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);\n break;\n case 1:\n offscreenSubtreeWasHidden || (safelyDetachRef(deletedFiber, nearestMountedAncestor), prevHostParent \x3d deletedFiber.stateNode, \x22function\x22 \x3d\x3d\x3d typeof prevHostParent.componentWillUnmount \x26\x26 safelyCallComponentWillUnmount(deletedFiber, nearestMountedAncestor, prevHostParent));\n recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);\n break;\n case 21:\n recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);\n break;\n case 22:\n deletedFiber.mode \x26 1 ? (offscreenSubtreeWasHidden \x3d (prevHostParent \x3d offscreenSubtreeWasHidden) || null !\x3d\x3d deletedFiber.memoizedState, recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber), offscreenSubtreeWasHidden \x3d prevHostParent) : recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);\n break;\n default:\n recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);\n }\n }\n function attachSuspenseRetryListeners(finishedWork) {\n var wakeables \x3d finishedWork.updateQueue;\n if (null !\x3d\x3d wakeables) {\n finishedWork.updateQueue \x3d null;\n var retryCache \x3d finishedWork.stateNode;\n null \x3d\x3d\x3d retryCache \x26\x26 (retryCache \x3d finishedWork.stateNode \x3d new PossiblyWeakSet());\n wakeables.forEach(function(wakeable) {\n var retry \x3d resolveRetryWakeable.bind(null, finishedWork, wakeable);\n if (!retryCache.has(wakeable)) {\n retryCache.add(wakeable);\n if (isDevToolsPresent) {\n if (null !\x3d\x3d inProgressLanes \x26\x26 null !\x3d\x3d inProgressRoot) {\n restorePendingUpdaters(inProgressRoot, inProgressLanes);\n } else {\n throw Error(\x22Expected finished root and lanes to be set. This is a bug in React.\x22);\n }\n }\n wakeable.then(retry, retry);\n }\n });\n }\n }\n function commitMutationEffects(root, finishedWork, committedLanes) {\n inProgressLanes \x3d committedLanes;\n inProgressRoot \x3d root;\n setCurrentFiber(finishedWork);\n commitMutationEffectsOnFiber(finishedWork, root);\n setCurrentFiber(finishedWork);\n inProgressRoot \x3d inProgressLanes \x3d null;\n }\n function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber, lanes) {\n lanes \x3d parentFiber.deletions;\n if (null !\x3d\x3d lanes) {\n for (var i \x3d 0; i \x3c lanes.length; i++) {\n var childToDelete \x3d lanes[i];\n try {\n var root \x3d root$jscomp$0, returnFiber \x3d parentFiber, deletedFiber \x3d childToDelete, parent \x3d returnFiber;\n a: for (; null !\x3d\x3d parent;) {\n switch(parent.tag) {\n case 5:\n hostParent \x3d parent.stateNode;\n hostParentIsContainer \x3d !1;\n break a;\n case 3:\n hostParent \x3d parent.stateNode.containerInfo;\n hostParentIsContainer \x3d !0;\n break a;\n case 4:\n hostParent \x3d parent.stateNode.containerInfo;\n hostParentIsContainer \x3d !0;\n break a;\n }\n parent \x3d parent.return;\n }\n if (null \x3d\x3d\x3d hostParent) {\n throw Error(\x22Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber);\n hostParent \x3d null;\n hostParentIsContainer \x3d !1;\n root \x3d deletedFiber;\n var alternate \x3d root.alternate;\n null !\x3d\x3d alternate \x26\x26 (alternate.return \x3d null);\n root.return \x3d null;\n } catch (error) {\n captureCommitPhaseError(childToDelete, parentFiber, error);\n }\n }\n }\n alternate \x3d current;\n if (parentFiber.subtreeFlags \x26 12854) {\n for (parentFiber \x3d parentFiber.child; null !\x3d\x3d parentFiber;) {\n setCurrentFiber(parentFiber), commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber \x3d parentFiber.sibling;\n }\n }\n setCurrentFiber(alternate);\n }\n function commitMutationEffectsOnFiber(finishedWork, root, lanes) {\n var current \x3d finishedWork.alternate;\n lanes \x3d finishedWork.flags;\n switch(finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (lanes \x26 4) {\n try {\n commitHookEffectListUnmount(Insertion | HasEffect, finishedWork, finishedWork.return), commitHookEffectListMount(Insertion | HasEffect, finishedWork);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n if (finishedWork.mode \x26 2) {\n try {\n startLayoutEffectTimer(), commitHookEffectListUnmount(Layout | HasEffect, finishedWork, finishedWork.return);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n recordLayoutEffectDuration(finishedWork);\n } else {\n try {\n commitHookEffectListUnmount(Layout | HasEffect, finishedWork, finishedWork.return);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n }\n break;\n case 1:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n lanes \x26 512 \x26\x26 null !\x3d\x3d current \x26\x26 safelyDetachRef(current, current.return);\n break;\n case 5:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n lanes \x26 512 \x26\x26 null !\x3d\x3d current \x26\x26 safelyDetachRef(current, current.return);\n if (finishedWork.flags \x26 32) {\n var instance \x3d finishedWork.stateNode;\n try {\n setTextContent(instance, \x22\x22);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n if (lanes \x26 4 \x26\x26 (instance \x3d finishedWork.stateNode, null !\x3d instance)) {\n var newProps \x3d finishedWork.memoizedProps, oldProps \x3d null !\x3d\x3d current ? current.memoizedProps : newProps, type \x3d finishedWork.type, updatePayload \x3d finishedWork.updateQueue;\n finishedWork.updateQueue \x3d null;\n if (null !\x3d\x3d updatePayload) {\n try {\n \x22input\x22 \x3d\x3d\x3d type \x26\x26 \x22radio\x22 \x3d\x3d\x3d newProps.type \x26\x26 null !\x3d newProps.name \x26\x26 updateChecked(instance, newProps);\n isCustomComponent(type, oldProps);\n var isCustomComponentTag \x3d isCustomComponent(type, newProps);\n for (oldProps \x3d 0; oldProps \x3c updatePayload.length; oldProps +\x3d 2) {\n var propKey \x3d updatePayload[oldProps], propValue \x3d updatePayload[oldProps + 1];\n \x22style\x22 \x3d\x3d\x3d propKey ? setValueForStyles(instance, propValue) : \x22dangerouslySetInnerHTML\x22 \x3d\x3d\x3d propKey ? setInnerHTML(instance, propValue) : \x22children\x22 \x3d\x3d\x3d propKey ? setTextContent(instance, propValue) : setValueForProperty(instance, propKey, propValue, isCustomComponentTag);\n }\n switch(type) {\n case \x22input\x22:\n updateWrapper(instance, newProps);\n break;\n case \x22textarea\x22:\n updateWrapper$1(instance, newProps);\n break;\n case \x22select\x22:\n var wasMultiple \x3d instance._wrapperState.wasMultiple;\n instance._wrapperState.wasMultiple \x3d !!newProps.multiple;\n var value \x3d newProps.value;\n null !\x3d value ? updateOptions(instance, !!newProps.multiple, value, !1) : wasMultiple !\x3d\x3d !!newProps.multiple \x26\x26 (null !\x3d newProps.defaultValue ? updateOptions(instance, !!newProps.multiple, newProps.defaultValue, !0) : updateOptions(instance, !!newProps.multiple, newProps.multiple ? [] : \x22\x22, !1));\n }\n instance[internalPropsKey] \x3d newProps;\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n }\n break;\n case 6:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (lanes \x26 4) {\n if (null \x3d\x3d\x3d finishedWork.stateNode) {\n throw Error(\x22This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n instance \x3d finishedWork.stateNode;\n newProps \x3d finishedWork.memoizedProps;\n try {\n instance.nodeValue \x3d newProps;\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n break;\n case 3:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (lanes \x26 4 \x26\x26 null !\x3d\x3d current \x26\x26 current.memoizedState.isDehydrated) {\n try {\n retryIfBlockedOn(root.containerInfo);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n break;\n case 4:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n break;\n case 13:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n instance \x3d finishedWork.child;\n instance.flags \x26 8192 \x26\x26 (newProps \x3d null !\x3d\x3d instance.memoizedState, instance.stateNode.isHidden \x3d newProps, !newProps || null !\x3d\x3d instance.alternate \x26\x26 null !\x3d\x3d instance.alternate.memoizedState || (globalMostRecentFallbackTime \x3d now()));\n lanes \x26 4 \x26\x26 attachSuspenseRetryListeners(finishedWork);\n break;\n case 22:\n propKey \x3d null !\x3d\x3d current \x26\x26 null !\x3d\x3d current.memoizedState;\n finishedWork.mode \x26 1 ? (offscreenSubtreeWasHidden \x3d (isCustomComponentTag \x3d offscreenSubtreeWasHidden) || propKey, recursivelyTraverseMutationEffects(root, finishedWork), offscreenSubtreeWasHidden \x3d isCustomComponentTag) : recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (lanes \x26 8192) {\n isCustomComponentTag \x3d null !\x3d\x3d finishedWork.memoizedState;\n if ((finishedWork.stateNode.isHidden \x3d isCustomComponentTag) \x26\x26 !propKey \x26\x26 0 !\x3d\x3d (finishedWork.mode \x26 1)) {\n for (nextEffect \x3d finishedWork, propKey \x3d finishedWork.child; null !\x3d\x3d propKey;) {\n for (propValue \x3d nextEffect \x3d propKey; null !\x3d\x3d nextEffect;) {\n wasMultiple \x3d nextEffect;\n value \x3d wasMultiple.child;\n switch(wasMultiple.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n if (wasMultiple.mode \x26 2) {\n try {\n startLayoutEffectTimer(), commitHookEffectListUnmount(Layout, wasMultiple, wasMultiple.return);\n } finally {\n recordLayoutEffectDuration(wasMultiple);\n }\n } else {\n commitHookEffectListUnmount(Layout, wasMultiple, wasMultiple.return);\n }\n break;\n case 1:\n safelyDetachRef(wasMultiple, wasMultiple.return);\n lanes \x3d wasMultiple.stateNode;\n \x22function\x22 \x3d\x3d\x3d typeof lanes.componentWillUnmount \x26\x26 safelyCallComponentWillUnmount(wasMultiple, wasMultiple.return, lanes);\n break;\n case 5:\n safelyDetachRef(wasMultiple, wasMultiple.return);\n break;\n case 22:\n if (null !\x3d\x3d wasMultiple.memoizedState) {\n disappearLayoutEffects_complete(propValue);\n continue;\n }\n }\n null !\x3d\x3d value ? (value.return \x3d wasMultiple, nextEffect \x3d value) : disappearLayoutEffects_complete(propValue);\n }\n propKey \x3d propKey.sibling;\n }\n }\n a: {\n for (propKey \x3d null, propValue \x3d finishedWork;;) {\n if (5 \x3d\x3d\x3d propValue.tag) {\n if (null \x3d\x3d\x3d propKey) {\n propKey \x3d propValue;\n try {\n instance \x3d propValue.stateNode, isCustomComponentTag ? (newProps \x3d instance.style, \x22function\x22 \x3d\x3d\x3d typeof newProps.setProperty ? newProps.setProperty(\x22display\x22, \x22none\x22, \x22important\x22) : newProps.display \x3d \x22none\x22) : (type \x3d propValue.stateNode, updatePayload \x3d propValue.memoizedProps.style, oldProps \x3d void 0 !\x3d\x3d updatePayload \x26\x26 null !\x3d\x3d updatePayload \x26\x26 updatePayload.hasOwnProperty(\x22display\x22) ? updatePayload.display : null, type.style.display \x3d dangerousStyleValue(\x22display\x22, oldProps));\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n } else if (6 \x3d\x3d\x3d propValue.tag) {\n if (null \x3d\x3d\x3d propKey) {\n try {\n propValue.stateNode.nodeValue \x3d isCustomComponentTag ? \x22\x22 : propValue.memoizedProps;\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n } else if ((22 !\x3d\x3d propValue.tag \x26\x26 23 !\x3d\x3d propValue.tag || null \x3d\x3d\x3d propValue.memoizedState || propValue \x3d\x3d\x3d finishedWork) \x26\x26 null !\x3d\x3d propValue.child) {\n propValue.child.return \x3d propValue;\n propValue \x3d propValue.child;\n continue;\n }\n if (propValue \x3d\x3d\x3d finishedWork) {\n break a;\n }\n for (; null \x3d\x3d\x3d propValue.sibling;) {\n if (null \x3d\x3d\x3d propValue.return || propValue.return \x3d\x3d\x3d finishedWork) {\n break a;\n }\n propKey \x3d\x3d\x3d propValue \x26\x26 (propKey \x3d null);\n propValue \x3d propValue.return;\n }\n propKey \x3d\x3d\x3d propValue \x26\x26 (propKey \x3d null);\n propValue.sibling.return \x3d propValue.return;\n propValue \x3d propValue.sibling;\n }\n }\n }\n break;\n case 19:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n lanes \x26 4 \x26\x26 attachSuspenseRetryListeners(finishedWork);\n break;\n case 21:\n break;\n default:\n recursivelyTraverseMutationEffects(root, finishedWork), commitReconciliationEffects(finishedWork);\n }\n }\n function commitReconciliationEffects(finishedWork) {\n var flags \x3d finishedWork.flags;\n if (flags \x26 2) {\n try {\n a: {\n for (var parent \x3d finishedWork.return; null !\x3d\x3d parent;) {\n if (isHostParent(parent)) {\n var parentFiber \x3d parent;\n break a;\n }\n parent \x3d parent.return;\n }\n throw Error(\x22Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n switch(parentFiber.tag) {\n case 5:\n var parent$jscomp$0 \x3d parentFiber.stateNode;\n parentFiber.flags \x26 32 \x26\x26 (setTextContent(parent$jscomp$0, \x22\x22), parentFiber.flags \x26\x3d -33);\n var before \x3d getHostSibling(finishedWork);\n insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);\n break;\n case 3:\n case 4:\n var _parent \x3d parentFiber.stateNode.containerInfo, _before \x3d getHostSibling(finishedWork);\n insertOrAppendPlacementNodeIntoContainer(finishedWork, _before, _parent);\n break;\n default:\n throw Error(\x22Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n finishedWork.flags \x26\x3d -3;\n }\n flags \x26 4096 \x26\x26 (finishedWork.flags \x26\x3d -4097);\n }\n function commitLayoutEffects(finishedWork, root, committedLanes) {\n inProgressLanes \x3d committedLanes;\n inProgressRoot \x3d root;\n nextEffect \x3d finishedWork;\n commitLayoutEffects_begin(finishedWork, root, committedLanes);\n inProgressRoot \x3d inProgressLanes \x3d null;\n }\n function commitLayoutEffects_begin(subtreeRoot, root, committedLanes) {\n for (var isModernRoot \x3d 0 !\x3d\x3d (subtreeRoot.mode \x26 1); null !\x3d\x3d nextEffect;) {\n var fiber \x3d nextEffect, firstChild \x3d fiber.child;\n if (22 \x3d\x3d\x3d fiber.tag \x26\x26 isModernRoot) {\n var newOffscreenSubtreeIsHidden \x3d null !\x3d\x3d fiber.memoizedState || offscreenSubtreeIsHidden;\n if (!newOffscreenSubtreeIsHidden) {\n var current \x3d fiber.alternate, newOffscreenSubtreeWasHidden \x3d null !\x3d\x3d current \x26\x26 null !\x3d\x3d current.memoizedState || offscreenSubtreeWasHidden;\n current \x3d offscreenSubtreeIsHidden;\n var prevOffscreenSubtreeWasHidden \x3d offscreenSubtreeWasHidden;\n offscreenSubtreeIsHidden \x3d newOffscreenSubtreeIsHidden;\n if ((offscreenSubtreeWasHidden \x3d newOffscreenSubtreeWasHidden) \x26\x26 !prevOffscreenSubtreeWasHidden) {\n for (newOffscreenSubtreeIsHidden \x3d nextEffect \x3d fiber; null !\x3d\x3d nextEffect;) {\n newOffscreenSubtreeWasHidden \x3d nextEffect;\n var firstChild$jscomp$0 \x3d newOffscreenSubtreeWasHidden.child;\n 22 \x3d\x3d\x3d newOffscreenSubtreeWasHidden.tag \x26\x26 null !\x3d\x3d newOffscreenSubtreeWasHidden.memoizedState ? reappearLayoutEffects_complete(newOffscreenSubtreeIsHidden) : null !\x3d\x3d firstChild$jscomp$0 ? (firstChild$jscomp$0.return \x3d newOffscreenSubtreeWasHidden, nextEffect \x3d firstChild$jscomp$0) : reappearLayoutEffects_complete(newOffscreenSubtreeIsHidden);\n }\n }\n for (; null !\x3d\x3d firstChild;) {\n nextEffect \x3d firstChild, commitLayoutEffects_begin(firstChild, root, committedLanes), firstChild \x3d firstChild.sibling;\n }\n nextEffect \x3d fiber;\n offscreenSubtreeIsHidden \x3d current;\n offscreenSubtreeWasHidden \x3d prevOffscreenSubtreeWasHidden;\n }\n commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes);\n } else {\n 0 !\x3d\x3d (fiber.subtreeFlags \x26 8772) \x26\x26 null !\x3d\x3d firstChild ? (firstChild.return \x3d fiber, nextEffect \x3d firstChild) : commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes);\n }\n }\n }\n function commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes) {\n for (; null !\x3d\x3d nextEffect;) {\n root \x3d nextEffect;\n if (0 !\x3d\x3d (root.flags \x26 8772)) {\n committedLanes \x3d root.alternate;\n setCurrentFiber(root);\n try {\n var current \x3d committedLanes;\n committedLanes \x3d root;\n if (0 !\x3d\x3d (committedLanes.flags \x26 8772)) {\n switch(committedLanes.tag) {\n case 0:\n case 11:\n case 15:\n if (!offscreenSubtreeWasHidden) {\n if (committedLanes.mode \x26 2) {\n try {\n startLayoutEffectTimer(), commitHookEffectListMount(Layout | HasEffect, committedLanes);\n } finally {\n recordLayoutEffectDuration(committedLanes);\n }\n } else {\n commitHookEffectListMount(Layout | HasEffect, committedLanes);\n }\n }\n break;\n case 1:\n var instance \x3d committedLanes.stateNode;\n if (committedLanes.flags \x26 4 \x26\x26 !offscreenSubtreeWasHidden) {\n if (null \x3d\x3d\x3d current) {\n if (committedLanes.type !\x3d\x3d committedLanes.elementType || didWarnAboutReassigningProps || (instance.props !\x3d\x3d committedLanes.memoizedProps \x26\x26 error(\x22Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\x22, getComponentNameFromFiber(committedLanes) || \x22instance\x22), instance.state !\x3d\x3d committedLanes.memoizedState \x26\x26 error(\x22Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\x22, \n getComponentNameFromFiber(committedLanes) || \x22instance\x22)), committedLanes.mode \x26 2) {\n try {\n startLayoutEffectTimer(), instance.componentDidMount();\n } finally {\n recordLayoutEffectDuration(committedLanes);\n }\n } else {\n instance.componentDidMount();\n }\n } else {\n var prevProps \x3d committedLanes.elementType \x3d\x3d\x3d committedLanes.type ? current.memoizedProps : resolveDefaultProps(committedLanes.type, current.memoizedProps), prevState \x3d current.memoizedState;\n committedLanes.type !\x3d\x3d committedLanes.elementType || didWarnAboutReassigningProps || (instance.props !\x3d\x3d committedLanes.memoizedProps \x26\x26 error(\x22Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\x22, getComponentNameFromFiber(committedLanes) || \x22instance\x22), instance.state !\x3d\x3d committedLanes.memoizedState \x26\x26 error(\x22Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\x22, \n getComponentNameFromFiber(committedLanes) || \x22instance\x22));\n if (committedLanes.mode \x26 2) {\n try {\n startLayoutEffectTimer(), instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate);\n } finally {\n recordLayoutEffectDuration(committedLanes);\n }\n } else {\n instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate);\n }\n }\n }\n var updateQueue \x3d committedLanes.updateQueue;\n null !\x3d\x3d updateQueue \x26\x26 (committedLanes.type !\x3d\x3d committedLanes.elementType || didWarnAboutReassigningProps || (instance.props !\x3d\x3d committedLanes.memoizedProps \x26\x26 error(\x22Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\x22, getComponentNameFromFiber(committedLanes) || \x22instance\x22), instance.state !\x3d\x3d committedLanes.memoizedState \x26\x26 \n error(\x22Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\x22, getComponentNameFromFiber(committedLanes) || \x22instance\x22)), commitUpdateQueue(committedLanes, updateQueue, instance));\n break;\n case 3:\n var _updateQueue \x3d committedLanes.updateQueue;\n if (null !\x3d\x3d _updateQueue) {\n var _instance \x3d null;\n if (null !\x3d\x3d committedLanes.child) {\n switch(committedLanes.child.tag) {\n case 5:\n _instance \x3d committedLanes.child.stateNode;\n break;\n case 1:\n _instance \x3d committedLanes.child.stateNode;\n }\n }\n commitUpdateQueue(committedLanes, _updateQueue, _instance);\n }\n break;\n case 5:\n var _instance2 \x3d committedLanes.stateNode;\n if (null \x3d\x3d\x3d current \x26\x26 committedLanes.flags \x26 4) {\n _instance \x3d _instance2;\n var newProps \x3d committedLanes.memoizedProps;\n switch(committedLanes.type) {\n case \x22button\x22:\n case \x22input\x22:\n case \x22select\x22:\n case \x22textarea\x22:\n newProps.autoFocus \x26\x26 _instance.focus();\n break;\n case \x22img\x22:\n newProps.src \x26\x26 (_instance.src \x3d newProps.src);\n }\n }\n break;\n case 6:\n break;\n case 4:\n break;\n case 12:\n var _finishedWork$memoize2 \x3d committedLanes.memoizedProps, onCommit \x3d _finishedWork$memoize2.onCommit, onRender \x3d _finishedWork$memoize2.onRender, effectDuration \x3d committedLanes.stateNode.effectDuration;\n _instance \x3d commitTime;\n current \x3d null \x3d\x3d\x3d current ? \x22mount\x22 : \x22update\x22;\n currentUpdateIsNested \x26\x26 (current \x3d \x22nested-update\x22);\n \x22function\x22 \x3d\x3d\x3d typeof onRender \x26\x26 onRender(committedLanes.memoizedProps.id, current, committedLanes.actualDuration, committedLanes.treeBaseDuration, committedLanes.actualStartTime, _instance);\n \x22function\x22 \x3d\x3d\x3d typeof onCommit \x26\x26 onCommit(committedLanes.memoizedProps.id, current, effectDuration, _instance);\n enqueuePendingPassiveProfilerEffect(committedLanes);\n var parentFiber \x3d committedLanes.return;\n a: for (; null !\x3d\x3d parentFiber;) {\n switch(parentFiber.tag) {\n case 3:\n parentFiber.stateNode.effectDuration +\x3d effectDuration;\n break a;\n case 12:\n parentFiber.stateNode.effectDuration +\x3d effectDuration;\n break a;\n }\n parentFiber \x3d parentFiber.return;\n }\n break;\n case 13:\n if (null \x3d\x3d\x3d committedLanes.memoizedState) {\n var current$jscomp$0 \x3d committedLanes.alternate;\n if (null !\x3d\x3d current$jscomp$0) {\n var prevState$jscomp$0 \x3d current$jscomp$0.memoizedState;\n if (null !\x3d\x3d prevState$jscomp$0) {\n var suspenseInstance \x3d prevState$jscomp$0.dehydrated;\n null !\x3d\x3d suspenseInstance \x26\x26 retryIfBlockedOn(suspenseInstance);\n }\n }\n }\n break;\n case 19:\n case 17:\n case 21:\n case 22:\n case 23:\n case 25:\n break;\n default:\n throw Error(\x22This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n }\n offscreenSubtreeWasHidden || committedLanes.flags \x26 512 \x26\x26 commitAttachRef(committedLanes);\n } catch (error) {\n captureCommitPhaseError(root, root.return, error);\n }\n resetCurrentFiber();\n }\n if (root \x3d\x3d\x3d subtreeRoot) {\n nextEffect \x3d null;\n break;\n }\n committedLanes \x3d root.sibling;\n if (null !\x3d\x3d committedLanes) {\n committedLanes.return \x3d root.return;\n nextEffect \x3d committedLanes;\n break;\n }\n nextEffect \x3d root.return;\n }\n }\n function disappearLayoutEffects_complete(subtreeRoot) {\n for (; null !\x3d\x3d nextEffect;) {\n var fiber \x3d nextEffect;\n if (fiber \x3d\x3d\x3d subtreeRoot) {\n nextEffect \x3d null;\n break;\n }\n var sibling \x3d fiber.sibling;\n if (null !\x3d\x3d sibling) {\n sibling.return \x3d fiber.return;\n nextEffect \x3d sibling;\n break;\n }\n nextEffect \x3d fiber.return;\n }\n }\n function reappearLayoutEffects_complete(subtreeRoot) {\n for (; null !\x3d\x3d nextEffect;) {\n var fiber \x3d nextEffect;\n setCurrentFiber(fiber);\n try {\n var node \x3d fiber;\n switch(node.tag) {\n case 0:\n case 11:\n case 15:\n if (node.mode \x26 2) {\n try {\n startLayoutEffectTimer();\n var current \x3d node, nearestMountedAncestor \x3d node.return;\n try {\n commitHookEffectListMount(Layout, current);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n } finally {\n recordLayoutEffectDuration(node);\n }\n } else {\n current \x3d node;\n var nearestMountedAncestor$jscomp$0 \x3d node.return;\n try {\n commitHookEffectListMount(Layout, current);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor$jscomp$0, error);\n }\n }\n break;\n case 1:\n var instance \x3d node.stateNode;\n if (\x22function\x22 \x3d\x3d\x3d typeof instance.componentDidMount) {\n current \x3d node;\n var nearestMountedAncestor$jscomp$1 \x3d node.return;\n try {\n instance.componentDidMount();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor$jscomp$1, error);\n }\n }\n current \x3d node;\n var nearestMountedAncestor$jscomp$2 \x3d node.return;\n try {\n commitAttachRef(current);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor$jscomp$2, error);\n }\n break;\n case 5:\n current \x3d node;\n var nearestMountedAncestor$jscomp$3 \x3d node.return;\n try {\n commitAttachRef(current);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor$jscomp$3, error);\n }\n }\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n resetCurrentFiber();\n if (fiber \x3d\x3d\x3d subtreeRoot) {\n nextEffect \x3d null;\n break;\n }\n node \x3d fiber.sibling;\n if (null !\x3d\x3d node) {\n node.return \x3d fiber.return;\n nextEffect \x3d node;\n break;\n }\n nextEffect \x3d fiber.return;\n }\n }\n function invokeLayoutEffectMountInDEV(fiber) {\n switch(fiber.tag) {\n case 0:\n case 11:\n case 15:\n try {\n commitHookEffectListMount(Layout | HasEffect, fiber);\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n break;\n case 1:\n var instance \x3d fiber.stateNode;\n try {\n instance.componentDidMount();\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n }\n }\n function invokePassiveEffectMountInDEV(fiber) {\n switch(fiber.tag) {\n case 0:\n case 11:\n case 15:\n try {\n commitHookEffectListMount(Passive$1 | HasEffect, fiber);\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n }\n }\n function invokeLayoutEffectUnmountInDEV(fiber) {\n switch(fiber.tag) {\n case 0:\n case 11:\n case 15:\n try {\n commitHookEffectListUnmount(Layout | HasEffect, fiber, fiber.return);\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n break;\n case 1:\n var instance \x3d fiber.stateNode;\n \x22function\x22 \x3d\x3d\x3d typeof instance.componentWillUnmount \x26\x26 safelyCallComponentWillUnmount(fiber, fiber.return, instance);\n }\n }\n function invokePassiveEffectUnmountInDEV(fiber) {\n switch(fiber.tag) {\n case 0:\n case 11:\n case 15:\n try {\n commitHookEffectListUnmount(Passive$1 | HasEffect, fiber, fiber.return);\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n }\n }\n function onCommitRoot$1() {\n commitHooks.forEach(function(commitHook) {\n return commitHook();\n });\n }\n function isConcurrentActEnvironment() {\n var isReactActEnvironmentGlobal \x3d \x22undefined\x22 !\x3d\x3d typeof IS_REACT_ACT_ENVIRONMENT ? IS_REACT_ACT_ENVIRONMENT : void 0;\n isReactActEnvironmentGlobal || null \x3d\x3d\x3d ReactCurrentActQueue.current || error(\x22The current testing environment is not configured to support act(...)\x22);\n return isReactActEnvironmentGlobal;\n }\n function resetRenderTimer() {\n workInProgressRootRenderTargetTime \x3d now() + RENDER_TIMEOUT_MS;\n }\n function requestEventTime() {\n return (executionContext \x26 (RenderContext | CommitContext)) !\x3d\x3d NoContext ? now() : -1 !\x3d\x3d currentEventTime ? currentEventTime : currentEventTime \x3d now();\n }\n function requestUpdateLane(fiber) {\n if (0 \x3d\x3d\x3d (fiber.mode \x26 1)) {\n return SyncLane;\n }\n if ((executionContext \x26 RenderContext) !\x3d\x3d NoContext \x26\x26 0 !\x3d\x3d workInProgressRootRenderLanes) {\n return workInProgressRootRenderLanes \x26 -workInProgressRootRenderLanes;\n }\n if (null !\x3d\x3d ReactCurrentBatchConfig$1.transition) {\n if (null !\x3d\x3d ReactCurrentBatchConfig$3.transition) {\n var transition \x3d ReactCurrentBatchConfig$3.transition;\n transition._updatedFibers || (transition._updatedFibers \x3d new Set());\n transition._updatedFibers.add(fiber);\n }\n 0 \x3d\x3d\x3d currentEventTransitionLane \x26\x26 (currentEventTransitionLane \x3d claimNextTransitionLane());\n return currentEventTransitionLane;\n }\n fiber \x3d currentUpdatePriority;\n if (0 !\x3d\x3d fiber) {\n return fiber;\n }\n fiber \x3d window.event;\n fiber \x3d void 0 \x3d\x3d\x3d fiber ? DefaultEventPriority : getEventPriority(fiber.type);\n return fiber;\n }\n function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {\n if (nestedUpdateCount \x3e NESTED_UPDATE_LIMIT) {\n throw nestedUpdateCount \x3d 0, rootWithNestedUpdates \x3d null, Error(\x22Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\x22);\n }\n nestedPassiveUpdateCount \x3e NESTED_PASSIVE_UPDATE_LIMIT \x26\x26 (nestedPassiveUpdateCount \x3d 0, rootWithPassiveNestedUpdates \x3d null, error(\x22Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn\x27t have a dependency array, or one of the dependencies changes on every render.\x22));\n isRunningInsertionEffect \x26\x26 error(\x22useInsertionEffect must not schedule updates.\x22);\n isFlushingPassiveEffects \x26\x26 (didScheduleUpdateDuringPassiveEffects \x3d !0);\n markRootUpdated(root, lane, eventTime);\n if (0 !\x3d\x3d (executionContext \x26 RenderContext) \x26\x26 root \x3d\x3d\x3d workInProgressRoot) {\n if (isRendering \x26\x26 !isUpdatingOpaqueValueInRenderPhase) {\n switch(fiber.tag) {\n case 0:\n case 11:\n case 15:\n root \x3d workInProgress \x26\x26 getComponentNameFromFiber(workInProgress) || \x22Unknown\x22;\n didWarnAboutUpdateInRenderForAnotherComponent.has(root) || (didWarnAboutUpdateInRenderForAnotherComponent.add(root), fiber \x3d getComponentNameFromFiber(fiber) || \x22Unknown\x22, error(\x22Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render\x22, fiber, root, root));\n break;\n case 1:\n didWarnAboutUpdateInRender || (error(\x22Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.\x22), didWarnAboutUpdateInRender \x3d !0);\n }\n }\n } else {\n isDevToolsPresent \x26\x26 addFiberToLanesMap(root, fiber, lane);\n a: {\n if (fiber.mode \x26 1) {\n if (!isConcurrentActEnvironment()) {\n break a;\n }\n } else {\n var JSCompiler_inline_result \x3d \x22undefined\x22 !\x3d\x3d typeof IS_REACT_ACT_ENVIRONMENT ? IS_REACT_ACT_ENVIRONMENT : void 0;\n JSCompiler_inline_result \x3d \x22undefined\x22 !\x3d\x3d typeof jest \x26\x26 !1 !\x3d\x3d JSCompiler_inline_result;\n if (!JSCompiler_inline_result || executionContext !\x3d\x3d NoContext || 0 !\x3d\x3d fiber.tag \x26\x26 11 !\x3d\x3d fiber.tag \x26\x26 15 !\x3d\x3d fiber.tag) {\n break a;\n }\n }\n if (null \x3d\x3d\x3d ReactCurrentActQueue$1.current) {\n JSCompiler_inline_result \x3d current;\n try {\n setCurrentFiber(fiber), error(\x22An update to %s inside a test was not wrapped in act(...).\\n\\nWhen testing, code that causes React state updates should be wrapped into act(...):\\n\\nact(() \\x3d\\x3e {\\n /* fire events that update state */\\n});\\n/* assert on the output */\\n\\nThis ensures that you\x27re testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act\x22, getComponentNameFromFiber(fiber));\n } finally {\n JSCompiler_inline_result ? setCurrentFiber(fiber) : resetCurrentFiber();\n }\n }\n }\n root \x3d\x3d\x3d workInProgressRoot \x26\x26 ((executionContext \x26 RenderContext) \x3d\x3d\x3d NoContext \x26\x26 (workInProgressRootInterleavedUpdatedLanes |\x3d lane), workInProgressRootExitStatus \x3d\x3d\x3d RootSuspendedWithDelay \x26\x26 markRootSuspended$1(root, workInProgressRootRenderLanes));\n ensureRootIsScheduled(root, eventTime);\n lane !\x3d\x3d SyncLane || executionContext !\x3d\x3d NoContext || 0 !\x3d\x3d (fiber.mode \x26 1) || ReactCurrentActQueue$1.isBatchingLegacy || (resetRenderTimer(), includesLegacySyncCallbacks \x26\x26 flushSyncCallbacks());\n }\n }\n function ensureRootIsScheduled(root, currentTime) {\n var existingCallbackNode \x3d root.callbackNode;\n markStarvedLanesAsExpired(root, currentTime);\n var nextLanes \x3d getNextLanes(root, root \x3d\x3d\x3d workInProgressRoot ? workInProgressRootRenderLanes : 0);\n if (0 \x3d\x3d\x3d nextLanes) {\n null !\x3d\x3d existingCallbackNode \x26\x26 cancelCallback$1(existingCallbackNode), root.callbackNode \x3d null, root.callbackPriority \x3d 0;\n } else {\n currentTime \x3d nextLanes \x26 -nextLanes;\n var existingCallbackPriority \x3d root.callbackPriority;\n if (existingCallbackPriority !\x3d\x3d currentTime || null !\x3d\x3d ReactCurrentActQueue$1.current \x26\x26 existingCallbackNode !\x3d\x3d fakeActCallbackNode) {\n null !\x3d existingCallbackNode \x26\x26 cancelCallback$1(existingCallbackNode);\n if (currentTime \x3d\x3d\x3d SyncLane) {\n 0 \x3d\x3d\x3d root.tag ? (null !\x3d\x3d ReactCurrentActQueue$1.isBatchingLegacy \x26\x26 (ReactCurrentActQueue$1.didScheduleLegacyUpdate \x3d !0), scheduleLegacySyncCallback(performSyncWorkOnRoot.bind(null, root))) : scheduleSyncCallback(performSyncWorkOnRoot.bind(null, root)), null !\x3d\x3d ReactCurrentActQueue$1.current ? ReactCurrentActQueue$1.current.push(flushSyncCallbacks) : scheduleMicrotask(function() {\n (executionContext \x26 (RenderContext | CommitContext)) \x3d\x3d\x3d NoContext \x26\x26 flushSyncCallbacks();\n }), existingCallbackNode \x3d null;\n } else {\n switch(lanesToEventPriority(nextLanes)) {\n case DiscreteEventPriority:\n existingCallbackNode \x3d ImmediatePriority;\n break;\n case ContinuousEventPriority:\n existingCallbackNode \x3d UserBlockingPriority;\n break;\n case DefaultEventPriority:\n existingCallbackNode \x3d NormalPriority;\n break;\n case IdleEventPriority:\n existingCallbackNode \x3d IdlePriority;\n break;\n default:\n existingCallbackNode \x3d NormalPriority;\n }\n existingCallbackNode \x3d scheduleCallback$1(existingCallbackNode, performConcurrentWorkOnRoot.bind(null, root));\n }\n root.callbackPriority \x3d currentTime;\n root.callbackNode \x3d existingCallbackNode;\n } else {\n null \x3d\x3d existingCallbackNode \x26\x26 existingCallbackPriority !\x3d\x3d SyncLane \x26\x26 error(\x22Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n }\n }\n function performConcurrentWorkOnRoot(root, didTimeout) {\n nestedUpdateScheduled \x3d currentUpdateIsNested \x3d !1;\n currentEventTime \x3d -1;\n currentEventTransitionLane \x3d 0;\n if ((executionContext \x26 (RenderContext | CommitContext)) !\x3d\x3d NoContext) {\n throw Error(\x22Should not already be working.\x22);\n }\n var originalCallbackNode \x3d root.callbackNode;\n if (flushPassiveEffects() \x26\x26 root.callbackNode !\x3d\x3d originalCallbackNode) {\n return null;\n }\n var lanes \x3d getNextLanes(root, root \x3d\x3d\x3d workInProgressRoot ? workInProgressRootRenderLanes : 0);\n if (0 \x3d\x3d\x3d lanes) {\n return null;\n }\n if (0 !\x3d\x3d (lanes \x26 (InputContinuousHydrationLane | InputContinuousLane | DefaultHydrationLane | DefaultLane)) || 0 !\x3d\x3d (lanes \x26 root.expiredLanes) || didTimeout) {\n didTimeout \x3d renderRootSync(root, lanes);\n } else {\n didTimeout \x3d lanes;\n var prevExecutionContext \x3d executionContext;\n executionContext |\x3d RenderContext;\n var prevDispatcher \x3d pushDispatcher();\n if (workInProgressRoot !\x3d\x3d root || workInProgressRootRenderLanes !\x3d\x3d didTimeout) {\n if (isDevToolsPresent) {\n var memoizedUpdaters \x3d root.memoizedUpdaters;\n 0 \x3c memoizedUpdaters.size \x26\x26 (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear());\n movePendingFibersToMemoized(root, didTimeout);\n }\n workInProgressTransitions \x3d null;\n resetRenderTimer();\n prepareFreshStack(root, didTimeout);\n }\n markRenderStarted(didTimeout);\n do {\n try {\n workLoopConcurrent();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n } while (1);\n resetContextDependencies();\n ReactCurrentDispatcher$2.current \x3d prevDispatcher;\n executionContext \x3d prevExecutionContext;\n null !\x3d\x3d workInProgress ? (null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markRenderYielded \x26\x26 injectedProfilingHooks.markRenderYielded(), didTimeout \x3d RootInProgress) : (markRenderStopped(), workInProgressRoot \x3d null, workInProgressRootRenderLanes \x3d 0, didTimeout \x3d workInProgressRootExitStatus);\n }\n if (didTimeout !\x3d\x3d RootInProgress) {\n didTimeout \x3d\x3d\x3d RootErrored \x26\x26 (prevExecutionContext \x3d getLanesToRetrySynchronouslyOnError(root), 0 !\x3d\x3d prevExecutionContext \x26\x26 (lanes \x3d prevExecutionContext, didTimeout \x3d recoverFromConcurrentError(root, prevExecutionContext)));\n if (didTimeout \x3d\x3d\x3d RootFatalErrored) {\n throw originalCallbackNode \x3d workInProgressRootFatalError, prepareFreshStack(root, 0), markRootSuspended$1(root, lanes), ensureRootIsScheduled(root, now()), originalCallbackNode;\n }\n if (didTimeout \x3d\x3d\x3d RootDidNotComplete) {\n markRootSuspended$1(root, lanes);\n } else {\n prevExecutionContext \x3d root.current.alternate;\n if (0 \x3d\x3d\x3d (lanes \x26 (InputContinuousHydrationLane | InputContinuousLane | DefaultHydrationLane | DefaultLane)) \x26\x26 !isRenderConsistentWithExternalStores(prevExecutionContext) \x26\x26 (didTimeout \x3d renderRootSync(root, lanes), didTimeout \x3d\x3d\x3d RootErrored \x26\x26 (prevDispatcher \x3d getLanesToRetrySynchronouslyOnError(root), 0 !\x3d\x3d prevDispatcher \x26\x26 (lanes \x3d prevDispatcher, didTimeout \x3d recoverFromConcurrentError(root, prevDispatcher))), didTimeout \x3d\x3d\x3d RootFatalErrored)) {\n throw originalCallbackNode \x3d workInProgressRootFatalError, prepareFreshStack(root, 0), markRootSuspended$1(root, lanes), ensureRootIsScheduled(root, now()), originalCallbackNode;\n }\n root.finishedWork \x3d prevExecutionContext;\n root.finishedLanes \x3d lanes;\n switch(didTimeout) {\n case RootInProgress:\n case RootFatalErrored:\n throw Error(\x22Root did not complete. This is a bug in React.\x22);\n case RootErrored:\n commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);\n break;\n case RootSuspended:\n markRootSuspended$1(root, lanes);\n if ((lanes \x26 RetryLanes) \x3d\x3d\x3d lanes \x26\x26 null \x3d\x3d\x3d ReactCurrentActQueue$1.current \x26\x26 (didTimeout \x3d globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now(), 10 \x3c didTimeout)) {\n if (0 !\x3d\x3d getNextLanes(root, 0)) {\n break;\n }\n prevExecutionContext \x3d root.suspendedLanes;\n if ((prevExecutionContext \x26 lanes) !\x3d\x3d lanes) {\n requestEventTime();\n root.pingedLanes |\x3d root.suspendedLanes \x26 prevExecutionContext;\n break;\n }\n root.timeoutHandle \x3d scheduleTimeout(commitRoot.bind(null, root, workInProgressRootRecoverableErrors, workInProgressTransitions), didTimeout);\n break;\n }\n commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);\n break;\n case RootSuspendedWithDelay:\n markRootSuspended$1(root, lanes);\n if ((lanes \x26 TransitionLanes) \x3d\x3d\x3d lanes) {\n break;\n }\n if (null \x3d\x3d\x3d ReactCurrentActQueue$1.current) {\n didTimeout \x3d root.eventTimes;\n for (prevExecutionContext \x3d -1; 0 \x3c lanes;) {\n memoizedUpdaters \x3d 31 - clz32(lanes), prevDispatcher \x3d 1 \x3c\x3c memoizedUpdaters, memoizedUpdaters \x3d didTimeout[memoizedUpdaters], memoizedUpdaters \x3e prevExecutionContext \x26\x26 (prevExecutionContext \x3d memoizedUpdaters), lanes \x26\x3d ~prevDispatcher;\n }\n lanes \x3d prevExecutionContext;\n lanes \x3d now() - lanes;\n lanes \x3d (120 \x3e lanes ? 120 : 480 \x3e lanes ? 480 : 1080 \x3e lanes ? 1080 : 1920 \x3e lanes ? 1920 : 3000 \x3e lanes ? 3000 : 4320 \x3e lanes ? 4320 : 1960 * ceil(lanes / 1960)) - lanes;\n if (10 \x3c lanes) {\n root.timeoutHandle \x3d scheduleTimeout(commitRoot.bind(null, root, workInProgressRootRecoverableErrors, workInProgressTransitions), lanes);\n break;\n }\n }\n commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);\n break;\n case RootCompleted:\n commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);\n break;\n default:\n throw Error(\x22Unknown root exit status.\x22);\n }\n }\n }\n ensureRootIsScheduled(root, now());\n return root.callbackNode \x3d\x3d\x3d originalCallbackNode ? performConcurrentWorkOnRoot.bind(null, root) : null;\n }\n function recoverFromConcurrentError(root, errorRetryLanes) {\n var errorsFromFirstAttempt \x3d workInProgressRootConcurrentErrors;\n root.current.memoizedState.isDehydrated \x26\x26 (prepareFreshStack(root, errorRetryLanes).flags |\x3d 256, error(\x22An error occurred during hydration. The server HTML was replaced with client content in \\x3c%s\\x3e.\x22, root.containerInfo.nodeName.toLowerCase()));\n root \x3d renderRootSync(root, errorRetryLanes);\n root !\x3d\x3d RootErrored \x26\x26 (errorRetryLanes \x3d workInProgressRootRecoverableErrors, workInProgressRootRecoverableErrors \x3d errorsFromFirstAttempt, null !\x3d\x3d errorRetryLanes \x26\x26 queueRecoverableErrors(errorRetryLanes));\n return root;\n }\n function queueRecoverableErrors(errors) {\n null \x3d\x3d\x3d workInProgressRootRecoverableErrors ? workInProgressRootRecoverableErrors \x3d errors : workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors, errors);\n }\n function isRenderConsistentWithExternalStores(finishedWork) {\n for (var node \x3d finishedWork;;) {\n if (node.flags \x26 16384) {\n var updateQueue \x3d node.updateQueue;\n if (null !\x3d\x3d updateQueue \x26\x26 (updateQueue \x3d updateQueue.stores, null !\x3d\x3d updateQueue)) {\n for (var i \x3d 0; i \x3c updateQueue.length; i++) {\n var check \x3d updateQueue[i], getSnapshot \x3d check.getSnapshot;\n check \x3d check.value;\n try {\n if (!objectIs(getSnapshot(), check)) {\n return !1;\n }\n } catch (error) {\n return !1;\n }\n }\n }\n }\n updateQueue \x3d node.child;\n if (node.subtreeFlags \x26 16384 \x26\x26 null !\x3d\x3d updateQueue) {\n updateQueue.return \x3d node, node \x3d updateQueue;\n } else {\n if (node \x3d\x3d\x3d finishedWork) {\n break;\n }\n for (; null \x3d\x3d\x3d node.sibling;) {\n if (null \x3d\x3d\x3d node.return || node.return \x3d\x3d\x3d finishedWork) {\n return !0;\n }\n node \x3d node.return;\n }\n node.sibling.return \x3d node.return;\n node \x3d node.sibling;\n }\n }\n return !0;\n }\n function markRootSuspended$1(root, suspendedLanes) {\n suspendedLanes \x26\x3d ~workInProgressRootPingedLanes;\n suspendedLanes \x26\x3d ~workInProgressRootInterleavedUpdatedLanes;\n root.suspendedLanes |\x3d suspendedLanes;\n root.pingedLanes \x26\x3d ~suspendedLanes;\n for (root \x3d root.expirationTimes; 0 \x3c suspendedLanes;) {\n var index \x3d 31 - clz32(suspendedLanes), lane \x3d 1 \x3c\x3c index;\n root[index] \x3d -1;\n suspendedLanes \x26\x3d ~lane;\n }\n }\n function performSyncWorkOnRoot(root) {\n currentUpdateIsNested \x3d nestedUpdateScheduled;\n nestedUpdateScheduled \x3d !1;\n if ((executionContext \x26 (RenderContext | CommitContext)) !\x3d\x3d NoContext) {\n throw Error(\x22Should not already be working.\x22);\n }\n flushPassiveEffects();\n var lanes \x3d getNextLanes(root, 0);\n if (0 \x3d\x3d\x3d (lanes \x26 SyncLane)) {\n return ensureRootIsScheduled(root, now()), null;\n }\n var exitStatus \x3d renderRootSync(root, lanes);\n if (0 !\x3d\x3d root.tag \x26\x26 exitStatus \x3d\x3d\x3d RootErrored) {\n var errorRetryLanes \x3d getLanesToRetrySynchronouslyOnError(root);\n 0 !\x3d\x3d errorRetryLanes \x26\x26 (lanes \x3d errorRetryLanes, exitStatus \x3d recoverFromConcurrentError(root, errorRetryLanes));\n }\n if (exitStatus \x3d\x3d\x3d RootFatalErrored) {\n throw exitStatus \x3d workInProgressRootFatalError, prepareFreshStack(root, 0), markRootSuspended$1(root, lanes), ensureRootIsScheduled(root, now()), exitStatus;\n }\n if (exitStatus \x3d\x3d\x3d RootDidNotComplete) {\n throw Error(\x22Root did not complete. This is a bug in React.\x22);\n }\n root.finishedWork \x3d root.current.alternate;\n root.finishedLanes \x3d lanes;\n commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);\n ensureRootIsScheduled(root, now());\n return null;\n }\n function flushRoot(root, lanes) {\n 0 !\x3d\x3d lanes \x26\x26 (markRootEntangled(root, lanes | SyncLane), ensureRootIsScheduled(root, now()), (executionContext \x26 (RenderContext | CommitContext)) \x3d\x3d\x3d NoContext \x26\x26 (resetRenderTimer(), flushSyncCallbacks()));\n }\n function batchedUpdates$1(fn, a) {\n var prevExecutionContext \x3d executionContext;\n executionContext |\x3d 1;\n try {\n return fn(a);\n } finally {\n executionContext \x3d prevExecutionContext, executionContext !\x3d\x3d NoContext || ReactCurrentActQueue$1.isBatchingLegacy || (resetRenderTimer(), includesLegacySyncCallbacks \x26\x26 flushSyncCallbacks());\n }\n }\n function flushSync(fn) {\n null !\x3d\x3d rootWithPendingPassiveEffects \x26\x26 0 \x3d\x3d\x3d rootWithPendingPassiveEffects.tag \x26\x26 (executionContext \x26 (RenderContext | CommitContext)) \x3d\x3d\x3d NoContext \x26\x26 flushPassiveEffects();\n var prevExecutionContext \x3d executionContext;\n executionContext |\x3d 1;\n var prevTransition \x3d ReactCurrentBatchConfig$3.transition, previousPriority \x3d currentUpdatePriority;\n try {\n if (ReactCurrentBatchConfig$3.transition \x3d null, currentUpdatePriority \x3d DiscreteEventPriority, fn) {\n return fn();\n }\n } finally {\n currentUpdatePriority \x3d previousPriority, ReactCurrentBatchConfig$3.transition \x3d prevTransition, executionContext \x3d prevExecutionContext, (executionContext \x26 (RenderContext | CommitContext)) \x3d\x3d\x3d NoContext \x26\x26 flushSyncCallbacks();\n }\n }\n function pushRenderLanes(fiber, lanes) {\n push(subtreeRenderLanesCursor, subtreeRenderLanes, fiber);\n subtreeRenderLanes |\x3d lanes;\n }\n function popRenderLanes(fiber) {\n subtreeRenderLanes \x3d subtreeRenderLanesCursor.current;\n pop(subtreeRenderLanesCursor, fiber);\n }\n function prepareFreshStack(root, lanes) {\n root.finishedWork \x3d null;\n root.finishedLanes \x3d 0;\n var timeoutHandle \x3d root.timeoutHandle;\n -1 !\x3d\x3d timeoutHandle \x26\x26 (root.timeoutHandle \x3d -1, cancelTimeout(timeoutHandle));\n if (null !\x3d\x3d workInProgress) {\n for (timeoutHandle \x3d workInProgress.return; null !\x3d\x3d timeoutHandle;) {\n unwindInterruptedWork(timeoutHandle.alternate, timeoutHandle), timeoutHandle \x3d timeoutHandle.return;\n }\n }\n workInProgressRoot \x3d root;\n workInProgress \x3d root \x3d createWorkInProgress(root.current, null);\n workInProgressRootRenderLanes \x3d subtreeRenderLanes \x3d lanes;\n workInProgressRootExitStatus \x3d RootInProgress;\n workInProgressRootFatalError \x3d null;\n workInProgressRootPingedLanes \x3d workInProgressRootInterleavedUpdatedLanes \x3d workInProgressRootSkippedLanes \x3d 0;\n workInProgressRootRecoverableErrors \x3d workInProgressRootConcurrentErrors \x3d null;\n if (null !\x3d\x3d concurrentQueues) {\n for (lanes \x3d 0; lanes \x3c concurrentQueues.length; lanes++) {\n timeoutHandle \x3d concurrentQueues[lanes];\n var lastInterleavedUpdate \x3d timeoutHandle.interleaved;\n if (null !\x3d\x3d lastInterleavedUpdate) {\n timeoutHandle.interleaved \x3d null;\n var firstInterleavedUpdate \x3d lastInterleavedUpdate.next, lastPendingUpdate \x3d timeoutHandle.pending;\n if (null !\x3d\x3d lastPendingUpdate) {\n var firstPendingUpdate \x3d lastPendingUpdate.next;\n lastPendingUpdate.next \x3d firstInterleavedUpdate;\n lastInterleavedUpdate.next \x3d firstPendingUpdate;\n }\n timeoutHandle.pending \x3d lastInterleavedUpdate;\n }\n }\n concurrentQueues \x3d null;\n }\n ReactStrictModeWarnings.discardPendingWarnings();\n return root;\n }\n function handleError(root$jscomp$0, thrownValue) {\n do {\n var erroredWork \x3d workInProgress;\n try {\n resetContextDependencies();\n resetHooksAfterThrow();\n resetCurrentFiber();\n ReactCurrentOwner$2.current \x3d null;\n if (null \x3d\x3d\x3d erroredWork || null \x3d\x3d\x3d erroredWork.return) {\n workInProgressRootExitStatus \x3d RootFatalErrored;\n workInProgressRootFatalError \x3d thrownValue;\n workInProgress \x3d null;\n break;\n }\n erroredWork.mode \x26 2 \x26\x26 stopProfilerTimerIfRunningAndRecordDelta(erroredWork, !0);\n markComponentRenderStopped();\n if (null !\x3d\x3d thrownValue \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof thrownValue \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof thrownValue.then) {\n var wakeable \x3d thrownValue;\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentSuspended \x26\x26 injectedProfilingHooks.markComponentSuspended(erroredWork, wakeable, workInProgressRootRenderLanes);\n } else {\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markComponentErrored \x26\x26 injectedProfilingHooks.markComponentErrored(erroredWork, thrownValue, workInProgressRootRenderLanes);\n }\n a: {\n var root \x3d root$jscomp$0, returnFiber \x3d erroredWork.return, sourceFiber \x3d erroredWork;\n wakeable \x3d thrownValue;\n thrownValue \x3d workInProgressRootRenderLanes;\n sourceFiber.flags |\x3d 32768;\n isDevToolsPresent \x26\x26 restorePendingUpdaters(root, thrownValue);\n if (null !\x3d\x3d wakeable \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof wakeable \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof wakeable.then) {\n var wakeable$jscomp$0 \x3d wakeable, sourceFiber$jscomp$0 \x3d sourceFiber, tag \x3d sourceFiber$jscomp$0.tag;\n if (0 \x3d\x3d\x3d (sourceFiber$jscomp$0.mode \x26 1) \x26\x26 (0 \x3d\x3d\x3d tag || 11 \x3d\x3d\x3d tag || 15 \x3d\x3d\x3d tag)) {\n var currentSource \x3d sourceFiber$jscomp$0.alternate;\n currentSource ? (sourceFiber$jscomp$0.updateQueue \x3d currentSource.updateQueue, sourceFiber$jscomp$0.memoizedState \x3d currentSource.memoizedState, sourceFiber$jscomp$0.lanes \x3d currentSource.lanes) : (sourceFiber$jscomp$0.updateQueue \x3d null, sourceFiber$jscomp$0.memoizedState \x3d null);\n }\n isHydrating \x26\x26 sourceFiber.mode \x26 1 \x26\x26 (didSuspendOrErrorDEV \x3d !0);\n var suspenseBoundary \x3d getNearestSuspenseBoundaryToCapture(returnFiber);\n if (null !\x3d\x3d suspenseBoundary) {\n suspenseBoundary.flags \x26\x3d -257;\n markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root, thrownValue);\n suspenseBoundary.mode \x26 1 \x26\x26 attachPingListener(root, wakeable$jscomp$0, thrownValue);\n thrownValue \x3d suspenseBoundary;\n wakeable \x3d wakeable$jscomp$0;\n var wakeables \x3d thrownValue.updateQueue;\n if (null \x3d\x3d\x3d wakeables) {\n var updateQueue \x3d new Set();\n updateQueue.add(wakeable);\n thrownValue.updateQueue \x3d updateQueue;\n } else {\n wakeables.add(wakeable);\n }\n break a;\n } else {\n if (0 \x3d\x3d\x3d (thrownValue \x26 SyncLane)) {\n attachPingListener(root, wakeable$jscomp$0, thrownValue);\n renderDidSuspendDelayIfPossible();\n break a;\n }\n wakeable \x3d Error(\x22A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.\x22);\n }\n } else {\n if (isHydrating \x26\x26 sourceFiber.mode \x26 1) {\n didSuspendOrErrorDEV \x3d !0;\n var _suspenseBoundary \x3d getNearestSuspenseBoundaryToCapture(returnFiber);\n if (null !\x3d\x3d _suspenseBoundary) {\n 0 \x3d\x3d\x3d (_suspenseBoundary.flags \x26 65536) \x26\x26 (_suspenseBoundary.flags |\x3d 256);\n markSuspenseBoundaryShouldCapture(_suspenseBoundary, returnFiber, sourceFiber, root, thrownValue);\n queueHydrationError(createCapturedValueAtFiber(wakeable, sourceFiber));\n break a;\n }\n }\n }\n root \x3d wakeable \x3d createCapturedValueAtFiber(wakeable, sourceFiber);\n workInProgressRootExitStatus !\x3d\x3d RootSuspendedWithDelay \x26\x26 (workInProgressRootExitStatus \x3d RootErrored);\n null \x3d\x3d\x3d workInProgressRootConcurrentErrors ? workInProgressRootConcurrentErrors \x3d [root] : workInProgressRootConcurrentErrors.push(root);\n root \x3d returnFiber;\n do {\n switch(root.tag) {\n case 3:\n root.flags |\x3d 65536;\n thrownValue \x26\x3d -thrownValue;\n root.lanes |\x3d thrownValue;\n var update \x3d createRootErrorUpdate(root, wakeable, thrownValue);\n enqueueCapturedUpdate(root, update);\n break a;\n case 1:\n sourceFiber \x3d wakeable;\n var ctor \x3d root.type, instance \x3d root.stateNode;\n if (0 \x3d\x3d\x3d (root.flags \x26 128) \x26\x26 (\x22function\x22 \x3d\x3d\x3d typeof ctor.getDerivedStateFromError || null !\x3d\x3d instance \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof instance.componentDidCatch \x26\x26 (null \x3d\x3d\x3d legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) {\n root.flags |\x3d 65536;\n thrownValue \x26\x3d -thrownValue;\n root.lanes |\x3d thrownValue;\n var _update \x3d createClassErrorUpdate(root, sourceFiber, thrownValue);\n enqueueCapturedUpdate(root, _update);\n break a;\n }\n }\n root \x3d root.return;\n } while (null !\x3d\x3d root);\n }\n completeUnitOfWork(erroredWork);\n } catch (yetAnotherThrownValue) {\n thrownValue \x3d yetAnotherThrownValue;\n workInProgress \x3d\x3d\x3d erroredWork \x26\x26 null !\x3d\x3d erroredWork \x26\x26 (workInProgress \x3d erroredWork \x3d erroredWork.return);\n continue;\n }\n break;\n } while (1);\n }\n function pushDispatcher() {\n var prevDispatcher \x3d ReactCurrentDispatcher$2.current;\n ReactCurrentDispatcher$2.current \x3d ContextOnlyDispatcher;\n return null \x3d\x3d\x3d prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n }\n function renderDidSuspendDelayIfPossible() {\n if (workInProgressRootExitStatus \x3d\x3d\x3d RootInProgress || workInProgressRootExitStatus \x3d\x3d\x3d RootSuspended || workInProgressRootExitStatus \x3d\x3d\x3d RootErrored) {\n workInProgressRootExitStatus \x3d RootSuspendedWithDelay;\n }\n null \x3d\x3d\x3d workInProgressRoot || 0 \x3d\x3d\x3d (workInProgressRootSkippedLanes \x26 268435455) \x26\x26 0 \x3d\x3d\x3d (workInProgressRootInterleavedUpdatedLanes \x26 268435455) || markRootSuspended$1(workInProgressRoot, workInProgressRootRenderLanes);\n }\n function renderRootSync(root, lanes) {\n var prevExecutionContext \x3d executionContext;\n executionContext |\x3d RenderContext;\n var prevDispatcher \x3d pushDispatcher();\n if (workInProgressRoot !\x3d\x3d root || workInProgressRootRenderLanes !\x3d\x3d lanes) {\n if (isDevToolsPresent) {\n var memoizedUpdaters \x3d root.memoizedUpdaters;\n 0 \x3c memoizedUpdaters.size \x26\x26 (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear());\n movePendingFibersToMemoized(root, lanes);\n }\n workInProgressTransitions \x3d null;\n prepareFreshStack(root, lanes);\n }\n markRenderStarted(lanes);\n do {\n try {\n workLoopSync();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n } while (1);\n resetContextDependencies();\n executionContext \x3d prevExecutionContext;\n ReactCurrentDispatcher$2.current \x3d prevDispatcher;\n if (null !\x3d\x3d workInProgress) {\n throw Error(\x22Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n markRenderStopped();\n workInProgressRoot \x3d null;\n workInProgressRootRenderLanes \x3d 0;\n return workInProgressRootExitStatus;\n }\n function workLoopSync() {\n for (; null !\x3d\x3d workInProgress;) {\n performUnitOfWork(workInProgress);\n }\n }\n function workLoopConcurrent() {\n for (; null !\x3d\x3d workInProgress \x26\x26 !shouldYield();) {\n performUnitOfWork(workInProgress);\n }\n }\n function performUnitOfWork(unitOfWork) {\n var current \x3d unitOfWork.alternate;\n setCurrentFiber(unitOfWork);\n 0 !\x3d\x3d (unitOfWork.mode \x26 2) ? (startProfilerTimer(unitOfWork), current \x3d beginWork$1(current, unitOfWork, subtreeRenderLanes), stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, !0)) : current \x3d beginWork$1(current, unitOfWork, subtreeRenderLanes);\n resetCurrentFiber();\n unitOfWork.memoizedProps \x3d unitOfWork.pendingProps;\n null \x3d\x3d\x3d current ? completeUnitOfWork(unitOfWork) : workInProgress \x3d current;\n ReactCurrentOwner$2.current \x3d null;\n }\n function completeUnitOfWork(unitOfWork) {\n var completedWork \x3d unitOfWork;\n do {\n var current \x3d completedWork.alternate;\n unitOfWork \x3d completedWork.return;\n if (0 \x3d\x3d\x3d (completedWork.flags \x26 32768)) {\n if (setCurrentFiber(completedWork), 0 \x3d\x3d\x3d (completedWork.mode \x26 2) ? current \x3d completeWork(current, completedWork, subtreeRenderLanes) : (startProfilerTimer(completedWork), current \x3d completeWork(current, completedWork, subtreeRenderLanes), stopProfilerTimerIfRunningAndRecordDelta(completedWork, !1)), resetCurrentFiber(), null !\x3d\x3d current) {\n workInProgress \x3d current;\n return;\n }\n } else {\n current \x3d unwindWork(current, completedWork);\n if (null !\x3d\x3d current) {\n current.flags \x26\x3d 32767;\n workInProgress \x3d current;\n return;\n }\n if (0 !\x3d\x3d (completedWork.mode \x26 2)) {\n stopProfilerTimerIfRunningAndRecordDelta(completedWork, !1);\n current \x3d completedWork.actualDuration;\n for (var child \x3d completedWork.child; null !\x3d\x3d child;) {\n current +\x3d child.actualDuration, child \x3d child.sibling;\n }\n completedWork.actualDuration \x3d current;\n }\n if (null !\x3d\x3d unitOfWork) {\n unitOfWork.flags |\x3d 32768, unitOfWork.subtreeFlags \x3d 0, unitOfWork.deletions \x3d null;\n } else {\n workInProgressRootExitStatus \x3d RootDidNotComplete;\n workInProgress \x3d null;\n return;\n }\n }\n completedWork \x3d completedWork.sibling;\n if (null !\x3d\x3d completedWork) {\n workInProgress \x3d completedWork;\n return;\n }\n workInProgress \x3d completedWork \x3d unitOfWork;\n } while (null !\x3d\x3d completedWork);\n workInProgressRootExitStatus \x3d\x3d\x3d RootInProgress \x26\x26 (workInProgressRootExitStatus \x3d RootCompleted);\n }\n function commitRoot(root, recoverableErrors, transitions) {\n var previousUpdateLanePriority \x3d currentUpdatePriority, prevTransition \x3d ReactCurrentBatchConfig$3.transition;\n try {\n ReactCurrentBatchConfig$3.transition \x3d null, currentUpdatePriority \x3d DiscreteEventPriority, commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority);\n } finally {\n ReactCurrentBatchConfig$3.transition \x3d prevTransition, currentUpdatePriority \x3d previousUpdateLanePriority;\n }\n return null;\n }\n function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) {\n do {\n flushPassiveEffects();\n } while (null !\x3d\x3d rootWithPendingPassiveEffects);\n ReactStrictModeWarnings.flushLegacyContextWarning();\n ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();\n if ((executionContext \x26 (RenderContext | CommitContext)) !\x3d\x3d NoContext) {\n throw Error(\x22Should not already be working.\x22);\n }\n transitions \x3d root.finishedWork;\n var lanes \x3d root.finishedLanes;\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markCommitStarted \x26\x26 injectedProfilingHooks.markCommitStarted(lanes);\n if (null \x3d\x3d\x3d transitions) {\n return markCommitStopped(), null;\n }\n 0 \x3d\x3d\x3d lanes \x26\x26 error(\x22root.finishedLanes should not be empty during a commit. This is a bug in React.\x22);\n root.finishedWork \x3d null;\n root.finishedLanes \x3d 0;\n if (transitions \x3d\x3d\x3d root.current) {\n throw Error(\x22Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n root.callbackNode \x3d null;\n root.callbackPriority \x3d 0;\n var remainingLanes \x3d transitions.lanes | transitions.childLanes;\n markRootFinished(root, remainingLanes);\n root \x3d\x3d\x3d workInProgressRoot \x26\x26 (workInProgress \x3d workInProgressRoot \x3d null, workInProgressRootRenderLanes \x3d 0);\n 0 \x3d\x3d\x3d (transitions.subtreeFlags \x26 2064) \x26\x26 0 \x3d\x3d\x3d (transitions.flags \x26 2064) || rootDoesHavePassiveEffects || (rootDoesHavePassiveEffects \x3d !0, scheduleCallback$1(NormalPriority, function() {\n flushPassiveEffects();\n return null;\n }));\n remainingLanes \x3d 0 !\x3d\x3d (transitions.flags \x26 15990);\n if (0 !\x3d\x3d (transitions.subtreeFlags \x26 15990) || remainingLanes) {\n remainingLanes \x3d ReactCurrentBatchConfig$3.transition;\n ReactCurrentBatchConfig$3.transition \x3d null;\n var previousPriority \x3d currentUpdatePriority;\n currentUpdatePriority \x3d DiscreteEventPriority;\n var prevExecutionContext \x3d executionContext;\n executionContext |\x3d CommitContext;\n ReactCurrentOwner$2.current \x3d null;\n commitBeforeMutationEffects(root, transitions);\n commitTime \x3d now$1();\n commitMutationEffects(root, transitions, lanes);\n restoreSelection(selectionInformation);\n _enabled \x3d !!eventsEnabled;\n selectionInformation \x3d eventsEnabled \x3d null;\n root.current \x3d transitions;\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markLayoutEffectsStarted \x26\x26 injectedProfilingHooks.markLayoutEffectsStarted(lanes);\n commitLayoutEffects(transitions, root, lanes);\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markLayoutEffectsStopped \x26\x26 injectedProfilingHooks.markLayoutEffectsStopped();\n requestPaint();\n executionContext \x3d prevExecutionContext;\n currentUpdatePriority \x3d previousPriority;\n ReactCurrentBatchConfig$3.transition \x3d remainingLanes;\n } else {\n root.current \x3d transitions, commitTime \x3d now$1();\n }\n (previousPriority \x3d rootDoesHavePassiveEffects) ? (rootDoesHavePassiveEffects \x3d !1, rootWithPendingPassiveEffects \x3d root, pendingPassiveEffectsLanes \x3d lanes) : (nestedPassiveUpdateCount \x3d 0, rootWithPassiveNestedUpdates \x3d null);\n remainingLanes \x3d root.pendingLanes;\n 0 \x3d\x3d\x3d remainingLanes \x26\x26 (legacyErrorBoundariesThatAlreadyFailed \x3d null);\n previousPriority || commitDoubleInvokeEffectsInDEV(root.current, !1);\n onCommitRoot(transitions.stateNode, renderPriorityLevel);\n isDevToolsPresent \x26\x26 root.memoizedUpdaters.clear();\n onCommitRoot$1();\n ensureRootIsScheduled(root, now());\n if (null !\x3d\x3d recoverableErrors) {\n for (renderPriorityLevel \x3d root.onRecoverableError, transitions \x3d 0; transitions \x3c recoverableErrors.length; transitions++) {\n lanes \x3d recoverableErrors[transitions], renderPriorityLevel(lanes.value, {componentStack:lanes.stack, digest:lanes.digest});\n }\n }\n if (hasUncaughtError) {\n throw hasUncaughtError \x3d !1, root \x3d firstUncaughtError, firstUncaughtError \x3d null, root;\n }\n 0 !\x3d\x3d (pendingPassiveEffectsLanes \x26 SyncLane) \x26\x26 0 !\x3d\x3d root.tag \x26\x26 flushPassiveEffects();\n remainingLanes \x3d root.pendingLanes;\n 0 !\x3d\x3d (remainingLanes \x26 SyncLane) ? (nestedUpdateScheduled \x3d !0, root \x3d\x3d\x3d rootWithNestedUpdates ? nestedUpdateCount++ : (nestedUpdateCount \x3d 0, rootWithNestedUpdates \x3d root)) : nestedUpdateCount \x3d 0;\n flushSyncCallbacks();\n markCommitStopped();\n return null;\n }\n function flushPassiveEffects() {\n if (null !\x3d\x3d rootWithPendingPassiveEffects) {\n var renderPriority \x3d lanesToEventPriority(pendingPassiveEffectsLanes), priority \x3d 0 \x3d\x3d\x3d DefaultEventPriority || DefaultEventPriority \x3e renderPriority ? DefaultEventPriority : renderPriority;\n renderPriority \x3d ReactCurrentBatchConfig$3.transition;\n var previousPriority \x3d currentUpdatePriority;\n try {\n ReactCurrentBatchConfig$3.transition \x3d null;\n currentUpdatePriority \x3d priority;\n if (null \x3d\x3d\x3d rootWithPendingPassiveEffects) {\n var JSCompiler_inline_result \x3d !1;\n } else {\n priority \x3d rootWithPendingPassiveEffects;\n var lanes \x3d pendingPassiveEffectsLanes;\n rootWithPendingPassiveEffects \x3d null;\n pendingPassiveEffectsLanes \x3d 0;\n if ((executionContext \x26 (RenderContext | CommitContext)) !\x3d\x3d NoContext) {\n throw Error(\x22Cannot flush passive effects while already rendering.\x22);\n }\n isFlushingPassiveEffects \x3d !0;\n didScheduleUpdateDuringPassiveEffects \x3d !1;\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markPassiveEffectsStarted \x26\x26 injectedProfilingHooks.markPassiveEffectsStarted(lanes);\n lanes \x3d executionContext;\n executionContext |\x3d CommitContext;\n for (nextEffect \x3d priority.current; null !\x3d\x3d nextEffect;) {\n var fiber \x3d nextEffect, child \x3d fiber.child;\n if (0 !\x3d\x3d (nextEffect.flags \x26 16)) {\n var deletions \x3d fiber.deletions;\n if (null !\x3d\x3d deletions) {\n for (var i \x3d 0; i \x3c deletions.length; i++) {\n for (var fiberToDelete \x3d deletions[i], deletedSubtreeRoot \x3d nextEffect \x3d fiberToDelete, nearestMountedAncestor \x3d fiber; null !\x3d\x3d nextEffect;) {\n var fiber$jscomp$0 \x3d nextEffect;\n setCurrentFiber(fiber$jscomp$0);\n var current \x3d fiber$jscomp$0, nearestMountedAncestor$jscomp$0 \x3d nearestMountedAncestor;\n switch(current.tag) {\n case 0:\n case 11:\n case 15:\n current.mode \x26 2 ? (passiveEffectStartTime \x3d now$1(), commitHookEffectListUnmount(Passive$1, current, nearestMountedAncestor$jscomp$0), recordPassiveEffectDuration(current)) : commitHookEffectListUnmount(Passive$1, current, nearestMountedAncestor$jscomp$0);\n }\n resetCurrentFiber();\n var child$jscomp$0 \x3d fiber$jscomp$0.child;\n if (null !\x3d\x3d child$jscomp$0) {\n child$jscomp$0.return \x3d fiber$jscomp$0, nextEffect \x3d child$jscomp$0;\n } else {\n for (fiber$jscomp$0 \x3d deletedSubtreeRoot; null !\x3d\x3d nextEffect;) {\n current \x3d nextEffect;\n var sibling \x3d current.sibling, returnFiber \x3d current.return;\n detachFiberAfterEffects(current);\n if (current \x3d\x3d\x3d fiber$jscomp$0) {\n nextEffect \x3d null;\n break;\n }\n if (null !\x3d\x3d sibling) {\n sibling.return \x3d returnFiber;\n nextEffect \x3d sibling;\n break;\n }\n nextEffect \x3d returnFiber;\n }\n }\n }\n }\n var previousFiber \x3d fiber.alternate;\n if (null !\x3d\x3d previousFiber) {\n var detachedChild \x3d previousFiber.child;\n if (null !\x3d\x3d detachedChild) {\n previousFiber.child \x3d null;\n do {\n var detachedSibling \x3d detachedChild.sibling;\n detachedChild.sibling \x3d null;\n detachedChild \x3d detachedSibling;\n } while (null !\x3d\x3d detachedChild);\n }\n }\n nextEffect \x3d fiber;\n }\n }\n if (0 !\x3d\x3d (fiber.subtreeFlags \x26 2064) \x26\x26 null !\x3d\x3d child) {\n child.return \x3d fiber, nextEffect \x3d child;\n } else {\n b: {\n for (; null !\x3d\x3d nextEffect;) {\n fiber \x3d nextEffect;\n if (0 !\x3d\x3d (fiber.flags \x26 2048)) {\n setCurrentFiber(fiber);\n i \x3d fiber;\n switch(i.tag) {\n case 0:\n case 11:\n case 15:\n i.mode \x26 2 ? (passiveEffectStartTime \x3d now$1(), commitHookEffectListUnmount(Passive$1 | HasEffect, i, i.return), recordPassiveEffectDuration(i)) : commitHookEffectListUnmount(Passive$1 | HasEffect, i, i.return);\n }\n resetCurrentFiber();\n }\n var sibling$jscomp$0 \x3d fiber.sibling;\n if (null !\x3d\x3d sibling$jscomp$0) {\n sibling$jscomp$0.return \x3d fiber.return;\n nextEffect \x3d sibling$jscomp$0;\n break b;\n }\n nextEffect \x3d fiber.return;\n }\n }\n }\n }\n var finishedWork \x3d priority.current;\n for (nextEffect \x3d finishedWork; null !\x3d\x3d nextEffect;) {\n child \x3d nextEffect;\n var firstChild \x3d child.child;\n if (0 !\x3d\x3d (child.subtreeFlags \x26 2064) \x26\x26 null !\x3d\x3d firstChild) {\n firstChild.return \x3d child, nextEffect \x3d firstChild;\n } else {\n b: {\n for (child \x3d finishedWork; null !\x3d\x3d nextEffect;) {\n deletions \x3d nextEffect;\n if (0 !\x3d\x3d (deletions.flags \x26 2048)) {\n setCurrentFiber(deletions);\n try {\n switch(fiberToDelete \x3d deletions, fiberToDelete.tag) {\n case 0:\n case 11:\n case 15:\n if (fiberToDelete.mode \x26 2) {\n passiveEffectStartTime \x3d now$1();\n try {\n commitHookEffectListMount(Passive$1 | HasEffect, fiberToDelete);\n } finally {\n recordPassiveEffectDuration(fiberToDelete);\n }\n } else {\n commitHookEffectListMount(Passive$1 | HasEffect, fiberToDelete);\n }\n }\n } catch (error) {\n captureCommitPhaseError(deletions, deletions.return, error);\n }\n resetCurrentFiber();\n }\n if (deletions \x3d\x3d\x3d child) {\n nextEffect \x3d null;\n break b;\n }\n var sibling$jscomp$1 \x3d deletions.sibling;\n if (null !\x3d\x3d sibling$jscomp$1) {\n sibling$jscomp$1.return \x3d deletions.return;\n nextEffect \x3d sibling$jscomp$1;\n break b;\n }\n nextEffect \x3d deletions.return;\n }\n }\n }\n }\n finishedWork \x3d pendingPassiveProfilerEffects;\n pendingPassiveProfilerEffects \x3d [];\n for (firstChild \x3d 0; firstChild \x3c finishedWork.length; firstChild++) {\n var finishedWork$jscomp$0 \x3d finishedWork[firstChild];\n if (0 !\x3d\x3d (finishedWork$jscomp$0.flags \x26 4)) {\n switch(finishedWork$jscomp$0.tag) {\n case 12:\n var passiveEffectDuration \x3d finishedWork$jscomp$0.stateNode.passiveEffectDuration, _finishedWork$memoize \x3d finishedWork$jscomp$0.memoizedProps, id \x3d _finishedWork$memoize.id, onPostCommit \x3d _finishedWork$memoize.onPostCommit;\n sibling$jscomp$1 \x3d commitTime;\n var phase \x3d null \x3d\x3d\x3d finishedWork$jscomp$0.alternate ? \x22mount\x22 : \x22update\x22;\n currentUpdateIsNested \x26\x26 (phase \x3d \x22nested-update\x22);\n \x22function\x22 \x3d\x3d\x3d typeof onPostCommit \x26\x26 onPostCommit(id, phase, passiveEffectDuration, sibling$jscomp$1);\n var parentFiber \x3d finishedWork$jscomp$0.return;\n b: for (; null !\x3d\x3d parentFiber;) {\n switch(parentFiber.tag) {\n case 3:\n parentFiber.stateNode.passiveEffectDuration +\x3d passiveEffectDuration;\n break b;\n case 12:\n parentFiber.stateNode.passiveEffectDuration +\x3d passiveEffectDuration;\n break b;\n }\n parentFiber \x3d parentFiber.return;\n }\n }\n }\n }\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markPassiveEffectsStopped \x26\x26 injectedProfilingHooks.markPassiveEffectsStopped();\n commitDoubleInvokeEffectsInDEV(priority.current, !0);\n executionContext \x3d lanes;\n flushSyncCallbacks();\n didScheduleUpdateDuringPassiveEffects ? priority \x3d\x3d\x3d rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ : (nestedPassiveUpdateCount \x3d 0, rootWithPassiveNestedUpdates \x3d priority) : nestedPassiveUpdateCount \x3d 0;\n didScheduleUpdateDuringPassiveEffects \x3d isFlushingPassiveEffects \x3d !1;\n if (injectedHook \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedHook.onPostCommitFiberRoot) {\n try {\n injectedHook.onPostCommitFiberRoot(rendererID, priority);\n } catch (err) {\n hasLoggedError || (hasLoggedError \x3d !0, error(\x22React instrumentation encountered an error: %s\x22, err));\n }\n }\n var stateNode \x3d priority.current.stateNode;\n stateNode.effectDuration \x3d 0;\n stateNode.passiveEffectDuration \x3d 0;\n JSCompiler_inline_result \x3d !0;\n }\n return JSCompiler_inline_result;\n } finally {\n currentUpdatePriority \x3d previousPriority, ReactCurrentBatchConfig$3.transition \x3d renderPriority;\n }\n }\n return !1;\n }\n function enqueuePendingPassiveProfilerEffect(fiber) {\n pendingPassiveProfilerEffects.push(fiber);\n rootDoesHavePassiveEffects || (rootDoesHavePassiveEffects \x3d !0, scheduleCallback$1(NormalPriority, function() {\n flushPassiveEffects();\n return null;\n }));\n }\n function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber \x3d createCapturedValueAtFiber(error, sourceFiber);\n sourceFiber \x3d createRootErrorUpdate(rootFiber, sourceFiber, SyncLane);\n rootFiber \x3d enqueueUpdate(rootFiber, sourceFiber, SyncLane);\n sourceFiber \x3d requestEventTime();\n null !\x3d\x3d rootFiber \x26\x26 (markRootUpdated(rootFiber, SyncLane, sourceFiber), ensureRootIsScheduled(rootFiber, sourceFiber));\n }\n function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error$1) {\n reportUncaughtErrorInDEV(error$1);\n isRunningInsertionEffect \x3d !1;\n if (3 \x3d\x3d\x3d sourceFiber.tag) {\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error$1);\n } else {\n for (; null !\x3d\x3d nearestMountedAncestor;) {\n if (3 \x3d\x3d\x3d nearestMountedAncestor.tag) {\n captureCommitPhaseErrorOnRoot(nearestMountedAncestor, sourceFiber, error$1);\n return;\n }\n if (1 \x3d\x3d\x3d nearestMountedAncestor.tag) {\n var instance \x3d nearestMountedAncestor.stateNode;\n if (\x22function\x22 \x3d\x3d\x3d typeof nearestMountedAncestor.type.getDerivedStateFromError || \x22function\x22 \x3d\x3d\x3d typeof instance.componentDidCatch \x26\x26 (null \x3d\x3d\x3d legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance))) {\n sourceFiber \x3d createCapturedValueAtFiber(error$1, sourceFiber);\n sourceFiber \x3d createClassErrorUpdate(nearestMountedAncestor, sourceFiber, SyncLane);\n nearestMountedAncestor \x3d enqueueUpdate(nearestMountedAncestor, sourceFiber, SyncLane);\n sourceFiber \x3d requestEventTime();\n null !\x3d\x3d nearestMountedAncestor \x26\x26 (markRootUpdated(nearestMountedAncestor, SyncLane, sourceFiber), ensureRootIsScheduled(nearestMountedAncestor, sourceFiber));\n return;\n }\n }\n nearestMountedAncestor \x3d nearestMountedAncestor.return;\n }\n error(\x22Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\\n\\nError message:\\n\\n%s\x22, error$1);\n }\n }\n function pingSuspendedRoot(root, wakeable, pingedLanes) {\n var pingCache \x3d root.pingCache;\n null !\x3d\x3d pingCache \x26\x26 pingCache.delete(wakeable);\n wakeable \x3d requestEventTime();\n root.pingedLanes |\x3d root.suspendedLanes \x26 pingedLanes;\n 0 !\x3d\x3d root.tag \x26\x26 isConcurrentActEnvironment() \x26\x26 null \x3d\x3d\x3d ReactCurrentActQueue$1.current \x26\x26 error(\x22A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\\n\\nWhen testing, code that resolves suspended data should be wrapped into act(...):\\n\\nact(() \\x3d\\x3e {\\n /* finish loading suspended data */\\n});\\n/* assert on the output */\\n\\nThis ensures that you\x27re testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act\x22);\n workInProgressRoot \x3d\x3d\x3d root \x26\x26 (workInProgressRootRenderLanes \x26 pingedLanes) \x3d\x3d\x3d pingedLanes \x26\x26 (workInProgressRootExitStatus \x3d\x3d\x3d RootSuspendedWithDelay || workInProgressRootExitStatus \x3d\x3d\x3d RootSuspended \x26\x26 (workInProgressRootRenderLanes \x26 RetryLanes) \x3d\x3d\x3d workInProgressRootRenderLanes \x26\x26 now() - globalMostRecentFallbackTime \x3c FALLBACK_THROTTLE_MS ? prepareFreshStack(root, 0) : workInProgressRootPingedLanes |\x3d pingedLanes);\n ensureRootIsScheduled(root, wakeable);\n }\n function retryTimedOutBoundary(boundaryFiber, retryLane) {\n 0 \x3d\x3d\x3d retryLane \x26\x26 (0 \x3d\x3d\x3d (boundaryFiber.mode \x26 1) ? retryLane \x3d SyncLane : (retryLane \x3d nextRetryLane, nextRetryLane \x3c\x3c\x3d 1, 0 \x3d\x3d\x3d (nextRetryLane \x26 RetryLanes) \x26\x26 (nextRetryLane \x3d 4194304)));\n var eventTime \x3d requestEventTime();\n boundaryFiber \x3d markUpdateLaneFromFiberToRoot(boundaryFiber, retryLane);\n null !\x3d\x3d boundaryFiber \x26\x26 (markRootUpdated(boundaryFiber, retryLane, eventTime), ensureRootIsScheduled(boundaryFiber, eventTime));\n }\n function retryDehydratedSuspenseBoundary(boundaryFiber) {\n var suspenseState \x3d boundaryFiber.memoizedState, retryLane \x3d 0;\n null !\x3d\x3d suspenseState \x26\x26 (retryLane \x3d suspenseState.retryLane);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n }\n function resolveRetryWakeable(boundaryFiber, wakeable) {\n var retryLane \x3d 0;\n switch(boundaryFiber.tag) {\n case 13:\n var retryCache \x3d boundaryFiber.stateNode;\n var suspenseState \x3d boundaryFiber.memoizedState;\n null !\x3d\x3d suspenseState \x26\x26 (retryLane \x3d suspenseState.retryLane);\n break;\n case 19:\n retryCache \x3d boundaryFiber.stateNode;\n break;\n default:\n throw Error(\x22Pinged unknown suspense boundary type. This is probably a bug in React.\x22);\n }\n null !\x3d\x3d retryCache \x26\x26 retryCache.delete(wakeable);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n }\n function commitDoubleInvokeEffectsInDEV(fiber, hasPassiveEffects) {\n setCurrentFiber(fiber);\n invokeEffectsInDev(fiber, 16777216, invokeLayoutEffectUnmountInDEV);\n hasPassiveEffects \x26\x26 invokeEffectsInDev(fiber, 33554432, invokePassiveEffectUnmountInDEV);\n invokeEffectsInDev(fiber, 16777216, invokeLayoutEffectMountInDEV);\n hasPassiveEffects \x26\x26 invokeEffectsInDev(fiber, 33554432, invokePassiveEffectMountInDEV);\n resetCurrentFiber();\n }\n function invokeEffectsInDev(firstChild, fiberFlags, invokeEffectFn) {\n for (var subtreeRoot \x3d null; null !\x3d\x3d firstChild;) {\n var primarySubtreeFlag \x3d firstChild.subtreeFlags \x26 fiberFlags;\n firstChild !\x3d\x3d subtreeRoot \x26\x26 null !\x3d\x3d firstChild.child \x26\x26 0 !\x3d\x3d primarySubtreeFlag ? firstChild \x3d firstChild.child : (0 !\x3d\x3d (firstChild.flags \x26 fiberFlags) \x26\x26 invokeEffectFn(firstChild), firstChild \x3d null !\x3d\x3d firstChild.sibling ? firstChild.sibling : subtreeRoot \x3d firstChild.return);\n }\n }\n function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {\n if ((executionContext \x26 RenderContext) \x3d\x3d\x3d NoContext \x26\x26 fiber.mode \x26 1) {\n var tag \x3d fiber.tag;\n if (2 \x3d\x3d\x3d tag || 3 \x3d\x3d\x3d tag || 1 \x3d\x3d\x3d tag || 0 \x3d\x3d\x3d tag || 11 \x3d\x3d\x3d tag || 14 \x3d\x3d\x3d tag || 15 \x3d\x3d\x3d tag) {\n tag \x3d getComponentNameFromFiber(fiber) || \x22ReactComponent\x22;\n if (null !\x3d\x3d didWarnStateUpdateForNotYetMountedComponent) {\n if (didWarnStateUpdateForNotYetMountedComponent.has(tag)) {\n return;\n }\n didWarnStateUpdateForNotYetMountedComponent.add(tag);\n } else {\n didWarnStateUpdateForNotYetMountedComponent \x3d new Set([tag]);\n }\n tag \x3d current;\n try {\n setCurrentFiber(fiber), error(\x22Can\x27t perform a React state update on a component that hasn\x27t mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.\x22);\n } finally {\n tag ? setCurrentFiber(fiber) : resetCurrentFiber();\n }\n }\n }\n }\n function restorePendingUpdaters(root, lanes) {\n isDevToolsPresent \x26\x26 root.memoizedUpdaters.forEach(function(schedulingFiber) {\n addFiberToLanesMap(root, schedulingFiber, lanes);\n });\n }\n function scheduleCallback$1(priorityLevel, callback) {\n var actQueue \x3d ReactCurrentActQueue$1.current;\n return null !\x3d\x3d actQueue ? (actQueue.push(callback), fakeActCallbackNode) : scheduleCallback(priorityLevel, callback);\n }\n function cancelCallback$1(callbackNode) {\n if (callbackNode !\x3d\x3d fakeActCallbackNode) {\n return cancelCallback(callbackNode);\n }\n }\n function resolveFunctionForHotReloading(type) {\n if (null \x3d\x3d\x3d resolveFamily) {\n return type;\n }\n var family \x3d resolveFamily(type);\n return void 0 \x3d\x3d\x3d family ? type : family.current;\n }\n function resolveForwardRefForHotReloading(type) {\n if (null \x3d\x3d\x3d resolveFamily) {\n return type;\n }\n var family \x3d resolveFamily(type);\n return void 0 \x3d\x3d\x3d family ? null !\x3d\x3d type \x26\x26 void 0 !\x3d\x3d type \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof type.render \x26\x26 (family \x3d resolveFunctionForHotReloading(type.render), type.render !\x3d\x3d family) ? (family \x3d {$$typeof:REACT_FORWARD_REF_TYPE, render:family}, void 0 !\x3d\x3d type.displayName \x26\x26 (family.displayName \x3d type.displayName), family) : type : family.current;\n }\n function isCompatibleFamilyForHotReloading(fiber, element) {\n if (null \x3d\x3d\x3d resolveFamily) {\n return !1;\n }\n var prevType \x3d fiber.elementType;\n element \x3d element.type;\n var needsCompareFamilies \x3d !1, $$typeofNextType \x3d \x22object\x22 \x3d\x3d\x3d typeof element \x26\x26 null !\x3d\x3d element ? element.$$typeof : null;\n switch(fiber.tag) {\n case 1:\n \x22function\x22 \x3d\x3d\x3d typeof element \x26\x26 (needsCompareFamilies \x3d !0);\n break;\n case 0:\n \x22function\x22 \x3d\x3d\x3d typeof element ? needsCompareFamilies \x3d !0 : $$typeofNextType \x3d\x3d\x3d REACT_LAZY_TYPE \x26\x26 (needsCompareFamilies \x3d !0);\n break;\n case 11:\n $$typeofNextType \x3d\x3d\x3d REACT_FORWARD_REF_TYPE ? needsCompareFamilies \x3d !0 : $$typeofNextType \x3d\x3d\x3d REACT_LAZY_TYPE \x26\x26 (needsCompareFamilies \x3d !0);\n break;\n case 14:\n case 15:\n $$typeofNextType \x3d\x3d\x3d REACT_MEMO_TYPE ? needsCompareFamilies \x3d !0 : $$typeofNextType \x3d\x3d\x3d REACT_LAZY_TYPE \x26\x26 (needsCompareFamilies \x3d !0);\n break;\n default:\n return !1;\n }\n return needsCompareFamilies \x26\x26 (fiber \x3d resolveFamily(prevType), void 0 !\x3d\x3d fiber \x26\x26 fiber \x3d\x3d\x3d resolveFamily(element)) ? !0 : !1;\n }\n function markFailedErrorBoundaryForHotReloading(fiber) {\n null !\x3d\x3d resolveFamily \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof WeakSet \x26\x26 (null \x3d\x3d\x3d failedBoundaries \x26\x26 (failedBoundaries \x3d new WeakSet()), failedBoundaries.add(fiber));\n }\n function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {\n var alternate \x3d fiber.alternate, child \x3d fiber.child, sibling \x3d fiber.sibling, tag \x3d fiber.tag, type \x3d fiber.type, candidateType \x3d null;\n switch(tag) {\n case 0:\n case 15:\n case 1:\n candidateType \x3d type;\n break;\n case 11:\n candidateType \x3d type.render;\n }\n if (null \x3d\x3d\x3d resolveFamily) {\n throw Error(\x22Expected resolveFamily to be set during hot reload.\x22);\n }\n var needsRender \x3d !1;\n type \x3d !1;\n null !\x3d\x3d candidateType \x26\x26 (candidateType \x3d resolveFamily(candidateType), void 0 !\x3d\x3d candidateType \x26\x26 (staleFamilies.has(candidateType) ? type \x3d !0 : updatedFamilies.has(candidateType) \x26\x26 (1 \x3d\x3d\x3d tag ? type \x3d !0 : needsRender \x3d !0)));\n null !\x3d\x3d failedBoundaries \x26\x26 (failedBoundaries.has(fiber) || null !\x3d\x3d alternate \x26\x26 failedBoundaries.has(alternate)) \x26\x26 (type \x3d !0);\n type \x26\x26 (fiber._debugNeedsRemount \x3d !0);\n if (type || needsRender) {\n alternate \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane), null !\x3d\x3d alternate \x26\x26 scheduleUpdateOnFiber(alternate, fiber, SyncLane, -1);\n }\n null \x3d\x3d\x3d child || type || scheduleFibersWithFamiliesRecursively(child, updatedFamilies, staleFamilies);\n null !\x3d\x3d sibling \x26\x26 scheduleFibersWithFamiliesRecursively(sibling, updatedFamilies, staleFamilies);\n }\n function findHostInstancesForMatchingFibersRecursively(fiber, types, hostInstances) {\n var child \x3d fiber.child, sibling \x3d fiber.sibling, type \x3d fiber.type, candidateType \x3d null;\n switch(fiber.tag) {\n case 0:\n case 15:\n case 1:\n candidateType \x3d type;\n break;\n case 11:\n candidateType \x3d type.render;\n }\n type \x3d !1;\n null !\x3d\x3d candidateType \x26\x26 types.has(candidateType) \x26\x26 (type \x3d !0);\n if (type) {\n a: {\n b: {\n for (child \x3d fiber, candidateType \x3d !1;;) {\n if (5 \x3d\x3d\x3d child.tag) {\n candidateType \x3d !0, hostInstances.add(child.stateNode);\n } else if (null !\x3d\x3d child.child) {\n child.child.return \x3d child;\n child \x3d child.child;\n continue;\n }\n if (child \x3d\x3d\x3d fiber) {\n child \x3d candidateType;\n break b;\n }\n for (; null \x3d\x3d\x3d child.sibling;) {\n if (null \x3d\x3d\x3d child.return || child.return \x3d\x3d\x3d fiber) {\n child \x3d candidateType;\n break b;\n }\n child \x3d child.return;\n }\n child.sibling.return \x3d child.return;\n child \x3d child.sibling;\n }\n }\n if (!child) {\n for (;;) {\n switch(fiber.tag) {\n case 5:\n hostInstances.add(fiber.stateNode);\n break a;\n case 4:\n hostInstances.add(fiber.stateNode.containerInfo);\n break a;\n case 3:\n hostInstances.add(fiber.stateNode.containerInfo);\n break a;\n }\n if (null \x3d\x3d\x3d fiber.return) {\n throw Error(\x22Expected to reach root first.\x22);\n }\n fiber \x3d fiber.return;\n }\n }\n }\n } else {\n null !\x3d\x3d child \x26\x26 findHostInstancesForMatchingFibersRecursively(child, types, hostInstances);\n }\n null !\x3d\x3d sibling \x26\x26 findHostInstancesForMatchingFibersRecursively(sibling, types, hostInstances);\n }\n function FiberNode(tag, pendingProps, key, mode) {\n this.tag \x3d tag;\n this.key \x3d key;\n this.sibling \x3d this.child \x3d this.return \x3d this.stateNode \x3d this.type \x3d this.elementType \x3d null;\n this.index \x3d 0;\n this.ref \x3d null;\n this.pendingProps \x3d pendingProps;\n this.dependencies \x3d this.memoizedState \x3d this.updateQueue \x3d this.memoizedProps \x3d null;\n this.mode \x3d mode;\n this.subtreeFlags \x3d this.flags \x3d 0;\n this.deletions \x3d null;\n this.childLanes \x3d this.lanes \x3d 0;\n this.alternate \x3d null;\n this.actualDuration \x3d 0;\n this.actualStartTime \x3d -1;\n this.treeBaseDuration \x3d this.selfBaseDuration \x3d 0;\n this._debugOwner \x3d this._debugSource \x3d null;\n this._debugNeedsRemount \x3d !1;\n this._debugHookTypes \x3d null;\n hasBadMapPolyfill || \x22function\x22 !\x3d\x3d typeof Object.preventExtensions || Object.preventExtensions(this);\n }\n function shouldConstruct$1(Component) {\n Component \x3d Component.prototype;\n return !(!Component || !Component.isReactComponent);\n }\n function resolveLazyComponentTag(Component) {\n if (\x22function\x22 \x3d\x3d\x3d typeof Component) {\n return shouldConstruct$1(Component) ? 1 : 0;\n }\n if (void 0 !\x3d\x3d Component \x26\x26 null !\x3d\x3d Component) {\n Component \x3d Component.$$typeof;\n if (Component \x3d\x3d\x3d REACT_FORWARD_REF_TYPE) {\n return 11;\n }\n if (Component \x3d\x3d\x3d REACT_MEMO_TYPE) {\n return 14;\n }\n }\n return 2;\n }\n function createWorkInProgress(current, pendingProps) {\n var workInProgress \x3d current.alternate;\n null \x3d\x3d\x3d workInProgress ? (workInProgress \x3d createFiber(current.tag, pendingProps, current.key, current.mode), workInProgress.elementType \x3d current.elementType, workInProgress.type \x3d current.type, workInProgress.stateNode \x3d current.stateNode, workInProgress._debugSource \x3d current._debugSource, workInProgress._debugOwner \x3d current._debugOwner, workInProgress._debugHookTypes \x3d current._debugHookTypes, workInProgress.alternate \x3d current, current.alternate \x3d workInProgress) : (workInProgress.pendingProps \x3d \n pendingProps, workInProgress.type \x3d current.type, workInProgress.flags \x3d 0, workInProgress.subtreeFlags \x3d 0, workInProgress.deletions \x3d null, workInProgress.actualDuration \x3d 0, workInProgress.actualStartTime \x3d -1);\n workInProgress.flags \x3d current.flags \x26 14680064;\n workInProgress.childLanes \x3d current.childLanes;\n workInProgress.lanes \x3d current.lanes;\n workInProgress.child \x3d current.child;\n workInProgress.memoizedProps \x3d current.memoizedProps;\n workInProgress.memoizedState \x3d current.memoizedState;\n workInProgress.updateQueue \x3d current.updateQueue;\n pendingProps \x3d current.dependencies;\n workInProgress.dependencies \x3d null \x3d\x3d\x3d pendingProps ? null : {lanes:pendingProps.lanes, firstContext:pendingProps.firstContext};\n workInProgress.sibling \x3d current.sibling;\n workInProgress.index \x3d current.index;\n workInProgress.ref \x3d current.ref;\n workInProgress.selfBaseDuration \x3d current.selfBaseDuration;\n workInProgress.treeBaseDuration \x3d current.treeBaseDuration;\n workInProgress._debugNeedsRemount \x3d current._debugNeedsRemount;\n switch(workInProgress.tag) {\n case 2:\n case 0:\n case 15:\n workInProgress.type \x3d resolveFunctionForHotReloading(current.type);\n break;\n case 1:\n workInProgress.type \x3d resolveFunctionForHotReloading(current.type);\n break;\n case 11:\n workInProgress.type \x3d resolveForwardRefForHotReloading(current.type);\n }\n return workInProgress;\n }\n function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) {\n var fiberTag \x3d 2, resolvedType \x3d type;\n if (\x22function\x22 \x3d\x3d\x3d typeof type) {\n shouldConstruct$1(type) \x26\x26 (fiberTag \x3d 1), resolvedType \x3d resolveFunctionForHotReloading(resolvedType);\n } else if (\x22string\x22 \x3d\x3d\x3d typeof type) {\n fiberTag \x3d 5;\n } else {\n a: {\n switch(type) {\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n case REACT_STRICT_MODE_TYPE:\n fiberTag \x3d 8;\n mode |\x3d 8;\n 0 !\x3d\x3d (mode \x26 1) \x26\x26 (mode |\x3d 16);\n break;\n case REACT_PROFILER_TYPE:\n return type \x3d mode, \x22string\x22 !\x3d\x3d typeof pendingProps.id \x26\x26 error(\x27Profiler must specify an \x22id\x22 of type `string` as a prop. Received the type `%s` instead.\x27, typeof pendingProps.id), type \x3d createFiber(12, pendingProps, key, type | 2), type.elementType \x3d REACT_PROFILER_TYPE, type.lanes \x3d lanes, type.stateNode \x3d {effectDuration:0, passiveEffectDuration:0}, type;\n case REACT_SUSPENSE_TYPE:\n return type \x3d createFiber(13, pendingProps, key, mode), type.elementType \x3d REACT_SUSPENSE_TYPE, type.lanes \x3d lanes, type;\n case REACT_SUSPENSE_LIST_TYPE:\n return type \x3d createFiber(19, pendingProps, key, mode), type.elementType \x3d REACT_SUSPENSE_LIST_TYPE, type.lanes \x3d lanes, type;\n case REACT_OFFSCREEN_TYPE:\n return createFiberFromOffscreen(pendingProps, mode, lanes, key);\n default:\n if (\x22object\x22 \x3d\x3d\x3d typeof type \x26\x26 null !\x3d\x3d type) {\n switch(type.$$typeof) {\n case REACT_PROVIDER_TYPE:\n fiberTag \x3d 10;\n break a;\n case REACT_CONTEXT_TYPE:\n fiberTag \x3d 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag \x3d 11;\n resolvedType \x3d resolveForwardRefForHotReloading(resolvedType);\n break a;\n case REACT_MEMO_TYPE:\n fiberTag \x3d 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag \x3d 16;\n resolvedType \x3d null;\n break a;\n }\n }\n lanes \x3d \x22\x22;\n if (void 0 \x3d\x3d\x3d type || \x22object\x22 \x3d\x3d\x3d typeof type \x26\x26 null !\x3d\x3d type \x26\x26 0 \x3d\x3d\x3d Object.keys(type).length) {\n lanes +\x3d \x22 You likely forgot to export your component from the file it\x27s defined in, or you might have mixed up default and named imports.\x22;\n }\n (owner \x3d owner ? getComponentNameFromFiber(owner) : null) \x26\x26 (lanes +\x3d \x22\\n\\nCheck the render method of `\x22 + owner + \x22`.\x22);\n throw Error(\x22Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \x22 + ((null \x3d\x3d type ? type : typeof type) + \x22.\x22 + lanes));\n }\n }\n }\n key \x3d createFiber(fiberTag, pendingProps, key, mode);\n key.elementType \x3d type;\n key.type \x3d resolvedType;\n key.lanes \x3d lanes;\n key._debugOwner \x3d owner;\n return key;\n }\n function createFiberFromElement(element, mode, lanes) {\n mode \x3d createFiberFromTypeAndProps(element.type, element.key, element.props, element._owner, mode, lanes);\n mode._debugSource \x3d element._source;\n mode._debugOwner \x3d element._owner;\n return mode;\n }\n function createFiberFromFragment(elements, mode, lanes, key) {\n elements \x3d createFiber(7, elements, key, mode);\n elements.lanes \x3d lanes;\n return elements;\n }\n function createFiberFromOffscreen(pendingProps, mode, lanes, key) {\n pendingProps \x3d createFiber(22, pendingProps, key, mode);\n pendingProps.elementType \x3d REACT_OFFSCREEN_TYPE;\n pendingProps.lanes \x3d lanes;\n pendingProps.stateNode \x3d {isHidden:!1};\n return pendingProps;\n }\n function createFiberFromText(content, mode, lanes) {\n content \x3d createFiber(6, content, null, mode);\n content.lanes \x3d lanes;\n return content;\n }\n function createFiberFromPortal(portal, mode, lanes) {\n mode \x3d createFiber(4, null !\x3d\x3d portal.children ? portal.children : [], portal.key, mode);\n mode.lanes \x3d lanes;\n mode.stateNode \x3d {containerInfo:portal.containerInfo, pendingChildren:null, implementation:portal.implementation};\n return mode;\n }\n function assignFiberPropertiesInDEV(target, source) {\n null \x3d\x3d\x3d target \x26\x26 (target \x3d createFiber(2, null, null, 0));\n target.tag \x3d source.tag;\n target.key \x3d source.key;\n target.elementType \x3d source.elementType;\n target.type \x3d source.type;\n target.stateNode \x3d source.stateNode;\n target.return \x3d source.return;\n target.child \x3d source.child;\n target.sibling \x3d source.sibling;\n target.index \x3d source.index;\n target.ref \x3d source.ref;\n target.pendingProps \x3d source.pendingProps;\n target.memoizedProps \x3d source.memoizedProps;\n target.updateQueue \x3d source.updateQueue;\n target.memoizedState \x3d source.memoizedState;\n target.dependencies \x3d source.dependencies;\n target.mode \x3d source.mode;\n target.flags \x3d source.flags;\n target.subtreeFlags \x3d source.subtreeFlags;\n target.deletions \x3d source.deletions;\n target.lanes \x3d source.lanes;\n target.childLanes \x3d source.childLanes;\n target.alternate \x3d source.alternate;\n target.actualDuration \x3d source.actualDuration;\n target.actualStartTime \x3d source.actualStartTime;\n target.selfBaseDuration \x3d source.selfBaseDuration;\n target.treeBaseDuration \x3d source.treeBaseDuration;\n target._debugSource \x3d source._debugSource;\n target._debugOwner \x3d source._debugOwner;\n target._debugNeedsRemount \x3d source._debugNeedsRemount;\n target._debugHookTypes \x3d source._debugHookTypes;\n return target;\n }\n function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onRecoverableError) {\n this.tag \x3d tag;\n this.containerInfo \x3d containerInfo;\n this.finishedWork \x3d this.pingCache \x3d this.current \x3d this.pendingChildren \x3d null;\n this.timeoutHandle \x3d -1;\n this.callbackNode \x3d this.pendingContext \x3d this.context \x3d null;\n this.callbackPriority \x3d 0;\n this.eventTimes \x3d createLaneMap(0);\n this.expirationTimes \x3d createLaneMap(-1);\n this.entangledLanes \x3d this.finishedLanes \x3d this.mutableReadLanes \x3d this.expiredLanes \x3d this.pingedLanes \x3d this.suspendedLanes \x3d this.pendingLanes \x3d 0;\n this.entanglements \x3d createLaneMap(0);\n this.identifierPrefix \x3d identifierPrefix;\n this.onRecoverableError \x3d onRecoverableError;\n this.mutableSourceEagerHydrationData \x3d null;\n this.passiveEffectDuration \x3d this.effectDuration \x3d 0;\n this.memoizedUpdaters \x3d new Set();\n containerInfo \x3d this.pendingUpdatersLaneMap \x3d [];\n for (identifierPrefix \x3d 0; identifierPrefix \x3c TotalLanes; identifierPrefix++) {\n containerInfo.push(new Set());\n }\n switch(tag) {\n case 1:\n this._debugRootType \x3d hydrate ? \x22hydrateRoot()\x22 : \x22createRoot()\x22;\n break;\n case 0:\n this._debugRootType \x3d hydrate ? \x22hydrate()\x22 : \x22render()\x22;\n }\n }\n function createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {\n containerInfo \x3d new FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onRecoverableError);\n 1 \x3d\x3d\x3d tag ? (tag \x3d 1, !0 \x3d\x3d\x3d isStrictMode \x26\x26 (tag |\x3d 24)) : tag \x3d 0;\n isDevToolsPresent \x26\x26 (tag |\x3d 2);\n isStrictMode \x3d createFiber(3, null, null, tag);\n containerInfo.current \x3d isStrictMode;\n isStrictMode.stateNode \x3d containerInfo;\n isStrictMode.memoizedState \x3d {element:initialChildren, isDehydrated:hydrate, cache:null, transitions:null, pendingSuspenseBoundaries:null};\n initializeUpdateQueue(isStrictMode);\n return containerInfo;\n }\n function createPortal(children, containerInfo, implementation) {\n var key \x3d 3 \x3c arguments.length \x26\x26 void 0 !\x3d\x3d arguments[3] ? arguments[3] : null;\n return {$$typeof:REACT_PORTAL_TYPE, key:null \x3d\x3d key ? null : \x22\x22 + key, children, containerInfo, implementation};\n }\n function getContextForSubtree(parentComponent) {\n if (!parentComponent) {\n return emptyContextObject;\n }\n parentComponent \x3d parentComponent._reactInternals;\n a: {\n if (getNearestMountedFiber(parentComponent) !\x3d\x3d parentComponent || 1 !\x3d\x3d parentComponent.tag) {\n throw Error(\x22Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n var parentContext \x3d parentComponent;\n do {\n switch(parentContext.tag) {\n case 3:\n parentContext \x3d parentContext.stateNode.context;\n break a;\n case 1:\n if (isContextProvider(parentContext.type)) {\n parentContext \x3d parentContext.stateNode.__reactInternalMemoizedMergedChildContext;\n break a;\n }\n }\n parentContext \x3d parentContext.return;\n } while (null !\x3d\x3d parentContext);\n throw Error(\x22Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n if (1 \x3d\x3d\x3d parentComponent.tag) {\n var Component \x3d parentComponent.type;\n if (isContextProvider(Component)) {\n return processChildContext(parentComponent, Component, parentContext);\n }\n }\n return parentContext;\n }\n function createHydrationContainer(initialChildren, callback, containerInfo, tag, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {\n initialChildren \x3d createFiberRoot(containerInfo, tag, !0, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);\n initialChildren.context \x3d getContextForSubtree(null);\n containerInfo \x3d initialChildren.current;\n tag \x3d requestEventTime();\n hydrationCallbacks \x3d requestUpdateLane(containerInfo);\n isStrictMode \x3d createUpdate(tag, hydrationCallbacks);\n isStrictMode.callback \x3d void 0 !\x3d\x3d callback \x26\x26 null !\x3d\x3d callback ? callback : null;\n enqueueUpdate(containerInfo, isStrictMode, hydrationCallbacks);\n initialChildren.current.lanes \x3d hydrationCallbacks;\n markRootUpdated(initialChildren, hydrationCallbacks, tag);\n ensureRootIsScheduled(initialChildren, tag);\n return initialChildren;\n }\n function updateContainer(element, container, parentComponent, callback) {\n if (injectedHook \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedHook.onScheduleFiberRoot) {\n try {\n injectedHook.onScheduleFiberRoot(rendererID, container, element);\n } catch (err) {\n hasLoggedError || (hasLoggedError \x3d !0, error(\x22React instrumentation encountered an error: %s\x22, err));\n }\n }\n var current$1 \x3d container.current, eventTime \x3d requestEventTime(), lane \x3d requestUpdateLane(current$1);\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markRenderScheduled \x26\x26 injectedProfilingHooks.markRenderScheduled(lane);\n parentComponent \x3d getContextForSubtree(parentComponent);\n null \x3d\x3d\x3d container.context ? container.context \x3d parentComponent : container.pendingContext \x3d parentComponent;\n isRendering \x26\x26 null !\x3d\x3d current \x26\x26 !didWarnAboutNestedUpdates \x26\x26 (didWarnAboutNestedUpdates \x3d !0, error(\x22Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\\n\\nCheck the render method of %s.\x22, getComponentNameFromFiber(current) || \x22Unknown\x22));\n container \x3d createUpdate(eventTime, lane);\n container.payload \x3d {element};\n callback \x3d void 0 \x3d\x3d\x3d callback ? null : callback;\n null !\x3d\x3d callback \x26\x26 (\x22function\x22 !\x3d\x3d typeof callback \x26\x26 error(\x22render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.\x22, callback), container.callback \x3d callback);\n element \x3d enqueueUpdate(current$1, container, lane);\n null !\x3d\x3d element \x26\x26 (scheduleUpdateOnFiber(element, current$1, lane, eventTime), entangleTransitions(element, current$1, lane));\n return lane;\n }\n function getPublicRootInstance(container) {\n container \x3d container.current;\n if (!container.child) {\n return null;\n }\n switch(container.child.tag) {\n case 5:\n return container.child.stateNode;\n default:\n return container.child.stateNode;\n }\n }\n function markRetryLaneImpl(fiber, retryLane) {\n fiber \x3d fiber.memoizedState;\n if (null !\x3d\x3d fiber \x26\x26 null !\x3d\x3d fiber.dehydrated) {\n var a \x3d fiber.retryLane;\n fiber.retryLane \x3d 0 !\x3d\x3d a \x26\x26 a \x3c retryLane ? a : retryLane;\n }\n }\n function markRetryLaneIfNotHydrated(fiber, retryLane) {\n markRetryLaneImpl(fiber, retryLane);\n (fiber \x3d fiber.alternate) \x26\x26 markRetryLaneImpl(fiber, retryLane);\n }\n function findHostInstanceWithNoPortals(fiber) {\n fiber \x3d findCurrentFiberUsingSlowPath(fiber);\n fiber \x3d null !\x3d\x3d fiber ? findCurrentHostFiberWithNoPortalsImpl(fiber) : null;\n return null \x3d\x3d\x3d fiber ? null : fiber.stateNode;\n }\n function findHostInstanceByFiber(fiber) {\n fiber \x3d findCurrentHostFiber(fiber);\n return null \x3d\x3d\x3d fiber ? null : fiber.stateNode;\n }\n function emptyFindFiberByHostInstance(instance) {\n return null;\n }\n function getCurrentFiberForDevTools() {\n return current;\n }\n function ReactDOMRoot(internalRoot) {\n this._internalRoot \x3d internalRoot;\n }\n function ReactDOMHydrationRoot(internalRoot) {\n this._internalRoot \x3d internalRoot;\n }\n function isValidContainer(node) {\n return !(!node || 1 !\x3d\x3d node.nodeType \x26\x26 9 !\x3d\x3d node.nodeType \x26\x26 11 !\x3d\x3d node.nodeType);\n }\n function isValidContainerLegacy(node) {\n return !(!node || 1 !\x3d\x3d node.nodeType \x26\x26 9 !\x3d\x3d node.nodeType \x26\x26 11 !\x3d\x3d node.nodeType \x26\x26 (8 !\x3d\x3d node.nodeType || \x22 react-mount-point-unstable \x22 !\x3d\x3d node.nodeValue));\n }\n function warnIfReactDOMContainerInDEV(container) {\n 1 \x3d\x3d\x3d container.nodeType \x26\x26 container.tagName \x26\x26 \x22BODY\x22 \x3d\x3d\x3d container.tagName.toUpperCase() \x26\x26 error(\x22createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app.\x22);\n container[internalContainerInstanceKey] \x26\x26 (container._reactRootContainer ? error(\x22You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.\x22) : error(\x22You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.\x22));\n }\n function getReactRootElementInContainer(container) {\n return container ? 9 \x3d\x3d\x3d container.nodeType ? container.documentElement : container.firstChild : null;\n }\n function noopOnRecoverableError() {\n }\n function legacyCreateRootFromDOMContainer(container, initialChildren, parentComponent, callback, isHydrationContainer) {\n if (isHydrationContainer) {\n if (\x22function\x22 \x3d\x3d\x3d typeof callback) {\n var originalCallback \x3d callback;\n callback \x3d function() {\n var instance \x3d getPublicRootInstance(root);\n originalCallback.call(instance);\n };\n }\n var root \x3d createHydrationContainer(initialChildren, callback, container, 0, null, !1, !1, \x22\x22, noopOnRecoverableError);\n container._reactRootContainer \x3d root;\n container[internalContainerInstanceKey] \x3d root.current;\n listenToAllSupportedEvents(8 \x3d\x3d\x3d container.nodeType ? container.parentNode : container);\n flushSync();\n return root;\n }\n for (; isHydrationContainer \x3d container.lastChild;) {\n container.removeChild(isHydrationContainer);\n }\n if (\x22function\x22 \x3d\x3d\x3d typeof callback) {\n var _originalCallback \x3d callback;\n callback \x3d function() {\n var instance \x3d getPublicRootInstance(_root);\n _originalCallback.call(instance);\n };\n }\n var _root \x3d createFiberRoot(container, 0, !1, null, null, !1, !1, \x22\x22, noopOnRecoverableError);\n container._reactRootContainer \x3d _root;\n container[internalContainerInstanceKey] \x3d _root.current;\n listenToAllSupportedEvents(8 \x3d\x3d\x3d container.nodeType ? container.parentNode : container);\n flushSync(function() {\n updateContainer(initialChildren, _root, parentComponent, callback);\n });\n return _root;\n }\n function warnOnInvalidCallback$1(callback, callerName) {\n null !\x3d\x3d callback \x26\x26 \x22function\x22 !\x3d\x3d typeof callback \x26\x26 error(\x22%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.\x22, callerName, callback);\n }\n function legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback) {\n topLevelUpdateWarnings(container);\n warnOnInvalidCallback$1(void 0 \x3d\x3d\x3d callback ? null : callback, \x22render\x22);\n var maybeRoot \x3d container._reactRootContainer;\n if (maybeRoot) {\n var root \x3d maybeRoot;\n if (\x22function\x22 \x3d\x3d\x3d typeof callback) {\n var originalCallback \x3d callback;\n callback \x3d function() {\n var instance \x3d getPublicRootInstance(root);\n originalCallback.call(instance);\n };\n }\n updateContainer(children, root, parentComponent, callback);\n } else {\n root \x3d legacyCreateRootFromDOMContainer(container, children, parentComponent, callback, forceHydrate);\n }\n return getPublicRootInstance(root);\n }\n \x22undefined\x22 !\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart \x26\x26 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React \x3d require(\x22module$node_modules$react$index\x22), Scheduler \x3d require(\x22module$node_modules$scheduler$index\x22), ReactSharedInternals \x3d React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, suppressWarning \x3d !1, allNativeEvents \x3d new Set(), registrationNameDependencies \x3d {}, possibleRegistrationNames \x3d {}, canUseDOM \x3d !(\x22undefined\x22 \x3d\x3d\x3d typeof window || \x22undefined\x22 \x3d\x3d\x3d typeof window.document || \x22undefined\x22 \x3d\x3d\x3d typeof window.document.createElement), hasOwnProperty \x3d Object.prototype.hasOwnProperty, \n VALID_ATTRIBUTE_NAME_REGEX \x3d RegExp(\x22^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\x22), illegalAttributeNameCache \x3d {}, validatedAttributeNameCache \x3d \n {}, properties \x3d {};\n \x22children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\x22.split(\x22 \x22).forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 0, !1, name, null, !1, !1);\n });\n [[\x22acceptCharset\x22, \x22accept-charset\x22], [\x22className\x22, \x22class\x22], [\x22htmlFor\x22, \x22for\x22], [\x22httpEquiv\x22, \x22http-equiv\x22]].forEach(function(_ref) {\n var name \x3d _ref[0];\n properties[name] \x3d new PropertyInfoRecord(name, 1, !1, _ref[1], null, !1, !1);\n });\n [\x22contentEditable\x22, \x22draggable\x22, \x22spellCheck\x22, \x22value\x22].forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 2, !1, name.toLowerCase(), null, !1, !1);\n });\n [\x22autoReverse\x22, \x22externalResourcesRequired\x22, \x22focusable\x22, \x22preserveAlpha\x22].forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 2, !1, name, null, !1, !1);\n });\n \x22allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\x22.split(\x22 \x22).forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 3, !1, name.toLowerCase(), null, !1, !1);\n });\n [\x22checked\x22, \x22multiple\x22, \x22muted\x22, \x22selected\x22].forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 3, !0, name, null, !1, !1);\n });\n [\x22capture\x22, \x22download\x22].forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 4, !1, name, null, !1, !1);\n });\n [\x22cols\x22, \x22rows\x22, \x22size\x22, \x22span\x22].forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 6, !1, name, null, !1, !1);\n });\n [\x22rowSpan\x22, \x22start\x22].forEach(function(name) {\n properties[name] \x3d new PropertyInfoRecord(name, 5, !1, name.toLowerCase(), null, !1, !1);\n });\n var CAMELIZE \x3d /[\\-:]([a-z])/g, capitalize \x3d function(token) {\n return token[1].toUpperCase();\n };\n \x22accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\x22.split(\x22 \x22).forEach(function(attributeName) {\n var name \x3d attributeName.replace(CAMELIZE, capitalize);\n properties[name] \x3d new PropertyInfoRecord(name, 1, !1, attributeName, null, !1, !1);\n });\n \x22xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\x22.split(\x22 \x22).forEach(function(attributeName) {\n var name \x3d attributeName.replace(CAMELIZE, capitalize);\n properties[name] \x3d new PropertyInfoRecord(name, 1, !1, attributeName, \x22http://www.w3.org/1999/xlink\x22, !1, !1);\n });\n [\x22xml:base\x22, \x22xml:lang\x22, \x22xml:space\x22].forEach(function(attributeName) {\n var name \x3d attributeName.replace(CAMELIZE, capitalize);\n properties[name] \x3d new PropertyInfoRecord(name, 1, !1, attributeName, \x22http://www.w3.org/XML/1998/namespace\x22, !1, !1);\n });\n [\x22tabIndex\x22, \x22crossOrigin\x22].forEach(function(attributeName) {\n properties[attributeName] \x3d new PropertyInfoRecord(attributeName, 1, !1, attributeName.toLowerCase(), null, !1, !1);\n });\n properties.xlinkHref \x3d new PropertyInfoRecord(\x22xlinkHref\x22, 1, !1, \x22xlink:href\x22, \x22http://www.w3.org/1999/xlink\x22, !0, !1);\n [\x22src\x22, \x22href\x22, \x22action\x22, \x22formAction\x22].forEach(function(attributeName) {\n properties[attributeName] \x3d new PropertyInfoRecord(attributeName, 1, !1, attributeName.toLowerCase(), null, !0, !0);\n });\n var isJavaScriptProtocol \x3d /^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i, didWarn \x3d !1, REACT_ELEMENT_TYPE \x3d Symbol.for(\x22react.element\x22), REACT_PORTAL_TYPE \x3d Symbol.for(\x22react.portal\x22), REACT_FRAGMENT_TYPE \x3d Symbol.for(\x22react.fragment\x22), REACT_STRICT_MODE_TYPE \x3d Symbol.for(\x22react.strict_mode\x22), REACT_PROFILER_TYPE \x3d Symbol.for(\x22react.profiler\x22), REACT_PROVIDER_TYPE \x3d Symbol.for(\x22react.provider\x22), REACT_CONTEXT_TYPE \x3d \n Symbol.for(\x22react.context\x22), REACT_FORWARD_REF_TYPE \x3d Symbol.for(\x22react.forward_ref\x22), REACT_SUSPENSE_TYPE \x3d Symbol.for(\x22react.suspense\x22), REACT_SUSPENSE_LIST_TYPE \x3d Symbol.for(\x22react.suspense_list\x22), REACT_MEMO_TYPE \x3d Symbol.for(\x22react.memo\x22), REACT_LAZY_TYPE \x3d Symbol.for(\x22react.lazy\x22);\n Symbol.for(\x22react.scope\x22);\n Symbol.for(\x22react.debug_trace_mode\x22);\n var REACT_OFFSCREEN_TYPE \x3d Symbol.for(\x22react.offscreen\x22);\n Symbol.for(\x22react.legacy_hidden\x22);\n Symbol.for(\x22react.cache\x22);\n Symbol.for(\x22react.tracing_marker\x22);\n var MAYBE_ITERATOR_SYMBOL \x3d Symbol.iterator, assign \x3d Object.assign, disabledDepth \x3d 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd;\n disabledLog.__reactDisabledLog \x3d !0;\n var ReactCurrentDispatcher \x3d ReactSharedInternals.ReactCurrentDispatcher, prefix, reentry \x3d !1;\n var componentFrameCache \x3d new (\x22function\x22 \x3d\x3d\x3d typeof WeakMap ? WeakMap : Map)();\n var ReactDebugCurrentFrame \x3d ReactSharedInternals.ReactDebugCurrentFrame, current \x3d null, isRendering \x3d !1, hasReadOnlyValue \x3d {button:!0, checkbox:!0, image:!0, hidden:!0, radio:!0, reset:!0, submit:!0}, didWarnValueDefaultValue \x3d !1, didWarnCheckedDefaultChecked \x3d !1, didWarnControlledToUncontrolled \x3d !1, didWarnUncontrolledToControlled \x3d !1, didWarnSelectedSetOnOption \x3d !1, didWarnInvalidChild \x3d !1, didWarnInvalidInnerHTML \x3d !1, isArrayImpl \x3d Array.isArray;\n var didWarnValueDefaultValue$1 \x3d !1;\n var valuePropNames \x3d [\x22value\x22, \x22defaultValue\x22], didWarnValDefaultVal \x3d !1, reusableSVGContainer, setInnerHTML \x3d function(func) {\n return \x22undefined\x22 !\x3d\x3d typeof MSApp \x26\x26 MSApp.execUnsafeLocalFunction ? function(arg0, arg1, arg2, arg3) {\n MSApp.execUnsafeLocalFunction(function() {\n return func(arg0, arg1, arg2, arg3);\n });\n } : func;\n }(function(node, html) {\n if (\x22http://www.w3.org/2000/svg\x22 !\x3d\x3d node.namespaceURI || \x22innerHTML\x22 in node) {\n node.innerHTML \x3d html;\n } else {\n reusableSVGContainer \x3d reusableSVGContainer || document.createElement(\x22div\x22);\n reusableSVGContainer.innerHTML \x3d \x22\\x3csvg\\x3e\x22 + html.valueOf().toString() + \x22\\x3c/svg\\x3e\x22;\n for (html \x3d reusableSVGContainer.firstChild; node.firstChild;) {\n node.removeChild(node.firstChild);\n }\n for (; html.firstChild;) {\n node.appendChild(html.firstChild);\n }\n }\n }), setTextContent \x3d function(node, text) {\n if (text) {\n var firstChild \x3d node.firstChild;\n if (firstChild \x26\x26 firstChild \x3d\x3d\x3d node.lastChild \x26\x26 3 \x3d\x3d\x3d firstChild.nodeType) {\n firstChild.nodeValue \x3d text;\n return;\n }\n }\n node.textContent \x3d text;\n }, shorthandToLonghand \x3d {animation:\x22animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction\x22.split(\x22 \x22), background:\x22backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize\x22.split(\x22 \x22), backgroundPosition:[\x22backgroundPositionX\x22, \x22backgroundPositionY\x22], border:\x22borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth\x22.split(\x22 \x22), \n borderBlockEnd:[\x22borderBlockEndColor\x22, \x22borderBlockEndStyle\x22, \x22borderBlockEndWidth\x22], borderBlockStart:[\x22borderBlockStartColor\x22, \x22borderBlockStartStyle\x22, \x22borderBlockStartWidth\x22], borderBottom:[\x22borderBottomColor\x22, \x22borderBottomStyle\x22, \x22borderBottomWidth\x22], borderColor:[\x22borderBottomColor\x22, \x22borderLeftColor\x22, \x22borderRightColor\x22, \x22borderTopColor\x22], borderImage:[\x22borderImageOutset\x22, \x22borderImageRepeat\x22, \x22borderImageSlice\x22, \x22borderImageSource\x22, \x22borderImageWidth\x22], borderInlineEnd:[\x22borderInlineEndColor\x22, \n \x22borderInlineEndStyle\x22, \x22borderInlineEndWidth\x22], borderInlineStart:[\x22borderInlineStartColor\x22, \x22borderInlineStartStyle\x22, \x22borderInlineStartWidth\x22], borderLeft:[\x22borderLeftColor\x22, \x22borderLeftStyle\x22, \x22borderLeftWidth\x22], borderRadius:[\x22borderBottomLeftRadius\x22, \x22borderBottomRightRadius\x22, \x22borderTopLeftRadius\x22, \x22borderTopRightRadius\x22], borderRight:[\x22borderRightColor\x22, \x22borderRightStyle\x22, \x22borderRightWidth\x22], borderStyle:[\x22borderBottomStyle\x22, \x22borderLeftStyle\x22, \x22borderRightStyle\x22, \x22borderTopStyle\x22], \n borderTop:[\x22borderTopColor\x22, \x22borderTopStyle\x22, \x22borderTopWidth\x22], borderWidth:[\x22borderBottomWidth\x22, \x22borderLeftWidth\x22, \x22borderRightWidth\x22, \x22borderTopWidth\x22], columnRule:[\x22columnRuleColor\x22, \x22columnRuleStyle\x22, \x22columnRuleWidth\x22], columns:[\x22columnCount\x22, \x22columnWidth\x22], flex:[\x22flexBasis\x22, \x22flexGrow\x22, \x22flexShrink\x22], flexFlow:[\x22flexDirection\x22, \x22flexWrap\x22], font:\x22fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight\x22.split(\x22 \x22), \n fontVariant:\x22fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition\x22.split(\x22 \x22), gap:[\x22columnGap\x22, \x22rowGap\x22], grid:\x22gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows\x22.split(\x22 \x22), gridArea:[\x22gridColumnEnd\x22, \x22gridColumnStart\x22, \x22gridRowEnd\x22, \x22gridRowStart\x22], gridColumn:[\x22gridColumnEnd\x22, \x22gridColumnStart\x22], gridColumnGap:[\x22columnGap\x22], gridGap:[\x22columnGap\x22, \x22rowGap\x22], gridRow:[\x22gridRowEnd\x22, \n \x22gridRowStart\x22], gridRowGap:[\x22rowGap\x22], gridTemplate:[\x22gridTemplateAreas\x22, \x22gridTemplateColumns\x22, \x22gridTemplateRows\x22], listStyle:[\x22listStyleImage\x22, \x22listStylePosition\x22, \x22listStyleType\x22], margin:[\x22marginBottom\x22, \x22marginLeft\x22, \x22marginRight\x22, \x22marginTop\x22], marker:[\x22markerEnd\x22, \x22markerMid\x22, \x22markerStart\x22], mask:\x22maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize\x22.split(\x22 \x22), maskPosition:[\x22maskPositionX\x22, \x22maskPositionY\x22], outline:[\x22outlineColor\x22, \n \x22outlineStyle\x22, \x22outlineWidth\x22], overflow:[\x22overflowX\x22, \x22overflowY\x22], padding:[\x22paddingBottom\x22, \x22paddingLeft\x22, \x22paddingRight\x22, \x22paddingTop\x22], placeContent:[\x22alignContent\x22, \x22justifyContent\x22], placeItems:[\x22alignItems\x22, \x22justifyItems\x22], placeSelf:[\x22alignSelf\x22, \x22justifySelf\x22], textDecoration:[\x22textDecorationColor\x22, \x22textDecorationLine\x22, \x22textDecorationStyle\x22], textEmphasis:[\x22textEmphasisColor\x22, \x22textEmphasisStyle\x22], transition:[\x22transitionDelay\x22, \x22transitionDuration\x22, \x22transitionProperty\x22, \x22transitionTimingFunction\x22], \n wordWrap:[\x22overflowWrap\x22]}, isUnitlessNumber \x3d {animationIterationCount:!0, aspectRatio:!0, borderImageOutset:!0, borderImageSlice:!0, borderImageWidth:!0, boxFlex:!0, boxFlexGroup:!0, boxOrdinalGroup:!0, columnCount:!0, columns:!0, flex:!0, flexGrow:!0, flexPositive:!0, flexShrink:!0, flexNegative:!0, flexOrder:!0, gridArea:!0, gridRow:!0, gridRowEnd:!0, gridRowSpan:!0, gridRowStart:!0, gridColumn:!0, gridColumnEnd:!0, gridColumnSpan:!0, gridColumnStart:!0, fontWeight:!0, lineClamp:!0, lineHeight:!0, \n opacity:!0, order:!0, orphans:!0, tabSize:!0, widows:!0, zIndex:!0, zoom:!0, fillOpacity:!0, floodOpacity:!0, stopOpacity:!0, strokeDasharray:!0, strokeDashoffset:!0, strokeMiterlimit:!0, strokeOpacity:!0, strokeWidth:!0}, prefixes \x3d [\x22Webkit\x22, \x22ms\x22, \x22Moz\x22, \x22O\x22];\n Object.keys(isUnitlessNumber).forEach(function(prop) {\n prefixes.forEach(function(prefix) {\n prefix \x3d prefix + prop.charAt(0).toUpperCase() + prop.substring(1);\n isUnitlessNumber[prefix] \x3d isUnitlessNumber[prop];\n });\n });\n var uppercasePattern \x3d /([A-Z])/g, msPattern \x3d /^ms-/, warnValidStyle \x3d function() {\n }, badVendoredStyleNamePattern \x3d /^(?:webkit|moz|o)[A-Z]/, msPattern$1 \x3d /^-ms-/, hyphenPattern \x3d /-(.)/g, badStyleValueWithSemicolonPattern \x3d /;\\s*$/, warnedStyleNames \x3d {}, warnedStyleValues \x3d {}, warnedForNaNValue \x3d !1, warnedForInfinityValue \x3d !1, camelize \x3d function(string) {\n return string.replace(hyphenPattern, function(_, character) {\n return character.toUpperCase();\n });\n }, warnValidStyle$1 \x3d warnValidStyle \x3d function(name, value) {\n -1 \x3c name.indexOf(\x22-\x22) ? warnedStyleNames.hasOwnProperty(name) \x26\x26 warnedStyleNames[name] || (warnedStyleNames[name] \x3d !0, error(\x22Unsupported style property %s. Did you mean %s?\x22, name, camelize(name.replace(msPattern$1, \x22ms-\x22)))) : badVendoredStyleNamePattern.test(name) ? warnedStyleNames.hasOwnProperty(name) \x26\x26 warnedStyleNames[name] || (warnedStyleNames[name] \x3d !0, error(\x22Unsupported vendor-prefixed style property %s. Did you mean %s?\x22, name, name.charAt(0).toUpperCase() + name.slice(1))) : \n badStyleValueWithSemicolonPattern.test(value) \x26\x26 (warnedStyleValues.hasOwnProperty(value) \x26\x26 warnedStyleValues[value] || (warnedStyleValues[value] \x3d !0, error(\x27Style property values shouldn\\\x27t contain a semicolon. Try \x22%s: %s\x22 instead.\x27, name, value.replace(badStyleValueWithSemicolonPattern, \x22\x22))));\n \x22number\x22 \x3d\x3d\x3d typeof value \x26\x26 (isNaN(value) ? warnedForNaNValue || (warnedForNaNValue \x3d !0, error(\x22`NaN` is an invalid value for the `%s` css style property.\x22, name)) : isFinite(value) || warnedForInfinityValue || (warnedForInfinityValue \x3d !0, error(\x22`Infinity` is an invalid value for the `%s` css style property.\x22, name)));\n }, voidElementTags \x3d assign({menuitem:!0}, {area:!0, base:!0, br:!0, col:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0}), possibleStandardNames \x3d {accept:\x22accept\x22, acceptcharset:\x22acceptCharset\x22, \x22accept-charset\x22:\x22acceptCharset\x22, accesskey:\x22accessKey\x22, action:\x22action\x22, allowfullscreen:\x22allowFullScreen\x22, alt:\x22alt\x22, as:\x22as\x22, async:\x22async\x22, autocapitalize:\x22autoCapitalize\x22, autocomplete:\x22autoComplete\x22, autocorrect:\x22autoCorrect\x22, autofocus:\x22autoFocus\x22, \n autoplay:\x22autoPlay\x22, autosave:\x22autoSave\x22, capture:\x22capture\x22, cellpadding:\x22cellPadding\x22, cellspacing:\x22cellSpacing\x22, challenge:\x22challenge\x22, charset:\x22charSet\x22, checked:\x22checked\x22, children:\x22children\x22, cite:\x22cite\x22, class:\x22className\x22, classid:\x22classID\x22, classname:\x22className\x22, cols:\x22cols\x22, colspan:\x22colSpan\x22, content:\x22content\x22, contenteditable:\x22contentEditable\x22, contextmenu:\x22contextMenu\x22, controls:\x22controls\x22, controlslist:\x22controlsList\x22, coords:\x22coords\x22, crossorigin:\x22crossOrigin\x22, dangerouslysetinnerhtml:\x22dangerouslySetInnerHTML\x22, \n data:\x22data\x22, datetime:\x22dateTime\x22, default:\x22default\x22, defaultchecked:\x22defaultChecked\x22, defaultvalue:\x22defaultValue\x22, defer:\x22defer\x22, dir:\x22dir\x22, disabled:\x22disabled\x22, disablepictureinpicture:\x22disablePictureInPicture\x22, disableremoteplayback:\x22disableRemotePlayback\x22, download:\x22download\x22, draggable:\x22draggable\x22, enctype:\x22encType\x22, enterkeyhint:\x22enterKeyHint\x22, for:\x22htmlFor\x22, form:\x22form\x22, formmethod:\x22formMethod\x22, formaction:\x22formAction\x22, formenctype:\x22formEncType\x22, formnovalidate:\x22formNoValidate\x22, formtarget:\x22formTarget\x22, \n frameborder:\x22frameBorder\x22, headers:\x22headers\x22, height:\x22height\x22, hidden:\x22hidden\x22, high:\x22high\x22, href:\x22href\x22, hreflang:\x22hrefLang\x22, htmlfor:\x22htmlFor\x22, httpequiv:\x22httpEquiv\x22, \x22http-equiv\x22:\x22httpEquiv\x22, icon:\x22icon\x22, id:\x22id\x22, imagesizes:\x22imageSizes\x22, imagesrcset:\x22imageSrcSet\x22, innerhtml:\x22innerHTML\x22, inputmode:\x22inputMode\x22, integrity:\x22integrity\x22, is:\x22is\x22, itemid:\x22itemID\x22, itemprop:\x22itemProp\x22, itemref:\x22itemRef\x22, itemscope:\x22itemScope\x22, itemtype:\x22itemType\x22, keyparams:\x22keyParams\x22, keytype:\x22keyType\x22, kind:\x22kind\x22, \n label:\x22label\x22, lang:\x22lang\x22, list:\x22list\x22, loop:\x22loop\x22, low:\x22low\x22, manifest:\x22manifest\x22, marginwidth:\x22marginWidth\x22, marginheight:\x22marginHeight\x22, max:\x22max\x22, maxlength:\x22maxLength\x22, media:\x22media\x22, mediagroup:\x22mediaGroup\x22, method:\x22method\x22, min:\x22min\x22, minlength:\x22minLength\x22, multiple:\x22multiple\x22, muted:\x22muted\x22, name:\x22name\x22, nomodule:\x22noModule\x22, nonce:\x22nonce\x22, novalidate:\x22noValidate\x22, open:\x22open\x22, optimum:\x22optimum\x22, pattern:\x22pattern\x22, placeholder:\x22placeholder\x22, playsinline:\x22playsInline\x22, poster:\x22poster\x22, \n preload:\x22preload\x22, profile:\x22profile\x22, radiogroup:\x22radioGroup\x22, readonly:\x22readOnly\x22, referrerpolicy:\x22referrerPolicy\x22, rel:\x22rel\x22, required:\x22required\x22, reversed:\x22reversed\x22, role:\x22role\x22, rows:\x22rows\x22, rowspan:\x22rowSpan\x22, sandbox:\x22sandbox\x22, scope:\x22scope\x22, scoped:\x22scoped\x22, scrolling:\x22scrolling\x22, seamless:\x22seamless\x22, selected:\x22selected\x22, shape:\x22shape\x22, size:\x22size\x22, sizes:\x22sizes\x22, span:\x22span\x22, spellcheck:\x22spellCheck\x22, src:\x22src\x22, srcdoc:\x22srcDoc\x22, srclang:\x22srcLang\x22, srcset:\x22srcSet\x22, start:\x22start\x22, step:\x22step\x22, \n style:\x22style\x22, summary:\x22summary\x22, tabindex:\x22tabIndex\x22, target:\x22target\x22, title:\x22title\x22, type:\x22type\x22, usemap:\x22useMap\x22, value:\x22value\x22, width:\x22width\x22, wmode:\x22wmode\x22, wrap:\x22wrap\x22, about:\x22about\x22, accentheight:\x22accentHeight\x22, \x22accent-height\x22:\x22accentHeight\x22, accumulate:\x22accumulate\x22, additive:\x22additive\x22, alignmentbaseline:\x22alignmentBaseline\x22, \x22alignment-baseline\x22:\x22alignmentBaseline\x22, allowreorder:\x22allowReorder\x22, alphabetic:\x22alphabetic\x22, amplitude:\x22amplitude\x22, arabicform:\x22arabicForm\x22, \x22arabic-form\x22:\x22arabicForm\x22, \n ascent:\x22ascent\x22, attributename:\x22attributeName\x22, attributetype:\x22attributeType\x22, autoreverse:\x22autoReverse\x22, azimuth:\x22azimuth\x22, basefrequency:\x22baseFrequency\x22, baselineshift:\x22baselineShift\x22, \x22baseline-shift\x22:\x22baselineShift\x22, baseprofile:\x22baseProfile\x22, bbox:\x22bbox\x22, begin:\x22begin\x22, bias:\x22bias\x22, by:\x22by\x22, calcmode:\x22calcMode\x22, capheight:\x22capHeight\x22, \x22cap-height\x22:\x22capHeight\x22, clip:\x22clip\x22, clippath:\x22clipPath\x22, \x22clip-path\x22:\x22clipPath\x22, clippathunits:\x22clipPathUnits\x22, cliprule:\x22clipRule\x22, \x22clip-rule\x22:\x22clipRule\x22, \n color:\x22color\x22, colorinterpolation:\x22colorInterpolation\x22, \x22color-interpolation\x22:\x22colorInterpolation\x22, colorinterpolationfilters:\x22colorInterpolationFilters\x22, \x22color-interpolation-filters\x22:\x22colorInterpolationFilters\x22, colorprofile:\x22colorProfile\x22, \x22color-profile\x22:\x22colorProfile\x22, colorrendering:\x22colorRendering\x22, \x22color-rendering\x22:\x22colorRendering\x22, contentscripttype:\x22contentScriptType\x22, contentstyletype:\x22contentStyleType\x22, cursor:\x22cursor\x22, cx:\x22cx\x22, cy:\x22cy\x22, d:\x22d\x22, datatype:\x22datatype\x22, decelerate:\x22decelerate\x22, \n descent:\x22descent\x22, diffuseconstant:\x22diffuseConstant\x22, direction:\x22direction\x22, display:\x22display\x22, divisor:\x22divisor\x22, dominantbaseline:\x22dominantBaseline\x22, \x22dominant-baseline\x22:\x22dominantBaseline\x22, dur:\x22dur\x22, dx:\x22dx\x22, dy:\x22dy\x22, edgemode:\x22edgeMode\x22, elevation:\x22elevation\x22, enablebackground:\x22enableBackground\x22, \x22enable-background\x22:\x22enableBackground\x22, end:\x22end\x22, exponent:\x22exponent\x22, externalresourcesrequired:\x22externalResourcesRequired\x22, fill:\x22fill\x22, fillopacity:\x22fillOpacity\x22, \x22fill-opacity\x22:\x22fillOpacity\x22, \n fillrule:\x22fillRule\x22, \x22fill-rule\x22:\x22fillRule\x22, filter:\x22filter\x22, filterres:\x22filterRes\x22, filterunits:\x22filterUnits\x22, floodopacity:\x22floodOpacity\x22, \x22flood-opacity\x22:\x22floodOpacity\x22, floodcolor:\x22floodColor\x22, \x22flood-color\x22:\x22floodColor\x22, focusable:\x22focusable\x22, fontfamily:\x22fontFamily\x22, \x22font-family\x22:\x22fontFamily\x22, fontsize:\x22fontSize\x22, \x22font-size\x22:\x22fontSize\x22, fontsizeadjust:\x22fontSizeAdjust\x22, \x22font-size-adjust\x22:\x22fontSizeAdjust\x22, fontstretch:\x22fontStretch\x22, \x22font-stretch\x22:\x22fontStretch\x22, fontstyle:\x22fontStyle\x22, \n \x22font-style\x22:\x22fontStyle\x22, fontvariant:\x22fontVariant\x22, \x22font-variant\x22:\x22fontVariant\x22, fontweight:\x22fontWeight\x22, \x22font-weight\x22:\x22fontWeight\x22, format:\x22format\x22, from:\x22from\x22, fx:\x22fx\x22, fy:\x22fy\x22, g1:\x22g1\x22, g2:\x22g2\x22, glyphname:\x22glyphName\x22, \x22glyph-name\x22:\x22glyphName\x22, glyphorientationhorizontal:\x22glyphOrientationHorizontal\x22, \x22glyph-orientation-horizontal\x22:\x22glyphOrientationHorizontal\x22, glyphorientationvertical:\x22glyphOrientationVertical\x22, \x22glyph-orientation-vertical\x22:\x22glyphOrientationVertical\x22, glyphref:\x22glyphRef\x22, \n gradienttransform:\x22gradientTransform\x22, gradientunits:\x22gradientUnits\x22, hanging:\x22hanging\x22, horizadvx:\x22horizAdvX\x22, \x22horiz-adv-x\x22:\x22horizAdvX\x22, horizoriginx:\x22horizOriginX\x22, \x22horiz-origin-x\x22:\x22horizOriginX\x22, ideographic:\x22ideographic\x22, imagerendering:\x22imageRendering\x22, \x22image-rendering\x22:\x22imageRendering\x22, in2:\x22in2\x22, in:\x22in\x22, inlist:\x22inlist\x22, intercept:\x22intercept\x22, k1:\x22k1\x22, k2:\x22k2\x22, k3:\x22k3\x22, k4:\x22k4\x22, k:\x22k\x22, kernelmatrix:\x22kernelMatrix\x22, kernelunitlength:\x22kernelUnitLength\x22, kerning:\x22kerning\x22, keypoints:\x22keyPoints\x22, \n keysplines:\x22keySplines\x22, keytimes:\x22keyTimes\x22, lengthadjust:\x22lengthAdjust\x22, letterspacing:\x22letterSpacing\x22, \x22letter-spacing\x22:\x22letterSpacing\x22, lightingcolor:\x22lightingColor\x22, \x22lighting-color\x22:\x22lightingColor\x22, limitingconeangle:\x22limitingConeAngle\x22, local:\x22local\x22, markerend:\x22markerEnd\x22, \x22marker-end\x22:\x22markerEnd\x22, markerheight:\x22markerHeight\x22, markermid:\x22markerMid\x22, \x22marker-mid\x22:\x22markerMid\x22, markerstart:\x22markerStart\x22, \x22marker-start\x22:\x22markerStart\x22, markerunits:\x22markerUnits\x22, markerwidth:\x22markerWidth\x22, \n mask:\x22mask\x22, maskcontentunits:\x22maskContentUnits\x22, maskunits:\x22maskUnits\x22, mathematical:\x22mathematical\x22, mode:\x22mode\x22, numoctaves:\x22numOctaves\x22, offset:\x22offset\x22, opacity:\x22opacity\x22, operator:\x22operator\x22, order:\x22order\x22, orient:\x22orient\x22, orientation:\x22orientation\x22, origin:\x22origin\x22, overflow:\x22overflow\x22, overlineposition:\x22overlinePosition\x22, \x22overline-position\x22:\x22overlinePosition\x22, overlinethickness:\x22overlineThickness\x22, \x22overline-thickness\x22:\x22overlineThickness\x22, paintorder:\x22paintOrder\x22, \x22paint-order\x22:\x22paintOrder\x22, \n panose1:\x22panose1\x22, \x22panose-1\x22:\x22panose1\x22, pathlength:\x22pathLength\x22, patterncontentunits:\x22patternContentUnits\x22, patterntransform:\x22patternTransform\x22, patternunits:\x22patternUnits\x22, pointerevents:\x22pointerEvents\x22, \x22pointer-events\x22:\x22pointerEvents\x22, points:\x22points\x22, pointsatx:\x22pointsAtX\x22, pointsaty:\x22pointsAtY\x22, pointsatz:\x22pointsAtZ\x22, prefix:\x22prefix\x22, preservealpha:\x22preserveAlpha\x22, preserveaspectratio:\x22preserveAspectRatio\x22, primitiveunits:\x22primitiveUnits\x22, property:\x22property\x22, r:\x22r\x22, radius:\x22radius\x22, refx:\x22refX\x22, \n refy:\x22refY\x22, renderingintent:\x22renderingIntent\x22, \x22rendering-intent\x22:\x22renderingIntent\x22, repeatcount:\x22repeatCount\x22, repeatdur:\x22repeatDur\x22, requiredextensions:\x22requiredExtensions\x22, requiredfeatures:\x22requiredFeatures\x22, resource:\x22resource\x22, restart:\x22restart\x22, result:\x22result\x22, results:\x22results\x22, rotate:\x22rotate\x22, rx:\x22rx\x22, ry:\x22ry\x22, scale:\x22scale\x22, security:\x22security\x22, seed:\x22seed\x22, shaperendering:\x22shapeRendering\x22, \x22shape-rendering\x22:\x22shapeRendering\x22, slope:\x22slope\x22, spacing:\x22spacing\x22, specularconstant:\x22specularConstant\x22, \n specularexponent:\x22specularExponent\x22, speed:\x22speed\x22, spreadmethod:\x22spreadMethod\x22, startoffset:\x22startOffset\x22, stddeviation:\x22stdDeviation\x22, stemh:\x22stemh\x22, stemv:\x22stemv\x22, stitchtiles:\x22stitchTiles\x22, stopcolor:\x22stopColor\x22, \x22stop-color\x22:\x22stopColor\x22, stopopacity:\x22stopOpacity\x22, \x22stop-opacity\x22:\x22stopOpacity\x22, strikethroughposition:\x22strikethroughPosition\x22, \x22strikethrough-position\x22:\x22strikethroughPosition\x22, strikethroughthickness:\x22strikethroughThickness\x22, \x22strikethrough-thickness\x22:\x22strikethroughThickness\x22, \n string:\x22string\x22, stroke:\x22stroke\x22, strokedasharray:\x22strokeDasharray\x22, \x22stroke-dasharray\x22:\x22strokeDasharray\x22, strokedashoffset:\x22strokeDashoffset\x22, \x22stroke-dashoffset\x22:\x22strokeDashoffset\x22, strokelinecap:\x22strokeLinecap\x22, \x22stroke-linecap\x22:\x22strokeLinecap\x22, strokelinejoin:\x22strokeLinejoin\x22, \x22stroke-linejoin\x22:\x22strokeLinejoin\x22, strokemiterlimit:\x22strokeMiterlimit\x22, \x22stroke-miterlimit\x22:\x22strokeMiterlimit\x22, strokewidth:\x22strokeWidth\x22, \x22stroke-width\x22:\x22strokeWidth\x22, strokeopacity:\x22strokeOpacity\x22, \x22stroke-opacity\x22:\x22strokeOpacity\x22, \n suppresscontenteditablewarning:\x22suppressContentEditableWarning\x22, suppresshydrationwarning:\x22suppressHydrationWarning\x22, surfacescale:\x22surfaceScale\x22, systemlanguage:\x22systemLanguage\x22, tablevalues:\x22tableValues\x22, targetx:\x22targetX\x22, targety:\x22targetY\x22, textanchor:\x22textAnchor\x22, \x22text-anchor\x22:\x22textAnchor\x22, textdecoration:\x22textDecoration\x22, \x22text-decoration\x22:\x22textDecoration\x22, textlength:\x22textLength\x22, textrendering:\x22textRendering\x22, \x22text-rendering\x22:\x22textRendering\x22, to:\x22to\x22, transform:\x22transform\x22, typeof:\x22typeof\x22, \n u1:\x22u1\x22, u2:\x22u2\x22, underlineposition:\x22underlinePosition\x22, \x22underline-position\x22:\x22underlinePosition\x22, underlinethickness:\x22underlineThickness\x22, \x22underline-thickness\x22:\x22underlineThickness\x22, unicode:\x22unicode\x22, unicodebidi:\x22unicodeBidi\x22, \x22unicode-bidi\x22:\x22unicodeBidi\x22, unicoderange:\x22unicodeRange\x22, \x22unicode-range\x22:\x22unicodeRange\x22, unitsperem:\x22unitsPerEm\x22, \x22units-per-em\x22:\x22unitsPerEm\x22, unselectable:\x22unselectable\x22, valphabetic:\x22vAlphabetic\x22, \x22v-alphabetic\x22:\x22vAlphabetic\x22, values:\x22values\x22, vectoreffect:\x22vectorEffect\x22, \n \x22vector-effect\x22:\x22vectorEffect\x22, version:\x22version\x22, vertadvy:\x22vertAdvY\x22, \x22vert-adv-y\x22:\x22vertAdvY\x22, vertoriginx:\x22vertOriginX\x22, \x22vert-origin-x\x22:\x22vertOriginX\x22, vertoriginy:\x22vertOriginY\x22, \x22vert-origin-y\x22:\x22vertOriginY\x22, vhanging:\x22vHanging\x22, \x22v-hanging\x22:\x22vHanging\x22, videographic:\x22vIdeographic\x22, \x22v-ideographic\x22:\x22vIdeographic\x22, viewbox:\x22viewBox\x22, viewtarget:\x22viewTarget\x22, visibility:\x22visibility\x22, vmathematical:\x22vMathematical\x22, \x22v-mathematical\x22:\x22vMathematical\x22, vocab:\x22vocab\x22, widths:\x22widths\x22, wordspacing:\x22wordSpacing\x22, \n \x22word-spacing\x22:\x22wordSpacing\x22, writingmode:\x22writingMode\x22, \x22writing-mode\x22:\x22writingMode\x22, x1:\x22x1\x22, x2:\x22x2\x22, x:\x22x\x22, xchannelselector:\x22xChannelSelector\x22, xheight:\x22xHeight\x22, \x22x-height\x22:\x22xHeight\x22, xlinkactuate:\x22xlinkActuate\x22, \x22xlink:actuate\x22:\x22xlinkActuate\x22, xlinkarcrole:\x22xlinkArcrole\x22, \x22xlink:arcrole\x22:\x22xlinkArcrole\x22, xlinkhref:\x22xlinkHref\x22, \x22xlink:href\x22:\x22xlinkHref\x22, xlinkrole:\x22xlinkRole\x22, \x22xlink:role\x22:\x22xlinkRole\x22, xlinkshow:\x22xlinkShow\x22, \x22xlink:show\x22:\x22xlinkShow\x22, xlinktitle:\x22xlinkTitle\x22, \x22xlink:title\x22:\x22xlinkTitle\x22, \n xlinktype:\x22xlinkType\x22, \x22xlink:type\x22:\x22xlinkType\x22, xmlbase:\x22xmlBase\x22, \x22xml:base\x22:\x22xmlBase\x22, xmllang:\x22xmlLang\x22, \x22xml:lang\x22:\x22xmlLang\x22, xmlns:\x22xmlns\x22, \x22xml:space\x22:\x22xmlSpace\x22, xmlnsxlink:\x22xmlnsXlink\x22, \x22xmlns:xlink\x22:\x22xmlnsXlink\x22, xmlspace:\x22xmlSpace\x22, y1:\x22y1\x22, y2:\x22y2\x22, y:\x22y\x22, ychannelselector:\x22yChannelSelector\x22, z:\x22z\x22, zoomandpan:\x22zoomAndPan\x22}, ariaProperties \x3d {\x22aria-current\x22:0, \x22aria-description\x22:0, \x22aria-details\x22:0, \x22aria-disabled\x22:0, \x22aria-hidden\x22:0, \x22aria-invalid\x22:0, \x22aria-keyshortcuts\x22:0, \x22aria-label\x22:0, \n \x22aria-roledescription\x22:0, \x22aria-autocomplete\x22:0, \x22aria-checked\x22:0, \x22aria-expanded\x22:0, \x22aria-haspopup\x22:0, \x22aria-level\x22:0, \x22aria-modal\x22:0, \x22aria-multiline\x22:0, \x22aria-multiselectable\x22:0, \x22aria-orientation\x22:0, \x22aria-placeholder\x22:0, \x22aria-pressed\x22:0, \x22aria-readonly\x22:0, \x22aria-required\x22:0, \x22aria-selected\x22:0, \x22aria-sort\x22:0, \x22aria-valuemax\x22:0, \x22aria-valuemin\x22:0, \x22aria-valuenow\x22:0, \x22aria-valuetext\x22:0, \x22aria-atomic\x22:0, \x22aria-busy\x22:0, \x22aria-live\x22:0, \x22aria-relevant\x22:0, \x22aria-dropeffect\x22:0, \x22aria-grabbed\x22:0, \n \x22aria-activedescendant\x22:0, \x22aria-colcount\x22:0, \x22aria-colindex\x22:0, \x22aria-colspan\x22:0, \x22aria-controls\x22:0, \x22aria-describedby\x22:0, \x22aria-errormessage\x22:0, \x22aria-flowto\x22:0, \x22aria-labelledby\x22:0, \x22aria-owns\x22:0, \x22aria-posinset\x22:0, \x22aria-rowcount\x22:0, \x22aria-rowindex\x22:0, \x22aria-rowspan\x22:0, \x22aria-setsize\x22:0}, warnedProperties \x3d {}, rARIA \x3d RegExp(\x22^(aria)-[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\x22), \n rARIACamel \x3d RegExp(\x22^(aria)[A-Z][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\x22), didWarnValueNull \x3d !1, validateProperty$1 \x3d function() {\n }, warnedProperties$1 \x3d {}, EVENT_NAME_REGEX \x3d /^on./, INVALID_EVENT_NAME_REGEX \x3d /^on[^A-Z]/, rARIA$1 \x3d RegExp(\x22^(aria)-[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\x22), rARIACamel$1 \x3d RegExp(\x22^(aria)[A-Z][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\x22);\n validateProperty$1 \x3d function(tagName, name, value, eventRegistry) {\n if (hasOwnProperty.call(warnedProperties$1, name) \x26\x26 warnedProperties$1[name]) {\n return !0;\n }\n tagName \x3d name.toLowerCase();\n if (\x22onfocusin\x22 \x3d\x3d\x3d tagName || \x22onfocusout\x22 \x3d\x3d\x3d tagName) {\n return error(\x22React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.\x22), warnedProperties$1[name] \x3d !0;\n }\n if (null !\x3d eventRegistry) {\n var possibleRegistrationNames \x3d eventRegistry.possibleRegistrationNames;\n if (eventRegistry.registrationNameDependencies.hasOwnProperty(name)) {\n return !0;\n }\n eventRegistry \x3d possibleRegistrationNames.hasOwnProperty(tagName) ? possibleRegistrationNames[tagName] : null;\n if (null !\x3d eventRegistry) {\n return error(\x22Invalid event handler property `%s`. Did you mean `%s`?\x22, name, eventRegistry), warnedProperties$1[name] \x3d !0;\n }\n if (EVENT_NAME_REGEX.test(name)) {\n return error(\x22Unknown event handler property `%s`. It will be ignored.\x22, name), warnedProperties$1[name] \x3d !0;\n }\n } else if (EVENT_NAME_REGEX.test(name)) {\n return INVALID_EVENT_NAME_REGEX.test(name) \x26\x26 error(\x22Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.\x22, name), warnedProperties$1[name] \x3d !0;\n }\n if (rARIA$1.test(name) || rARIACamel$1.test(name)) {\n return !0;\n }\n if (\x22innerhtml\x22 \x3d\x3d\x3d tagName) {\n return error(\x22Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.\x22), warnedProperties$1[name] \x3d !0;\n }\n if (\x22aria\x22 \x3d\x3d\x3d tagName) {\n return error(\x22The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.\x22), warnedProperties$1[name] \x3d !0;\n }\n if (\x22is\x22 \x3d\x3d\x3d tagName \x26\x26 null !\x3d\x3d value \x26\x26 void 0 !\x3d\x3d value \x26\x26 \x22string\x22 !\x3d\x3d typeof value) {\n return error(\x22Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.\x22, typeof value), warnedProperties$1[name] \x3d !0;\n }\n if (\x22number\x22 \x3d\x3d\x3d typeof value \x26\x26 isNaN(value)) {\n return error(\x22Received NaN for the `%s` attribute. If this is expected, cast the value to a string.\x22, name), warnedProperties$1[name] \x3d !0;\n }\n eventRegistry \x3d getPropertyInfo(name);\n possibleRegistrationNames \x3d null !\x3d\x3d eventRegistry \x26\x26 0 \x3d\x3d\x3d eventRegistry.type;\n if (possibleStandardNames.hasOwnProperty(tagName)) {\n if (tagName \x3d possibleStandardNames[tagName], tagName !\x3d\x3d name) {\n return error(\x22Invalid DOM property `%s`. Did you mean `%s`?\x22, name, tagName), warnedProperties$1[name] \x3d !0;\n }\n } else if (!possibleRegistrationNames \x26\x26 name !\x3d\x3d tagName) {\n return error(\x22React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.\x22, name, tagName), warnedProperties$1[name] \x3d !0;\n }\n if (\x22boolean\x22 \x3d\x3d\x3d typeof value \x26\x26 shouldRemoveAttributeWithWarning(name, value, eventRegistry, !1)) {\n return value ? error(\x27Received `%s` for a non-boolean attribute `%s`.\\n\\nIf you want to write it to the DOM, pass a string instead: %s\\x3d\x22%s\x22 or %s\\x3d{value.toString()}.\x27, value, name, name, value, name) : error(\x27Received `%s` for a non-boolean attribute `%s`.\\n\\nIf you want to write it to the DOM, pass a string instead: %s\\x3d\x22%s\x22 or %s\\x3d{value.toString()}.\\n\\nIf you used to conditionally omit it with %s\\x3d{condition \\x26\\x26 value}, pass %s\\x3d{condition ? value : undefined} instead.\x27, \n value, name, name, value, name, name, name), warnedProperties$1[name] \x3d !0;\n }\n if (possibleRegistrationNames) {\n return !0;\n }\n if (shouldRemoveAttributeWithWarning(name, value, eventRegistry, !1)) {\n return warnedProperties$1[name] \x3d !0, !1;\n }\n \x22false\x22 !\x3d\x3d value \x26\x26 \x22true\x22 !\x3d\x3d value || null \x3d\x3d\x3d eventRegistry || 3 !\x3d\x3d eventRegistry.type || (error(\x22Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s\\x3d{%s}?\x22, value, name, \x22false\x22 \x3d\x3d\x3d value ? \x22The browser will interpret it as a truthy value.\x22 : \x27Although this works, it will not work as expected if you pass the string \x22false\x22.\x27, name, value), warnedProperties$1[name] \x3d !0);\n return !0;\n };\n var warnUnknownProperties \x3d function(type, props, eventRegistry) {\n var unknownProps \x3d [], key;\n for (key in props) {\n validateProperty$1(type, key, props[key], eventRegistry) || unknownProps.push(key);\n }\n props \x3d unknownProps.map(function(prop) {\n return \x22`\x22 + prop + \x22`\x22;\n }).join(\x22, \x22);\n 1 \x3d\x3d\x3d unknownProps.length ? error(\x22Invalid value for prop %s on \\x3c%s\\x3e tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior \x22, props, type) : 1 \x3c unknownProps.length \x26\x26 error(\x22Invalid values for props %s on \\x3c%s\\x3e tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior \x22, props, \n type);\n }, currentReplayingEvent \x3d null, restoreImpl \x3d null, restoreTarget \x3d null, restoreQueue \x3d null, batchedUpdatesImpl \x3d function(fn, bookkeeping) {\n return fn(bookkeeping);\n }, flushSyncImpl \x3d function() {\n }, isInsideEventHandler \x3d !1, passiveBrowserEventsSupported \x3d !1;\n if (canUseDOM) {\n try {\n var options \x3d {};\n Object.defineProperty(options, \x22passive\x22, {get:function() {\n passiveBrowserEventsSupported \x3d !0;\n }});\n window.addEventListener(\x22test\x22, options, options);\n window.removeEventListener(\x22test\x22, options, options);\n } catch (e) {\n passiveBrowserEventsSupported \x3d !1;\n }\n }\n var invokeGuardedCallbackImpl \x3d invokeGuardedCallbackProd;\n if (\x22undefined\x22 !\x3d\x3d typeof window \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof window.dispatchEvent \x26\x26 \x22undefined\x22 !\x3d\x3d typeof document \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof document.createEvent) {\n var fakeNode \x3d document.createElement(\x22react\x22);\n invokeGuardedCallbackImpl \x3d function(name, func, context, a, b, c, d, e, f) {\n function restoreAfterDispatch() {\n fakeNode.removeEventListener(evtType, callCallback, !1);\n \x22undefined\x22 !\x3d\x3d typeof window.event \x26\x26 window.hasOwnProperty(\x22event\x22) \x26\x26 (window.event \x3d windowEvent);\n }\n function callCallback() {\n didCall \x3d !0;\n restoreAfterDispatch();\n func.apply(context, funcArgs);\n didError \x3d !1;\n }\n function handleWindowError(event) {\n error \x3d event.error;\n didSetError \x3d !0;\n null \x3d\x3d\x3d error \x26\x26 0 \x3d\x3d\x3d event.colno \x26\x26 0 \x3d\x3d\x3d event.lineno \x26\x26 (isCrossOriginError \x3d !0);\n if (event.defaultPrevented \x26\x26 null !\x3d error \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof error) {\n try {\n error._suppressLogging \x3d !0;\n } catch (inner) {\n }\n }\n }\n if (\x22undefined\x22 \x3d\x3d\x3d typeof document || null \x3d\x3d\x3d document) {\n throw Error(\x22The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.\x22);\n }\n var evt \x3d document.createEvent(\x22Event\x22), didCall \x3d !1, didError \x3d !0, windowEvent \x3d window.event, windowEventDescriptor \x3d Object.getOwnPropertyDescriptor(window, \x22event\x22), funcArgs \x3d Array.prototype.slice.call(arguments, 3), error, didSetError \x3d !1, isCrossOriginError \x3d !1, evtType \x3d \x22react-\x22 + (name ? name : \x22invokeguardedcallback\x22);\n window.addEventListener(\x22error\x22, handleWindowError);\n fakeNode.addEventListener(evtType, callCallback, !1);\n evt.initEvent(evtType, !1, !1);\n fakeNode.dispatchEvent(evt);\n windowEventDescriptor \x26\x26 Object.defineProperty(window, \x22event\x22, windowEventDescriptor);\n didCall \x26\x26 didError \x26\x26 (didSetError ? isCrossOriginError \x26\x26 (error \x3d Error(\x22A cross-origin error was thrown. React doesn\x27t have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.\x22)) : error \x3d Error(\x22An error was thrown inside one of your components, but React doesn\x27t know what it was. This is likely due to browser flakiness. React does its best to preserve the \\\x22Pause on exceptions\\\x22 behavior of the DevTools, which requires some DEV-mode only tricks. It\x27s possible that these don\x27t work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.\x22), \n this.onError(error));\n window.removeEventListener(\x22error\x22, handleWindowError);\n if (!didCall) {\n return restoreAfterDispatch(), invokeGuardedCallbackProd.apply(this, arguments);\n }\n };\n }\n var invokeGuardedCallbackImpl$1 \x3d invokeGuardedCallbackImpl, hasError \x3d !1, caughtError \x3d null, hasRethrowError \x3d !1, rethrowError \x3d null, reporter \x3d {onError:function(error) {\n hasError \x3d !0;\n caughtError \x3d error;\n }}, ReactCurrentOwner \x3d ReactSharedInternals.ReactCurrentOwner, scheduleCallback \x3d Scheduler.unstable_scheduleCallback, cancelCallback \x3d Scheduler.unstable_cancelCallback, shouldYield \x3d Scheduler.unstable_shouldYield, requestPaint \x3d Scheduler.unstable_requestPaint, now \x3d Scheduler.unstable_now, getCurrentPriorityLevel \x3d Scheduler.unstable_getCurrentPriorityLevel, ImmediatePriority \x3d Scheduler.unstable_ImmediatePriority, UserBlockingPriority \x3d Scheduler.unstable_UserBlockingPriority, NormalPriority \x3d \n Scheduler.unstable_NormalPriority, LowPriority \x3d Scheduler.unstable_LowPriority, IdlePriority \x3d Scheduler.unstable_IdlePriority, unstable_yieldValue \x3d Scheduler.unstable_yieldValue, unstable_setDisableYieldValue \x3d Scheduler.unstable_setDisableYieldValue, rendererID \x3d null, injectedHook \x3d null, injectedProfilingHooks \x3d null, hasLoggedError \x3d !1, isDevToolsPresent \x3d \x22undefined\x22 !\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 \x3d Math.clz32 ? Math.clz32 : clz32Fallback, log \x3d Math.log, LN2 \x3d Math.LN2, \n TotalLanes \x3d 31, SyncLane \x3d 1, InputContinuousHydrationLane \x3d 2, InputContinuousLane \x3d 4, DefaultHydrationLane \x3d 8, DefaultLane \x3d 16, TransitionHydrationLane \x3d 32, TransitionLanes \x3d 4194240, RetryLanes \x3d 130023424, SelectiveHydrationLane \x3d 134217728, IdleHydrationLane \x3d 268435456, IdleLane \x3d 536870912, OffscreenLane \x3d 1073741824, nextTransitionLane \x3d 64, nextRetryLane \x3d 4194304, DiscreteEventPriority \x3d SyncLane, ContinuousEventPriority \x3d InputContinuousLane, DefaultEventPriority \x3d DefaultLane, \n IdleEventPriority \x3d IdleLane, currentUpdatePriority \x3d 0, hasScheduledReplayAttempt \x3d !1, queuedDiscreteEvents \x3d [], queuedFocus \x3d null, queuedDrag \x3d null, queuedMouse \x3d null, queuedPointers \x3d new Map(), queuedPointerCaptures \x3d new Map(), queuedExplicitHydrationTargets \x3d [], discreteReplayableEvents \x3d \x22mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit\x22.split(\x22 \x22), \n ReactCurrentBatchConfig \x3d ReactSharedInternals.ReactCurrentBatchConfig, _enabled \x3d !0, return_targetInst \x3d null, root \x3d null, startText \x3d null, fallbackText \x3d null, EventInterface \x3d {eventPhase:0, bubbles:0, cancelable:0, timeStamp:function(event) {\n return event.timeStamp || Date.now();\n }, defaultPrevented:0, isTrusted:0}, SyntheticEvent \x3d createSyntheticEvent(EventInterface), UIEventInterface \x3d assign({}, EventInterface, {view:0, detail:0}), SyntheticUIEvent \x3d createSyntheticEvent(UIEventInterface), lastMovementX, lastMovementY, lastMouseEvent, MouseEventInterface \x3d assign({}, UIEventInterface, {screenX:0, screenY:0, clientX:0, clientY:0, pageX:0, pageY:0, ctrlKey:0, shiftKey:0, altKey:0, metaKey:0, getModifierState:getEventModifierState, button:0, buttons:0, relatedTarget:function(event) {\n return void 0 \x3d\x3d\x3d event.relatedTarget ? event.fromElement \x3d\x3d\x3d event.srcElement ? event.toElement : event.fromElement : event.relatedTarget;\n }, movementX:function(event) {\n if (\x22movementX\x22 in event) {\n return event.movementX;\n }\n event !\x3d\x3d lastMouseEvent \x26\x26 (lastMouseEvent \x26\x26 \x22mousemove\x22 \x3d\x3d\x3d event.type ? (lastMovementX \x3d event.screenX - lastMouseEvent.screenX, lastMovementY \x3d event.screenY - lastMouseEvent.screenY) : lastMovementY \x3d lastMovementX \x3d 0, lastMouseEvent \x3d event);\n return lastMovementX;\n }, movementY:function(event) {\n return \x22movementY\x22 in event ? event.movementY : lastMovementY;\n }}), SyntheticMouseEvent \x3d createSyntheticEvent(MouseEventInterface), DragEventInterface \x3d assign({}, MouseEventInterface, {dataTransfer:0}), SyntheticDragEvent \x3d createSyntheticEvent(DragEventInterface), FocusEventInterface \x3d assign({}, UIEventInterface, {relatedTarget:0}), SyntheticFocusEvent \x3d createSyntheticEvent(FocusEventInterface), AnimationEventInterface \x3d assign({}, EventInterface, {animationName:0, elapsedTime:0, pseudoElement:0}), SyntheticAnimationEvent \x3d createSyntheticEvent(AnimationEventInterface), \n ClipboardEventInterface \x3d assign({}, EventInterface, {clipboardData:function(event) {\n return \x22clipboardData\x22 in event ? event.clipboardData : window.clipboardData;\n }}), SyntheticClipboardEvent \x3d createSyntheticEvent(ClipboardEventInterface), CompositionEventInterface \x3d assign({}, EventInterface, {data:0}), SyntheticCompositionEvent \x3d createSyntheticEvent(CompositionEventInterface), SyntheticInputEvent \x3d SyntheticCompositionEvent, normalizeKey \x3d {Esc:\x22Escape\x22, Spacebar:\x22 \x22, Left:\x22ArrowLeft\x22, Up:\x22ArrowUp\x22, Right:\x22ArrowRight\x22, Down:\x22ArrowDown\x22, Del:\x22Delete\x22, Win:\x22OS\x22, Menu:\x22ContextMenu\x22, Apps:\x22ContextMenu\x22, Scroll:\x22ScrollLock\x22, MozPrintableKey:\x22Unidentified\x22}, \n translateToKey \x3d {8:\x22Backspace\x22, 9:\x22Tab\x22, 12:\x22Clear\x22, 13:\x22Enter\x22, 16:\x22Shift\x22, 17:\x22Control\x22, 18:\x22Alt\x22, 19:\x22Pause\x22, 20:\x22CapsLock\x22, 27:\x22Escape\x22, 32:\x22 \x22, 33:\x22PageUp\x22, 34:\x22PageDown\x22, 35:\x22End\x22, 36:\x22Home\x22, 37:\x22ArrowLeft\x22, 38:\x22ArrowUp\x22, 39:\x22ArrowRight\x22, 40:\x22ArrowDown\x22, 45:\x22Insert\x22, 46:\x22Delete\x22, 112:\x22F1\x22, 113:\x22F2\x22, 114:\x22F3\x22, 115:\x22F4\x22, 116:\x22F5\x22, 117:\x22F6\x22, 118:\x22F7\x22, 119:\x22F8\x22, 120:\x22F9\x22, 121:\x22F10\x22, 122:\x22F11\x22, 123:\x22F12\x22, 144:\x22NumLock\x22, 145:\x22ScrollLock\x22, 224:\x22Meta\x22}, modifierKeyToProp \x3d {Alt:\x22altKey\x22, Control:\x22ctrlKey\x22, \n Meta:\x22metaKey\x22, Shift:\x22shiftKey\x22}, KeyboardEventInterface \x3d assign({}, UIEventInterface, {key:function(nativeEvent) {\n if (nativeEvent.key) {\n var key \x3d normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (\x22Unidentified\x22 !\x3d\x3d key) {\n return key;\n }\n }\n return \x22keypress\x22 \x3d\x3d\x3d nativeEvent.type ? (nativeEvent \x3d getEventCharCode(nativeEvent), 13 \x3d\x3d\x3d nativeEvent ? \x22Enter\x22 : String.fromCharCode(nativeEvent)) : \x22keydown\x22 \x3d\x3d\x3d nativeEvent.type || \x22keyup\x22 \x3d\x3d\x3d nativeEvent.type ? translateToKey[nativeEvent.keyCode] || \x22Unidentified\x22 : \x22\x22;\n }, code:0, location:0, ctrlKey:0, shiftKey:0, altKey:0, metaKey:0, repeat:0, locale:0, getModifierState:getEventModifierState, charCode:function(event) {\n return \x22keypress\x22 \x3d\x3d\x3d event.type ? getEventCharCode(event) : 0;\n }, keyCode:function(event) {\n return \x22keydown\x22 \x3d\x3d\x3d event.type || \x22keyup\x22 \x3d\x3d\x3d event.type ? event.keyCode : 0;\n }, which:function(event) {\n return \x22keypress\x22 \x3d\x3d\x3d event.type ? getEventCharCode(event) : \x22keydown\x22 \x3d\x3d\x3d event.type || \x22keyup\x22 \x3d\x3d\x3d event.type ? event.keyCode : 0;\n }}), SyntheticKeyboardEvent \x3d createSyntheticEvent(KeyboardEventInterface), PointerEventInterface \x3d assign({}, MouseEventInterface, {pointerId:0, width:0, height:0, pressure:0, tangentialPressure:0, tiltX:0, tiltY:0, twist:0, pointerType:0, isPrimary:0}), SyntheticPointerEvent \x3d createSyntheticEvent(PointerEventInterface), TouchEventInterface \x3d assign({}, UIEventInterface, {touches:0, targetTouches:0, changedTouches:0, altKey:0, metaKey:0, ctrlKey:0, shiftKey:0, getModifierState:getEventModifierState}), \n SyntheticTouchEvent \x3d createSyntheticEvent(TouchEventInterface), TransitionEventInterface \x3d assign({}, EventInterface, {propertyName:0, elapsedTime:0, pseudoElement:0}), SyntheticTransitionEvent \x3d createSyntheticEvent(TransitionEventInterface), WheelEventInterface \x3d assign({}, MouseEventInterface, {deltaX:function(event) {\n return \x22deltaX\x22 in event ? event.deltaX : \x22wheelDeltaX\x22 in event ? -event.wheelDeltaX : 0;\n }, deltaY:function(event) {\n return \x22deltaY\x22 in event ? event.deltaY : \x22wheelDeltaY\x22 in event ? -event.wheelDeltaY : \x22wheelDelta\x22 in event ? -event.wheelDelta : 0;\n }, deltaZ:0, deltaMode:0}), SyntheticWheelEvent \x3d createSyntheticEvent(WheelEventInterface), END_KEYCODES \x3d [9, 13, 27, 32], START_KEYCODE \x3d 229, canUseCompositionEvent \x3d canUseDOM \x26\x26 \x22CompositionEvent\x22 in window, documentMode \x3d null;\n canUseDOM \x26\x26 \x22documentMode\x22 in document \x26\x26 (documentMode \x3d document.documentMode);\n var canUseTextInputEvent \x3d canUseDOM \x26\x26 \x22TextEvent\x22 in window \x26\x26 !documentMode, useFallbackCompositionData \x3d canUseDOM \x26\x26 (!canUseCompositionEvent || documentMode \x26\x26 8 \x3c documentMode \x26\x26 11 \x3e\x3d documentMode), SPACEBAR_CODE \x3d 32, SPACEBAR_CHAR \x3d String.fromCharCode(SPACEBAR_CODE), hasSpaceKeypress \x3d !1, isComposing \x3d !1, supportedInputTypes \x3d {color:!0, date:!0, datetime:!0, \x22datetime-local\x22:!0, email:!0, month:!0, number:!0, password:!0, range:!0, search:!0, tel:!0, text:!0, time:!0, url:!0, week:!0}, \n activeElement \x3d null, activeElementInst \x3d null, isInputEventSupported \x3d !1;\n canUseDOM \x26\x26 (isInputEventSupported \x3d isEventSupported(\x22input\x22) \x26\x26 (!document.documentMode || 9 \x3c document.documentMode));\n var objectIs \x3d \x22function\x22 \x3d\x3d\x3d typeof Object.is ? Object.is : is, skipSelectionChangeEvent \x3d canUseDOM \x26\x26 \x22documentMode\x22 in document \x26\x26 11 \x3e\x3d document.documentMode, activeElement$1 \x3d null, activeElementInst$1 \x3d null, lastSelection \x3d null, mouseDown \x3d !1, vendorPrefixes \x3d {animationend:makePrefixMap(\x22Animation\x22, \x22AnimationEnd\x22), animationiteration:makePrefixMap(\x22Animation\x22, \x22AnimationIteration\x22), animationstart:makePrefixMap(\x22Animation\x22, \x22AnimationStart\x22), transitionend:makePrefixMap(\x22Transition\x22, \n \x22TransitionEnd\x22)}, prefixedEventNames \x3d {}, style \x3d {};\n canUseDOM \x26\x26 (style \x3d document.createElement(\x22div\x22).style, \x22AnimationEvent\x22 in window || (delete vendorPrefixes.animationend.animation, delete vendorPrefixes.animationiteration.animation, delete vendorPrefixes.animationstart.animation), \x22TransitionEvent\x22 in window || delete vendorPrefixes.transitionend.transition);\n var ANIMATION_END \x3d getVendorPrefixedEventName(\x22animationend\x22), ANIMATION_ITERATION \x3d getVendorPrefixedEventName(\x22animationiteration\x22), ANIMATION_START \x3d getVendorPrefixedEventName(\x22animationstart\x22), TRANSITION_END \x3d getVendorPrefixedEventName(\x22transitionend\x22), topLevelEventsToReactNames \x3d new Map(), simpleEventPluginEvents \x3d \x22abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\x22.split(\x22 \x22);\n (function() {\n for (var i \x3d 0; i \x3c simpleEventPluginEvents.length; i++) {\n var eventName \x3d simpleEventPluginEvents[i], domEventName \x3d eventName.toLowerCase();\n eventName \x3d eventName[0].toUpperCase() + eventName.slice(1);\n registerSimpleEvent(domEventName, \x22on\x22 + eventName);\n }\n registerSimpleEvent(ANIMATION_END, \x22onAnimationEnd\x22);\n registerSimpleEvent(ANIMATION_ITERATION, \x22onAnimationIteration\x22);\n registerSimpleEvent(ANIMATION_START, \x22onAnimationStart\x22);\n registerSimpleEvent(\x22dblclick\x22, \x22onDoubleClick\x22);\n registerSimpleEvent(\x22focusin\x22, \x22onFocus\x22);\n registerSimpleEvent(\x22focusout\x22, \x22onBlur\x22);\n registerSimpleEvent(TRANSITION_END, \x22onTransitionEnd\x22);\n })();\n registerDirectEvent(\x22onMouseEnter\x22, [\x22mouseout\x22, \x22mouseover\x22]);\n registerDirectEvent(\x22onMouseLeave\x22, [\x22mouseout\x22, \x22mouseover\x22]);\n registerDirectEvent(\x22onPointerEnter\x22, [\x22pointerout\x22, \x22pointerover\x22]);\n registerDirectEvent(\x22onPointerLeave\x22, [\x22pointerout\x22, \x22pointerover\x22]);\n registerTwoPhaseEvent(\x22onChange\x22, \x22change click focusin focusout input keydown keyup selectionchange\x22.split(\x22 \x22));\n registerTwoPhaseEvent(\x22onSelect\x22, \x22focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\x22.split(\x22 \x22));\n registerTwoPhaseEvent(\x22onBeforeInput\x22, [\x22compositionend\x22, \x22keypress\x22, \x22textInput\x22, \x22paste\x22]);\n registerTwoPhaseEvent(\x22onCompositionEnd\x22, \x22compositionend focusout keydown keypress keyup mousedown\x22.split(\x22 \x22));\n registerTwoPhaseEvent(\x22onCompositionStart\x22, \x22compositionstart focusout keydown keypress keyup mousedown\x22.split(\x22 \x22));\n registerTwoPhaseEvent(\x22onCompositionUpdate\x22, \x22compositionupdate focusout keydown keypress keyup mousedown\x22.split(\x22 \x22));\n var mediaEventTypes \x3d \x22abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\x22.split(\x22 \x22), nonDelegatedEvents \x3d new Set(\x22cancel close invalid load scroll toggle\x22.split(\x22 \x22).concat(mediaEventTypes)), listeningMarker \x3d \x22_reactListening\x22 + Math.random().toString(36).slice(2), didWarnInvalidHydration \x3d !1;\n var warnedUnknownTags \x3d {dialog:!0, webview:!0};\n var validatePropertiesInDevelopment \x3d function(type, props) {\n isCustomComponent(type, props) || warnInvalidARIAProps(type, props);\n \x22input\x22 !\x3d\x3d type \x26\x26 \x22textarea\x22 !\x3d\x3d type \x26\x26 \x22select\x22 !\x3d\x3d type || null \x3d\x3d props || null !\x3d\x3d props.value || didWarnValueNull || (didWarnValueNull \x3d !0, \x22select\x22 \x3d\x3d\x3d type \x26\x26 props.multiple ? error(\x22`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.\x22, type) : error(\x22`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.\x22, \n type));\n var eventRegistry \x3d {registrationNameDependencies, possibleRegistrationNames};\n isCustomComponent(type, props) || warnUnknownProperties(type, props, eventRegistry);\n };\n var canDiffStyleForHydrationWarning \x3d canUseDOM \x26\x26 !document.documentMode;\n var warnForPropDifference \x3d function(propName, serverValue, clientValue) {\n didWarnInvalidHydration || (clientValue \x3d normalizeMarkupForTextOrAttribute(clientValue), serverValue \x3d normalizeMarkupForTextOrAttribute(serverValue), serverValue !\x3d\x3d clientValue \x26\x26 (didWarnInvalidHydration \x3d !0, error(\x22Prop `%s` did not match. Server: %s Client: %s\x22, propName, JSON.stringify(serverValue), JSON.stringify(clientValue))));\n };\n var warnForExtraAttributes \x3d function(attributeNames) {\n if (!didWarnInvalidHydration) {\n didWarnInvalidHydration \x3d !0;\n var names \x3d [];\n attributeNames.forEach(function(name) {\n names.push(name);\n });\n error(\x22Extra attributes from the server: %s\x22, names);\n }\n };\n var warnForInvalidEventListener \x3d function(registrationName, listener) {\n !1 \x3d\x3d\x3d listener ? error(\x22Expected `%s` listener to be a function, instead got `false`.\\n\\nIf you used to conditionally omit it with %s\\x3d{condition \\x26\\x26 value}, pass %s\\x3d{condition ? value : undefined} instead.\x22, registrationName, registrationName, registrationName) : error(\x22Expected `%s` listener to be a function, instead got a value of `%s` type.\x22, registrationName, typeof listener);\n };\n var normalizeHTML \x3d function(parent, html) {\n parent \x3d \x22http://www.w3.org/1999/xhtml\x22 \x3d\x3d\x3d parent.namespaceURI ? parent.ownerDocument.createElement(parent.tagName) : parent.ownerDocument.createElementNS(parent.namespaceURI, parent.tagName);\n parent.innerHTML \x3d html;\n return parent.innerHTML;\n };\n var NORMALIZE_NEWLINES_REGEX \x3d /\\r\\n?/g, NORMALIZE_NULL_AND_REPLACEMENT_REGEX \x3d /\\u0000|\\uFFFD/g, validateDOMNesting \x3d function() {\n }, updatedAncestorInfo \x3d function() {\n }, specialTags \x3d \x22address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp\x22.split(\x22 \x22), \n inScopeTags \x3d \x22applet caption html table td th marquee object template foreignObject desc title\x22.split(\x22 \x22), buttonScopeTags \x3d inScopeTags.concat([\x22button\x22]), impliedEndTags \x3d \x22dd dt li option optgroup p rp rt\x22.split(\x22 \x22), emptyAncestorInfo \x3d {current:null, formTag:null, aTagInScope:null, buttonTagInScope:null, nobrTagInScope:null, pTagInButtonScope:null, listItemTagAutoclosing:null, dlItemTagAutoclosing:null};\n updatedAncestorInfo \x3d function(oldInfo, tag) {\n oldInfo \x3d assign({}, oldInfo || emptyAncestorInfo);\n var info \x3d {tag};\n -1 !\x3d\x3d inScopeTags.indexOf(tag) \x26\x26 (oldInfo.aTagInScope \x3d null, oldInfo.buttonTagInScope \x3d null, oldInfo.nobrTagInScope \x3d null);\n -1 !\x3d\x3d buttonScopeTags.indexOf(tag) \x26\x26 (oldInfo.pTagInButtonScope \x3d null);\n -1 !\x3d\x3d specialTags.indexOf(tag) \x26\x26 \x22address\x22 !\x3d\x3d tag \x26\x26 \x22div\x22 !\x3d\x3d tag \x26\x26 \x22p\x22 !\x3d\x3d tag \x26\x26 (oldInfo.listItemTagAutoclosing \x3d null, oldInfo.dlItemTagAutoclosing \x3d null);\n oldInfo.current \x3d info;\n \x22form\x22 \x3d\x3d\x3d tag \x26\x26 (oldInfo.formTag \x3d info);\n \x22a\x22 \x3d\x3d\x3d tag \x26\x26 (oldInfo.aTagInScope \x3d info);\n \x22button\x22 \x3d\x3d\x3d tag \x26\x26 (oldInfo.buttonTagInScope \x3d info);\n \x22nobr\x22 \x3d\x3d\x3d tag \x26\x26 (oldInfo.nobrTagInScope \x3d info);\n \x22p\x22 \x3d\x3d\x3d tag \x26\x26 (oldInfo.pTagInButtonScope \x3d info);\n \x22li\x22 \x3d\x3d\x3d tag \x26\x26 (oldInfo.listItemTagAutoclosing \x3d info);\n if (\x22dd\x22 \x3d\x3d\x3d tag || \x22dt\x22 \x3d\x3d\x3d tag) {\n oldInfo.dlItemTagAutoclosing \x3d info;\n }\n return oldInfo;\n };\n var isTagValidWithParent \x3d function(tag, parentTag) {\n switch(parentTag) {\n case \x22select\x22:\n return \x22option\x22 \x3d\x3d\x3d tag || \x22optgroup\x22 \x3d\x3d\x3d tag || \x22#text\x22 \x3d\x3d\x3d tag;\n case \x22optgroup\x22:\n return \x22option\x22 \x3d\x3d\x3d tag || \x22#text\x22 \x3d\x3d\x3d tag;\n case \x22option\x22:\n return \x22#text\x22 \x3d\x3d\x3d tag;\n case \x22tr\x22:\n return \x22th\x22 \x3d\x3d\x3d tag || \x22td\x22 \x3d\x3d\x3d tag || \x22style\x22 \x3d\x3d\x3d tag || \x22script\x22 \x3d\x3d\x3d tag || \x22template\x22 \x3d\x3d\x3d tag;\n case \x22tbody\x22:\n case \x22thead\x22:\n case \x22tfoot\x22:\n return \x22tr\x22 \x3d\x3d\x3d tag || \x22style\x22 \x3d\x3d\x3d tag || \x22script\x22 \x3d\x3d\x3d tag || \x22template\x22 \x3d\x3d\x3d tag;\n case \x22colgroup\x22:\n return \x22col\x22 \x3d\x3d\x3d tag || \x22template\x22 \x3d\x3d\x3d tag;\n case \x22table\x22:\n return \x22caption\x22 \x3d\x3d\x3d tag || \x22colgroup\x22 \x3d\x3d\x3d tag || \x22tbody\x22 \x3d\x3d\x3d tag || \x22tfoot\x22 \x3d\x3d\x3d tag || \x22thead\x22 \x3d\x3d\x3d tag || \x22style\x22 \x3d\x3d\x3d tag || \x22script\x22 \x3d\x3d\x3d tag || \x22template\x22 \x3d\x3d\x3d tag;\n case \x22head\x22:\n return \x22base\x22 \x3d\x3d\x3d tag || \x22basefont\x22 \x3d\x3d\x3d tag || \x22bgsound\x22 \x3d\x3d\x3d tag || \x22link\x22 \x3d\x3d\x3d tag || \x22meta\x22 \x3d\x3d\x3d tag || \x22title\x22 \x3d\x3d\x3d tag || \x22noscript\x22 \x3d\x3d\x3d tag || \x22noframes\x22 \x3d\x3d\x3d tag || \x22style\x22 \x3d\x3d\x3d tag || \x22script\x22 \x3d\x3d\x3d tag || \x22template\x22 \x3d\x3d\x3d tag;\n case \x22html\x22:\n return \x22head\x22 \x3d\x3d\x3d tag || \x22body\x22 \x3d\x3d\x3d tag || \x22frameset\x22 \x3d\x3d\x3d tag;\n case \x22frameset\x22:\n return \x22frame\x22 \x3d\x3d\x3d tag;\n case \x22#document\x22:\n return \x22html\x22 \x3d\x3d\x3d tag;\n }\n switch(tag) {\n case \x22h1\x22:\n case \x22h2\x22:\n case \x22h3\x22:\n case \x22h4\x22:\n case \x22h5\x22:\n case \x22h6\x22:\n return \x22h1\x22 !\x3d\x3d parentTag \x26\x26 \x22h2\x22 !\x3d\x3d parentTag \x26\x26 \x22h3\x22 !\x3d\x3d parentTag \x26\x26 \x22h4\x22 !\x3d\x3d parentTag \x26\x26 \x22h5\x22 !\x3d\x3d parentTag \x26\x26 \x22h6\x22 !\x3d\x3d parentTag;\n case \x22rp\x22:\n case \x22rt\x22:\n return -1 \x3d\x3d\x3d impliedEndTags.indexOf(parentTag);\n case \x22body\x22:\n case \x22caption\x22:\n case \x22col\x22:\n case \x22colgroup\x22:\n case \x22frameset\x22:\n case \x22frame\x22:\n case \x22head\x22:\n case \x22html\x22:\n case \x22tbody\x22:\n case \x22td\x22:\n case \x22tfoot\x22:\n case \x22th\x22:\n case \x22thead\x22:\n case \x22tr\x22:\n return null \x3d\x3d parentTag;\n }\n return !0;\n }, findInvalidAncestorForTag \x3d function(tag, ancestorInfo) {\n switch(tag) {\n case \x22address\x22:\n case \x22article\x22:\n case \x22aside\x22:\n case \x22blockquote\x22:\n case \x22center\x22:\n case \x22details\x22:\n case \x22dialog\x22:\n case \x22dir\x22:\n case \x22div\x22:\n case \x22dl\x22:\n case \x22fieldset\x22:\n case \x22figcaption\x22:\n case \x22figure\x22:\n case \x22footer\x22:\n case \x22header\x22:\n case \x22hgroup\x22:\n case \x22main\x22:\n case \x22menu\x22:\n case \x22nav\x22:\n case \x22ol\x22:\n case \x22p\x22:\n case \x22section\x22:\n case \x22summary\x22:\n case \x22ul\x22:\n case \x22pre\x22:\n case \x22listing\x22:\n case \x22table\x22:\n case \x22hr\x22:\n case \x22xmp\x22:\n case \x22h1\x22:\n case \x22h2\x22:\n case \x22h3\x22:\n case \x22h4\x22:\n case \x22h5\x22:\n case \x22h6\x22:\n return ancestorInfo.pTagInButtonScope;\n case \x22form\x22:\n return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n case \x22li\x22:\n return ancestorInfo.listItemTagAutoclosing;\n case \x22dd\x22:\n case \x22dt\x22:\n return ancestorInfo.dlItemTagAutoclosing;\n case \x22button\x22:\n return ancestorInfo.buttonTagInScope;\n case \x22a\x22:\n return ancestorInfo.aTagInScope;\n case \x22nobr\x22:\n return ancestorInfo.nobrTagInScope;\n }\n return null;\n }, didWarn$1 \x3d {};\n validateDOMNesting \x3d function(childTag, childText, ancestorInfo) {\n ancestorInfo \x3d ancestorInfo || emptyAncestorInfo;\n var parentInfo \x3d ancestorInfo.current, parentTag \x3d parentInfo \x26\x26 parentInfo.tag;\n null !\x3d childText \x26\x26 (null !\x3d childTag \x26\x26 error(\x22validateDOMNesting: when childText is passed, childTag should be null\x22), childTag \x3d \x22#text\x22);\n ancestorInfo \x3d (parentInfo \x3d isTagValidWithParent(childTag, parentTag) ? null : parentInfo) ? null : findInvalidAncestorForTag(childTag, ancestorInfo);\n if (ancestorInfo \x3d parentInfo || ancestorInfo) {\n ancestorInfo \x3d ancestorInfo.tag, parentTag \x3d !!parentInfo + \x22|\x22 + childTag + \x22|\x22 + ancestorInfo, didWarn$1[parentTag] || (didWarn$1[parentTag] \x3d !0, parentTag \x3d \x22\x22, \x22#text\x22 \x3d\x3d\x3d childTag ? /\\S/.test(childText) ? childText \x3d \x22Text nodes\x22 : (childText \x3d \x22Whitespace text nodes\x22, parentTag \x3d \x22 Make sure you don\x27t have any extra whitespace between tags on each line of your source code.\x22) : childText \x3d \x22\\x3c\x22 + childTag + \x22\\x3e\x22, parentInfo ? (parentInfo \x3d \x22\x22, \x22table\x22 \x3d\x3d\x3d ancestorInfo \x26\x26 \x22tr\x22 \x3d\x3d\x3d \n childTag \x26\x26 (parentInfo +\x3d \x22 Add a \\x3ctbody\\x3e, \\x3cthead\\x3e or \\x3ctfoot\\x3e to your code to match the DOM tree generated by the browser.\x22), error(\x22validateDOMNesting(...): %s cannot appear as a child of \\x3c%s\\x3e.%s%s\x22, childText, ancestorInfo, parentTag, parentInfo)) : error(\x22validateDOMNesting(...): %s cannot appear as a descendant of \\x3c%s\\x3e.\x22, childText, ancestorInfo));\n }\n };\n var SUSPENSE_START_DATA \x3d \x22$\x22, SUSPENSE_END_DATA \x3d \x22/$\x22, SUSPENSE_PENDING_START_DATA \x3d \x22$?\x22, SUSPENSE_FALLBACK_START_DATA \x3d \x22$!\x22, eventsEnabled \x3d null, selectionInformation \x3d null, scheduleTimeout \x3d \x22function\x22 \x3d\x3d\x3d typeof setTimeout ? setTimeout : void 0, cancelTimeout \x3d \x22function\x22 \x3d\x3d\x3d typeof clearTimeout ? clearTimeout : void 0, localPromise \x3d \x22function\x22 \x3d\x3d\x3d typeof Promise ? Promise : void 0, scheduleMicrotask \x3d \x22function\x22 \x3d\x3d\x3d typeof queueMicrotask ? queueMicrotask : \x22undefined\x22 !\x3d\x3d typeof localPromise ? \n function(callback) {\n return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick);\n } : scheduleTimeout, randomKey \x3d Math.random().toString(36).slice(2), internalInstanceKey \x3d \x22__reactFiber$\x22 + randomKey, internalPropsKey \x3d \x22__reactProps$\x22 + randomKey, internalContainerInstanceKey \x3d \x22__reactContainer$\x22 + randomKey, internalEventHandlersKey \x3d \x22__reactEvents$\x22 + randomKey, internalEventHandlerListenersKey \x3d \x22__reactListeners$\x22 + randomKey, internalEventHandlesSetKey \x3d \x22__reactHandles$\x22 + randomKey, loggedTypeFailures \x3d {}, ReactDebugCurrentFrame$1 \x3d ReactSharedInternals.ReactDebugCurrentFrame, \n valueStack \x3d [];\n var fiberStack \x3d [];\n var index \x3d -1;\n var warnedAboutMissingGetChildContext \x3d {};\n var emptyContextObject \x3d {};\n Object.freeze(emptyContextObject);\n var contextStackCursor \x3d createCursor(emptyContextObject), didPerformWorkStackCursor \x3d createCursor(!1), previousContext \x3d emptyContextObject, syncQueue \x3d null, includesLegacySyncCallbacks \x3d !1, isFlushingSyncQueue \x3d !1, forkStack \x3d [], forkStackIndex \x3d 0, treeForkProvider \x3d null, treeForkCount \x3d 0, idStack \x3d [], idStackIndex \x3d 0, treeContextProvider \x3d null, treeContextId \x3d 1, treeContextOverflow \x3d \x22\x22, hydrationParentFiber \x3d null, nextHydratableInstance \x3d null, isHydrating \x3d !1, didSuspendOrErrorDEV \x3d \n !1, hydrationErrors \x3d null, ReactCurrentBatchConfig$1 \x3d ReactSharedInternals.ReactCurrentBatchConfig, ReactStrictModeWarnings \x3d {recordUnsafeLifecycleWarnings:function(fiber, instance) {\n }, flushPendingUnsafeLifecycleWarnings:function() {\n }, recordLegacyContextWarning:function(fiber, instance) {\n }, flushLegacyContextWarning:function() {\n }, discardPendingWarnings:function() {\n }}, setToSortedString \x3d function(set) {\n var array \x3d [];\n set.forEach(function(value) {\n array.push(value);\n });\n return array.sort().join(\x22, \x22);\n }, pendingComponentWillMountWarnings \x3d [], pendingUNSAFE_ComponentWillMountWarnings \x3d [], pendingComponentWillReceivePropsWarnings \x3d [], pendingUNSAFE_ComponentWillReceivePropsWarnings \x3d [], pendingComponentWillUpdateWarnings \x3d [], pendingUNSAFE_ComponentWillUpdateWarnings \x3d [], didWarnAboutUnsafeLifecycles \x3d new Set();\n ReactStrictModeWarnings.recordUnsafeLifecycleWarnings \x3d function(fiber, instance) {\n didWarnAboutUnsafeLifecycles.has(fiber.type) || (\x22function\x22 \x3d\x3d\x3d typeof instance.componentWillMount \x26\x26 !0 !\x3d\x3d instance.componentWillMount.__suppressDeprecationWarning \x26\x26 pendingComponentWillMountWarnings.push(fiber), fiber.mode \x26 8 \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof instance.UNSAFE_componentWillMount \x26\x26 pendingUNSAFE_ComponentWillMountWarnings.push(fiber), \x22function\x22 \x3d\x3d\x3d typeof instance.componentWillReceiveProps \x26\x26 !0 !\x3d\x3d instance.componentWillReceiveProps.__suppressDeprecationWarning \x26\x26 pendingComponentWillReceivePropsWarnings.push(fiber), \n fiber.mode \x26 8 \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof instance.UNSAFE_componentWillReceiveProps \x26\x26 pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber), \x22function\x22 \x3d\x3d\x3d typeof instance.componentWillUpdate \x26\x26 !0 !\x3d\x3d instance.componentWillUpdate.__suppressDeprecationWarning \x26\x26 pendingComponentWillUpdateWarnings.push(fiber), fiber.mode \x26 8 \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof instance.UNSAFE_componentWillUpdate \x26\x26 pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber));\n };\n ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings \x3d function() {\n var componentWillMountUniqueNames \x3d new Set();\n 0 \x3c pendingComponentWillMountWarnings.length \x26\x26 (pendingComponentWillMountWarnings.forEach(function(fiber) {\n componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || \x22Component\x22);\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }), pendingComponentWillMountWarnings \x3d []);\n var UNSAFE_componentWillMountUniqueNames \x3d new Set();\n 0 \x3c pendingUNSAFE_ComponentWillMountWarnings.length \x26\x26 (pendingUNSAFE_ComponentWillMountWarnings.forEach(function(fiber) {\n UNSAFE_componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || \x22Component\x22);\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }), pendingUNSAFE_ComponentWillMountWarnings \x3d []);\n var componentWillReceivePropsUniqueNames \x3d new Set();\n 0 \x3c pendingComponentWillReceivePropsWarnings.length \x26\x26 (pendingComponentWillReceivePropsWarnings.forEach(function(fiber) {\n componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || \x22Component\x22);\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }), pendingComponentWillReceivePropsWarnings \x3d []);\n var UNSAFE_componentWillReceivePropsUniqueNames \x3d new Set();\n 0 \x3c pendingUNSAFE_ComponentWillReceivePropsWarnings.length \x26\x26 (pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(function(fiber) {\n UNSAFE_componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || \x22Component\x22);\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }), pendingUNSAFE_ComponentWillReceivePropsWarnings \x3d []);\n var componentWillUpdateUniqueNames \x3d new Set();\n 0 \x3c pendingComponentWillUpdateWarnings.length \x26\x26 (pendingComponentWillUpdateWarnings.forEach(function(fiber) {\n componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || \x22Component\x22);\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }), pendingComponentWillUpdateWarnings \x3d []);\n var UNSAFE_componentWillUpdateUniqueNames \x3d new Set();\n 0 \x3c pendingUNSAFE_ComponentWillUpdateWarnings.length \x26\x26 (pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function(fiber) {\n UNSAFE_componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || \x22Component\x22);\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }), pendingUNSAFE_ComponentWillUpdateWarnings \x3d []);\n if (0 \x3c UNSAFE_componentWillMountUniqueNames.size) {\n var sortedNames \x3d setToSortedString(UNSAFE_componentWillMountUniqueNames);\n error(\x22Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\\n\\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\\n\\nPlease update the following components: %s\x22, sortedNames);\n }\n 0 \x3c UNSAFE_componentWillReceivePropsUniqueNames.size \x26\x26 (sortedNames \x3d setToSortedString(UNSAFE_componentWillReceivePropsUniqueNames), error(\x22Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* If you\x27re updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\\n\\nPlease update the following components: %s\x22, \n sortedNames));\n 0 \x3c UNSAFE_componentWillUpdateUniqueNames.size \x26\x26 (sortedNames \x3d setToSortedString(UNSAFE_componentWillUpdateUniqueNames), error(\x22Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n\\nPlease update the following components: %s\x22, sortedNames));\n 0 \x3c componentWillMountUniqueNames.size \x26\x26 (sortedNames \x3d setToSortedString(componentWillMountUniqueNames), warn(\x22componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\\n\\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\\n\\nPlease update the following components: %s\x22, \n sortedNames));\n 0 \x3c componentWillReceivePropsUniqueNames.size \x26\x26 (sortedNames \x3d setToSortedString(componentWillReceivePropsUniqueNames), warn(\x22componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* If you\x27re updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\\n\\nPlease update the following components: %s\x22, \n sortedNames));\n 0 \x3c componentWillUpdateUniqueNames.size \x26\x26 (sortedNames \x3d setToSortedString(componentWillUpdateUniqueNames), warn(\x22componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\\n\\nPlease update the following components: %s\x22, \n sortedNames));\n };\n var pendingLegacyContextWarning \x3d new Map(), didWarnAboutLegacyContext \x3d new Set();\n ReactStrictModeWarnings.recordLegacyContextWarning \x3d function(fiber, instance) {\n var strictRoot \x3d null;\n for (var node \x3d fiber; null !\x3d\x3d node;) {\n node.mode \x26 8 \x26\x26 (strictRoot \x3d node), node \x3d node.return;\n }\n null \x3d\x3d\x3d strictRoot ? error(\x22Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.\x22) : !didWarnAboutLegacyContext.has(fiber.type) \x26\x26 (node \x3d pendingLegacyContextWarning.get(strictRoot), null !\x3d fiber.type.contextTypes || null !\x3d fiber.type.childContextTypes || null !\x3d\x3d instance \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof instance.getChildContext) \x26\x26 (void 0 \x3d\x3d\x3d node \x26\x26 (node \x3d [], pendingLegacyContextWarning.set(strictRoot, node)), \n node.push(fiber));\n };\n ReactStrictModeWarnings.flushLegacyContextWarning \x3d function() {\n pendingLegacyContextWarning.forEach(function(fiberArray, strictRoot) {\n if (0 !\x3d\x3d fiberArray.length) {\n strictRoot \x3d fiberArray[0];\n var uniqueNames \x3d new Set();\n fiberArray.forEach(function(fiber) {\n uniqueNames.add(getComponentNameFromFiber(fiber) || \x22Component\x22);\n didWarnAboutLegacyContext.add(fiber.type);\n });\n fiberArray \x3d setToSortedString(uniqueNames);\n try {\n setCurrentFiber(strictRoot), error(\x22Legacy context API has been detected within a strict-mode tree.\\n\\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\\n\\nPlease update the following components: %s\\n\\nLearn more about this warning here: https://reactjs.org/link/legacy-context\x22, fiberArray);\n } finally {\n resetCurrentFiber();\n }\n }\n });\n };\n ReactStrictModeWarnings.discardPendingWarnings \x3d function() {\n pendingComponentWillMountWarnings \x3d [];\n pendingUNSAFE_ComponentWillMountWarnings \x3d [];\n pendingComponentWillReceivePropsWarnings \x3d [];\n pendingUNSAFE_ComponentWillReceivePropsWarnings \x3d [];\n pendingComponentWillUpdateWarnings \x3d [];\n pendingUNSAFE_ComponentWillUpdateWarnings \x3d [];\n pendingLegacyContextWarning \x3d new Map();\n };\n var valueCursor \x3d createCursor(null);\n var rendererSigil \x3d {};\n var currentlyRenderingFiber \x3d null, lastContextDependency \x3d null, lastFullyObservedContext \x3d null, isDisallowedContextReadInDEV \x3d !1, concurrentQueues \x3d null, unsafe_markUpdateLaneFromFiberToRoot \x3d markUpdateLaneFromFiberToRoot, UpdateState \x3d 0, ForceUpdate \x3d 2, hasForceUpdate \x3d !1;\n var didWarnUpdateInsideUpdate \x3d !1;\n var currentlyProcessingQueue \x3d null;\n var fakeInternalInstance \x3d {}, emptyRefsObject \x3d (new React.Component()).refs;\n var didWarnAboutStateAssignmentForComponent \x3d new Set();\n var didWarnAboutUninitializedState \x3d new Set();\n var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate \x3d new Set();\n var didWarnAboutLegacyLifecyclesAndDerivedState \x3d new Set();\n var didWarnAboutDirectlyAssigningPropsToState \x3d new Set();\n var didWarnAboutUndefinedDerivedState \x3d new Set();\n var didWarnAboutContextTypeAndContextTypes \x3d new Set();\n var didWarnAboutInvalidateContextType \x3d new Set();\n var didWarnOnInvalidCallback \x3d new Set();\n var warnOnInvalidCallback \x3d function(callback, callerName) {\n if (null !\x3d\x3d callback \x26\x26 \x22function\x22 !\x3d\x3d typeof callback) {\n var key \x3d callerName + \x22_\x22 + callback;\n didWarnOnInvalidCallback.has(key) || (didWarnOnInvalidCallback.add(key), error(\x22%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.\x22, callerName, callback));\n }\n };\n var warnOnUndefinedDerivedState \x3d function(type, partialState) {\n void 0 \x3d\x3d\x3d partialState \x26\x26 (type \x3d getComponentNameFromType(type) || \x22Component\x22, didWarnAboutUndefinedDerivedState.has(type) || (didWarnAboutUndefinedDerivedState.add(type), error(\x22%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.\x22, type)));\n };\n Object.defineProperty(fakeInternalInstance, \x22_processChildContext\x22, {enumerable:!1, value:function() {\n throw Error(\x22_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn\x27t supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).\x22);\n }});\n Object.freeze(fakeInternalInstance);\n var classComponentUpdater \x3d {isMounted:function(component) {\n var owner \x3d ReactCurrentOwner.current;\n if (null !\x3d\x3d owner \x26\x26 1 \x3d\x3d\x3d owner.tag) {\n var instance \x3d owner.stateNode;\n instance._warnedAboutRefsInRender || error(\x22%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.\x22, getComponentNameFromFiber(owner) || \x22A component\x22);\n instance._warnedAboutRefsInRender \x3d !0;\n }\n return (component \x3d component._reactInternals) ? getNearestMountedFiber(component) \x3d\x3d\x3d component : !1;\n }, enqueueSetState:function(inst, payload, callback) {\n inst \x3d inst._reactInternals;\n var eventTime \x3d requestEventTime(), lane \x3d requestUpdateLane(inst), update \x3d createUpdate(eventTime, lane);\n update.payload \x3d payload;\n void 0 !\x3d\x3d callback \x26\x26 null !\x3d\x3d callback \x26\x26 (warnOnInvalidCallback(callback, \x22setState\x22), update.callback \x3d callback);\n payload \x3d enqueueUpdate(inst, update, lane);\n null !\x3d\x3d payload \x26\x26 (scheduleUpdateOnFiber(payload, inst, lane, eventTime), entangleTransitions(payload, inst, lane));\n markStateUpdateScheduled(inst, lane);\n }, enqueueReplaceState:function(inst, payload, callback) {\n inst \x3d inst._reactInternals;\n var eventTime \x3d requestEventTime(), lane \x3d requestUpdateLane(inst), update \x3d createUpdate(eventTime, lane);\n update.tag \x3d 1;\n update.payload \x3d payload;\n void 0 !\x3d\x3d callback \x26\x26 null !\x3d\x3d callback \x26\x26 (warnOnInvalidCallback(callback, \x22replaceState\x22), update.callback \x3d callback);\n payload \x3d enqueueUpdate(inst, update, lane);\n null !\x3d\x3d payload \x26\x26 (scheduleUpdateOnFiber(payload, inst, lane, eventTime), entangleTransitions(payload, inst, lane));\n markStateUpdateScheduled(inst, lane);\n }, enqueueForceUpdate:function(inst, callback) {\n inst \x3d inst._reactInternals;\n var eventTime \x3d requestEventTime(), lane \x3d requestUpdateLane(inst), update \x3d createUpdate(eventTime, lane);\n update.tag \x3d ForceUpdate;\n void 0 !\x3d\x3d callback \x26\x26 null !\x3d\x3d callback \x26\x26 (warnOnInvalidCallback(callback, \x22forceUpdate\x22), update.callback \x3d callback);\n callback \x3d enqueueUpdate(inst, update, lane);\n null !\x3d\x3d callback \x26\x26 (scheduleUpdateOnFiber(callback, inst, lane, eventTime), entangleTransitions(callback, inst, lane));\n null !\x3d\x3d injectedProfilingHooks \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injectedProfilingHooks.markForceUpdateScheduled \x26\x26 injectedProfilingHooks.markForceUpdateScheduled(inst, lane);\n }}, didWarnAboutMaps, warnForMissingKey \x3d function(child, returnFiber) {\n };\n var didWarnAboutGenerators \x3d didWarnAboutMaps \x3d !1;\n var didWarnAboutStringRefs \x3d {};\n var ownerHasKeyUseWarning \x3d {};\n var ownerHasFunctionTypeWarning \x3d {};\n warnForMissingKey \x3d function(child, returnFiber) {\n if (null !\x3d\x3d child \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof child \x26\x26 child._store \x26\x26 !child._store.validated \x26\x26 null \x3d\x3d child.key) {\n if (\x22object\x22 !\x3d\x3d typeof child._store) {\n throw Error(\x22React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.\x22);\n }\n child._store.validated \x3d !0;\n child \x3d getComponentNameFromFiber(returnFiber) || \x22Component\x22;\n ownerHasKeyUseWarning[child] || (ownerHasKeyUseWarning[child] \x3d !0, error(\x27Each child in a list should have a unique \x22key\x22 prop. See https://reactjs.org/link/warning-keys for more information.\x27));\n }\n };\n var reconcileChildFibers \x3d ChildReconciler(!0), mountChildFibers \x3d ChildReconciler(!1), NO_CONTEXT \x3d {}, contextStackCursor$1 \x3d createCursor(NO_CONTEXT), contextFiberStackCursor \x3d createCursor(NO_CONTEXT), rootInstanceStackCursor \x3d createCursor(NO_CONTEXT), SubtreeSuspenseContextMask \x3d 1, InvisibleParentSuspenseContext \x3d 1, ForceSuspenseFallback \x3d 2, suspenseStackCursor \x3d createCursor(0), NoFlags$1 \x3d 0, HasEffect \x3d 1, Insertion \x3d 2, Layout \x3d 4, Passive$1 \x3d 8, workInProgressSources \x3d [], ReactCurrentDispatcher$1 \x3d \n ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentBatchConfig$2 \x3d ReactSharedInternals.ReactCurrentBatchConfig, didWarnUncachedGetSnapshot;\n var didWarnAboutMismatchedHooksForComponent \x3d new Set();\n var renderLanes \x3d 0, currentlyRenderingFiber$1 \x3d null, currentHook \x3d null, workInProgressHook \x3d null, didScheduleRenderPhaseUpdate \x3d !1, didScheduleRenderPhaseUpdateDuringThisPass \x3d !1, localIdCounter \x3d 0, globalClientIdCounter \x3d 0, currentHookNameInDev \x3d null, hookTypesDev \x3d null, hookTypesUpdateIndexDev \x3d -1, ignorePreviousDependencies \x3d !1, isUpdatingOpaqueValueInRenderPhase \x3d !1, ContextOnlyDispatcher \x3d {readContext, useCallback:throwInvalidHookError, useContext:throwInvalidHookError, useEffect:throwInvalidHookError, \n useImperativeHandle:throwInvalidHookError, useInsertionEffect:throwInvalidHookError, useLayoutEffect:throwInvalidHookError, useMemo:throwInvalidHookError, useReducer:throwInvalidHookError, useRef:throwInvalidHookError, useState:throwInvalidHookError, useDebugValue:throwInvalidHookError, useDeferredValue:throwInvalidHookError, useTransition:throwInvalidHookError, useMutableSource:throwInvalidHookError, useSyncExternalStore:throwInvalidHookError, useId:throwInvalidHookError, unstable_isNewReconciler:!1}, \n HooksDispatcherOnMountInDEV \x3d null, HooksDispatcherOnMountWithHookTypesInDEV \x3d null, HooksDispatcherOnUpdateInDEV \x3d null, HooksDispatcherOnRerenderInDEV \x3d null, InvalidNestedHooksDispatcherOnMountInDEV \x3d null, InvalidNestedHooksDispatcherOnUpdateInDEV \x3d null, InvalidNestedHooksDispatcherOnRerenderInDEV \x3d null, warnInvalidContextAccess \x3d function() {\n error(\x22Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\x22);\n }, warnInvalidHookAccess \x3d function() {\n error(\x22Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks\x22);\n };\n HooksDispatcherOnMountInDEV \x3d {readContext:function(context) {\n return readContext(context);\n }, useCallback:function(callback, deps) {\n currentHookNameInDev \x3d \x22useCallback\x22;\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountCallback(callback, deps);\n }, useContext:function(context) {\n currentHookNameInDev \x3d \x22useContext\x22;\n mountHookTypesDev();\n return readContext(context);\n }, useEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useEffect\x22;\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountEffect(create, deps);\n }, useImperativeHandle:function(ref, create, deps) {\n currentHookNameInDev \x3d \x22useImperativeHandle\x22;\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountImperativeHandle(ref, create, deps);\n }, useInsertionEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useInsertionEffect\x22;\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountEffectImpl(4, Insertion, create, deps);\n }, useLayoutEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useLayoutEffect\x22;\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountLayoutEffect(create, deps);\n }, useMemo:function(create, deps) {\n currentHookNameInDev \x3d \x22useMemo\x22;\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountMemo(create, deps);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useReducer:function(reducer, initialArg, init) {\n currentHookNameInDev \x3d \x22useReducer\x22;\n mountHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountReducer(reducer, initialArg, init);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useRef:function(initialValue) {\n currentHookNameInDev \x3d \x22useRef\x22;\n mountHookTypesDev();\n return mountRef(initialValue);\n }, useState:function(initialState) {\n currentHookNameInDev \x3d \x22useState\x22;\n mountHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountState(initialState);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useDebugValue:function(value, formatterFn) {\n currentHookNameInDev \x3d \x22useDebugValue\x22;\n mountHookTypesDev();\n }, useDeferredValue:function(value) {\n currentHookNameInDev \x3d \x22useDeferredValue\x22;\n mountHookTypesDev();\n return mountDeferredValue(value);\n }, useTransition:function() {\n currentHookNameInDev \x3d \x22useTransition\x22;\n mountHookTypesDev();\n return mountTransition();\n }, useMutableSource:function(source, getSnapshot, subscribe) {\n currentHookNameInDev \x3d \x22useMutableSource\x22;\n mountHookTypesDev();\n }, useSyncExternalStore:function(subscribe, getSnapshot, getServerSnapshot) {\n currentHookNameInDev \x3d \x22useSyncExternalStore\x22;\n mountHookTypesDev();\n return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n }, useId:function() {\n currentHookNameInDev \x3d \x22useId\x22;\n mountHookTypesDev();\n return mountId();\n }, unstable_isNewReconciler:!1};\n HooksDispatcherOnMountWithHookTypesInDEV \x3d {readContext:function(context) {\n return readContext(context);\n }, useCallback:function(callback, deps) {\n currentHookNameInDev \x3d \x22useCallback\x22;\n updateHookTypesDev();\n return mountCallback(callback, deps);\n }, useContext:function(context) {\n currentHookNameInDev \x3d \x22useContext\x22;\n updateHookTypesDev();\n return readContext(context);\n }, useEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useEffect\x22;\n updateHookTypesDev();\n return mountEffect(create, deps);\n }, useImperativeHandle:function(ref, create, deps) {\n currentHookNameInDev \x3d \x22useImperativeHandle\x22;\n updateHookTypesDev();\n return mountImperativeHandle(ref, create, deps);\n }, useInsertionEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useInsertionEffect\x22;\n updateHookTypesDev();\n return mountEffectImpl(4, Insertion, create, deps);\n }, useLayoutEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useLayoutEffect\x22;\n updateHookTypesDev();\n return mountLayoutEffect(create, deps);\n }, useMemo:function(create, deps) {\n currentHookNameInDev \x3d \x22useMemo\x22;\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountMemo(create, deps);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useReducer:function(reducer, initialArg, init) {\n currentHookNameInDev \x3d \x22useReducer\x22;\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountReducer(reducer, initialArg, init);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useRef:function(initialValue) {\n currentHookNameInDev \x3d \x22useRef\x22;\n updateHookTypesDev();\n return mountRef(initialValue);\n }, useState:function(initialState) {\n currentHookNameInDev \x3d \x22useState\x22;\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountState(initialState);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useDebugValue:function(value, formatterFn) {\n currentHookNameInDev \x3d \x22useDebugValue\x22;\n updateHookTypesDev();\n }, useDeferredValue:function(value) {\n currentHookNameInDev \x3d \x22useDeferredValue\x22;\n updateHookTypesDev();\n return mountDeferredValue(value);\n }, useTransition:function() {\n currentHookNameInDev \x3d \x22useTransition\x22;\n updateHookTypesDev();\n return mountTransition();\n }, useMutableSource:function(source, getSnapshot, subscribe) {\n currentHookNameInDev \x3d \x22useMutableSource\x22;\n updateHookTypesDev();\n }, useSyncExternalStore:function(subscribe, getSnapshot, getServerSnapshot) {\n currentHookNameInDev \x3d \x22useSyncExternalStore\x22;\n updateHookTypesDev();\n return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n }, useId:function() {\n currentHookNameInDev \x3d \x22useId\x22;\n updateHookTypesDev();\n return mountId();\n }, unstable_isNewReconciler:!1};\n HooksDispatcherOnUpdateInDEV \x3d {readContext:function(context) {\n return readContext(context);\n }, useCallback:function(callback, deps) {\n currentHookNameInDev \x3d \x22useCallback\x22;\n updateHookTypesDev();\n return updateCallback(callback, deps);\n }, useContext:function(context) {\n currentHookNameInDev \x3d \x22useContext\x22;\n updateHookTypesDev();\n return readContext(context);\n }, useEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useEffect\x22;\n updateHookTypesDev();\n return updateEffectImpl(2048, Passive$1, create, deps);\n }, useImperativeHandle:function(ref, create, deps) {\n currentHookNameInDev \x3d \x22useImperativeHandle\x22;\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n }, useInsertionEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useInsertionEffect\x22;\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n }, useLayoutEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useLayoutEffect\x22;\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n }, useMemo:function(create, deps) {\n currentHookNameInDev \x3d \x22useMemo\x22;\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useReducer:function(reducer, initialArg, init) {\n currentHookNameInDev \x3d \x22useReducer\x22;\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(reducer, initialArg, init);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useRef:function(initialValue) {\n currentHookNameInDev \x3d \x22useRef\x22;\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, useState:function(initialState) {\n currentHookNameInDev \x3d \x22useState\x22;\n updateHookTypesDev();\n initialState \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(basicStateReducer);\n } finally {\n ReactCurrentDispatcher$1.current \x3d initialState;\n }\n }, useDebugValue:function(value, formatterFn) {\n currentHookNameInDev \x3d \x22useDebugValue\x22;\n updateHookTypesDev();\n }, useDeferredValue:function(value) {\n currentHookNameInDev \x3d \x22useDeferredValue\x22;\n updateHookTypesDev();\n return updateDeferredValue(value);\n }, useTransition:function() {\n currentHookNameInDev \x3d \x22useTransition\x22;\n updateHookTypesDev();\n return updateTransition();\n }, useMutableSource:function(source, getSnapshot, subscribe) {\n currentHookNameInDev \x3d \x22useMutableSource\x22;\n updateHookTypesDev();\n }, useSyncExternalStore:function(subscribe, getSnapshot, getServerSnapshot) {\n currentHookNameInDev \x3d \x22useSyncExternalStore\x22;\n updateHookTypesDev();\n return updateSyncExternalStore(subscribe, getSnapshot);\n }, useId:function() {\n currentHookNameInDev \x3d \x22useId\x22;\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, unstable_isNewReconciler:!1};\n HooksDispatcherOnRerenderInDEV \x3d {readContext:function(context) {\n return readContext(context);\n }, useCallback:function(callback, deps) {\n currentHookNameInDev \x3d \x22useCallback\x22;\n updateHookTypesDev();\n return updateCallback(callback, deps);\n }, useContext:function(context) {\n currentHookNameInDev \x3d \x22useContext\x22;\n updateHookTypesDev();\n return readContext(context);\n }, useEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useEffect\x22;\n updateHookTypesDev();\n return updateEffectImpl(2048, Passive$1, create, deps);\n }, useImperativeHandle:function(ref, create, deps) {\n currentHookNameInDev \x3d \x22useImperativeHandle\x22;\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n }, useInsertionEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useInsertionEffect\x22;\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n }, useLayoutEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useLayoutEffect\x22;\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n }, useMemo:function(create, deps) {\n currentHookNameInDev \x3d \x22useMemo\x22;\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnRerenderInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useReducer:function(reducer, initialArg, init) {\n currentHookNameInDev \x3d \x22useReducer\x22;\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnRerenderInDEV;\n try {\n return rerenderReducer(reducer, initialArg, init);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useRef:function(initialValue) {\n currentHookNameInDev \x3d \x22useRef\x22;\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, useState:function(initialState) {\n currentHookNameInDev \x3d \x22useState\x22;\n updateHookTypesDev();\n initialState \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnRerenderInDEV;\n try {\n return rerenderReducer(basicStateReducer);\n } finally {\n ReactCurrentDispatcher$1.current \x3d initialState;\n }\n }, useDebugValue:function(value, formatterFn) {\n currentHookNameInDev \x3d \x22useDebugValue\x22;\n updateHookTypesDev();\n }, useDeferredValue:function(value) {\n currentHookNameInDev \x3d \x22useDeferredValue\x22;\n updateHookTypesDev();\n return rerenderDeferredValue(value);\n }, useTransition:function() {\n currentHookNameInDev \x3d \x22useTransition\x22;\n updateHookTypesDev();\n return rerenderTransition();\n }, useMutableSource:function(source, getSnapshot, subscribe) {\n currentHookNameInDev \x3d \x22useMutableSource\x22;\n updateHookTypesDev();\n }, useSyncExternalStore:function(subscribe, getSnapshot, getServerSnapshot) {\n currentHookNameInDev \x3d \x22useSyncExternalStore\x22;\n updateHookTypesDev();\n return updateSyncExternalStore(subscribe, getSnapshot);\n }, useId:function() {\n currentHookNameInDev \x3d \x22useId\x22;\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, unstable_isNewReconciler:!1};\n InvalidNestedHooksDispatcherOnMountInDEV \x3d {readContext:function(context) {\n warnInvalidContextAccess();\n return readContext(context);\n }, useCallback:function(callback, deps) {\n currentHookNameInDev \x3d \x22useCallback\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountCallback(callback, deps);\n }, useContext:function(context) {\n currentHookNameInDev \x3d \x22useContext\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return readContext(context);\n }, useEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useEffect\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountEffect(create, deps);\n }, useImperativeHandle:function(ref, create, deps) {\n currentHookNameInDev \x3d \x22useImperativeHandle\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountImperativeHandle(ref, create, deps);\n }, useInsertionEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useInsertionEffect\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountEffectImpl(4, Insertion, create, deps);\n }, useLayoutEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useLayoutEffect\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountLayoutEffect(create, deps);\n }, useMemo:function(create, deps) {\n currentHookNameInDev \x3d \x22useMemo\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountMemo(create, deps);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useReducer:function(reducer, initialArg, init) {\n currentHookNameInDev \x3d \x22useReducer\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountReducer(reducer, initialArg, init);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useRef:function(initialValue) {\n currentHookNameInDev \x3d \x22useRef\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountRef(initialValue);\n }, useState:function(initialState) {\n currentHookNameInDev \x3d \x22useState\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountState(initialState);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useDebugValue:function(value, formatterFn) {\n currentHookNameInDev \x3d \x22useDebugValue\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n }, useDeferredValue:function(value) {\n currentHookNameInDev \x3d \x22useDeferredValue\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountDeferredValue(value);\n }, useTransition:function() {\n currentHookNameInDev \x3d \x22useTransition\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountTransition();\n }, useMutableSource:function(source, getSnapshot, subscribe) {\n currentHookNameInDev \x3d \x22useMutableSource\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n }, useSyncExternalStore:function(subscribe, getSnapshot, getServerSnapshot) {\n currentHookNameInDev \x3d \x22useSyncExternalStore\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n }, useId:function() {\n currentHookNameInDev \x3d \x22useId\x22;\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountId();\n }, unstable_isNewReconciler:!1};\n InvalidNestedHooksDispatcherOnUpdateInDEV \x3d {readContext:function(context) {\n warnInvalidContextAccess();\n return readContext(context);\n }, useCallback:function(callback, deps) {\n currentHookNameInDev \x3d \x22useCallback\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateCallback(callback, deps);\n }, useContext:function(context) {\n currentHookNameInDev \x3d \x22useContext\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return readContext(context);\n }, useEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useEffect\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(2048, Passive$1, create, deps);\n }, useImperativeHandle:function(ref, create, deps) {\n currentHookNameInDev \x3d \x22useImperativeHandle\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n }, useInsertionEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useInsertionEffect\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n }, useLayoutEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useLayoutEffect\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n }, useMemo:function(create, deps) {\n currentHookNameInDev \x3d \x22useMemo\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useReducer:function(reducer, initialArg, init) {\n currentHookNameInDev \x3d \x22useReducer\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(reducer, initialArg, init);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useRef:function(initialValue) {\n currentHookNameInDev \x3d \x22useRef\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, useState:function(initialState) {\n currentHookNameInDev \x3d \x22useState\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n initialState \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(basicStateReducer);\n } finally {\n ReactCurrentDispatcher$1.current \x3d initialState;\n }\n }, useDebugValue:function(value, formatterFn) {\n currentHookNameInDev \x3d \x22useDebugValue\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n }, useDeferredValue:function(value) {\n currentHookNameInDev \x3d \x22useDeferredValue\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateDeferredValue(value);\n }, useTransition:function() {\n currentHookNameInDev \x3d \x22useTransition\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateTransition();\n }, useMutableSource:function(source, getSnapshot, subscribe) {\n currentHookNameInDev \x3d \x22useMutableSource\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n }, useSyncExternalStore:function(subscribe, getSnapshot, getServerSnapshot) {\n currentHookNameInDev \x3d \x22useSyncExternalStore\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateSyncExternalStore(subscribe, getSnapshot);\n }, useId:function() {\n currentHookNameInDev \x3d \x22useId\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, unstable_isNewReconciler:!1};\n InvalidNestedHooksDispatcherOnRerenderInDEV \x3d {readContext:function(context) {\n warnInvalidContextAccess();\n return readContext(context);\n }, useCallback:function(callback, deps) {\n currentHookNameInDev \x3d \x22useCallback\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateCallback(callback, deps);\n }, useContext:function(context) {\n currentHookNameInDev \x3d \x22useContext\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return readContext(context);\n }, useEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useEffect\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(2048, Passive$1, create, deps);\n }, useImperativeHandle:function(ref, create, deps) {\n currentHookNameInDev \x3d \x22useImperativeHandle\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n }, useInsertionEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useInsertionEffect\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n }, useLayoutEffect:function(create, deps) {\n currentHookNameInDev \x3d \x22useLayoutEffect\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n }, useMemo:function(create, deps) {\n currentHookNameInDev \x3d \x22useMemo\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useReducer:function(reducer, initialArg, init) {\n currentHookNameInDev \x3d \x22useReducer\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return rerenderReducer(reducer, initialArg, init);\n } finally {\n ReactCurrentDispatcher$1.current \x3d prevDispatcher;\n }\n }, useRef:function(initialValue) {\n currentHookNameInDev \x3d \x22useRef\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, useState:function(initialState) {\n currentHookNameInDev \x3d \x22useState\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n initialState \x3d ReactCurrentDispatcher$1.current;\n ReactCurrentDispatcher$1.current \x3d InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return rerenderReducer(basicStateReducer);\n } finally {\n ReactCurrentDispatcher$1.current \x3d initialState;\n }\n }, useDebugValue:function(value, formatterFn) {\n currentHookNameInDev \x3d \x22useDebugValue\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n }, useDeferredValue:function(value) {\n currentHookNameInDev \x3d \x22useDeferredValue\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return rerenderDeferredValue(value);\n }, useTransition:function() {\n currentHookNameInDev \x3d \x22useTransition\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return rerenderTransition();\n }, useMutableSource:function(source, getSnapshot, subscribe) {\n currentHookNameInDev \x3d \x22useMutableSource\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n }, useSyncExternalStore:function(subscribe, getSnapshot, getServerSnapshot) {\n currentHookNameInDev \x3d \x22useSyncExternalStore\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateSyncExternalStore(subscribe, getSnapshot);\n }, useId:function() {\n currentHookNameInDev \x3d \x22useId\x22;\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n }, unstable_isNewReconciler:!1};\n var now$1 \x3d Scheduler.unstable_now, commitTime \x3d 0, layoutEffectStartTime \x3d -1, profilerStartTime \x3d -1, passiveEffectStartTime \x3d -1, currentUpdateIsNested \x3d !1, nestedUpdateScheduled \x3d !1, PossiblyWeakMap$1 \x3d \x22function\x22 \x3d\x3d\x3d typeof WeakMap ? WeakMap : Map, ReactCurrentOwner$1 \x3d ReactSharedInternals.ReactCurrentOwner, didReceiveUpdate \x3d !1;\n var didWarnAboutBadClass \x3d {};\n var didWarnAboutModulePatternComponent \x3d {};\n var didWarnAboutContextTypeOnFunctionComponent \x3d {};\n var didWarnAboutGetDerivedStateOnFunctionComponent \x3d {};\n var didWarnAboutFunctionRefs \x3d {};\n var didWarnAboutReassigningProps \x3d !1;\n var didWarnAboutRevealOrder \x3d {};\n var didWarnAboutTailOptions \x3d {};\n var SUSPENDED_MARKER \x3d {dehydrated:null, treeContext:null, retryLane:0}, hasWarnedAboutUsingNoValuePropOnContextProvider \x3d !1, hasWarnedAboutUsingContextAsConsumer \x3d !1;\n var appendAllChildren \x3d function(parent, workInProgress, needsVisibilityToggle, isHidden) {\n for (needsVisibilityToggle \x3d workInProgress.child; null !\x3d\x3d needsVisibilityToggle;) {\n if (5 \x3d\x3d\x3d needsVisibilityToggle.tag || 6 \x3d\x3d\x3d needsVisibilityToggle.tag) {\n parent.appendChild(needsVisibilityToggle.stateNode);\n } else if (4 !\x3d\x3d needsVisibilityToggle.tag \x26\x26 null !\x3d\x3d needsVisibilityToggle.child) {\n needsVisibilityToggle.child.return \x3d needsVisibilityToggle;\n needsVisibilityToggle \x3d needsVisibilityToggle.child;\n continue;\n }\n if (needsVisibilityToggle \x3d\x3d\x3d workInProgress) {\n break;\n }\n for (; null \x3d\x3d\x3d needsVisibilityToggle.sibling;) {\n if (null \x3d\x3d\x3d needsVisibilityToggle.return || needsVisibilityToggle.return \x3d\x3d\x3d workInProgress) {\n return;\n }\n needsVisibilityToggle \x3d needsVisibilityToggle.return;\n }\n needsVisibilityToggle.sibling.return \x3d needsVisibilityToggle.return;\n needsVisibilityToggle \x3d needsVisibilityToggle.sibling;\n }\n };\n var updateHostContainer \x3d function(current, workInProgress) {\n };\n var updateHostComponent$1 \x3d function(current, workInProgress, type, newProps, rootContainerInstance) {\n var oldProps \x3d current.memoizedProps;\n if (oldProps !\x3d\x3d newProps) {\n rootContainerInstance \x3d workInProgress.stateNode;\n var currentHostContext \x3d requiredContext(contextStackCursor$1.current);\n typeof newProps.children \x3d\x3d\x3d typeof oldProps.children || \x22string\x22 !\x3d\x3d typeof newProps.children \x26\x26 \x22number\x22 !\x3d\x3d typeof newProps.children || (current \x3d \x22\x22 + newProps.children, currentHostContext \x3d updatedAncestorInfo(currentHostContext.ancestorInfo, type), validateDOMNesting(null, current, currentHostContext));\n validatePropertiesInDevelopment(type, newProps);\n current \x3d null;\n switch(type) {\n case \x22input\x22:\n oldProps \x3d getHostProps(rootContainerInstance, oldProps);\n newProps \x3d getHostProps(rootContainerInstance, newProps);\n current \x3d [];\n break;\n case \x22select\x22:\n oldProps \x3d assign({}, oldProps, {value:void 0});\n newProps \x3d assign({}, newProps, {value:void 0});\n current \x3d [];\n break;\n case \x22textarea\x22:\n oldProps \x3d getHostProps$2(rootContainerInstance, oldProps);\n newProps \x3d getHostProps$2(rootContainerInstance, newProps);\n current \x3d [];\n break;\n default:\n \x22function\x22 !\x3d\x3d typeof oldProps.onClick \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof newProps.onClick \x26\x26 (rootContainerInstance.onclick \x3d noop);\n }\n assertValidProps(type, newProps);\n type \x3d null;\n for (propKey in oldProps) {\n if (!newProps.hasOwnProperty(propKey) \x26\x26 oldProps.hasOwnProperty(propKey) \x26\x26 null !\x3d oldProps[propKey]) {\n if (\x22style\x22 \x3d\x3d\x3d propKey) {\n for (styleName in currentHostContext \x3d oldProps[propKey], currentHostContext) {\n currentHostContext.hasOwnProperty(styleName) \x26\x26 (type || (type \x3d {}), type[styleName] \x3d \x22\x22);\n }\n } else {\n \x22dangerouslySetInnerHTML\x22 !\x3d\x3d propKey \x26\x26 \x22children\x22 !\x3d\x3d propKey \x26\x26 \x22suppressContentEditableWarning\x22 !\x3d\x3d propKey \x26\x26 \x22suppressHydrationWarning\x22 !\x3d\x3d propKey \x26\x26 \x22autoFocus\x22 !\x3d\x3d propKey \x26\x26 (registrationNameDependencies.hasOwnProperty(propKey) ? current || (current \x3d []) : (current \x3d current || []).push(propKey, null));\n }\n }\n }\n for (propKey in newProps) {\n var nextProp \x3d newProps[propKey];\n currentHostContext \x3d null !\x3d oldProps ? oldProps[propKey] : void 0;\n if (newProps.hasOwnProperty(propKey) \x26\x26 nextProp !\x3d\x3d currentHostContext \x26\x26 (null !\x3d nextProp || null !\x3d currentHostContext)) {\n if (\x22style\x22 \x3d\x3d\x3d propKey) {\n if (nextProp \x26\x26 Object.freeze(nextProp), currentHostContext) {\n for (styleName in currentHostContext) {\n !currentHostContext.hasOwnProperty(styleName) || nextProp \x26\x26 nextProp.hasOwnProperty(styleName) || (type || (type \x3d {}), type[styleName] \x3d \x22\x22);\n }\n for (styleName in nextProp) {\n nextProp.hasOwnProperty(styleName) \x26\x26 currentHostContext[styleName] !\x3d\x3d nextProp[styleName] \x26\x26 (type || (type \x3d {}), type[styleName] \x3d nextProp[styleName]);\n }\n } else {\n type || (current || (current \x3d []), current.push(propKey, type)), type \x3d nextProp;\n }\n } else {\n \x22dangerouslySetInnerHTML\x22 \x3d\x3d\x3d propKey ? (nextProp \x3d nextProp ? nextProp.__html : void 0, currentHostContext \x3d currentHostContext ? currentHostContext.__html : void 0, null !\x3d nextProp \x26\x26 currentHostContext !\x3d\x3d nextProp \x26\x26 (current \x3d current || []).push(propKey, nextProp)) : \x22children\x22 \x3d\x3d\x3d propKey ? \x22string\x22 !\x3d\x3d typeof nextProp \x26\x26 \x22number\x22 !\x3d\x3d typeof nextProp || (current \x3d current || []).push(propKey, \x22\x22 + nextProp) : \x22suppressContentEditableWarning\x22 !\x3d\x3d propKey \x26\x26 \x22suppressHydrationWarning\x22 !\x3d\x3d \n propKey \x26\x26 (registrationNameDependencies.hasOwnProperty(propKey) ? (null !\x3d nextProp \x26\x26 (\x22function\x22 !\x3d\x3d typeof nextProp \x26\x26 warnForInvalidEventListener(propKey, nextProp), \x22onScroll\x22 \x3d\x3d\x3d propKey \x26\x26 listenToNonDelegatedEvent(\x22scroll\x22, rootContainerInstance)), current || currentHostContext \x3d\x3d\x3d nextProp || (current \x3d [])) : (current \x3d current || []).push(propKey, nextProp));\n }\n }\n }\n if (type) {\n var propKey \x3d type;\n if (rootContainerInstance \x3d newProps.style) {\n var styleName \x3d expandShorthandMap(propKey);\n rootContainerInstance \x3d expandShorthandMap(rootContainerInstance);\n oldProps \x3d {};\n for (updatePayload in styleName) {\n newProps \x3d styleName[updatePayload], (currentHostContext \x3d rootContainerInstance[updatePayload]) \x26\x26 newProps !\x3d\x3d currentHostContext \x26\x26 (nextProp \x3d newProps + \x22,\x22 + currentHostContext, oldProps[nextProp] || (oldProps[nextProp] \x3d !0, nextProp \x3d propKey[newProps], error(\x22%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don\x27t mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.\x22, \n null \x3d\x3d nextProp || \x22boolean\x22 \x3d\x3d\x3d typeof nextProp || \x22\x22 \x3d\x3d\x3d nextProp ? \x22Removing\x22 : \x22Updating\x22, newProps, currentHostContext)));\n }\n }\n (current \x3d current || []).push(\x22style\x22, type);\n }\n var updatePayload \x3d current;\n if (workInProgress.updateQueue \x3d updatePayload) {\n workInProgress.flags |\x3d 4;\n }\n }\n };\n var updateHostText$1 \x3d function(current, workInProgress, oldText, newText) {\n oldText !\x3d\x3d newText \x26\x26 (workInProgress.flags |\x3d 4);\n };\n var didWarnAboutUndefinedSnapshotBeforeUpdate \x3d null;\n didWarnAboutUndefinedSnapshotBeforeUpdate \x3d new Set();\n var offscreenSubtreeIsHidden \x3d !1, offscreenSubtreeWasHidden \x3d !1, PossiblyWeakSet \x3d \x22function\x22 \x3d\x3d\x3d typeof WeakSet ? WeakSet : Set, nextEffect \x3d null, inProgressLanes \x3d null, inProgressRoot \x3d null, shouldFireAfterActiveInstanceBlur \x3d !1, hostParent \x3d null, hostParentIsContainer \x3d !1;\n if (\x22function\x22 \x3d\x3d\x3d typeof Symbol \x26\x26 Symbol.for) {\n var symbolFor \x3d Symbol.for;\n symbolFor(\x22selector.component\x22);\n symbolFor(\x22selector.has_pseudo_class\x22);\n symbolFor(\x22selector.role\x22);\n symbolFor(\x22selector.test_id\x22);\n symbolFor(\x22selector.text\x22);\n }\n var commitHooks \x3d [], ReactCurrentActQueue \x3d ReactSharedInternals.ReactCurrentActQueue, ceil \x3d Math.ceil, ReactCurrentDispatcher$2 \x3d ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentOwner$2 \x3d ReactSharedInternals.ReactCurrentOwner, ReactCurrentBatchConfig$3 \x3d ReactSharedInternals.ReactCurrentBatchConfig, ReactCurrentActQueue$1 \x3d ReactSharedInternals.ReactCurrentActQueue, NoContext \x3d 0, RenderContext \x3d 2, CommitContext \x3d 4, RootInProgress \x3d 0, RootFatalErrored \x3d 1, RootErrored \x3d 2, RootSuspended \x3d \n 3, RootSuspendedWithDelay \x3d 4, RootCompleted \x3d 5, RootDidNotComplete \x3d 6, executionContext \x3d NoContext, workInProgressRoot \x3d null, workInProgress \x3d null, workInProgressRootRenderLanes \x3d 0, subtreeRenderLanes \x3d 0, subtreeRenderLanesCursor \x3d createCursor(0), workInProgressRootExitStatus \x3d RootInProgress, workInProgressRootFatalError \x3d null, workInProgressRootSkippedLanes \x3d 0, workInProgressRootInterleavedUpdatedLanes \x3d 0, workInProgressRootPingedLanes \x3d 0, workInProgressRootConcurrentErrors \x3d null, \n workInProgressRootRecoverableErrors \x3d null, globalMostRecentFallbackTime \x3d 0, FALLBACK_THROTTLE_MS \x3d 500, workInProgressRootRenderTargetTime \x3d Infinity, RENDER_TIMEOUT_MS \x3d 500, workInProgressTransitions \x3d null, hasUncaughtError \x3d !1, firstUncaughtError \x3d null, legacyErrorBoundariesThatAlreadyFailed \x3d null, rootDoesHavePassiveEffects \x3d !1, rootWithPendingPassiveEffects \x3d null, pendingPassiveEffectsLanes \x3d 0, pendingPassiveProfilerEffects \x3d [], NESTED_UPDATE_LIMIT \x3d 50, nestedUpdateCount \x3d 0, \n rootWithNestedUpdates \x3d null, isFlushingPassiveEffects \x3d !1, didScheduleUpdateDuringPassiveEffects \x3d !1, NESTED_PASSIVE_UPDATE_LIMIT \x3d 50, nestedPassiveUpdateCount \x3d 0, rootWithPassiveNestedUpdates \x3d null, currentEventTime \x3d -1, currentEventTransitionLane \x3d 0, isRunningInsertionEffect \x3d !1, didWarnStateUpdateForNotYetMountedComponent \x3d null;\n var beginWork$1 \x3d function(current, unitOfWork, lanes) {\n var originalWorkInProgressCopy \x3d assignFiberPropertiesInDEV(null, unitOfWork);\n try {\n return beginWork(current, unitOfWork, lanes);\n } catch (originalError) {\n var JSCompiler_inline_result \x3d didSuspendOrErrorDEV;\n if (JSCompiler_inline_result || null !\x3d\x3d originalError \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof originalError \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof originalError.then) {\n throw originalError;\n }\n resetContextDependencies();\n resetHooksAfterThrow();\n unwindInterruptedWork(current, unitOfWork);\n assignFiberPropertiesInDEV(unitOfWork, originalWorkInProgressCopy);\n unitOfWork.mode \x26 2 \x26\x26 startProfilerTimer(unitOfWork);\n invokeGuardedCallback(null, beginWork, null, current, unitOfWork, lanes);\n hasError \x26\x26 (current \x3d clearCaughtError(), \x22object\x22 \x3d\x3d\x3d typeof current \x26\x26 null !\x3d\x3d current \x26\x26 current._suppressLogging \x26\x26 \x22object\x22 \x3d\x3d\x3d typeof originalError \x26\x26 null !\x3d\x3d originalError \x26\x26 !originalError._suppressLogging \x26\x26 (originalError._suppressLogging \x3d !0));\n throw originalError;\n }\n };\n var didWarnAboutUpdateInRender \x3d !1;\n var didWarnAboutUpdateInRenderForAnotherComponent \x3d new Set();\n var fakeActCallbackNode \x3d {}, resolveFamily \x3d null, failedBoundaries \x3d null, setRefreshHandler \x3d function(handler) {\n resolveFamily \x3d handler;\n }, scheduleRefresh \x3d function(root, update) {\n if (null !\x3d\x3d resolveFamily) {\n var staleFamilies \x3d update.staleFamilies, updatedFamilies \x3d update.updatedFamilies;\n flushPassiveEffects();\n flushSync(function() {\n scheduleFibersWithFamiliesRecursively(root.current, updatedFamilies, staleFamilies);\n });\n }\n }, scheduleRoot \x3d function(root, element) {\n root.context \x3d\x3d\x3d emptyContextObject \x26\x26 (flushPassiveEffects(), flushSync(function() {\n updateContainer(element, root, null, null);\n }));\n }, findHostInstancesForRefresh \x3d function(root, families) {\n var hostInstances \x3d new Set();\n families \x3d new Set(families.map(function(family) {\n return family.current;\n }));\n findHostInstancesForMatchingFibersRecursively(root.current, families, hostInstances);\n return hostInstances;\n };\n var hasBadMapPolyfill \x3d !1;\n try {\n var nonExtensibleObject \x3d Object.preventExtensions({});\n new Map([[nonExtensibleObject, null]]);\n new Set([nonExtensibleObject]);\n } catch (e) {\n hasBadMapPolyfill \x3d !0;\n }\n var createFiber \x3d function(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n };\n var didWarnAboutNestedUpdates \x3d !1;\n var didWarnAboutFindNodeInStrictMode \x3d {};\n var shouldErrorImpl \x3d function(fiber) {\n return null;\n }, shouldSuspendImpl \x3d function(fiber) {\n return !1;\n }, overrideHookState \x3d null, overrideHookStateDeletePath \x3d null, overrideHookStateRenamePath \x3d null, overrideProps \x3d null, overridePropsDeletePath \x3d null, overridePropsRenamePath \x3d null, scheduleUpdate \x3d null, setErrorHandler \x3d null, setSuspenseHandler \x3d null, copyWithDeleteImpl \x3d function(obj, path, index) {\n var key \x3d path[index], updated \x3d isArrayImpl(obj) ? obj.slice() : assign({}, obj);\n if (index + 1 \x3d\x3d\x3d path.length) {\n return isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key], updated;\n }\n updated[key] \x3d copyWithDeleteImpl(obj[key], path, index + 1);\n return updated;\n }, copyWithRenameImpl \x3d function(obj, oldPath, newPath, index) {\n var oldKey \x3d oldPath[index], updated \x3d isArrayImpl(obj) ? obj.slice() : assign({}, obj);\n index + 1 \x3d\x3d\x3d oldPath.length ? (updated[newPath[index]] \x3d updated[oldKey], isArrayImpl(updated) ? updated.splice(oldKey, 1) : delete updated[oldKey]) : updated[oldKey] \x3d copyWithRenameImpl(obj[oldKey], oldPath, newPath, index + 1);\n return updated;\n }, copyWithRename \x3d function(obj, oldPath, newPath) {\n if (oldPath.length !\x3d\x3d newPath.length) {\n warn(\x22copyWithRename() expects paths of the same length\x22);\n } else {\n for (var i \x3d 0; i \x3c newPath.length - 1; i++) {\n if (oldPath[i] !\x3d\x3d newPath[i]) {\n warn(\x22copyWithRename() expects paths to be the same except for the deepest key\x22);\n return;\n }\n }\n return copyWithRenameImpl(obj, oldPath, newPath, 0);\n }\n }, copyWithSetImpl \x3d function(obj, path, index, value) {\n if (index \x3e\x3d path.length) {\n return value;\n }\n var key \x3d path[index], updated \x3d isArrayImpl(obj) ? obj.slice() : assign({}, obj);\n updated[key] \x3d copyWithSetImpl(obj[key], path, index + 1, value);\n return updated;\n }, findHook \x3d function(fiber, id) {\n for (fiber \x3d fiber.memoizedState; null !\x3d\x3d fiber \x26\x26 0 \x3c id;) {\n fiber \x3d fiber.next, id--;\n }\n return fiber;\n };\n overrideHookState \x3d function(fiber, id, path, value) {\n id \x3d findHook(fiber, id);\n null !\x3d\x3d id \x26\x26 (path \x3d copyWithSetImpl(id.memoizedState, path, 0, value), id.memoizedState \x3d path, id.baseState \x3d path, fiber.memoizedProps \x3d assign({}, fiber.memoizedProps), path \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane), null !\x3d\x3d path \x26\x26 scheduleUpdateOnFiber(path, fiber, SyncLane, -1));\n };\n overrideHookStateDeletePath \x3d function(fiber, id, path) {\n id \x3d findHook(fiber, id);\n null !\x3d\x3d id \x26\x26 (path \x3d copyWithDeleteImpl(id.memoizedState, path, 0), id.memoizedState \x3d path, id.baseState \x3d path, fiber.memoizedProps \x3d assign({}, fiber.memoizedProps), path \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane), null !\x3d\x3d path \x26\x26 scheduleUpdateOnFiber(path, fiber, SyncLane, -1));\n };\n overrideHookStateRenamePath \x3d function(fiber, id, oldPath, newPath) {\n id \x3d findHook(fiber, id);\n null !\x3d\x3d id \x26\x26 (oldPath \x3d copyWithRename(id.memoizedState, oldPath, newPath), id.memoizedState \x3d oldPath, id.baseState \x3d oldPath, fiber.memoizedProps \x3d assign({}, fiber.memoizedProps), oldPath \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane), null !\x3d\x3d oldPath \x26\x26 scheduleUpdateOnFiber(oldPath, fiber, SyncLane, -1));\n };\n overrideProps \x3d function(fiber, path, value) {\n fiber.pendingProps \x3d copyWithSetImpl(fiber.memoizedProps, path, 0, value);\n fiber.alternate \x26\x26 (fiber.alternate.pendingProps \x3d fiber.pendingProps);\n path \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane);\n null !\x3d\x3d path \x26\x26 scheduleUpdateOnFiber(path, fiber, SyncLane, -1);\n };\n overridePropsDeletePath \x3d function(fiber, path) {\n fiber.pendingProps \x3d copyWithDeleteImpl(fiber.memoizedProps, path, 0);\n fiber.alternate \x26\x26 (fiber.alternate.pendingProps \x3d fiber.pendingProps);\n path \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane);\n null !\x3d\x3d path \x26\x26 scheduleUpdateOnFiber(path, fiber, SyncLane, -1);\n };\n overridePropsRenamePath \x3d function(fiber, oldPath, newPath) {\n fiber.pendingProps \x3d copyWithRename(fiber.memoizedProps, oldPath, newPath);\n fiber.alternate \x26\x26 (fiber.alternate.pendingProps \x3d fiber.pendingProps);\n oldPath \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane);\n null !\x3d\x3d oldPath \x26\x26 scheduleUpdateOnFiber(oldPath, fiber, SyncLane, -1);\n };\n scheduleUpdate \x3d function(fiber) {\n var root \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane);\n null !\x3d\x3d root \x26\x26 scheduleUpdateOnFiber(root, fiber, SyncLane, -1);\n };\n setErrorHandler \x3d function(newShouldErrorImpl) {\n shouldErrorImpl \x3d newShouldErrorImpl;\n };\n setSuspenseHandler \x3d function(newShouldSuspendImpl) {\n shouldSuspendImpl \x3d newShouldSuspendImpl;\n };\n var defaultOnRecoverableError \x3d \x22function\x22 \x3d\x3d\x3d typeof reportError ? reportError : function(error) {\n console.error(error);\n };\n ReactDOMHydrationRoot.prototype.render \x3d ReactDOMRoot.prototype.render \x3d function(children, JSCompiler_OptimizeArgumentsArray_p2) {\n var root \x3d this._internalRoot;\n if (null \x3d\x3d\x3d root) {\n throw Error(\x22Cannot update an unmounted root.\x22);\n }\n \x22function\x22 \x3d\x3d\x3d typeof JSCompiler_OptimizeArgumentsArray_p2 ? error(\x22render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().\x22) : isValidContainer(JSCompiler_OptimizeArgumentsArray_p2) ? error(\x22You passed a container to the second argument of root.render(...). You don\x27t need to pass it again since you already passed it to create the root.\x22) : \x22undefined\x22 !\x3d\x3d typeof JSCompiler_OptimizeArgumentsArray_p2 \x26\x26 \n error(\x22You passed a second argument to root.render(...) but it only accepts one argument.\x22);\n JSCompiler_OptimizeArgumentsArray_p2 \x3d root.containerInfo;\n if (8 !\x3d\x3d JSCompiler_OptimizeArgumentsArray_p2.nodeType) {\n var hostInstance \x3d findHostInstanceWithNoPortals(root.current);\n hostInstance \x26\x26 hostInstance.parentNode !\x3d\x3d JSCompiler_OptimizeArgumentsArray_p2 \x26\x26 error(\x22render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root\x27s container.\x22);\n }\n updateContainer(children, root, null, null);\n };\n ReactDOMHydrationRoot.prototype.unmount \x3d ReactDOMRoot.prototype.unmount \x3d function(JSCompiler_OptimizeArgumentsArray_p3) {\n \x22function\x22 \x3d\x3d\x3d typeof JSCompiler_OptimizeArgumentsArray_p3 \x26\x26 error(\x22unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().\x22);\n var root \x3d this._internalRoot;\n null !\x3d\x3d root \x26\x26 (this._internalRoot \x3d null, JSCompiler_OptimizeArgumentsArray_p3 \x3d root.containerInfo, (executionContext \x26 (RenderContext | CommitContext)) !\x3d\x3d NoContext \x26\x26 error(\x22Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.\x22), flushSync(function() {\n updateContainer(null, root, null, null);\n }), JSCompiler_OptimizeArgumentsArray_p3[internalContainerInstanceKey] \x3d null);\n };\n ReactDOMHydrationRoot.prototype.unstable_scheduleHydration \x3d function(target) {\n if (target) {\n var updatePriority \x3d getCurrentUpdatePriority$1();\n target \x3d {blockedOn:null, target, priority:updatePriority};\n for (var i \x3d 0; i \x3c queuedExplicitHydrationTargets.length \x26\x26 0 !\x3d\x3d updatePriority \x26\x26 updatePriority \x3c queuedExplicitHydrationTargets[i].priority; i++) {\n }\n queuedExplicitHydrationTargets.splice(i, 0, target);\n 0 \x3d\x3d\x3d i \x26\x26 attemptExplicitHydrationTarget(target);\n }\n };\n var ReactCurrentOwner$3 \x3d ReactSharedInternals.ReactCurrentOwner;\n var topLevelUpdateWarnings \x3d function(container) {\n if (container._reactRootContainer \x26\x26 8 !\x3d\x3d container.nodeType) {\n var hostInstance \x3d findHostInstanceWithNoPortals(container._reactRootContainer.current);\n hostInstance \x26\x26 hostInstance.parentNode !\x3d\x3d container \x26\x26 error(\x22render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.\x22);\n }\n hostInstance \x3d !!container._reactRootContainer;\n var rootEl \x3d getReactRootElementInContainer(container);\n rootEl \x26\x26 getInstanceFromNode(rootEl) \x26\x26 !hostInstance \x26\x26 error(\x22render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render.\x22);\n 1 \x3d\x3d\x3d container.nodeType \x26\x26 container.tagName \x26\x26 \x22BODY\x22 \x3d\x3d\x3d container.tagName.toUpperCase() \x26\x26 error(\x22render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.\x22);\n };\n var _attemptSynchronousHydration \x3d function(fiber) {\n switch(fiber.tag) {\n case 3:\n var root \x3d fiber.stateNode;\n if (root.current.memoizedState.isDehydrated) {\n var lanes \x3d getHighestPriorityLanes(root.pendingLanes);\n flushRoot(root, lanes);\n }\n break;\n case 13:\n flushSync(function() {\n var root \x3d markUpdateLaneFromFiberToRoot(fiber, SyncLane);\n if (null !\x3d\x3d root) {\n var eventTime \x3d requestEventTime();\n scheduleUpdateOnFiber(root, fiber, SyncLane, eventTime);\n }\n }), markRetryLaneIfNotHydrated(fiber, SyncLane);\n }\n };\n var attemptContinuousHydration \x3d function(fiber) {\n if (13 \x3d\x3d\x3d fiber.tag) {\n var lane \x3d SelectiveHydrationLane, root \x3d markUpdateLaneFromFiberToRoot(fiber, lane);\n if (null !\x3d\x3d root) {\n var eventTime \x3d requestEventTime();\n scheduleUpdateOnFiber(root, fiber, lane, eventTime);\n }\n markRetryLaneIfNotHydrated(fiber, lane);\n }\n };\n var attemptHydrationAtCurrentPriority \x3d function(fiber) {\n if (13 \x3d\x3d\x3d fiber.tag) {\n var lane \x3d requestUpdateLane(fiber), root \x3d markUpdateLaneFromFiberToRoot(fiber, lane);\n if (null !\x3d\x3d root) {\n var eventTime \x3d requestEventTime();\n scheduleUpdateOnFiber(root, fiber, lane, eventTime);\n }\n markRetryLaneIfNotHydrated(fiber, lane);\n }\n };\n var getCurrentUpdatePriority$1 \x3d function() {\n return currentUpdatePriority;\n };\n var attemptHydrationAtPriority \x3d function(priority, fn) {\n var previousPriority \x3d currentUpdatePriority;\n try {\n return currentUpdatePriority \x3d priority, fn();\n } finally {\n currentUpdatePriority \x3d previousPriority;\n }\n };\n \x22function\x22 \x3d\x3d\x3d typeof Map \x26\x26 null !\x3d Map.prototype \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof Map.prototype.forEach \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof Set \x26\x26 null !\x3d Set.prototype \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof Set.prototype.clear \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof Set.prototype.forEach || error(\x22React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\x22);\n restoreImpl \x3d function(domElement, tag, props) {\n switch(tag) {\n case \x22input\x22:\n updateWrapper(domElement, props);\n tag \x3d props.name;\n if (\x22radio\x22 \x3d\x3d\x3d props.type \x26\x26 null !\x3d tag) {\n for (props \x3d domElement; props.parentNode;) {\n props \x3d props.parentNode;\n }\n props \x3d props.querySelectorAll(\x22input[name\\x3d\x22 + JSON.stringify(\x22\x22 + tag) + \x27][type\\x3d\x22radio\x22]\x27);\n for (tag \x3d 0; tag \x3c props.length; tag++) {\n var otherNode \x3d props[tag];\n if (otherNode !\x3d\x3d domElement \x26\x26 otherNode.form \x3d\x3d\x3d domElement.form) {\n var otherProps \x3d getFiberCurrentPropsFromNode(otherNode);\n if (!otherProps) {\n throw Error(\x22ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.\x22);\n }\n updateValueIfChanged(otherNode);\n updateWrapper(otherNode, otherProps);\n }\n }\n }\n break;\n case \x22textarea\x22:\n updateWrapper$1(domElement, props);\n break;\n case \x22select\x22:\n tag \x3d props.value, null !\x3d tag \x26\x26 updateOptions(domElement, !!props.multiple, tag, !1);\n }\n };\n (function(_batchedUpdatesImpl, _discreteUpdatesImpl, _flushSyncImpl) {\n batchedUpdatesImpl \x3d _batchedUpdatesImpl;\n flushSyncImpl \x3d _flushSyncImpl;\n })(batchedUpdates$1, function(fn, a, b, c, d) {\n var previousPriority \x3d currentUpdatePriority, prevTransition \x3d ReactCurrentBatchConfig$3.transition;\n try {\n return ReactCurrentBatchConfig$3.transition \x3d null, currentUpdatePriority \x3d DiscreteEventPriority, fn(a, b, c, d);\n } finally {\n currentUpdatePriority \x3d previousPriority, ReactCurrentBatchConfig$3.transition \x3d prevTransition, executionContext \x3d\x3d\x3d NoContext \x26\x26 resetRenderTimer();\n }\n }, flushSync);\n var Internals \x3d {usingClientEntryPoint:!1, Events:[getInstanceFromNode, getNodeFromInstance, getFiberCurrentPropsFromNode, enqueueStateRestore, restoreStateIfNeeded, batchedUpdates$1]};\n if (!function(devToolsConfig) {\n return injectInternals({bundleType:devToolsConfig.bundleType, version:devToolsConfig.version, rendererPackageName:devToolsConfig.rendererPackageName, rendererConfig:devToolsConfig.rendererConfig, overrideHookState, overrideHookStateDeletePath, overrideHookStateRenamePath, overrideProps, overridePropsDeletePath, overridePropsRenamePath, setErrorHandler, setSuspenseHandler, scheduleUpdate, currentDispatcherRef:ReactSharedInternals.ReactCurrentDispatcher, findHostInstanceByFiber, findFiberByHostInstance:devToolsConfig.findFiberByHostInstance || \n emptyFindFiberByHostInstance, findHostInstancesForRefresh, scheduleRefresh, scheduleRoot, setRefreshHandler, getCurrentFiber:getCurrentFiberForDevTools, reconcilerVersion:\x2218.2.0\x22});\n }({findFiberByHostInstance:getClosestInstanceFromNode, bundleType:1, version:\x2218.2.0\x22, rendererPackageName:\x22react-dom\x22}) \x26\x26 canUseDOM \x26\x26 window.top \x3d\x3d\x3d window.self \x26\x26 (-1 \x3c navigator.userAgent.indexOf(\x22Chrome\x22) \x26\x26 -1 \x3d\x3d\x3d navigator.userAgent.indexOf(\x22Edge\x22) || -1 \x3c navigator.userAgent.indexOf(\x22Firefox\x22))) {\n var protocol \x3d window.location.protocol;\n /^(https?|file):$/.test(protocol) \x26\x26 console.info(\x22%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools\x22 + (\x22file:\x22 \x3d\x3d\x3d protocol ? \x22\\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq\x22 : \x22\x22), \x22font-weight:bold\x22);\n }\n exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED \x3d Internals;\n exports.createPortal \x3d function(children, container) {\n var key \x3d 2 \x3c arguments.length \x26\x26 void 0 !\x3d\x3d arguments[2] ? arguments[2] : null;\n if (!isValidContainer(container)) {\n throw Error(\x22Target container is not a DOM element.\x22);\n }\n return createPortal(children, container, null, key);\n };\n exports.createRoot \x3d function(container, options) {\n Internals.usingClientEntryPoint || error(\x27You are importing createRoot from \x22react-dom\x22 which is not supported. You should instead import it from \x22react-dom/client\x22.\x27);\n if (!isValidContainer(container)) {\n throw Error(\x22createRoot(...): Target container is not a DOM element.\x22);\n }\n warnIfReactDOMContainerInDEV(container);\n var isStrictMode \x3d !1, identifierPrefix \x3d \x22\x22, onRecoverableError \x3d defaultOnRecoverableError;\n null !\x3d\x3d options \x26\x26 void 0 !\x3d\x3d options \x26\x26 (options.hydrate ? warn(\x22hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, \\x3cApp /\\x3e) instead.\x22) : \x22object\x22 \x3d\x3d\x3d typeof options \x26\x26 null !\x3d\x3d options \x26\x26 options.$$typeof \x3d\x3d\x3d REACT_ELEMENT_TYPE \x26\x26 error(\x22You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\\n\\n let root \\x3d createRoot(domContainer);\\n root.render(\\x3cApp /\\x3e);\x22), !0 \x3d\x3d\x3d options.unstable_strictMode \x26\x26 \n (isStrictMode \x3d !0), void 0 !\x3d\x3d options.identifierPrefix \x26\x26 (identifierPrefix \x3d options.identifierPrefix), void 0 !\x3d\x3d options.onRecoverableError \x26\x26 (onRecoverableError \x3d options.onRecoverableError));\n options \x3d createFiberRoot(container, 1, !1, null, null, isStrictMode, !1, identifierPrefix, onRecoverableError);\n container[internalContainerInstanceKey] \x3d options.current;\n listenToAllSupportedEvents(8 \x3d\x3d\x3d container.nodeType ? container.parentNode : container);\n return new ReactDOMRoot(options);\n };\n exports.findDOMNode \x3d function(componentOrElement) {\n var owner \x3d ReactCurrentOwner$3.current;\n null !\x3d\x3d owner \x26\x26 null !\x3d\x3d owner.stateNode \x26\x26 (owner.stateNode._warnedAboutRefsInRender || error(\x22%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.\x22, getComponentNameFromType(owner.type) || \x22A component\x22), owner.stateNode._warnedAboutRefsInRender \x3d !0);\n if (null \x3d\x3d componentOrElement) {\n return null;\n }\n if (1 \x3d\x3d\x3d componentOrElement.nodeType) {\n return componentOrElement;\n }\n owner \x3d componentOrElement._reactInternals;\n if (void 0 \x3d\x3d\x3d owner) {\n if (\x22function\x22 \x3d\x3d\x3d typeof componentOrElement.render) {\n throw Error(\x22Unable to find node on an unmounted component.\x22);\n }\n owner \x3d Object.keys(componentOrElement).join(\x22,\x22);\n throw Error(\x22Argument appears to not be a ReactComponent. Keys: \x22 + owner);\n }\n componentOrElement \x3d findCurrentHostFiber(owner);\n if (null \x3d\x3d\x3d componentOrElement) {\n owner \x3d null;\n } else {\n if (componentOrElement.mode \x26 8) {\n var componentName \x3d getComponentNameFromFiber(owner) || \x22Component\x22;\n if (!didWarnAboutFindNodeInStrictMode[componentName]) {\n didWarnAboutFindNodeInStrictMode[componentName] \x3d !0;\n var previousFiber \x3d current;\n try {\n setCurrentFiber(componentOrElement), owner.mode \x26 8 ? error(\x22%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node\x22, \x22findDOMNode\x22, \x22findDOMNode\x22, componentName) : error(\x22%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node\x22, \n \x22findDOMNode\x22, \x22findDOMNode\x22, componentName);\n } finally {\n previousFiber ? setCurrentFiber(previousFiber) : resetCurrentFiber();\n }\n }\n }\n owner \x3d componentOrElement.stateNode;\n }\n return owner;\n };\n exports.flushSync \x3d function(fn) {\n (executionContext \x26 (RenderContext | CommitContext)) !\x3d\x3d NoContext \x26\x26 error(\x22flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.\x22);\n return flushSync(fn);\n };\n exports.hydrate \x3d function(element, container, callback) {\n error(\x22ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it\x27s running React 17. Learn more: https://reactjs.org/link/switch-to-createroot\x22);\n if (!isValidContainerLegacy(container)) {\n throw Error(\x22Target container is not a DOM element.\x22);\n }\n container[internalContainerInstanceKey] \x26\x26 void 0 \x3d\x3d\x3d container._reactRootContainer \x26\x26 error(\x22You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?\x22);\n return legacyRenderSubtreeIntoContainer(null, element, container, !0, callback);\n };\n exports.hydrateRoot \x3d function(container, initialChildren, options) {\n Internals.usingClientEntryPoint || error(\x27You are importing hydrateRoot from \x22react-dom\x22 which is not supported. You should instead import it from \x22react-dom/client\x22.\x27);\n if (!isValidContainer(container)) {\n throw Error(\x22hydrateRoot(...): Target container is not a DOM element.\x22);\n }\n warnIfReactDOMContainerInDEV(container);\n void 0 \x3d\x3d\x3d initialChildren \x26\x26 error(\x22Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, \\x3cApp /\\x3e)\x22);\n var mutableSources \x3d null !\x3d options \x26\x26 options.hydratedSources || null, isStrictMode \x3d !1, identifierPrefix \x3d \x22\x22, onRecoverableError \x3d defaultOnRecoverableError;\n null !\x3d\x3d options \x26\x26 void 0 !\x3d\x3d options \x26\x26 (!0 \x3d\x3d\x3d options.unstable_strictMode \x26\x26 (isStrictMode \x3d !0), void 0 !\x3d\x3d options.identifierPrefix \x26\x26 (identifierPrefix \x3d options.identifierPrefix), void 0 !\x3d\x3d options.onRecoverableError \x26\x26 (onRecoverableError \x3d options.onRecoverableError));\n initialChildren \x3d createHydrationContainer(initialChildren, null, container, 1, null !\x3d options ? options : null, isStrictMode, !1, identifierPrefix, onRecoverableError);\n container[internalContainerInstanceKey] \x3d initialChildren.current;\n listenToAllSupportedEvents(container);\n if (mutableSources) {\n for (container \x3d 0; container \x3c mutableSources.length; container++) {\n options \x3d initialChildren, isStrictMode \x3d mutableSources[container], identifierPrefix \x3d isStrictMode._getVersion, identifierPrefix \x3d identifierPrefix(isStrictMode._source), null \x3d\x3d options.mutableSourceEagerHydrationData ? options.mutableSourceEagerHydrationData \x3d [isStrictMode, identifierPrefix] : options.mutableSourceEagerHydrationData.push(isStrictMode, identifierPrefix);\n }\n }\n return new ReactDOMHydrationRoot(initialChildren);\n };\n exports.render \x3d function(element, container, callback) {\n error(\x22ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it\x27s running React 17. Learn more: https://reactjs.org/link/switch-to-createroot\x22);\n if (!isValidContainerLegacy(container)) {\n throw Error(\x22Target container is not a DOM element.\x22);\n }\n container[internalContainerInstanceKey] \x26\x26 void 0 \x3d\x3d\x3d container._reactRootContainer \x26\x26 error(\x22You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?\x22);\n return legacyRenderSubtreeIntoContainer(null, element, container, !1, callback);\n };\n exports.unmountComponentAtNode \x3d function(container) {\n if (!isValidContainerLegacy(container)) {\n throw Error(\x22unmountComponentAtNode(...): Target container is not a DOM element.\x22);\n }\n container[internalContainerInstanceKey] \x26\x26 void 0 \x3d\x3d\x3d container._reactRootContainer \x26\x26 error(\x22You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?\x22);\n if (container._reactRootContainer) {\n var rootEl \x3d getReactRootElementInContainer(container);\n rootEl \x26\x26 !getInstanceFromNode(rootEl) \x26\x26 error(\x22unmountComponentAtNode(): The node you\x27re attempting to unmount was rendered by another copy of React.\x22);\n flushSync(function() {\n legacyRenderSubtreeIntoContainer(null, null, container, !1, function() {\n container._reactRootContainer \x3d null;\n container[internalContainerInstanceKey] \x3d null;\n });\n });\n return !0;\n }\n rootEl \x3d getReactRootElementInContainer(container);\n rootEl \x3d !(!rootEl || !getInstanceFromNode(rootEl));\n var isContainerReactRoot \x3d 1 \x3d\x3d\x3d container.nodeType \x26\x26 isValidContainerLegacy(container.parentNode) \x26\x26 !!container.parentNode._reactRootContainer;\n rootEl \x26\x26 error(\x22unmountComponentAtNode(): The node you\x27re attempting to unmount was rendered by React and is not a top-level container. %s\x22, isContainerReactRoot ? \x22You may have accidentally passed in a React root node instead of its container.\x22 : \x22Instead, have the parent component update its state and rerender in order to remove this component.\x22);\n return !1;\n };\n exports.unstable_batchedUpdates \x3d batchedUpdates$1;\n exports.unstable_renderSubtreeIntoContainer \x3d function(parentComponent, element, containerNode, callback) {\n error(\x22ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it\x27s running React 17. Learn more: https://reactjs.org/link/switch-to-createroot\x22);\n if (!isValidContainerLegacy(containerNode)) {\n throw Error(\x22Target container is not a DOM element.\x22);\n }\n if (null \x3d\x3d parentComponent || void 0 \x3d\x3d\x3d parentComponent._reactInternals) {\n throw Error(\x22parentComponent must be a valid React Component\x22);\n }\n return legacyRenderSubtreeIntoContainer(parentComponent, element, containerNode, !1, callback);\n };\n exports.version \x3d \x2218.2.0\x22;\n \x22undefined\x22 !\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop \x26\x26 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n};\n"); SHADOW_ENV.evalLoad("module$node_modules$react_dom$index.js", true, "shadow$provide.module$node_modules$react_dom$index \x3d function(global, require, module, exports) {\n module.exports \x3d require(\x22module$node_modules$react_dom$cjs$react_dom_development\x22);\n};\n"); SHADOW_ENV.evalLoad("module$node_modules$react_dom$client.js", true, "shadow$provide.module$node_modules$react_dom$client \x3d function(global, require, module, exports) {\n var m \x3d require(\x22module$node_modules$react_dom$index\x22), i \x3d m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot \x3d function(c, o) {\n i.usingClientEntryPoint \x3d !0;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint \x3d !1;\n }\n };\n exports.hydrateRoot \x3d function(c, h, o) {\n i.usingClientEntryPoint \x3d !0;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint \x3d !1;\n }\n };\n};\n"); -SHADOW_ENV.evalLoad("uix.dom.js", true, "goog.provide(\x27uix.dom\x27);\nvar module$node_modules$react_dom$client\x3dshadow.js.require(\x22module$node_modules$react_dom$client\x22, {});\nvar module$node_modules$react_dom$index\x3dshadow.js.require(\x22module$node_modules$react_dom$index\x22, {});\n/**\n * Create a React root for the supplied container and return the root.\n * \n * See: https://reactjs.org/docs/react-dom-client.html#createroot\n */\nuix.dom.create_root \x3d (function uix$dom$create_root(var_args){\nvar G__38602 \x3d arguments.length;\nswitch (G__38602) {\ncase 1:\nreturn uix.dom.create_root.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.dom.create_root.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.dom.create_root.cljs$core$IFn$_invoke$arity$1 \x3d (function (node){\nreturn module$node_modules$react_dom$client.createRoot(node);\n}));\n\n(uix.dom.create_root.cljs$core$IFn$_invoke$arity$2 \x3d (function (node,p__38609){\nvar map__38611 \x3d p__38609;\nvar map__38611__$1 \x3d cljs.core.__destructure_map(map__38611);\nvar options \x3d map__38611__$1;\nvar on_recoverable_error \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38611__$1,new cljs.core.Keyword(null,\x22on-recoverable-error\x22,\x22on-recoverable-error\x22,1651056576));\nvar identifier_prefix \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38611__$1,new cljs.core.Keyword(null,\x22identifier-prefix\x22,\x22identifier-prefix\x22,1929840008));\nreturn module$node_modules$react_dom$client.createRoot(node,({\x22onRecoverableError\x22: on_recoverable_error, \x22identifierPrefix\x22: identifier_prefix}));\n}));\n\n(uix.dom.create_root.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Same as `create-root`, but is used to hydrate a container whose HTML contents were rendered by ReactDOMServer.\n * \n * See: https://reactjs.org/docs/react-dom-client.html#hydrateroot\n */\nuix.dom.hydrate_root \x3d (function uix$dom$hydrate_root(var_args){\nvar G__38617 \x3d arguments.length;\nswitch (G__38617) {\ncase 2:\nreturn uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$2 \x3d (function (container,element){\nreturn module$node_modules$react_dom$client.hydrateRoot(container,element);\n}));\n\n(uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$3 \x3d (function (container,element,p__38622){\nvar map__38623 \x3d p__38622;\nvar map__38623__$1 \x3d cljs.core.__destructure_map(map__38623);\nvar options \x3d map__38623__$1;\nvar on_recoverable_error \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38623__$1,new cljs.core.Keyword(null,\x22on-recoverable-error\x22,\x22on-recoverable-error\x22,1651056576));\nvar identifier_prefix \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__38623__$1,new cljs.core.Keyword(null,\x22identifier-prefix\x22,\x22identifier-prefix\x22,1929840008));\nreturn module$node_modules$react_dom$client.hydrateRoot(container,element,({\x22onRecoverableError\x22: on_recoverable_error, \x22identifierPrefix\x22: identifier_prefix}));\n}));\n\n(uix.dom.hydrate_root.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Renders React root into the DOM node.\n */\nuix.dom.render_root \x3d (function uix$dom$render_root(element,root){\nreturn root.render(element);\n});\n/**\n * Remove a mounted React root from the DOM and clean up its event handlers and state.\n */\nuix.dom.unmount_root \x3d (function uix$dom$unmount_root(root){\nreturn root.unmount();\n});\n/**\n * DEPRECATED: Renders element into DOM node. The first argument is React element.\n */\nuix.dom.render \x3d (function uix$dom$render(element,node){\nreturn module$node_modules$react_dom$index.render(element,node);\n});\n/**\n * DEPRECATED: Hydrates server rendered document at `node` with `element`.\n */\nuix.dom.hydrate \x3d (function uix$dom$hydrate(element,node){\nreturn module$node_modules$react_dom$index.hydrate(element,node);\n});\n/**\n * Force React to flush any updates inside the provided callback synchronously.\n * This ensures that the DOM is updated immediately.\n * \n * See: https://reactjs.org/docs/react-dom.html#flushsync\n */\nuix.dom.flush_sync \x3d (function uix$dom$flush_sync(callback){\nreturn module$node_modules$react_dom$index.flushSync(callback);\n});\nuix.dom.batched_updates \x3d (function uix$dom$batched_updates(f){\nreturn module$node_modules$react_dom$index.unstable_batchedUpdates(f);\n});\n/**\n * Unmounts React component rendered into DOM node\n */\nuix.dom.unmount_at_node \x3d (function uix$dom$unmount_at_node(node){\nreturn module$node_modules$react_dom$index.unmountComponentAtNode(node);\n});\n/**\n * If this component has been mounted into the DOM, this returns the corresponding native browser DOM element.\n * \n * See: https://reactjs.org/docs/react-dom.html#finddomnode\n */\nuix.dom.find_dom_node \x3d (function uix$dom$find_dom_node(component){\nreturn module$node_modules$react_dom$index.findDOMNode(component);\n});\n/**\n * Creates a portal. Portals provide a way to render children into a DOM node\n * that exists outside the hierarchy of the DOM component.\n * \n * See: https://reactjs.org/docs/react-dom.html#createportal\n */\nuix.dom.create_portal \x3d (function uix$dom$create_portal(var_args){\nvar G__38650 \x3d arguments.length;\nswitch (G__38650) {\ncase 2:\nreturn uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.dom.create_portal.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2 \x3d (function (child,node){\nreturn module$node_modules$react_dom$index.createPortal(child,node);\n}));\n\n(uix.dom.create_portal.cljs$core$IFn$_invoke$arity$3 \x3d (function (child,node,key){\nreturn module$node_modules$react_dom$index.createPortal(child,node,key);\n}));\n\n(uix.dom.create_portal.cljs$lang$maxFixedArity \x3d 3);\n\n"); -SHADOW_ENV.evalLoad("cljs_react_devtools.core.js", true, "goog.provide(\x27cljs_react_devtools.core\x27);\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.popout_window !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.popout_window \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\n}\ncljs_react_devtools.core.color_themes \x3d new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22light\x22,\x22light\x22,1918998747),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,\x22icon-chevron\x22,\x22icon-chevron\x22,-1823771456),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446),new cljs.core.Keyword(null,\x22resize-handle\x22,\x22resize-handle\x22,542557491),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117),new cljs.core.Keyword(null,\x22devtools-text\x22,\x22devtools-text\x22,1734170100),new cljs.core.Keyword(null,\x22data-view-keyword\x22,\x22data-view-keyword\x22,-1300167945),new cljs.core.Keyword(null,\x22devtools-bg\x22,\x22devtools-bg\x22,-1808526887),new cljs.core.Keyword(null,\x22tree-view-bg\x22,\x22tree-view-bg\x22,1629664539),new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852)],[\x22#b78ff1\x22,\x22#a769ff\x22,\x22#8835ff\x22,\x22#fcf8ff\x22,\x22#216aef\x22,\x22#51485f\x22,\x22#c94d22\x22,\x22#fefdff\x22,\x22#fbfafd\x22,\x22#eadcff\x22,\x22#388e28\x22]),new cljs.core.Keyword(null,\x22dark\x22,\x22dark\x22,1818973999),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,\x22icon-chevron\x22,\x22icon-chevron\x22,-1823771456),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446),new cljs.core.Keyword(null,\x22resize-handle\x22,\x22resize-handle\x22,542557491),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117),new cljs.core.Keyword(null,\x22devtools-text\x22,\x22devtools-text\x22,1734170100),new cljs.core.Keyword(null,\x22data-view-keyword\x22,\x22data-view-keyword\x22,-1300167945),new cljs.core.Keyword(null,\x22devtools-bg\x22,\x22devtools-bg\x22,-1808526887),new cljs.core.Keyword(null,\x22tree-view-bg\x22,\x22tree-view-bg\x22,1629664539),new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852)],[\x22#ede2fd\x22,\x22#ebe0fc\x22,\x22#ebe0fb\x22,\x22#3e2e44\x22,\x22#7be0ff\x22,\x22#ede2ff\x22,\x22#fac543\x22,\x22#302b32\x22,\x22#2d292d\x22,\x22#4d27f9\x22,\x22#5de144\x22])], null);\ncljs_react_devtools.core.theme \x3d uix.core.create_context.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,\x22light\x22,\x22light\x22,1918998747).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes));\ncljs_react_devtools.core.node__GT_siblings \x3d (function cljs_react_devtools$core$node__GT_siblings(node){\nif(cljs.core.truth_(node)){\nreturn (new cljs.core.LazySeq(null,(function (){\nreturn cljs.core.cons(node,(cljs.core.truth_(node.sibling)?(function (){var G__92891 \x3d node.sibling;\nreturn (cljs_react_devtools.core.node__GT_siblings.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.node__GT_siblings.cljs$core$IFn$_invoke$arity$1(G__92891) : cljs_react_devtools.core.node__GT_siblings.call(null, G__92891));\n})():null));\n}),null,null));\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.fiber__GT_child \x3d (function cljs_react_devtools$core$fiber__GT_child(fiber){\nvar or__5045__auto__ \x3d fiber.child;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nvar G__92892 \x3d fiber;\nvar G__92892__$1 \x3d (((G__92892 \x3d\x3d null))?null:G__92892.alternate);\nif((G__92892__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__92892__$1.child;\n}\n}\n});\ncljs_react_devtools.core.render_children \x3d (function cljs_react_devtools$core$render_children(node,state,set_state){\nvar child \x3d cljs_react_devtools.core.fiber__GT_child(node);\nif(cljs.core.truth_(child)){\nvar iter__5523__auto__ \x3d (function cljs_react_devtools$core$render_children_$_iter__92893(s__92894){\nreturn (new cljs.core.LazySeq(null,(function (){\nvar s__92894__$1 \x3d s__92894;\nwhile(true){\nvar temp__5823__auto__ \x3d cljs.core.seq(s__92894__$1);\nif(temp__5823__auto__){\nvar s__92894__$2 \x3d temp__5823__auto__;\nif(cljs.core.chunked_seq_QMARK_(s__92894__$2)){\nvar c__5521__auto__ \x3d cljs.core.chunk_first(s__92894__$2);\nvar size__5522__auto__ \x3d cljs.core.count(c__5521__auto__);\nvar b__92896 \x3d cljs.core.chunk_buffer(size__5522__auto__);\nif((function (){var i__92895 \x3d (0);\nwhile(true){\nif((i__92895 \x3c size__5522__auto__)){\nvar node__$1 \x3d cljs.core._nth(c__5521__auto__,i__92895);\ncljs.core.chunk_append(b__92896,uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),node__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),node__$1.index], null)],[]));\n\nvar G__93252 \x3d (i__92895 + (1));\ni__92895 \x3d G__93252;\ncontinue;\n} else {\nreturn true;\n}\nbreak;\n}\n})()){\nreturn cljs.core.chunk_cons(cljs.core.chunk(b__92896),cljs_react_devtools$core$render_children_$_iter__92893(cljs.core.chunk_rest(s__92894__$2)));\n} else {\nreturn cljs.core.chunk_cons(cljs.core.chunk(b__92896),null);\n}\n} else {\nvar node__$1 \x3d cljs.core.first(s__92894__$2);\nreturn cljs.core.cons(uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),node__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),node__$1.index], null)],[]),cljs_react_devtools$core$render_children_$_iter__92893(cljs.core.rest(s__92894__$2)));\n}\n} else {\nreturn null;\n}\nbreak;\n}\n}),null,null));\n});\nreturn iter__5523__auto__(cljs_react_devtools.core.node__GT_siblings(child));\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.reagent_node_QMARK_ \x3d (function cljs_react_devtools$core$reagent_node_QMARK_(node){\nvar el_type \x3d node.elementType;\nvar and__5043__auto__ \x3d cljs.core.fn_QMARK_(el_type);\nif(and__5043__auto__){\nreturn el_type.cljs$lang$type;\n} else {\nreturn and__5043__auto__;\n}\n});\ncljs_react_devtools.core.uix_node_QMARK_ \x3d (function cljs_react_devtools$core$uix_node_QMARK_(node){\nvar el_type \x3d node.elementType;\nvar and__5043__auto__ \x3d cljs.core.fn_QMARK_(el_type);\nif(and__5043__auto__){\nreturn el_type.uix_component_QMARK_;\n} else {\nreturn and__5043__auto__;\n}\n});\ncljs_react_devtools.core.memo_node_QMARK_ \x3d (function cljs_react_devtools$core$memo_node_QMARK_(node){\nvar el_type \x3d node.elementType;\nvar and__5043__auto__ \x3d el_type;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,el_type.constructor)) \x26\x26 (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((el_type[\x22$$typeof\x22]),Symbol.for(\x22react.memo\x22))));\n} else {\nreturn and__5043__auto__;\n}\n});\ncljs_react_devtools.core.demunge_name \x3d (function cljs_react_devtools$core$demunge_name(name){\nvar s \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge_str(name),/\\./);\nreturn [clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22.\x22,cljs.core.butlast(s)),\x22/\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.last(s))].join(\x27\x27);\n});\ncljs_react_devtools.core.demunge_fn_name \x3d (function cljs_react_devtools$core$demunge_fn_name(name){\nvar s \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge_str(name),/\\//);\nreturn [clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22.\x22,cljs.core.butlast(s)),\x22/\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.last(s))].join(\x27\x27);\n});\ncljs_react_devtools.core.node__GT_name \x3d (function cljs_react_devtools$core$node__GT_name(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___93253 \x3d arguments.length;\nvar i__5770__auto___93254 \x3d (0);\nwhile(true){\nif((i__5770__auto___93254 \x3c len__5769__auto___93253)){\nargs__5775__auto__.push((arguments[i__5770__auto___93254]));\n\nvar G__93255 \x3d (i__5770__auto___93254 + (1));\ni__5770__auto___93254 \x3d G__93255;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((1) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null);\nreturn cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__);\n});\n\n(cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic \x3d (function (node,p__92899){\nvar map__92900 \x3d p__92899;\nvar map__92900__$1 \x3d cljs.core.__destructure_map(map__92900);\nvar lib_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92900__$1,new cljs.core.Keyword(null,\x22lib?\x22,\x22lib?\x22,-150324554));\nvar file_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92900__$1,new cljs.core.Keyword(null,\x22file?\x22,\x22file?\x22,1755223728));\nvar el_type \x3d node.elementType;\nvar memo_QMARK_ \x3d cljs_react_devtools.core.memo_node_QMARK_(node.return);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(((typeof el_type \x3d\x3d\x3d \x27string\x27)?el_type:(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))?cljs_react_devtools.core.demunge_name(el_type.displayName):((cljs.core.fn_QMARK_(el_type))?(function (){var or__5045__auto__ \x3d el_type.displayName;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn cljs_react_devtools.core.demunge_fn_name(el_type.name);\n}\n})():null))),[\x22span\x22,null,null,false],false),[(cljs.core.truth_(memo_QMARK_)?\x22 [memo]\x22:null),(cljs.core.truth_(lib_QMARK_)?(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))?\x22 [reagent]\x22:(cljs.core.truth_(cljs_react_devtools.core.uix_node_QMARK_(node))?\x22 [uix]\x22:((cljs.core.fn_QMARK_(el_type))?\x22 [react]\x22:null))):null)]),uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs((cljs.core.truth_((function (){var and__5043__auto__ \x3d file_QMARK_;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn cljs.core.fn_QMARK_(el_type);\n} else {\nreturn and__5043__auto__;\n}\n})())?(function (){var temp__5823__auto__ \x3d node.type._source;\nif(cljs.core.truth_(temp__5823__auto__)){\nvar o \x3d temp__5823__auto__;\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(o.file),\x22:\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(o.lineNumber)].join(\x27\x27);\n} else {\nreturn null;\n}\n})():null),[\x22span\x22,null,null,false],false),[])]);\n}));\n\n(cljs_react_devtools.core.node__GT_name.cljs$lang$maxFixedArity \x3d (1));\n\n/** @this {Function} */\n(cljs_react_devtools.core.node__GT_name.cljs$lang$applyTo \x3d (function (seq92897){\nvar G__92898 \x3d cljs.core.first(seq92897);\nvar seq92897__$1 \x3d cljs.core.next(seq92897);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__92898,seq92897__$1);\n}));\n\ncljs_react_devtools.core.button \x3d (function cljs_react_devtools$core$button(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__92903 \x3d [clj_props__39592__auto__];\nvar props \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92903,(0),null);\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93256 \x3d cljs_react_devtools.core.button.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93256)){\nvar f__39522__auto___93257 \x3d temp__5823__auto___93256;\n(f__39522__auto___93257.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93257.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93257.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22button\x22,uix.compiler.attributes.interpret_attrs(cljs.core.update.cljs$core$IFn$_invoke$arity$3(props,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),(function (p1__92901_SHARP_){\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22background\x22,\x22background\x22,-863952629),new cljs.core.Keyword(null,\x22transparent\x22,\x22transparent\x22,-2073609949),new cljs.core.Keyword(null,\x22border\x22,\x22border\x22,1444987323),new cljs.core.Keyword(null,\x22none\x22,\x22none\x22,1333468478),new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22padding\x22,\x22padding\x22,1660304693),(0),new cljs.core.Keyword(null,\x22opacity\x22,\x22opacity\x22,397153780),(cljs.core.truth_(new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218).cljs$core$IFn$_invoke$arity$1(props))?0.5:null)], null),cljs.core.filter.cljs$core$IFn$_invoke$arity$2(cljs.core.comp.cljs$core$IFn$_invoke$arity$2(cljs.core.some_QMARK_,cljs.core.val),p1__92901_SHARP_)], 0));\n})),[\x22button\x22,null,null,false],false),[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__92906 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__92907 \x3d cljs_react_devtools.core.button;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__92907);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__92906);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.button.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.button.displayName \x3d \x22cljs-react-devtools.core/button\x22);\n\nObject.defineProperty(cljs_react_devtools.core.button,\x22name\x22,(function (){var obj92909 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/button\x22});\nreturn obj92909;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93263 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93263.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93263.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.button,\x22\x22,null,null) : sig__39531__auto___93263.call(null, cljs_react_devtools.core.button,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.button,cljs_react_devtools.core.button.displayName);\n\n(cljs_react_devtools.core.button.fast_refresh_signature \x3d sig__39531__auto___93263);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.button._source \x3d (function (){var obj92911 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:110});\nreturn obj92911;\n})());\ncljs_react_devtools.core.icon_chevron_down \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x224\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(8),\x27height\x27:(8)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M19.5 8.25l-7.5 7.5-7.5-7.5\x22}],[])]);\ncljs_react_devtools.core.icon_cursor_rays \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x222\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(18),\x27height\x27:(18)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M15.042 21.672L13.684 16.6m0 0l-2.51 2.225.569-9.47 5.227 7.917-3.286-.672zM12 2.25V4.5m5.834.166l-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243l-1.59-1.59\x22}],[])]);\ncljs_react_devtools.core.icon_window \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x222\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(18),\x27height\x27:(18)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M3 8.25V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18V8.25m-18 0V6a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6zM7.5 6h.008v.008H7.5V6zm2.25 0h.008v.008H9.75V6z\x22}],[])]);\ncljs_react_devtools.core.icon_dock_bottom \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27width\x27:(18),\x27height\x27:(18),\x27viewBox\x27:\x220 0 24 24\x22,\x27fill\x27:\x22none\x22,\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M3 14H21M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27stroke\x27:\x22currentColor\x22,\x27strokeWidth\x27:\x222\x22,\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22}],[]),uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M3.375 18L3.375 14.5L20.625 14.5L20.625 18C20.625 18.621 20.121 19.125 19.5 19.125L4.5 19.125C3.879 19.125 3.375 18.621 3.375 18Z\x22,\x27fill\x27:\x22currentColor\x22}],[])]);\ncljs_react_devtools.core.icon_dock_right \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27width\x27:(19),\x27height\x27:(19),\x27viewBox\x27:\x220 0 24 24\x22,\x27fill\x27:\x22none\x22,\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27stroke\x27:\x22currentColor\x22,\x27strokeWidth\x27:\x222\x22,\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22}],[]),uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M19.875 19.5H15V4.5H19.875C20.496 4.5 21 5.004 21 5.625V18.375C21 18.996 20.496 19.5 19.875 19.5Z\x22,\x27fill\x27:\x22currentColor\x22}],[])]);\ncljs_react_devtools.core.icon_dock_left \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27width\x27:(19),\x27height\x27:(19),\x27viewBox\x27:\x220 0 24 24\x22,\x27fill\x27:\x22none\x22,\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M9 4.5V19.5M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27stroke\x27:\x22currentColor\x22,\x27strokeWidth\x27:\x222\x22,\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22}],[]),uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M4.125 19.5H9V4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27fill\x27:\x22currentColor\x22}],[])]);\ncljs_react_devtools.core.icon_arrow_path \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x222\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(14),\x27height\x27:(14)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99\x22}],[])]);\ncljs_react_devtools.core.preview_ctx \x3d uix.core.create_context.cljs$core$IFn$_invoke$arity$0();\ncljs_react_devtools.core.has_non_primitive_children_QMARK_ \x3d (function cljs_react_devtools$core$has_non_primitive_children_QMARK_(node){\nvar children \x3d cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(node));\nreturn cljs.core.some((function (p1__92912_SHARP_){\nreturn (p1__92912_SHARP_.elementType \x3d\x3d null);\n}),children);\n});\ncljs_react_devtools.core.tree_view \x3d (function cljs_react_devtools$core$tree_view(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__92914 \x3d [clj_props__39592__auto__];\nvar map__92917 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92914,(0),null);\nvar map__92917__$1 \x3d cljs.core.__destructure_map(map__92917);\nvar node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92917__$1,new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198));\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92917__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92917__$1,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93265 \x3d cljs_react_devtools.core.tree_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93265)){\nvar f__39522__auto___93266 \x3d temp__5823__auto___93265;\n(f__39522__auto___93266.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93266.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93266.call(null, ));\n} else {\n}\n} else {\n}\n\nvar memo_QMARK_ \x3d cljs_react_devtools.core.memo_node_QMARK_(node);\nvar node__$1 \x3d (cljs.core.truth_(memo_QMARK_)?cljs_react_devtools.core.fiber__GT_child(node):node);\nvar el_type \x3d node__$1.elementType;\nvar vec__92918 \x3d uix.core.use_state(false);\nvar closed_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92918,(0),null);\nvar set_closed \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92918,(1),null);\nvar map__92921 \x3d state;\nvar map__92921__$1 \x3d cljs.core.__destructure_map(map__92921);\nvar hide_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92921__$1,new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793));\nvar selected \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92921__$1,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764));\nvar selected_QMARK_ \x3d cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(selected,node__$1);\nvar set_preview_node \x3d uix.core.use_context(cljs_react_devtools.core.preview_ctx);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nif(cljs.core.truth_((function (){var or__5045__auto__ \x3d (el_type \x3d\x3d null);\nif(or__5045__auto__){\nreturn or__5045__auto__;\n} else {\nvar and__5043__auto__ \x3d typeof el_type \x3d\x3d\x3d \x27string\x27;\nif(and__5043__auto__){\nreturn hide_dom_QMARK_;\n} else {\nreturn and__5043__auto__;\n}\n}\n})())){\nreturn cljs_react_devtools.core.render_children(node__$1,state,set_state);\n} else {\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x224px 0 4px 8px\x22}}],[(cljs.core.truth_(cljs_react_devtools.core.has_non_primitive_children_QMARK_(node__$1))?null:uix.compiler.aot._GT_el(\x22span\x22,[{\x27style\x27:{\x27margin\x27:\x220 4px 0 0\x22,\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22icon-chevron\x22,\x22icon-chevron\x22,-1823771456).cljs$core$IFn$_invoke$arity$1(colors)),\x27display\x27:\x22inline-block\x22,\x27transition\x27:\x22transform 100ms ease-in-out\x22,\x27transform\x27:uix.compiler.attributes.keyword__GT_string((cljs.core.truth_(closed_QMARK_)?\x22rotate(-90deg)\x22:\x22rotate(0deg)\x22))}}],[cljs_react_devtools.core.icon_chevron_down])),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22user-select\x22,\x22user-select\x22,-346451650),new cljs.core.Keyword(null,\x22none\x22,\x22none\x22,1333468478),new cljs.core.Keyword(null,\x22background\x22,\x22background\x22,-863952629),((selected_QMARK_)?new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851).cljs$core$IFn$_invoke$arity$1(colors):null)], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_preview_node.cljs$core$IFn$_invoke$arity$1 ? set_preview_node.cljs$core$IFn$_invoke$arity$1(node__$1) : set_preview_node.call(null, node__$1));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_preview_node.cljs$core$IFn$_invoke$arity$1 ? set_preview_node.cljs$core$IFn$_invoke$arity$1(null) : set_preview_node.call(null, null));\n}),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nvar G__92922_93272 \x3d cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),node__$1);\n(set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__92922_93272) : set_state.call(null, G__92922_93272));\n\nif(selected_QMARK_){\nreturn (set_closed.cljs$core$IFn$_invoke$arity$1 ? set_closed.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_closed.call(null, cljs.core.not));\n} else {\nreturn null;\n}\n})], null)],[cljs_react_devtools.core.node__GT_name(node__$1)]),(cljs.core.truth_(closed_QMARK_)?null:cljs_react_devtools.core.render_children(node__$1,state,set_state))]);\n\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__92923 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__92924 \x3d cljs_react_devtools.core.tree_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__92924);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__92923);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.tree_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.tree_view.displayName \x3d \x22cljs-react-devtools.core/tree-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.tree_view,\x22name\x22,(function (){var obj92926 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/tree-view\x22});\nreturn obj92926;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93276 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93276.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93276.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.tree_view,\x22(uix/use-state false)(uix/use-context preview-ctx)(uix/use-context theme)\x22,null,null) : sig__39531__auto___93276.call(null, cljs_react_devtools.core.tree_view,\x22(uix/use-state false)(uix/use-context preview-ctx)(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.tree_view,cljs_react_devtools.core.tree_view.displayName);\n\n(cljs_react_devtools.core.tree_view.fast_refresh_signature \x3d sig__39531__auto___93276);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.tree_view._source \x3d (function (){var obj92928 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:162});\nreturn obj92928;\n})());\n\ncljs_react_devtools.core.data_view_map \x3d (function cljs_react_devtools$core$data_view_map(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__92930 \x3d [clj_props__39592__auto__];\nvar map__92933 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92930,(0),null);\nvar map__92933__$1 \x3d cljs.core.__destructure_map(map__92933);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92933__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar tag \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92933__$1,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223));\nvar entries_fn \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__92933__$1,new cljs.core.Keyword(null,\x22entries-fn\x22,\x22entries-fn\x22,792747104),cljs.core.seq);\nvar key_fn \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__92933__$1,new cljs.core.Keyword(null,\x22key-fn\x22,\x22key-fn\x22,-636154479),cljs.core.identity);\nvar open_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92933__$1,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125));\nvar set_open \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92933__$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92933__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93279 \x3d cljs_react_devtools.core.data_view_map.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93279)){\nvar f__39522__auto___93280 \x3d temp__5823__auto___93279;\n(f__39522__auto___93280.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93280.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93280.call(null, ));\n} else {\n}\n} else {\n}\n\nvar entries \x3d (entries_fn.cljs$core$IFn$_invoke$arity$1 ? entries_fn.cljs$core$IFn$_invoke$arity$1(data) : entries_fn.call(null, data));\nif(cljs.core.seq(entries)){\nreturn cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__92934){\nvar vec__92935 \x3d p__92934;\nvar key \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92935,(0),null);\nvar val \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92935,(1),null);\nvar last_idx_QMARK_ \x3d cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(idx,(cljs.core.count(entries) - (1)));\nvar closing__$1 \x3d ((last_idx_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(\x22}\x22,[],false),[closing]):null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(key),\x27style\x27:{\x27display\x27:\x22flex\x22,\x27margin\x27:uix.compiler.attributes.keyword__GT_string(((last_idx_QMARK_)?null:\x220 0 4px 0\x22))}}],[(((idx \x3d\x3d\x3d (0)))?uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs([(cljs.core.truth_(tag)?[\x22#\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),\x22 \x22].join(\x27\x27):null),\x22{\x22].join(\x27\x27),[\x22span\x22,null,null,false],false),[]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),(key_fn.cljs$core$IFn$_invoke$arity$1 ? key_fn.cljs$core$IFn$_invoke$arity$1(key) : key_fn.call(null, key)),new cljs.core.Keyword(null,\x22key?\x22,\x22key?\x22,1224624682),true,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn (set_open.cljs$core$IFn$_invoke$arity$1 ? set_open.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_open.call(null, cljs.core.not));\n}),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22margin-right\x22,\x22margin-right\x22,809689658),(8),new cljs.core.Keyword(null,\x22margin-left\x22,\x22margin-left\x22,2015598377),(((idx \x3e (0)))?(cljs.core.truth_(tag)?(7.5 * ((3) + cljs.core.count(tag))):(6)):null)], null)], null)],[]),(cljs.core.truth_(open_QMARK_)?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing__$1], null)],[]):uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.closed_data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open], null)],[]),[],false),[closing__$1]))]);\n}),entries);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__92938 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__92939 \x3d cljs_react_devtools.core.data_view_map;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__92939);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__92938);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view_map.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view_map.displayName \x3d \x22cljs-react-devtools.core/data-view-map\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view_map,\x22name\x22,(function (){var obj92941 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view-map\x22});\nreturn obj92941;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93288 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93288.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93288.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_map,\x22\x22,null,null) : sig__39531__auto___93288.call(null, cljs_react_devtools.core.data_view_map,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_map,cljs_react_devtools.core.data_view_map.displayName);\n\n(cljs_react_devtools.core.data_view_map.fast_refresh_signature \x3d sig__39531__auto___93288);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.data_view_map._source \x3d (function (){var obj92943 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:200});\nreturn obj92943;\n})());\ncljs_react_devtools.core.data_view_seq \x3d (function cljs_react_devtools$core$data_view_seq(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__92945 \x3d [clj_props__39592__auto__];\nvar map__92948 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92945,(0),null);\nvar map__92948__$1 \x3d cljs.core.__destructure_map(map__92948);\nvar vec__92949 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92948__$1,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338));\nvar open \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92949,(0),null);\nvar close \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92949,(1),null);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92948__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar tag \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92948__$1,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92948__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar open_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92948__$1,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125));\nvar set_open \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92948__$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93289 \x3d cljs_react_devtools.core.data_view_seq.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93289)){\nvar f__39522__auto___93290 \x3d temp__5823__auto___93289;\n(f__39522__auto___93290.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93290.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93290.call(null, ));\n} else {\n}\n} else {\n}\n\nif(cljs.core.empty_QMARK_(data)){\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(open,[],false),[close,closing]);\n} else {\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22}}],[cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,val){\nvar last_idx_QMARK_ \x3d cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(idx,(cljs.core.count(data) - (1)));\nvar closing__$1 \x3d ((last_idx_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(close,[],false),[closing]):null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27display\x27:\x22flex\x22}}],[(((idx \x3d\x3d\x3d (0)))?uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs([(cljs.core.truth_(tag)?[\x22#\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),\x22 \x22].join(\x27\x27):null),cljs.core.str.cljs$core$IFn$_invoke$arity$1(open)].join(\x27\x27),[\x22span\x22,null,null,false],false),[]):null),(cljs.core.truth_(open_QMARK_)?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),(((idx \x3d\x3d\x3d (0)))?new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null):null),new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing__$1], null)],[]):uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.closed_data_view,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),((last_idx_QMARK_)?null:new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin-right\x22,\x22margin-right\x22,809689658),(8)], null))], null)],[]),[],false),[closing__$1]))]);\n}),data)]);\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__92952 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__92953 \x3d cljs_react_devtools.core.data_view_seq;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__92953);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__92952);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view_seq.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view_seq.displayName \x3d \x22cljs-react-devtools.core/data-view-seq\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view_seq,\x22name\x22,(function (){var obj92955 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view-seq\x22});\nreturn obj92955;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93297 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93297.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93297.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_seq,\x22\x22,null,null) : sig__39531__auto___93297.call(null, cljs_react_devtools.core.data_view_seq,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_seq,cljs_react_devtools.core.data_view_seq.displayName);\n\n(cljs_react_devtools.core.data_view_seq.fast_refresh_signature \x3d sig__39531__auto___93297);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.data_view_seq._source \x3d (function (){var obj92957 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:236});\nreturn obj92957;\n})());\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.hint_ctx !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.hint_ctx \x3d uix.core.create_context.cljs$core$IFn$_invoke$arity$0();\n}\ncljs_react_devtools.core.fmt_fn \x3d (function cljs_react_devtools$core$fmt_fn(data){\nreturn [\x22fn\x3c\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(((clojure.string.blank_QMARK_(data.name))?\x22anonymous\x22:((clojure.string.includes_QMARK_(data.name,\x22$\x22))?(function (){var parts \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge(data.name),\x22/\x22);\nvar name \x3d cljs.core.last(parts);\nvar ns \x3d clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22.\x22,cljs.core.butlast(parts));\nreturn [ns,\x22/\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(\x27\x27);\n})():data.name\n))),\x22\x3e\x22].join(\x27\x27);\n});\ncljs_react_devtools.core.data_view_primitive \x3d (function cljs_react_devtools$core$data_view_primitive(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__92959 \x3d [clj_props__39592__auto__];\nvar map__92962 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92959,(0),null);\nvar map__92962__$1 \x3d cljs.core.__destructure_map(map__92962);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92962__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar data_raw \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92962__$1,new cljs.core.Keyword(null,\x22data-raw\x22,\x22data-raw\x22,822066711));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92962__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92962__$1,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93303 \x3d cljs_react_devtools.core.data_view_primitive.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93303)){\nvar f__39522__auto___93304 \x3d temp__5823__auto___93303;\n(f__39522__auto___93304.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93304.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93304.call(null, ));\n} else {\n}\n} else {\n}\n\nvar data__$1 \x3d (function (){var or__5045__auto__ \x3d data_raw;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([data], 0));\n}\n})();\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el(\x22span\x22,[{\x27title\x27:uix.compiler.attributes.keyword__GT_string(data__$1),\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(color),\x27maxWidth\x27:(180),\x27display\x27:\x22inline-block\x22,\x27overflow\x27:\x22hidden\x22,\x27textOverflow\x27:\x22ellipsis\x22}}],[data__$1]),[],false),[closing]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__92963 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__92964 \x3d cljs_react_devtools.core.data_view_primitive;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__92964);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__92963);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view_primitive.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view_primitive.displayName \x3d \x22cljs-react-devtools.core/data-view-primitive\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view_primitive,\x22name\x22,(function (){var obj92966 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view-primitive\x22});\nreturn obj92966;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93307 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93307.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93307.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_primitive,\x22\x22,null,null) : sig__39531__auto___93307.call(null, cljs_react_devtools.core.data_view_primitive,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_primitive,cljs_react_devtools.core.data_view_primitive.displayName);\n\n(cljs_react_devtools.core.data_view_primitive.fast_refresh_signature \x3d sig__39531__auto___93307);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.data_view_primitive._source \x3d (function (){var obj92968 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:284});\nreturn obj92968;\n})());\ncljs_react_devtools.core.atomic_data_view \x3d (function cljs_react_devtools$core$atomic_data_view(p__92969){\nvar map__92970 \x3d p__92969;\nvar map__92970__$1 \x3d cljs.core.__destructure_map(map__92970);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92970__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar colors \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92970__$1,new cljs.core.Keyword(null,\x22colors\x22,\x22colors\x22,1157174732));\nif(typeof data \x3d\x3d\x3d \x27number\x27){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif((data \x3d\x3d null)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(cljs.core.boolean_QMARK_(data)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(typeof data \x3d\x3d\x3d \x27string\x27){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(cljs.core.uuid_QMARK_(data)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif((data instanceof cljs.core.Keyword)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-keyword\x22,\x22data-view-keyword\x22,-1300167945).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(cljs.core.fn_QMARK_(data)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data-raw\x22,\x22data-raw\x22,822066711),cljs_react_devtools.core.fmt_fn(data),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nreturn null;\n}\n}\n}\n}\n}\n}\n}\n});\ncljs_react_devtools.core.constructor$ \x3d (function cljs_react_devtools$core$constructor(o){\nvar G__92971 \x3d o;\nif((G__92971 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__92971.constructor;\n}\n});\ncljs_react_devtools.core.atomic_QMARK_ \x3d cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic(cljs.core.number_QMARK_,cljs.core.nil_QMARK_,cljs.core.boolean_QMARK_,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.string_QMARK_,cljs.core.uuid_QMARK_,cljs.core.keyword_QMARK_,cljs.core.fn_QMARK_], 0));\ncljs_react_devtools.core.closed_data_view \x3d (function cljs_react_devtools$core$closed_data_view(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__92974 \x3d [clj_props__39592__auto__];\nvar map__92977 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92974,(0),null);\nvar map__92977__$1 \x3d cljs.core.__destructure_map(map__92977);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92977__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar style \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92977__$1,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736));\nvar key_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92977__$1,new cljs.core.Keyword(null,\x22key?\x22,\x22key?\x22,1224624682));\nvar set_open \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92977__$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93317 \x3d cljs_react_devtools.core.closed_data_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93317)){\nvar f__39522__auto___93318 \x3d temp__5823__auto___93317;\n(f__39522__auto___93318.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93318.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93318.call(null, ));\n} else {\n}\n} else {\n}\n\nvar set_active \x3d uix.core.use_context(cljs_react_devtools.core.hint_ctx);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22pre\x22,[{\x27style\x27:uix.compiler.attributes.convert_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0),new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346),\x2212px\x22], null),style], 0)),[],true),\x27onMouseEnter\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27onMouseLeave\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),\x27onClick\x27:(function (p1__92972_SHARP_){\nif(cljs.core.truth_(cljs_react_devtools.core.atomic_QMARK_(data))){\n} else {\n(set_open.cljs$core$IFn$_invoke$arity$1 ? set_open.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_open.call(null, cljs.core.not));\n}\n\nif(cljs.core.truth_(key_QMARK_)){\nreturn null;\n} else {\np1__92972_SHARP_.stopPropagation();\n\nreturn console.dir(data);\n}\n})}],[((cljs.core.map_QMARK_(data))?((cljs.core.seq(data))?\x22{...}\x22:\x22{}\x22):((cljs.core.vector_QMARK_(data))?((cljs.core.seq(data))?\x22[...]\x22:\x22[]\x22):((cljs.core.set_QMARK_(data))?((cljs.core.seq(data))?\x22#{...}\x22:\x22#{}\x22):((cljs.core.seq_QMARK_(data))?((cljs.core.seq(data))?\x22(...)\x22:\x22()\x22):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,cljs_react_devtools.core.constructor$(data)))?(((Object.keys(data).length \x3e (0)))?\x22#js {...}\x22:\x22#js {}\x22):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Array,cljs_react_devtools.core.constructor$(data)))?(((data.length \x3e (0)))?\x22#js [...]\x22:\x22#js []\x22):(function (){var or__5045__auto__ \x3d cljs_react_devtools.core.atomic_data_view(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22colors\x22,\x22colors\x22,1157174732),colors], null));\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn \x22...\x22;\n}\n})()\n))))))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__92978 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__92979 \x3d cljs_react_devtools.core.closed_data_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__92979);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__92978);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.closed_data_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.closed_data_view.displayName \x3d \x22cljs-react-devtools.core/closed-data-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.closed_data_view,\x22name\x22,(function (){var obj92981 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/closed-data-view\x22});\nreturn obj92981;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93323 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93323.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93323.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.closed_data_view,\x22(uix/use-context hint-ctx)(uix/use-context theme)\x22,null,null) : sig__39531__auto___93323.call(null, cljs_react_devtools.core.closed_data_view,\x22(uix/use-context hint-ctx)(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.closed_data_view,cljs_react_devtools.core.closed_data_view.displayName);\n\n(cljs_react_devtools.core.closed_data_view.fast_refresh_signature \x3d sig__39531__auto___93323);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.closed_data_view._source \x3d (function (){var obj92983 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:311});\nreturn obj92983;\n})());\ncljs_react_devtools.core.data_view92984 \x3d (function cljs_react_devtools$core$data_view92984(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__92985 \x3d [clj_props__39592__auto__];\nvar map__92988 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92985,(0),null);\nvar map__92988__$1 \x3d cljs.core.__destructure_map(map__92988);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92988__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar style \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92988__$1,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736));\nvar key_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92988__$1,new cljs.core.Keyword(null,\x22key?\x22,\x22key?\x22,1224624682));\nvar on_click \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92988__$1,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543));\nvar open_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92988__$1,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__92988__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93327 \x3d cljs_react_devtools.core.data_view92984.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93327)){\nvar f__39522__auto___93328 \x3d temp__5823__auto___93327;\n(f__39522__auto___93328.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93328.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93328.call(null, ));\n} else {\n}\n} else {\n}\n\nvar set_active \x3d uix.core.use_context(cljs_react_devtools.core.hint_ctx);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nvar vec__92989 \x3d uix.core.use_state(open_QMARK_);\nvar open_QMARK___$1 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92989,(0),null);\nvar set_open \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__92989,(1),null);\nreturn uix.compiler.aot._GT_el(\x22pre\x22,[{\x27style\x27:uix.compiler.attributes.convert_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0),new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346),\x2212px\x22], null),style], 0)),[],true),\x27onMouseEnter\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27onMouseLeave\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),\x27onClick\x27:(function (e){\nif(cljs.core.truth_(on_click)){\n(on_click.cljs$core$IFn$_invoke$arity$0 ? on_click.cljs$core$IFn$_invoke$arity$0() : on_click.call(null, ));\n} else {\n}\n\nif(cljs.core.truth_(key_QMARK_)){\nreturn null;\n} else {\ne.stopPropagation();\n\nreturn console.dir(data);\n}\n})}],[((cljs.core.map_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_map,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core.vector_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22[\x22,\x22]\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core.set_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22#{\x22,\x22}\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core.seq_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22(\x22,\x22)\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,cljs_react_devtools.core.constructor$(data)))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_map,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),\x22js\x22,new cljs.core.Keyword(null,\x22entries-fn\x22,\x22entries-fn\x22,792747104),Object.entries,new cljs.core.Keyword(null,\x22key-fn\x22,\x22key-fn\x22,-636154479),cljs.core.keyword,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Array,cljs_react_devtools.core.constructor$(data)))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),\x22js\x22,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22[\x22,\x22]\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):(function (){var or__5045__auto__ \x3d cljs_react_devtools.core.atomic_data_view(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22colors\x22,\x22colors\x22,1157174732),colors], null));\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([data], 0)),[],false),[closing]);\n}\n})()\n))))))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__92992 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__92993 \x3d cljs_react_devtools.core.data_view92984;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__92993);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__92992);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view92984.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view92984.displayName \x3d \x22cljs-react-devtools.core/data-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view92984,\x22name\x22,(function (){var obj92995 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view\x22});\nreturn obj92995;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93339 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93339.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93339.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view92984,\x22(uix/use-context hint-ctx)(uix/use-context theme)(uix/use-state open?)\x22,null,null) : sig__39531__auto___93339.call(null, cljs_react_devtools.core.data_view92984,\x22(uix/use-context hint-ctx)(uix/use-context theme)(uix/use-state open?)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view92984,cljs_react_devtools.core.data_view92984.displayName);\n\n(cljs_react_devtools.core.data_view92984.fast_refresh_signature \x3d sig__39531__auto___93339);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.data_view \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.data_view92984);\n\n(cljs_react_devtools.core.data_view._source \x3d (function (){var obj92997 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:342});\nreturn obj92997;\n})());\ncljs_react_devtools.core.node__GT_props \x3d (function cljs_react_devtools$core$node__GT_props(node){\nvar el_type \x3d node.elementType;\nif(typeof el_type \x3d\x3d\x3d \x27string\x27){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),node.memoizedProps,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n} else {\nif(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),(function (){var props \x3d cljs.core.rest((function (){var G__92998 \x3d node;\nvar G__92998__$1 \x3d (((G__92998 \x3d\x3d null))?null:G__92998.memoizedProps);\nif((G__92998__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__92998__$1.argv;\n}\n})());\nif(cljs.core.seq(props)){\nreturn cljs.core.vec(props);\n} else {\nreturn null;\n}\n})(),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n} else {\nif(cljs.core.truth_(cljs_react_devtools.core.uix_node_QMARK_(node))){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),node.memoizedProps.argv,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n} else {\nreturn null;\n}\n}\n}\n});\ncljs_react_devtools.core.node__GT_hooks \x3d (function cljs_react_devtools$core$node__GT_hooks(mem_state){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d mem_state;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn (!((mem_state.memoizedState \x3d\x3d null)));\n} else {\nreturn and__5043__auto__;\n}\n})())){\nreturn (new cljs.core.LazySeq(null,(function (){\nreturn cljs.core.cons(mem_state.memoizedState,(cljs.core.truth_(mem_state.next)?(function (){var G__92999 \x3d mem_state.next;\nreturn (cljs_react_devtools.core.node__GT_hooks.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.node__GT_hooks.cljs$core$IFn$_invoke$arity$1(G__92999) : cljs_react_devtools.core.node__GT_hooks.call(null, G__92999));\n})():null));\n}),null,null));\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.node__GT_captured_state \x3d (function cljs_react_devtools$core$node__GT_captured_state(node){\nvar G__93000 \x3d node;\nvar G__93000__$1 \x3d (((G__93000 \x3d\x3d null))?null:G__93000.stateNode);\nvar G__93000__$2 \x3d (((G__93000__$1 \x3d\x3d null))?null:G__93000__$1.cljsRatom);\nif((G__93000__$2 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__93000__$2.captured;\n}\n});\ncljs_react_devtools.core.rf_sub \x3d (function cljs_react_devtools$core$rf_sub(node){\nreturn node.__devtools_label;\n});\ncljs_react_devtools.core.node__GT_rf_subs \x3d (function cljs_react_devtools$core$node__GT_rf_subs(node){\nreturn cljs.core.keep.cljs$core$IFn$_invoke$arity$2((function (p1__93001_SHARP_){\nvar temp__5823__auto__ \x3d cljs_react_devtools.core.rf_sub(p1__93001_SHARP_);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar label \x3d temp__5823__auto__;\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),label,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]),p1__93001_SHARP_], null);\n} else {\nreturn null;\n}\n}),cljs_react_devtools.core.node__GT_captured_state(node));\n});\ncljs_react_devtools.core.node__GT_reactions \x3d (function cljs_react_devtools$core$node__GT_reactions(node){\nreturn cljs.core.keep.cljs$core$IFn$_invoke$arity$2((function (p1__93002_SHARP_){\nif(((cljs.core.not((function (){var G__93003 \x3d p1__93002_SHARP_;\nvar G__93003__$1 \x3d (((G__93003 \x3d\x3d null))?null:G__93003.state);\nif((G__93003__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__93003__$1.generation;\n}\n})())) \x26\x26 (cljs.core.not(cljs_react_devtools.core.rf_sub(p1__93002_SHARP_))))){\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22ratom\x22,p1__93002_SHARP_], null);\n} else {\nreturn null;\n}\n}),cljs_react_devtools.core.node__GT_captured_state(node));\n});\ncljs_react_devtools.core.camel_case__GT_kebab_case \x3d (function cljs_react_devtools$core$camel_case__GT_kebab_case(s){\nreturn clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22-\x22,cljs.core.map.cljs$core$IFn$_invoke$arity$2(clojure.string.lower_case,clojure.string.split.cljs$core$IFn$_invoke$arity$2(s,/(?\x3c\x3d[a-z])(?\x3d[A-Z])/)));\n});\ncljs_react_devtools.core.section_header \x3d (function cljs_react_devtools$core$section_header(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93005 \x3d [clj_props__39592__auto__];\nvar map__93008 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93005,(0),null);\nvar map__93008__$1 \x3d cljs.core.__destructure_map(map__93008);\nvar children \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93008__$1,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93349 \x3d cljs_react_devtools.core.section_header.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93349)){\nvar f__39522__auto___93350 \x3d temp__5823__auto___93349;\n(f__39522__auto___93350.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93350.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93350.call(null, ));\n} else {\n}\n} else {\n}\n\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors)),\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851).cljs$core$IFn$_invoke$arity$1(colors)),\x27margin\x27:\x220 0 4px 0\x22,\x27padding\x27:\x220 4px\x22}}],[children]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93009 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93010 \x3d cljs_react_devtools.core.section_header;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93010);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93009);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.section_header.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.section_header.displayName \x3d \x22cljs-react-devtools.core/section-header\x22);\n\nObject.defineProperty(cljs_react_devtools.core.section_header,\x22name\x22,(function (){var obj93012 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/section-header\x22});\nreturn obj93012;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93353 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93353.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93353.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.section_header,\x22(uix/use-context theme)\x22,null,null) : sig__39531__auto___93353.call(null, cljs_react_devtools.core.section_header,\x22(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.section_header,cljs_react_devtools.core.section_header.displayName);\n\n(cljs_react_devtools.core.section_header.fast_refresh_signature \x3d sig__39531__auto___93353);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.section_header._source \x3d (function (){var obj93014 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:422});\nreturn obj93014;\n})());\ncljs_react_devtools.core.editable_ref \x3d (function cljs_react_devtools$core$editable_ref(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93017 \x3d [clj_props__39592__auto__];\nvar map__93020 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93017,(0),null);\nvar map__93020__$1 \x3d cljs.core.__destructure_map(map__93020);\nvar ref \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93020__$1,new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93020__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar label \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93020__$1,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804));\nvar type \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93020__$1,new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93355 \x3d cljs_react_devtools.core.editable_ref.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93355)){\nvar f__39522__auto___93356 \x3d temp__5823__auto___93355;\n(f__39522__auto___93356.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93356.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93356.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__93021 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93021,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93021,(1),null);\nvar value \x3d ref.state;\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27onDoubleClick\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27onMouseEnter\x27:(cljs.core.truth_(active_QMARK_)?null:(function (p1__93015_SHARP_){\nvar G__93024_93361 \x3d [\x22double click on the value to update the \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(label)].join(\x27\x27);\n(set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(G__93024_93361) : set_hint.call(null, G__93024_93361));\n\nreturn p1__93015_SHARP_.stopPropagation();\n})),\x27onMouseLeave\x27:(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n})}],[(cljs.core.truth_(active_QMARK_)?uix.compiler.aot.create_uix_input(\x22input\x22,[{\x27defaultValue\x27:uix.compiler.attributes.keyword__GT_string(value),\x27type\x27:((typeof value \x3d\x3d\x3d \x27number\x27)?new cljs.core.Keyword(null,\x22number\x22,\x22number\x22,1570378438):new cljs.core.Keyword(null,\x22text\x22,\x22text\x22,-1790561697)),\x27autoFocus\x27:true,\x27onBlur\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),\x27onKeyDown\x27:(function (e){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(e.key,\x22Enter\x22)){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22sub\x22,\x22sub\x22,-2093760025),type)){\n(ref.on_set \x3d cljs.core.identity);\n} else {\n}\n\nif(typeof value \x3d\x3d\x3d \x27number\x27){\ncljs.core.reset_BANG_(ref,parseFloat(e.target.value,(10)));\n} else {\ncljs.core.reset_BANG_(ref,e.target.value);\n}\n\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22sub\x22,\x22sub\x22,-2093760025),type)){\n(ref.on_set \x3d undefined);\n} else {\n}\n\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n} else {\nreturn null;\n}\n})}],[]):uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),value,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93025 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93026 \x3d cljs_react_devtools.core.editable_ref;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93026);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93025);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.editable_ref.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.editable_ref.displayName \x3d \x22cljs-react-devtools.core/editable-ref\x22);\n\nObject.defineProperty(cljs_react_devtools.core.editable_ref,\x22name\x22,(function (){var obj93028 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/editable-ref\x22});\nreturn obj93028;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93365 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93365.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93365.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.editable_ref,\x22(uix/use-state false)\x22,null,null) : sig__39531__auto___93365.call(null, cljs_react_devtools.core.editable_ref,\x22(uix/use-state false)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.editable_ref,cljs_react_devtools.core.editable_ref.displayName);\n\n(cljs_react_devtools.core.editable_ref.fast_refresh_signature \x3d sig__39531__auto___93365);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.editable_ref._source \x3d (function (){var obj93030 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:431});\nreturn obj93030;\n})());\ncljs_react_devtools.core.reactions_view \x3d (function cljs_react_devtools$core$reactions_view(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93032 \x3d [clj_props__39592__auto__];\nvar map__93035 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93032,(0),null);\nvar map__93035__$1 \x3d cljs.core.__destructure_map(map__93035);\nvar node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93035__$1,new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93035__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93368 \x3d cljs_react_devtools.core.reactions_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93368)){\nvar f__39522__auto___93369 \x3d temp__5823__auto___93368;\n(f__39522__auto___93369.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93369.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93369.call(null, ));\n} else {\n}\n} else {\n}\n\nvar reactions \x3d cljs_react_devtools.core.node__GT_reactions(node);\nvar subs \x3d cljs_react_devtools.core.node__GT_rf_subs(node);\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(((cljs.core.seq(reactions))?uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22reactions\x22),[]),cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__93036){\nvar vec__93037 \x3d p__93036;\nvar type \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93037,(0),null);\nvar reaction \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93037,(1),null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(type,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.editable_ref,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967),reaction,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),\x22reaction\x22], null)],[])])]);\n}),reactions)]):null),[],false),[((cljs.core.seq(subs))?uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22re-frame subscriptions\x22),[]),cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__93040){\nvar vec__93041 \x3d p__93040;\nvar type \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93041,(0),null);\nvar sub \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93041,(1),null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(type,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.editable_ref,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967),sub,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),\x22subscription\x22,new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22sub\x22,\x22sub\x22,-2093760025)], null)],[])])]);\n}),subs)]):null)]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93044 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93045 \x3d cljs_react_devtools.core.reactions_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93045);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93044);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.reactions_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.reactions_view.displayName \x3d \x22cljs-react-devtools.core/reactions-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.reactions_view,\x22name\x22,(function (){var obj93047 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/reactions-view\x22});\nreturn obj93047;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93379 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93379.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93379.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.reactions_view,\x22\x22,null,null) : sig__39531__auto___93379.call(null, cljs_react_devtools.core.reactions_view,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.reactions_view,cljs_react_devtools.core.reactions_view.displayName);\n\n(cljs_react_devtools.core.reactions_view.fast_refresh_signature \x3d sig__39531__auto___93379);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.reactions_view._source \x3d (function (){var obj93049 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:460});\nreturn obj93049;\n})());\ncljs_react_devtools.core.hooks_view \x3d (function cljs_react_devtools$core$hooks_view(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93051 \x3d [clj_props__39592__auto__];\nvar map__93054 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93051,(0),null);\nvar map__93054__$1 \x3d cljs.core.__destructure_map(map__93054);\nvar node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93054__$1,new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93380 \x3d cljs_react_devtools.core.hooks_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93380)){\nvar f__39522__auto___93381 \x3d temp__5823__auto___93380;\n(f__39522__auto___93381.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93381.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93381.call(null, ));\n} else {\n}\n} else {\n}\n\nvar hooks \x3d cljs_react_devtools.core.node__GT_hooks(node.memoizedState);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nif(cljs.core.seq(hooks)){\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22hooks\x22),[]),cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,hook){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d Array.isArray(hook);\nif(cljs.core.truth_(and__5043__auto__)){\nvar and__5043__auto____$1 \x3d Array.isArray((hook[(1)]));\nif(cljs.core.truth_(and__5043__auto____$1)){\nreturn ((cljs.core.fn_QMARK_(((hook[(1)])[(0)]))) \x26\x26 (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(\x22bound dispatchSetState\x22,((hook[(1)])[(0)]).name)));\n} else {\nreturn and__5043__auto____$1;\n}\n} else {\nreturn and__5043__auto__;\n}\n})())){\nreturn null;\n} else {\nvar name \x3d cljs_react_devtools.core.camel_case__GT_kebab_case((node._debugHookTypes[idx]));\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27margin\x27:\x228px 0\x22}}],[uix.compiler.aot._GT_el(\x22span\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors))}}],[name]),(function (){var G__93055 \x3d name;\nswitch (G__93055) {\ncase \x22use-callback\x22:\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22callback:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),(hook[(0)]),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])]),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22deps:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),cljs.core.vec((hook[(1)])),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])])]);\n\nbreak;\ncase \x22use-effect\x22:\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22effect:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),hook.create,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])]),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22deps:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),cljs.core.vec(hook.deps),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])])]);\n\nbreak;\ncase \x22use-ref\x22:\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),hook.current.current,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n\nbreak;\ndefault:\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),hook,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n\n}\n})()]);\n}\n}),hooks)]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93056 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93057 \x3d cljs_react_devtools.core.hooks_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93057);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93056);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.hooks_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.hooks_view.displayName \x3d \x22cljs-react-devtools.core/hooks-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.hooks_view,\x22name\x22,(function (){var obj93059 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/hooks-view\x22});\nreturn obj93059;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93392 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93392.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93392.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.hooks_view,\x22(uix/use-context theme)\x22,null,null) : sig__39531__auto___93392.call(null, cljs_react_devtools.core.hooks_view,\x22(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.hooks_view,cljs_react_devtools.core.hooks_view.displayName);\n\n(cljs_react_devtools.core.hooks_view.fast_refresh_signature \x3d sig__39531__auto___93392);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.hooks_view._source \x3d (function (){var obj93061 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:508});\nreturn obj93061;\n})());\ncljs_react_devtools.core.use_resize_handler \x3d (function cljs_react_devtools$core$use_resize_handler(p__93063){\nvar map__93064 \x3d p__93063;\nvar map__93064__$1 \x3d cljs.core.__destructure_map(map__93064);\nvar set_size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93064__$1,new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587));\nvar dir \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93064__$1,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661));\nvar max \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__93064__$1,new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548),(100));\nvar min \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__93064__$1,new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522),(0));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93064__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar vec__93065 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93065,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93065,(1),null);\nvar ref \x3d uix.core.use_ref.cljs$core$IFn$_invoke$arity$0();\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(active_QMARK_)){\nvar move_handler \x3d (function (e){\nvar node \x3d cljs.core.deref(ref);\nvar bb \x3d node.getBoundingClientRect();\nvar v \x3d (((100) / ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?window.innerHeight:window.innerWidth)) * ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?(bb.y - e.y):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?(e.x - (bb.x + bb.width)):(bb.x - e.x)\n)));\nvar G__93069 \x3d (function (p1__93062_SHARP_){\nvar v__$1 \x3d (p1__93062_SHARP_ + v);\nif((((max \x3e\x3d v__$1)) \x26\x26 ((v__$1 \x3e\x3d min)))){\nreturn v__$1;\n} else {\nreturn p1__93062_SHARP_;\n}\n});\nreturn (set_size.cljs$core$IFn$_invoke$arity$1 ? set_size.cljs$core$IFn$_invoke$arity$1(G__93069) : set_size.call(null, G__93069));\n});\nvar up_handler \x3d (function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n});\ndocument.addEventListener(\x22mousemove\x22,move_handler);\n\ndocument.addEventListener(\x22mouseup\x22,up_handler);\n\nreturn (function (){\ndocument.removeEventListener(\x22mousemove\x22,move_handler);\n\nreturn document.removeEventListener(\x22mouseup\x22,up_handler);\n});\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [active_QMARK_,set_size,dir,max,min,location__$1], null))]);\n\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [ref,set_active], null);\n});\ncljs_react_devtools.core.resize_handle \x3d (function cljs_react_devtools$core$resize_handle(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93071 \x3d [clj_props__39592__auto__];\nvar map__93074 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93071,(0),null);\nvar map__93074__$1 \x3d cljs.core.__destructure_map(map__93074);\nvar props \x3d map__93074__$1;\nvar set_size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93074__$1,new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587));\nvar dir \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93074__$1,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661));\nvar max \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93074__$1,new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548));\nvar min \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93074__$1,new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93074__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93402 \x3d cljs_react_devtools.core.resize_handle.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93402)){\nvar f__39522__auto___93403 \x3d temp__5823__auto___93402;\n(f__39522__auto___93403.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93403.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93403.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__93075 \x3d cljs_react_devtools.core.use_resize_handler(props);\nvar ref \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93075,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93075,(1),null);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27ref\x27:uix.compiler.attributes.keyword__GT_string(ref),\x27onMouseDown\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27style\x27:{\x27height\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?\x224px\x22:\x22100%\x22)),\x27width\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?\x22100%\x22:\x224px\x22)),\x27position\x27:\x22absolute\x22,\x27left\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?(0):null)),\x27right\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?(0):null)),\x27top\x27:(0),\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22resize-handle\x22,\x22resize-handle\x22,542557491).cljs$core$IFn$_invoke$arity$1(colors)),\x27cursor\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?new cljs.core.Keyword(null,\x22ns-resize\x22,\x22ns-resize\x22,956566071):new cljs.core.Keyword(null,\x22ew-resize\x22,\x22ew-resize\x22,2045777767)))}}],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93078 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93079 \x3d cljs_react_devtools.core.resize_handle;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93079);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93078);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.resize_handle.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.resize_handle.displayName \x3d \x22cljs-react-devtools.core/resize-handle\x22);\n\nObject.defineProperty(cljs_react_devtools.core.resize_handle,\x22name\x22,(function (){var obj93081 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/resize-handle\x22});\nreturn obj93081;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93408 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93408.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93408.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.resize_handle,\x22(use-resize-handler props)(uix/use-context theme)\x22,null,null) : sig__39531__auto___93408.call(null, cljs_react_devtools.core.resize_handle,\x22(use-resize-handler props)(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.resize_handle,cljs_react_devtools.core.resize_handle.displayName);\n\n(cljs_react_devtools.core.resize_handle.fast_refresh_signature \x3d sig__39531__auto___93408);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.resize_handle._source \x3d (function (){var obj93083 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:583});\nreturn obj93083;\n})());\ncljs_react_devtools.core.use_size \x3d (function cljs_react_devtools$core$use_size(v,k){\nvar vec__93085 \x3d uix.core.use_state((function (){\nvar temp__5821__auto__ \x3d localStorage.getItem(cljs.core.str.cljs$core$IFn$_invoke$arity$1(k));\nif(cljs.core.truth_(temp__5821__auto__)){\nvar n \x3d temp__5821__auto__;\nvar n__$1 \x3d parseFloat(n,(10));\nif(cljs.core.truth_(Number.isNaN(n__$1))){\nreturn v;\n} else {\nreturn n__$1;\n}\n} else {\nreturn v;\n}\n}));\nvar size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93085,(0),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93085,(1),null);\nvar f \x3d uix.hooks.alpha.use_memo((function (){\nreturn goog.functions.debounce((function (p1__93084_SHARP_){\nreturn localStorage.setItem(cljs.core.str.cljs$core$IFn$_invoke$arity$1(k),p1__93084_SHARP_);\n}),(100));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [k], null))]);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nreturn (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(size) : f.call(null, size));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [size,f], null))]);\n\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [size,set_size], null);\n});\ncljs_react_devtools.core.inspector \x3d (function cljs_react_devtools$core$inspector(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93089 \x3d [clj_props__39592__auto__];\nvar map__93092 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93089,(0),null);\nvar map__93092__$1 \x3d cljs.core.__destructure_map(map__93092);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93092__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93092__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93092__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93412 \x3d cljs_react_devtools.core.inspector.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93412)){\nvar f__39522__auto___93413 \x3d temp__5823__auto___93412;\n(f__39522__auto___93413.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93413.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93413.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__93093 \x3d state;\nvar map__93093__$1 \x3d cljs.core.__destructure_map(map__93093);\nvar selected \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93093__$1,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764));\nvar vec__93094 \x3d cljs_react_devtools.core.use_size((35),new cljs.core.Keyword(\x22cljs-devtools-inspector\x22,\x22ui-size\x22,\x22cljs-devtools-inspector/ui-size\x22,-1292295346));\nvar size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93094,(0),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93094,(1),null);\nvar vec__93097 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93097,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93097,(1),null);\nvar horizontal_QMARK_ \x3d cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null),location__$1);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(active_QMARK_)){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22click on the value to log it to console\x22) : set_hint.call(null, \x22click on the value to log it to console\x22));\n} else {\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22\x22) : set_hint.call(null, \x22\x22));\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [active_QMARK_,set_hint], null))]);\n\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27borderTop\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?null:\x221px solid #8632ff75\x22)),\x27width\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22%\x22].join(\x27\x27):\x22100%\x22)),\x27flexDirection\x27:\x22column\x22,\x27padding\x27:\x220 8px 32px\x22,\x27borderLeft\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?\x221px solid #8632ff75\x22:null)),\x27display\x27:\x22flex\x22,\x27position\x27:\x22relative\x22,\x27boxSizing\x27:\x22border-box\x22,\x27height\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?null:[cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22vh\x22].join(\x27\x27)))}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.resize_handle,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587),set_size,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661),((horizontal_QMARK_)?new cljs.core.Keyword(null,\x22horizontal\x22,\x22horizontal\x22,2062109475):new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)),new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548),(50),new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522),(20)], null)],[]),(cljs.core.truth_(selected)?uix.compiler.alpha.component_element(cljs_react_devtools.core.hint_ctx.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),set_active], null)],[uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn console.log(selected.elementType);\n}),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x228px 0 0 0\x22,new cljs.core.Keyword(null,\x22display\x22,\x22display\x22,242065432),new cljs.core.Keyword(null,\x22block\x22,\x22block\x22,664686210),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors)], null)], null)],[cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic(selected,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22lib?\x22,\x22lib?\x22,-150324554),true,new cljs.core.Keyword(null,\x22file?\x22,\x22file?\x22,1755223728),true], 0))]),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22,\x27overflowY\x27:\x22auto\x22,\x27flex\x27:(1)}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22props\x22),[]),cljs_react_devtools.core.node__GT_props(selected),(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(selected))?uix.compiler.alpha.component_element(cljs_react_devtools.core.reactions_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),selected,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint], null)],[]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.hooks_view,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),selected], null)],[])])])]):null)]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93100 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93101 \x3d cljs_react_devtools.core.inspector;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93101);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93100);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.inspector.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.inspector.displayName \x3d \x22cljs-react-devtools.core/inspector\x22);\n\nObject.defineProperty(cljs_react_devtools.core.inspector,\x22name\x22,(function (){var obj93103 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/inspector\x22});\nreturn obj93103;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93439 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93439.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93439.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.inspector,\x22(use-size 35 :cljs-devtools-inspector/ui-size)(uix/use-state false)(uix/use-context theme)(uix/use-effect (fn [] (if active? (set-hint \\\x22click on the value to log it to console\\\x22) (set-hint \\\x22\\\x22))) [active? set-hint])\x22,null,null) : sig__39531__auto___93439.call(null, cljs_react_devtools.core.inspector,\x22(use-size 35 :cljs-devtools-inspector/ui-size)(uix/use-state false)(uix/use-context theme)(uix/use-effect (fn [] (if active? (set-hint \\\x22click on the value to log it to console\\\x22) (set-hint \\\x22\\\x22))) [active? set-hint])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.inspector,cljs_react_devtools.core.inspector.displayName);\n\n(cljs_react_devtools.core.inspector.fast_refresh_signature \x3d sig__39531__auto___93439);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.inspector._source \x3d (function (){var obj93105 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:612});\nreturn obj93105;\n})());\ncljs_react_devtools.core.error_boundary \x3d uix.core.create_error_boundary(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22derive-error-state\x22,\x22derive-error-state\x22,-1373095498),(function (error){\nreturn new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032),error], null);\n})], null),(function (p__93106,p__93107){\nvar vec__93108 \x3d p__93106;\nvar map__93111 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93108,(0),null);\nvar map__93111__$1 \x3d cljs.core.__destructure_map(map__93111);\nvar error \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93111__$1,new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032));\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93108,(1),null);\nvar map__93112 \x3d p__93107;\nvar map__93112__$1 \x3d cljs.core.__destructure_map(map__93112);\nvar children \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93112__$1,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982));\nif(cljs.core.truth_(error)){\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:\x22#ec681f\x22,\x27background\x27:\x22#faf0ec\x22,\x27flex\x27:(1),\x27flexDirection\x27:\x22column\x22,\x27justifyContent\x27:\x22center\x22,\x27gap\x27:(16),\x27display\x27:\x22flex\x22,\x27fontSize\x27:\x2216px\x22,\x27alignItems\x27:\x22center\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,uix.compiler.attributes.interpret_attrs(\x22Something went wrong\x22,[\x22div\x22,null,null,false],false),[]),uix.compiler.aot._GT_el(\x22div\x22,uix.compiler.attributes.interpret_attrs((((error instanceof Error))?error.message:error),[\x22div\x22,null,null,false],false),[]),uix.compiler.aot._GT_el(\x22a\x22,[{\x27href\x27:\x22https://github.com/roman01la/cljs-react-devtools\x22,\x27target\x27:\x22blank_\x22,\x27style\x27:{\x27background\x27:\x22#ff784b\x22,\x27color\x27:\x22#faf0ec\x22,\x27padding\x27:\x228px 12px\x22,\x27borderRadius\x27:\x223px\x22}}],[\x22report an issue\x22])]);\n} else {\nreturn children;\n}\n}));\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.window_settings !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.window_settings \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),(800),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),(400),new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961),(0),new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937),(0),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),(function (){var v \x3d localStorage.getItem(\x22:cljs-devtools/window-location\x22);\nif(clojure.string.blank_QMARK_(v)){\nreturn new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018);\n} else {\nreturn cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(v);\n}\n})()], null));\n}\ncljs_react_devtools.core.close_window \x3d (function cljs_react_devtools$core$close_window(location){\nif(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.popout_window))){\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.window_settings,cljs.core.assoc,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location);\n\nreturn cljs.core.deref(cljs_react_devtools.core.popout_window).close();\n} else {\nreturn (cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$2 ? cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location) : cljs_react_devtools.core.dock_devtools.call(null, new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location));\n}\n});\ncljs_react_devtools.core.toolbar \x3d (function cljs_react_devtools$core$toolbar(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93114 \x3d [clj_props__39592__auto__];\nvar map__93117 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93114,(0),null);\nvar map__93117__$1 \x3d cljs.core.__destructure_map(map__93117);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913));\nvar hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22hint\x22,\x22hint\x22,439639918));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar set_inspecting \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542));\nvar inspecting_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22inspecting?\x22,\x22inspecting?\x22,784834160));\nvar dock_devtools \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22dock-devtools\x22,\x22dock-devtools\x22,-2013730452));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93117__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93445 \x3d cljs_react_devtools.core.toolbar.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93445)){\nvar f__39522__auto___93446 \x3d temp__5823__auto___93445;\n(f__39522__auto___93446.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93446.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93446.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__93118 \x3d state;\nvar map__93118__$1 \x3d cljs.core.__destructure_map(map__93118);\nvar hide_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93118__$1,new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793));\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27padding\x27:\x224px 8px\x22,\x27borderBottom\x27:\x221px solid #8632ff75\x22,\x27fontSize\x27:\x2212px\x22,\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22,\x27gap\x27:(32)}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27onMouseEnter\x27:(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22toggle DOM nodes in the tree view\x22) : set_hint.call(null, \x22toggle DOM nodes in the tree view\x22));\n}),\x27onMouseLeave\x27:(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n})}],[uix.compiler.aot.create_uix_input(\x22input\x22,[{\x27id\x27:\x22cljs-devtools_hide-mo-nodes\x22,\x27type\x27:\x22checkbox\x22,\x27checked\x27:uix.compiler.attributes.keyword__GT_string(hide_dom_QMARK_),\x27onChange\x27:(function (){\nvar G__93119 \x3d cljs.core.update.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793),cljs.core.not);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__93119) : set_state.call(null, G__93119));\n}),\x27style\x27:{\x27margin\x27:\x220 4px 0 0\x22}}],[]),uix.compiler.aot._GT_el(\x22label\x22,[{\x27htmlFor\x27:\x22cljs-devtools_hide-mo-nodes\x22}],[\x22Hide DOM nodes\x22])]),uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27alignItems\x27:\x22center\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors)),\x27opacity\x27:uix.compiler.attributes.keyword__GT_string(((clojure.string.blank_QMARK_(hint))?(0):(1))),\x27transition\x27:\x22opacity 100ms ease-in-out\x22}}],[hint]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22background\x22,\x22background\x22,-863952629),(cljs.core.truth_(inspecting_QMARK_)?new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851).cljs$core$IFn$_invoke$arity$1(colors):null),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22select an element to inspect\x22) : set_hint.call(null, \x22select an element to inspect\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Select an element to inspect\x22,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn (set_inspecting.cljs$core$IFn$_invoke$arity$1 ? set_inspecting.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_inspecting.call(null, cljs.core.not));\n})], null)],[cljs_react_devtools.core.icon_cursor_rays]),((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),location__$1))?uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22undock into separate window\x22) : set_hint.call(null, \x22undock into separate window\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Undock into separate window\x22,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn (dock_devtools.cljs$core$IFn$_invoke$arity$2 ? dock_devtools.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534)) : dock_devtools.call(null, new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534)));\n})], null)],[cljs_react_devtools.core.icon_window]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22dock to bottom\x22) : set_hint.call(null, \x22dock to bottom\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Dock to bottom\x22,new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018)),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018));\n})], null)],[cljs_react_devtools.core.icon_dock_bottom]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22dock to the left\x22) : set_hint.call(null, \x22dock to the left\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Dock to the left\x22,new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937));\n})], null)],[cljs_react_devtools.core.icon_dock_left]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22dock to the right\x22) : set_hint.call(null, \x22dock to the right\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Dock to the right\x22,new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22right\x22,\x22right\x22,-452581833)),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,\x22right\x22,\x22right\x22,-452581833));\n})], null)],[cljs_react_devtools.core.icon_dock_right])])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93120 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93121 \x3d cljs_react_devtools.core.toolbar;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93121);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93120);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.toolbar.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.toolbar.displayName \x3d \x22cljs-react-devtools.core/toolbar\x22);\n\nObject.defineProperty(cljs_react_devtools.core.toolbar,\x22name\x22,(function (){var obj93123 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/toolbar\x22});\nreturn obj93123;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93458 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93458.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93458.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.toolbar,\x22(uix/use-context theme)\x22,null,null) : sig__39531__auto___93458.call(null, cljs_react_devtools.core.toolbar,\x22(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.toolbar,cljs_react_devtools.core.toolbar.displayName);\n\n(cljs_react_devtools.core.toolbar.fast_refresh_signature \x3d sig__39531__auto___93458);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.toolbar._source \x3d (function (){var obj93125 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:704});\nreturn obj93125;\n})());\ncljs_react_devtools.core.intersects_QMARK_ \x3d (function cljs_react_devtools$core$intersects_QMARK_(p__93126,rect){\nvar vec__93127 \x3d p__93126;\nvar x \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93127,(0),null);\nvar y \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93127,(1),null);\nreturn (((((rect.x \x3c\x3d x)) \x26\x26 ((x \x3c\x3d (rect.x + rect.width))))) \x26\x26 ((((rect.y \x3c\x3d y)) \x26\x26 ((y \x3c\x3d (rect.y + rect.height))))));\n});\ncljs_react_devtools.core.use_dom_inspector \x3d (function cljs_react_devtools$core$use_dom_inspector(p__93137){\nvar map__93138 \x3d p__93137;\nvar map__93138__$1 \x3d cljs.core.__destructure_map(map__93138);\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93138__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar set_inspecting \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93138__$1,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542));\nvar on_target \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93138__$1,new cljs.core.Keyword(null,\x22on-target\x22,\x22on-target\x22,-1404015998));\nvar skip_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93138__$1,new cljs.core.Keyword(null,\x22skip-dom?\x22,\x22skip-dom?\x22,-1882515885));\nvar preview_node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93138__$1,new cljs.core.Keyword(null,\x22preview-node\x22,\x22preview-node\x22,310928567));\nvar vec__93139 \x3d uix.core.use_state(null);\nvar rect \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93139,(0),null);\nvar set_rect \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93139,(1),null);\nvar nodes \x3d uix.hooks.alpha.use_memo((function (){\nreturn cljs.core.reverse(cljs.core.tree_seq((function (p1__93130_SHARP_){\nreturn (!((p1__93130_SHARP_.children \x3d\x3d null)));\n}),(function (p1__93131_SHARP_){\nreturn cljs.core.seq(p1__93131_SHARP_.children);\n}),root));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [root], null))]);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(preview_node)){\nvar nodes__$1 \x3d cljs.core.tree_seq((function (p1__93132_SHARP_){\nreturn (!((cljs_react_devtools.core.fiber__GT_child(p1__93132_SHARP_) \x3d\x3d null)));\n}),(function (p1__93133_SHARP_){\nreturn cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(p1__93133_SHARP_));\n}),preview_node);\nvar temp__5823__auto__ \x3d cljs.core.some((function (p1__93134_SHARP_){\nif(cljs.core.truth_(p1__93134_SHARP_.stateNode)){\nreturn p1__93134_SHARP_;\n} else {\nreturn null;\n}\n}),nodes__$1);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar node \x3d temp__5823__auto__;\nvar dom_node \x3d node.stateNode;\nvar temp__5823__auto____$1 \x3d (cljs.core.truth_(dom_node.getBoundingClientRect)?dom_node.getBoundingClientRect():(function (){var G__93144 \x3d uix.dom.find_dom_node(dom_node);\nif((G__93144 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__93144.getBoundingClientRect();\n}\n})());\nif(cljs.core.truth_(temp__5823__auto____$1)){\nvar rect__$1 \x3d temp__5823__auto____$1;\nreturn (set_rect.cljs$core$IFn$_invoke$arity$1 ? set_rect.cljs$core$IFn$_invoke$arity$1(rect__$1) : set_rect.call(null, rect__$1));\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n} else {\nvar node_BANG_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\nvar mouse_handler \x3d (function (e){\nvar x \x3d e.x;\nvar y \x3d e.y;\nvar temp__5823__auto__ \x3d cljs.core.some((function (p1__93135_SHARP_){\nif(cljs_react_devtools.core.intersects_QMARK_(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [x,y], null),p1__93135_SHARP_.getBoundingClientRect())){\nreturn p1__93135_SHARP_;\n} else {\nreturn null;\n}\n}),nodes);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar node \x3d temp__5823__auto__;\ncljs.core.reset_BANG_(node_BANG_,node);\n\nvar G__93145 \x3d node.getBoundingClientRect();\nreturn (set_rect.cljs$core$IFn$_invoke$arity$1 ? set_rect.cljs$core$IFn$_invoke$arity$1(G__93145) : set_rect.call(null, G__93145));\n} else {\nreturn null;\n}\n});\nvar click_handler \x3d (function (){\nvar temp__5823__auto__ \x3d cljs.core.deref(node_BANG_);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar node \x3d temp__5823__auto__;\nvar temp__5823__auto____$1 \x3d cljs.core.some((function (p1__93136_SHARP_){\nif(clojure.string.starts_with_QMARK_(p1__93136_SHARP_,\x22__reactFiber\x22)){\nif(cljs.core.truth_(skip_dom_QMARK_)){\nreturn (node[p1__93136_SHARP_])._debugOwner;\n} else {\nreturn (node[p1__93136_SHARP_]);\n}\n} else {\nreturn null;\n}\n}),Object.keys(node));\nif(cljs.core.truth_(temp__5823__auto____$1)){\nvar target \x3d temp__5823__auto____$1;\n(on_target.cljs$core$IFn$_invoke$arity$1 ? on_target.cljs$core$IFn$_invoke$arity$1(target) : on_target.call(null, target));\n\n(set_inspecting.cljs$core$IFn$_invoke$arity$1 ? set_inspecting.cljs$core$IFn$_invoke$arity$1(false) : set_inspecting.call(null, false));\n\nvar temp__5823__auto____$2 \x3d cljs.core.deref(cljs_react_devtools.core.popout_window);\nif(cljs.core.truth_(temp__5823__auto____$2)){\nvar w \x3d temp__5823__auto____$2;\nreturn w.focus();\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n});\ndocument.addEventListener(\x22mousemove\x22,mouse_handler);\n\ndocument.addEventListener(\x22click\x22,click_handler);\n\nreturn (function (){\ndocument.removeEventListener(\x22mousemove\x22,mouse_handler);\n\nreturn document.removeEventListener(\x22click\x22,click_handler);\n});\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [root,nodes,on_target,set_inspecting,skip_dom_QMARK_,preview_node], null))]);\n\nreturn rect;\n});\ncljs_react_devtools.core.inspector_overlay \x3d (function cljs_react_devtools$core$inspector_overlay(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93148 \x3d [clj_props__39592__auto__];\nvar map__93151 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93148,(0),null);\nvar map__93151__$1 \x3d cljs.core.__destructure_map(map__93151);\nvar props \x3d map__93151__$1;\nvar set_inspecting \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93151__$1,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542));\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93151__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar on_target \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93151__$1,new cljs.core.Keyword(null,\x22on-target\x22,\x22on-target\x22,-1404015998));\nvar skip_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93151__$1,new cljs.core.Keyword(null,\x22skip-dom?\x22,\x22skip-dom?\x22,-1882515885));\nvar preview_node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93151__$1,new cljs.core.Keyword(null,\x22preview-node\x22,\x22preview-node\x22,310928567));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93469 \x3d cljs_react_devtools.core.inspector_overlay.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93469)){\nvar f__39522__auto___93470 \x3d temp__5823__auto___93469;\n(f__39522__auto___93470.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93470.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93470.call(null, ));\n} else {\n}\n} else {\n}\n\nvar temp__5823__auto__ \x3d cljs_react_devtools.core.use_dom_inspector(props);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar rect \x3d temp__5823__auto__;\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27zIndex\x27:(9998),\x27position\x27:\x22fixed\x22,\x27width\x27:\x22100vw\x22,\x27height\x27:\x22100vh\x22,\x27top\x27:(0),\x27left\x27:(0),\x27background\x27:\x22#e7c2ff1a\x22,\x27onClick\x27:uix.compiler.attributes.keyword__GT_string((function (p1__93146_SHARP_){\nreturn p1__93146_SHARP_.stopPropagation();\n}))}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27pointerEvents\x27:\x22none\x22,\x27top\x27:uix.compiler.attributes.keyword__GT_string(rect.y),\x27width\x27:uix.compiler.attributes.keyword__GT_string(rect.width),\x27background\x27:\x22#cd80ffa6\x22,\x27position\x27:\x22absolute\x22,\x27boxSizing\x27:\x22border-box\x22,\x27border\x27:\x221px dashed #da33ff\x22,\x27height\x27:uix.compiler.attributes.keyword__GT_string(rect.height),\x27left\x27:uix.compiler.attributes.keyword__GT_string(rect.x)}}],[])]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93152 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93153 \x3d cljs_react_devtools.core.inspector_overlay;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93153);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93152);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.inspector_overlay.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.inspector_overlay.displayName \x3d \x22cljs-react-devtools.core/inspector-overlay\x22);\n\nObject.defineProperty(cljs_react_devtools.core.inspector_overlay,\x22name\x22,(function (){var obj93155 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/inspector-overlay\x22});\nreturn obj93155;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93471 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93471.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93471.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.inspector_overlay,\x22(use-dom-inspector props)\x22,null,null) : sig__39531__auto___93471.call(null, cljs_react_devtools.core.inspector_overlay,\x22(use-dom-inspector props)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.inspector_overlay,cljs_react_devtools.core.inspector_overlay.displayName);\n\n(cljs_react_devtools.core.inspector_overlay.fast_refresh_signature \x3d sig__39531__auto___93471);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.inspector_overlay._source \x3d (function (){var obj93157 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:831});\nreturn obj93157;\n})());\ncljs_react_devtools.core.devtools_STAR_ \x3d (function cljs_react_devtools$core$devtools_STAR_(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93161 \x3d [clj_props__39592__auto__];\nvar map__93164 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93161,(0),null);\nvar map__93164__$1 \x3d cljs.core.__destructure_map(map__93164);\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93164__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93164__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93472 \x3d cljs_react_devtools.core.devtools_STAR_.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93472)){\nvar f__39522__auto___93473 \x3d temp__5823__auto___93472;\n(f__39522__auto___93473.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93473.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93473.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__93165 \x3d uix.core.use_state((0));\nvar tid \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93165,(0),null);\nvar set_tid \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93165,(1),null);\nvar fiber \x3d uix.hooks.alpha.use_memo((function (){\nif(cljs.core.truth_(root)){\n\nreturn cljs.core.some((function (p1__93158_SHARP_){\nif(clojure.string.starts_with_QMARK_(p1__93158_SHARP_,\x22__reactContainer\x22)){\nreturn (root[p1__93158_SHARP_]);\n} else {\nreturn null;\n}\n}),Object.keys(root));\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [root,tid], null))]);\nvar vec__93168 \x3d uix.core.use_state(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793),true,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),(cljs.core.truth_((function (){var and__5043__auto__ \x3d root;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn fiber;\n} else {\nreturn and__5043__auto__;\n}\n})())?cljs_react_devtools.core.fiber__GT_child(fiber):null)], null));\nvar state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93168,(0),null);\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93168,(1),null);\nvar vec__93171 \x3d cljs_react_devtools.core.use_size((35),new cljs.core.Keyword(\x22cljs-devtools\x22,\x22ui-size\x22,\x22cljs-devtools/ui-size\x22,1389587364));\nvar size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93171,(0),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93171,(1),null);\nvar vec__93174 \x3d uix.core.use_state(\x22\x22);\nvar hint \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93174,(0),null);\nvar set_hint \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93174,(1),null);\nvar vec__93177 \x3d uix.core.use_state(false);\nvar inspecting_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93177,(0),null);\nvar set_inspecting \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93177,(1),null);\nvar vec__93180 \x3d uix.core.use_state(false);\nvar preview_node \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93180,(0),null);\nvar set_preview_node \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93180,(1),null);\nvar on_target \x3d uix.hooks.alpha.use_callback((function (fiber__$1){\nvar G__93184 \x3d (function (p1__93159_SHARP_){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(p1__93159_SHARP_,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),fiber__$1);\n});\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__93184) : set_state.call(null, G__93184));\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nvar handler \x3d goog.functions.throttle((function (){\nreturn (set_tid.cljs$core$IFn$_invoke$arity$1 ? set_tid.cljs$core$IFn$_invoke$arity$1(cljs.core.inc) : set_tid.call(null, cljs.core.inc));\n}),(100));\nvar obs \x3d (new MutationObserver(handler));\nobs.observe(root,({\x22childList\x22: true, \x22subtree\x22: true, \x22attributes\x22: true}));\n\nreturn (function (){\nreturn obs.disconnect();\n});\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [root], null))]);\n\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs((cljs.core.truth_((function (){var or__5045__auto__ \x3d inspecting_QMARK_;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn preview_node;\n}\n})())?uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2(uix.compiler.alpha.component_element(cljs_react_devtools.core.inspector_overlay,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542),set_inspecting,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453),root,new cljs.core.Keyword(null,\x22on-target\x22,\x22on-target\x22,-1404015998),on_target,new cljs.core.Keyword(null,\x22skip-dom?\x22,\x22skip-dom?\x22,-1882515885),new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793).cljs$core$IFn$_invoke$arity$1(state),new cljs.core.Keyword(null,\x22preview-node\x22,\x22preview-node\x22,310928567),preview_node], null)],[]),document.getElementById(\x22cljs-devtools-inspector-overlay\x22)):null),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22devtools-text\x22,\x22devtools-text\x22,1734170100).cljs$core$IFn$_invoke$arity$1(colors)),\x27bottom\x27:(0),\x27borderTop\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018)))?\x222px solid #8632ff75\x22:null)),\x27width\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__93185 \x3d location__$1;\nvar G__93185__$1 \x3d (((G__93185 instanceof cljs.core.Keyword))?G__93185.fqn:null);\nswitch (G__93185__$1) {\ncase \x22bottom\x22:\ncase \x22window\x22:\nreturn \x22100vw\x22;\n\nbreak;\ncase \x22left\x22:\ncase \x22right\x22:\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22vw\x22].join(\x27\x27);\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__93185__$1)].join(\x27\x27)));\n\n}\n})()),\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22devtools-bg\x22,\x22devtools-bg\x22,-1808526887).cljs$core$IFn$_invoke$arity$1(colors)),\x27font\x27:\x22normal 14px sans-serif\x22,\x27borderRight\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?\x222px solid #8632ff75\x22:null)),\x27borderLeft\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22right\x22,\x22right\x22,-452581833)))?\x222px solid #8632ff75\x22:null)),\x27zIndex\x27:(9999),\x27right\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__93186 \x3d location__$1;\nvar G__93186__$1 \x3d (((G__93186 instanceof cljs.core.Keyword))?G__93186.fqn:null);\nswitch (G__93186__$1) {\ncase \x22right\x22:\nreturn (0);\n\nbreak;\ndefault:\nreturn null;\n\n}\n})()),\x27display\x27:\x22flex\x22,\x27position\x27:\x22fixed\x22,\x27height\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__93187 \x3d location__$1;\nvar G__93187__$1 \x3d (((G__93187 instanceof cljs.core.Keyword))?G__93187.fqn:null);\nswitch (G__93187__$1) {\ncase \x22left\x22:\ncase \x22right\x22:\ncase \x22window\x22:\nreturn \x22100vh\x22;\n\nbreak;\ncase \x22bottom\x22:\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22vh\x22].join(\x27\x27);\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__93187__$1)].join(\x27\x27)));\n\n}\n})()),\x27left\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__93188 \x3d location__$1;\nvar G__93188__$1 \x3d (((G__93188 instanceof cljs.core.Keyword))?G__93188.fqn:null);\nswitch (G__93188__$1) {\ncase \x22bottom\x22:\ncase \x22left\x22:\ncase \x22window\x22:\nreturn (0);\n\nbreak;\ndefault:\nreturn null;\n\n}\n})())}}],[((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534)))?null:uix.compiler.alpha.component_element(cljs_react_devtools.core.resize_handle,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587),set_size,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661),((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018)))?new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748):new cljs.core.Keyword(null,\x22horizontal\x22,\x22horizontal\x22,2062109475)),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1,new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522),(10),new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548),(90)], null)],[])),((((cljs.core.not(root)) || (cljs.core.not(fiber))))?uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27flexDirection\x27:\x22column\x22,\x27gap\x27:(8),\x27flex\x27:(1),\x27justifyContent\x27:\x22center\x22,\x27alignItems\x27:\x22center\x22,\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors)),\x27fontSize\x27:\x2218px\x22}}],[((cljs.core.not(root))?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(\x22Devtools are not connected to React root\x22,[],false),[uix.compiler.aot._GT_el(\x22span\x22,[{\x27style\x27:{\x27fontSize\x27:\x2216px\x22}}],[\x22make sure to pass the root node when initializing devtools\x22]),uix.compiler.aot._GT_el(\x22pre\x22,[{\x27style\x27:{\x27fontSize\x27:\x2214px\x22,\x27margin\x27:(0)}}],[cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.list(new cljs.core.Symbol(\x22cljs-react-devtools.core\x22,\x22init!\x22,\x22cljs-react-devtools.core/init!\x22,185639625,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453),cljs.core.list(new cljs.core.Symbol(\x22js\x22,\x22document.getElementById\x22,\x22js/document.getElementById\x22,2053304690,null),\x22root\x22)], null))], 0))])]):\x22Provided root node doesn\x27t have React app rendered\x22)]):uix.compiler.alpha.component_element(cljs_react_devtools.core.error_boundary,[cljs.core.PersistentArrayMap.EMPTY],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27flex\x27:(1)}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.toolbar,[new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22hint\x22,\x22hint\x22,439639918),(cljs.core.truth_((function (){var fexpr__93189 \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null);\nreturn (fexpr__93189.cljs$core$IFn$_invoke$arity$1 ? fexpr__93189.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__93189.call(null, location__$1));\n})())?hint:null),new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22inspecting?\x22,\x22inspecting?\x22,784834160),inspecting_QMARK_,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542),set_inspecting,new cljs.core.Keyword(null,\x22dock-devtools\x22,\x22dock-devtools\x22,-2013730452),cljs_react_devtools.core.dock_devtools,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null)],[]),uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27flexDirection\x27:uix.compiler.attributes.keyword__GT_string((cljs.core.truth_((function (){var fexpr__93190 \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null);\nreturn (fexpr__93190.cljs$core$IFn$_invoke$arity$1 ? fexpr__93190.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__93190.call(null, location__$1));\n})())?new cljs.core.Keyword(null,\x22row\x22,\x22row\x22,-570139521):new cljs.core.Keyword(null,\x22column\x22,\x22column\x22,2078222095))),\x27flex\x27:(1),\x27maxHeight\x27:\x22100%\x22,\x27minHeight\x27:\x22100%\x22,\x27width\x27:uix.compiler.attributes.keyword__GT_string((cljs.core.truth_((function (){var fexpr__93191 \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null);\nreturn (fexpr__93191.cljs$core$IFn$_invoke$arity$1 ? fexpr__93191.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__93191.call(null, location__$1));\n})())?\x22100vw\x22:null))}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27flex\x27:(1),\x27overflowY\x27:\x22auto\x22,\x27padding\x27:\x228px 0\x22,\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22tree-view-bg\x22,\x22tree-view-bg\x22,1629664539).cljs$core$IFn$_invoke$arity$1(colors))}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.preview_ctx.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),set_preview_node], null)],[cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (node){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),node,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),node.index], null)],[]);\n}),cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(fiber)))])]),uix.compiler.alpha.component_element(cljs_react_devtools.core.inspector,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null)],[])])])])\n)])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93192 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93193 \x3d cljs_react_devtools.core.devtools_STAR_;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93193);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93192);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.devtools_STAR_.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.devtools_STAR_.displayName \x3d \x22cljs-react-devtools.core/devtools*\x22);\n\nObject.defineProperty(cljs_react_devtools.core.devtools_STAR_,\x22name\x22,(function (){var obj93195 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/devtools*\x22});\nreturn obj93195;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93488 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93488.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93488.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools_STAR_,\x22(uix/use-state 0)(uix/use-memo (fn [] (when root tid (-\x3e\x3e (js/Object.keys root) (some (fn* [p1] (when (str/starts-with? p1 \\\x22__reactContainer\\\x22) (aget root p1))))))) [root tid])(uix/use-state {:hide-dom? true, :selected (when (and root fiber) (fiber-\x3echild fiber))})(use-size 35 :cljs-devtools/ui-size)(uix/use-state \\\x22\\\x22)(uix/use-state false)(uix/use-state false)(uix/use-callback (fn [fiber] (set-state (fn* [p1] (assoc p1 :selected fiber)))) [])(uix/use-context theme)(uix/use-effect (fn [] (let [handler (fns/throttle (fn* [] (set-tid inc)) 100) obs (js/MutationObserver. handler)] (.observe obs root {:childList true, :subtree true, :attributes true}) (fn* [] (.disconnect obs)))) [root])\x22,null,null) : sig__39531__auto___93488.call(null, cljs_react_devtools.core.devtools_STAR_,\x22(uix/use-state 0)(uix/use-memo (fn [] (when root tid (-\x3e\x3e (js/Object.keys root) (some (fn* [p1] (when (str/starts-with? p1 \\\x22__reactContainer\\\x22) (aget root p1))))))) [root tid])(uix/use-state {:hide-dom? true, :selected (when (and root fiber) (fiber-\x3echild fiber))})(use-size 35 :cljs-devtools/ui-size)(uix/use-state \\\x22\\\x22)(uix/use-state false)(uix/use-state false)(uix/use-callback (fn [fiber] (set-state (fn* [p1] (assoc p1 :selected fiber)))) [])(uix/use-context theme)(uix/use-effect (fn [] (let [handler (fns/throttle (fn* [] (set-tid inc)) 100) obs (js/MutationObserver. handler)] (.observe obs root {:childList true, :subtree true, :attributes true}) (fn* [] (.disconnect obs)))) [root])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.devtools_STAR_,cljs_react_devtools.core.devtools_STAR_.displayName);\n\n(cljs_react_devtools.core.devtools_STAR_.fast_refresh_signature \x3d sig__39531__auto___93488);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.devtools_STAR_._source \x3d (function (){var obj93197 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:853});\nreturn obj93197;\n})());\ncljs_react_devtools.core.matches_QMARK_ \x3d (function cljs_react_devtools$core$matches_QMARK_(){\nreturn window.matchMedia(\x22(prefers-color-scheme: dark)\x22).matches;\n});\ncljs_react_devtools.core.devtools \x3d (function cljs_react_devtools$core$devtools(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93200 \x3d [clj_props__39592__auto__];\nvar map__93203 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93200,(0),null);\nvar map__93203__$1 \x3d cljs.core.__destructure_map(map__93203);\nvar props \x3d map__93203__$1;\nvar shortcut \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93203__$1,new cljs.core.Keyword(null,\x22shortcut\x22,\x22shortcut\x22,-431647697));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93203__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93492 \x3d cljs_react_devtools.core.devtools.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93492)){\nvar f__39522__auto___93493 \x3d temp__5823__auto___93492;\n(f__39522__auto___93493.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93493.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93493.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__93204 \x3d uix.core.use_state((function (){\nvar v \x3d JSON.parse(localStorage.getItem(\x22:cljs-devtools/visible?\x22));\nvar or__5045__auto__ \x3d (v \x3d\x3d null);\nif(or__5045__auto__){\nreturn or__5045__auto__;\n} else {\nreturn v;\n}\n}));\nvar visible_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93204,(0),null);\nvar set_visible \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93204,(1),null);\nvar vec__93207 \x3d uix.core.use_state(cljs_react_devtools.core.matches_QMARK_);\nvar dark_mode_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93207,(0),null);\nvar set_dark_mode \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93207,(1),null);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nvar handler \x3d (function (){\nvar G__93211 \x3d cljs_react_devtools.core.matches_QMARK_();\nreturn (set_dark_mode.cljs$core$IFn$_invoke$arity$1 ? set_dark_mode.cljs$core$IFn$_invoke$arity$1(G__93211) : set_dark_mode.call(null, G__93211));\n});\nvar m \x3d window.matchMedia(\x22(prefers-color-scheme: dark)\x22);\nm.addListener(handler);\n\nreturn (function (){\nreturn m.removeListener(handler);\n});\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(typeof shortcut \x3d\x3d\x3d \x27string\x27){\nvar shortcut__$1 \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(shortcut,/-/);\nif(cljs.core.seq(shortcut__$1)){\nvar down_handler \x3d (function (e){\nif(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),location__$1)) \x26\x26 (cljs.core.every_QMARK_((function (p1__93198_SHARP_){\nvar G__93213 \x3d p1__93198_SHARP_;\nswitch (G__93213) {\ncase \x22Control\x22:\nreturn e.ctrlKey;\n\nbreak;\ncase \x22Alt\x22:\nreturn e.altKey;\n\nbreak;\ncase \x22Meta\x22:\nreturn e.metaKey;\n\nbreak;\ncase \x22Shift\x22:\nreturn e.shiftKey;\n\nbreak;\ndefault:\nreturn cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p1__93198_SHARP_,e.key);\n\n}\n}),shortcut__$1)))){\nreturn (set_visible.cljs$core$IFn$_invoke$arity$1 ? set_visible.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_visible.call(null, cljs.core.not));\n} else {\nreturn null;\n}\n});\nwindow.addEventListener(\x22keydown\x22,down_handler);\n\nreturn (function (){\nreturn window.removeEventListener(\x22keydown\x22,down_handler);\n});\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [shortcut,location__$1], null))]);\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nreturn localStorage.setItem(\x22:cljs-devtools/visible?\x22,visible_QMARK_);\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [visible_QMARK_], null))]);\n\nif(cljs.core.truth_(visible_QMARK_)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.theme.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),(cljs.core.truth_(dark_mode_QMARK_)?new cljs.core.Keyword(null,\x22dark\x22,\x22dark\x22,1818973999).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes):new cljs.core.Keyword(null,\x22light\x22,\x22light\x22,1918998747).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes))], null)],[uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools_STAR_,uix.compiler.attributes.interpret_props(props),[])]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93214 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93215 \x3d cljs_react_devtools.core.devtools;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93215);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93214);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.devtools.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.devtools.displayName \x3d \x22cljs-react-devtools.core/devtools\x22);\n\nObject.defineProperty(cljs_react_devtools.core.devtools,\x22name\x22,(function (){var obj93217 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/devtools\x22});\nreturn obj93217;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93499 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93499.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93499.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools,\x22(uix/use-state (fn* [] (let [v (js/JSON.parse (js/localStorage.getItem \\\x22:cljs-devtools/visible?\\\x22))] (or (nil? v) v))))(uix/use-state matches?)(uix/use-effect (fn [] (let [handler (fn* [] (set-dark-mode (matches?))) m (js/window.matchMedia \\\x22(prefers-color-scheme: dark)\\\x22)] (.addListener m handler) (fn* [] (.removeListener m handler)))) [])(uix/use-effect (fn [] (when (string? shortcut) (let [shortcut (str/split shortcut #\\\x22-\\\x22)] (when (seq shortcut) (let [down-handler (fn [e] (when (and (not\x3d :window location) (-\x3e\x3e shortcut (every? (fn* [p1] (case p1 \\\x22Control\\\x22 (.-ctrlKey e) \\\x22Alt\\\x22 (.-altKey e) \\\x22Meta\\\x22 (.-metaKey e) \\\x22Shift\\\x22 (.-shiftKey e) (\x3d p1 (.-key e))))))) (set-visible not)))] (.addEventListener js/window \\\x22keydown\\\x22 down-handler) (fn [] (.removeEventListener js/window \\\x22keydown\\\x22 down-handler))))))) [shortcut location])(uix/use-effect (fn [] (js/localStorage.setItem \\\x22:cljs-devtools/visible?\\\x22 visible?)) [visible?])\x22,null,null) : sig__39531__auto___93499.call(null, cljs_react_devtools.core.devtools,\x22(uix/use-state (fn* [] (let [v (js/JSON.parse (js/localStorage.getItem \\\x22:cljs-devtools/visible?\\\x22))] (or (nil? v) v))))(uix/use-state matches?)(uix/use-effect (fn [] (let [handler (fn* [] (set-dark-mode (matches?))) m (js/window.matchMedia \\\x22(prefers-color-scheme: dark)\\\x22)] (.addListener m handler) (fn* [] (.removeListener m handler)))) [])(uix/use-effect (fn [] (when (string? shortcut) (let [shortcut (str/split shortcut #\\\x22-\\\x22)] (when (seq shortcut) (let [down-handler (fn [e] (when (and (not\x3d :window location) (-\x3e\x3e shortcut (every? (fn* [p1] (case p1 \\\x22Control\\\x22 (.-ctrlKey e) \\\x22Alt\\\x22 (.-altKey e) \\\x22Meta\\\x22 (.-metaKey e) \\\x22Shift\\\x22 (.-shiftKey e) (\x3d p1 (.-key e))))))) (set-visible not)))] (.addEventListener js/window \\\x22keydown\\\x22 down-handler) (fn [] (.removeEventListener js/window \\\x22keydown\\\x22 down-handler))))))) [shortcut location])(uix/use-effect (fn [] (js/localStorage.setItem \\\x22:cljs-devtools/visible?\\\x22 visible?)) [visible?])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.devtools,cljs_react_devtools.core.devtools.displayName);\n\n(cljs_react_devtools.core.devtools.fast_refresh_signature \x3d sig__39531__auto___93499);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.devtools._source \x3d (function (){var obj93219 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:979});\nreturn obj93219;\n})());\ncljs_react_devtools.core.hijack_re_frame \x3d (function cljs_react_devtools$core$hijack_re_frame(){\nif((typeof re_frame !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof re_frame.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof re_frame.core.subscribe !\x3d\x3d \x27undefined\x27)){\nvar subscribe \x3d re_frame.core.subscribe;\nreturn (re_frame.core.subscribe \x3d (function() {\nvar G__93502 \x3d null;\nvar G__93502__1 \x3d (function (query){\nvar ret \x3d (subscribe.cljs$core$IFn$_invoke$arity$1 ? subscribe.cljs$core$IFn$_invoke$arity$1(query) : subscribe.call(null, query));\n(ret.__devtools_label \x3d cljs.core.first(query));\n\nreturn ret;\n});\nvar G__93502__2 \x3d (function (query,dynv){\nvar ret \x3d (subscribe.cljs$core$IFn$_invoke$arity$2 ? subscribe.cljs$core$IFn$_invoke$arity$2(query,dynv) : subscribe.call(null, query,dynv));\n(ret.__devtools_label \x3d cljs.core.first(query));\n\nreturn ret;\n});\nG__93502 \x3d function(query,dynv){\nswitch(arguments.length){\ncase 1:\nreturn G__93502__1.call(this,query);\ncase 2:\nreturn G__93502__2.call(this,query,dynv);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__93502.cljs$core$IFn$_invoke$arity$1 \x3d G__93502__1;\nG__93502.cljs$core$IFn$_invoke$arity$2 \x3d G__93502__2;\nreturn G__93502;\n})()\n);\n} else {\nreturn null;\n}\n});\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.opts_STAR_ !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.opts_STAR_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\n}\ncljs_react_devtools.core.devtools_popup \x3d (function cljs_react_devtools$core$devtools_popup(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93221 \x3d [clj_props__39592__auto__];\nvar map__93224 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93221,(0),null);\nvar map__93224__$1 \x3d cljs.core.__destructure_map(map__93224);\nvar on_mount \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93224__$1,new cljs.core.Keyword(null,\x22on-mount\x22,\x22on-mount\x22,-1236735840));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93224__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93504 \x3d cljs_react_devtools.core.devtools_popup.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93504)){\nvar f__39522__auto___93505 \x3d temp__5823__auto___93504;\n(f__39522__auto___93505.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93505.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93505.call(null, ));\n} else {\n}\n} else {\n}\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nreturn (on_mount.cljs$core$IFn$_invoke$arity$0 ? on_mount.cljs$core$IFn$_invoke$arity$0() : on_mount.call(null, ));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [on_mount], null))]);\n\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs_react_devtools.core.opts_STAR_),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1)),[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93225 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93226 \x3d cljs_react_devtools.core.devtools_popup;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93226);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93225);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(cljs_react_devtools.core.devtools_popup.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.devtools_popup.displayName \x3d \x22cljs-react-devtools.core/devtools-popup\x22);\n\nObject.defineProperty(cljs_react_devtools.core.devtools_popup,\x22name\x22,(function (){var obj93228 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/devtools-popup\x22});\nreturn obj93228;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93508 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93508.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93508.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools_popup,\x22(uix/use-effect (fn* [] (on-mount)) [on-mount])\x22,null,null) : sig__39531__auto___93508.call(null, cljs_react_devtools.core.devtools_popup,\x22(uix/use-effect (fn* [] (on-mount)) [on-mount])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.devtools_popup,cljs_react_devtools.core.devtools_popup.displayName);\n\n(cljs_react_devtools.core.devtools_popup.fast_refresh_signature \x3d sig__39531__auto___93508);\n} else {\n}\n} else {\n}\n\n\n(cljs_react_devtools.core.devtools_popup._source \x3d (function (){var obj93230 \x3d ({\x22file\x22:\x22cljs_react_devtools/core.cljs\x22,\x22lineNumber\x22:1034});\nreturn obj93230;\n})());\ncljs_react_devtools.core.m__GT_str \x3d (function cljs_react_devtools$core$m__GT_str(m){\nreturn clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22,\x22,cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,p__93231){\nvar vec__93232 \x3d p__93231;\nvar k \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93232,(0),null);\nvar v \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93232,(1),null);\nvar k__$1 \x3d (((k instanceof cljs.core.Keyword))?cljs.core.name(k):k);\nvar v__$1 \x3d (((v instanceof cljs.core.Keyword))?cljs.core.name(v):v);\nreturn cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(k__$1),\x22\x3d\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(v__$1)].join(\x27\x27));\n}),cljs.core.PersistentVector.EMPTY,m));\n});\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.devtools_root_STAR_ !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.devtools_root_STAR_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\n}\ncljs_react_devtools.core.mount \x3d (function cljs_react_devtools$core$mount(popup_window,popup_document,props){\nvar node \x3d popup_document.createElement(\x22div\x22);\nvar _ \x3d (node.id \x3d \x22cljs-react-devtools-root\x22);\nvar ___$1 \x3d popup_document.body.append(node);\nvar shadow_root \x3d node.attachShadow(({\x22mode\x22: \x22open\x22}));\nvar root \x3d uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(shadow_root);\nvar resize_update_scheduled_QMARK_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false);\nvar handle_window_resize \x3d (function (___$2){\nif(cljs.core.truth_(cljs.core.deref(resize_update_scheduled_QMARK_))){\nreturn null;\n} else {\ngoog.async.nextTick((function (){\nvar width_93511 \x3d popup_window.innerWidth;\nvar height_93512 \x3d popup_window.innerHeight;\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs_react_devtools.core.window_settings,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width_93511,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height_93512], null));\n\nreturn cljs.core.reset_BANG_(resize_update_scheduled_QMARK_,false);\n}));\n\nreturn cljs.core.reset_BANG_(resize_update_scheduled_QMARK_,true);\n}\n});\nvar handle_window_position \x3d (function (){\nvar map__93235 \x3d cljs.core.deref(cljs_react_devtools.core.window_settings);\nvar map__93235__$1 \x3d cljs.core.__destructure_map(map__93235);\nvar left \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93235__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937));\nvar top \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93235__$1,new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961));\nvar screen_left \x3d popup_window.screenX;\nvar screen_top \x3d popup_window.screenY;\nif(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(left,screen_left)) || (cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(top,screen_top)))){\nreturn cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs_react_devtools.core.window_settings,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937),screen_left,new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961),screen_top], null));\n} else {\nreturn null;\n}\n});\nvar window_position_interval \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\nvar on_unmount \x3d (function (___$2){\npopup_window.removeEventListener(\x22resize\x22,handle_window_resize);\n\nvar G__93236_93515 \x3d cljs.core.deref(window_position_interval);\nif((G__93236_93515 \x3d\x3d null)){\n} else {\nclearInterval(G__93236_93515);\n}\n\nvar G__93237_93516 \x3d new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388);\nvar G__93238_93517 \x3d new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs_react_devtools.core.window_settings));\nvar G__93239_93518 \x3d new cljs.core.Keyword(null,\x22unload?\x22,\x22unload?\x22,436291763);\nvar G__93240_93519 \x3d true;\n(cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$4 ? cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$4(G__93237_93516,G__93238_93517,G__93239_93518,G__93240_93519) : cljs_react_devtools.core.dock_devtools.call(null, G__93237_93516,G__93238_93517,G__93239_93518,G__93240_93519));\n\nreturn null;\n});\nvar on_mount \x3d (function (){\npopup_window.addEventListener(\x22resize\x22,handle_window_resize);\n\npopup_window.addEventListener(\x22beforeunload\x22,on_unmount);\n\nreturn cljs.core.reset_BANG_(window_position_interval,setInterval(handle_window_position,(2000)));\n});\n(popup_window[\x22onunload\x22] \x3d (function (){\nreturn cljs.core.reset_BANG_(cljs_react_devtools.core.popout_window,null);\n}));\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,root);\n\nreturn uix.dom.render_root(uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools_popup,uix.compiler.attributes.interpret_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22on-mount\x22,\x22on-mount\x22,-1236735840),on_mount], null),props], 0))),[]),root);\n});\n/**\n * Originally copied from re-frisk.devtool/open-debugger-window\n */\ncljs_react_devtools.core.open_debugger_window \x3d (function cljs_react_devtools$core$open_debugger_window(p__93241,props){\nvar map__93242 \x3d p__93241;\nvar map__93242__$1 \x3d cljs.core.__destructure_map(map__93242);\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93242__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93242__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar top \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93242__$1,new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961));\nvar left \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93242__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937));\nvar document_title \x3d document.title;\nvar window_title \x3d goog.string.escapeString([\x22cljs-react-devtools | \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(document_title)].join(\x27\x27));\nvar window_html \x3d [\x22\x3chead\x3e\x3ctitle\x3e\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(window_title),\x22\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d\\\x22margin: 0px;\\\x22\x3e\x3c/body\x3e\x22].join(\x27\x27);\nvar window_features \x3d cljs_react_devtools.core.m__GT_str(cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),new cljs.core.Keyword(null,\x22resizable\x22,\x22resizable\x22,-2107060206),new cljs.core.Keyword(null,\x22status\x22,\x22status\x22,-1997798413),new cljs.core.Keyword(null,\x22directories\x22,\x22directories\x22,-900278123),new cljs.core.Keyword(null,\x22toolbar\x22,\x22toolbar\x22,-1172789065),new cljs.core.Keyword(null,\x22scrollbars\x22,\x22scrollbars\x22,1817245048),new cljs.core.Keyword(null,\x22menubar\x22,\x22menubar\x22,1684613273),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)],[top,width,new cljs.core.Keyword(null,\x22yes\x22,\x22yes\x22,182838819),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),new cljs.core.Keyword(null,\x22yes\x22,\x22yes\x22,182838819),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),height,left]));\nvar temp__5821__auto__ \x3d window.open(\x22about:blank\x22,\x22re-frame-10x-popout\x22,window_features);\nif(cljs.core.truth_(temp__5821__auto__)){\nvar w \x3d temp__5821__auto__;\nvar d \x3d w.document;\nd.open();\n\nd.write(window_html);\n\n(w[\x22onload\x22] \x3d (function (){\nreturn cljs_react_devtools.core.mount(w,d,props);\n}));\n\nd.close();\n\nreturn cljs.core.reset_BANG_(cljs_react_devtools.core.popout_window,w);\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.dock_devtools \x3d (function cljs_react_devtools$core$dock_devtools(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___93523 \x3d arguments.length;\nvar i__5770__auto___93524 \x3d (0);\nwhile(true){\nif((i__5770__auto___93524 \x3c len__5769__auto___93523)){\nargs__5775__auto__.push((arguments[i__5770__auto___93524]));\n\nvar G__93525 \x3d (i__5770__auto___93524 + (1));\ni__5770__auto___93524 \x3d G__93525;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((0) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null);\nreturn cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__);\n});\n\n(cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$variadic \x3d (function (p__93244){\nvar map__93245 \x3d p__93244;\nvar map__93245__$1 \x3d cljs.core.__destructure_map(map__93245);\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93245__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar unload_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93245__$1,new cljs.core.Keyword(null,\x22unload?\x22,\x22unload?\x22,436291763));\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.window_settings,cljs.core.assoc,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1);\n\nlocalStorage.setItem(\x22:cljs-devtools/window-location\x22,cljs.core.name(location__$1));\n\nif(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.popout_window))){\ncljs.core.deref(cljs_react_devtools.core.devtools_root_STAR_).unmount();\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,null);\n\nif(cljs.core.truth_(unload_QMARK_)){\n} else {\ncljs.core.deref(cljs_react_devtools.core.popout_window).close();\n}\n\nreturn setTimeout((function (){\nvar G__93246 \x3d new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null);\nreturn (cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1(G__93246) : cljs_react_devtools.core.render_devtools.call(null, G__93246));\n}),(50));\n} else {\ncljs.core.deref(cljs_react_devtools.core.devtools_root_STAR_).unmount();\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,null);\n\ndocument.getElementById(\x22cljs-react-devtools-root\x22).remove();\n\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534))){\nreturn cljs_react_devtools.core.open_debugger_window(cljs.core.deref(cljs_react_devtools.core.window_settings),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null));\n} else {\nvar G__93247 \x3d new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null);\nreturn (cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1(G__93247) : cljs_react_devtools.core.render_devtools.call(null, G__93247));\n}\n}\n}));\n\n(cljs_react_devtools.core.dock_devtools.cljs$lang$maxFixedArity \x3d (0));\n\n/** @this {Function} */\n(cljs_react_devtools.core.dock_devtools.cljs$lang$applyTo \x3d (function (seq93243){\nvar self__5755__auto__ \x3d this;\nreturn self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq93243));\n}));\n\ncljs_react_devtools.core.render_devtools \x3d (function cljs_react_devtools$core$render_devtools(p__93248){\nvar map__93249 \x3d p__93248;\nvar map__93249__$1 \x3d cljs.core.__destructure_map(map__93249);\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93249__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar node \x3d document.createElement(\x22div\x22);\nvar shadow_root \x3d node.attachShadow(({\x22mode\x22: \x22open\x22}));\nvar _ \x3d document.body.append(node);\nvar ___$1 \x3d (node.id \x3d \x22cljs-react-devtools-root\x22);\nvar root \x3d uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(shadow_root);\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,root);\n\nuix.dom.render_root(uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs_react_devtools.core.opts_STAR_),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1)),[]),root);\n\nreturn null;\n});\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.initialized_QMARK_ !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.initialized_QMARK_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false);\n}\ncljs_react_devtools.core.init_BANG_ \x3d (function cljs_react_devtools$core$init_BANG_(p__93250){\nvar map__93251 \x3d p__93250;\nvar map__93251__$1 \x3d cljs.core.__destructure_map(map__93251);\nvar opts \x3d map__93251__$1;\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93251__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar shortcut \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93251__$1,new cljs.core.Keyword(null,\x22shortcut\x22,\x22shortcut\x22,-431647697));\nif(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.initialized_QMARK_))){\nreturn null;\n} else {\ncljs.core.reset_BANG_(cljs_react_devtools.core.initialized_QMARK_,true);\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.opts_STAR_,opts);\n\ncljs_react_devtools.core.hijack_re_frame();\n\nreturn setTimeout((function (){\nvar node \x3d document.createElement(\x22div\x22);\n(node.id \x3d \x22cljs-devtools-inspector-overlay\x22);\n\ndocument.body.append(node);\n\nreturn cljs_react_devtools.core.render_devtools(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs_react_devtools.core.window_settings))], null));\n}),(100));\n}\n});\n"); +SHADOW_ENV.evalLoad("uix.dom.js", true, "goog.provide(\x27uix.dom\x27);\nvar module$node_modules$react_dom$client\x3dshadow.js.require(\x22module$node_modules$react_dom$client\x22, {});\nvar module$node_modules$react_dom$index\x3dshadow.js.require(\x22module$node_modules$react_dom$index\x22, {});\n/**\n * Create a React root for the supplied container and return the root.\n * \n * See: https://reactjs.org/docs/react-dom-client.html#createroot\n */\nuix.dom.create_root \x3d (function uix$dom$create_root(var_args){\nvar G__28762 \x3d arguments.length;\nswitch (G__28762) {\ncase 1:\nreturn uix.dom.create_root.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn uix.dom.create_root.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.dom.create_root.cljs$core$IFn$_invoke$arity$1 \x3d (function (node){\nreturn module$node_modules$react_dom$client.createRoot(node);\n}));\n\n(uix.dom.create_root.cljs$core$IFn$_invoke$arity$2 \x3d (function (node,p__28768){\nvar map__28769 \x3d p__28768;\nvar map__28769__$1 \x3d cljs.core.__destructure_map(map__28769);\nvar options \x3d map__28769__$1;\nvar on_recoverable_error \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28769__$1,new cljs.core.Keyword(null,\x22on-recoverable-error\x22,\x22on-recoverable-error\x22,1651056576));\nvar identifier_prefix \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28769__$1,new cljs.core.Keyword(null,\x22identifier-prefix\x22,\x22identifier-prefix\x22,1929840008));\nreturn module$node_modules$react_dom$client.createRoot(node,({\x22onRecoverableError\x22: on_recoverable_error, \x22identifierPrefix\x22: identifier_prefix}));\n}));\n\n(uix.dom.create_root.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Same as `create-root`, but is used to hydrate a container whose HTML contents were rendered by ReactDOMServer.\n * \n * See: https://reactjs.org/docs/react-dom-client.html#hydrateroot\n */\nuix.dom.hydrate_root \x3d (function uix$dom$hydrate_root(var_args){\nvar G__28787 \x3d arguments.length;\nswitch (G__28787) {\ncase 2:\nreturn uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$2 \x3d (function (container,element){\nreturn module$node_modules$react_dom$client.hydrateRoot(container,element);\n}));\n\n(uix.dom.hydrate_root.cljs$core$IFn$_invoke$arity$3 \x3d (function (container,element,p__28797){\nvar map__28798 \x3d p__28797;\nvar map__28798__$1 \x3d cljs.core.__destructure_map(map__28798);\nvar options \x3d map__28798__$1;\nvar on_recoverable_error \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28798__$1,new cljs.core.Keyword(null,\x22on-recoverable-error\x22,\x22on-recoverable-error\x22,1651056576));\nvar identifier_prefix \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__28798__$1,new cljs.core.Keyword(null,\x22identifier-prefix\x22,\x22identifier-prefix\x22,1929840008));\nreturn module$node_modules$react_dom$client.hydrateRoot(container,element,({\x22onRecoverableError\x22: on_recoverable_error, \x22identifierPrefix\x22: identifier_prefix}));\n}));\n\n(uix.dom.hydrate_root.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Renders React root into the DOM node.\n */\nuix.dom.render_root \x3d (function uix$dom$render_root(element,root){\nreturn root.render(element);\n});\n/**\n * Remove a mounted React root from the DOM and clean up its event handlers and state.\n */\nuix.dom.unmount_root \x3d (function uix$dom$unmount_root(root){\nreturn root.unmount();\n});\n/**\n * DEPRECATED: Renders element into DOM node. The first argument is React element.\n */\nuix.dom.render \x3d (function uix$dom$render(element,node){\nreturn module$node_modules$react_dom$index.render(element,node);\n});\n/**\n * DEPRECATED: Hydrates server rendered document at `node` with `element`.\n */\nuix.dom.hydrate \x3d (function uix$dom$hydrate(element,node){\nreturn module$node_modules$react_dom$index.hydrate(element,node);\n});\n/**\n * Force React to flush any updates inside the provided callback synchronously.\n * This ensures that the DOM is updated immediately.\n * \n * See: https://reactjs.org/docs/react-dom.html#flushsync\n */\nuix.dom.flush_sync \x3d (function uix$dom$flush_sync(callback){\nreturn module$node_modules$react_dom$index.flushSync(callback);\n});\nuix.dom.batched_updates \x3d (function uix$dom$batched_updates(f){\nreturn module$node_modules$react_dom$index.unstable_batchedUpdates(f);\n});\n/**\n * Unmounts React component rendered into DOM node\n */\nuix.dom.unmount_at_node \x3d (function uix$dom$unmount_at_node(node){\nreturn module$node_modules$react_dom$index.unmountComponentAtNode(node);\n});\n/**\n * If this component has been mounted into the DOM, this returns the corresponding native browser DOM element.\n * \n * See: https://reactjs.org/docs/react-dom.html#finddomnode\n */\nuix.dom.find_dom_node \x3d (function uix$dom$find_dom_node(component){\nreturn module$node_modules$react_dom$index.findDOMNode(component);\n});\n/**\n * Creates a portal. Portals provide a way to render children into a DOM node\n * that exists outside the hierarchy of the DOM component.\n * \n * See: https://reactjs.org/docs/react-dom.html#createportal\n */\nuix.dom.create_portal \x3d (function uix$dom$create_portal(var_args){\nvar G__28833 \x3d arguments.length;\nswitch (G__28833) {\ncase 2:\nreturn uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn uix.dom.create_portal.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2 \x3d (function (child,node){\nreturn module$node_modules$react_dom$index.createPortal(child,node);\n}));\n\n(uix.dom.create_portal.cljs$core$IFn$_invoke$arity$3 \x3d (function (child,node,key){\nreturn module$node_modules$react_dom$index.createPortal(child,node,key);\n}));\n\n(uix.dom.create_portal.cljs$lang$maxFixedArity \x3d 3);\n\n"); +SHADOW_ENV.evalLoad("cljs_react_devtools.core.js", true, "goog.provide(\x27cljs_react_devtools.core\x27);\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.popout_window !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.popout_window \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\n}\ncljs_react_devtools.core.color_themes \x3d new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22light\x22,\x22light\x22,1918998747),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,\x22icon-chevron\x22,\x22icon-chevron\x22,-1823771456),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446),new cljs.core.Keyword(null,\x22resize-handle\x22,\x22resize-handle\x22,542557491),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117),new cljs.core.Keyword(null,\x22devtools-text\x22,\x22devtools-text\x22,1734170100),new cljs.core.Keyword(null,\x22data-view-keyword\x22,\x22data-view-keyword\x22,-1300167945),new cljs.core.Keyword(null,\x22devtools-bg\x22,\x22devtools-bg\x22,-1808526887),new cljs.core.Keyword(null,\x22tree-view-bg\x22,\x22tree-view-bg\x22,1629664539),new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852)],[\x22#b78ff1\x22,\x22#a769ff\x22,\x22#8835ff\x22,\x22#fcf8ff\x22,\x22#216aef\x22,\x22#51485f\x22,\x22#c94d22\x22,\x22#fefdff\x22,\x22#fbfafd\x22,\x22#eadcff\x22,\x22#388e28\x22]),new cljs.core.Keyword(null,\x22dark\x22,\x22dark\x22,1818973999),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,\x22icon-chevron\x22,\x22icon-chevron\x22,-1823771456),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446),new cljs.core.Keyword(null,\x22resize-handle\x22,\x22resize-handle\x22,542557491),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117),new cljs.core.Keyword(null,\x22devtools-text\x22,\x22devtools-text\x22,1734170100),new cljs.core.Keyword(null,\x22data-view-keyword\x22,\x22data-view-keyword\x22,-1300167945),new cljs.core.Keyword(null,\x22devtools-bg\x22,\x22devtools-bg\x22,-1808526887),new cljs.core.Keyword(null,\x22tree-view-bg\x22,\x22tree-view-bg\x22,1629664539),new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852)],[\x22#ede2fd\x22,\x22#ebe0fc\x22,\x22#ebe0fb\x22,\x22#3e2e44\x22,\x22#7be0ff\x22,\x22#ede2ff\x22,\x22#fac543\x22,\x22#302b32\x22,\x22#2d292d\x22,\x22#4d27f9\x22,\x22#5de144\x22])], null);\ncljs_react_devtools.core.theme \x3d uix.core.create_context.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,\x22light\x22,\x22light\x22,1918998747).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes));\ncljs_react_devtools.core.node__GT_siblings \x3d (function cljs_react_devtools$core$node__GT_siblings(node){\nif(cljs.core.truth_(node)){\nreturn (new cljs.core.LazySeq(null,(function (){\nreturn cljs.core.cons(node,(cljs.core.truth_(node.sibling)?(function (){var G__30150 \x3d node.sibling;\nreturn (cljs_react_devtools.core.node__GT_siblings.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.node__GT_siblings.cljs$core$IFn$_invoke$arity$1(G__30150) : cljs_react_devtools.core.node__GT_siblings.call(null, G__30150));\n})():null));\n}),null,null));\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.fiber__GT_child \x3d (function cljs_react_devtools$core$fiber__GT_child(fiber){\nvar or__5045__auto__ \x3d fiber.child;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nvar G__30151 \x3d fiber;\nvar G__30151__$1 \x3d (((G__30151 \x3d\x3d null))?null:G__30151.alternate);\nif((G__30151__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__30151__$1.child;\n}\n}\n});\ncljs_react_devtools.core.render_children \x3d (function cljs_react_devtools$core$render_children(node,state,set_state){\nvar child \x3d cljs_react_devtools.core.fiber__GT_child(node);\nif(cljs.core.truth_(child)){\nvar iter__5523__auto__ \x3d (function cljs_react_devtools$core$render_children_$_iter__30152(s__30153){\nreturn (new cljs.core.LazySeq(null,(function (){\nvar s__30153__$1 \x3d s__30153;\nwhile(true){\nvar temp__5823__auto__ \x3d cljs.core.seq(s__30153__$1);\nif(temp__5823__auto__){\nvar s__30153__$2 \x3d temp__5823__auto__;\nif(cljs.core.chunked_seq_QMARK_(s__30153__$2)){\nvar c__5521__auto__ \x3d cljs.core.chunk_first(s__30153__$2);\nvar size__5522__auto__ \x3d cljs.core.count(c__5521__auto__);\nvar b__30155 \x3d cljs.core.chunk_buffer(size__5522__auto__);\nif((function (){var i__30154 \x3d (0);\nwhile(true){\nif((i__30154 \x3c size__5522__auto__)){\nvar node__$1 \x3d cljs.core._nth(c__5521__auto__,i__30154);\ncljs.core.chunk_append(b__30155,uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),node__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),node__$1.index], null)],[]));\n\nvar G__30480 \x3d (i__30154 + (1));\ni__30154 \x3d G__30480;\ncontinue;\n} else {\nreturn true;\n}\nbreak;\n}\n})()){\nreturn cljs.core.chunk_cons(cljs.core.chunk(b__30155),cljs_react_devtools$core$render_children_$_iter__30152(cljs.core.chunk_rest(s__30153__$2)));\n} else {\nreturn cljs.core.chunk_cons(cljs.core.chunk(b__30155),null);\n}\n} else {\nvar node__$1 \x3d cljs.core.first(s__30153__$2);\nreturn cljs.core.cons(uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),node__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),node__$1.index], null)],[]),cljs_react_devtools$core$render_children_$_iter__30152(cljs.core.rest(s__30153__$2)));\n}\n} else {\nreturn null;\n}\nbreak;\n}\n}),null,null));\n});\nreturn iter__5523__auto__(cljs_react_devtools.core.node__GT_siblings(child));\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.reagent_node_QMARK_ \x3d (function cljs_react_devtools$core$reagent_node_QMARK_(node){\nvar el_type \x3d node.elementType;\nvar and__5043__auto__ \x3d cljs.core.fn_QMARK_(el_type);\nif(and__5043__auto__){\nreturn el_type.cljs$lang$type;\n} else {\nreturn and__5043__auto__;\n}\n});\ncljs_react_devtools.core.uix_node_QMARK_ \x3d (function cljs_react_devtools$core$uix_node_QMARK_(node){\nvar el_type \x3d node.elementType;\nvar and__5043__auto__ \x3d cljs.core.fn_QMARK_(el_type);\nif(and__5043__auto__){\nreturn el_type.uix_component_QMARK_;\n} else {\nreturn and__5043__auto__;\n}\n});\ncljs_react_devtools.core.memo_node_QMARK_ \x3d (function cljs_react_devtools$core$memo_node_QMARK_(node){\nvar el_type \x3d node.elementType;\nvar and__5043__auto__ \x3d el_type;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,el_type.constructor)) \x26\x26 (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((el_type[\x22$$typeof\x22]),Symbol.for(\x22react.memo\x22))));\n} else {\nreturn and__5043__auto__;\n}\n});\ncljs_react_devtools.core.demunge_name \x3d (function cljs_react_devtools$core$demunge_name(name){\nvar s \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge_str(name),/\\./);\nreturn [clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22.\x22,cljs.core.butlast(s)),\x22/\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.last(s))].join(\x27\x27);\n});\ncljs_react_devtools.core.demunge_fn_name \x3d (function cljs_react_devtools$core$demunge_fn_name(name){\nvar s \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge_str(name),/\\//);\nreturn [clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22.\x22,cljs.core.butlast(s)),\x22/\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.last(s))].join(\x27\x27);\n});\ncljs_react_devtools.core.node__GT_name \x3d (function cljs_react_devtools$core$node__GT_name(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___30482 \x3d arguments.length;\nvar i__5770__auto___30487 \x3d (0);\nwhile(true){\nif((i__5770__auto___30487 \x3c len__5769__auto___30482)){\nargs__5775__auto__.push((arguments[i__5770__auto___30487]));\n\nvar G__30488 \x3d (i__5770__auto___30487 + (1));\ni__5770__auto___30487 \x3d G__30488;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((1) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null);\nreturn cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__);\n});\n\n(cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic \x3d (function (node,p__30158){\nvar map__30159 \x3d p__30158;\nvar map__30159__$1 \x3d cljs.core.__destructure_map(map__30159);\nvar lib_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30159__$1,new cljs.core.Keyword(null,\x22lib?\x22,\x22lib?\x22,-150324554));\nvar file_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30159__$1,new cljs.core.Keyword(null,\x22file?\x22,\x22file?\x22,1755223728));\nvar el_type \x3d node.elementType;\nvar memo_QMARK_ \x3d cljs_react_devtools.core.memo_node_QMARK_(node.return);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(((typeof el_type \x3d\x3d\x3d \x27string\x27)?el_type:(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))?cljs_react_devtools.core.demunge_name(el_type.displayName):((cljs.core.fn_QMARK_(el_type))?(function (){var or__5045__auto__ \x3d el_type.displayName;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn cljs_react_devtools.core.demunge_fn_name(el_type.name);\n}\n})():null))),[\x22span\x22,null,null,false],false),[(cljs.core.truth_(memo_QMARK_)?\x22 [memo]\x22:null),(cljs.core.truth_(lib_QMARK_)?(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))?\x22 [reagent]\x22:(cljs.core.truth_(cljs_react_devtools.core.uix_node_QMARK_(node))?\x22 [uix]\x22:((cljs.core.fn_QMARK_(el_type))?\x22 [react]\x22:null))):null)]),uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs((cljs.core.truth_((function (){var and__5043__auto__ \x3d file_QMARK_;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn cljs.core.fn_QMARK_(el_type);\n} else {\nreturn and__5043__auto__;\n}\n})())?(function (){var temp__5823__auto__ \x3d node.type._source;\nif(cljs.core.truth_(temp__5823__auto__)){\nvar o \x3d temp__5823__auto__;\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(o.file),\x22:\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(o.lineNumber)].join(\x27\x27);\n} else {\nreturn null;\n}\n})():null),[\x22span\x22,null,null,false],false),[])]);\n}));\n\n(cljs_react_devtools.core.node__GT_name.cljs$lang$maxFixedArity \x3d (1));\n\n/** @this {Function} */\n(cljs_react_devtools.core.node__GT_name.cljs$lang$applyTo \x3d (function (seq30156){\nvar G__30157 \x3d cljs.core.first(seq30156);\nvar seq30156__$1 \x3d cljs.core.next(seq30156);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__30157,seq30156__$1);\n}));\n\ncljs_react_devtools.core.button \x3d (function cljs_react_devtools$core$button(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30162 \x3d [clj_props__29460__auto__];\nvar props \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30162,(0),null);\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30493 \x3d cljs_react_devtools.core.button.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30493)){\nvar f__29390__auto___30494 \x3d temp__5823__auto___30493;\n(f__29390__auto___30494.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30494.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30494.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22button\x22,uix.compiler.attributes.interpret_attrs(cljs.core.update.cljs$core$IFn$_invoke$arity$3(props,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),(function (p1__30160_SHARP_){\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22background\x22,\x22background\x22,-863952629),new cljs.core.Keyword(null,\x22transparent\x22,\x22transparent\x22,-2073609949),new cljs.core.Keyword(null,\x22border\x22,\x22border\x22,1444987323),new cljs.core.Keyword(null,\x22none\x22,\x22none\x22,1333468478),new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22padding\x22,\x22padding\x22,1660304693),(0),new cljs.core.Keyword(null,\x22opacity\x22,\x22opacity\x22,397153780),(cljs.core.truth_(new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218).cljs$core$IFn$_invoke$arity$1(props))?0.5:null)], null),cljs.core.filter.cljs$core$IFn$_invoke$arity$2(cljs.core.comp.cljs$core$IFn$_invoke$arity$2(cljs.core.some_QMARK_,cljs.core.val),p1__30160_SHARP_)], 0));\n})),[\x22button\x22,null,null,false],false),[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30165 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30166 \x3d cljs_react_devtools.core.button;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30166);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30165);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.button.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.button.displayName \x3d \x22cljs-react-devtools.core/button\x22);\n\nObject.defineProperty(cljs_react_devtools.core.button,\x22name\x22,(function (){var obj30168 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/button\x22});\nreturn obj30168;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30498 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30498.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30498.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.button,\x22\x22,null,null) : sig__29399__auto___30498.call(null, cljs_react_devtools.core.button,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.button,cljs_react_devtools.core.button.displayName);\n\n(cljs_react_devtools.core.button.fast_refresh_signature \x3d sig__29399__auto___30498);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.icon_chevron_down \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x224\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(8),\x27height\x27:(8)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M19.5 8.25l-7.5 7.5-7.5-7.5\x22}],[])]);\ncljs_react_devtools.core.icon_cursor_rays \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x222\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(18),\x27height\x27:(18)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M15.042 21.672L13.684 16.6m0 0l-2.51 2.225.569-9.47 5.227 7.917-3.286-.672zM12 2.25V4.5m5.834.166l-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243l-1.59-1.59\x22}],[])]);\ncljs_react_devtools.core.icon_window \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x222\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(18),\x27height\x27:(18)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M3 8.25V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18V8.25m-18 0V6a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6zM7.5 6h.008v.008H7.5V6zm2.25 0h.008v.008H9.75V6z\x22}],[])]);\ncljs_react_devtools.core.icon_dock_bottom \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27width\x27:(18),\x27height\x27:(18),\x27viewBox\x27:\x220 0 24 24\x22,\x27fill\x27:\x22none\x22,\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M3 14H21M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27stroke\x27:\x22currentColor\x22,\x27strokeWidth\x27:\x222\x22,\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22}],[]),uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M3.375 18L3.375 14.5L20.625 14.5L20.625 18C20.625 18.621 20.121 19.125 19.5 19.125L4.5 19.125C3.879 19.125 3.375 18.621 3.375 18Z\x22,\x27fill\x27:\x22currentColor\x22}],[])]);\ncljs_react_devtools.core.icon_dock_right \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27width\x27:(19),\x27height\x27:(19),\x27viewBox\x27:\x220 0 24 24\x22,\x27fill\x27:\x22none\x22,\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27stroke\x27:\x22currentColor\x22,\x27strokeWidth\x27:\x222\x22,\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22}],[]),uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M19.875 19.5H15V4.5H19.875C20.496 4.5 21 5.004 21 5.625V18.375C21 18.996 20.496 19.5 19.875 19.5Z\x22,\x27fill\x27:\x22currentColor\x22}],[])]);\ncljs_react_devtools.core.icon_dock_left \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27width\x27:(19),\x27height\x27:(19),\x27viewBox\x27:\x220 0 24 24\x22,\x27fill\x27:\x22none\x22,\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M9 4.5V19.5M4.125 19.5H19.875C20.496 19.5 21 18.996 21 18.375V5.625C21 5.004 20.496 4.5 19.875 4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27stroke\x27:\x22currentColor\x22,\x27strokeWidth\x27:\x222\x22,\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22}],[]),uix.compiler.aot._GT_el(\x22path\x22,[{\x27d\x27:\x22M4.125 19.5H9V4.5H4.125C3.504 4.5 3 5.004 3 5.625V18.375C3 18.996 3.504 19.5 4.125 19.5Z\x22,\x27fill\x27:\x22currentColor\x22}],[])]);\ncljs_react_devtools.core.icon_arrow_path \x3d uix.compiler.aot._GT_el(\x22svg\x22,[{\x27xmlns\x27:\x22http://www.w3.org/2000/svg\x22,\x27fill\x27:\x22none\x22,\x27viewBox\x27:\x220 0 24 24\x22,\x27strokeWidth\x27:\x222\x22,\x27stroke\x27:\x22currentColor\x22,\x27width\x27:(14),\x27height\x27:(14)}],[uix.compiler.aot._GT_el(\x22path\x22,[{\x27strokeLinecap\x27:\x22round\x22,\x27strokeLinejoin\x27:\x22round\x22,\x27d\x27:\x22M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99\x22}],[])]);\ncljs_react_devtools.core.preview_ctx \x3d uix.core.create_context.cljs$core$IFn$_invoke$arity$0();\ncljs_react_devtools.core.has_non_primitive_children_QMARK_ \x3d (function cljs_react_devtools$core$has_non_primitive_children_QMARK_(node){\nvar children \x3d cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(node));\nreturn cljs.core.some((function (p1__30169_SHARP_){\nreturn (p1__30169_SHARP_.elementType \x3d\x3d null);\n}),children);\n});\ncljs_react_devtools.core.tree_view \x3d (function cljs_react_devtools$core$tree_view(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30171 \x3d [clj_props__29460__auto__];\nvar map__30174 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30171,(0),null);\nvar map__30174__$1 \x3d cljs.core.__destructure_map(map__30174);\nvar node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30174__$1,new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198));\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30174__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30174__$1,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30505 \x3d cljs_react_devtools.core.tree_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30505)){\nvar f__29390__auto___30506 \x3d temp__5823__auto___30505;\n(f__29390__auto___30506.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30506.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30506.call(null, ));\n} else {\n}\n} else {\n}\n\nvar memo_QMARK_ \x3d cljs_react_devtools.core.memo_node_QMARK_(node);\nvar node__$1 \x3d (cljs.core.truth_(memo_QMARK_)?cljs_react_devtools.core.fiber__GT_child(node):node);\nvar el_type \x3d node__$1.elementType;\nvar vec__30175 \x3d uix.core.use_state(false);\nvar closed_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30175,(0),null);\nvar set_closed \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30175,(1),null);\nvar map__30178 \x3d state;\nvar map__30178__$1 \x3d cljs.core.__destructure_map(map__30178);\nvar hide_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30178__$1,new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793));\nvar selected \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30178__$1,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764));\nvar selected_QMARK_ \x3d cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(selected,node__$1);\nvar set_preview_node \x3d uix.core.use_context(cljs_react_devtools.core.preview_ctx);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nif(cljs.core.truth_((function (){var or__5045__auto__ \x3d (el_type \x3d\x3d null);\nif(or__5045__auto__){\nreturn or__5045__auto__;\n} else {\nvar and__5043__auto__ \x3d typeof el_type \x3d\x3d\x3d \x27string\x27;\nif(and__5043__auto__){\nreturn hide_dom_QMARK_;\n} else {\nreturn and__5043__auto__;\n}\n}\n})())){\nreturn cljs_react_devtools.core.render_children(node__$1,state,set_state);\n} else {\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x224px 0 4px 8px\x22}}],[(cljs.core.truth_(cljs_react_devtools.core.has_non_primitive_children_QMARK_(node__$1))?null:uix.compiler.aot._GT_el(\x22span\x22,[{\x27style\x27:{\x27margin\x27:\x220 4px 0 0\x22,\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22icon-chevron\x22,\x22icon-chevron\x22,-1823771456).cljs$core$IFn$_invoke$arity$1(colors)),\x27display\x27:\x22inline-block\x22,\x27transition\x27:\x22transform 100ms ease-in-out\x22,\x27transform\x27:uix.compiler.attributes.keyword__GT_string((cljs.core.truth_(closed_QMARK_)?\x22rotate(-90deg)\x22:\x22rotate(0deg)\x22))}}],[cljs_react_devtools.core.icon_chevron_down])),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22user-select\x22,\x22user-select\x22,-346451650),new cljs.core.Keyword(null,\x22none\x22,\x22none\x22,1333468478),new cljs.core.Keyword(null,\x22background\x22,\x22background\x22,-863952629),((selected_QMARK_)?new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851).cljs$core$IFn$_invoke$arity$1(colors):null)], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_preview_node.cljs$core$IFn$_invoke$arity$1 ? set_preview_node.cljs$core$IFn$_invoke$arity$1(node__$1) : set_preview_node.call(null, node__$1));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_preview_node.cljs$core$IFn$_invoke$arity$1 ? set_preview_node.cljs$core$IFn$_invoke$arity$1(null) : set_preview_node.call(null, null));\n}),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nvar G__30179_30514 \x3d cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),node__$1);\n(set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30179_30514) : set_state.call(null, G__30179_30514));\n\nif(selected_QMARK_){\nreturn (set_closed.cljs$core$IFn$_invoke$arity$1 ? set_closed.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_closed.call(null, cljs.core.not));\n} else {\nreturn null;\n}\n})], null)],[cljs_react_devtools.core.node__GT_name(node__$1)]),(cljs.core.truth_(closed_QMARK_)?null:cljs_react_devtools.core.render_children(node__$1,state,set_state))]);\n\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30180 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30181 \x3d cljs_react_devtools.core.tree_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30181);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30180);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.tree_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.tree_view.displayName \x3d \x22cljs-react-devtools.core/tree-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.tree_view,\x22name\x22,(function (){var obj30183 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/tree-view\x22});\nreturn obj30183;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30515 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30515.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30515.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.tree_view,\x22(uix/use-state false)(uix/use-context preview-ctx)(uix/use-context theme)\x22,null,null) : sig__29399__auto___30515.call(null, cljs_react_devtools.core.tree_view,\x22(uix/use-state false)(uix/use-context preview-ctx)(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.tree_view,cljs_react_devtools.core.tree_view.displayName);\n\n(cljs_react_devtools.core.tree_view.fast_refresh_signature \x3d sig__29399__auto___30515);\n} else {\n}\n} else {\n}\n\n\ncljs_react_devtools.core.data_view_map \x3d (function cljs_react_devtools$core$data_view_map(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30185 \x3d [clj_props__29460__auto__];\nvar map__30188 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30185,(0),null);\nvar map__30188__$1 \x3d cljs.core.__destructure_map(map__30188);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar tag \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223));\nvar entries_fn \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30188__$1,new cljs.core.Keyword(null,\x22entries-fn\x22,\x22entries-fn\x22,792747104),cljs.core.seq);\nvar key_fn \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30188__$1,new cljs.core.Keyword(null,\x22key-fn\x22,\x22key-fn\x22,-636154479),cljs.core.identity);\nvar open_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125));\nvar set_open \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30188__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30518 \x3d cljs_react_devtools.core.data_view_map.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30518)){\nvar f__29390__auto___30519 \x3d temp__5823__auto___30518;\n(f__29390__auto___30519.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30519.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30519.call(null, ));\n} else {\n}\n} else {\n}\n\nvar entries \x3d (entries_fn.cljs$core$IFn$_invoke$arity$1 ? entries_fn.cljs$core$IFn$_invoke$arity$1(data) : entries_fn.call(null, data));\nif(cljs.core.seq(entries)){\nreturn cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__30189){\nvar vec__30190 \x3d p__30189;\nvar key \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30190,(0),null);\nvar val \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30190,(1),null);\nvar last_idx_QMARK_ \x3d cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(idx,(cljs.core.count(entries) - (1)));\nvar closing__$1 \x3d ((last_idx_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(\x22}\x22,[],false),[closing]):null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(key),\x27style\x27:{\x27display\x27:\x22flex\x22,\x27margin\x27:uix.compiler.attributes.keyword__GT_string(((last_idx_QMARK_)?null:\x220 0 4px 0\x22))}}],[(((idx \x3d\x3d\x3d (0)))?uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs([(cljs.core.truth_(tag)?[\x22#\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),\x22 \x22].join(\x27\x27):null),\x22{\x22].join(\x27\x27),[\x22span\x22,null,null,false],false),[]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),(key_fn.cljs$core$IFn$_invoke$arity$1 ? key_fn.cljs$core$IFn$_invoke$arity$1(key) : key_fn.call(null, key)),new cljs.core.Keyword(null,\x22key?\x22,\x22key?\x22,1224624682),true,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn (set_open.cljs$core$IFn$_invoke$arity$1 ? set_open.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_open.call(null, cljs.core.not));\n}),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22margin-right\x22,\x22margin-right\x22,809689658),(8),new cljs.core.Keyword(null,\x22margin-left\x22,\x22margin-left\x22,2015598377),(((idx \x3e (0)))?(cljs.core.truth_(tag)?(7.5 * ((3) + cljs.core.count(tag))):(6)):null)], null)], null)],[]),(cljs.core.truth_(open_QMARK_)?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing__$1], null)],[]):uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.closed_data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open], null)],[]),[],false),[closing__$1]))]);\n}),entries);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30193 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30194 \x3d cljs_react_devtools.core.data_view_map;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30194);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30193);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view_map.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view_map.displayName \x3d \x22cljs-react-devtools.core/data-view-map\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view_map,\x22name\x22,(function (){var obj30196 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view-map\x22});\nreturn obj30196;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30527 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30527.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30527.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_map,\x22\x22,null,null) : sig__29399__auto___30527.call(null, cljs_react_devtools.core.data_view_map,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_map,cljs_react_devtools.core.data_view_map.displayName);\n\n(cljs_react_devtools.core.data_view_map.fast_refresh_signature \x3d sig__29399__auto___30527);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.data_view_seq \x3d (function cljs_react_devtools$core$data_view_seq(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30198 \x3d [clj_props__29460__auto__];\nvar map__30201 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30198,(0),null);\nvar map__30201__$1 \x3d cljs.core.__destructure_map(map__30201);\nvar vec__30202 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338));\nvar open \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30202,(0),null);\nvar close \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30202,(1),null);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar tag \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar open_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125));\nvar set_open \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30201__$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30528 \x3d cljs_react_devtools.core.data_view_seq.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30528)){\nvar f__29390__auto___30529 \x3d temp__5823__auto___30528;\n(f__29390__auto___30529.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30529.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30529.call(null, ));\n} else {\n}\n} else {\n}\n\nif(cljs.core.empty_QMARK_(data)){\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(open,[],false),[close,closing]);\n} else {\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22}}],[cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,val){\nvar last_idx_QMARK_ \x3d cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(idx,(cljs.core.count(data) - (1)));\nvar closing__$1 \x3d ((last_idx_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(close,[],false),[closing]):null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27display\x27:\x22flex\x22}}],[(((idx \x3d\x3d\x3d (0)))?uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs([(cljs.core.truth_(tag)?[\x22#\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(tag),\x22 \x22].join(\x27\x27):null),cljs.core.str.cljs$core$IFn$_invoke$arity$1(open)].join(\x27\x27),[\x22span\x22,null,null,false],false),[]):null),(cljs.core.truth_(open_QMARK_)?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),(((idx \x3d\x3d\x3d (0)))?new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null):null),new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing__$1], null)],[]):uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.closed_data_view,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),val,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),((last_idx_QMARK_)?null:new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin-right\x22,\x22margin-right\x22,809689658),(8)], null))], null)],[]),[],false),[closing__$1]))]);\n}),data)]);\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30205 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30206 \x3d cljs_react_devtools.core.data_view_seq;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30206);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30205);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view_seq.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view_seq.displayName \x3d \x22cljs-react-devtools.core/data-view-seq\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view_seq,\x22name\x22,(function (){var obj30208 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view-seq\x22});\nreturn obj30208;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30534 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30534.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30534.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_seq,\x22\x22,null,null) : sig__29399__auto___30534.call(null, cljs_react_devtools.core.data_view_seq,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_seq,cljs_react_devtools.core.data_view_seq.displayName);\n\n(cljs_react_devtools.core.data_view_seq.fast_refresh_signature \x3d sig__29399__auto___30534);\n} else {\n}\n} else {\n}\n\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.hint_ctx !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.hint_ctx \x3d uix.core.create_context.cljs$core$IFn$_invoke$arity$0();\n}\ncljs_react_devtools.core.fmt_fn \x3d (function cljs_react_devtools$core$fmt_fn(data){\nreturn [\x22fn\x3c\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(((clojure.string.blank_QMARK_(data.name))?\x22anonymous\x22:((clojure.string.includes_QMARK_(data.name,\x22$\x22))?(function (){var parts \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(cljs.core.demunge(data.name),\x22/\x22);\nvar name \x3d cljs.core.last(parts);\nvar ns \x3d clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22.\x22,cljs.core.butlast(parts));\nreturn [ns,\x22/\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(name)].join(\x27\x27);\n})():data.name\n))),\x22\x3e\x22].join(\x27\x27);\n});\ncljs_react_devtools.core.data_view_primitive \x3d (function cljs_react_devtools$core$data_view_primitive(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30210 \x3d [clj_props__29460__auto__];\nvar map__30213 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30210,(0),null);\nvar map__30213__$1 \x3d cljs.core.__destructure_map(map__30213);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar data_raw \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,\x22data-raw\x22,\x22data-raw\x22,822066711));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30213__$1,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30544 \x3d cljs_react_devtools.core.data_view_primitive.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30544)){\nvar f__29390__auto___30545 \x3d temp__5823__auto___30544;\n(f__29390__auto___30545.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30545.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30545.call(null, ));\n} else {\n}\n} else {\n}\n\nvar data__$1 \x3d (function (){var or__5045__auto__ \x3d data_raw;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([data], 0));\n}\n})();\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el(\x22span\x22,[{\x27title\x27:uix.compiler.attributes.keyword__GT_string(data__$1),\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(color),\x27maxWidth\x27:(180),\x27display\x27:\x22inline-block\x22,\x27overflow\x27:\x22hidden\x22,\x27textOverflow\x27:\x22ellipsis\x22}}],[data__$1]),[],false),[closing]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30214 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30215 \x3d cljs_react_devtools.core.data_view_primitive;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30215);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30214);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view_primitive.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view_primitive.displayName \x3d \x22cljs-react-devtools.core/data-view-primitive\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view_primitive,\x22name\x22,(function (){var obj30217 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view-primitive\x22});\nreturn obj30217;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30551 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30551.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30551.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view_primitive,\x22\x22,null,null) : sig__29399__auto___30551.call(null, cljs_react_devtools.core.data_view_primitive,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view_primitive,cljs_react_devtools.core.data_view_primitive.displayName);\n\n(cljs_react_devtools.core.data_view_primitive.fast_refresh_signature \x3d sig__29399__auto___30551);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.atomic_data_view \x3d (function cljs_react_devtools$core$atomic_data_view(p__30218){\nvar map__30219 \x3d p__30218;\nvar map__30219__$1 \x3d cljs.core.__destructure_map(map__30219);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30219__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar colors \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30219__$1,new cljs.core.Keyword(null,\x22colors\x22,\x22colors\x22,1157174732));\nif(typeof data \x3d\x3d\x3d \x27number\x27){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif((data \x3d\x3d null)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(cljs.core.boolean_QMARK_(data)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(typeof data \x3d\x3d\x3d \x27string\x27){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(cljs.core.uuid_QMARK_(data)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-string\x22,\x22data-view-string\x22,2012141852).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif((data instanceof cljs.core.Keyword)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-keyword\x22,\x22data-view-keyword\x22,-1300167945).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nif(cljs.core.fn_QMARK_(data)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_primitive,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data-raw\x22,\x22data-raw\x22,822066711),cljs_react_devtools.core.fmt_fn(data),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22data-view-primitive\x22,\x22data-view-primitive\x22,-805867117).cljs$core$IFn$_invoke$arity$1(colors)], null)],[]);\n} else {\nreturn null;\n}\n}\n}\n}\n}\n}\n}\n});\ncljs_react_devtools.core.constructor$ \x3d (function cljs_react_devtools$core$constructor(o){\nvar G__30220 \x3d o;\nif((G__30220 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__30220.constructor;\n}\n});\ncljs_react_devtools.core.atomic_QMARK_ \x3d cljs.core.some_fn.cljs$core$IFn$_invoke$arity$variadic(cljs.core.number_QMARK_,cljs.core.nil_QMARK_,cljs.core.boolean_QMARK_,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.string_QMARK_,cljs.core.uuid_QMARK_,cljs.core.keyword_QMARK_,cljs.core.fn_QMARK_], 0));\ncljs_react_devtools.core.closed_data_view \x3d (function cljs_react_devtools$core$closed_data_view(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30223 \x3d [clj_props__29460__auto__];\nvar map__30226 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30223,(0),null);\nvar map__30226__$1 \x3d cljs.core.__destructure_map(map__30226);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar style \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736));\nvar key_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,\x22key?\x22,\x22key?\x22,1224624682));\nvar set_open \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30226__$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30556 \x3d cljs_react_devtools.core.closed_data_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30556)){\nvar f__29390__auto___30557 \x3d temp__5823__auto___30556;\n(f__29390__auto___30557.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30557.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30557.call(null, ));\n} else {\n}\n} else {\n}\n\nvar set_active \x3d uix.core.use_context(cljs_react_devtools.core.hint_ctx);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22pre\x22,[{\x27style\x27:uix.compiler.attributes.convert_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0),new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346),\x2212px\x22], null),style], 0)),[],true),\x27onMouseEnter\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27onMouseLeave\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),\x27onClick\x27:(function (p1__30221_SHARP_){\nif(cljs.core.truth_(cljs_react_devtools.core.atomic_QMARK_(data))){\n} else {\n(set_open.cljs$core$IFn$_invoke$arity$1 ? set_open.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_open.call(null, cljs.core.not));\n}\n\nif(cljs.core.truth_(key_QMARK_)){\nreturn null;\n} else {\np1__30221_SHARP_.stopPropagation();\n\nreturn console.dir(data);\n}\n})}],[((cljs.core.map_QMARK_(data))?((cljs.core.seq(data))?\x22{...}\x22:\x22{}\x22):((cljs.core.vector_QMARK_(data))?((cljs.core.seq(data))?\x22[...]\x22:\x22[]\x22):((cljs.core.set_QMARK_(data))?((cljs.core.seq(data))?\x22#{...}\x22:\x22#{}\x22):((cljs.core.seq_QMARK_(data))?((cljs.core.seq(data))?\x22(...)\x22:\x22()\x22):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,cljs_react_devtools.core.constructor$(data)))?(((Object.keys(data).length \x3e (0)))?\x22#js {...}\x22:\x22#js {}\x22):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Array,cljs_react_devtools.core.constructor$(data)))?(((data.length \x3e (0)))?\x22#js [...]\x22:\x22#js []\x22):(function (){var or__5045__auto__ \x3d cljs_react_devtools.core.atomic_data_view(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22colors\x22,\x22colors\x22,1157174732),colors], null));\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn \x22...\x22;\n}\n})()\n))))))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30227 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30228 \x3d cljs_react_devtools.core.closed_data_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30228);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30227);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.closed_data_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.closed_data_view.displayName \x3d \x22cljs-react-devtools.core/closed-data-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.closed_data_view,\x22name\x22,(function (){var obj30230 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/closed-data-view\x22});\nreturn obj30230;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30564 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30564.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30564.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.closed_data_view,\x22(uix/use-context hint-ctx)(uix/use-context theme)\x22,null,null) : sig__29399__auto___30564.call(null, cljs_react_devtools.core.closed_data_view,\x22(uix/use-context hint-ctx)(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.closed_data_view,cljs_react_devtools.core.closed_data_view.displayName);\n\n(cljs_react_devtools.core.closed_data_view.fast_refresh_signature \x3d sig__29399__auto___30564);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.data_view30231 \x3d (function cljs_react_devtools$core$data_view30231(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30232 \x3d [clj_props__29460__auto__];\nvar map__30235 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30232,(0),null);\nvar map__30235__$1 \x3d cljs.core.__destructure_map(map__30235);\nvar data \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377));\nvar style \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736));\nvar key_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,\x22key?\x22,\x22key?\x22,1224624682));\nvar on_click \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543));\nvar open_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125));\nvar closing \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30235__$1,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30567 \x3d cljs_react_devtools.core.data_view30231.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30567)){\nvar f__29390__auto___30568 \x3d temp__5823__auto___30567;\n(f__29390__auto___30568.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30568.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30568.call(null, ));\n} else {\n}\n} else {\n}\n\nvar set_active \x3d uix.core.use_context(cljs_react_devtools.core.hint_ctx);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nvar vec__30236 \x3d uix.core.use_state(open_QMARK_);\nvar open_QMARK___$1 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30236,(0),null);\nvar set_open \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30236,(1),null);\nreturn uix.compiler.aot._GT_el(\x22pre\x22,[{\x27style\x27:uix.compiler.attributes.convert_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0),new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346),\x2212px\x22], null),style], 0)),[],true),\x27onMouseEnter\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27onMouseLeave\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),\x27onClick\x27:(function (e){\nif(cljs.core.truth_(on_click)){\n(on_click.cljs$core$IFn$_invoke$arity$0 ? on_click.cljs$core$IFn$_invoke$arity$0() : on_click.call(null, ));\n} else {\n}\n\nif(cljs.core.truth_(key_QMARK_)){\nreturn null;\n} else {\ne.stopPropagation();\n\nreturn console.dir(data);\n}\n})}],[((cljs.core.map_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_map,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core.vector_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22[\x22,\x22]\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core.set_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22#{\x22,\x22}\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core.seq_QMARK_(data))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22(\x22,\x22)\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Object,cljs_react_devtools.core.constructor$(data)))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_map,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),\x22js\x22,new cljs.core.Keyword(null,\x22entries-fn\x22,\x22entries-fn\x22,792747104),Object.entries,new cljs.core.Keyword(null,\x22key-fn\x22,\x22key-fn\x22,-636154479),cljs.core.keyword,new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(Array,cljs_react_devtools.core.constructor$(data)))?uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view_seq,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22tag\x22,\x22tag\x22,-1290361223),\x22js\x22,new cljs.core.Keyword(null,\x22brackets\x22,\x22brackets\x22,1720097338),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22[\x22,\x22]\x22], null),new cljs.core.Keyword(null,\x22open?\x22,\x22open?\x22,1238443125),open_QMARK___$1,new cljs.core.Keyword(null,\x22set-open\x22,\x22set-open\x22,-55119703),set_open,new cljs.core.Keyword(null,\x22closing\x22,\x22closing\x22,-1862893890),closing], null)],[]):(function (){var or__5045__auto__ \x3d cljs_react_devtools.core.atomic_data_view(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),data,new cljs.core.Keyword(null,\x22colors\x22,\x22colors\x22,1157174732),colors], null));\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([data], 0)),[],false),[closing]);\n}\n})()\n))))))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30239 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30240 \x3d cljs_react_devtools.core.data_view30231;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30240);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30239);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.data_view30231.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.data_view30231.displayName \x3d \x22cljs-react-devtools.core/data-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.data_view30231,\x22name\x22,(function (){var obj30242 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/data-view\x22});\nreturn obj30242;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30578 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30578.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30578.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.data_view30231,\x22(uix/use-context hint-ctx)(uix/use-context theme)(uix/use-state open?)\x22,null,null) : sig__29399__auto___30578.call(null, cljs_react_devtools.core.data_view30231,\x22(uix/use-context hint-ctx)(uix/use-context theme)(uix/use-state open?)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.data_view30231,cljs_react_devtools.core.data_view30231.displayName);\n\n(cljs_react_devtools.core.data_view30231.fast_refresh_signature \x3d sig__29399__auto___30578);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.data_view \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.data_view30231);\ncljs_react_devtools.core.node__GT_props \x3d (function cljs_react_devtools$core$node__GT_props(node){\nvar el_type \x3d node.elementType;\nif(typeof el_type \x3d\x3d\x3d \x27string\x27){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),node.memoizedProps,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n} else {\nif(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(node))){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),(function (){var props \x3d cljs.core.rest((function (){var G__30243 \x3d node;\nvar G__30243__$1 \x3d (((G__30243 \x3d\x3d null))?null:G__30243.memoizedProps);\nif((G__30243__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__30243__$1.argv;\n}\n})());\nif(cljs.core.seq(props)){\nreturn cljs.core.vec(props);\n} else {\nreturn null;\n}\n})(),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n} else {\nif(cljs.core.truth_(cljs_react_devtools.core.uix_node_QMARK_(node))){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),node.memoizedProps.argv,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n} else {\nreturn null;\n}\n}\n}\n});\ncljs_react_devtools.core.node__GT_hooks \x3d (function cljs_react_devtools$core$node__GT_hooks(mem_state){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d mem_state;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn (!((mem_state.memoizedState \x3d\x3d null)));\n} else {\nreturn and__5043__auto__;\n}\n})())){\nreturn (new cljs.core.LazySeq(null,(function (){\nreturn cljs.core.cons(mem_state.memoizedState,(cljs.core.truth_(mem_state.next)?(function (){var G__30244 \x3d mem_state.next;\nreturn (cljs_react_devtools.core.node__GT_hooks.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.node__GT_hooks.cljs$core$IFn$_invoke$arity$1(G__30244) : cljs_react_devtools.core.node__GT_hooks.call(null, G__30244));\n})():null));\n}),null,null));\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.node__GT_captured_state \x3d (function cljs_react_devtools$core$node__GT_captured_state(node){\nvar G__30245 \x3d node;\nvar G__30245__$1 \x3d (((G__30245 \x3d\x3d null))?null:G__30245.stateNode);\nvar G__30245__$2 \x3d (((G__30245__$1 \x3d\x3d null))?null:G__30245__$1.cljsRatom);\nif((G__30245__$2 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__30245__$2.captured;\n}\n});\ncljs_react_devtools.core.rf_sub \x3d (function cljs_react_devtools$core$rf_sub(node){\nreturn node.__devtools_label;\n});\ncljs_react_devtools.core.node__GT_rf_subs \x3d (function cljs_react_devtools$core$node__GT_rf_subs(node){\nreturn cljs.core.keep.cljs$core$IFn$_invoke$arity$2((function (p1__30246_SHARP_){\nvar temp__5823__auto__ \x3d cljs_react_devtools.core.rf_sub(p1__30246_SHARP_);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar label \x3d temp__5823__auto__;\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),label,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]),p1__30246_SHARP_], null);\n} else {\nreturn null;\n}\n}),cljs_react_devtools.core.node__GT_captured_state(node));\n});\ncljs_react_devtools.core.node__GT_reactions \x3d (function cljs_react_devtools$core$node__GT_reactions(node){\nreturn cljs.core.keep.cljs$core$IFn$_invoke$arity$2((function (p1__30247_SHARP_){\nif(((cljs.core.not((function (){var G__30248 \x3d p1__30247_SHARP_;\nvar G__30248__$1 \x3d (((G__30248 \x3d\x3d null))?null:G__30248.state);\nif((G__30248__$1 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__30248__$1.generation;\n}\n})())) \x26\x26 (cljs.core.not(cljs_react_devtools.core.rf_sub(p1__30247_SHARP_))))){\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [\x22ratom\x22,p1__30247_SHARP_], null);\n} else {\nreturn null;\n}\n}),cljs_react_devtools.core.node__GT_captured_state(node));\n});\ncljs_react_devtools.core.camel_case__GT_kebab_case \x3d (function cljs_react_devtools$core$camel_case__GT_kebab_case(s){\nreturn clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22-\x22,cljs.core.map.cljs$core$IFn$_invoke$arity$2(clojure.string.lower_case,clojure.string.split.cljs$core$IFn$_invoke$arity$2(s,/(?\x3c\x3d[a-z])(?\x3d[A-Z])/)));\n});\ncljs_react_devtools.core.section_header \x3d (function cljs_react_devtools$core$section_header(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30250 \x3d [clj_props__29460__auto__];\nvar map__30253 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30250,(0),null);\nvar map__30253__$1 \x3d cljs.core.__destructure_map(map__30253);\nvar children \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30253__$1,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30588 \x3d cljs_react_devtools.core.section_header.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30588)){\nvar f__29390__auto___30591 \x3d temp__5823__auto___30588;\n(f__29390__auto___30591.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30591.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30591.call(null, ));\n} else {\n}\n} else {\n}\n\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors)),\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851).cljs$core$IFn$_invoke$arity$1(colors)),\x27margin\x27:\x220 0 4px 0\x22,\x27padding\x27:\x220 4px\x22}}],[children]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30254 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30255 \x3d cljs_react_devtools.core.section_header;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30255);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30254);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.section_header.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.section_header.displayName \x3d \x22cljs-react-devtools.core/section-header\x22);\n\nObject.defineProperty(cljs_react_devtools.core.section_header,\x22name\x22,(function (){var obj30257 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/section-header\x22});\nreturn obj30257;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30592 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30592.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30592.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.section_header,\x22(uix/use-context theme)\x22,null,null) : sig__29399__auto___30592.call(null, cljs_react_devtools.core.section_header,\x22(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.section_header,cljs_react_devtools.core.section_header.displayName);\n\n(cljs_react_devtools.core.section_header.fast_refresh_signature \x3d sig__29399__auto___30592);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.editable_ref \x3d (function cljs_react_devtools$core$editable_ref(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30260 \x3d [clj_props__29460__auto__];\nvar map__30263 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30260,(0),null);\nvar map__30263__$1 \x3d cljs.core.__destructure_map(map__30263);\nvar ref \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar label \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804));\nvar type \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30263__$1,new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30594 \x3d cljs_react_devtools.core.editable_ref.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30594)){\nvar f__29390__auto___30595 \x3d temp__5823__auto___30594;\n(f__29390__auto___30595.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30595.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30595.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__30264 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30264,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30264,(1),null);\nvar value \x3d ref.state;\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27onDoubleClick\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27onMouseEnter\x27:(cljs.core.truth_(active_QMARK_)?null:(function (p1__30258_SHARP_){\nvar G__30267_30600 \x3d [\x22double click on the value to update the \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(label)].join(\x27\x27);\n(set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(G__30267_30600) : set_hint.call(null, G__30267_30600));\n\nreturn p1__30258_SHARP_.stopPropagation();\n})),\x27onMouseLeave\x27:(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n})}],[(cljs.core.truth_(active_QMARK_)?uix.compiler.aot.create_uix_input(\x22input\x22,[{\x27defaultValue\x27:uix.compiler.attributes.keyword__GT_string(value),\x27type\x27:((typeof value \x3d\x3d\x3d \x27number\x27)?new cljs.core.Keyword(null,\x22number\x22,\x22number\x22,1570378438):new cljs.core.Keyword(null,\x22text\x22,\x22text\x22,-1790561697)),\x27autoFocus\x27:true,\x27onBlur\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),\x27onKeyDown\x27:(function (e){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(e.key,\x22Enter\x22)){\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22sub\x22,\x22sub\x22,-2093760025),type)){\n(ref.on_set \x3d cljs.core.identity);\n} else {\n}\n\nif(typeof value \x3d\x3d\x3d \x27number\x27){\ncljs.core.reset_BANG_(ref,parseFloat(e.target.value,(10)));\n} else {\ncljs.core.reset_BANG_(ref,e.target.value);\n}\n\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22sub\x22,\x22sub\x22,-2093760025),type)){\n(ref.on_set \x3d undefined);\n} else {\n}\n\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n} else {\nreturn null;\n}\n})}],[]):uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),value,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30268 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30269 \x3d cljs_react_devtools.core.editable_ref;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30269);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30268);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.editable_ref.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.editable_ref.displayName \x3d \x22cljs-react-devtools.core/editable-ref\x22);\n\nObject.defineProperty(cljs_react_devtools.core.editable_ref,\x22name\x22,(function (){var obj30271 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/editable-ref\x22});\nreturn obj30271;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30603 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30603.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30603.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.editable_ref,\x22(uix/use-state false)\x22,null,null) : sig__29399__auto___30603.call(null, cljs_react_devtools.core.editable_ref,\x22(uix/use-state false)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.editable_ref,cljs_react_devtools.core.editable_ref.displayName);\n\n(cljs_react_devtools.core.editable_ref.fast_refresh_signature \x3d sig__29399__auto___30603);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.reactions_view \x3d (function cljs_react_devtools$core$reactions_view(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30273 \x3d [clj_props__29460__auto__];\nvar map__30276 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30273,(0),null);\nvar map__30276__$1 \x3d cljs.core.__destructure_map(map__30276);\nvar node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30276__$1,new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30276__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30606 \x3d cljs_react_devtools.core.reactions_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30606)){\nvar f__29390__auto___30607 \x3d temp__5823__auto___30606;\n(f__29390__auto___30607.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30607.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30607.call(null, ));\n} else {\n}\n} else {\n}\n\nvar reactions \x3d cljs_react_devtools.core.node__GT_reactions(node);\nvar subs \x3d cljs_react_devtools.core.node__GT_rf_subs(node);\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(((cljs.core.seq(reactions))?uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22reactions\x22),[]),cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__30277){\nvar vec__30278 \x3d p__30277;\nvar type \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30278,(0),null);\nvar reaction \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30278,(1),null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(type,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.editable_ref,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967),reaction,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),\x22reaction\x22], null)],[])])]);\n}),reactions)]):null),[],false),[((cljs.core.seq(subs))?uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22re-frame subscriptions\x22),[]),cljs.core.map_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,p__30281){\nvar vec__30282 \x3d p__30281;\nvar type \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30282,(0),null);\nvar sub \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30282,(1),null);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(type,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.editable_ref,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22ref\x22,\x22ref\x22,1289896967),sub,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),\x22subscription\x22,new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22sub\x22,\x22sub\x22,-2093760025)], null)],[])])]);\n}),subs)]):null)]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30285 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30286 \x3d cljs_react_devtools.core.reactions_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30286);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30285);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.reactions_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.reactions_view.displayName \x3d \x22cljs-react-devtools.core/reactions-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.reactions_view,\x22name\x22,(function (){var obj30288 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/reactions-view\x22});\nreturn obj30288;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30609 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30609.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30609.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.reactions_view,\x22\x22,null,null) : sig__29399__auto___30609.call(null, cljs_react_devtools.core.reactions_view,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.reactions_view,cljs_react_devtools.core.reactions_view.displayName);\n\n(cljs_react_devtools.core.reactions_view.fast_refresh_signature \x3d sig__29399__auto___30609);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.hooks_view \x3d (function cljs_react_devtools$core$hooks_view(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30290 \x3d [clj_props__29460__auto__];\nvar map__30293 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30290,(0),null);\nvar map__30293__$1 \x3d cljs.core.__destructure_map(map__30293);\nvar node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30293__$1,new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30614 \x3d cljs_react_devtools.core.hooks_view.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30614)){\nvar f__29390__auto___30615 \x3d temp__5823__auto___30614;\n(f__29390__auto___30615.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30615.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30615.call(null, ));\n} else {\n}\n} else {\n}\n\nvar hooks \x3d cljs_react_devtools.core.node__GT_hooks(node.memoizedState);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nif(cljs.core.seq(hooks)){\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22hooks\x22),[]),cljs.core.keep_indexed.cljs$core$IFn$_invoke$arity$2((function (idx,hook){\nif(cljs.core.truth_((function (){var and__5043__auto__ \x3d Array.isArray(hook);\nif(cljs.core.truth_(and__5043__auto__)){\nvar and__5043__auto____$1 \x3d Array.isArray((hook[(1)]));\nif(cljs.core.truth_(and__5043__auto____$1)){\nreturn ((cljs.core.fn_QMARK_(((hook[(1)])[(0)]))) \x26\x26 (cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(\x22bound dispatchSetState\x22,((hook[(1)])[(0)]).name)));\n} else {\nreturn and__5043__auto____$1;\n}\n} else {\nreturn and__5043__auto__;\n}\n})())){\nreturn null;\n} else {\nvar name \x3d cljs_react_devtools.core.camel_case__GT_kebab_case((node._debugHookTypes[idx]));\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(idx),\x27style\x27:{\x27margin\x27:\x228px 0\x22}}],[uix.compiler.aot._GT_el(\x22span\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors))}}],[name]),(function (){var G__30294 \x3d name;\nswitch (G__30294) {\ncase \x22use-callback\x22:\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22callback:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),(hook[(0)]),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])]),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22deps:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),cljs.core.vec((hook[(1)])),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])])]);\n\nbreak;\ncase \x22use-effect\x22:\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22effect:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),hook.create,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])]),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27gap\x27:(8)}}],[uix.compiler.aot._GT_el(\x22span\x22,uix.compiler.attributes.interpret_attrs(\x22deps:\x22,[\x22span\x22,null,null,false],false),[]),uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),cljs.core.vec(hook.deps),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[])])]);\n\nbreak;\ncase \x22use-ref\x22:\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),hook.current.current,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n\nbreak;\ndefault:\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.data_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22data\x22,\x22data\x22,-232669377),hook,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),(0)], null)], null)],[]);\n\n}\n})()]);\n}\n}),hooks)]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30295 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30296 \x3d cljs_react_devtools.core.hooks_view;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30296);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30295);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.hooks_view.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.hooks_view.displayName \x3d \x22cljs-react-devtools.core/hooks-view\x22);\n\nObject.defineProperty(cljs_react_devtools.core.hooks_view,\x22name\x22,(function (){var obj30298 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/hooks-view\x22});\nreturn obj30298;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30639 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30639.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30639.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.hooks_view,\x22(uix/use-context theme)\x22,null,null) : sig__29399__auto___30639.call(null, cljs_react_devtools.core.hooks_view,\x22(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.hooks_view,cljs_react_devtools.core.hooks_view.displayName);\n\n(cljs_react_devtools.core.hooks_view.fast_refresh_signature \x3d sig__29399__auto___30639);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.use_resize_handler \x3d (function cljs_react_devtools$core$use_resize_handler(p__30300){\nvar map__30301 \x3d p__30300;\nvar map__30301__$1 \x3d cljs.core.__destructure_map(map__30301);\nvar set_size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30301__$1,new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587));\nvar dir \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30301__$1,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661));\nvar max \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30301__$1,new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548),(100));\nvar min \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$3(map__30301__$1,new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522),(0));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30301__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar vec__30302 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30302,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30302,(1),null);\nvar ref \x3d uix.core.use_ref.cljs$core$IFn$_invoke$arity$0();\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(active_QMARK_)){\nvar move_handler \x3d (function (e){\nvar node \x3d cljs.core.deref(ref);\nvar bb \x3d node.getBoundingClientRect();\nvar v \x3d (((100) / ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?window.innerHeight:window.innerWidth)) * ((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?(bb.y - e.y):((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?(e.x - (bb.x + bb.width)):(bb.x - e.x)\n)));\nvar G__30306 \x3d (function (p1__30299_SHARP_){\nvar v__$1 \x3d (p1__30299_SHARP_ + v);\nif((((max \x3e\x3d v__$1)) \x26\x26 ((v__$1 \x3e\x3d min)))){\nreturn v__$1;\n} else {\nreturn p1__30299_SHARP_;\n}\n});\nreturn (set_size.cljs$core$IFn$_invoke$arity$1 ? set_size.cljs$core$IFn$_invoke$arity$1(G__30306) : set_size.call(null, G__30306));\n});\nvar up_handler \x3d (function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n});\ndocument.addEventListener(\x22mousemove\x22,move_handler);\n\ndocument.addEventListener(\x22mouseup\x22,up_handler);\n\nreturn (function (){\ndocument.removeEventListener(\x22mousemove\x22,move_handler);\n\nreturn document.removeEventListener(\x22mouseup\x22,up_handler);\n});\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [active_QMARK_,set_size,dir,max,min,location__$1], null))]);\n\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [ref,set_active], null);\n});\ncljs_react_devtools.core.resize_handle \x3d (function cljs_react_devtools$core$resize_handle(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30308 \x3d [clj_props__29460__auto__];\nvar map__30311 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30308,(0),null);\nvar map__30311__$1 \x3d cljs.core.__destructure_map(map__30311);\nvar props \x3d map__30311__$1;\nvar set_size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587));\nvar dir \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661));\nvar max \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548));\nvar min \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30311__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30644 \x3d cljs_react_devtools.core.resize_handle.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30644)){\nvar f__29390__auto___30645 \x3d temp__5823__auto___30644;\n(f__29390__auto___30645.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30645.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30645.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__30312 \x3d cljs_react_devtools.core.use_resize_handler(props);\nvar ref \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30312,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30312,(1),null);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27ref\x27:uix.compiler.attributes.keyword__GT_string(ref),\x27onMouseDown\x27:(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),\x27style\x27:{\x27height\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?\x224px\x22:\x22100%\x22)),\x27width\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?\x22100%\x22:\x224px\x22)),\x27position\x27:\x22absolute\x22,\x27left\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?(0):null)),\x27right\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?(0):null)),\x27top\x27:(0),\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22resize-handle\x22,\x22resize-handle\x22,542557491).cljs$core$IFn$_invoke$arity$1(colors)),\x27cursor\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(dir,new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)))?new cljs.core.Keyword(null,\x22ns-resize\x22,\x22ns-resize\x22,956566071):new cljs.core.Keyword(null,\x22ew-resize\x22,\x22ew-resize\x22,2045777767)))}}],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30315 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30316 \x3d cljs_react_devtools.core.resize_handle;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30316);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30315);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.resize_handle.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.resize_handle.displayName \x3d \x22cljs-react-devtools.core/resize-handle\x22);\n\nObject.defineProperty(cljs_react_devtools.core.resize_handle,\x22name\x22,(function (){var obj30318 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/resize-handle\x22});\nreturn obj30318;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30648 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30648.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30648.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.resize_handle,\x22(use-resize-handler props)(uix/use-context theme)\x22,null,null) : sig__29399__auto___30648.call(null, cljs_react_devtools.core.resize_handle,\x22(use-resize-handler props)(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.resize_handle,cljs_react_devtools.core.resize_handle.displayName);\n\n(cljs_react_devtools.core.resize_handle.fast_refresh_signature \x3d sig__29399__auto___30648);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.use_size \x3d (function cljs_react_devtools$core$use_size(v,k){\nvar vec__30320 \x3d uix.core.use_state((function (){\nvar temp__5821__auto__ \x3d localStorage.getItem(cljs.core.str.cljs$core$IFn$_invoke$arity$1(k));\nif(cljs.core.truth_(temp__5821__auto__)){\nvar n \x3d temp__5821__auto__;\nvar n__$1 \x3d parseFloat(n,(10));\nif(cljs.core.truth_(Number.isNaN(n__$1))){\nreturn v;\n} else {\nreturn n__$1;\n}\n} else {\nreturn v;\n}\n}));\nvar size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30320,(0),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30320,(1),null);\nvar f \x3d uix.hooks.alpha.use_memo((function (){\nreturn goog.functions.debounce((function (p1__30319_SHARP_){\nreturn localStorage.setItem(cljs.core.str.cljs$core$IFn$_invoke$arity$1(k),p1__30319_SHARP_);\n}),(100));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [k], null))]);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nreturn (f.cljs$core$IFn$_invoke$arity$1 ? f.cljs$core$IFn$_invoke$arity$1(size) : f.call(null, size));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [size,f], null))]);\n\nreturn new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [size,set_size], null);\n});\ncljs_react_devtools.core.inspector \x3d (function cljs_react_devtools$core$inspector(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30324 \x3d [clj_props__29460__auto__];\nvar map__30327 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30324,(0),null);\nvar map__30327__$1 \x3d cljs.core.__destructure_map(map__30327);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30327__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30327__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30327__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30651 \x3d cljs_react_devtools.core.inspector.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30651)){\nvar f__29390__auto___30652 \x3d temp__5823__auto___30651;\n(f__29390__auto___30652.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30652.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30652.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__30328 \x3d state;\nvar map__30328__$1 \x3d cljs.core.__destructure_map(map__30328);\nvar selected \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30328__$1,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764));\nvar vec__30329 \x3d cljs_react_devtools.core.use_size((35),new cljs.core.Keyword(\x22cljs-devtools-inspector\x22,\x22ui-size\x22,\x22cljs-devtools-inspector/ui-size\x22,-1292295346));\nvar size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30329,(0),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30329,(1),null);\nvar vec__30332 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30332,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30332,(1),null);\nvar horizontal_QMARK_ \x3d cljs.core.contains_QMARK_(new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null),location__$1);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(active_QMARK_)){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22click on the value to log it to console\x22) : set_hint.call(null, \x22click on the value to log it to console\x22));\n} else {\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22\x22) : set_hint.call(null, \x22\x22));\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [active_QMARK_,set_hint], null))]);\n\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27borderTop\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?null:\x221px solid #8632ff75\x22)),\x27width\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22%\x22].join(\x27\x27):\x22100%\x22)),\x27flexDirection\x27:\x22column\x22,\x27padding\x27:\x220 8px 32px\x22,\x27borderLeft\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?\x221px solid #8632ff75\x22:null)),\x27display\x27:\x22flex\x22,\x27position\x27:\x22relative\x22,\x27boxSizing\x27:\x22border-box\x22,\x27height\x27:uix.compiler.attributes.keyword__GT_string(((horizontal_QMARK_)?null:[cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22vh\x22].join(\x27\x27)))}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.resize_handle,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587),set_size,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661),((horizontal_QMARK_)?new cljs.core.Keyword(null,\x22horizontal\x22,\x22horizontal\x22,2062109475):new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748)),new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548),(50),new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522),(20)], null)],[]),(cljs.core.truth_(selected)?uix.compiler.alpha.component_element(cljs_react_devtools.core.hint_ctx.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),set_active], null)],[uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn console.log(selected.elementType);\n}),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x228px 0 0 0\x22,new cljs.core.Keyword(null,\x22display\x22,\x22display\x22,242065432),new cljs.core.Keyword(null,\x22block\x22,\x22block\x22,664686210),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors)], null)], null)],[cljs_react_devtools.core.node__GT_name.cljs$core$IFn$_invoke$arity$variadic(selected,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22lib?\x22,\x22lib?\x22,-150324554),true,new cljs.core.Keyword(null,\x22file?\x22,\x22file?\x22,1755223728),true], 0))]),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27margin\x27:\x228px 0 0 0\x22,\x27overflowY\x27:\x22auto\x22,\x27flex\x27:(1)}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.section_header,uix.compiler.attributes.interpret_props(\x22props\x22),[]),cljs_react_devtools.core.node__GT_props(selected),(cljs.core.truth_(cljs_react_devtools.core.reagent_node_QMARK_(selected))?uix.compiler.alpha.component_element(cljs_react_devtools.core.reactions_view,[new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),selected,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint], null)],[]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.hooks_view,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),selected], null)],[])])])]):null)]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30335 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30336 \x3d cljs_react_devtools.core.inspector;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30336);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30335);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.inspector.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.inspector.displayName \x3d \x22cljs-react-devtools.core/inspector\x22);\n\nObject.defineProperty(cljs_react_devtools.core.inspector,\x22name\x22,(function (){var obj30338 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/inspector\x22});\nreturn obj30338;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30662 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30662.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30662.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.inspector,\x22(use-size 35 :cljs-devtools-inspector/ui-size)(uix/use-state false)(uix/use-context theme)(uix/use-effect (fn [] (if active? (set-hint \\\x22click on the value to log it to console\\\x22) (set-hint \\\x22\\\x22))) [active? set-hint])\x22,null,null) : sig__29399__auto___30662.call(null, cljs_react_devtools.core.inspector,\x22(use-size 35 :cljs-devtools-inspector/ui-size)(uix/use-state false)(uix/use-context theme)(uix/use-effect (fn [] (if active? (set-hint \\\x22click on the value to log it to console\\\x22) (set-hint \\\x22\\\x22))) [active? set-hint])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.inspector,cljs_react_devtools.core.inspector.displayName);\n\n(cljs_react_devtools.core.inspector.fast_refresh_signature \x3d sig__29399__auto___30662);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.error_boundary \x3d uix.core.create_error_boundary(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22derive-error-state\x22,\x22derive-error-state\x22,-1373095498),(function (error){\nreturn new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032),error], null);\n})], null),(function (p__30339,p__30340){\nvar vec__30341 \x3d p__30339;\nvar map__30344 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30341,(0),null);\nvar map__30344__$1 \x3d cljs.core.__destructure_map(map__30344);\nvar error \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30344__$1,new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032));\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30341,(1),null);\nvar map__30345 \x3d p__30340;\nvar map__30345__$1 \x3d cljs.core.__destructure_map(map__30345);\nvar children \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30345__$1,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982));\nif(cljs.core.truth_(error)){\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:\x22#ec681f\x22,\x27background\x27:\x22#faf0ec\x22,\x27flex\x27:(1),\x27flexDirection\x27:\x22column\x22,\x27justifyContent\x27:\x22center\x22,\x27gap\x27:(16),\x27display\x27:\x22flex\x22,\x27fontSize\x27:\x2216px\x22,\x27alignItems\x27:\x22center\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,uix.compiler.attributes.interpret_attrs(\x22Something went wrong\x22,[\x22div\x22,null,null,false],false),[]),uix.compiler.aot._GT_el(\x22div\x22,uix.compiler.attributes.interpret_attrs((((error instanceof Error))?error.message:error),[\x22div\x22,null,null,false],false),[]),uix.compiler.aot._GT_el(\x22a\x22,[{\x27href\x27:\x22https://github.com/roman01la/cljs-react-devtools\x22,\x27target\x27:\x22blank_\x22,\x27style\x27:{\x27background\x27:\x22#ff784b\x22,\x27color\x27:\x22#faf0ec\x22,\x27padding\x27:\x228px 12px\x22,\x27borderRadius\x27:\x223px\x22}}],[\x22report an issue\x22])]);\n} else {\nreturn children;\n}\n}));\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.window_settings !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.window_settings \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),(800),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),(400),new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961),(0),new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937),(0),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),(function (){var v \x3d localStorage.getItem(\x22:cljs-devtools/window-location\x22);\nif(clojure.string.blank_QMARK_(v)){\nreturn new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018);\n} else {\nreturn cljs.core.keyword.cljs$core$IFn$_invoke$arity$1(v);\n}\n})()], null));\n}\ncljs_react_devtools.core.close_window \x3d (function cljs_react_devtools$core$close_window(location){\nif(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.popout_window))){\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.window_settings,cljs.core.assoc,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location);\n\nreturn cljs.core.deref(cljs_react_devtools.core.popout_window).close();\n} else {\nreturn (cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$2 ? cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location) : cljs_react_devtools.core.dock_devtools.call(null, new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location));\n}\n});\ncljs_react_devtools.core.toolbar \x3d (function cljs_react_devtools$core$toolbar(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30347 \x3d [clj_props__29460__auto__];\nvar map__30350 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30347,(0),null);\nvar map__30350__$1 \x3d cljs.core.__destructure_map(map__30350);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913));\nvar hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22hint\x22,\x22hint\x22,439639918));\nvar set_hint \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619));\nvar set_inspecting \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542));\nvar inspecting_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22inspecting?\x22,\x22inspecting?\x22,784834160));\nvar dock_devtools \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22dock-devtools\x22,\x22dock-devtools\x22,-2013730452));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30350__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30667 \x3d cljs_react_devtools.core.toolbar.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30667)){\nvar f__29390__auto___30668 \x3d temp__5823__auto___30667;\n(f__29390__auto___30668.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30668.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30668.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__30351 \x3d state;\nvar map__30351__$1 \x3d cljs.core.__destructure_map(map__30351);\nvar hide_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30351__$1,new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793));\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27padding\x27:\x224px 8px\x22,\x27borderBottom\x27:\x221px solid #8632ff75\x22,\x27fontSize\x27:\x2212px\x22,\x27display\x27:\x22flex\x22,\x27justifyContent\x27:\x22space-between\x22,\x27gap\x27:(32)}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27onMouseEnter\x27:(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22toggle DOM nodes in the tree view\x22) : set_hint.call(null, \x22toggle DOM nodes in the tree view\x22));\n}),\x27onMouseLeave\x27:(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n})}],[uix.compiler.aot.create_uix_input(\x22input\x22,[{\x27id\x27:\x22cljs-devtools_hide-mo-nodes\x22,\x27type\x27:\x22checkbox\x22,\x27checked\x27:uix.compiler.attributes.keyword__GT_string(hide_dom_QMARK_),\x27onChange\x27:(function (){\nvar G__30352 \x3d cljs.core.update.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793),cljs.core.not);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30352) : set_state.call(null, G__30352));\n}),\x27style\x27:{\x27margin\x27:\x220 4px 0 0\x22}}],[]),uix.compiler.aot._GT_el(\x22label\x22,[{\x27htmlFor\x27:\x22cljs-devtools_hide-mo-nodes\x22}],[\x22Hide DOM nodes\x22])]),uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27alignItems\x27:\x22center\x22}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors)),\x27opacity\x27:uix.compiler.attributes.keyword__GT_string(((clojure.string.blank_QMARK_(hint))?(0):(1))),\x27transition\x27:\x22opacity 100ms ease-in-out\x22}}],[hint]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22background\x22,\x22background\x22,-863952629),(cljs.core.truth_(inspecting_QMARK_)?new cljs.core.Keyword(null,\x22highlight-bg\x22,\x22highlight-bg\x22,747485851).cljs$core$IFn$_invoke$arity$1(colors):null),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22select an element to inspect\x22) : set_hint.call(null, \x22select an element to inspect\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Select an element to inspect\x22,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn (set_inspecting.cljs$core$IFn$_invoke$arity$1 ? set_inspecting.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_inspecting.call(null, cljs.core.not));\n})], null)],[cljs_react_devtools.core.icon_cursor_rays]),((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),location__$1))?uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22undock into separate window\x22) : set_hint.call(null, \x22undock into separate window\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Undock into separate window\x22,new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn (dock_devtools.cljs$core$IFn$_invoke$arity$2 ? dock_devtools.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534)) : dock_devtools.call(null, new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534)));\n})], null)],[cljs_react_devtools.core.icon_window]):null),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22dock to bottom\x22) : set_hint.call(null, \x22dock to bottom\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Dock to bottom\x22,new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018)),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018));\n})], null)],[cljs_react_devtools.core.icon_dock_bottom]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22dock to the left\x22) : set_hint.call(null, \x22dock to the left\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Dock to the left\x22,new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937));\n})], null)],[cljs_react_devtools.core.icon_dock_left]),uix.compiler.alpha.component_element(cljs_react_devtools.core.button,[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),new cljs.core.Keyword(null,\x22tool-bar-text\x22,\x22tool-bar-text\x22,-1541344509).cljs$core$IFn$_invoke$arity$1(colors),new cljs.core.Keyword(null,\x22margin\x22,\x22margin\x22,-995903681),\x220 0 0 8px\x22], null),new cljs.core.Keyword(null,\x22on-mouse-enter\x22,\x22on-mouse-enter\x22,-1664921661),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(\x22dock to the right\x22) : set_hint.call(null, \x22dock to the right\x22));\n}),new cljs.core.Keyword(null,\x22on-mouse-leave\x22,\x22on-mouse-leave\x22,-1864319528),(function (){\nreturn (set_hint.cljs$core$IFn$_invoke$arity$1 ? set_hint.cljs$core$IFn$_invoke$arity$1(null) : set_hint.call(null, null));\n}),new cljs.core.Keyword(null,\x22title\x22,\x22title\x22,636505583),\x22Dock to the right\x22,new cljs.core.Keyword(null,\x22disabled\x22,\x22disabled\x22,-1529784218),cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22right\x22,\x22right\x22,-452581833)),new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),(function (){\nreturn cljs_react_devtools.core.close_window(new cljs.core.Keyword(null,\x22right\x22,\x22right\x22,-452581833));\n})], null)],[cljs_react_devtools.core.icon_dock_right])])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30353 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30354 \x3d cljs_react_devtools.core.toolbar;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30354);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30353);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.toolbar.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.toolbar.displayName \x3d \x22cljs-react-devtools.core/toolbar\x22);\n\nObject.defineProperty(cljs_react_devtools.core.toolbar,\x22name\x22,(function (){var obj30356 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/toolbar\x22});\nreturn obj30356;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30673 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30673.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30673.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.toolbar,\x22(uix/use-context theme)\x22,null,null) : sig__29399__auto___30673.call(null, cljs_react_devtools.core.toolbar,\x22(uix/use-context theme)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.toolbar,cljs_react_devtools.core.toolbar.displayName);\n\n(cljs_react_devtools.core.toolbar.fast_refresh_signature \x3d sig__29399__auto___30673);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.intersects_QMARK_ \x3d (function cljs_react_devtools$core$intersects_QMARK_(p__30357,rect){\nvar vec__30358 \x3d p__30357;\nvar x \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30358,(0),null);\nvar y \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30358,(1),null);\nreturn (((((rect.x \x3c\x3d x)) \x26\x26 ((x \x3c\x3d (rect.x + rect.width))))) \x26\x26 ((((rect.y \x3c\x3d y)) \x26\x26 ((y \x3c\x3d (rect.y + rect.height))))));\n});\ncljs_react_devtools.core.use_dom_inspector \x3d (function cljs_react_devtools$core$use_dom_inspector(p__30368){\nvar map__30369 \x3d p__30368;\nvar map__30369__$1 \x3d cljs.core.__destructure_map(map__30369);\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar set_inspecting \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542));\nvar on_target \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,\x22on-target\x22,\x22on-target\x22,-1404015998));\nvar skip_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,\x22skip-dom?\x22,\x22skip-dom?\x22,-1882515885));\nvar preview_node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30369__$1,new cljs.core.Keyword(null,\x22preview-node\x22,\x22preview-node\x22,310928567));\nvar vec__30370 \x3d uix.core.use_state(null);\nvar rect \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30370,(0),null);\nvar set_rect \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30370,(1),null);\nvar nodes \x3d uix.hooks.alpha.use_memo((function (){\nreturn cljs.core.reverse(cljs.core.tree_seq((function (p1__30361_SHARP_){\nreturn (!((p1__30361_SHARP_.children \x3d\x3d null)));\n}),(function (p1__30362_SHARP_){\nreturn cljs.core.seq(p1__30362_SHARP_.children);\n}),root));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [root], null))]);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(preview_node)){\nvar nodes__$1 \x3d cljs.core.tree_seq((function (p1__30363_SHARP_){\nreturn (!((cljs_react_devtools.core.fiber__GT_child(p1__30363_SHARP_) \x3d\x3d null)));\n}),(function (p1__30364_SHARP_){\nreturn cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(p1__30364_SHARP_));\n}),preview_node);\nvar temp__5823__auto__ \x3d cljs.core.some((function (p1__30365_SHARP_){\nif(cljs.core.truth_(p1__30365_SHARP_.stateNode)){\nreturn p1__30365_SHARP_;\n} else {\nreturn null;\n}\n}),nodes__$1);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar node \x3d temp__5823__auto__;\nvar dom_node \x3d node.stateNode;\nvar temp__5823__auto____$1 \x3d (cljs.core.truth_(dom_node.getBoundingClientRect)?dom_node.getBoundingClientRect():(function (){var G__30375 \x3d uix.dom.find_dom_node(dom_node);\nif((G__30375 \x3d\x3d null)){\nreturn null;\n} else {\nreturn G__30375.getBoundingClientRect();\n}\n})());\nif(cljs.core.truth_(temp__5823__auto____$1)){\nvar rect__$1 \x3d temp__5823__auto____$1;\nreturn (set_rect.cljs$core$IFn$_invoke$arity$1 ? set_rect.cljs$core$IFn$_invoke$arity$1(rect__$1) : set_rect.call(null, rect__$1));\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n} else {\nvar node_BANG_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\nvar mouse_handler \x3d (function (e){\nvar x \x3d e.x;\nvar y \x3d e.y;\nvar temp__5823__auto__ \x3d cljs.core.some((function (p1__30366_SHARP_){\nif(cljs_react_devtools.core.intersects_QMARK_(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [x,y], null),p1__30366_SHARP_.getBoundingClientRect())){\nreturn p1__30366_SHARP_;\n} else {\nreturn null;\n}\n}),nodes);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar node \x3d temp__5823__auto__;\ncljs.core.reset_BANG_(node_BANG_,node);\n\nvar G__30376 \x3d node.getBoundingClientRect();\nreturn (set_rect.cljs$core$IFn$_invoke$arity$1 ? set_rect.cljs$core$IFn$_invoke$arity$1(G__30376) : set_rect.call(null, G__30376));\n} else {\nreturn null;\n}\n});\nvar click_handler \x3d (function (){\nvar temp__5823__auto__ \x3d cljs.core.deref(node_BANG_);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar node \x3d temp__5823__auto__;\nvar temp__5823__auto____$1 \x3d cljs.core.some((function (p1__30367_SHARP_){\nif(clojure.string.starts_with_QMARK_(p1__30367_SHARP_,\x22__reactFiber\x22)){\nif(cljs.core.truth_(skip_dom_QMARK_)){\nreturn (node[p1__30367_SHARP_])._debugOwner;\n} else {\nreturn (node[p1__30367_SHARP_]);\n}\n} else {\nreturn null;\n}\n}),Object.keys(node));\nif(cljs.core.truth_(temp__5823__auto____$1)){\nvar target \x3d temp__5823__auto____$1;\n(on_target.cljs$core$IFn$_invoke$arity$1 ? on_target.cljs$core$IFn$_invoke$arity$1(target) : on_target.call(null, target));\n\n(set_inspecting.cljs$core$IFn$_invoke$arity$1 ? set_inspecting.cljs$core$IFn$_invoke$arity$1(false) : set_inspecting.call(null, false));\n\nvar temp__5823__auto____$2 \x3d cljs.core.deref(cljs_react_devtools.core.popout_window);\nif(cljs.core.truth_(temp__5823__auto____$2)){\nvar w \x3d temp__5823__auto____$2;\nreturn w.focus();\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n});\ndocument.addEventListener(\x22mousemove\x22,mouse_handler);\n\ndocument.addEventListener(\x22click\x22,click_handler);\n\nreturn (function (){\ndocument.removeEventListener(\x22mousemove\x22,mouse_handler);\n\nreturn document.removeEventListener(\x22click\x22,click_handler);\n});\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [root,nodes,on_target,set_inspecting,skip_dom_QMARK_,preview_node], null))]);\n\nreturn rect;\n});\ncljs_react_devtools.core.inspector_overlay \x3d (function cljs_react_devtools$core$inspector_overlay(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30379 \x3d [clj_props__29460__auto__];\nvar map__30382 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30379,(0),null);\nvar map__30382__$1 \x3d cljs.core.__destructure_map(map__30382);\nvar props \x3d map__30382__$1;\nvar set_inspecting \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542));\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar on_target \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,\x22on-target\x22,\x22on-target\x22,-1404015998));\nvar skip_dom_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,\x22skip-dom?\x22,\x22skip-dom?\x22,-1882515885));\nvar preview_node \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30382__$1,new cljs.core.Keyword(null,\x22preview-node\x22,\x22preview-node\x22,310928567));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30680 \x3d cljs_react_devtools.core.inspector_overlay.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30680)){\nvar f__29390__auto___30681 \x3d temp__5823__auto___30680;\n(f__29390__auto___30681.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30681.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30681.call(null, ));\n} else {\n}\n} else {\n}\n\nvar temp__5823__auto__ \x3d cljs_react_devtools.core.use_dom_inspector(props);\nif(cljs.core.truth_(temp__5823__auto__)){\nvar rect \x3d temp__5823__auto__;\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27zIndex\x27:(9998),\x27position\x27:\x22fixed\x22,\x27width\x27:\x22100vw\x22,\x27height\x27:\x22100vh\x22,\x27top\x27:(0),\x27left\x27:(0),\x27background\x27:\x22#e7c2ff1a\x22,\x27onClick\x27:uix.compiler.attributes.keyword__GT_string((function (p1__30377_SHARP_){\nreturn p1__30377_SHARP_.stopPropagation();\n}))}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27pointerEvents\x27:\x22none\x22,\x27top\x27:uix.compiler.attributes.keyword__GT_string(rect.y),\x27width\x27:uix.compiler.attributes.keyword__GT_string(rect.width),\x27background\x27:\x22#cd80ffa6\x22,\x27position\x27:\x22absolute\x22,\x27boxSizing\x27:\x22border-box\x22,\x27border\x27:\x221px dashed #da33ff\x22,\x27height\x27:uix.compiler.attributes.keyword__GT_string(rect.height),\x27left\x27:uix.compiler.attributes.keyword__GT_string(rect.x)}}],[])]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30383 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30384 \x3d cljs_react_devtools.core.inspector_overlay;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30384);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30383);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.inspector_overlay.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.inspector_overlay.displayName \x3d \x22cljs-react-devtools.core/inspector-overlay\x22);\n\nObject.defineProperty(cljs_react_devtools.core.inspector_overlay,\x22name\x22,(function (){var obj30386 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/inspector-overlay\x22});\nreturn obj30386;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30685 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30685.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30685.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.inspector_overlay,\x22(use-dom-inspector props)\x22,null,null) : sig__29399__auto___30685.call(null, cljs_react_devtools.core.inspector_overlay,\x22(use-dom-inspector props)\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.inspector_overlay,cljs_react_devtools.core.inspector_overlay.displayName);\n\n(cljs_react_devtools.core.inspector_overlay.fast_refresh_signature \x3d sig__29399__auto___30685);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.devtools_STAR_ \x3d (function cljs_react_devtools$core$devtools_STAR_(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30390 \x3d [clj_props__29460__auto__];\nvar map__30393 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30390,(0),null);\nvar map__30393__$1 \x3d cljs.core.__destructure_map(map__30393);\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30393__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30393__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30686 \x3d cljs_react_devtools.core.devtools_STAR_.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30686)){\nvar f__29390__auto___30687 \x3d temp__5823__auto___30686;\n(f__29390__auto___30687.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30687.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30687.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__30394 \x3d uix.core.use_state((0));\nvar tid \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30394,(0),null);\nvar set_tid \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30394,(1),null);\nvar fiber \x3d uix.hooks.alpha.use_memo((function (){\nif(cljs.core.truth_(root)){\n\nreturn cljs.core.some((function (p1__30387_SHARP_){\nif(clojure.string.starts_with_QMARK_(p1__30387_SHARP_,\x22__reactContainer\x22)){\nreturn (root[p1__30387_SHARP_]);\n} else {\nreturn null;\n}\n}),Object.keys(root));\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [root,tid], null))]);\nvar vec__30397 \x3d uix.core.use_state(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793),true,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),(cljs.core.truth_((function (){var and__5043__auto__ \x3d root;\nif(cljs.core.truth_(and__5043__auto__)){\nreturn fiber;\n} else {\nreturn and__5043__auto__;\n}\n})())?cljs_react_devtools.core.fiber__GT_child(fiber):null)], null));\nvar state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30397,(0),null);\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30397,(1),null);\nvar vec__30400 \x3d cljs_react_devtools.core.use_size((35),new cljs.core.Keyword(\x22cljs-devtools\x22,\x22ui-size\x22,\x22cljs-devtools/ui-size\x22,1389587364));\nvar size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30400,(0),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30400,(1),null);\nvar vec__30403 \x3d uix.core.use_state(\x22\x22);\nvar hint \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30403,(0),null);\nvar set_hint \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30403,(1),null);\nvar vec__30406 \x3d uix.core.use_state(false);\nvar inspecting_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30406,(0),null);\nvar set_inspecting \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30406,(1),null);\nvar vec__30409 \x3d uix.core.use_state(false);\nvar preview_node \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30409,(0),null);\nvar set_preview_node \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30409,(1),null);\nvar on_target \x3d uix.hooks.alpha.use_callback((function (fiber__$1){\nvar G__30413 \x3d (function (p1__30388_SHARP_){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(p1__30388_SHARP_,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),fiber__$1);\n});\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30413) : set_state.call(null, G__30413));\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\nvar colors \x3d uix.core.use_context(cljs_react_devtools.core.theme);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nvar handler \x3d goog.functions.throttle((function (){\nreturn (set_tid.cljs$core$IFn$_invoke$arity$1 ? set_tid.cljs$core$IFn$_invoke$arity$1(cljs.core.inc) : set_tid.call(null, cljs.core.inc));\n}),(100));\nvar obs \x3d (new MutationObserver(handler));\nobs.observe(root,({\x22childList\x22: true, \x22subtree\x22: true, \x22attributes\x22: true}));\n\nreturn (function (){\nreturn obs.disconnect();\n});\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [root], null))]);\n\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs((cljs.core.truth_((function (){var or__5045__auto__ \x3d inspecting_QMARK_;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn preview_node;\n}\n})())?uix.dom.create_portal.cljs$core$IFn$_invoke$arity$2(uix.compiler.alpha.component_element(cljs_react_devtools.core.inspector_overlay,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542),set_inspecting,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453),root,new cljs.core.Keyword(null,\x22on-target\x22,\x22on-target\x22,-1404015998),on_target,new cljs.core.Keyword(null,\x22skip-dom?\x22,\x22skip-dom?\x22,-1882515885),new cljs.core.Keyword(null,\x22hide-dom?\x22,\x22hide-dom?\x22,2128980793).cljs$core$IFn$_invoke$arity$1(state),new cljs.core.Keyword(null,\x22preview-node\x22,\x22preview-node\x22,310928567),preview_node], null)],[]),document.getElementById(\x22cljs-devtools-inspector-overlay\x22)):null),[],false),[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22devtools-text\x22,\x22devtools-text\x22,1734170100).cljs$core$IFn$_invoke$arity$1(colors)),\x27bottom\x27:(0),\x27borderTop\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018)))?\x222px solid #8632ff75\x22:null)),\x27width\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__30414 \x3d location__$1;\nvar G__30414__$1 \x3d (((G__30414 instanceof cljs.core.Keyword))?G__30414.fqn:null);\nswitch (G__30414__$1) {\ncase \x22bottom\x22:\ncase \x22window\x22:\nreturn \x22100vw\x22;\n\nbreak;\ncase \x22left\x22:\ncase \x22right\x22:\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22vw\x22].join(\x27\x27);\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30414__$1)].join(\x27\x27)));\n\n}\n})()),\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22devtools-bg\x22,\x22devtools-bg\x22,-1808526887).cljs$core$IFn$_invoke$arity$1(colors)),\x27font\x27:\x22normal 14px sans-serif\x22,\x27borderRight\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)))?\x222px solid #8632ff75\x22:null)),\x27borderLeft\x27:uix.compiler.attributes.keyword__GT_string(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22right\x22,\x22right\x22,-452581833)))?\x222px solid #8632ff75\x22:null)),\x27zIndex\x27:(9999),\x27right\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__30415 \x3d location__$1;\nvar G__30415__$1 \x3d (((G__30415 instanceof cljs.core.Keyword))?G__30415.fqn:null);\nswitch (G__30415__$1) {\ncase \x22right\x22:\nreturn (0);\n\nbreak;\ndefault:\nreturn null;\n\n}\n})()),\x27display\x27:\x22flex\x22,\x27position\x27:\x22fixed\x22,\x27height\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__30416 \x3d location__$1;\nvar G__30416__$1 \x3d (((G__30416 instanceof cljs.core.Keyword))?G__30416.fqn:null);\nswitch (G__30416__$1) {\ncase \x22left\x22:\ncase \x22right\x22:\ncase \x22window\x22:\nreturn \x22100vh\x22;\n\nbreak;\ncase \x22bottom\x22:\nreturn [cljs.core.str.cljs$core$IFn$_invoke$arity$1(size),\x22vh\x22].join(\x27\x27);\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30416__$1)].join(\x27\x27)));\n\n}\n})()),\x27left\x27:uix.compiler.attributes.keyword__GT_string((function (){var G__30417 \x3d location__$1;\nvar G__30417__$1 \x3d (((G__30417 instanceof cljs.core.Keyword))?G__30417.fqn:null);\nswitch (G__30417__$1) {\ncase \x22bottom\x22:\ncase \x22left\x22:\ncase \x22window\x22:\nreturn (0);\n\nbreak;\ndefault:\nreturn null;\n\n}\n})())}}],[((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534)))?null:uix.compiler.alpha.component_element(cljs_react_devtools.core.resize_handle,[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22set-size\x22,\x22set-size\x22,-1037159587),set_size,new cljs.core.Keyword(null,\x22dir\x22,\x22dir\x22,1734754661),((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018)))?new cljs.core.Keyword(null,\x22vertical\x22,\x22vertical\x22,718696748):new cljs.core.Keyword(null,\x22horizontal\x22,\x22horizontal\x22,2062109475)),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1,new cljs.core.Keyword(null,\x22min\x22,\x22min\x22,444991522),(10),new cljs.core.Keyword(null,\x22max\x22,\x22max\x22,61366548),(90)], null)],[])),((((cljs.core.not(root)) || (cljs.core.not(fiber))))?uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27flexDirection\x27:\x22column\x22,\x27gap\x27:(8),\x27flex\x27:(1),\x27justifyContent\x27:\x22center\x22,\x27alignItems\x27:\x22center\x22,\x27color\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22highlight-text\x22,\x22highlight-text\x22,980506446).cljs$core$IFn$_invoke$arity$1(colors)),\x27fontSize\x27:\x2218px\x22}}],[((cljs.core.not(root))?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(\x22Devtools are not connected to React root\x22,[],false),[uix.compiler.aot._GT_el(\x22span\x22,[{\x27style\x27:{\x27fontSize\x27:\x2216px\x22}}],[\x22make sure to pass the root node when initializing devtools\x22]),uix.compiler.aot._GT_el(\x22pre\x22,[{\x27style\x27:{\x27fontSize\x27:\x2214px\x22,\x27margin\x27:(0)}}],[cljs.core.pr_str.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.list(new cljs.core.Symbol(\x22cljs-react-devtools.core\x22,\x22init!\x22,\x22cljs-react-devtools.core/init!\x22,185639625,null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453),cljs.core.list(new cljs.core.Symbol(\x22js\x22,\x22document.getElementById\x22,\x22js/document.getElementById\x22,2053304690,null),\x22root\x22)], null))], 0))])]):\x22Provided root node doesn\x27t have React app rendered\x22)]):uix.compiler.alpha.component_element(cljs_react_devtools.core.error_boundary,[cljs.core.PersistentArrayMap.EMPTY],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27flex\x27:(1)}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.toolbar,[new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22hint\x22,\x22hint\x22,439639918),(cljs.core.truth_((function (){var fexpr__30418 \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null);\nreturn (fexpr__30418.cljs$core$IFn$_invoke$arity$1 ? fexpr__30418.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__30418.call(null, location__$1));\n})())?hint:null),new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22inspecting?\x22,\x22inspecting?\x22,784834160),inspecting_QMARK_,new cljs.core.Keyword(null,\x22set-inspecting\x22,\x22set-inspecting\x22,-862492542),set_inspecting,new cljs.core.Keyword(null,\x22dock-devtools\x22,\x22dock-devtools\x22,-2013730452),cljs_react_devtools.core.dock_devtools,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null)],[]),uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27display\x27:\x22flex\x22,\x27flexDirection\x27:uix.compiler.attributes.keyword__GT_string((cljs.core.truth_((function (){var fexpr__30419 \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null);\nreturn (fexpr__30419.cljs$core$IFn$_invoke$arity$1 ? fexpr__30419.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__30419.call(null, location__$1));\n})())?new cljs.core.Keyword(null,\x22row\x22,\x22row\x22,-570139521):new cljs.core.Keyword(null,\x22column\x22,\x22column\x22,2078222095))),\x27flex\x27:(1),\x27maxHeight\x27:\x22100%\x22,\x27minHeight\x27:\x22100%\x22,\x27width\x27:uix.compiler.attributes.keyword__GT_string((cljs.core.truth_((function (){var fexpr__30420 \x3d new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22bottom\x22,\x22bottom\x22,-1550509018),null,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),null], null), null);\nreturn (fexpr__30420.cljs$core$IFn$_invoke$arity$1 ? fexpr__30420.cljs$core$IFn$_invoke$arity$1(location__$1) : fexpr__30420.call(null, location__$1));\n})())?\x22100vw\x22:null))}}],[uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27flex\x27:(1),\x27overflowY\x27:\x22auto\x22,\x27padding\x27:\x228px 0\x22,\x27background\x27:uix.compiler.attributes.keyword__GT_string(new cljs.core.Keyword(null,\x22tree-view-bg\x22,\x22tree-view-bg\x22,1629664539).cljs$core$IFn$_invoke$arity$1(colors))}}],[uix.compiler.alpha.component_element(cljs_react_devtools.core.preview_ctx.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),set_preview_node], null)],[cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (node){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.tree_view,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22node\x22,\x22node\x22,581201198),node,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),node.index], null)],[]);\n}),cljs_react_devtools.core.node__GT_siblings(cljs_react_devtools.core.fiber__GT_child(fiber)))])]),uix.compiler.alpha.component_element(cljs_react_devtools.core.inspector,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22set-hint\x22,\x22set-hint\x22,2057522619),set_hint,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null)],[])])])])\n)])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30421 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30422 \x3d cljs_react_devtools.core.devtools_STAR_;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30422);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30421);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.devtools_STAR_.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.devtools_STAR_.displayName \x3d \x22cljs-react-devtools.core/devtools*\x22);\n\nObject.defineProperty(cljs_react_devtools.core.devtools_STAR_,\x22name\x22,(function (){var obj30424 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/devtools*\x22});\nreturn obj30424;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30705 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30705.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30705.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools_STAR_,\x22(uix/use-state 0)(uix/use-memo (fn [] (when root tid (-\x3e\x3e (js/Object.keys root) (some (fn* [p1] (when (str/starts-with? p1 \\\x22__reactContainer\\\x22) (aget root p1))))))) [root tid])(uix/use-state {:hide-dom? true, :selected (when (and root fiber) (fiber-\x3echild fiber))})(use-size 35 :cljs-devtools/ui-size)(uix/use-state \\\x22\\\x22)(uix/use-state false)(uix/use-state false)(uix/use-callback (fn [fiber] (set-state (fn* [p1] (assoc p1 :selected fiber)))) [])(uix/use-context theme)(uix/use-effect (fn [] (let [handler (fns/throttle (fn* [] (set-tid inc)) 100) obs (js/MutationObserver. handler)] (.observe obs root {:childList true, :subtree true, :attributes true}) (fn* [] (.disconnect obs)))) [root])\x22,null,null) : sig__29399__auto___30705.call(null, cljs_react_devtools.core.devtools_STAR_,\x22(uix/use-state 0)(uix/use-memo (fn [] (when root tid (-\x3e\x3e (js/Object.keys root) (some (fn* [p1] (when (str/starts-with? p1 \\\x22__reactContainer\\\x22) (aget root p1))))))) [root tid])(uix/use-state {:hide-dom? true, :selected (when (and root fiber) (fiber-\x3echild fiber))})(use-size 35 :cljs-devtools/ui-size)(uix/use-state \\\x22\\\x22)(uix/use-state false)(uix/use-state false)(uix/use-callback (fn [fiber] (set-state (fn* [p1] (assoc p1 :selected fiber)))) [])(uix/use-context theme)(uix/use-effect (fn [] (let [handler (fns/throttle (fn* [] (set-tid inc)) 100) obs (js/MutationObserver. handler)] (.observe obs root {:childList true, :subtree true, :attributes true}) (fn* [] (.disconnect obs)))) [root])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.devtools_STAR_,cljs_react_devtools.core.devtools_STAR_.displayName);\n\n(cljs_react_devtools.core.devtools_STAR_.fast_refresh_signature \x3d sig__29399__auto___30705);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.matches_QMARK_ \x3d (function cljs_react_devtools$core$matches_QMARK_(){\nreturn window.matchMedia(\x22(prefers-color-scheme: dark)\x22).matches;\n});\ncljs_react_devtools.core.devtools \x3d (function cljs_react_devtools$core$devtools(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30427 \x3d [clj_props__29460__auto__];\nvar map__30430 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30427,(0),null);\nvar map__30430__$1 \x3d cljs.core.__destructure_map(map__30430);\nvar props \x3d map__30430__$1;\nvar shortcut \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30430__$1,new cljs.core.Keyword(null,\x22shortcut\x22,\x22shortcut\x22,-431647697));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30430__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30706 \x3d cljs_react_devtools.core.devtools.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30706)){\nvar f__29390__auto___30707 \x3d temp__5823__auto___30706;\n(f__29390__auto___30707.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30707.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30707.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__30431 \x3d uix.core.use_state((function (){\nvar v \x3d JSON.parse(localStorage.getItem(\x22:cljs-devtools/visible?\x22));\nvar or__5045__auto__ \x3d (v \x3d\x3d null);\nif(or__5045__auto__){\nreturn or__5045__auto__;\n} else {\nreturn v;\n}\n}));\nvar visible_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30431,(0),null);\nvar set_visible \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30431,(1),null);\nvar vec__30434 \x3d uix.core.use_state(cljs_react_devtools.core.matches_QMARK_);\nvar dark_mode_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30434,(0),null);\nvar set_dark_mode \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30434,(1),null);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nvar handler \x3d (function (){\nvar G__30438 \x3d cljs_react_devtools.core.matches_QMARK_();\nreturn (set_dark_mode.cljs$core$IFn$_invoke$arity$1 ? set_dark_mode.cljs$core$IFn$_invoke$arity$1(G__30438) : set_dark_mode.call(null, G__30438));\n});\nvar m \x3d window.matchMedia(\x22(prefers-color-scheme: dark)\x22);\nm.addListener(handler);\n\nreturn (function (){\nreturn m.removeListener(handler);\n});\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(typeof shortcut \x3d\x3d\x3d \x27string\x27){\nvar shortcut__$1 \x3d clojure.string.split.cljs$core$IFn$_invoke$arity$2(shortcut,/-/);\nif(cljs.core.seq(shortcut__$1)){\nvar down_handler \x3d (function (e){\nif(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534),location__$1)) \x26\x26 (cljs.core.every_QMARK_((function (p1__30425_SHARP_){\nvar G__30440 \x3d p1__30425_SHARP_;\nswitch (G__30440) {\ncase \x22Control\x22:\nreturn e.ctrlKey;\n\nbreak;\ncase \x22Alt\x22:\nreturn e.altKey;\n\nbreak;\ncase \x22Meta\x22:\nreturn e.metaKey;\n\nbreak;\ncase \x22Shift\x22:\nreturn e.shiftKey;\n\nbreak;\ndefault:\nreturn cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(p1__30425_SHARP_,e.key);\n\n}\n}),shortcut__$1)))){\nreturn (set_visible.cljs$core$IFn$_invoke$arity$1 ? set_visible.cljs$core$IFn$_invoke$arity$1(cljs.core.not) : set_visible.call(null, cljs.core.not));\n} else {\nreturn null;\n}\n});\nwindow.addEventListener(\x22keydown\x22,down_handler);\n\nreturn (function (){\nreturn window.removeEventListener(\x22keydown\x22,down_handler);\n});\n} else {\nreturn null;\n}\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [shortcut,location__$1], null))]);\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nreturn localStorage.setItem(\x22:cljs-devtools/visible?\x22,visible_QMARK_);\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [visible_QMARK_], null))]);\n\nif(cljs.core.truth_(visible_QMARK_)){\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.theme.Provider,[new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),(cljs.core.truth_(dark_mode_QMARK_)?new cljs.core.Keyword(null,\x22dark\x22,\x22dark\x22,1818973999).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes):new cljs.core.Keyword(null,\x22light\x22,\x22light\x22,1918998747).cljs$core$IFn$_invoke$arity$1(cljs_react_devtools.core.color_themes))], null)],[uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools_STAR_,uix.compiler.attributes.interpret_props(props),[])]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30441 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30442 \x3d cljs_react_devtools.core.devtools;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30442);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30441);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.devtools.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.devtools.displayName \x3d \x22cljs-react-devtools.core/devtools\x22);\n\nObject.defineProperty(cljs_react_devtools.core.devtools,\x22name\x22,(function (){var obj30444 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/devtools\x22});\nreturn obj30444;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30713 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30713.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30713.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools,\x22(uix/use-state (fn* [] (let [v (js/JSON.parse (js/localStorage.getItem \\\x22:cljs-devtools/visible?\\\x22))] (or (nil? v) v))))(uix/use-state matches?)(uix/use-effect (fn [] (let [handler (fn* [] (set-dark-mode (matches?))) m (js/window.matchMedia \\\x22(prefers-color-scheme: dark)\\\x22)] (.addListener m handler) (fn* [] (.removeListener m handler)))) [])(uix/use-effect (fn [] (when (string? shortcut) (let [shortcut (str/split shortcut #\\\x22-\\\x22)] (when (seq shortcut) (let [down-handler (fn [e] (when (and (not\x3d :window location) (-\x3e\x3e shortcut (every? (fn* [p1] (case p1 \\\x22Control\\\x22 (.-ctrlKey e) \\\x22Alt\\\x22 (.-altKey e) \\\x22Meta\\\x22 (.-metaKey e) \\\x22Shift\\\x22 (.-shiftKey e) (\x3d p1 (.-key e))))))) (set-visible not)))] (.addEventListener js/window \\\x22keydown\\\x22 down-handler) (fn [] (.removeEventListener js/window \\\x22keydown\\\x22 down-handler))))))) [shortcut location])(uix/use-effect (fn [] (js/localStorage.setItem \\\x22:cljs-devtools/visible?\\\x22 visible?)) [visible?])\x22,null,null) : sig__29399__auto___30713.call(null, cljs_react_devtools.core.devtools,\x22(uix/use-state (fn* [] (let [v (js/JSON.parse (js/localStorage.getItem \\\x22:cljs-devtools/visible?\\\x22))] (or (nil? v) v))))(uix/use-state matches?)(uix/use-effect (fn [] (let [handler (fn* [] (set-dark-mode (matches?))) m (js/window.matchMedia \\\x22(prefers-color-scheme: dark)\\\x22)] (.addListener m handler) (fn* [] (.removeListener m handler)))) [])(uix/use-effect (fn [] (when (string? shortcut) (let [shortcut (str/split shortcut #\\\x22-\\\x22)] (when (seq shortcut) (let [down-handler (fn [e] (when (and (not\x3d :window location) (-\x3e\x3e shortcut (every? (fn* [p1] (case p1 \\\x22Control\\\x22 (.-ctrlKey e) \\\x22Alt\\\x22 (.-altKey e) \\\x22Meta\\\x22 (.-metaKey e) \\\x22Shift\\\x22 (.-shiftKey e) (\x3d p1 (.-key e))))))) (set-visible not)))] (.addEventListener js/window \\\x22keydown\\\x22 down-handler) (fn [] (.removeEventListener js/window \\\x22keydown\\\x22 down-handler))))))) [shortcut location])(uix/use-effect (fn [] (js/localStorage.setItem \\\x22:cljs-devtools/visible?\\\x22 visible?)) [visible?])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.devtools,cljs_react_devtools.core.devtools.displayName);\n\n(cljs_react_devtools.core.devtools.fast_refresh_signature \x3d sig__29399__auto___30713);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.hijack_re_frame \x3d (function cljs_react_devtools$core$hijack_re_frame(){\nif((typeof re_frame !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof re_frame.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof re_frame.core.subscribe !\x3d\x3d \x27undefined\x27)){\nvar subscribe \x3d re_frame.core.subscribe;\nreturn (re_frame.core.subscribe \x3d (function() {\nvar G__30716 \x3d null;\nvar G__30716__1 \x3d (function (query){\nvar ret \x3d (subscribe.cljs$core$IFn$_invoke$arity$1 ? subscribe.cljs$core$IFn$_invoke$arity$1(query) : subscribe.call(null, query));\n(ret.__devtools_label \x3d cljs.core.first(query));\n\nreturn ret;\n});\nvar G__30716__2 \x3d (function (query,dynv){\nvar ret \x3d (subscribe.cljs$core$IFn$_invoke$arity$2 ? subscribe.cljs$core$IFn$_invoke$arity$2(query,dynv) : subscribe.call(null, query,dynv));\n(ret.__devtools_label \x3d cljs.core.first(query));\n\nreturn ret;\n});\nG__30716 \x3d function(query,dynv){\nswitch(arguments.length){\ncase 1:\nreturn G__30716__1.call(this,query);\ncase 2:\nreturn G__30716__2.call(this,query,dynv);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__30716.cljs$core$IFn$_invoke$arity$1 \x3d G__30716__1;\nG__30716.cljs$core$IFn$_invoke$arity$2 \x3d G__30716__2;\nreturn G__30716;\n})()\n);\n} else {\nreturn null;\n}\n});\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.opts_STAR_ !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.opts_STAR_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\n}\ncljs_react_devtools.core.devtools_popup \x3d (function cljs_react_devtools$core$devtools_popup(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30446 \x3d [clj_props__29460__auto__];\nvar map__30449 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30446,(0),null);\nvar map__30449__$1 \x3d cljs.core.__destructure_map(map__30449);\nvar on_mount \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30449__$1,new cljs.core.Keyword(null,\x22on-mount\x22,\x22on-mount\x22,-1236735840));\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30449__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30718 \x3d cljs_react_devtools.core.devtools_popup.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30718)){\nvar f__29390__auto___30719 \x3d temp__5823__auto___30718;\n(f__29390__auto___30719.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30719.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30719.call(null, ));\n} else {\n}\n} else {\n}\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nreturn (on_mount.cljs$core$IFn$_invoke$arity$0 ? on_mount.cljs$core$IFn$_invoke$arity$0() : on_mount.call(null, ));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [on_mount], null))]);\n\nreturn uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs_react_devtools.core.opts_STAR_),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1)),[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30450 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30451 \x3d cljs_react_devtools.core.devtools_popup;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30451);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30450);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(cljs_react_devtools.core.devtools_popup.uix_component_QMARK_ \x3d true);\n\n(cljs_react_devtools.core.devtools_popup.displayName \x3d \x22cljs-react-devtools.core/devtools-popup\x22);\n\nObject.defineProperty(cljs_react_devtools.core.devtools_popup,\x22name\x22,(function (){var obj30453 \x3d ({\x22value\x22:\x22cljs-react-devtools.core/devtools-popup\x22});\nreturn obj30453;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30720 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30720.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30720.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.devtools_popup,\x22(uix/use-effect (fn* [] (on-mount)) [on-mount])\x22,null,null) : sig__29399__auto___30720.call(null, cljs_react_devtools.core.devtools_popup,\x22(uix/use-effect (fn* [] (on-mount)) [on-mount])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(cljs_react_devtools.core.devtools_popup,cljs_react_devtools.core.devtools_popup.displayName);\n\n(cljs_react_devtools.core.devtools_popup.fast_refresh_signature \x3d sig__29399__auto___30720);\n} else {\n}\n} else {\n}\n\ncljs_react_devtools.core.m__GT_str \x3d (function cljs_react_devtools$core$m__GT_str(m){\nreturn clojure.string.join.cljs$core$IFn$_invoke$arity$2(\x22,\x22,cljs.core.reduce.cljs$core$IFn$_invoke$arity$3((function (ret,p__30454){\nvar vec__30455 \x3d p__30454;\nvar k \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30455,(0),null);\nvar v \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30455,(1),null);\nvar k__$1 \x3d (((k instanceof cljs.core.Keyword))?cljs.core.name(k):k);\nvar v__$1 \x3d (((v instanceof cljs.core.Keyword))?cljs.core.name(v):v);\nreturn cljs.core.conj.cljs$core$IFn$_invoke$arity$2(ret,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(k__$1),\x22\x3d\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(v__$1)].join(\x27\x27));\n}),cljs.core.PersistentVector.EMPTY,m));\n});\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.devtools_root_STAR_ !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.devtools_root_STAR_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\n}\ncljs_react_devtools.core.mount \x3d (function cljs_react_devtools$core$mount(popup_window,popup_document,props){\nvar node \x3d popup_document.createElement(\x22div\x22);\nvar _ \x3d (node.id \x3d \x22cljs-react-devtools-root\x22);\nvar ___$1 \x3d popup_document.body.append(node);\nvar shadow_root \x3d node.attachShadow(({\x22mode\x22: \x22open\x22}));\nvar root \x3d uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(shadow_root);\nvar resize_update_scheduled_QMARK_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false);\nvar handle_window_resize \x3d (function (___$2){\nif(cljs.core.truth_(cljs.core.deref(resize_update_scheduled_QMARK_))){\nreturn null;\n} else {\ngoog.async.nextTick((function (){\nvar width_30721 \x3d popup_window.innerWidth;\nvar height_30722 \x3d popup_window.innerHeight;\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs_react_devtools.core.window_settings,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width_30721,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height_30722], null));\n\nreturn cljs.core.reset_BANG_(resize_update_scheduled_QMARK_,false);\n}));\n\nreturn cljs.core.reset_BANG_(resize_update_scheduled_QMARK_,true);\n}\n});\nvar handle_window_position \x3d (function (){\nvar map__30458 \x3d cljs.core.deref(cljs_react_devtools.core.window_settings);\nvar map__30458__$1 \x3d cljs.core.__destructure_map(map__30458);\nvar left \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30458__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937));\nvar top \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30458__$1,new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961));\nvar screen_left \x3d popup_window.screenX;\nvar screen_top \x3d popup_window.screenY;\nif(((cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(left,screen_left)) || (cljs.core.not_EQ_.cljs$core$IFn$_invoke$arity$2(top,screen_top)))){\nreturn cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(cljs_react_devtools.core.window_settings,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937),screen_left,new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961),screen_top], null));\n} else {\nreturn null;\n}\n});\nvar window_position_interval \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);\nvar on_unmount \x3d (function (___$2){\npopup_window.removeEventListener(\x22resize\x22,handle_window_resize);\n\nvar G__30459_30726 \x3d cljs.core.deref(window_position_interval);\nif((G__30459_30726 \x3d\x3d null)){\n} else {\nclearInterval(G__30459_30726);\n}\n\nvar G__30460_30728 \x3d new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388);\nvar G__30461_30729 \x3d new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs_react_devtools.core.window_settings));\nvar G__30462_30730 \x3d new cljs.core.Keyword(null,\x22unload?\x22,\x22unload?\x22,436291763);\nvar G__30463_30731 \x3d true;\n(cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$4 ? cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$4(G__30460_30728,G__30461_30729,G__30462_30730,G__30463_30731) : cljs_react_devtools.core.dock_devtools.call(null, G__30460_30728,G__30461_30729,G__30462_30730,G__30463_30731));\n\nreturn null;\n});\nvar on_mount \x3d (function (){\npopup_window.addEventListener(\x22resize\x22,handle_window_resize);\n\npopup_window.addEventListener(\x22beforeunload\x22,on_unmount);\n\nreturn cljs.core.reset_BANG_(window_position_interval,setInterval(handle_window_position,(2000)));\n});\n(popup_window[\x22onunload\x22] \x3d (function (){\nreturn cljs.core.reset_BANG_(cljs_react_devtools.core.popout_window,null);\n}));\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,root);\n\nreturn uix.dom.render_root(uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools_popup,uix.compiler.attributes.interpret_props(cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22on-mount\x22,\x22on-mount\x22,-1236735840),on_mount], null),props], 0))),[]),root);\n});\n/**\n * Originally copied from re-frisk.devtool/open-debugger-window\n */\ncljs_react_devtools.core.open_debugger_window \x3d (function cljs_react_devtools$core$open_debugger_window(p__30464,props){\nvar map__30465 \x3d p__30464;\nvar map__30465__$1 \x3d cljs.core.__destructure_map(map__30465);\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar top \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961));\nvar left \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30465__$1,new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937));\nvar document_title \x3d document.title;\nvar window_title \x3d goog.string.escapeString([\x22cljs-react-devtools | \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(document_title)].join(\x27\x27));\nvar window_html \x3d [\x22\x3chead\x3e\x3ctitle\x3e\x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(window_title),\x22\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d\\\x22margin: 0px;\\\x22\x3e\x3c/body\x3e\x22].join(\x27\x27);\nvar window_features \x3d cljs_react_devtools.core.m__GT_str(cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,\x22top\x22,\x22top\x22,-1856271961),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),new cljs.core.Keyword(null,\x22resizable\x22,\x22resizable\x22,-2107060206),new cljs.core.Keyword(null,\x22status\x22,\x22status\x22,-1997798413),new cljs.core.Keyword(null,\x22directories\x22,\x22directories\x22,-900278123),new cljs.core.Keyword(null,\x22toolbar\x22,\x22toolbar\x22,-1172789065),new cljs.core.Keyword(null,\x22scrollbars\x22,\x22scrollbars\x22,1817245048),new cljs.core.Keyword(null,\x22menubar\x22,\x22menubar\x22,1684613273),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),new cljs.core.Keyword(null,\x22left\x22,\x22left\x22,-399115937)],[top,width,new cljs.core.Keyword(null,\x22yes\x22,\x22yes\x22,182838819),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),new cljs.core.Keyword(null,\x22yes\x22,\x22yes\x22,182838819),new cljs.core.Keyword(null,\x22no\x22,\x22no\x22,-390373634),height,left]));\nvar temp__5821__auto__ \x3d window.open(\x22about:blank\x22,\x22re-frame-10x-popout\x22,window_features);\nif(cljs.core.truth_(temp__5821__auto__)){\nvar w \x3d temp__5821__auto__;\nvar d \x3d w.document;\nd.open();\n\nd.write(window_html);\n\n(w[\x22onload\x22] \x3d (function (){\nreturn cljs_react_devtools.core.mount(w,d,props);\n}));\n\nd.close();\n\nreturn cljs.core.reset_BANG_(cljs_react_devtools.core.popout_window,w);\n} else {\nreturn null;\n}\n});\ncljs_react_devtools.core.dock_devtools \x3d (function cljs_react_devtools$core$dock_devtools(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___30733 \x3d arguments.length;\nvar i__5770__auto___30734 \x3d (0);\nwhile(true){\nif((i__5770__auto___30734 \x3c len__5769__auto___30733)){\nargs__5775__auto__.push((arguments[i__5770__auto___30734]));\n\nvar G__30735 \x3d (i__5770__auto___30734 + (1));\ni__5770__auto___30734 \x3d G__30735;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((0) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null);\nreturn cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__);\n});\n\n(cljs_react_devtools.core.dock_devtools.cljs$core$IFn$_invoke$arity$variadic \x3d (function (p__30467){\nvar map__30468 \x3d p__30467;\nvar map__30468__$1 \x3d cljs.core.__destructure_map(map__30468);\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30468__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar unload_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30468__$1,new cljs.core.Keyword(null,\x22unload?\x22,\x22unload?\x22,436291763));\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$4(cljs_react_devtools.core.window_settings,cljs.core.assoc,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1);\n\nlocalStorage.setItem(\x22:cljs-devtools/window-location\x22,cljs.core.name(location__$1));\n\nif(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.popout_window))){\ncljs.core.deref(cljs_react_devtools.core.devtools_root_STAR_).unmount();\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,null);\n\nif(cljs.core.truth_(unload_QMARK_)){\n} else {\ncljs.core.deref(cljs_react_devtools.core.popout_window).close();\n}\n\nreturn setTimeout((function (){\nvar G__30469 \x3d new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null);\nreturn (cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1(G__30469) : cljs_react_devtools.core.render_devtools.call(null, G__30469));\n}),(50));\n} else {\ncljs.core.deref(cljs_react_devtools.core.devtools_root_STAR_).unmount();\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,null);\n\ndocument.getElementById(\x22cljs-react-devtools-root\x22).remove();\n\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(location__$1,new cljs.core.Keyword(null,\x22window\x22,\x22window\x22,724519534))){\nreturn cljs_react_devtools.core.open_debugger_window(cljs.core.deref(cljs_react_devtools.core.window_settings),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null));\n} else {\nvar G__30470 \x3d new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1], null);\nreturn (cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1 ? cljs_react_devtools.core.render_devtools.cljs$core$IFn$_invoke$arity$1(G__30470) : cljs_react_devtools.core.render_devtools.call(null, G__30470));\n}\n}\n}));\n\n(cljs_react_devtools.core.dock_devtools.cljs$lang$maxFixedArity \x3d (0));\n\n/** @this {Function} */\n(cljs_react_devtools.core.dock_devtools.cljs$lang$applyTo \x3d (function (seq30466){\nvar self__5755__auto__ \x3d this;\nreturn self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq30466));\n}));\n\ncljs_react_devtools.core.render_devtools \x3d (function cljs_react_devtools$core$render_devtools(p__30471){\nvar map__30472 \x3d p__30471;\nvar map__30472__$1 \x3d cljs.core.__destructure_map(map__30472);\nvar location__$1 \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30472__$1,new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388));\nvar node \x3d document.createElement(\x22div\x22);\nvar shadow_root \x3d node.attachShadow(({\x22mode\x22: \x22open\x22}));\nvar _ \x3d document.body.append(node);\nvar ___$1 \x3d (node.id \x3d \x22cljs-react-devtools-root\x22);\nvar root \x3d uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(shadow_root);\ncljs.core.reset_BANG_(cljs_react_devtools.core.devtools_root_STAR_,root);\n\nuix.dom.render_root(uix.compiler.alpha.component_element(cljs_react_devtools.core.devtools,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(cljs.core.deref(cljs_react_devtools.core.opts_STAR_),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),location__$1)),[]),root);\n\nreturn null;\n});\nif((typeof cljs_react_devtools !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof cljs_react_devtools.core.initialized_QMARK_ !\x3d\x3d \x27undefined\x27)){\n} else {\ncljs_react_devtools.core.initialized_QMARK_ \x3d cljs.core.atom.cljs$core$IFn$_invoke$arity$1(false);\n}\ncljs_react_devtools.core.init_BANG_ \x3d (function cljs_react_devtools$core$init_BANG_(p__30473){\nvar map__30474 \x3d p__30473;\nvar map__30474__$1 \x3d cljs.core.__destructure_map(map__30474);\nvar opts \x3d map__30474__$1;\nvar root \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30474__$1,new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453));\nvar shortcut \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30474__$1,new cljs.core.Keyword(null,\x22shortcut\x22,\x22shortcut\x22,-431647697));\nif(cljs.core.truth_(cljs.core.deref(cljs_react_devtools.core.initialized_QMARK_))){\nreturn null;\n} else {\ncljs.core.reset_BANG_(cljs_react_devtools.core.initialized_QMARK_,true);\n\ncljs.core.reset_BANG_(cljs_react_devtools.core.opts_STAR_,opts);\n\ncljs_react_devtools.core.hijack_re_frame();\n\nreturn setTimeout((function (){\nvar node \x3d document.createElement(\x22div\x22);\n(node.id \x3d \x22cljs-devtools-inspector-overlay\x22);\n\ndocument.body.append(node);\n\nreturn cljs_react_devtools.core.render_devtools(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388),new cljs.core.Keyword(null,\x22location\x22,\x22location\x22,1815599388).cljs$core$IFn$_invoke$arity$1(cljs.core.deref(cljs_react_devtools.core.window_settings))], null));\n}),(100));\n}\n});\n"); SHADOW_ENV.evalLoad("module$node_modules$react_refresh$cjs$react_refresh_runtime_development.js", true, "shadow$provide.module$node_modules$react_refresh$cjs$react_refresh_runtime_development \x3d function(global, require, module, exports) {\n (function() {\n function computeFullKey(signature) {\n if (null !\x3d\x3d signature.fullKey) {\n return signature.fullKey;\n }\n var fullKey \x3d signature.ownKey;\n try {\n var hooks \x3d signature.getCustomHooks();\n } catch (err) {\n return signature.forceReset \x3d !0, signature.fullKey \x3d fullKey;\n }\n for (var i \x3d 0; i \x3c hooks.length; i++) {\n var hook \x3d hooks[i];\n if (\x22function\x22 !\x3d\x3d typeof hook) {\n return signature.forceReset \x3d !0, signature.fullKey \x3d fullKey;\n }\n hook \x3d allSignaturesByType.get(hook);\n if (void 0 !\x3d\x3d hook) {\n var nestedHookKey \x3d computeFullKey(hook);\n hook.forceReset \x26\x26 (signature.forceReset \x3d !0);\n fullKey +\x3d \x22\\n---\\n\x22 + nestedHookKey;\n }\n }\n return signature.fullKey \x3d fullKey;\n }\n function resolveFamily(type) {\n return updatedFamiliesByType.get(type);\n }\n function cloneMap(map) {\n var clone \x3d new Map();\n map.forEach(function(value, key) {\n clone.set(key, value);\n });\n return clone;\n }\n function cloneSet(set) {\n var clone \x3d new Set();\n set.forEach(function(value) {\n clone.add(value);\n });\n return clone;\n }\n function getProperty(object, property) {\n try {\n return object[property];\n } catch (err) {\n }\n }\n function register(type, id) {\n if (!(null \x3d\x3d\x3d type || \x22function\x22 !\x3d\x3d typeof type \x26\x26 \x22object\x22 !\x3d\x3d typeof type || allFamiliesByType.has(type))) {\n var family \x3d allFamiliesByID.get(id);\n void 0 \x3d\x3d\x3d family ? (family \x3d {current:type}, allFamiliesByID.set(id, family)) : pendingUpdates.push([family, type]);\n allFamiliesByType.set(type, family);\n if (\x22object\x22 \x3d\x3d\x3d typeof type \x26\x26 null !\x3d\x3d type) {\n switch(getProperty(type, \x22$$typeof\x22)) {\n case REACT_FORWARD_REF_TYPE:\n register(type.render, id + \x22$render\x22);\n break;\n case REACT_MEMO_TYPE:\n register(type.type, id + \x22$type\x22);\n }\n }\n }\n }\n function setSignature(type, key) {\n var forceReset \x3d 2 \x3c arguments.length \x26\x26 void 0 !\x3d\x3d arguments[2] ? arguments[2] : !1, getCustomHooks \x3d 3 \x3c arguments.length ? arguments[3] : void 0;\n allSignaturesByType.has(type) || allSignaturesByType.set(type, {forceReset, ownKey:key, fullKey:null, getCustomHooks:getCustomHooks || function() {\n return [];\n }});\n if (\x22object\x22 \x3d\x3d\x3d typeof type \x26\x26 null !\x3d\x3d type) {\n switch(getProperty(type, \x22$$typeof\x22)) {\n case REACT_FORWARD_REF_TYPE:\n setSignature(type.render, key, forceReset, getCustomHooks);\n break;\n case REACT_MEMO_TYPE:\n setSignature(type.type, key, forceReset, getCustomHooks);\n }\n }\n }\n function collectCustomHooksForSignature(type) {\n type \x3d allSignaturesByType.get(type);\n void 0 !\x3d\x3d type \x26\x26 computeFullKey(type);\n }\n var REACT_FORWARD_REF_TYPE \x3d Symbol.for(\x22react.forward_ref\x22), REACT_MEMO_TYPE \x3d Symbol.for(\x22react.memo\x22), PossiblyWeakMap \x3d \x22function\x22 \x3d\x3d\x3d typeof WeakMap ? WeakMap : Map, allFamiliesByID \x3d new Map(), allFamiliesByType \x3d new PossiblyWeakMap(), allSignaturesByType \x3d new PossiblyWeakMap(), updatedFamiliesByType \x3d new PossiblyWeakMap(), pendingUpdates \x3d [], helpersByRendererID \x3d new Map(), helpersByRoot \x3d new Map(), mountedRoots \x3d new Set(), failedRoots \x3d new Set(), rootElements \x3d \x22function\x22 \x3d\x3d\x3d \n typeof WeakMap ? new WeakMap() : null, isPerformingRefresh \x3d !1;\n exports._getMountedRootCount \x3d function() {\n return mountedRoots.size;\n };\n exports.collectCustomHooksForSignature \x3d collectCustomHooksForSignature;\n exports.createSignatureFunctionForTransform \x3d function() {\n var savedType, hasCustomHooks, didCollectHooks \x3d !1;\n return function(type, key, forceReset, getCustomHooks) {\n if (\x22string\x22 \x3d\x3d\x3d typeof key) {\n return savedType || (savedType \x3d type, hasCustomHooks \x3d \x22function\x22 \x3d\x3d\x3d typeof getCustomHooks), null \x3d\x3d type || \x22function\x22 !\x3d\x3d typeof type \x26\x26 \x22object\x22 !\x3d\x3d typeof type || setSignature(type, key, forceReset, getCustomHooks), type;\n }\n !didCollectHooks \x26\x26 hasCustomHooks \x26\x26 (didCollectHooks \x3d !0, collectCustomHooksForSignature(savedType));\n };\n };\n exports.findAffectedHostInstances \x3d function(families) {\n var affectedInstances \x3d new Set();\n mountedRoots.forEach(function(root) {\n var helpers \x3d helpersByRoot.get(root);\n if (void 0 \x3d\x3d\x3d helpers) {\n throw Error(\x22Could not find helpers for a root. This is a bug in React Refresh.\x22);\n }\n helpers.findHostInstancesForRefresh(root, families).forEach(function(inst) {\n affectedInstances.add(inst);\n });\n });\n return affectedInstances;\n };\n exports.getFamilyByID \x3d function(id) {\n return allFamiliesByID.get(id);\n };\n exports.getFamilyByType \x3d function(type) {\n return allFamiliesByType.get(type);\n };\n exports.hasUnrecoverableErrors \x3d function() {\n return !1;\n };\n exports.injectIntoGlobalHook \x3d function(globalObject) {\n var hook \x3d globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (void 0 \x3d\x3d\x3d hook) {\n var nextID \x3d 0;\n globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__ \x3d hook \x3d {renderers:new Map(), supportsFiber:!0, inject:function(injected) {\n return nextID++;\n }, onScheduleFiberRoot:function(id, root, children) {\n }, onCommitFiberRoot:function(id, root, maybePriorityLevel, didError) {\n }, onCommitFiberUnmount:function() {\n }};\n }\n if (hook.isDisabled) {\n console.warn(\x22Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). Fast Refresh is not compatible with this shim and will be disabled.\x22);\n } else {\n var oldInject \x3d hook.inject;\n hook.inject \x3d function(injected) {\n var id \x3d oldInject.apply(this, arguments);\n \x22function\x22 \x3d\x3d\x3d typeof injected.scheduleRefresh \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injected.setRefreshHandler \x26\x26 helpersByRendererID.set(id, injected);\n return id;\n };\n hook.renderers.forEach(function(injected, id) {\n \x22function\x22 \x3d\x3d\x3d typeof injected.scheduleRefresh \x26\x26 \x22function\x22 \x3d\x3d\x3d typeof injected.setRefreshHandler \x26\x26 helpersByRendererID.set(id, injected);\n });\n var oldOnCommitFiberRoot \x3d hook.onCommitFiberRoot, oldOnScheduleFiberRoot \x3d hook.onScheduleFiberRoot || function() {\n };\n hook.onScheduleFiberRoot \x3d function(id, root, children) {\n isPerformingRefresh || (failedRoots.delete(root), null !\x3d\x3d rootElements \x26\x26 rootElements.set(root, children));\n return oldOnScheduleFiberRoot.apply(this, arguments);\n };\n hook.onCommitFiberRoot \x3d function(id, root, maybePriorityLevel, didError) {\n var helpers \x3d helpersByRendererID.get(id);\n if (void 0 !\x3d\x3d helpers) {\n helpersByRoot.set(root, helpers);\n helpers \x3d root.current;\n var alternate \x3d helpers.alternate;\n null !\x3d\x3d alternate ? (alternate \x3d null !\x3d alternate.memoizedState \x26\x26 null !\x3d alternate.memoizedState.element \x26\x26 mountedRoots.has(root), helpers \x3d null !\x3d helpers.memoizedState \x26\x26 null !\x3d helpers.memoizedState.element, !alternate \x26\x26 helpers ? (mountedRoots.add(root), failedRoots.delete(root)) : alternate \x26\x26 helpers || (alternate \x26\x26 !helpers ? (mountedRoots.delete(root), didError ? failedRoots.add(root) : helpersByRoot.delete(root)) : alternate || helpers || didError \x26\x26 failedRoots.add(root))) : \n mountedRoots.add(root);\n }\n return oldOnCommitFiberRoot.apply(this, arguments);\n };\n }\n };\n exports.isLikelyComponentType \x3d function(type) {\n switch(typeof type) {\n case \x22function\x22:\n if (null !\x3d type.prototype) {\n if (type.prototype.isReactComponent) {\n return !0;\n }\n var ownNames \x3d Object.getOwnPropertyNames(type.prototype);\n if (1 \x3c ownNames.length || \x22constructor\x22 !\x3d\x3d ownNames[0] || type.prototype.__proto__ !\x3d\x3d Object.prototype) {\n return !1;\n }\n }\n type \x3d type.name || type.displayName;\n return \x22string\x22 \x3d\x3d\x3d typeof type \x26\x26 /^[A-Z]/.test(type);\n case \x22object\x22:\n if (null !\x3d type) {\n switch(getProperty(type, \x22$$typeof\x22)) {\n case REACT_FORWARD_REF_TYPE:\n case REACT_MEMO_TYPE:\n return !0;\n }\n }\n return !1;\n default:\n return !1;\n }\n };\n exports.performReactRefresh \x3d function() {\n if (0 \x3d\x3d\x3d pendingUpdates.length || isPerformingRefresh) {\n return null;\n }\n isPerformingRefresh \x3d !0;\n try {\n var staleFamilies \x3d new Set(), updatedFamilies \x3d new Set(), updates \x3d pendingUpdates;\n pendingUpdates \x3d [];\n updates.forEach(function(_ref) {\n var family \x3d _ref[0];\n _ref \x3d _ref[1];\n var prevType \x3d family.current;\n updatedFamiliesByType.set(prevType, family);\n updatedFamiliesByType.set(_ref, family);\n family.current \x3d _ref;\n prevType.prototype \x26\x26 prevType.prototype.isReactComponent || _ref.prototype \x26\x26 _ref.prototype.isReactComponent ? _ref \x3d !1 : (prevType \x3d allSignaturesByType.get(prevType), _ref \x3d allSignaturesByType.get(_ref), _ref \x3d void 0 \x3d\x3d\x3d prevType \x26\x26 void 0 \x3d\x3d\x3d _ref || void 0 !\x3d\x3d prevType \x26\x26 void 0 !\x3d\x3d _ref \x26\x26 computeFullKey(prevType) \x3d\x3d\x3d computeFullKey(_ref) \x26\x26 !_ref.forceReset ? !0 : !1);\n _ref ? updatedFamilies.add(family) : staleFamilies.add(family);\n });\n var update \x3d {updatedFamilies, staleFamilies};\n helpersByRendererID.forEach(function(helpers) {\n helpers.setRefreshHandler(resolveFamily);\n });\n var didError \x3d !1, firstError \x3d null, failedRootsSnapshot \x3d cloneSet(failedRoots), mountedRootsSnapshot \x3d cloneSet(mountedRoots), helpersByRootSnapshot \x3d cloneMap(helpersByRoot);\n failedRootsSnapshot.forEach(function(root) {\n var helpers \x3d helpersByRootSnapshot.get(root);\n if (void 0 \x3d\x3d\x3d helpers) {\n throw Error(\x22Could not find helpers for a root. This is a bug in React Refresh.\x22);\n }\n failedRoots.has(root);\n if (null !\x3d\x3d rootElements \x26\x26 rootElements.has(root)) {\n var element \x3d rootElements.get(root);\n try {\n helpers.scheduleRoot(root, element);\n } catch (err) {\n didError || (didError \x3d !0, firstError \x3d err);\n }\n }\n });\n mountedRootsSnapshot.forEach(function(root) {\n var helpers \x3d helpersByRootSnapshot.get(root);\n if (void 0 \x3d\x3d\x3d helpers) {\n throw Error(\x22Could not find helpers for a root. This is a bug in React Refresh.\x22);\n }\n mountedRoots.has(root);\n try {\n helpers.scheduleRefresh(root, update);\n } catch (err) {\n didError || (didError \x3d !0, firstError \x3d err);\n }\n });\n if (didError) {\n throw firstError;\n }\n return update;\n } finally {\n isPerformingRefresh \x3d !1;\n }\n };\n exports.register \x3d register;\n exports.setSignature \x3d setSignature;\n })();\n};\n"); SHADOW_ENV.evalLoad("module$node_modules$react_refresh$runtime.js", true, "shadow$provide.module$node_modules$react_refresh$runtime \x3d function(global, require, module, exports) {\n module.exports \x3d require(\x22module$node_modules$react_refresh$cjs$react_refresh_runtime_development\x22);\n};\n"); SHADOW_ENV.evalLoad("uix.dev.js", true, "goog.provide(\x27uix.dev\x27);\nvar module$node_modules$react_refresh$runtime\x3dshadow.js.require(\x22module$node_modules$react_refresh$runtime\x22, {});\nuix.dev.signature_BANG_ \x3d (function uix$dev$signature_BANG_(){\nreturn module$node_modules$react_refresh$runtime.createSignatureFunctionForTransform();\n});\nuix.dev.register_BANG_ \x3d (function uix$dev$register_BANG_(type,id){\nreturn module$node_modules$react_refresh$runtime.register(type,id);\n});\n/**\n * Injects react-refresh runtime. Should be called before UI is rendered\n */\nuix.dev.init_fast_refresh_BANG_ \x3d (function uix$dev$init_fast_refresh_BANG_(){\nreturn module$node_modules$react_refresh$runtime.injectIntoGlobalHook(window);\n});\n/**\n * Should be called after hot-reload, in shadow\x27s ^:dev/after-load hook\n */\nuix.dev.refresh_BANG_ \x3d (function uix$dev$refresh_BANG_(){\nreturn module$node_modules$react_refresh$runtime.performReactRefresh();\n});\n"); @@ -1592,5 +1592,5 @@ SHADOW_ENV.evalLoad("re_frame.fx.js", true, "goog.provide(\x27re_frame.fx\x27);\ SHADOW_ENV.evalLoad("re_frame.cofx.js", true, "goog.provide(\x27re_frame.cofx\x27);\nre_frame.cofx.kind \x3d new cljs.core.Keyword(null,\x22cofx\x22,\x22cofx\x22,2013202907);\nif(cljs.core.truth_((re_frame.registrar.kinds.cljs$core$IFn$_invoke$arity$1 ? re_frame.registrar.kinds.cljs$core$IFn$_invoke$arity$1(re_frame.cofx.kind) : re_frame.registrar.kinds.call(null, re_frame.cofx.kind)))){\n} else {\nthrow (new Error(\x22Assert failed: (re-frame.registrar/kinds kind)\x22));\n}\nre_frame.cofx.reg_cofx \x3d (function re_frame$cofx$reg_cofx(id,handler){\nreturn re_frame.registrar.register_handler(re_frame.cofx.kind,id,handler);\n});\nre_frame.cofx.inject_cofx \x3d (function re_frame$cofx$inject_cofx(var_args){\nvar G__41143 \x3d arguments.length;\nswitch (G__41143) {\ncase 1:\nreturn re_frame.cofx.inject_cofx.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn re_frame.cofx.inject_cofx.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.cofx.inject_cofx.cljs$core$IFn$_invoke$arity$1 \x3d (function (id){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$cofx$coeffects_before(context){\nvar temp__5821__auto__ \x3d re_frame.registrar.get_handler.cljs$core$IFn$_invoke$arity$2(re_frame.cofx.kind,id);\nif(cljs.core.truth_(temp__5821__auto__)){\nvar handler \x3d temp__5821__auto__;\nreturn cljs.core.update.cljs$core$IFn$_invoke$arity$3(context,new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),handler);\n} else {\nreturn re_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22No cofx handler registered for\x22,id], 0));\n}\n})], 0));\n}));\n\n(re_frame.cofx.inject_cofx.cljs$core$IFn$_invoke$arity$2 \x3d (function (id,value){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$cofx$coeffects_before(context){\nvar temp__5821__auto__ \x3d re_frame.registrar.get_handler.cljs$core$IFn$_invoke$arity$2(re_frame.cofx.kind,id);\nif(cljs.core.truth_(temp__5821__auto__)){\nvar handler \x3d temp__5821__auto__;\nreturn cljs.core.update.cljs$core$IFn$_invoke$arity$4(context,new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),handler,value);\n} else {\nreturn re_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22No cofx handler registered for\x22,id], 0));\n}\n})], 0));\n}));\n\n(re_frame.cofx.inject_cofx.cljs$lang$maxFixedArity \x3d 2);\n\nre_frame.cofx.reg_cofx(new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),(function re_frame$cofx$db_coeffects_handler(coeffects){\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(coeffects,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),cljs.core.deref(re_frame.db.app_db));\n}));\nre_frame.cofx.inject_db \x3d re_frame.cofx.inject_cofx.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\n"); SHADOW_ENV.evalLoad("re_frame.std_interceptors.js", true, "goog.provide(\x27re_frame.std_interceptors\x27);\nre_frame.std_interceptors.debug \x3d re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22debug\x22,\x22debug\x22,-1608172596),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$std_interceptors$debug_before(context){\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22log\x22,\x22log\x22,-1595516004),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22Handling re-frame event:\x22,re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442))], 0));\n\nreturn context;\n}),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),(function re_frame$std_interceptors$debug_after(context){\nvar event \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\nvar orig_db \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\nvar new_db \x3d re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$3(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),new cljs.core.Keyword(\x22re-frame.std-interceptors\x22,\x22not-found\x22,\x22re-frame.std-interceptors/not-found\x22,-1614827865));\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(new_db,new cljs.core.Keyword(\x22re-frame.std-interceptors\x22,\x22not-found\x22,\x22re-frame.std-interceptors/not-found\x22,-1614827865))){\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22log\x22,\x22log\x22,-1595516004),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22No app-db changes in:\x22,event], 0));\n} else {\nvar vec__41192_41233 \x3d clojure.data.diff(orig_db,new_db);\nvar only_before_41234 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__41192_41233,(0),null);\nvar only_after_41235 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__41192_41233,(1),null);\nvar db_changed_QMARK__41236 \x3d (((!((only_before_41234 \x3d\x3d null)))) || ((!((only_after_41235 \x3d\x3d null)))));\nif(db_changed_QMARK__41236){\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22group\x22,\x22group\x22,582596132),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22db clojure.data/diff for:\x22,event], 0));\n\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22log\x22,\x22log\x22,-1595516004),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22only before:\x22,only_before_41234], 0));\n\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22log\x22,\x22log\x22,-1595516004),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22only after :\x22,only_after_41235], 0));\n\nre_frame.loggers.console(new cljs.core.Keyword(null,\x22groupEnd\x22,\x22groupEnd\x22,-337721382));\n} else {\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22log\x22,\x22log\x22,-1595516004),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22No app-db changes resulted from:\x22,event], 0));\n}\n}\n\nreturn context;\n})], 0));\nre_frame.std_interceptors.unwrap \x3d re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22unwrap\x22,\x22unwrap\x22,-1399175462),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$std_interceptors$unwrap_before(context){\nvar vec__41196 \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\nvar _ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__41196,(0),null);\nvar payload \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__41196,(1),null);\nvar event \x3d vec__41196;\nif((!(((cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2((2),cljs.core.count(event))) \x26\x26 (cljs.core.map_QMARK_(payload)))))){\nthrow cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2(\x22re-frame: \\\x22unwrap\\\x22 interceptor must be a vector of two elements \\\x22[event-id payload-map]\\\x22\x22,event);\n} else {\nreturn re_frame.interceptor.assoc_coeffect(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442),payload);\n}\n}),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),(function re_frame$std_interceptors$unwrap_after(context){\nreturn re_frame.interceptor.assoc_coeffect(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22original-event\x22,\x22original-event\x22,2121330403)));\n})], 0));\nre_frame.std_interceptors.trim_v \x3d re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22trim-v\x22,\x22trim-v\x22,-1274938640),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$std_interceptors$trim_v_before(context){\nif((!(cljs.core.vector_QMARK_(re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442)))))){\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22warn\x22,\x22warn\x22,-436710552),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22re-frame: \\\x22trim-v\\\x22 interceptor expected event to be a vector. Got a \x22,cljs.core.type(re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442)))], 0));\n\nreturn context;\n} else {\nreturn re_frame.interceptor.update_coeffect.cljs$core$IFn$_invoke$arity$variadic(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442),cljs.core.subvec,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(1)], 0));\n}\n}),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),(function re_frame$std_interceptors$trim_v_after(context){\nreturn re_frame.interceptor.assoc_coeffect(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22original-event\x22,\x22original-event\x22,2121330403)));\n})], 0));\n/**\n * Returns an interceptor which wraps the kind of event handler given to `reg-event-db`.\n * \n * These handlers take two arguments; `db` and `event`, and they return `db`.\n * \n * (fn [db event]\n * ....)\n * \n * So, the interceptor wraps the given handler:\n * 1. extracts two `:coeffects` keys: db and event\n * 2. calls handler-fn\n * 3. stores the db result back into context\x27s `:effects`\n */\nre_frame.std_interceptors.db_handler__GT_interceptor \x3d (function re_frame$std_interceptors$db_handler__GT_interceptor(handler_fn){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22db-handler\x22,\x22db-handler\x22,579530098),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$std_interceptors$db_handler__GT_interceptor_$_db_handler_before(context){\nvar new_context \x3d ((re_frame.trace.is_trace_enabled_QMARK_())?(function (){var _STAR_current_trace_STAR__orig_val__41199 \x3d re_frame.trace._STAR_current_trace_STAR_;\nvar _STAR_current_trace_STAR__temp_val__41200 \x3d re_frame.trace.start_trace(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22op-type\x22,\x22op-type\x22,-1636141668),new cljs.core.Keyword(\x22event\x22,\x22handler\x22,\x22event/handler\x22,-295903150),new cljs.core.Keyword(null,\x22operation\x22,\x22operation\x22,-1267664310),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22original-event\x22,\x22original-event\x22,2121330403))], null));\n(re_frame.trace._STAR_current_trace_STAR_ \x3d _STAR_current_trace_STAR__temp_val__41200);\n\ntry{try{var map__41201 \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context);\nvar map__41201__$1 \x3d cljs.core.__destructure_map(map__41201);\nvar db \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41201__$1,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\nvar event \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41201__$1,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\nreturn re_frame.interceptor.assoc_effect(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),(handler_fn.cljs$core$IFn$_invoke$arity$2 ? handler_fn.cljs$core$IFn$_invoke$arity$2(db,event) : handler_fn.call(null, db,event)));\n}finally {if(re_frame.trace.is_trace_enabled_QMARK_()){\nvar end__40904__auto___41237 \x3d re_frame.interop.now();\nvar duration__40905__auto___41238 \x3d (end__40904__auto___41237 - new cljs.core.Keyword(null,\x22start\x22,\x22start\x22,-355208981).cljs$core$IFn$_invoke$arity$1(re_frame.trace._STAR_current_trace_STAR_));\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(re_frame.trace.traces,cljs.core.conj,cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(re_frame.trace._STAR_current_trace_STAR_,new cljs.core.Keyword(null,\x22duration\x22,\x22duration\x22,1444101068),duration__40905__auto___41238,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22end\x22,\x22end\x22,-268185958),re_frame.interop.now()], 0)));\n\nre_frame.trace.run_tracing_callbacks_BANG_(end__40904__auto___41237);\n} else {\n}\n}}finally {(re_frame.trace._STAR_current_trace_STAR_ \x3d _STAR_current_trace_STAR__orig_val__41199);\n}})():(function (){var map__41202 \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context);\nvar map__41202__$1 \x3d cljs.core.__destructure_map(map__41202);\nvar db \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41202__$1,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\nvar event \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41202__$1,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\nreturn re_frame.interceptor.assoc_effect(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),(handler_fn.cljs$core$IFn$_invoke$arity$2 ? handler_fn.cljs$core$IFn$_invoke$arity$2(db,event) : handler_fn.call(null, db,event)));\n})());\nif(re_frame.trace.is_trace_enabled_QMARK_()){\nvar new_trace__40906__auto___41239 \x3d cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.update.cljs$core$IFn$_invoke$arity$4(re_frame.trace._STAR_current_trace_STAR_,new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),cljs.core.merge,new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977).cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(new_context),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context)], null)], null))),cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(new_context),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context)], null)], null),new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977))], 0));\n(re_frame.trace._STAR_current_trace_STAR_ \x3d new_trace__40906__auto___41239);\n\n} else {\n}\n\nreturn new_context;\n})], 0));\n});\n/**\n * Returns an interceptor which wraps the kind of event handler given to `reg-event-fx`.\n * \n * These handlers take two arguments; `coeffects` and `event`, and they return `effects`.\n * \n * (fn [coeffects event]\n * {:db ...\n * :fx ...})\n * \n * Wrap handler in an interceptor so it can be added to (the RHS) of a chain:\n * 1. extracts `:coeffects`\n * 2. call handler-fn giving coeffects\n * 3. stores the result back into the `:effects`\n */\nre_frame.std_interceptors.fx_handler__GT_interceptor \x3d (function re_frame$std_interceptors$fx_handler__GT_interceptor(handler_fn){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22fx-handler\x22,\x22fx-handler\x22,-549783097),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$std_interceptors$fx_handler__GT_interceptor_$_fx_handler_before(context){\nvar new_context \x3d ((re_frame.trace.is_trace_enabled_QMARK_())?(function (){var _STAR_current_trace_STAR__orig_val__41203 \x3d re_frame.trace._STAR_current_trace_STAR_;\nvar _STAR_current_trace_STAR__temp_val__41204 \x3d re_frame.trace.start_trace(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22op-type\x22,\x22op-type\x22,-1636141668),new cljs.core.Keyword(\x22event\x22,\x22handler\x22,\x22event/handler\x22,-295903150),new cljs.core.Keyword(null,\x22operation\x22,\x22operation\x22,-1267664310),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22original-event\x22,\x22original-event\x22,2121330403))], null));\n(re_frame.trace._STAR_current_trace_STAR_ \x3d _STAR_current_trace_STAR__temp_val__41204);\n\ntry{try{var map__41205 \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context);\nvar map__41205__$1 \x3d cljs.core.__destructure_map(map__41205);\nvar coeffects \x3d map__41205__$1;\nvar event \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41205__$1,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(context,new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),(handler_fn.cljs$core$IFn$_invoke$arity$2 ? handler_fn.cljs$core$IFn$_invoke$arity$2(coeffects,event) : handler_fn.call(null, coeffects,event)));\n}finally {if(re_frame.trace.is_trace_enabled_QMARK_()){\nvar end__40904__auto___41242 \x3d re_frame.interop.now();\nvar duration__40905__auto___41243 \x3d (end__40904__auto___41242 - new cljs.core.Keyword(null,\x22start\x22,\x22start\x22,-355208981).cljs$core$IFn$_invoke$arity$1(re_frame.trace._STAR_current_trace_STAR_));\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(re_frame.trace.traces,cljs.core.conj,cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(re_frame.trace._STAR_current_trace_STAR_,new cljs.core.Keyword(null,\x22duration\x22,\x22duration\x22,1444101068),duration__40905__auto___41243,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22end\x22,\x22end\x22,-268185958),re_frame.interop.now()], 0)));\n\nre_frame.trace.run_tracing_callbacks_BANG_(end__40904__auto___41242);\n} else {\n}\n}}finally {(re_frame.trace._STAR_current_trace_STAR_ \x3d _STAR_current_trace_STAR__orig_val__41203);\n}})():(function (){var map__41206 \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context);\nvar map__41206__$1 \x3d cljs.core.__destructure_map(map__41206);\nvar coeffects \x3d map__41206__$1;\nvar event \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41206__$1,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\nreturn cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(context,new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),(handler_fn.cljs$core$IFn$_invoke$arity$2 ? handler_fn.cljs$core$IFn$_invoke$arity$2(coeffects,event) : handler_fn.call(null, coeffects,event)));\n})());\nif(re_frame.trace.is_trace_enabled_QMARK_()){\nvar new_trace__40906__auto___41244 \x3d cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.update.cljs$core$IFn$_invoke$arity$4(re_frame.trace._STAR_current_trace_STAR_,new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),cljs.core.merge,new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977).cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(new_context),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context)], null)], null))),cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(new_context),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context)], null)], null),new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977))], 0));\n(re_frame.trace._STAR_current_trace_STAR_ \x3d new_trace__40906__auto___41244);\n\n} else {\n}\n\nreturn new_context;\n})], 0));\n});\n/**\n * Returns an interceptor which wraps the kind of event handler given to `reg-event-ctx`.\n * These advanced handlers take one argument: `context` and they return a modified `context`.\n * Example:\n * \n * (fn [context]\n * (enqueue context [more interceptors]))\n */\nre_frame.std_interceptors.ctx_handler__GT_interceptor \x3d (function re_frame$std_interceptors$ctx_handler__GT_interceptor(handler_fn){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22ctx-handler\x22,\x22ctx-handler\x22,-1777672230),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$std_interceptors$ctx_handler__GT_interceptor_$_ctx_handler_before(context){\nvar new_context \x3d ((re_frame.trace.is_trace_enabled_QMARK_())?(function (){var _STAR_current_trace_STAR__orig_val__41207 \x3d re_frame.trace._STAR_current_trace_STAR_;\nvar _STAR_current_trace_STAR__temp_val__41208 \x3d re_frame.trace.start_trace(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22op-type\x22,\x22op-type\x22,-1636141668),new cljs.core.Keyword(\x22event\x22,\x22handler\x22,\x22event/handler\x22,-295903150),new cljs.core.Keyword(null,\x22operation\x22,\x22operation\x22,-1267664310),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22original-event\x22,\x22original-event\x22,2121330403))], null));\n(re_frame.trace._STAR_current_trace_STAR_ \x3d _STAR_current_trace_STAR__temp_val__41208);\n\ntry{try{return (handler_fn.cljs$core$IFn$_invoke$arity$1 ? handler_fn.cljs$core$IFn$_invoke$arity$1(context) : handler_fn.call(null, context));\n}finally {if(re_frame.trace.is_trace_enabled_QMARK_()){\nvar end__40904__auto___41245 \x3d re_frame.interop.now();\nvar duration__40905__auto___41246 \x3d (end__40904__auto___41245 - new cljs.core.Keyword(null,\x22start\x22,\x22start\x22,-355208981).cljs$core$IFn$_invoke$arity$1(re_frame.trace._STAR_current_trace_STAR_));\ncljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$3(re_frame.trace.traces,cljs.core.conj,cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(re_frame.trace._STAR_current_trace_STAR_,new cljs.core.Keyword(null,\x22duration\x22,\x22duration\x22,1444101068),duration__40905__auto___41246,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22end\x22,\x22end\x22,-268185958),re_frame.interop.now()], 0)));\n\nre_frame.trace.run_tracing_callbacks_BANG_(end__40904__auto___41245);\n} else {\n}\n}}finally {(re_frame.trace._STAR_current_trace_STAR_ \x3d _STAR_current_trace_STAR__orig_val__41207);\n}})():(handler_fn.cljs$core$IFn$_invoke$arity$1 ? handler_fn.cljs$core$IFn$_invoke$arity$1(context) : handler_fn.call(null, context)));\nif(re_frame.trace.is_trace_enabled_QMARK_()){\nvar new_trace__40906__auto___41247 \x3d cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.update.cljs$core$IFn$_invoke$arity$4(re_frame.trace._STAR_current_trace_STAR_,new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),cljs.core.merge,new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977).cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(new_context),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context)], null)], null))),cljs.core.dissoc.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22effects\x22,\x22effects\x22,-282369292),re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(new_context),new cljs.core.Keyword(null,\x22coeffects\x22,\x22coeffects\x22,497912985),re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context)], null)], null),new cljs.core.Keyword(null,\x22tags\x22,\x22tags\x22,1771418977))], 0));\n(re_frame.trace._STAR_current_trace_STAR_ \x3d new_trace__40906__auto___41247);\n\n} else {\n}\n\nreturn new_context;\n})], 0));\n});\nre_frame.std_interceptors.path \x3d (function re_frame$std_interceptors$path(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41248 \x3d arguments.length;\nvar i__5770__auto___41249 \x3d (0);\nwhile(true){\nif((i__5770__auto___41249 \x3c len__5769__auto___41248)){\nargs__5775__auto__.push((arguments[i__5770__auto___41249]));\n\nvar G__41250 \x3d (i__5770__auto___41249 + (1));\ni__5770__auto___41249 \x3d G__41250;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((0) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null);\nreturn re_frame.std_interceptors.path.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__);\n});\n\n(re_frame.std_interceptors.path.cljs$core$IFn$_invoke$arity$variadic \x3d (function (args){\nvar path \x3d cljs.core.flatten(args);\nvar history_key \x3d new cljs.core.Keyword(\x22re-frame.db\x22,\x22path-history\x22,\x22re-frame.db/path-history\x22,-1466258079);\nif(cljs.core.empty_QMARK_(path)){\nre_frame.loggers.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22re-frame: \\\x22path\\\x22 interceptor given no params\x22], 0));\n} else {\n}\n\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22path\x22,\x22path\x22,-188191168),new cljs.core.Keyword(null,\x22comment\x22,\x22comment\x22,532206069),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(\x22re-frame.db\x22,\x22path\x22,\x22re-frame.db/path\x22,-1845708459),path], null),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function (context){\nvar original_db \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\nreturn re_frame.interceptor.assoc_coeffect(cljs.core.update.cljs$core$IFn$_invoke$arity$4(context,history_key,cljs.core.conj,original_db),new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(original_db,path));\n}),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),(function (context){\nvar db_store \x3d history_key.cljs$core$IFn$_invoke$arity$1(context);\nvar original_db \x3d cljs.core.peek(db_store);\nvar new_db_store \x3d cljs.core.pop(db_store);\nvar context_SINGLEQUOTE_ \x3d re_frame.interceptor.assoc_coeffect(cljs.core.assoc.cljs$core$IFn$_invoke$arity$3(context,history_key,new_db_store),new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),original_db);\nvar db \x3d re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$3(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),new cljs.core.Keyword(\x22re-frame.std-interceptors\x22,\x22not-found\x22,\x22re-frame.std-interceptors/not-found\x22,-1614827865));\nif(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(db,new cljs.core.Keyword(\x22re-frame.std-interceptors\x22,\x22not-found\x22,\x22re-frame.std-interceptors/not-found\x22,-1614827865))){\nreturn context_SINGLEQUOTE_;\n} else {\nreturn re_frame.interceptor.assoc_effect(context_SINGLEQUOTE_,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),cljs.core.assoc_in(original_db,path,db));\n}\n})], 0));\n}));\n\n(re_frame.std_interceptors.path.cljs$lang$maxFixedArity \x3d (0));\n\n/** @this {Function} */\n(re_frame.std_interceptors.path.cljs$lang$applyTo \x3d (function (seq41209){\nvar self__5755__auto__ \x3d this;\nreturn self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq41209));\n}));\n\nre_frame.std_interceptors.enrich \x3d (function re_frame$std_interceptors$enrich(f){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22enrich\x22,\x22enrich\x22,-2108921925),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),(function re_frame$std_interceptors$enrich_$_enrich_after(context){\nvar event \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\nvar prev_db \x3d ((cljs.core.contains_QMARK_(re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(context),new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759)))?re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759)):re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759)));\nvar new_db \x3d (f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(prev_db,event) : f.call(null, prev_db,event));\nreturn re_frame.interceptor.assoc_effect(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),(function (){var or__5045__auto__ \x3d new_db;\nif(cljs.core.truth_(or__5045__auto__)){\nreturn or__5045__auto__;\n} else {\nreturn prev_db;\n}\n})());\n})], 0));\n});\nre_frame.std_interceptors.after \x3d (function re_frame$std_interceptors$after(f){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),(function re_frame$std_interceptors$after_$_after_after(context){\nvar db \x3d ((cljs.core.contains_QMARK_(re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(context),new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759)))?re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759)):re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759)));\nvar event \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22event\x22,\x22event\x22,301435442));\n(f.cljs$core$IFn$_invoke$arity$2 ? f.cljs$core$IFn$_invoke$arity$2(db,event) : f.call(null, db,event));\n\nreturn context;\n})], 0));\n});\nre_frame.std_interceptors.on_changes \x3d (function re_frame$std_interceptors$on_changes(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41253 \x3d arguments.length;\nvar i__5770__auto___41254 \x3d (0);\nwhile(true){\nif((i__5770__auto___41254 \x3c len__5769__auto___41253)){\nargs__5775__auto__.push((arguments[i__5770__auto___41254]));\n\nvar G__41255 \x3d (i__5770__auto___41254 + (1));\ni__5770__auto___41254 \x3d G__41255;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((2) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null);\nreturn re_frame.std_interceptors.on_changes.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__);\n});\n\n(re_frame.std_interceptors.on_changes.cljs$core$IFn$_invoke$arity$variadic \x3d (function (f,out_path,in_paths){\nreturn re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22on-changes\x22,\x22on-changes\x22,1345912602),new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914),(function re_frame$std_interceptors$on_change_after(context){\nvar new_db \x3d re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\nvar old_db \x3d re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\nvar new_ins \x3d cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__41217_SHARP_){\nreturn cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(new_db,p1__41217_SHARP_);\n}),in_paths);\nvar old_ins \x3d cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p1__41218_SHARP_){\nreturn cljs.core.get_in.cljs$core$IFn$_invoke$arity$2(old_db,p1__41218_SHARP_);\n}),in_paths);\nvar changed_ins_QMARK_ \x3d (function (){var and__5043__auto__ \x3d cljs.core.contains_QMARK_(re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(context),new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759));\nif(and__5043__auto__){\nreturn cljs.core.some(cljs.core.false_QMARK_,cljs.core.map.cljs$core$IFn$_invoke$arity$3(cljs.core.identical_QMARK_,new_ins,old_ins));\n} else {\nreturn and__5043__auto__;\n}\n})();\nif(cljs.core.truth_(changed_ins_QMARK_)){\nreturn re_frame.interceptor.assoc_effect(context,new cljs.core.Keyword(null,\x22db\x22,\x22db\x22,993250759),cljs.core.assoc_in(new_db,out_path,cljs.core.apply.cljs$core$IFn$_invoke$arity$2(f,new_ins)));\n} else {\nreturn context;\n}\n})], 0));\n}));\n\n(re_frame.std_interceptors.on_changes.cljs$lang$maxFixedArity \x3d (2));\n\n/** @this {Function} */\n(re_frame.std_interceptors.on_changes.cljs$lang$applyTo \x3d (function (seq41223){\nvar G__41224 \x3d cljs.core.first(seq41223);\nvar seq41223__$1 \x3d cljs.core.next(seq41223);\nvar G__41225 \x3d cljs.core.first(seq41223__$1);\nvar seq41223__$2 \x3d cljs.core.next(seq41223__$1);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__41224,G__41225,seq41223__$2);\n}));\n\n/**\n * An interceptor which adds registered global interceptors to the context\x27s queue.\n * \n * NOTE: :queue is a Clojure.lang.PersistentQueue and not a vector.\n */\nre_frame.std_interceptors.inject_global_interceptors \x3d re_frame.interceptor.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),new cljs.core.Keyword(null,\x22inject-global-interceptors\x22,\x22inject-global-interceptors\x22,-2144129737),new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388),(function re_frame$std_interceptors$inject_global_interceptors_before(context){\nreturn cljs.core.update.cljs$core$IFn$_invoke$arity$3(context,new cljs.core.Keyword(null,\x22queue\x22,\x22queue\x22,1455835879),(function (p1__41227_SHARP_){\nreturn cljs.core.into.cljs$core$IFn$_invoke$arity$2(re_frame.settings.get_global_interceptors(),p1__41227_SHARP_);\n}));\n})], 0));\n"); SHADOW_ENV.evalLoad("re_frame.core.js", true, "goog.provide(\x27re_frame.core\x27);\n/**\n * Queue `event` for processing (handling).\n * \n * `event` is a vector and the first element is typically a keyword\n * which identifies the kind of event.\n * \n * The event will be added to a FIFO processing queue, so event\n * handling does not happen immediately. It will happen \x27very soon\x27\n * but not now. And if the queue already contains events, they\n * will be processed first.\n * \n * Usage:\n * \n * #!clj\n * (dispatch [:order \x22pizza\x22 {:supreme 2 :meatlovers 1 :veg 1}])\n * \n */\nre_frame.core.dispatch \x3d (function re_frame$core$dispatch(event){\nreturn re_frame.router.dispatch(event);\n});\n/**\n * Synchronously (immediately) process `event`. It does **not** queue\n * the event for handling later as `dispatch` does.\n * \n * `event` is a vector and the first element is typically a keyword\n * which identifies the kind of event.\n * \n * It is an error to use `dispatch-sync` within an event handler because\n * you can\x27t immediately process an new event when one is already\n * part way through being processed.\n * \n * Generally, avoid using this function, and instead, use `dispatch`.\n * Only use it in the narrow set of cases where any delay in\n * processing is a problem:\n * \n * 1. the `:on-change` handler of a text field where we are expecting fast typing\n * 2. when initialising your app - see \x27main\x27 in examples/todomvc/src/core.cljs\n * 3. in a unit test where immediate, synchronous processing is useful\n * \n * Usage:\n * \n * #!clj\n * (dispatch-sync [:sing :falsetto \x22piano accordion\x22])\n * \n */\nre_frame.core.dispatch_sync \x3d (function re_frame$core$dispatch_sync(event){\nreturn re_frame.router.dispatch_sync(event);\n});\n/**\n * Register the given event `handler` (function) for the given `id`. Optionally, provide\n * an `interceptors` chain:\n * \n * - `id` is typically a namespaced keyword (but can be anything)\n * - `handler` is a function: (db event) -\x3e db\n * - `interceptors` is a collection of interceptors. Will be flattened and nils removed.\n * \n * Example Usage:\n * \n * #!clj\n * (reg-event-db\n * :token\n * (fn [db event]\n * (assoc db :some-key (get event 2))) ;; return updated db\n * \n * Or perhaps:\n * \n * #!clj\n * (reg-event-db\n * :namespaced/id ;; \x3c-- namespaced keywords are often used\n * [one two three] ;; \x3c-- a seq of interceptors\n * (fn [db [_ arg1 arg2]] ;; \x3c-- event vector is destructured\n * (-\x3e db\n * (dissoc arg1)\n * (update :key + arg2)))) ;; return updated db\n * \n */\nre_frame.core.reg_event_db \x3d (function re_frame$core$reg_event_db(var_args){\nvar G__41451 \x3d arguments.length;\nswitch (G__41451) {\ncase 2:\nreturn re_frame.core.reg_event_db.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn re_frame.core.reg_event_db.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.reg_event_db.cljs$core$IFn$_invoke$arity$2 \x3d (function (id,handler){\nreturn re_frame.core.reg_event_db.cljs$core$IFn$_invoke$arity$3(id,null,handler);\n}));\n\n(re_frame.core.reg_event_db.cljs$core$IFn$_invoke$arity$3 \x3d (function (id,interceptors,handler){\nreturn re_frame.events.register(id,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_frame.cofx.inject_db,re_frame.fx.do_fx,re_frame.std_interceptors.inject_global_interceptors,interceptors,re_frame.std_interceptors.db_handler__GT_interceptor(handler)], null));\n}));\n\n(re_frame.core.reg_event_db.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Register the given event `handler` (function) for the given `id`. Optionally, provide\n * an `interceptors` chain:\n * \n * - `id` is typically a namespaced keyword (but can be anything)\n * - `handler` is a function: (coeffects-map event-vector) -\x3e effects-map\n * - `interceptors` is a collection of interceptors. Will be flattened and nils removed.\n * \n * \n * Example Usage:\n * \n * #!clj\n * (reg-event-fx\n * :event-id\n * (fn [cofx event]\n * {:db (assoc (:db cofx) :some-key (get event 2))})) ;; return a map of effects\n * \n * \n * Or perhaps:\n * \n * #!clj\n * (reg-event-fx\n * :namespaced/id ;; \x3c-- namespaced keywords are often used\n * [one two three] ;; \x3c-- a seq of interceptors\n * (fn [{:keys [db] :as cofx} [_ arg1 arg2]] ;; destructure both arguments\n * {:db (assoc db :some-key arg1) ;; return a map of effects\n * :fx [[:dispatch [:some-event arg2]]]}))\n * \n */\nre_frame.core.reg_event_fx \x3d (function re_frame$core$reg_event_fx(var_args){\nvar G__41453 \x3d arguments.length;\nswitch (G__41453) {\ncase 2:\nreturn re_frame.core.reg_event_fx.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn re_frame.core.reg_event_fx.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.reg_event_fx.cljs$core$IFn$_invoke$arity$2 \x3d (function (id,handler){\nreturn re_frame.core.reg_event_fx.cljs$core$IFn$_invoke$arity$3(id,null,handler);\n}));\n\n(re_frame.core.reg_event_fx.cljs$core$IFn$_invoke$arity$3 \x3d (function (id,interceptors,handler){\nreturn re_frame.events.register(id,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_frame.cofx.inject_db,re_frame.fx.do_fx,re_frame.std_interceptors.inject_global_interceptors,interceptors,re_frame.std_interceptors.fx_handler__GT_interceptor(handler)], null));\n}));\n\n(re_frame.core.reg_event_fx.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Register the given event `handler` (function) for the given `id`. Optionally, provide\n * an `interceptors` chain:\n * \n * - `id` is typically a namespaced keyword (but can be anything)\n * - `handler` is a function: context-map -\x3e context-map\n * \n * You can explore what is provided in `context` [here](https://day8.github.io/re-frame/Interceptors/#what-is-context).\n * \n * Example Usage:\n * \n * #!clj\n * (reg-event-ctx\n * :event-id\n * (fn [{:keys [coeffects] :as context}]\n * (let [initial {:db (:db coeffects)\n * :event (:event coeffects)\n * :fx []}\n * result (-\x3e initial\n * function1\n * function2\n * function3)\n * effects (select-keys result [:db :fx])]\n * (assoc context :effects effects))))\n * \n */\nre_frame.core.reg_event_ctx \x3d (function re_frame$core$reg_event_ctx(var_args){\nvar G__41455 \x3d arguments.length;\nswitch (G__41455) {\ncase 2:\nreturn re_frame.core.reg_event_ctx.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn re_frame.core.reg_event_ctx.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.reg_event_ctx.cljs$core$IFn$_invoke$arity$2 \x3d (function (id,handler){\nreturn re_frame.core.reg_event_ctx.cljs$core$IFn$_invoke$arity$3(id,null,handler);\n}));\n\n(re_frame.core.reg_event_ctx.cljs$core$IFn$_invoke$arity$3 \x3d (function (id,interceptors,handler){\nreturn re_frame.events.register(id,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_frame.cofx.inject_db,re_frame.fx.do_fx,re_frame.std_interceptors.inject_global_interceptors,interceptors,re_frame.std_interceptors.ctx_handler__GT_interceptor(handler)], null));\n}));\n\n(re_frame.core.reg_event_ctx.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * Unregisters event handlers (presumably registered previously via the use of `reg-event-db` or `reg-event-fx`).\n * \n * When called with no args, it will unregister all currently registered event handlers.\n * \n * When given one arg, assumed to be the `id` of a previously registered\n * event handler, it will unregister the associated handler. Will produce a warning to\n * console if it finds no matching registration.\n */\nre_frame.core.clear_event \x3d (function re_frame$core$clear_event(var_args){\nvar G__41457 \x3d arguments.length;\nswitch (G__41457) {\ncase 0:\nreturn re_frame.core.clear_event.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn re_frame.core.clear_event.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.clear_event.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$1(re_frame.events.kind);\n}));\n\n(re_frame.core.clear_event.cljs$core$IFn$_invoke$arity$1 \x3d (function (id){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$2(re_frame.events.kind,id);\n}));\n\n(re_frame.core.clear_event.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * A call to `reg-sub` associates a `query-id` WITH two functions.\n * \n * The two functions provide \x27a mechanism\x27 for creating a node\n * in the Signal Graph. When a node of type `query-id` is needed,\n * the two functions can be used to create it.\n * \n * The three arguments are:\n * \n * - `query-id` - typically a namespaced keyword (later used in subscribe)\n * - optionally, an `input signals` function which returns the input data\n * flows required by this kind of node.\n * - a `computation function` which computes the value (output) of the\n * node (from the input data flows)\n * \n * Later, during app execution, a call to `(subscribe [:sub-id 3 :blue])`,\n * will trigger the need for a new `:sub-id` Signal Graph node (matching the\n * query `[:sub-id 3 :blue]`). And, to create that node the two functions\n * associated with `:sub-id` will be looked up and used.\n * \n * Just to be clear: calling `reg-sub` does not immediately create a node.\n * It only registers \x27a mechanism\x27 (the two functions) by which nodes\n * can be created later, when a node is bought into existence by the\n * use of `subscribe` in a `View Function`.\n * \n * `reg-sub` arguments are:\n * \n * - a `query-id` (typically a namespaced keyword)\n * - a function which returns the inputs required by this kind of node (can be supplied in one of three ways)\n * - a function which computes the value of this kind of node (can be supplied in one of three ways)\n * \n * The `computation function` is always the last argument supplied and has three ways to be called.\n * Two of these methods are syntactic sugar to provide easier access to functional abstractions around your data.\n * \n * 1. A function that will accept two parameters, the `input-values` and `query-vector`. This is the\n * standard way to provide a `computation-function`\n * \n * #!clj\n * (reg-sub\n * :query-id\n * (fn [input-values query-vector]\n * (:foo input-values)))\n * \n * 2. A single sugary tuple of `:-\x3e` and a 1-arity `computation-function`:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * :-\x3e computation-fn)\n * \n * This sugary variation allows you to pass a function that will expect only one parameter,\n * namely the `input-values` and entirely omit the `query-vector`. A typical `computation-function`\n * expects two parameters which can cause unfortunate results when attempting to use\n * clojure standard library functions, or other functions, in a functional manner.\n * \n * For example, a significant number of subscriptions exist only to get a value\n * from the `input-values`. As shown below, this subscription will simply retrieve\n * the value associated with the `:foo` key in our db:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * (fn [db _] ;; :\x3c---- trivial boilerplate we might want to skip over\n * (:foo db)))\n * \n * This is slightly more boilerplate than we might like to do,\n * as we can use a keyword directly as a function, and we might like to do this:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * :foo) ;; :\x3c---- This could be dangerous. If `:foo` is not in db, we get the `query-vector` instead of `nil`.\n * \n * By using `:-\x3e` our function would not contain the `query-vector`, and any\n * missing keys would be represented as such:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * :-\x3e :foo)\n * \n * This form allows us to ignore the `query-vector` if our `computation-function`\n * has no need for it, and be safe from any accidents. Any 1-arity function can be provided,\n * and for more complicated use cases, `partial`, `comp`, and anonymous functions can still be used.\n * \n * 3. A single sugary tuple of `:\x3d\x3e` and a multi-arity `computation-function`\n * \n * #!clj\n * (reg-sub\n * :query-id\n * :\x3d\x3e computation-fn)\n * \n * The `query-vector` can be broken into two components `[query-id \x26 optional-values]`, and\n * some subscriptions require the `optional-values` for extra work within the subscription.\n * To use them in variation #1, we need to destructure our `computation-function` parameters\n * in order to use them.\n * \n * #!clj\n * (reg-sub\n * :query-id\n * (fn [db [_ foo]]\n * [db foo]))\n * \n * Again we are writing boilerplate just to reach our values, and we might prefer to\n * have direction access through a parameter vector like `[input-values optional-values]`\n * instead, so we might be able to use a multi-arity function directly as our `computation-function`.\n * A rewrite of the above sub using this sugary syntax would look like this:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * :\x3d\x3e vector) ;; :\x3c---- Could also be `(fn [db foo] [db foo])`\n * \n * The `computation function` is expected to take two arguments:\n * \n * - `input-values` - the values which flow into this node (how is it wired into the graph?)\n * - `query-vector` - the vector given to `subscribe`\n * \n * and it returns a computed value (which then becomes the output of the node)\n * \n * When `computation function` is called, the 2nd `query-vector` argument will be that\n * vector supplied to the `subscribe`. So, if the call was `(subscribe [:sub-id 3 :blue])`,\n * then the `query-vector` supplied to the computation function will be `[:sub-id 3 :blue]`.\n * \n * The argument(s) supplied to `reg-sub` between `query-id` and the `computation-function`\n * can vary in 3 ways, but whatever is there defines the `input signals` part\n * of `the mechanism`, specifying what input values \x22flow into\x22 the\n * `computation function` (as the 1st argument) when it is called.\n * \n * So, `reg-sub` can be called in one of three ways, because there are three ways\n * to define the input signals part. But note, the 2nd method, in which a\n * `signals function` is explicitly supplied, is the most canonical and\n * instructive. The other two are really just sugary variations.\n * \n * **First variation** - no input signal function given:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * a-computation-fn) ;; has signature: (fn [db query-vec] ... ret-value)\n * \n * In the absence of an explicit `signals function`, the node\x27s input signal defaults to `app-db`\n * and, as a result, the value within `app-db` (a map) is\n * given as the 1st argument when `a-computation-fn` is called.\n * \n * \n * **Second variation** - a signal function is explicitly supplied:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * signal-fn ;; \x3c-- here\n * computation-fn)\n * \n * This is the most canonical and instructive of the three variations.\n * \n * When a node is created from the template, the `signal function` will be called and it\n * is expected to return the input signal(s) as either a singleton, if there is only\n * one, or a sequence if there are many, or a map with the signals as the values.\n * \n * The current values of the returned signals will be supplied as the 1st argument to\n * the `a-computation-fn` when it is called - and subject to what this `signal-fn` returns,\n * this value will be either a singleton, sequence or map of them (paralleling\n * the structure returned by the `signal function`).\n * \n * This example `signal function` returns a 2-vector of input signals.\n * \n * #!clj\n * (fn [query-vec dynamic-vec]\n * [(subscribe [:a-sub])\n * (subscribe [:b-sub])])\n * \n * The associated computation function must be written\n * to expect a 2-vector of values for its first argument:\n * \n * #!clj\n * (fn [[a b] query-vec] ;; 1st argument is a seq of two values\n * ....)\n * \n * If, on the other hand, the signal function was simpler and returned a singleton, like this:\n * \n * #!clj\n * (fn [query-vec dynamic-vec]\n * (subscribe [:a-sub])) ;; \x3c-- returning a singleton\n * \n * then the associated computation function must be written to expect a single value\n * as the 1st argument:\n * \n * #!clj\n * (fn [a query-vec] ;; 1st argument is a single value\n * ...)\n * \n * Further Note: variation #1 above, in which an `signal-fn` was not supplied, like this:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * a-computation-fn) ;; has signature: (fn [db query-vec] ... ret-value)\n * \n * is the equivalent of using this\n * 2nd variation and explicitly supplying a `signal-fn` which returns `app-db`:\n * \n * #!clj\n * (reg-sub\n * :query-id\n * (fn [_ _] re-frame/app-db) ;; \x3c--- explicit signal-fn\n * a-computation-fn) ;; has signature: (fn [db query-vec] ... ret-value)\n * \n * **Third variation** - syntax Sugar\n * \n * #!clj\n * (reg-sub\n * :a-b-sub\n * :\x3c- [:a-sub]\n * :\x3c- [:b-sub]\n * (fn [[a b] query-vec] ;; 1st argument is a seq of two values\n * {:a a :b b}))\n * \n * This 3rd variation is just syntactic sugar for the 2nd. Instead of providing an\n * `signals-fn` you provide one or more pairs of `:\x3c-` and a subscription vector.\n * \n * If you supply only one pair a singleton will be supplied to the computation function,\n * as if you had supplied a `signal-fn` returning only a single value:\n * \n * #!clj\n * (reg-sub\n * :a-sub\n * :\x3c- [:a-sub]\n * (fn [a query-vec] ;; only one pair, so 1st argument is a single value\n * ...))\n * \n * Syntactic sugar for both the `signal-fn` and `computation-fn` can be used together\n * and the direction of arrows shows the flow of data and functions. The example from\n * directly above is reproduced here:\n * \n * #!clj\n * (reg-sub\n * :a-b-sub\n * :\x3c- [:a-sub]\n * :\x3c- [:b-sub]\n * :-\x3e (partial zipmap [:a :b]))\n * \n * For further understanding, read the tutorials, and look at the detailed comments in\n * /examples/todomvc/src/subs.cljs.\n * \n * See also: `subscribe`\n * \n */\nre_frame.core.reg_sub \x3d (function re_frame$core$reg_sub(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41497 \x3d arguments.length;\nvar i__5770__auto___41498 \x3d (0);\nwhile(true){\nif((i__5770__auto___41498 \x3c len__5769__auto___41497)){\nargs__5775__auto__.push((arguments[i__5770__auto___41498]));\n\nvar G__41499 \x3d (i__5770__auto___41498 + (1));\ni__5770__auto___41498 \x3d G__41499;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((1) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null);\nreturn re_frame.core.reg_sub.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__);\n});\n\n(re_frame.core.reg_sub.cljs$core$IFn$_invoke$arity$variadic \x3d (function (query_id,args){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$3(re_frame.subs.reg_sub,query_id,args);\n}));\n\n(re_frame.core.reg_sub.cljs$lang$maxFixedArity \x3d (1));\n\n/** @this {Function} */\n(re_frame.core.reg_sub.cljs$lang$applyTo \x3d (function (seq41458){\nvar G__41459 \x3d cljs.core.first(seq41458);\nvar seq41458__$1 \x3d cljs.core.next(seq41458);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__41459,seq41458__$1);\n}));\n\n/**\n * Given a `query` vector, returns a Reagent `reaction` which will, over\n * time, reactively deliver a stream of values. So, in FRP-ish terms,\n * it returns a `Signal`.\n * \n * To obtain the current value from the Signal, it must be dereferenced:\n * \n * #!clj\n * (let [signal (subscribe [:items])\n * value (deref signal)] ;; could be written as @signal\n * ...)\n * \n * which is typically written tersely as simple:\n * \n * #!clj\n * (let [items @(subscribe [:items])]\n * ...)\n * \n * \n * `query` is a vector of at least one element. The first element is the\n * `query-id`, typically a namespaced keyword. The rest of the vector\x27s\n * elements are optional, additional values which parameterise the query\n * performed.\n * \n * `dynv` exists for historical reasons and is borderline deprecated these days.\n * It is a vector of signals. Re-frame will dereference each of them and pass a\n * vector of their values to your subscription handler as a third argument.\n * If there\x27s logic determing __what__ query to subscribe __to__, consider\n * expressing it in a `signal function`, or use `reg-sub-raw`. Failing that, `dynv`\n * allows you to colocate this logic with the `subscribe` call.\n * \n * **Example Usage**:\n * \n * #!clj\n * (subscribe [:items])\n * (subscribe [:items \x22blue\x22 :small])\n * (subscribe [:items {:colour \x22blue\x22 :size :small}])\n * \n * Note: for any given call to `subscribe` there must have been a previous call\n * to `reg-sub`, registering the query handler (functions) associated with\n * `query-id`.\n * \n * **Hint**\n * \n * When used in a view function BE SURE to `deref` the returned value.\n * In fact, to avoid any mistakes, some prefer to define:\n * \n * #!clj\n * (def \x3csub (comp deref re-frame.core/subscribe))\n * \n * And then, within their views, they call `(\x3csub [:items :small])` rather\n * than using `subscribe` directly.\n * \n * **De-duplication**\n * \n * Two, or more, concurrent subscriptions for the same query will\n * source reactive updates from the one executing handler.\n * \n * See also: `reg-sub`\n * \n */\nre_frame.core.subscribe \x3d (function re_frame$core$subscribe(var_args){\nvar G__41461 \x3d arguments.length;\nswitch (G__41461) {\ncase 1:\nreturn re_frame.core.subscribe.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn re_frame.core.subscribe.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.subscribe.cljs$core$IFn$_invoke$arity$1 \x3d (function (query){\nreturn re_frame.subs.subscribe.cljs$core$IFn$_invoke$arity$1(query);\n}));\n\n(re_frame.core.subscribe.cljs$core$IFn$_invoke$arity$2 \x3d (function (query,dynv){\nreturn re_frame.subs.subscribe.cljs$core$IFn$_invoke$arity$2(query,dynv);\n}));\n\n(re_frame.core.subscribe.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Unregisters subscription handlers (presumably registered previously via the use of `reg-sub`).\n * \n * When called with no args, it will unregister all currently registered subscription handlers.\n * \n * When given one arg, assumed to be the `id` of a previously registered\n * subscription handler, it will unregister the associated handler. Will produce a warning to\n * console if it finds no matching registration.\n * \n * NOTE: Depending on the usecase, it may be necessary to call `clear-subscription-cache!` afterwards\n */\nre_frame.core.clear_sub \x3d (function re_frame$core$clear_sub(var_args){\nvar G__41463 \x3d arguments.length;\nswitch (G__41463) {\ncase 0:\nreturn re_frame.core.clear_sub.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn re_frame.core.clear_sub.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.clear_sub.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$1(re_frame.subs.kind);\n}));\n\n(re_frame.core.clear_sub.cljs$core$IFn$_invoke$arity$1 \x3d (function (query_id){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$2(re_frame.subs.kind,query_id);\n}));\n\n(re_frame.core.clear_sub.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * This is a low level, advanced function. You should probably be\n * using `reg-sub` instead.\n * \n * Some explanation is available in the docs at\n * \x3ca href\x3d\x22http://day8.github.io/re-frame/flow-mechanics/\x22 target\x3d\x22_blank\x22\x3ehttp://day8.github.io/re-frame/flow-mechanics/\x3c/a\x3e\n */\nre_frame.core.reg_sub_raw \x3d (function re_frame$core$reg_sub_raw(query_id,handler_fn){\nreturn re_frame.registrar.register_handler(re_frame.subs.kind,query_id,handler_fn);\n});\n/**\n * Removes all subscriptions from the cache.\n * \n * This function can be used at development time or test time. Useful when hot reloading\n * namespaces containing subscription handlers. Also call it after a React/render exception,\n * because React components won\x27t have been cleaned up properly. And this, in turn, means\n * the subscriptions within those components won\x27t have been cleaned up correctly. So this\n * forces the issue.\n * \n */\nre_frame.core.clear_subscription_cache_BANG_ \x3d (function re_frame$core$clear_subscription_cache_BANG_(){\nreturn re_frame.subs.clear_subscription_cache_BANG_();\n});\n/**\n * Register the given effect `handler` for the given `id`:\n * \n * - `id` is keyword, often namespaced.\n * - `handler` is a side-effecting function which takes a single argument and whose return\n * value is ignored.\n * \n * To use, first, associate `:effect2` with a handler:\n * \n * #!clj\n * (reg-fx\n * :effect2\n * (fn [value]\n * ... do something side-effect-y))\n * \n * Then, later, if an event handler were to return this effects map:\n * \n * #!clj\n * {:effect2 [1 2]}\n * \n * then the `handler` `fn` we registered previously, using `reg-fx`, will be\n * called with an argument of `[1 2]`.\n * \n */\nre_frame.core.reg_fx \x3d (function re_frame$core$reg_fx(id,handler){\nreturn re_frame.fx.reg_fx(id,handler);\n});\n/**\n * Unregisters effect handlers (presumably registered previously via the use of `reg-fx`).\n * \n * When called with no args, it will unregister all currently registered effect handlers.\n * \n * When given one arg, assumed to be the `id` of a previously registered\n * effect handler, it will unregister the associated handler. Will produce a warning to\n * console if it finds no matching registration.\n * \n */\nre_frame.core.clear_fx \x3d (function re_frame$core$clear_fx(var_args){\nvar G__41465 \x3d arguments.length;\nswitch (G__41465) {\ncase 0:\nreturn re_frame.core.clear_fx.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn re_frame.core.clear_fx.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.clear_fx.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$1(re_frame.fx.kind);\n}));\n\n(re_frame.core.clear_fx.cljs$core$IFn$_invoke$arity$1 \x3d (function (id){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$2(re_frame.fx.kind,id);\n}));\n\n(re_frame.core.clear_fx.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * Register the given coeffect `handler` for the given `id`, for later use\n * within `inject-cofx`:\n * \n * - `id` is keyword, often namespaced.\n * - `handler` is a function which takes either one or two arguments, the first of which is\n * always `coeffects` and which returns an updated `coeffects`.\n * \n * See also: `inject-cofx`\n * \n */\nre_frame.core.reg_cofx \x3d (function re_frame$core$reg_cofx(id,handler){\nreturn re_frame.cofx.reg_cofx(id,handler);\n});\n/**\n * Given an `id`, and an optional, arbitrary `value`, returns an interceptor\n * whose `:before` adds to the `:coeffects` (map) by calling a pre-registered\n * \x27coeffect handler\x27 identified by the `id`.\n * \n * The previous association of a `coeffect handler` with an `id` will have\n * happened via a call to `re-frame.core/reg-cofx` - generally on program startup.\n * \n * Within the created interceptor, this \x27looked up\x27 `coeffect handler` will\n * be called (within the `:before`) with two arguments:\n * \n * - the current value of `:coeffects`\n * - optionally, the originally supplied arbitrary `value`\n * \n * This `coeffect handler` is expected to modify and return its first, `coeffects` argument.\n * \n * **Example of `inject-cofx` and `reg-cofx` working together**\n * \n * \n * First - Early in app startup, you register a `coeffect handler` for `:datetime`:\n * \n * #!clj\n * (re-frame.core/reg-cofx\n * :datetime ;; usage (inject-cofx :datetime)\n * (fn coeffect-handler\n * [coeffect]\n * (assoc coeffect :now (js/Date.)))) ;; modify and return first arg\n * \n * Second - Later, add an interceptor to an -fx event handler, using `inject-cofx`:\n * \n * #!clj\n * (re-frame.core/reg-event-fx ;; when registering an event handler\n * :event-id\n * [ ... (inject-cofx :datetime) ... ] ;; \x3c-- create an injecting interceptor\n * (fn event-handler\n * [coeffect event]\n * ;;... in here can access (:now coeffect) to obtain current datetime ...\n * )))\n * \n * **Background**\n * \n * `coeffects` are the input resources required by an event handler\n * to perform its job. The two most obvious ones are `db` and `event`.\n * But sometimes an event handler might need other resources.\n * \n * Perhaps an event handler needs a random number or a GUID or the current\n * datetime. Perhaps it needs access to a DataScript database connection.\n * \n * If an event handler directly accesses these resources, it stops being\n * pure and, consequently, it becomes harder to test, etc. So we don\x27t\n * want that.\n * \n * Instead, the interceptor created by this function is a way to \x27inject\x27\n * \x27necessary resources\x27 into the `:coeffects` (map) subsequently given\n * to the event handler at call time.\n * \n * See also `reg-cofx`\n * \n */\nre_frame.core.inject_cofx \x3d (function re_frame$core$inject_cofx(var_args){\nvar G__41467 \x3d arguments.length;\nswitch (G__41467) {\ncase 1:\nreturn re_frame.core.inject_cofx.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn re_frame.core.inject_cofx.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.inject_cofx.cljs$core$IFn$_invoke$arity$1 \x3d (function (id){\nreturn re_frame.cofx.inject_cofx.cljs$core$IFn$_invoke$arity$1(id);\n}));\n\n(re_frame.core.inject_cofx.cljs$core$IFn$_invoke$arity$2 \x3d (function (id,value){\nreturn re_frame.cofx.inject_cofx.cljs$core$IFn$_invoke$arity$2(id,value);\n}));\n\n(re_frame.core.inject_cofx.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Unregisters coeffect handlers (presumably registered previously via the use of `reg-cofx`).\n * \n * When called with no args, it will unregister all currently registered coeffect handlers.\n * \n * When given one arg, assumed to be the `id` of a previously registered\n * coeffect handler, it will unregister the associated handler. Will produce a warning to\n * console if it finds no matching registration.\n */\nre_frame.core.clear_cofx \x3d (function re_frame$core$clear_cofx(var_args){\nvar G__41469 \x3d arguments.length;\nswitch (G__41469) {\ncase 0:\nreturn re_frame.core.clear_cofx.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn re_frame.core.clear_cofx.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.clear_cofx.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$1(re_frame.cofx.kind);\n}));\n\n(re_frame.core.clear_cofx.cljs$core$IFn$_invoke$arity$1 \x3d (function (id){\nreturn re_frame.registrar.clear_handlers.cljs$core$IFn$_invoke$arity$2(re_frame.cofx.kind,id);\n}));\n\n(re_frame.core.clear_cofx.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * Register the given event error `handler` (function) that will catch unhandled exceptions\n * thrown in the interceptors/handler chain.\n * \n * Only one `handler` can be registered. Registering a new `handler` clears the existing `handler`.\n * \n * This `handler` function has the signature:\n * \n * `(handler [original-error re-frame-error])`\n * \n * - `original-error`: A plaform-native Error object.\n * Represents the original error thrown by user code.\n * this is the error you see when no `handler` is registered.\n * \n * - `re-frame-error`: A clojure ExceptionInfo object.\n * Includes the stacktrace of re-frame\x27s internal functions,\n * and extra data about the interceptor process.\n * Call `(ex-data re-frame-error)` to get this info.\n * \n * The data includes:\n * \n * - `:interceptor`: the `:id` of the throwing interceptor.\n * - `:direction`: `:before` or `:after`.\n * - `:event-v`: the re-frame event which invoked this interceptor.\n */\nre_frame.core.reg_event_error_handler \x3d (function re_frame$core$reg_event_error_handler(handler){\nreturn re_frame.registrar.register_handler(new cljs.core.Keyword(null,\x22error\x22,\x22error\x22,-978969032),new cljs.core.Keyword(null,\x22event-handler\x22,\x22event-handler\x22,-487718843),handler);\n});\nre_frame.core.reg_event_error_handler(re_frame.interceptor.default_error_handler);\n/**\n * An interceptor which logs/instruments an event handler\x27s actions to\n * `re-frame/console` at the `:log` level.\n * \n * Output includes:\n * \n * 1. the event vector\n * 2. a `clojure.data/diff` of db, before vs after, which shows\n * the changes caused by the event handler. To understand the output,\n * you should understand:\n * \x3ca href\x3d\x22https://clojuredocs.org/clojure.data/diff\x22 target\x3d\x22_blank\x22\x3ehttps://clojuredocs.org/clojure.data/diff\x3c/a\x3e.\n * \n * You\x27d typically include this interceptor after (to the right of) any\n * `path` interceptor.\n * \n * Warning: calling `clojure.data/diff` on large, complex data structures\n * can be slow. So, you won\x27t want this interceptor present in production\n * code. So, you should condition it out like this:\n * \n * #!clj\n * (re-frame.core/reg-event-db\n * :evt-id\n * [(when ^boolean goog.DEBUG re-frame.core/debug)] ;; \x3c-- conditional\n * (fn [db v]\n * ...))\n * \n * To make this code fragment work, you\x27ll also have to set `goog.DEBUG` to\n * `false` in your production builds. For an example, look in `project.clj` of /examples/todomvc.\n * \n */\nre_frame.core.debug \x3d re_frame.std_interceptors.debug;\n/**\n * Returns an interceptor which acts somewhat like `clojure.core/update-in`, in the sense that\n * the event handler is given a specific part of `app-db` to change, not all of `app-db`.\n * \n * The interceptor has both a `:before` and `:after` functions. The `:before` replaces\n * the `:db` key within coeffects with a sub-path within `app-db`. The `:after` reverses the process,\n * and it grafts the handler\x27s return value back into db, at the right path.\n * \n * Examples:\n * \n * #!clj\n * (path :some :path)\n * (path [:some :path])\n * (path [:some :path] :to :here)\n * (path [:some :path] [:to] :here)\n * \n * Example Use:\n * \n * #!clj\n * (reg-event-db\n * :event-id\n * (path [:a :b]) ;; \x3c-- used here, in interceptor chain\n * (fn [b v] ;; 1st arg is not db. Is the value from path [:a :b] within db\n * ... new-b)) ;; returns a new value for that path (not the entire db)\n * \n * Notes:\n * \n * 1. `path` may appear more than once in an interceptor chain. Progressive narrowing.\n * 2. if `:effects` contains no `:db` effect, can\x27t graft a value back in.\n * \n */\nre_frame.core.path \x3d (function re_frame$core$path(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41505 \x3d arguments.length;\nvar i__5770__auto___41506 \x3d (0);\nwhile(true){\nif((i__5770__auto___41506 \x3c len__5769__auto___41505)){\nargs__5775__auto__.push((arguments[i__5770__auto___41506]));\n\nvar G__41507 \x3d (i__5770__auto___41506 + (1));\ni__5770__auto___41506 \x3d G__41507;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((0) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null);\nreturn re_frame.core.path.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__);\n});\n\n(re_frame.core.path.cljs$core$IFn$_invoke$arity$variadic \x3d (function (args){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$2(re_frame.std_interceptors.path,args);\n}));\n\n(re_frame.core.path.cljs$lang$maxFixedArity \x3d (0));\n\n/** @this {Function} */\n(re_frame.core.path.cljs$lang$applyTo \x3d (function (seq41470){\nvar self__5755__auto__ \x3d this;\nreturn self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq41470));\n}));\n\n/**\n * Returns an interceptor which will run the given function `f` in the `:after`\n * position.\n * \n * `f` is called with two arguments: `db` and `event`, and is expected to\n * return a modified `db`.\n * \n * Unlike the `after` interceptor which is only about side effects, `enrich`\n * expects `f` to process and alter the given `db` coeffect in some useful way,\n * contributing to the derived data, flowing vibe.\n * \n * If `f` returns `nil`, the `db` value passed to `f` will be returned instead.\n * \n * #### Example Use:\n * \n * Imagine that todomvc needed to do duplicate detection - if any two todos had\n * the same text, then highlight their background, and report them via a warning\n * at the bottom of the panel.\n * \n * Almost any user action (edit text, add new todo, remove a todo) requires a\n * complete reassessment of duplication errors and warnings. E.g. that edit\n * just made might have introduced a new duplicate, or removed one. Same with\n * any todo removal. So we need to re-calculate warnings after any CRUD events\n * associated with the todos list.\n * \n * Unless we are careful, we might end up coding subtly different checks\n * for each kind of CRUD operation. The duplicates check made after\n * \x27delete todo\x27 event might be subtly different to that done after an\n * editing operation. Nice and efficient, but fiddly. A bug generator\n * approach.\n * \n * So, instead, we create an `f` which recalculates ALL warnings from scratch\n * every time there is ANY change. It will inspect all the todos, and\n * reset ALL FLAGS every time (overwriting what was there previously)\n * and fully recalculate the list of duplicates (displayed at the bottom?).\n * \n * \x3ca href\x3d\x22https://twitter.com/nathanmarz/status/879722740776939520\x22 target\x3d\x22_blank\x22\x3ehttps://twitter.com/nathanmarz/status/879722740776939520\x3c/a\x3e\n * \n * By applying `f` in an `:enrich` interceptor, after every CRUD event,\n * we keep the handlers simple and yet we ensure this important step\n * (of getting warnings right) is not missed on any change.\n * \n * We can test `f` easily - it is a pure function - independently of\n * any CRUD operation.\n * \n * This brings huge simplicity at the expense of some re-computation\n * each time. This may be a very satisfactory trade-off in many cases.\n * \n * #### Returning nil\n * \n * In some cases, it\x27s useful to apply a change to specific situations that can\n * be determined at runtime instead of when defining the handler with an\n * `:enrich` interceptor. Instead of forcing you to return the `db` from every\n * non-applicable branch, you can return `nil` to use the given `db` value:\n * \n * #!clj\n * (def set-last-update\n * (core/enrich\n * (fn [{db :db} [_ {user :user}]]\n * (when (active-user? user) ;; \x3c- Only perform an update if user is active\n * ...))))\n * \n */\nre_frame.core.enrich \x3d (function re_frame$core$enrich(f){\nreturn re_frame.std_interceptors.enrich(f);\n});\n/**\n * \x3e New in v1.2.0\n * \n * An interceptor which decreases the amount of destructuring necessary in an\n * event handler where the event is structured as a 2-vector of\n * [event-id payload-map].\n * \n * It promotes the `payload-map` part to be the event ultimately given to the\n * event handler. Should you want the full original event, it can be found in\n * `coeffects` under the key `:original-event`.\n * \n * If a dispatch looked like this:\n * \n * #!clj\n * (dispatch [:event-id {:x 1 :y 2 :z 3}])\n * \n * Your event handlers can look like this:\n * \n * #!clj\n * (reg-event-fx\n * :event-id\n * [... unwrap ...] ;; \x3c-- added to the interceptors\n * (fn [{:keys [db]} {:keys [x y z]}] ;; \x3c-- instead of [_ {:keys [x y z]}]\n * ...)\n * \n */\nre_frame.core.unwrap \x3d re_frame.std_interceptors.unwrap;\n/**\n * An interceptor which removes the first element of the event vector,\n * before it is supplied to the event handler, allowing you to write more\n * aesthetically pleasing event handlers. No leading underscore on the event-v!\n * \n * Should you want the full original event, it can be found in `coeffects` under\n * the key `:original-event`.\n * \n * Your event handlers will look like this:\n * \n * #!clj\n * (reg-event-db\n * :event-id\n * [... trim-v ...] ;; \x3c-- added to the interceptors\n * (fn [db [x y z]] ;; \x3c-- instead of [_ x y z]\n * ...)\n * \n */\nre_frame.core.trim_v \x3d re_frame.std_interceptors.trim_v;\n/**\n * Returns an interceptor which runs the given function `f` in the `:after`\n * position, presumably for side effects.\n * \n * `f` is called with two arguments: the `:effects` value for `:db`\n * (or the `:coeffect` value of `:db` if no `:db` effect is returned) and the event.\n * Its return value is ignored, so `f` can only side-effect.\n * \n * An example of use can be seen in the re-frame github repo in `/examples/todomvc/events.cljs`:\n * \n * - `f` runs schema validation (reporting any errors found).\n * - `f` writes to localstorage.\n */\nre_frame.core.after \x3d (function re_frame$core$after(f){\nreturn re_frame.std_interceptors.after(f);\n});\n/**\n * Returns an interceptor which will observe N paths within `db`, and if any of them\n * test not `identical?` to their previous value (as a result of a event handler\n * being run), then it will run `f` to compute a new value, which is then assoc-ed\n * into the given `out-path` within `db`.\n * \n * Example Usage:\n * \n * #!clj\n * (defn my-f\n * [a-val b-val]\n * ... some computation on a and b in here)\n * \n * ;; use it\n * (def my-interceptor (on-changes my-f [:c] [:a] [:b]))\n * \n * (reg-event-db\n * :event-id\n * [... my-interceptor ...] ;; \x3c-- ultimately used here\n * (fn [db v]\n * ...))\n * \n * \n * If you put this interceptor on handlers which might change paths `:a` or `:b`,\n * it will:\n * \n * - call `f` each time the value at path `[:a]` or `[:b]` changes\n * - call `f` with the values extracted from `[:a]` `[:b]`\n * - assoc the return value from `f` into the path `[:c]`\n * \n */\nre_frame.core.on_changes \x3d (function re_frame$core$on_changes(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41508 \x3d arguments.length;\nvar i__5770__auto___41509 \x3d (0);\nwhile(true){\nif((i__5770__auto___41509 \x3c len__5769__auto___41508)){\nargs__5775__auto__.push((arguments[i__5770__auto___41509]));\n\nvar G__41510 \x3d (i__5770__auto___41509 + (1));\ni__5770__auto___41509 \x3d G__41510;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((2) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((2)),(0),null)):null);\nreturn re_frame.core.on_changes.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__5776__auto__);\n});\n\n(re_frame.core.on_changes.cljs$core$IFn$_invoke$arity$variadic \x3d (function (f,out_path,in_paths){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$4(re_frame.std_interceptors.on_changes,f,out_path,in_paths);\n}));\n\n(re_frame.core.on_changes.cljs$lang$maxFixedArity \x3d (2));\n\n/** @this {Function} */\n(re_frame.core.on_changes.cljs$lang$applyTo \x3d (function (seq41471){\nvar G__41472 \x3d cljs.core.first(seq41471);\nvar seq41471__$1 \x3d cljs.core.next(seq41471);\nvar G__41473 \x3d cljs.core.first(seq41471__$1);\nvar seq41471__$2 \x3d cljs.core.next(seq41471__$1);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__41472,G__41473,seq41471__$2);\n}));\n\n/**\n * Registers the given `interceptor` as a global interceptor. Global interceptors are\n * included in the processing chain of every event.\n * \n * When you register an event handler, you have the option of supplying an\n * interceptor chain. Any global interceptors you register are effectively\n * prepending to this chain.\n * \n * Global interceptors are run in the order that they are registered.\n * \n * Global interceptors are unique by :id. If a global interceptor with the same :id\n * key as `interceptor` is already registered, `interceptor` will take its place in the\n * global interceptor chain. This facilitates hot-reloading.\n * \n * Note: members of re-frame.std-interceptors do not have unique ids. To register\n * more than one, consider:\n * \n * (reg-global-interceptor (-\x3e (re-frame.std-interceptors/on-changes + [:a] [:b])\n * (assoc :id :my-unique-id)))\n */\nre_frame.core.reg_global_interceptor \x3d (function re_frame$core$reg_global_interceptor(interceptor){\nreturn re_frame.settings.reg_global_interceptor(interceptor);\n});\n/**\n * Unregisters global interceptors (presumably registered previously via the use of `reg-global-interceptor`).\n * \n * When called with no args, it will unregister all currently registered global interceptors.\n * \n * When given one arg, assumed to be the `id` of a previously registered\n * global interceptors, it will unregister the associated interceptor. Will produce a warning to\n * console if it finds no matching registration.\n */\nre_frame.core.clear_global_interceptor \x3d (function re_frame$core$clear_global_interceptor(var_args){\nvar G__41475 \x3d arguments.length;\nswitch (G__41475) {\ncase 0:\nreturn re_frame.core.clear_global_interceptor.cljs$core$IFn$_invoke$arity$0();\n\nbreak;\ncase 1:\nreturn re_frame.core.clear_global_interceptor.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.clear_global_interceptor.cljs$core$IFn$_invoke$arity$0 \x3d (function (){\nreturn re_frame.settings.clear_global_interceptors.cljs$core$IFn$_invoke$arity$0();\n}));\n\n(re_frame.core.clear_global_interceptor.cljs$core$IFn$_invoke$arity$1 \x3d (function (id){\nreturn re_frame.settings.clear_global_interceptors.cljs$core$IFn$_invoke$arity$1(id);\n}));\n\n(re_frame.core.clear_global_interceptor.cljs$lang$maxFixedArity \x3d 1);\n\n/**\n * A utility function for creating interceptors.\n * \n * Accepts three optional, named arguments:\n * \n * - `:id` - an id for the interceptor (decorative only)\n * - `:before` - the interceptor\x27s before function\n * - `:after` - the interceptor\x27s after function\n * \n * Example use:\n * \n * #!clj\n * (def my-interceptor\n * (-\x3einterceptor\n * :id :my-interceptor\n * :before (fn [context]\n * ... modifies and returns `context`)\n * :after (fn [context]\n * ... modifies and returns `context`)))\n * \n * Notes:\n * \n * - `:before` functions modify and return their `context` argument. Sometimes they\n * only side effect, in which case, they\x27ll perform the side effect and return\n * `context` unchanged.\n * - `:before` functions often modify the `:coeffects` map within `context` and,\n * if they do, then they should use the utility functions `get-coeffect` and\n * `assoc-coeffect`.\n * - `:after` functions modify and return their `context` argument. Sometimes they\n * only side effect, in which case, they\x27ll perform the side effect and return\n * `context` unchanged.\n * - `:after` functions often modify the `:effects` map within `context` and,\n * if they do, then they should use the utility functions `get-effect`\n * and `assoc-effect`\n */\nre_frame.core.__GT_interceptor \x3d (function re_frame$core$__GT_interceptor(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41512 \x3d arguments.length;\nvar i__5770__auto___41513 \x3d (0);\nwhile(true){\nif((i__5770__auto___41513 \x3c len__5769__auto___41512)){\nargs__5775__auto__.push((arguments[i__5770__auto___41513]));\n\nvar G__41514 \x3d (i__5770__auto___41513 + (1));\ni__5770__auto___41513 \x3d G__41514;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((0) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null);\nreturn re_frame.core.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__);\n});\n\n(re_frame.core.__GT_interceptor.cljs$core$IFn$_invoke$arity$variadic \x3d (function (p__41477){\nvar map__41478 \x3d p__41477;\nvar map__41478__$1 \x3d cljs.core.__destructure_map(map__41478);\nvar m \x3d map__41478__$1;\nvar id \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41478__$1,new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092));\nvar before \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41478__$1,new cljs.core.Keyword(null,\x22before\x22,\x22before\x22,-1633692388));\nvar after \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__41478__$1,new cljs.core.Keyword(null,\x22after\x22,\x22after\x22,594996914));\nreturn re_frame.utils.apply_kw.cljs$core$IFn$_invoke$arity$variadic(re_frame.interceptor.__GT_interceptor,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([m], 0));\n}));\n\n(re_frame.core.__GT_interceptor.cljs$lang$maxFixedArity \x3d (0));\n\n/** @this {Function} */\n(re_frame.core.__GT_interceptor.cljs$lang$applyTo \x3d (function (seq41476){\nvar self__5755__auto__ \x3d this;\nreturn self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq41476));\n}));\n\n/**\n * A utility function, typically used when writing an interceptor\x27s `:before` function.\n * \n * When called with one argument, it returns the `:coeffects` map from within that `context`.\n * \n * When called with two or three arguments, behaves like `clojure.core/get` and\n * returns the value mapped to `key` in the `:coeffects` map within `context`, `not-found` or\n * `nil` if `key` is not present.\n */\nre_frame.core.get_coeffect \x3d (function re_frame$core$get_coeffect(var_args){\nvar G__41480 \x3d arguments.length;\nswitch (G__41480) {\ncase 1:\nreturn re_frame.core.get_coeffect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn re_frame.core.get_coeffect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn re_frame.core.get_coeffect.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.get_coeffect.cljs$core$IFn$_invoke$arity$1 \x3d (function (context){\nreturn re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$1(context);\n}));\n\n(re_frame.core.get_coeffect.cljs$core$IFn$_invoke$arity$2 \x3d (function (context,key){\nreturn re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$2(context,key);\n}));\n\n(re_frame.core.get_coeffect.cljs$core$IFn$_invoke$arity$3 \x3d (function (context,key,not_found){\nreturn re_frame.interceptor.get_coeffect.cljs$core$IFn$_invoke$arity$3(context,key,not_found);\n}));\n\n(re_frame.core.get_coeffect.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * A utility function, typically used when writing an interceptor\x27s `:before` function.\n * \n * Adds or updates a key/value pair in the `:coeffects` map within `context`. \n */\nre_frame.core.assoc_coeffect \x3d (function re_frame$core$assoc_coeffect(context,key,value){\nreturn re_frame.interceptor.assoc_coeffect(context,key,value);\n});\n/**\n * A utility function, used when writing interceptors, typically within an `:after` function.\n * \n * When called with one argument, returns the `:effects` map from the `context`.\n * \n * When called with two or three arguments, behaves like `clojure.core/get` and\n * returns the value mapped to `key` in the effects map, `not-found` or\n * `nil` if `key` is not present.\n */\nre_frame.core.get_effect \x3d (function re_frame$core$get_effect(var_args){\nvar G__41482 \x3d arguments.length;\nswitch (G__41482) {\ncase 1:\nreturn re_frame.core.get_effect.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn re_frame.core.get_effect.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ncase 3:\nreturn re_frame.core.get_effect.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.get_effect.cljs$core$IFn$_invoke$arity$1 \x3d (function (context){\nreturn re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$1(context);\n}));\n\n(re_frame.core.get_effect.cljs$core$IFn$_invoke$arity$2 \x3d (function (context,key){\nreturn re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$2(context,key);\n}));\n\n(re_frame.core.get_effect.cljs$core$IFn$_invoke$arity$3 \x3d (function (context,key,not_found){\nreturn re_frame.interceptor.get_effect.cljs$core$IFn$_invoke$arity$3(context,key,not_found);\n}));\n\n(re_frame.core.get_effect.cljs$lang$maxFixedArity \x3d 3);\n\n/**\n * A utility function, typically used when writing an interceptor\x27s `:after` function.\n * \n * Adds or updates a key/value pair in the `:effects` map within `context`. \n */\nre_frame.core.assoc_effect \x3d (function re_frame$core$assoc_effect(context,key,value){\nreturn re_frame.interceptor.assoc_effect(context,key,value);\n});\n/**\n * A utility function, used when writing an interceptor\x27s `:before` function.\n * \n * Adds the given collection of `interceptors` to those already in `context\x27s`\n * execution `:queue`. It returns the updated `context`.\n * \n * So, it provides a way for one interceptor to add more interceptors to the\n * currently executing interceptor chain.\n * \n */\nre_frame.core.enqueue \x3d (function re_frame$core$enqueue(context,interceptors){\nreturn re_frame.interceptor.enqueue(context,interceptors);\n});\n/**\n * re-frame outputs warnings and errors via the API function `console`\n * which, by default, delegates to `js/console`\x27s default implementation for\n * `log`, `error`, `warn`, `debug`, `group` and `groupEnd`. But, using this function,\n * you can override that behaviour with your own functions.\n * \n * The argument `new-loggers` should be a map containing a subset of they keys\n * for the standard `loggers`, namely `:log` `:error` `:warn` `:debug` `:group`\n * or `:groupEnd`.\n * \n * Example Usage:\n * \n * #!clj\n * (defn my-logger ;; my alternative logging function\n * [\x26 args]\n * (post-it-somewhere (apply str args)))\n * \n * ;; now install my alternative loggers\n * (re-frame.core/set-loggers! {:warn my-logger :log my-logger})\n * \n */\nre_frame.core.set_loggers_BANG_ \x3d (function re_frame$core$set_loggers_BANG_(new_loggers){\nreturn re_frame.loggers.set_loggers_BANG_(new_loggers);\n});\n/**\n * A utility logging function which is used internally within re-frame to produce\n * warnings and other output. It can also be used by libraries which\n * extend re-frame, such as effect handlers.\n * \n * By default, it will output the given `args` to `js/console` at the given log `level`.\n * However, an application using re-frame can redirect `console` output via `set-loggers!`.\n * \n * `level` can be one of `:log`, `:error`, `:warn`, `:debug`, `:group` or `:groupEnd`.\n * \n * Example usage:\n * \n * #!clj\n * (console :error \x22Sure enough it happened:\x22 a-var \x22and\x22 another)\n * (console :warn \x22Possible breach of containment wall at:\x22 dt)\n * \n */\nre_frame.core.console \x3d (function re_frame$core$console(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41519 \x3d arguments.length;\nvar i__5770__auto___41522 \x3d (0);\nwhile(true){\nif((i__5770__auto___41522 \x3c len__5769__auto___41519)){\nargs__5775__auto__.push((arguments[i__5770__auto___41522]));\n\nvar G__41523 \x3d (i__5770__auto___41522 + (1));\ni__5770__auto___41522 \x3d G__41523;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((1) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((1)),(0),null)):null);\nreturn re_frame.core.console.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__5776__auto__);\n});\n\n(re_frame.core.console.cljs$core$IFn$_invoke$arity$variadic \x3d (function (level,args){\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$3(re_frame.loggers.console,level,args);\n}));\n\n(re_frame.core.console.cljs$lang$maxFixedArity \x3d (1));\n\n/** @this {Function} */\n(re_frame.core.console.cljs$lang$applyTo \x3d (function (seq41483){\nvar G__41484 \x3d cljs.core.first(seq41483);\nvar seq41483__$1 \x3d cljs.core.next(seq41483);\nvar self__5754__auto__ \x3d this;\nreturn self__5754__auto__.cljs$core$IFn$_invoke$arity$variadic(G__41484,seq41483__$1);\n}));\n\n/**\n * This is a utility function, typically used in testing.\n * \n * It checkpoints the current state of re-frame and returns a function which, when\n * later called, will restore re-frame to the checkpointed state.\n * \n * The checkpoint includes `app-db`, all registered handlers and all subscriptions.\n * \n */\nre_frame.core.make_restore_fn \x3d (function re_frame$core$make_restore_fn(){\nvar handlers \x3d cljs.core.deref(re_frame.registrar.kind__GT_id__GT_handler);\nvar app_db \x3d cljs.core.deref(re_frame.db.app_db);\nvar subs_cache \x3d cljs.core.deref(re_frame.subs.query__GT_reaction);\nreturn (function (){\nvar original_subs_41525 \x3d cljs.core.set(cljs.core.vals(subs_cache));\nvar current_subs_41526 \x3d cljs.core.set(cljs.core.vals(cljs.core.deref(re_frame.subs.query__GT_reaction)));\nvar seq__41485_41527 \x3d cljs.core.seq(clojure.set.difference.cljs$core$IFn$_invoke$arity$2(current_subs_41526,original_subs_41525));\nvar chunk__41486_41528 \x3d null;\nvar count__41487_41529 \x3d (0);\nvar i__41488_41530 \x3d (0);\nwhile(true){\nif((i__41488_41530 \x3c count__41487_41529)){\nvar sub_41531 \x3d chunk__41486_41528.cljs$core$IIndexed$_nth$arity$2(null, i__41488_41530);\nre_frame.interop.dispose_BANG_(sub_41531);\n\n\nvar G__41532 \x3d seq__41485_41527;\nvar G__41533 \x3d chunk__41486_41528;\nvar G__41534 \x3d count__41487_41529;\nvar G__41535 \x3d (i__41488_41530 + (1));\nseq__41485_41527 \x3d G__41532;\nchunk__41486_41528 \x3d G__41533;\ncount__41487_41529 \x3d G__41534;\ni__41488_41530 \x3d G__41535;\ncontinue;\n} else {\nvar temp__5823__auto___41536 \x3d cljs.core.seq(seq__41485_41527);\nif(temp__5823__auto___41536){\nvar seq__41485_41537__$1 \x3d temp__5823__auto___41536;\nif(cljs.core.chunked_seq_QMARK_(seq__41485_41537__$1)){\nvar c__5568__auto___41538 \x3d cljs.core.chunk_first(seq__41485_41537__$1);\nvar G__41539 \x3d cljs.core.chunk_rest(seq__41485_41537__$1);\nvar G__41540 \x3d c__5568__auto___41538;\nvar G__41541 \x3d cljs.core.count(c__5568__auto___41538);\nvar G__41542 \x3d (0);\nseq__41485_41527 \x3d G__41539;\nchunk__41486_41528 \x3d G__41540;\ncount__41487_41529 \x3d G__41541;\ni__41488_41530 \x3d G__41542;\ncontinue;\n} else {\nvar sub_41543 \x3d cljs.core.first(seq__41485_41537__$1);\nre_frame.interop.dispose_BANG_(sub_41543);\n\n\nvar G__41544 \x3d cljs.core.next(seq__41485_41537__$1);\nvar G__41545 \x3d null;\nvar G__41546 \x3d (0);\nvar G__41547 \x3d (0);\nseq__41485_41527 \x3d G__41544;\nchunk__41486_41528 \x3d G__41545;\ncount__41487_41529 \x3d G__41546;\ni__41488_41530 \x3d G__41547;\ncontinue;\n}\n} else {\n}\n}\nbreak;\n}\n\ncljs.core.reset_BANG_(re_frame.registrar.kind__GT_id__GT_handler,handlers);\n\ncljs.core.reset_BANG_(re_frame.db.app_db,app_db);\n\nreturn null;\n});\n});\n/**\n * Removes all events currently queued for processing\n */\nre_frame.core.purge_event_queue \x3d (function re_frame$core$purge_event_queue(){\nreturn re_frame.router.event_queue.re_frame$router$IEventQueue$purge$arity$1(null, );\n});\n/**\n * Registers the given function `f` to be called after each event is processed.\n * \n * `f` will be called with two arguments:\n * \n * - `event`: a vector. The event just processed.\n * - `queue`: a PersistentQueue, possibly empty, of events yet to be processed.\n * \n * This facility is useful in advanced cases like:\n * \n * - you are implementing a complex bootstrap pipeline\n * - you want to create your own handling infrastructure, with perhaps multiple\n * handlers for the one event, etc. Hook in here.\n * - libraries providing \x27isomorphic javascript\x27 rendering on Nodejs or Nashorn.\n * \n * `id` is typically a keyword. If it supplied when an `f` is added, it can be\n * subsequently be used to identify it for removal. See `remove-post-event-callback`.\n * \n */\nre_frame.core.add_post_event_callback \x3d (function re_frame$core$add_post_event_callback(var_args){\nvar G__41490 \x3d arguments.length;\nswitch (G__41490) {\ncase 1:\nreturn re_frame.core.add_post_event_callback.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));\n\nbreak;\ncase 2:\nreturn re_frame.core.add_post_event_callback.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));\n\nbreak;\ndefault:\nthrow (new Error([\x22Invalid arity: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(\x27\x27)));\n\n}\n});\n\n(re_frame.core.add_post_event_callback.cljs$core$IFn$_invoke$arity$1 \x3d (function (f){\nreturn re_frame.core.add_post_event_callback.cljs$core$IFn$_invoke$arity$2(f,f);\n}));\n\n(re_frame.core.add_post_event_callback.cljs$core$IFn$_invoke$arity$2 \x3d (function (id,f){\nreturn re_frame.router.event_queue.re_frame$router$IEventQueue$add_post_event_callback$arity$3(null, id,f);\n}));\n\n(re_frame.core.add_post_event_callback.cljs$lang$maxFixedArity \x3d 2);\n\n/**\n * Unregisters a post event callback function, identified by `id`.\n * \n * Such a function must have been previously registered via `add-post-event-callback`\n */\nre_frame.core.remove_post_event_callback \x3d (function re_frame$core$remove_post_event_callback(id){\nreturn re_frame.router.event_queue.re_frame$router$IEventQueue$remove_post_event_callback$arity$2(null, id);\n});\n/**\n * Deprecated. Use `reg-event-db` instead.\n */\nre_frame.core.register_handler \x3d (function re_frame$core$register_handler(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41549 \x3d arguments.length;\nvar i__5770__auto___41550 \x3d (0);\nwhile(true){\nif((i__5770__auto___41550 \x3c len__5769__auto___41549)){\nargs__5775__auto__.push((arguments[i__5770__auto___41550]));\n\nvar G__41551 \x3d (i__5770__auto___41550 + (1));\ni__5770__auto___41550 \x3d G__41551;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((0) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null);\nreturn re_frame.core.register_handler.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__);\n});\n\n(re_frame.core.register_handler.cljs$core$IFn$_invoke$arity$variadic \x3d (function (args){\nre_frame.core.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22warn\x22,\x22warn\x22,-436710552),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22re-frame: \\\x22register-handler\\\x22 has been renamed \\\x22reg-event-db\\\x22 (look for registration of \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(args)),\x22)\x22], 0));\n\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$2(re_frame.core.reg_event_db,args);\n}));\n\n(re_frame.core.register_handler.cljs$lang$maxFixedArity \x3d (0));\n\n/** @this {Function} */\n(re_frame.core.register_handler.cljs$lang$applyTo \x3d (function (seq41491){\nvar self__5755__auto__ \x3d this;\nreturn self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq41491));\n}));\n\n/**\n * Deprecated. Use `reg-sub-raw` instead.\n */\nre_frame.core.register_sub \x3d (function re_frame$core$register_sub(var_args){\nvar args__5775__auto__ \x3d [];\nvar len__5769__auto___41552 \x3d arguments.length;\nvar i__5770__auto___41553 \x3d (0);\nwhile(true){\nif((i__5770__auto___41553 \x3c len__5769__auto___41552)){\nargs__5775__auto__.push((arguments[i__5770__auto___41553]));\n\nvar G__41554 \x3d (i__5770__auto___41553 + (1));\ni__5770__auto___41553 \x3d G__41554;\ncontinue;\n} else {\n}\nbreak;\n}\n\nvar argseq__5776__auto__ \x3d ((((0) \x3c args__5775__auto__.length))?(new cljs.core.IndexedSeq(args__5775__auto__.slice((0)),(0),null)):null);\nreturn re_frame.core.register_sub.cljs$core$IFn$_invoke$arity$variadic(argseq__5776__auto__);\n});\n\n(re_frame.core.register_sub.cljs$core$IFn$_invoke$arity$variadic \x3d (function (args){\nre_frame.core.console.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(null,\x22warn\x22,\x22warn\x22,-436710552),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([\x22re-frame: \\\x22register-sub\\\x22 is used to register the event \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.first(args)),\x22 but it is a deprecated part of the API. Please use \\\x22reg-sub-raw\\\x22 instead.\x22], 0));\n\nreturn cljs.core.apply.cljs$core$IFn$_invoke$arity$2(re_frame.core.reg_sub_raw,args);\n}));\n\n(re_frame.core.register_sub.cljs$lang$maxFixedArity \x3d (0));\n\n/** @this {Function} */\n(re_frame.core.register_sub.cljs$lang$applyTo \x3d (function (seq41492){\nvar self__5755__auto__ \x3d this;\nreturn self__5755__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq(seq41492));\n}));\n\n"); -SHADOW_ENV.evalLoad("example.core.js", true, "goog.provide(\x27example.core\x27);\nuix.dev.init_fast_refresh_BANG_();\nexample.core.refresh \x3d (function example$core$refresh(){\nreturn uix.dev.refresh_BANG_();\n});\nexample.core.tools \x3d new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22rect\x22,\x22rect\x22,-108902628),new cljs.core.Keyword(null,\x22circle\x22,\x22circle\x22,1903212362),new cljs.core.Keyword(null,\x22text\x22,\x22text\x22,-1790561697)], null);\nre_frame.core.reg_sub.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(\x22hello\x22,\x22workd\x22,\x22hello/workd\x22,1342838384),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (){\nreturn new cljs.core.Keyword(null,\x22nothing\x22,\x22nothing\x22,-1022703296);\n})], 0));\nexample.core.tool_button \x3d (function example$core$tool_button(p__93258){\nvar map__93259 \x3d p__93258;\nvar map__93259__$1 \x3d cljs.core.__destructure_map(map__93259);\nvar selected_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93259__$1,new cljs.core.Keyword(null,\x22selected?\x22,\x22selected?\x22,-742502788));\nvar label \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93259__$1,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804));\nvar on_press \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93259__$1,new cljs.core.Keyword(null,\x22on-press\x22,\x22on-press\x22,-1763585856));\nvar with_let93260 \x3d reagent.ratom.with_let_values(new cljs.core.Keyword(null,\x22with-let93260\x22,\x22with-let93260\x22,2059958006));\nvar temp__5827__auto___93474 \x3d reagent.ratom._STAR_ratom_context_STAR_;\nif((temp__5827__auto___93474 \x3d\x3d null)){\n} else {\nvar c__38863__auto___93475 \x3d temp__5827__auto___93474;\nif((with_let93260.generation \x3d\x3d\x3d c__38863__auto___93475.ratomGeneration)){\nif(reagent.debug.has_console){\n((reagent.debug.tracking)?reagent.debug.track_console:console).error([\x22Warning: The same with-let is being used more \x22,\x22than once in the same reactive context.\x22].join(\x27\x27));\n} else {\n}\n} else {\n}\n\n(with_let93260.generation \x3d c__38863__auto___93475.ratomGeneration);\n}\n\nvar init93261 \x3d (with_let93260.length \x3d\x3d\x3d (0));\nvar a \x3d ((((init93261) || (cljs.core.not(with_let93260.hasOwnProperty((0))))))?(with_let93260[(0)] \x3d reagent.core.atom.cljs$core$IFn$_invoke$arity$1((1))):(with_let93260[(0)]));\nvar res93262 \x3d (function (){\ncljs.core.deref(re_frame.core.subscribe.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(\x22hello\x22,\x22workd\x22,\x22hello/workd\x22,1342838384)], null)));\n\nreturn new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22div\x22,\x22div\x22,1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),on_press,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22padding\x22,\x22padding\x22,1660304693),\x224px 8px\x22,new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22border-radius\x22,\x22border-radius\x22,419594011),(3),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),(cljs.core.truth_(selected_QMARK_)?\x22#fff\x22:null),new cljs.core.Keyword(null,\x22background-color\x22,\x22background-color\x22,570434026),(cljs.core.truth_(selected_QMARK_)?\x22#ff89da\x22:null)], null)], null),label], null);\n})()\n;\nreturn res93262;\n});\nexample.core.toolbar \x3d (function example$core$toolbar(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93267 \x3d [clj_props__39592__auto__];\nvar map__93270 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93267,(0),null);\nvar map__93270__$1 \x3d cljs.core.__destructure_map(map__93270);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93270__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93270__$1,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913));\nvar on_add_shape \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93270__$1,new cljs.core.Keyword(null,\x22on-add-shape\x22,\x22on-add-shape\x22,1289220499));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93476 \x3d example.core.toolbar.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93476)){\nvar f__39522__auto___93477 \x3d temp__5823__auto___93476;\n(f__39522__auto___93477.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93477.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93477.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__93271 \x3d state;\nvar map__93271__$1 \x3d cljs.core.__destructure_map(map__93271);\nvar grid_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93271__$1,new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689));\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27padding\x27:\x228px 16px\x22,\x27height\x27:(46),\x27display\x27:\x22flex\x22,\x27alignItems\x27:\x22center\x22,\x27backgroundColor\x27:\x22#fff\x22,\x27position\x27:\x22relative\x22,\x27boxShadow\x27:\x220 1px 1px rgba(0, 0, 10, 0.2)\x22}}],[uix.compiler.aot._GT_el(\x22img\x22,[{\x27src\x27:\x22https://raw.githubusercontent.com/pitch-io/uix/master/logo.png\x22,\x27style\x27:{\x27height\x27:\x22100%\x22,\x27margin\x27:\x220 16px 0 0\x22}}],[]),cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (t){\nreturn reagent.core.as_element.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [example.core.tool_button,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),t,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),cljs.core.name(t),new cljs.core.Keyword(null,\x22on-press\x22,\x22on-press\x22,-1763585856),(function (){\nreturn (on_add_shape.cljs$core$IFn$_invoke$arity$1 ? on_add_shape.cljs$core$IFn$_invoke$arity$1(t) : on_add_shape.call(null, t));\n})], null)], null));\n}),example.core.tools),uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27width\x27:(1),\x27height\x27:\x2260%\x22,\x27backgroundColor\x27:\x22#c1cdd0\x22,\x27margin\x27:\x220 8px\x22}}],[]),reagent.core.as_element.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [example.core.tool_button,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),\x22grid\x22,new cljs.core.Keyword(null,\x22selected?\x22,\x22selected?\x22,-742502788),grid_QMARK_,new cljs.core.Keyword(null,\x22on-press\x22,\x22on-press\x22,-1763585856),(function (){\nvar G__93273 \x3d cljs.core.update.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689),cljs.core.not);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__93273) : set_state.call(null, G__93273));\n})], null)], null))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93274 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93275 \x3d example.core.toolbar;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93275);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93274);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.toolbar.uix_component_QMARK_ \x3d true);\n\n(example.core.toolbar.displayName \x3d \x22example.core/toolbar\x22);\n\nObject.defineProperty(example.core.toolbar,\x22name\x22,(function (){var obj93278 \x3d ({\x22value\x22:\x22example.core/toolbar\x22});\nreturn obj93278;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93479 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93479.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93479.cljs$core$IFn$_invoke$arity$4(example.core.toolbar,\x22\x22,null,null) : sig__39531__auto___93479.call(null, example.core.toolbar,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.toolbar,example.core.toolbar.displayName);\n\n(example.core.toolbar.fast_refresh_signature \x3d sig__39531__auto___93479);\n} else {\n}\n} else {\n}\n\n\n(example.core.toolbar._source \x3d (function (){var obj93282 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:34});\nreturn obj93282;\n})());\nexample.core.canvas_grid93283 \x3d (function example$core$canvas_grid93283(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93284 \x3d [clj_props__39592__auto__];\nvar map__93287 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93284,(0),null);\nvar map__93287__$1 \x3d cljs.core.__destructure_map(map__93287);\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93287__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93287__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93287__$1,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007));\nvar color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93287__$1,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93483 \x3d example.core.canvas_grid93283.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93483)){\nvar f__39522__auto___93484 \x3d temp__5823__auto___93483;\n(f__39522__auto___93484.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93484.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93484.call(null, ));\n} else {\n}\n} else {\n}\n\nvar wn \x3d Math.ceil((width / size));\nvar hn \x3d Math.ceil((height / size));\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (widx){\nreturn uix.compiler.aot._GT_el(\x22line\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(widx),\x27x1\x27:(size * widx),\x27x2\x27:(size * widx),\x27y1\x27:(0),\x27y2\x27:uix.compiler.attributes.keyword__GT_string(height),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(color)}],[]);\n}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(wn)),[],false),[cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (hidx){\nreturn uix.compiler.aot._GT_el(\x22line\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(hidx),\x27y1\x27:(size * hidx),\x27y2\x27:(size * hidx),\x27x1\x27:(0),\x27x2\x27:uix.compiler.attributes.keyword__GT_string(width),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(color)}],[]);\n}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(hn))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93291 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93292 \x3d example.core.canvas_grid93283;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93292);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93291);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.canvas_grid93283.uix_component_QMARK_ \x3d true);\n\n(example.core.canvas_grid93283.displayName \x3d \x22example.core/canvas-grid\x22);\n\nObject.defineProperty(example.core.canvas_grid93283,\x22name\x22,(function (){var obj93294 \x3d ({\x22value\x22:\x22example.core/canvas-grid\x22});\nreturn obj93294;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93485 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93485.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93485.cljs$core$IFn$_invoke$arity$4(example.core.canvas_grid93283,\x22\x22,null,null) : sig__39531__auto___93485.call(null, example.core.canvas_grid93283,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.canvas_grid93283,example.core.canvas_grid93283.displayName);\n\n(example.core.canvas_grid93283.fast_refresh_signature \x3d sig__39531__auto___93485);\n} else {\n}\n} else {\n}\n\nexample.core.canvas_grid \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.canvas_grid93283);\n\n(example.core.canvas_grid._source \x3d (function (){var obj93296 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:54});\nreturn obj93296;\n})());\nexample.core.cursor \x3d (function example$core$cursor(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93299 \x3d [clj_props__39592__auto__];\nvar map__93302 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93299,(0),null);\nvar map__93302__$1 \x3d cljs.core.__destructure_map(map__93302);\nvar mx \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93302__$1,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020));\nvar my \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93302__$1,new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269));\nvar r \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93302__$1,new cljs.core.Keyword(null,\x22r\x22,\x22r\x22,-471384190));\nvar color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93302__$1,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93486 \x3d example.core.cursor.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93486)){\nvar f__39522__auto___93487 \x3d temp__5823__auto___93486;\n(f__39522__auto___93487.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93487.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93487.call(null, ));\n} else {\n}\n} else {\n}\n\nvar mx__$1 \x3d (mx + (r / (2)));\nvar my__$1 \x3d (my + (r / (2)));\nreturn uix.compiler.aot._GT_el(\x22circle\x22,[{\x27cx\x27:(mx__$1 - (r / (2))),\x27cy\x27:(my__$1 - (r / (2))),\x27r\x27:uix.compiler.attributes.keyword__GT_string(r),\x27fill\x27:uix.compiler.attributes.keyword__GT_string(color)}],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93305 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93306 \x3d example.core.cursor;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93306);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93305);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.cursor.uix_component_QMARK_ \x3d true);\n\n(example.core.cursor.displayName \x3d \x22example.core/cursor\x22);\n\nObject.defineProperty(example.core.cursor,\x22name\x22,(function (){var obj93309 \x3d ({\x22value\x22:\x22example.core/cursor\x22});\nreturn obj93309;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93489 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93489.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93489.cljs$core$IFn$_invoke$arity$4(example.core.cursor,\x22\x22,null,null) : sig__39531__auto___93489.call(null, example.core.cursor,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.cursor,example.core.cursor.displayName);\n\n(example.core.cursor.fast_refresh_signature \x3d sig__39531__auto___93489);\n} else {\n}\n} else {\n}\n\n\n(example.core.cursor._source \x3d (function (){var obj93311 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:73});\nreturn obj93311;\n})());\nexample.core.rect \x3d (function example$core$rect(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93313 \x3d [clj_props__39592__auto__];\nvar map__93316 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93313,(0),null);\nvar map__93316__$1 \x3d cljs.core.__destructure_map(map__93316);\nvar x \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar y \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776));\nvar fill_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903));\nvar children \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982));\nvar stroke_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937));\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar stroke_width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435));\nvar on_mouse_up \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93316__$1,new cljs.core.Keyword(null,\x22on-mouse-up\x22,\x22on-mouse-up\x22,-1340533320));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93490 \x3d example.core.rect.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93490)){\nvar f__39522__auto___93491 \x3d temp__5823__auto___93490;\n(f__39522__auto___93491.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93491.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93491.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22rect\x22,[{\x27y\x27:uix.compiler.attributes.keyword__GT_string(y),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(stroke_color),\x27fill\x27:uix.compiler.attributes.keyword__GT_string(fill_color),\x27width\x27:uix.compiler.attributes.keyword__GT_string(width),\x27onMouseDown\x27:on_mouse_down,\x27strokeWidth\x27:uix.compiler.attributes.keyword__GT_string(stroke_width),\x27x\x27:uix.compiler.attributes.keyword__GT_string(x),\x27height\x27:uix.compiler.attributes.keyword__GT_string(height),\x27onMouseUp\x27:on_mouse_up}],[children]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93319 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93320 \x3d example.core.rect;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93320);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93319);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.rect.uix_component_QMARK_ \x3d true);\n\n(example.core.rect.displayName \x3d \x22example.core/rect\x22);\n\nObject.defineProperty(example.core.rect,\x22name\x22,(function (){var obj93322 \x3d ({\x22value\x22:\x22example.core/rect\x22});\nreturn obj93322;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93494 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93494.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93494.cljs$core$IFn$_invoke$arity$4(example.core.rect,\x22\x22,null,null) : sig__39531__auto___93494.call(null, example.core.rect,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.rect,example.core.rect.displayName);\n\n(example.core.rect.fast_refresh_signature \x3d sig__39531__auto___93494);\n} else {\n}\n} else {\n}\n\n\n(example.core.rect._source \x3d (function (){var obj93325 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:78});\nreturn obj93325;\n})());\nexample.core.circle \x3d (function example$core$circle(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93329 \x3d [clj_props__39592__auto__];\nvar map__93332 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93329,(0),null);\nvar map__93332__$1 \x3d cljs.core.__destructure_map(map__93332);\nvar x \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185));\nvar y \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776));\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar fill_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903));\nvar stroke_width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435));\nvar stroke_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93332__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93496 \x3d example.core.circle.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93496)){\nvar f__39522__auto___93497 \x3d temp__5823__auto___93496;\n(f__39522__auto___93497.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93497.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93497.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22ellipse\x22,[{\x27onMouseDown\x27:on_mouse_down,\x27cx\x27:(x + (width / (2))),\x27cy\x27:(y + (height / (2))),\x27rx\x27:(width / (2)),\x27ry\x27:(height / (2)),\x27fill\x27:uix.compiler.attributes.keyword__GT_string(fill_color),\x27strokeWidth\x27:uix.compiler.attributes.keyword__GT_string(stroke_width),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(stroke_color)}],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93333 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93334 \x3d example.core.circle;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93334);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93333);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.circle.uix_component_QMARK_ \x3d true);\n\n(example.core.circle.displayName \x3d \x22example.core/circle\x22);\n\nObject.defineProperty(example.core.circle,\x22name\x22,(function (){var obj93336 \x3d ({\x22value\x22:\x22example.core/circle\x22});\nreturn obj93336;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93498 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93498.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93498.cljs$core$IFn$_invoke$arity$4(example.core.circle,\x22\x22,null,null) : sig__39531__auto___93498.call(null, example.core.circle,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.circle,example.core.circle.displayName);\n\n(example.core.circle.fast_refresh_signature \x3d sig__39531__auto___93498);\n} else {\n}\n} else {\n}\n\n\n(example.core.circle._source \x3d (function (){var obj93338 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:92});\nreturn obj93338;\n})());\nexample.core.text \x3d (function example$core$text(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93341 \x3d [clj_props__39592__auto__];\nvar map__93344 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93341,(0),null);\nvar map__93344__$1 \x3d cljs.core.__destructure_map(map__93344);\nvar x \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185));\nvar font_family \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22font-family\x22,\x22font-family\x22,-667419874));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar font_style \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22font-style\x22,\x22font-style\x22,-773672352));\nvar y \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776));\nvar fill_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903));\nvar font_size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346));\nvar stroke_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937));\nvar value \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217));\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar stroke_width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93344__$1,new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93500 \x3d example.core.text.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93500)){\nvar f__39522__auto___93501 \x3d temp__5823__auto___93500;\n(f__39522__auto___93501.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93501.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93501.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22text\x22,[{\x27onMouseDown\x27:on_mouse_down,\x27x\x27:uix.compiler.attributes.keyword__GT_string(x),\x27y\x27:uix.compiler.attributes.keyword__GT_string(y),\x27fontFamily\x27:uix.compiler.attributes.keyword__GT_string(font_family),\x27fontSize\x27:uix.compiler.attributes.keyword__GT_string(font_size),\x27fontStyle\x27:uix.compiler.attributes.keyword__GT_string(font_style)}],[value]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93345 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93346 \x3d example.core.text;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93346);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93345);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.text.uix_component_QMARK_ \x3d true);\n\n(example.core.text.displayName \x3d \x22example.core/text\x22);\n\nObject.defineProperty(example.core.text,\x22name\x22,(function (){var obj93348 \x3d ({\x22value\x22:\x22example.core/text\x22});\nreturn obj93348;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93503 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93503.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93503.cljs$core$IFn$_invoke$arity$4(example.core.text,\x22\x22,null,null) : sig__39531__auto___93503.call(null, example.core.text,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.text,example.core.text.displayName);\n\n(example.core.text.fast_refresh_signature \x3d sig__39531__auto___93503);\n} else {\n}\n} else {\n}\n\n\n(example.core.text._source \x3d (function (){var obj93352 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:103});\nreturn obj93352;\n})());\nexample.core.map_object \x3d (function example$core$map_object(object,size){\nreturn cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(object,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),cljs.core._STAR_,size),new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),cljs.core._STAR_,size),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),cljs.core._STAR_,size),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),cljs.core._STAR_,size);\n});\nexample.core.objects_layer93354 \x3d (function example$core$objects_layer93354(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93357 \x3d [clj_props__39592__auto__];\nvar map__93360 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93357,(0),null);\nvar map__93360__$1 \x3d cljs.core.__destructure_map(map__93360);\nvar objects \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93360__$1,new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734));\nvar size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93360__$1,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007));\nvar on_select \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93360__$1,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93506 \x3d example.core.objects_layer93354.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93506)){\nvar f__39522__auto___93507 \x3d temp__5823__auto___93506;\n(f__39522__auto___93507.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93507.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93507.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p__93362){\nvar map__93363 \x3d p__93362;\nvar map__93363__$1 \x3d cljs.core.__destructure_map(map__93363);\nvar object \x3d map__93363__$1;\nvar id \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93363__$1,new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092));\nvar idx \x3d objects.indexOf(object);\nvar object__$1 \x3d cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(example.core.map_object(object,size),new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),id,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),(function (){\nreturn (on_select.cljs$core$IFn$_invoke$arity$1 ? on_select.cljs$core$IFn$_invoke$arity$1(idx) : on_select.call(null, idx));\n})], 0));\nvar G__93364 \x3d new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348).cljs$core$IFn$_invoke$arity$1(object__$1);\nvar G__93364__$1 \x3d (((G__93364 instanceof cljs.core.Keyword))?G__93364.fqn:null);\nswitch (G__93364__$1) {\ncase \x22rect\x22:\nreturn uix.compiler.alpha.component_element(example.core.rect,uix.compiler.attributes.interpret_props(object__$1),[]);\n\nbreak;\ncase \x22circle\x22:\nreturn uix.compiler.alpha.component_element(example.core.circle,uix.compiler.attributes.interpret_props(object__$1),[]);\n\nbreak;\ncase \x22text\x22:\nreturn uix.compiler.alpha.component_element(example.core.text,uix.compiler.attributes.interpret_props(object__$1),[]);\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__93364__$1)].join(\x27\x27)));\n\n}\n}),objects);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93366 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93367 \x3d example.core.objects_layer93354;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93367);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93366);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.objects_layer93354.uix_component_QMARK_ \x3d true);\n\n(example.core.objects_layer93354.displayName \x3d \x22example.core/objects-layer\x22);\n\nObject.defineProperty(example.core.objects_layer93354,\x22name\x22,(function (){var obj93371 \x3d ({\x22value\x22:\x22example.core/objects-layer\x22});\nreturn obj93371;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93510 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93510.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93510.cljs$core$IFn$_invoke$arity$4(example.core.objects_layer93354,\x22\x22,null,null) : sig__39531__auto___93510.call(null, example.core.objects_layer93354,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.objects_layer93354,example.core.objects_layer93354.displayName);\n\n(example.core.objects_layer93354.fast_refresh_signature \x3d sig__39531__auto___93510);\n} else {\n}\n} else {\n}\n\nexample.core.objects_layer \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.objects_layer93354);\n\n(example.core.objects_layer._source \x3d (function (){var obj93373 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:122});\nreturn obj93373;\n})());\nexample.core.edit_layer93374 \x3d (function example$core$edit_layer93374(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93375 \x3d [clj_props__39592__auto__];\nvar map__93378 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93375,(0),null);\nvar map__93378__$1 \x3d cljs.core.__destructure_map(map__93378);\nvar mx \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93378__$1,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020));\nvar my \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93378__$1,new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269));\nvar on_object_changed \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93378__$1,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239));\nvar on_select \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93378__$1,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950));\nvar idx \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93378__$1,new cljs.core.Keyword(null,\x22idx\x22,\x22idx\x22,1053688473));\nvar selected \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93378__$1,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764));\nvar size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93378__$1,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93513 \x3d example.core.edit_layer93374.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93513)){\nvar f__39522__auto___93514 \x3d temp__5823__auto___93513;\n(f__39522__auto___93514.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93514.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93514.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__93382 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93382,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93382,(1),null);\nvar selected_QMARK_ \x3d (!((selected \x3d\x3d null)));\nvar on_move \x3d uix.hooks.alpha.use_callback((function (x,y){\nvar G__93388 \x3d idx;\nvar G__93389 \x3d cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(selected,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),y], 0));\nreturn (on_object_changed.cljs$core$IFn$_invoke$arity$2 ? on_object_changed.cljs$core$IFn$_invoke$arity$2(G__93388,G__93389) : on_object_changed.call(null, G__93388,G__93389));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [idx,selected,on_object_changed], null))]);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(active_QMARK_)){\nreturn (on_move.cljs$core$IFn$_invoke$arity$2 ? on_move.cljs$core$IFn$_invoke$arity$2(mx,my) : on_move.call(null, mx,my));\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [selected_QMARK_,active_QMARK_,mx,my,on_move], null))]);\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(selected_QMARK_){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [selected_QMARK_], null))]);\n\nif(cljs.core.truth_(selected)){\nreturn uix.compiler.alpha.component_element(example.core.rect,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(example.core.map_object(selected,size),new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22on-mouse-up\x22,\x22on-mouse-up\x22,-1340533320),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435),(1),new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937),\x22#0000ff\x22,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903),new cljs.core.Keyword(null,\x22transparent\x22,\x22transparent\x22,-2073609949)], 0))),[]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93390 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93391 \x3d example.core.edit_layer93374;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93391);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93390);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.edit_layer93374.uix_component_QMARK_ \x3d true);\n\n(example.core.edit_layer93374.displayName \x3d \x22example.core/edit-layer\x22);\n\nObject.defineProperty(example.core.edit_layer93374,\x22name\x22,(function (){var obj93394 \x3d ({\x22value\x22:\x22example.core/edit-layer\x22});\nreturn obj93394;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93520 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93520.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93520.cljs$core$IFn$_invoke$arity$4(example.core.edit_layer93374,\x22(uix/use-state false)(uix/use-callback (fn [x y] (on-object-changed idx (assoc selected :x x :y y))) [idx selected on-object-changed])(uix/use-effect (fn* [] (when active? (on-move mx my))) [selected? active? mx my on-move])(uix/use-effect (fn* [] (when selected? (set-active true))) [selected?])\x22,null,null) : sig__39531__auto___93520.call(null, example.core.edit_layer93374,\x22(uix/use-state false)(uix/use-callback (fn [x y] (on-object-changed idx (assoc selected :x x :y y))) [idx selected on-object-changed])(uix/use-effect (fn* [] (when active? (on-move mx my))) [selected? active? mx my on-move])(uix/use-effect (fn* [] (when selected? (set-active true))) [selected?])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.edit_layer93374,example.core.edit_layer93374.displayName);\n\n(example.core.edit_layer93374.fast_refresh_signature \x3d sig__39531__auto___93520);\n} else {\n}\n} else {\n}\n\nexample.core.edit_layer \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.edit_layer93374);\n\n(example.core.edit_layer._source \x3d (function (){var obj93396 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:132});\nreturn obj93396;\n})());\nexample.core.background_layer93397 \x3d (function example$core$background_layer93397(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93398 \x3d [clj_props__39592__auto__];\nvar map__93401 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93398,(0),null);\nvar map__93401__$1 \x3d cljs.core.__destructure_map(map__93401);\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93401__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93401__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93401__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93521 \x3d example.core.background_layer93397.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93521)){\nvar f__39522__auto___93522 \x3d temp__5823__auto___93521;\n(f__39522__auto___93522.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93522.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93522.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.alpha.component_element(example.core.rect,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),(function (){\nreturn (on_mouse_down.cljs$core$IFn$_invoke$arity$0 ? on_mouse_down.cljs$core$IFn$_invoke$arity$0() : on_mouse_down.call(null, ));\n}),new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),(0),new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),(0),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903),new cljs.core.Keyword(null,\x22transparent\x22,\x22transparent\x22,-2073609949),new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937),new cljs.core.Keyword(null,\x22none\x22,\x22none\x22,1333468478)], null)],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93404 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93405 \x3d example.core.background_layer93397;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93405);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93404);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.background_layer93397.uix_component_QMARK_ \x3d true);\n\n(example.core.background_layer93397.displayName \x3d \x22example.core/background-layer\x22);\n\nObject.defineProperty(example.core.background_layer93397,\x22name\x22,(function (){var obj93407 \x3d ({\x22value\x22:\x22example.core/background-layer\x22});\nreturn obj93407;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93526 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93526.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93526.cljs$core$IFn$_invoke$arity$4(example.core.background_layer93397,\x22\x22,null,null) : sig__39531__auto___93526.call(null, example.core.background_layer93397,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.background_layer93397,example.core.background_layer93397.displayName);\n\n(example.core.background_layer93397.fast_refresh_signature \x3d sig__39531__auto___93526);\n} else {\n}\n} else {\n}\n\nexample.core.background_layer \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.background_layer93397);\n\n(example.core.background_layer._source \x3d (function (){var obj93410 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:160});\nreturn obj93410;\n})());\nexample.core.canvas \x3d (function example$core$canvas(props__39591__auto__){\nvar clj_props__39592__auto__ \x3d uix.core.glue_args(props__39591__auto__);\nvar vec__93414 \x3d [clj_props__39592__auto__];\nvar map__93417 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93414,(0),null);\nvar map__93417__$1 \x3d cljs.core.__destructure_map(map__93417);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93417__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar on_object_changed \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93417__$1,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239));\nvar on_object_select \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93417__$1,new cljs.core.Keyword(null,\x22on-object-select\x22,\x22on-object-select\x22,-1747471264));\nvar f__39593__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93527 \x3d example.core.canvas.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93527)){\nvar f__39522__auto___93528 \x3d temp__5823__auto___93527;\n(f__39522__auto___93528.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93528.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93528.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__93418 \x3d state;\nvar map__93418__$1 \x3d cljs.core.__destructure_map(map__93418);\nvar grid_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93418__$1,new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689));\nvar canvas \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__93418__$1,new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489));\nvar vec__93419 \x3d uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null));\nvar vec__93422 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93419,(0),null);\nvar width \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93422,(0),null);\nvar height \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93422,(1),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93419,(1),null);\nvar vec__93425 \x3d uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null));\nvar vec__93428 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93425,(0),null);\nvar ox \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93428,(0),null);\nvar oy \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93428,(1),null);\nvar set_offset \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93425,(1),null);\nvar vec__93431 \x3d uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null));\nvar vec__93434 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93431,(0),null);\nvar mx \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93434,(0),null);\nvar my \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93434,(1),null);\nvar set_mouse \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93431,(1),null);\nvar ref \x3d uix.core.use_ref.cljs$core$IFn$_invoke$arity$0();\nvar size \x3d (8);\nvar mx__$1 \x3d cljs.core.quot((mx - ox),size);\nvar my__$1 \x3d cljs.core.quot((my - oy),size);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nvar G__93440_93529 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref(ref).offsetLeft,cljs.core.deref(ref).offsetTop], null);\n(set_offset.cljs$core$IFn$_invoke$arity$1 ? set_offset.cljs$core$IFn$_invoke$arity$1(G__93440_93529) : set_offset.call(null, G__93440_93529));\n\nvar G__93441 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [screen.width,screen.height], null);\nreturn (set_size.cljs$core$IFn$_invoke$arity$1 ? set_size.cljs$core$IFn$_invoke$arity$1(G__93441) : set_size.call(null, G__93441));\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\n\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27ref\x27:uix.compiler.attributes.keyword__GT_string(ref),\x27onMouseMove\x27:(function (e){\nvar G__93442 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [e.clientX,e.clientY], null);\nreturn (set_mouse.cljs$core$IFn$_invoke$arity$1 ? set_mouse.cljs$core$IFn$_invoke$arity$1(G__93442) : set_mouse.call(null, G__93442));\n}),\x27style\x27:{\x27flex\x27:(1),\x27position\x27:\x22relative\x22,\x27backgroundColor\x27:\x22#ebeff0\x22}}],[uix.compiler.aot._GT_el(\x22svg\x22,[{\x27style\x27:{\x27width\x27:uix.compiler.attributes.keyword__GT_string(width),\x27height\x27:uix.compiler.attributes.keyword__GT_string(height),\x27position\x27:\x22absolute\x22,\x27left\x27:(0),\x27top\x27:(0)},\x27viewBox\x27:[\x220 0 \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(width),\x22 \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(height)].join(\x27\x27)}],[(cljs.core.truth_(grid_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(example.core.canvas_grid,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007),size,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),\x22#c1cdd0\x22], null)],[]),[],false),[uix.compiler.alpha.component_element(example.core.cursor,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22r\x22,\x22r\x22,-471384190),(2),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),\x22#4f7f8b\x22,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020),(size * mx__$1),new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269),(size * my__$1)], null)],[])]):null),uix.compiler.alpha.component_element(example.core.background_layer,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),on_object_select], null)],[]),uix.compiler.alpha.component_element(example.core.objects_layer,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734),new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007),size,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950),on_object_select], null)],[]),uix.compiler.alpha.component_element(example.core.edit_layer,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007),size,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950),on_object_select,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239),on_object_changed,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020),mx__$1,new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269),my__$1,new cljs.core.Keyword(null,\x22idx\x22,\x22idx\x22,1053688473),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),(cljs.core.truth_(new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764).cljs$core$IFn$_invoke$arity$1(canvas))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764).cljs$core$IFn$_invoke$arity$1(canvas)):null)], null)],[])])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93443 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93444 \x3d example.core.canvas;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93444);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__39592__auto__)) || ((clj_props__39592__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__39592__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__39592__auto__) (clojure.core/nil? clj-props__39592__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__39593__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93443);\n}} else {\nreturn f__39593__auto__();\n}\n});\n\n(example.core.canvas.uix_component_QMARK_ \x3d true);\n\n(example.core.canvas.displayName \x3d \x22example.core/canvas\x22);\n\nObject.defineProperty(example.core.canvas,\x22name\x22,(function (){var obj93448 \x3d ({\x22value\x22:\x22example.core/canvas\x22});\nreturn obj93448;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93530 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93530.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93530.cljs$core$IFn$_invoke$arity$4(example.core.canvas,\x22(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-ref)(uix/use-effect (fn [] (set-offset [(.-offsetLeft (clojure.core/deref ref)) (.-offsetTop (clojure.core/deref ref))]) (set-size [(.-width js/screen) (.-height js/screen)])) [])\x22,null,null) : sig__39531__auto___93530.call(null, example.core.canvas,\x22(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-ref)(uix/use-effect (fn [] (set-offset [(.-offsetLeft (clojure.core/deref ref)) (.-offsetTop (clojure.core/deref ref))]) (set-size [(.-width js/screen) (.-height js/screen)])) [])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.canvas,example.core.canvas.displayName);\n\n(example.core.canvas.fast_refresh_signature \x3d sig__39531__auto___93530);\n} else {\n}\n} else {\n}\n\n\n(example.core.canvas._source \x3d (function (){var obj93450 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:170});\nreturn obj93450;\n})());\nexample.core.default_styles \x3d new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),(32),new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),(32),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),(12),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),(12),new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435),(2),new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937),\x22#ff0000\x22,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903),\x22#00ff00\x22], null);\nexample.core.app \x3d (function example$core$app(){\nvar f__39589__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___93531 \x3d example.core.app.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___93531)){\nvar f__39522__auto___93532 \x3d temp__5823__auto___93531;\n(f__39522__auto___93532.cljs$core$IFn$_invoke$arity$0 ? f__39522__auto___93532.cljs$core$IFn$_invoke$arity$0() : f__39522__auto___93532.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__93453 \x3d uix.core.use_state(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689),true,new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),null,new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734),cljs.core.PersistentVector.EMPTY], null)], null));\nvar state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93453,(0),null);\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__93453,(1),null);\nvar on_add_shape \x3d (function (shape){\nvar id \x3d cljs.core.random_uuid();\nvar G__93456 \x3d cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734)], null),cljs.core.conj,(function (){var G__93457 \x3d shape;\nvar G__93457__$1 \x3d (((G__93457 instanceof cljs.core.Keyword))?G__93457.fqn:null);\nswitch (G__93457__$1) {\ncase \x22rect\x22:\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22rect\x22,\x22rect\x22,-108902628),new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id], null)], 0));\n\nbreak;\ncase \x22circle\x22:\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22circle\x22,\x22circle\x22,1903212362),new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id], null)], 0));\n\nbreak;\ncase \x22text\x22:\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22text\x22,\x22text\x22,-1790561697),new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id,new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),\x22text\x22,new cljs.core.Keyword(null,\x22font-family\x22,\x22font-family\x22,-667419874),\x22Inter\x22,new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346),(32),new cljs.core.Keyword(null,\x22font-style\x22,\x22font-style\x22,-773672352),new cljs.core.Keyword(null,\x22normal\x22,\x22normal\x22,-1519123858)], null)], 0));\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__93457__$1)].join(\x27\x27)));\n\n}\n})());\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__93456) : set_state.call(null, G__93456));\n});\nvar on_object_select \x3d (function() {\nvar G__93534 \x3d null;\nvar G__93534__0 \x3d (function (){\nvar G__93459 \x3d cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764)], null),null);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__93459) : set_state.call(null, G__93459));\n});\nvar G__93534__1 \x3d (function (idx){\nvar G__93460 \x3d cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764)], null),idx);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__93460) : set_state.call(null, G__93460));\n});\nG__93534 \x3d function(idx){\nswitch(arguments.length){\ncase 0:\nreturn G__93534__0.call(this);\ncase 1:\nreturn G__93534__1.call(this,idx);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__93534.cljs$core$IFn$_invoke$arity$0 \x3d G__93534__0;\nG__93534.cljs$core$IFn$_invoke$arity$1 \x3d G__93534__1;\nreturn G__93534;\n})()\n;\nvar on_object_changed \x3d uix.hooks.alpha.use_callback((function (idx,object){\nvar G__93462 \x3d (function (p1__93451_SHARP_){\nreturn cljs.core.assoc_in(p1__93451_SHARP_,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734),idx], null),object);\n});\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__93462) : set_state.call(null, G__93462));\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27fontFamily\x27:\x22Inter\x22,\x27fontSize\x27:(14),\x27display\x27:\x22flex\x22,\x27flexDirection\x27:\x22column\x22,\x27width\x27:\x22100vw\x22,\x27height\x27:\x22100vh\x22}}],[uix.compiler.alpha.component_element(example.core.toolbar,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22on-add-shape\x22,\x22on-add-shape\x22,1289220499),on_add_shape], null)],[]),uix.compiler.alpha.component_element(example.core.canvas,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22on-object-select\x22,\x22on-object-select\x22,-1747471264),on_object_select,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239),on_object_changed], null)],[])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__93463 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__93464 \x3d example.core.app;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__93464);\n\ntry{return f__39589__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__93463);\n}} else {\nreturn f__39589__auto__();\n}\n});\n\n(example.core.app.uix_component_QMARK_ \x3d true);\n\n(example.core.app.displayName \x3d \x22example.core/app\x22);\n\nObject.defineProperty(example.core.app,\x22name\x22,(function (){var obj93466 \x3d ({\x22value\x22:\x22example.core/app\x22});\nreturn obj93466;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__39531__auto___93535 \x3d window.uix.dev.signature_BANG_();\n(sig__39531__auto___93535.cljs$core$IFn$_invoke$arity$4 ? sig__39531__auto___93535.cljs$core$IFn$_invoke$arity$4(example.core.app,\x22(uix/use-state {:grid? true, :canvas {:selected nil, :objects []}})(uix/use-callback (fn [idx object] (set-state (fn* [p1] (assoc-in p1 [:canvas :objects idx] object)))) [])\x22,null,null) : sig__39531__auto___93535.call(null, example.core.app,\x22(uix/use-state {:grid? true, :canvas {:selected nil, :objects []}})(uix/use-callback (fn [idx object] (set-state (fn* [p1] (assoc-in p1 [:canvas :objects idx] object)))) [])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.app,example.core.app.displayName);\n\n(example.core.app.fast_refresh_signature \x3d sig__39531__auto___93535);\n} else {\n}\n} else {\n}\n\n\n(example.core.app._source \x3d (function (){var obj93468 \x3d ({\x22file\x22:\x22example/core.cljs\x22,\x22lineNumber\x22:230});\nreturn obj93468;\n})());\nif((typeof example !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof example.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof example.core._init !\x3d\x3d \x27undefined\x27)){\n} else {\nexample.core._init \x3d (function (){var root \x3d uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(document.getElementById(\x22root\x22));\nuix.dom.render_root(uix.compiler.alpha.component_element(example.core.app,[null],[]),root);\n\nreturn null;\n})();\n}\ncljs_react_devtools.core.init_BANG_(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453),document.getElementById(\x22root\x22),new cljs.core.Keyword(null,\x22shortcut\x22,\x22shortcut\x22,-431647697),\x22Control-Shift-Meta-R\x22], null));\n"); +SHADOW_ENV.evalLoad("example.core.js", true, "goog.provide(\x27example.core\x27);\nuix.dev.init_fast_refresh_BANG_();\nexample.core.refresh \x3d (function example$core$refresh(){\nreturn uix.dev.refresh_BANG_();\n});\nexample.core.tools \x3d new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22rect\x22,\x22rect\x22,-108902628),new cljs.core.Keyword(null,\x22circle\x22,\x22circle\x22,1903212362),new cljs.core.Keyword(null,\x22text\x22,\x22text\x22,-1790561697)], null);\nre_frame.core.reg_sub.cljs$core$IFn$_invoke$arity$variadic(new cljs.core.Keyword(\x22hello\x22,\x22workd\x22,\x22hello/workd\x22,1342838384),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([(function (){\nreturn new cljs.core.Keyword(null,\x22nothing\x22,\x22nothing\x22,-1022703296);\n})], 0));\nexample.core.tool_button \x3d (function example$core$tool_button(p__30475){\nvar map__30476 \x3d p__30475;\nvar map__30476__$1 \x3d cljs.core.__destructure_map(map__30476);\nvar selected_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30476__$1,new cljs.core.Keyword(null,\x22selected?\x22,\x22selected?\x22,-742502788));\nvar label \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30476__$1,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804));\nvar on_press \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30476__$1,new cljs.core.Keyword(null,\x22on-press\x22,\x22on-press\x22,-1763585856));\nvar with_let30477 \x3d reagent.ratom.with_let_values(new cljs.core.Keyword(null,\x22with-let30477\x22,\x22with-let30477\x22,-1903292126));\nvar temp__5827__auto___30669 \x3d reagent.ratom._STAR_ratom_context_STAR_;\nif((temp__5827__auto___30669 \x3d\x3d null)){\n} else {\nvar c__28922__auto___30670 \x3d temp__5827__auto___30669;\nif((with_let30477.generation \x3d\x3d\x3d c__28922__auto___30670.ratomGeneration)){\nif(reagent.debug.has_console){\n((reagent.debug.tracking)?reagent.debug.track_console:console).error([\x22Warning: The same with-let is being used more \x22,\x22than once in the same reactive context.\x22].join(\x27\x27));\n} else {\n}\n} else {\n}\n\n(with_let30477.generation \x3d c__28922__auto___30670.ratomGeneration);\n}\n\nvar init30478 \x3d (with_let30477.length \x3d\x3d\x3d (0));\nvar a \x3d ((((init30478) || (cljs.core.not(with_let30477.hasOwnProperty((0))))))?(with_let30477[(0)] \x3d reagent.core.atom.cljs$core$IFn$_invoke$arity$1((1))):(with_let30477[(0)]));\nvar res30479 \x3d (function (){\ncljs.core.deref(re_frame.core.subscribe.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(\x22hello\x22,\x22workd\x22,\x22hello/workd\x22,1342838384)], null)));\n\nreturn new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22div\x22,\x22div\x22,1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22on-click\x22,\x22on-click\x22,1632826543),on_press,new cljs.core.Keyword(null,\x22style\x22,\x22style\x22,-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,\x22padding\x22,\x22padding\x22,1660304693),\x224px 8px\x22,new cljs.core.Keyword(null,\x22cursor\x22,\x22cursor\x22,1011937484),new cljs.core.Keyword(null,\x22pointer\x22,\x22pointer\x22,85071187),new cljs.core.Keyword(null,\x22border-radius\x22,\x22border-radius\x22,419594011),(3),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),(cljs.core.truth_(selected_QMARK_)?\x22#fff\x22:null),new cljs.core.Keyword(null,\x22background-color\x22,\x22background-color\x22,570434026),(cljs.core.truth_(selected_QMARK_)?\x22#ff89da\x22:null)], null)], null),label], null);\n})()\n;\nreturn res30479;\n});\nexample.core.toolbar \x3d (function example$core$toolbar(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30483 \x3d [clj_props__29460__auto__];\nvar map__30486 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30483,(0),null);\nvar map__30486__$1 \x3d cljs.core.__destructure_map(map__30486);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30486__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar set_state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30486__$1,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913));\nvar on_add_shape \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30486__$1,new cljs.core.Keyword(null,\x22on-add-shape\x22,\x22on-add-shape\x22,1289220499));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30671 \x3d example.core.toolbar.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30671)){\nvar f__29390__auto___30672 \x3d temp__5823__auto___30671;\n(f__29390__auto___30672.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30672.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30672.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__30489 \x3d state;\nvar map__30489__$1 \x3d cljs.core.__destructure_map(map__30489);\nvar grid_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30489__$1,new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689));\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27padding\x27:\x228px 16px\x22,\x27height\x27:(46),\x27display\x27:\x22flex\x22,\x27alignItems\x27:\x22center\x22,\x27backgroundColor\x27:\x22#fff\x22,\x27position\x27:\x22relative\x22,\x27boxShadow\x27:\x220 1px 1px rgba(0, 0, 10, 0.2)\x22}}],[uix.compiler.aot._GT_el(\x22img\x22,[{\x27src\x27:\x22https://raw.githubusercontent.com/pitch-io/uix/master/logo.png\x22,\x27style\x27:{\x27height\x27:\x22100%\x22,\x27margin\x27:\x220 16px 0 0\x22}}],[]),cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (t){\nreturn reagent.core.as_element.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [example.core.tool_button,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),t,new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),cljs.core.name(t),new cljs.core.Keyword(null,\x22on-press\x22,\x22on-press\x22,-1763585856),(function (){\nreturn (on_add_shape.cljs$core$IFn$_invoke$arity$1 ? on_add_shape.cljs$core$IFn$_invoke$arity$1(t) : on_add_shape.call(null, t));\n})], null)], null));\n}),example.core.tools),uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27width\x27:(1),\x27height\x27:\x2260%\x22,\x27backgroundColor\x27:\x22#c1cdd0\x22,\x27margin\x27:\x220 8px\x22}}],[]),reagent.core.as_element.cljs$core$IFn$_invoke$arity$1(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [example.core.tool_button,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22label\x22,\x22label\x22,1718410804),\x22grid\x22,new cljs.core.Keyword(null,\x22selected?\x22,\x22selected?\x22,-742502788),grid_QMARK_,new cljs.core.Keyword(null,\x22on-press\x22,\x22on-press\x22,-1763585856),(function (){\nvar G__30490 \x3d cljs.core.update.cljs$core$IFn$_invoke$arity$3(state,new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689),cljs.core.not);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30490) : set_state.call(null, G__30490));\n})], null)], null))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30491 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30492 \x3d example.core.toolbar;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30492);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30491);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.toolbar.uix_component_QMARK_ \x3d true);\n\n(example.core.toolbar.displayName \x3d \x22example.core/toolbar\x22);\n\nObject.defineProperty(example.core.toolbar,\x22name\x22,(function (){var obj30496 \x3d ({\x22value\x22:\x22example.core/toolbar\x22});\nreturn obj30496;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30674 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30674.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30674.cljs$core$IFn$_invoke$arity$4(example.core.toolbar,\x22\x22,null,null) : sig__29399__auto___30674.call(null, example.core.toolbar,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.toolbar,example.core.toolbar.displayName);\n\n(example.core.toolbar.fast_refresh_signature \x3d sig__29399__auto___30674);\n} else {\n}\n} else {\n}\n\nexample.core.canvas_grid30497 \x3d (function example$core$canvas_grid30497(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30499 \x3d [clj_props__29460__auto__];\nvar map__30502 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30499,(0),null);\nvar map__30502__$1 \x3d cljs.core.__destructure_map(map__30502);\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007));\nvar color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30502__$1,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30675 \x3d example.core.canvas_grid30497.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30675)){\nvar f__29390__auto___30676 \x3d temp__5823__auto___30675;\n(f__29390__auto___30676.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30676.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30676.call(null, ));\n} else {\n}\n} else {\n}\n\nvar wn \x3d Math.ceil((width / size));\nvar hn \x3d Math.ceil((height / size));\nreturn uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (widx){\nreturn uix.compiler.aot._GT_el(\x22line\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(widx),\x27x1\x27:(size * widx),\x27x2\x27:(size * widx),\x27y1\x27:(0),\x27y2\x27:uix.compiler.attributes.keyword__GT_string(height),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(color)}],[]);\n}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(wn)),[],false),[cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (hidx){\nreturn uix.compiler.aot._GT_el(\x22line\x22,[{\x27key\x27:uix.compiler.attributes.keyword__GT_string(hidx),\x27y1\x27:(size * hidx),\x27y2\x27:(size * hidx),\x27x1\x27:(0),\x27x2\x27:uix.compiler.attributes.keyword__GT_string(width),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(color)}],[]);\n}),cljs.core.range.cljs$core$IFn$_invoke$arity$1(hn))]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30503 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30504 \x3d example.core.canvas_grid30497;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30504);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30503);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.canvas_grid30497.uix_component_QMARK_ \x3d true);\n\n(example.core.canvas_grid30497.displayName \x3d \x22example.core/canvas-grid\x22);\n\nObject.defineProperty(example.core.canvas_grid30497,\x22name\x22,(function (){var obj30508 \x3d ({\x22value\x22:\x22example.core/canvas-grid\x22});\nreturn obj30508;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30677 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30677.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30677.cljs$core$IFn$_invoke$arity$4(example.core.canvas_grid30497,\x22\x22,null,null) : sig__29399__auto___30677.call(null, example.core.canvas_grid30497,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.canvas_grid30497,example.core.canvas_grid30497.displayName);\n\n(example.core.canvas_grid30497.fast_refresh_signature \x3d sig__29399__auto___30677);\n} else {\n}\n} else {\n}\n\nexample.core.canvas_grid \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.canvas_grid30497);\nexample.core.cursor \x3d (function example$core$cursor(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30510 \x3d [clj_props__29460__auto__];\nvar map__30513 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30510,(0),null);\nvar map__30513__$1 \x3d cljs.core.__destructure_map(map__30513);\nvar mx \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020));\nvar my \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269));\nvar r \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,\x22r\x22,\x22r\x22,-471384190));\nvar color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30513__$1,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30678 \x3d example.core.cursor.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30678)){\nvar f__29390__auto___30679 \x3d temp__5823__auto___30678;\n(f__29390__auto___30679.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30679.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30679.call(null, ));\n} else {\n}\n} else {\n}\n\nvar mx__$1 \x3d (mx + (r / (2)));\nvar my__$1 \x3d (my + (r / (2)));\nreturn uix.compiler.aot._GT_el(\x22circle\x22,[{\x27cx\x27:(mx__$1 - (r / (2))),\x27cy\x27:(my__$1 - (r / (2))),\x27r\x27:uix.compiler.attributes.keyword__GT_string(r),\x27fill\x27:uix.compiler.attributes.keyword__GT_string(color)}],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30516 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30517 \x3d example.core.cursor;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30517);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30516);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.cursor.uix_component_QMARK_ \x3d true);\n\n(example.core.cursor.displayName \x3d \x22example.core/cursor\x22);\n\nObject.defineProperty(example.core.cursor,\x22name\x22,(function (){var obj30521 \x3d ({\x22value\x22:\x22example.core/cursor\x22});\nreturn obj30521;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30682 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30682.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30682.cljs$core$IFn$_invoke$arity$4(example.core.cursor,\x22\x22,null,null) : sig__29399__auto___30682.call(null, example.core.cursor,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.cursor,example.core.cursor.displayName);\n\n(example.core.cursor.fast_refresh_signature \x3d sig__29399__auto___30682);\n} else {\n}\n} else {\n}\n\nexample.core.rect \x3d (function example$core$rect(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30523 \x3d [clj_props__29460__auto__];\nvar map__30526 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30523,(0),null);\nvar map__30526__$1 \x3d cljs.core.__destructure_map(map__30526);\nvar x \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar y \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776));\nvar fill_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903));\nvar children \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22children\x22,\x22children\x22,-940561982));\nvar stroke_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937));\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar stroke_width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435));\nvar on_mouse_up \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30526__$1,new cljs.core.Keyword(null,\x22on-mouse-up\x22,\x22on-mouse-up\x22,-1340533320));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30683 \x3d example.core.rect.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30683)){\nvar f__29390__auto___30684 \x3d temp__5823__auto___30683;\n(f__29390__auto___30684.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30684.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30684.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22rect\x22,[{\x27y\x27:uix.compiler.attributes.keyword__GT_string(y),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(stroke_color),\x27fill\x27:uix.compiler.attributes.keyword__GT_string(fill_color),\x27width\x27:uix.compiler.attributes.keyword__GT_string(width),\x27onMouseDown\x27:on_mouse_down,\x27strokeWidth\x27:uix.compiler.attributes.keyword__GT_string(stroke_width),\x27x\x27:uix.compiler.attributes.keyword__GT_string(x),\x27height\x27:uix.compiler.attributes.keyword__GT_string(height),\x27onMouseUp\x27:on_mouse_up}],[children]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30530 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30531 \x3d example.core.rect;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30531);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30530);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.rect.uix_component_QMARK_ \x3d true);\n\n(example.core.rect.displayName \x3d \x22example.core/rect\x22);\n\nObject.defineProperty(example.core.rect,\x22name\x22,(function (){var obj30533 \x3d ({\x22value\x22:\x22example.core/rect\x22});\nreturn obj30533;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30688 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30688.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30688.cljs$core$IFn$_invoke$arity$4(example.core.rect,\x22\x22,null,null) : sig__29399__auto___30688.call(null, example.core.rect,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.rect,example.core.rect.displayName);\n\n(example.core.rect.fast_refresh_signature \x3d sig__29399__auto___30688);\n} else {\n}\n} else {\n}\n\nexample.core.circle \x3d (function example$core$circle(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30536 \x3d [clj_props__29460__auto__];\nvar map__30539 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30536,(0),null);\nvar map__30539__$1 \x3d cljs.core.__destructure_map(map__30539);\nvar x \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185));\nvar y \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776));\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar fill_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903));\nvar stroke_width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435));\nvar stroke_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30539__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30689 \x3d example.core.circle.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30689)){\nvar f__29390__auto___30690 \x3d temp__5823__auto___30689;\n(f__29390__auto___30690.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30690.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30690.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22ellipse\x22,[{\x27onMouseDown\x27:on_mouse_down,\x27cx\x27:(x + (width / (2))),\x27cy\x27:(y + (height / (2))),\x27rx\x27:(width / (2)),\x27ry\x27:(height / (2)),\x27fill\x27:uix.compiler.attributes.keyword__GT_string(fill_color),\x27strokeWidth\x27:uix.compiler.attributes.keyword__GT_string(stroke_width),\x27stroke\x27:uix.compiler.attributes.keyword__GT_string(stroke_color)}],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30540 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30541 \x3d example.core.circle;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30541);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30540);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.circle.uix_component_QMARK_ \x3d true);\n\n(example.core.circle.displayName \x3d \x22example.core/circle\x22);\n\nObject.defineProperty(example.core.circle,\x22name\x22,(function (){var obj30543 \x3d ({\x22value\x22:\x22example.core/circle\x22});\nreturn obj30543;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30691 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30691.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30691.cljs$core$IFn$_invoke$arity$4(example.core.circle,\x22\x22,null,null) : sig__29399__auto___30691.call(null, example.core.circle,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.circle,example.core.circle.displayName);\n\n(example.core.circle.fast_refresh_signature \x3d sig__29399__auto___30691);\n} else {\n}\n} else {\n}\n\nexample.core.text \x3d (function example$core$text(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30547 \x3d [clj_props__29460__auto__];\nvar map__30550 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30547,(0),null);\nvar map__30550__$1 \x3d cljs.core.__destructure_map(map__30550);\nvar x \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185));\nvar font_family \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22font-family\x22,\x22font-family\x22,-667419874));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar font_style \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22font-style\x22,\x22font-style\x22,-773672352));\nvar y \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776));\nvar fill_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903));\nvar font_size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346));\nvar stroke_color \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937));\nvar value \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217));\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar stroke_width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30550__$1,new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30692 \x3d example.core.text.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30692)){\nvar f__29390__auto___30693 \x3d temp__5823__auto___30692;\n(f__29390__auto___30693.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30693.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30693.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.aot._GT_el(\x22text\x22,[{\x27onMouseDown\x27:on_mouse_down,\x27x\x27:uix.compiler.attributes.keyword__GT_string(x),\x27y\x27:uix.compiler.attributes.keyword__GT_string(y),\x27fontFamily\x27:uix.compiler.attributes.keyword__GT_string(font_family),\x27fontSize\x27:uix.compiler.attributes.keyword__GT_string(font_size),\x27fontStyle\x27:uix.compiler.attributes.keyword__GT_string(font_style)}],[value]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30552 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30553 \x3d example.core.text;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30553);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30552);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.text.uix_component_QMARK_ \x3d true);\n\n(example.core.text.displayName \x3d \x22example.core/text\x22);\n\nObject.defineProperty(example.core.text,\x22name\x22,(function (){var obj30555 \x3d ({\x22value\x22:\x22example.core/text\x22});\nreturn obj30555;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30696 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30696.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30696.cljs$core$IFn$_invoke$arity$4(example.core.text,\x22\x22,null,null) : sig__29399__auto___30696.call(null, example.core.text,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.text,example.core.text.displayName);\n\n(example.core.text.fast_refresh_signature \x3d sig__29399__auto___30696);\n} else {\n}\n} else {\n}\n\nexample.core.map_object \x3d (function example$core$map_object(object,size){\nreturn cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(cljs.core.update.cljs$core$IFn$_invoke$arity$4(object,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),cljs.core._STAR_,size),new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),cljs.core._STAR_,size),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),cljs.core._STAR_,size),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),cljs.core._STAR_,size);\n});\nexample.core.objects_layer30558 \x3d (function example$core$objects_layer30558(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30559 \x3d [clj_props__29460__auto__];\nvar map__30562 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30559,(0),null);\nvar map__30562__$1 \x3d cljs.core.__destructure_map(map__30562);\nvar objects \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30562__$1,new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734));\nvar size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30562__$1,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007));\nvar on_select \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30562__$1,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30699 \x3d example.core.objects_layer30558.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30699)){\nvar f__29390__auto___30700 \x3d temp__5823__auto___30699;\n(f__29390__auto___30700.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30700.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30700.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn cljs.core.map.cljs$core$IFn$_invoke$arity$2((function (p__30563){\nvar map__30565 \x3d p__30563;\nvar map__30565__$1 \x3d cljs.core.__destructure_map(map__30565);\nvar object \x3d map__30565__$1;\nvar id \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30565__$1,new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092));\nvar idx \x3d objects.indexOf(object);\nvar object__$1 \x3d cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(example.core.map_object(object,size),new cljs.core.Keyword(null,\x22key\x22,\x22key\x22,-1516042587),id,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),(function (){\nreturn (on_select.cljs$core$IFn$_invoke$arity$1 ? on_select.cljs$core$IFn$_invoke$arity$1(idx) : on_select.call(null, idx));\n})], 0));\nvar G__30566 \x3d new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348).cljs$core$IFn$_invoke$arity$1(object__$1);\nvar G__30566__$1 \x3d (((G__30566 instanceof cljs.core.Keyword))?G__30566.fqn:null);\nswitch (G__30566__$1) {\ncase \x22rect\x22:\nreturn uix.compiler.alpha.component_element(example.core.rect,uix.compiler.attributes.interpret_props(object__$1),[]);\n\nbreak;\ncase \x22circle\x22:\nreturn uix.compiler.alpha.component_element(example.core.circle,uix.compiler.attributes.interpret_props(object__$1),[]);\n\nbreak;\ncase \x22text\x22:\nreturn uix.compiler.alpha.component_element(example.core.text,uix.compiler.attributes.interpret_props(object__$1),[]);\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30566__$1)].join(\x27\x27)));\n\n}\n}),objects);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30569 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30570 \x3d example.core.objects_layer30558;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30570);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30569);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.objects_layer30558.uix_component_QMARK_ \x3d true);\n\n(example.core.objects_layer30558.displayName \x3d \x22example.core/objects-layer\x22);\n\nObject.defineProperty(example.core.objects_layer30558,\x22name\x22,(function (){var obj30572 \x3d ({\x22value\x22:\x22example.core/objects-layer\x22});\nreturn obj30572;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30702 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30702.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30702.cljs$core$IFn$_invoke$arity$4(example.core.objects_layer30558,\x22\x22,null,null) : sig__29399__auto___30702.call(null, example.core.objects_layer30558,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.objects_layer30558,example.core.objects_layer30558.displayName);\n\n(example.core.objects_layer30558.fast_refresh_signature \x3d sig__29399__auto___30702);\n} else {\n}\n} else {\n}\n\nexample.core.objects_layer \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.objects_layer30558);\nexample.core.edit_layer30573 \x3d (function example$core$edit_layer30573(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30574 \x3d [clj_props__29460__auto__];\nvar map__30577 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30574,(0),null);\nvar map__30577__$1 \x3d cljs.core.__destructure_map(map__30577);\nvar mx \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020));\nvar my \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269));\nvar on_object_changed \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239));\nvar on_select \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950));\nvar idx \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,\x22idx\x22,\x22idx\x22,1053688473));\nvar selected \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764));\nvar size \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30577__$1,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30703 \x3d example.core.edit_layer30573.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30703)){\nvar f__29390__auto___30704 \x3d temp__5823__auto___30703;\n(f__29390__auto___30704.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30704.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30704.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__30579 \x3d uix.core.use_state(false);\nvar active_QMARK_ \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30579,(0),null);\nvar set_active \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30579,(1),null);\nvar selected_QMARK_ \x3d (!((selected \x3d\x3d null)));\nvar on_move \x3d uix.hooks.alpha.use_callback((function (x,y){\nvar G__30584 \x3d idx;\nvar G__30585 \x3d cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(selected,new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),x,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),y], 0));\nreturn (on_object_changed.cljs$core$IFn$_invoke$arity$2 ? on_object_changed.cljs$core$IFn$_invoke$arity$2(G__30584,G__30585) : on_object_changed.call(null, G__30584,G__30585));\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [idx,selected,on_object_changed], null))]);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(cljs.core.truth_(active_QMARK_)){\nreturn (on_move.cljs$core$IFn$_invoke$arity$2 ? on_move.cljs$core$IFn$_invoke$arity$2(mx,my) : on_move.call(null, mx,my));\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [selected_QMARK_,active_QMARK_,mx,my,on_move], null))]);\n\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nif(selected_QMARK_){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n} else {\nreturn null;\n}\n}),[uix.hooks.alpha.use_clj_deps(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [selected_QMARK_], null))]);\n\nif(cljs.core.truth_(selected)){\nreturn uix.compiler.alpha.component_element(example.core.rect,uix.compiler.attributes.interpret_props(cljs.core.assoc.cljs$core$IFn$_invoke$arity$variadic(example.core.map_object(selected,size),new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(true) : set_active.call(null, true));\n}),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.Keyword(null,\x22on-mouse-up\x22,\x22on-mouse-up\x22,-1340533320),(function (){\nreturn (set_active.cljs$core$IFn$_invoke$arity$1 ? set_active.cljs$core$IFn$_invoke$arity$1(false) : set_active.call(null, false));\n}),new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435),(1),new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937),\x22#0000ff\x22,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903),new cljs.core.Keyword(null,\x22transparent\x22,\x22transparent\x22,-2073609949)], 0))),[]);\n} else {\nreturn null;\n}\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30586 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30587 \x3d example.core.edit_layer30573;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30587);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30586);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.edit_layer30573.uix_component_QMARK_ \x3d true);\n\n(example.core.edit_layer30573.displayName \x3d \x22example.core/edit-layer\x22);\n\nObject.defineProperty(example.core.edit_layer30573,\x22name\x22,(function (){var obj30590 \x3d ({\x22value\x22:\x22example.core/edit-layer\x22});\nreturn obj30590;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30708 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30708.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30708.cljs$core$IFn$_invoke$arity$4(example.core.edit_layer30573,\x22(uix/use-state false)(uix/use-callback (fn [x y] (on-object-changed idx (assoc selected :x x :y y))) [idx selected on-object-changed])(uix/use-effect (fn* [] (when active? (on-move mx my))) [selected? active? mx my on-move])(uix/use-effect (fn* [] (when selected? (set-active true))) [selected?])\x22,null,null) : sig__29399__auto___30708.call(null, example.core.edit_layer30573,\x22(uix/use-state false)(uix/use-callback (fn [x y] (on-object-changed idx (assoc selected :x x :y y))) [idx selected on-object-changed])(uix/use-effect (fn* [] (when active? (on-move mx my))) [selected? active? mx my on-move])(uix/use-effect (fn* [] (when selected? (set-active true))) [selected?])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.edit_layer30573,example.core.edit_layer30573.displayName);\n\n(example.core.edit_layer30573.fast_refresh_signature \x3d sig__29399__auto___30708);\n} else {\n}\n} else {\n}\n\nexample.core.edit_layer \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.edit_layer30573);\nexample.core.background_layer30593 \x3d (function example$core$background_layer30593(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30596 \x3d [clj_props__29460__auto__];\nvar map__30599 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30596,(0),null);\nvar map__30599__$1 \x3d cljs.core.__destructure_map(map__30599);\nvar width \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30599__$1,new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477));\nvar height \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30599__$1,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622));\nvar on_mouse_down \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30599__$1,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30710 \x3d example.core.background_layer30593.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30710)){\nvar f__29390__auto___30711 \x3d temp__5823__auto___30710;\n(f__29390__auto___30711.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30711.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30711.call(null, ));\n} else {\n}\n} else {\n}\n\nreturn uix.compiler.alpha.component_element(example.core.rect,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),(function (){\nreturn (on_mouse_down.cljs$core$IFn$_invoke$arity$0 ? on_mouse_down.cljs$core$IFn$_invoke$arity$0() : on_mouse_down.call(null, ));\n}),new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),(0),new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),(0),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903),new cljs.core.Keyword(null,\x22transparent\x22,\x22transparent\x22,-2073609949),new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937),new cljs.core.Keyword(null,\x22none\x22,\x22none\x22,1333468478)], null)],[]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30601 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30602 \x3d example.core.background_layer30593;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30602);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30601);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.background_layer30593.uix_component_QMARK_ \x3d true);\n\n(example.core.background_layer30593.displayName \x3d \x22example.core/background-layer\x22);\n\nObject.defineProperty(example.core.background_layer30593,\x22name\x22,(function (){var obj30605 \x3d ({\x22value\x22:\x22example.core/background-layer\x22});\nreturn obj30605;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30712 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30712.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30712.cljs$core$IFn$_invoke$arity$4(example.core.background_layer30593,\x22\x22,null,null) : sig__29399__auto___30712.call(null, example.core.background_layer30593,\x22\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.background_layer30593,example.core.background_layer30593.displayName);\n\n(example.core.background_layer30593.fast_refresh_signature \x3d sig__29399__auto___30712);\n} else {\n}\n} else {\n}\n\nexample.core.background_layer \x3d uix.core.memo.cljs$core$IFn$_invoke$arity$1(example.core.background_layer30593);\nexample.core.canvas \x3d (function example$core$canvas(props__29459__auto__){\nvar clj_props__29460__auto__ \x3d uix.core.glue_args(props__29459__auto__);\nvar vec__30610 \x3d [clj_props__29460__auto__];\nvar map__30613 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30610,(0),null);\nvar map__30613__$1 \x3d cljs.core.__destructure_map(map__30613);\nvar state \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30613__$1,new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099));\nvar on_object_changed \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30613__$1,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239));\nvar on_object_select \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30613__$1,new cljs.core.Keyword(null,\x22on-object-select\x22,\x22on-object-select\x22,-1747471264));\nvar f__29461__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30714 \x3d example.core.canvas.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30714)){\nvar f__29390__auto___30715 \x3d temp__5823__auto___30714;\n(f__29390__auto___30715.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30715.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30715.call(null, ));\n} else {\n}\n} else {\n}\n\nvar map__30617 \x3d state;\nvar map__30617__$1 \x3d cljs.core.__destructure_map(map__30617);\nvar grid_QMARK_ \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30617__$1,new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689));\nvar canvas \x3d cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__30617__$1,new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489));\nvar vec__30618 \x3d uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null));\nvar vec__30621 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30618,(0),null);\nvar width \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30621,(0),null);\nvar height \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30621,(1),null);\nvar set_size \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30618,(1),null);\nvar vec__30624 \x3d uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null));\nvar vec__30627 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30624,(0),null);\nvar ox \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30627,(0),null);\nvar oy \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30627,(1),null);\nvar set_offset \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30624,(1),null);\nvar vec__30630 \x3d uix.core.use_state(new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0)], null));\nvar vec__30633 \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30630,(0),null);\nvar mx \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30633,(0),null);\nvar my \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30633,(1),null);\nvar set_mouse \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30630,(1),null);\nvar ref \x3d uix.core.use_ref.cljs$core$IFn$_invoke$arity$0();\nvar size \x3d (8);\nvar mx__$1 \x3d cljs.core.quot((mx - ox),size);\nvar my__$1 \x3d cljs.core.quot((my - oy),size);\nuix.hooks.alpha.use_effect.cljs$core$IFn$_invoke$arity$2((function (){\nvar G__30638_30717 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref(ref).offsetLeft,cljs.core.deref(ref).offsetTop], null);\n(set_offset.cljs$core$IFn$_invoke$arity$1 ? set_offset.cljs$core$IFn$_invoke$arity$1(G__30638_30717) : set_offset.call(null, G__30638_30717));\n\nvar G__30640 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [screen.width,screen.height], null);\nreturn (set_size.cljs$core$IFn$_invoke$arity$1 ? set_size.cljs$core$IFn$_invoke$arity$1(G__30640) : set_size.call(null, G__30640));\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\n\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27ref\x27:uix.compiler.attributes.keyword__GT_string(ref),\x27onMouseMove\x27:(function (e){\nvar G__30641 \x3d new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [e.clientX,e.clientY], null);\nreturn (set_mouse.cljs$core$IFn$_invoke$arity$1 ? set_mouse.cljs$core$IFn$_invoke$arity$1(G__30641) : set_mouse.call(null, G__30641));\n}),\x27style\x27:{\x27flex\x27:(1),\x27position\x27:\x22relative\x22,\x27backgroundColor\x27:\x22#ebeff0\x22}}],[uix.compiler.aot._GT_el(\x22svg\x22,[{\x27style\x27:{\x27width\x27:uix.compiler.attributes.keyword__GT_string(width),\x27height\x27:uix.compiler.attributes.keyword__GT_string(height),\x27position\x27:\x22absolute\x22,\x27left\x27:(0),\x27top\x27:(0)},\x27viewBox\x27:[\x220 0 \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(width),\x22 \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(height)].join(\x27\x27)}],[(cljs.core.truth_(grid_QMARK_)?uix.compiler.aot._GT_el(uix.compiler.aot.fragment,uix.compiler.attributes.interpret_attrs(uix.compiler.alpha.component_element(example.core.canvas_grid,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height,new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007),size,new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),\x22#c1cdd0\x22], null)],[]),[],false),[uix.compiler.alpha.component_element(example.core.cursor,[new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,\x22r\x22,\x22r\x22,-471384190),(2),new cljs.core.Keyword(null,\x22color\x22,\x22color\x22,1011675173),\x22#4f7f8b\x22,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020),(size * mx__$1),new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269),(size * my__$1)], null)],[])]):null),uix.compiler.alpha.component_element(example.core.background_layer,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),width,new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),height,new cljs.core.Keyword(null,\x22on-mouse-down\x22,\x22on-mouse-down\x22,1147755470),on_object_select], null)],[]),uix.compiler.alpha.component_element(example.core.objects_layer,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734),new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007),size,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950),on_object_select], null)],[]),uix.compiler.alpha.component_element(example.core.edit_layer,[new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22size\x22,\x22size\x22,1098693007),size,new cljs.core.Keyword(null,\x22on-select\x22,\x22on-select\x22,-192407950),on_object_select,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239),on_object_changed,new cljs.core.Keyword(null,\x22mx\x22,\x22mx\x22,-199887020),mx__$1,new cljs.core.Keyword(null,\x22my\x22,\x22my\x22,-1055703269),my__$1,new cljs.core.Keyword(null,\x22idx\x22,\x22idx\x22,1053688473),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),(cljs.core.truth_(new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764).cljs$core$IFn$_invoke$arity$1(canvas))?cljs.core.nth.cljs$core$IFn$_invoke$arity$2(new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734).cljs$core$IFn$_invoke$arity$1(canvas),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764).cljs$core$IFn$_invoke$arity$1(canvas)):null)], null)],[])])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30642 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30643 \x3d example.core.canvas;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30643);\n\ntry{if(((cljs.core.map_QMARK_(clj_props__29460__auto__)) || ((clj_props__29460__auto__ \x3d\x3d null)))){\n} else {\nthrow (new Error([\x22Assert failed: \x22,[\x22UIx component expects a map of props, but instead got \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(clj_props__29460__auto__)].join(\x27\x27),\x22\\n\x22,\x22(clojure.core/or (clojure.core/map? clj-props__29460__auto__) (clojure.core/nil? clj-props__29460__auto__))\x22].join(\x27\x27)));\n}\n\nreturn f__29461__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30642);\n}} else {\nreturn f__29461__auto__();\n}\n});\n\n(example.core.canvas.uix_component_QMARK_ \x3d true);\n\n(example.core.canvas.displayName \x3d \x22example.core/canvas\x22);\n\nObject.defineProperty(example.core.canvas,\x22name\x22,(function (){var obj30647 \x3d ({\x22value\x22:\x22example.core/canvas\x22});\nreturn obj30647;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30723 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30723.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30723.cljs$core$IFn$_invoke$arity$4(example.core.canvas,\x22(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-ref)(uix/use-effect (fn [] (set-offset [(.-offsetLeft (clojure.core/deref ref)) (.-offsetTop (clojure.core/deref ref))]) (set-size [(.-width js/screen) (.-height js/screen)])) [])\x22,null,null) : sig__29399__auto___30723.call(null, example.core.canvas,\x22(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-state [0 0])(uix/use-ref)(uix/use-effect (fn [] (set-offset [(.-offsetLeft (clojure.core/deref ref)) (.-offsetTop (clojure.core/deref ref))]) (set-size [(.-width js/screen) (.-height js/screen)])) [])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.canvas,example.core.canvas.displayName);\n\n(example.core.canvas.fast_refresh_signature \x3d sig__29399__auto___30723);\n} else {\n}\n} else {\n}\n\nexample.core.default_styles \x3d new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,\x22x\x22,\x22x\x22,2099068185),(32),new cljs.core.Keyword(null,\x22y\x22,\x22y\x22,-1757859776),(32),new cljs.core.Keyword(null,\x22width\x22,\x22width\x22,-384071477),(12),new cljs.core.Keyword(null,\x22height\x22,\x22height\x22,1025178622),(12),new cljs.core.Keyword(null,\x22stroke-width\x22,\x22stroke-width\x22,716836435),(2),new cljs.core.Keyword(null,\x22stroke-color\x22,\x22stroke-color\x22,-1089418937),\x22#ff0000\x22,new cljs.core.Keyword(null,\x22fill-color\x22,\x22fill-color\x22,-1156875903),\x22#00ff00\x22], null);\nexample.core.app \x3d (function example$core$app(){\nvar f__29457__auto__ \x3d (function (){\nif(goog.DEBUG){\nvar temp__5823__auto___30724 \x3d example.core.app.fast_refresh_signature;\nif(cljs.core.truth_(temp__5823__auto___30724)){\nvar f__29390__auto___30725 \x3d temp__5823__auto___30724;\n(f__29390__auto___30725.cljs$core$IFn$_invoke$arity$0 ? f__29390__auto___30725.cljs$core$IFn$_invoke$arity$0() : f__29390__auto___30725.call(null, ));\n} else {\n}\n} else {\n}\n\nvar vec__30653 \x3d uix.core.use_state(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22grid?\x22,\x22grid?\x22,-288406689),true,new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764),null,new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734),cljs.core.PersistentVector.EMPTY], null)], null));\nvar state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30653,(0),null);\nvar set_state \x3d cljs.core.nth.cljs$core$IFn$_invoke$arity$3(vec__30653,(1),null);\nvar on_add_shape \x3d (function (shape){\nvar id \x3d cljs.core.random_uuid();\nvar G__30656 \x3d cljs.core.update_in.cljs$core$IFn$_invoke$arity$4(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734)], null),cljs.core.conj,(function (){var G__30657 \x3d shape;\nvar G__30657__$1 \x3d (((G__30657 instanceof cljs.core.Keyword))?G__30657.fqn:null);\nswitch (G__30657__$1) {\ncase \x22rect\x22:\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22rect\x22,\x22rect\x22,-108902628),new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id], null)], 0));\n\nbreak;\ncase \x22circle\x22:\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22circle\x22,\x22circle\x22,1903212362),new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id], null)], 0));\n\nbreak;\ncase \x22text\x22:\nreturn cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([example.core.default_styles,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,\x22type\x22,\x22type\x22,1174270348),new cljs.core.Keyword(null,\x22text\x22,\x22text\x22,-1790561697),new cljs.core.Keyword(null,\x22id\x22,\x22id\x22,-1388402092),id,new cljs.core.Keyword(null,\x22value\x22,\x22value\x22,305978217),\x22text\x22,new cljs.core.Keyword(null,\x22font-family\x22,\x22font-family\x22,-667419874),\x22Inter\x22,new cljs.core.Keyword(null,\x22font-size\x22,\x22font-size\x22,-1847940346),(32),new cljs.core.Keyword(null,\x22font-style\x22,\x22font-style\x22,-773672352),new cljs.core.Keyword(null,\x22normal\x22,\x22normal\x22,-1519123858)], null)], 0));\n\nbreak;\ndefault:\nthrow (new Error([\x22No matching clause: \x22,cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__30657__$1)].join(\x27\x27)));\n\n}\n})());\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30656) : set_state.call(null, G__30656));\n});\nvar on_object_select \x3d (function() {\nvar G__30732 \x3d null;\nvar G__30732__0 \x3d (function (){\nvar G__30658 \x3d cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764)], null),null);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30658) : set_state.call(null, G__30658));\n});\nvar G__30732__1 \x3d (function (idx){\nvar G__30659 \x3d cljs.core.assoc_in(state,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22selected\x22,\x22selected\x22,574897764)], null),idx);\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30659) : set_state.call(null, G__30659));\n});\nG__30732 \x3d function(idx){\nswitch(arguments.length){\ncase 0:\nreturn G__30732__0.call(this);\ncase 1:\nreturn G__30732__1.call(this,idx);\n}\nthrow(new Error(\x27Invalid arity: \x27 + arguments.length));\n};\nG__30732.cljs$core$IFn$_invoke$arity$0 \x3d G__30732__0;\nG__30732.cljs$core$IFn$_invoke$arity$1 \x3d G__30732__1;\nreturn G__30732;\n})()\n;\nvar on_object_changed \x3d uix.hooks.alpha.use_callback((function (idx,object){\nvar G__30661 \x3d (function (p1__30649_SHARP_){\nreturn cljs.core.assoc_in(p1__30649_SHARP_,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,\x22canvas\x22,\x22canvas\x22,-1798817489),new cljs.core.Keyword(null,\x22objects\x22,\x22objects\x22,2099713734),idx], null),object);\n});\nreturn (set_state.cljs$core$IFn$_invoke$arity$1 ? set_state.cljs$core$IFn$_invoke$arity$1(G__30661) : set_state.call(null, G__30661));\n}),[uix.hooks.alpha.use_clj_deps(cljs.core.PersistentVector.EMPTY)]);\nreturn uix.compiler.aot._GT_el(\x22div\x22,[{\x27style\x27:{\x27fontFamily\x27:\x22Inter\x22,\x27fontSize\x27:(14),\x27display\x27:\x22flex\x22,\x27flexDirection\x27:\x22column\x22,\x27width\x27:\x22100vw\x22,\x27height\x27:\x22100vh\x22}}],[uix.compiler.alpha.component_element(example.core.toolbar,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22set-state\x22,\x22set-state\x22,1344116913),set_state,new cljs.core.Keyword(null,\x22on-add-shape\x22,\x22on-add-shape\x22,1289220499),on_add_shape], null)],[]),uix.compiler.alpha.component_element(example.core.canvas,[new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,\x22state\x22,\x22state\x22,-1988618099),state,new cljs.core.Keyword(null,\x22on-object-select\x22,\x22on-object-select\x22,-1747471264),on_object_select,new cljs.core.Keyword(null,\x22on-object-changed\x22,\x22on-object-changed\x22,-1493555239),on_object_changed], null)],[])]);\n});\nif(goog.DEBUG){\nvar _STAR_current_component_STAR__orig_val__30663 \x3d uix.core._STAR_current_component_STAR_;\nvar _STAR_current_component_STAR__temp_val__30664 \x3d example.core.app;\n(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__temp_val__30664);\n\ntry{return f__29457__auto__();\n}finally {(uix.core._STAR_current_component_STAR_ \x3d _STAR_current_component_STAR__orig_val__30663);\n}} else {\nreturn f__29457__auto__();\n}\n});\n\n(example.core.app.uix_component_QMARK_ \x3d true);\n\n(example.core.app.displayName \x3d \x22example.core/app\x22);\n\nObject.defineProperty(example.core.app,\x22name\x22,(function (){var obj30666 \x3d ({\x22value\x22:\x22example.core/app\x22});\nreturn obj30666;\n})());\n\nif(goog.DEBUG){\nif((typeof window !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof window.uix.dev !\x3d\x3d \x27undefined\x27)){\nvar sig__29399__auto___30736 \x3d window.uix.dev.signature_BANG_();\n(sig__29399__auto___30736.cljs$core$IFn$_invoke$arity$4 ? sig__29399__auto___30736.cljs$core$IFn$_invoke$arity$4(example.core.app,\x22(uix/use-state {:grid? true, :canvas {:selected nil, :objects []}})(uix/use-callback (fn [idx object] (set-state (fn* [p1] (assoc-in p1 [:canvas :objects idx] object)))) [])\x22,null,null) : sig__29399__auto___30736.call(null, example.core.app,\x22(uix/use-state {:grid? true, :canvas {:selected nil, :objects []}})(uix/use-callback (fn [idx object] (set-state (fn* [p1] (assoc-in p1 [:canvas :objects idx] object)))) [])\x22,null,null));\n\nwindow.uix.dev.register_BANG_(example.core.app,example.core.app.displayName);\n\n(example.core.app.fast_refresh_signature \x3d sig__29399__auto___30736);\n} else {\n}\n} else {\n}\n\nif((typeof example !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof example.core !\x3d\x3d \x27undefined\x27) \x26\x26 (typeof example.core._init !\x3d\x3d \x27undefined\x27)){\n} else {\nexample.core._init \x3d (function (){var root \x3d uix.dom.create_root.cljs$core$IFn$_invoke$arity$1(document.getElementById(\x22root\x22));\nuix.dom.render_root(uix.compiler.alpha.component_element(example.core.app,[null],[]),root);\n\nreturn null;\n})();\n}\ncljs_react_devtools.core.init_BANG_(new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,\x22root\x22,\x22root\x22,-448657453),document.getElementById(\x22root\x22),new cljs.core.Keyword(null,\x22shortcut\x22,\x22shortcut\x22,-431647697),\x22Control-Shift-Meta-R\x22], null));\n"); SHADOW_ENV.evalLoad("shadow.module.main.append.js", false, "\nshadow.cljs.devtools.client.env.module_loaded(\x27main\x27);\n"); \ No newline at end of file diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 2fe8162..b4c04dc 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -4,4 +4,5 @@ {:examples {:target :browser :output-dir "out" :asset-path "/out" - :modules {:main {:entries [example.core]}}}}} + :modules {:main {:entries [example.core]}} + :release {:compiler-options {:optimizations :simple}}}}} diff --git a/src/cljs_react_devtools/core.cljs b/src/cljs_react_devtools/core.cljs index 55220a6..bee383c 100644 --- a/src/cljs_react_devtools/core.cljs +++ b/src/cljs_react_devtools/core.cljs @@ -517,7 +517,7 @@ (js/Array.isArray (aget hook 1)) (fn? (aget (aget hook 1) 0)) (= "bound dispatchSetState" (.-name (aget (aget hook 1) 0)))) - (let [name (camel-case->kebab-case (aget (.-_debugHookTypes node) idx))] + (let [name (camel-case->kebab-case (aget (.-_debugHookTypes ^js node) idx))] ($ :div {:key idx :style {:margin "8px 0"}} ($ :span {:style {:color (:highlight-text colors)}} @@ -814,7 +814,7 @@ (when-let [target (->> (js/Object.keys node) (some #(when (str/starts-with? % "__reactFiber") (if skip-dom? - (.-_debugOwner (aget node %)) + (.-_debugOwner ^js (aget node %)) (aget node %)))))] (on-target target) (set-inspecting false)